@font-face {
    font-family: MiniStory;
    src: url(/css/fonts/MiniStory.ttf);
}

@font-face {
    font-family: MiniStoryBold;
    src: url(/css/fonts/MiniStoryBold.ttf);
}

#dgb-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")
}

#dgb-navbar {
    background-color: #7dbbea;
    padding: 0px !important;
}

#dgb-navbar .navbar-brand {
    padding-left: 4em;
    padding-right: 4em;
}

#dgb-navbar .active {
    color: #ffffff;
    border-bottom: 5px solid #ffffff;
}

#container-home {
    min-height: 100vh;
    font-size: 18pt;
}

#container-home-welcome {
    background-color: #7dbbea;
    text-align: right;
}

#container-home h1 {
    font-family: MiniStoryBold;
}

#home-pic {
    background-image: url("/img/dog_bandanas.png");
    background-attachment: fixed;
    opacity: 30%;
    height: 100%;
}

#container-sizing {
    background-color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#sizes-pic {
    background-image: url("/img/hot_stuff_full.gif");
    background-attachment: fixed;
    opacity: 30%;
    height: 100%;
}

#container-products {
    min-height: 100vh;
    padding: 50px;
}

#container-gallery {
    background-image: url('../img/grass.png');
    background-size: cover;
    background-position: left;
    min-height: 100vh;
    overflow: hidden;
}

#container-shows {
    min-height: 30vh;
}

#container-map {
    background-color: #f0f0f0;
    min-height: 600px;
}

#map {
    height: 580px;
    margin: 10px;
}

#container-links {
    min-height: 30vh;
}

footer {
    background-color: #7dbbea;
    font-size: 10.5pt;
}

footer h4 {
    display: inline;
    padding-right: 10px;
}

.size-code {
    cursor: help;
}

.dgb-gallery-thumbnail {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    max-height: 100px;
    width: auto;
}

.dgb-tooltip {
    text-decoration: none;
    position: relative;
    cursor: help;
}

.dgb-tooltip span {
    display: none;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    color: black;
    background: white;
    margin-left: auto;
    margin-right: auto;
}

.dgb-tooltip span img {
    float: left;
    margin: 0px 8px 8px 0;
    max-height: 400px;
}

.dgb-tooltip:hover span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    width: auto;
    max-width: 320px;
    min-height: 128px;
    border: 1px solid black;
    margin-right: auto;
    margin-top: 12px;
    margin-left: 32px;
    overflow: hidden;
    padding: 8px;
}

.dgb-form {
    border: 1px solid #808080;
    border-radius: 10px;
    margin-top: 25px;
    padding-bottom: 10px;
}

.dgb-tag {
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background-color: #e0e0e0;
    padding-left: 5px;
    padding-right: 5px;
    white-space: nowrap;
    cursor: pointer;
}

.dgb-tag-inactive {
    color: #a0a0a0;
}

.dgb-size {
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background-color: #e0e0e0;
    padding-left: 15px;
    padding-right: 10px;
    cursor: pointer;
}

.dgb-size-inactive {
    color: #a0a0a0;
}

.dgb-associated {
    background-color: #7dbbea;
    color: #000000;
}

.card {
    background-color: #f0f0f0;
    border-radius: 1em !important;
    overflow: hidden;
}

.dgb-scale-transition {
    transition: 3s transform cubic-bezier(.155,1.105,.295,1.12),.3s box-shadow,.3s -webkit-transform cubic-bezier(.155,1.105,.295,1.12);
}

.dgb-scale-transition:hover{
    transform: scale(1.03);
}

.dgb-drop-shadow {
    box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}

.card-body {
    background-color: #ffffff;;
}

.category-card-image {
    height: 400px;
    min-height: 400px;
    /* background-position: bottom center; */
    background-size: 400 400;
}

.category-card-image a {
    display: block;
    width:100%;
    height: 100%;
}

.product-card-background {
    height: 260px;
    min-height: 260px;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: contain;
    position: relative;
}

.product-card-image {
    height: 200px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.out-of-stock {
    background-color: #ff0000;
    color: #ffffff;
    font-weight: bold;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    position: absolute;
    top: 20px;
    right: -40%;
    width: 100%;
    transform: rotateY(0deg) rotate(45deg);
}

.low-stock {
    background-color: #ffff00;
    color: #ff0000;
    font-weight: bold;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    position: absolute;
    top: 10px;
    right: 10px;
}

.in-stock {
    font-weight: bold;
    padding: 5px;
    background-color: #f0f0f0;
    border-radius: 10px;
    border: 1px dotted #b0b0b0;
    text-align: center;
    position: absolute;
    top: 10px;
    left: 10px;
}

.card-body ul {
    list-style-type: none;
    margin-left: -32px !important;
}

.gallery-item-heading {
    font-size: 16pt;
    font-weight: bold;
}

.gallery-item-description {
    font-size: 14pt;
    font-weight: bold;
}

.carousel-indicators > button {
    background-color: #000000 !important;
    height: 10pt !important;
}

.active-gallery-item {
    background-color: #ffffff;
}

.carousel-item {
    margin-bottom: 40pt;
}

.dgb-modal {
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    box-sizing:border-box;
    width:600px;
    max-width:calc(100% - 80px);
    overflow:auto;
    max-height:calc(100vh - 125px);
}

.dgb-modal {
	display: 'flex';
	justify-content: 'center';
	align-items: 'center';
    overflow: hidden;
}

.dgb-modal .modal-body {
    overflow: hidden !important;
}

span.dgb-price {
    cursor: crosshair;
}

input.dgb-price {
    display: none;
}

span.dgb-inventory {
    cursor: crosshair;
}

input.dgb-inventory {
    display: none;
}

.no-inventory {
    -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.monospace {
    font-family: Courier, monospace;
    font-size: 12pt;
}

.left-aligned {
    text-align: left;
}

.right-aligned {
    text-align: right;
}

.border-round-10 {
    border: 1pt dotted #c0c0c0;
    border-radius: 10pt;
    padding: 10pt;
}

.border-top-solid {
    border-top: 1px solid #b0b0b0;
}

.border-bottom-solid {
    border-bottom: 1px solid #b0b0b0;
}

.border-bottom-dotted {
    border-bottom: 1px dotted #b0b0b0;
}

.invalid-feedback
{
    font-size: 10pt;
    display: block;
    padding-left: 10pt;
    font-style: italic;
    color: #842029;
}

.invalid-feedback:empty
{
    display: none;
}

.designs-row-disabled {
    opacity: 10%;
    transition: opacity 1s;
}

.designs-row-normal {
    opacity: 100%;
    transition: opacity 1s;

}

.offcanvas-bottom {
    /* height: 50vh; */
    height: calc(100% - 100px);
}

#payment-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.payment-dialog-container {
    min-height: 350px;
}

.modal-image-active {
    width: 50px;
    height: 50px;
}

.modal-image-inactive {
    width: 50px;
    height: 50px;
    opacity: 20%;
}


.overlay {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.spin {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}
  
@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

#session_warning {
    display: none;
    background-color: rgb(255, 255, 255, 1);
    padding: 30px;
}

/** checkout **/
* {
    box-sizing: border-box;
}

#payment-form {
    max-width: 700px;
    min-width: 300px;
    margin: 10px auto;
}

#card-container {
    margin-top: 45px;
    /* this height depends on the size of the container element */
    /* We transition from a single row to double row at 485px */
    /* Settting this min-height minimizes the impact of the card form loading */
    min-height: 90px;
}

#payment-status-container {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    border-radius: 50px;
    margin: 0 auto;
    width: 225px;
    height: 48px;
    color: #ffffff;
    display: none;
    text-align: center;
    padding-top: 10px;
}
  
#payment-status-container.is-success {
    background-color: #00b23b;
}

#payment-status-container.is-failure {
    background-color: #cc0023;
}

#payment-error-details {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 225px;
    display: none;
}
