:root {
    --main-bg-color:        #ebd9c6;
    --main-txt-color:       #875014; 
    --main-txt-hover:       #a76014; 
    --main-padding:         1.0rem;
    --mb-button-size:       40px;
    --swiper-theme-color:   var( --main-bg-color);
    --toastYpos:            120px;
}

.version {
    font-size: 10px;;
}

section {
    display: none;
}

.menuEntryIcon {
    padding-left: 8px;
    font-size: x-large;
}

@font-face {
    font-family: 'papyrus';
    src: url(webfonts/PAPYRUS.TTF) format('truetype');
}

html body {
    color: var(--main-txt-color) !important;
    font-family: papyrus, Arial, Helvetica, sans-serif;
    font-size: 24px;
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
    font-size: 18px;
}

body {
    background-image: url(images/bgBody.jpg);
    background-position: center;
    background-repeat: repeat-y;
    background-size: contain;
}

.loader {
    position:       absolute;
    z-index:        1000;
    margin-top:     50%;
    margin-left:    32%;
    width:          150px;
    height:         150px;
    border:         16px solid var(--main-bg-color);
    border-top:     16px solid var(--main-txt-color);
    border-radius:  50%;
    animation:      spin 1s linear infinite;
}

.waitMsg {
    position: absolute;
    margin-top: 32%;
    margin-left: 43%;
    color: var(--main-bg-color);
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.loaderSmall {
    position:       absolute;
    margin-top:     50%;
    margin-left:    32%;
    width:          150px;
    height:         150px;
    border:         16px solid var(--main-bg-color);
    border-top:     16px solid var(--main-txt-color);
    border-radius:  50%;
    animation:      spin 1s linear infinite;
}

@keyframes spin {
    0%      { transform: rotate(0deg); }
    100%    { transform: rotate(360deg); }
}

@keyframes flash {
    0%      { transform: rotate(0deg); }
    100%    { transform: rotate(360deg); }
}

.clickMeWrap {
    display: none;
}

.frozenScreen {
    position: fixed;
}

.blockedScreen {
    /* display: none; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 8000;
    background-color: #2c1c0bda;
    /* background-color: #7c5122da; */
    /* background-color: rgb(51,51,51, 0.3); */
}

.modal4Mask {
    display: none;
    position: relative;
    width: 400px;
    height: 400px;
    left: calc(50% - 200px);
    top: calc(50% - 200px);
    z-index: 1000;
    border: 1px solid var(--main-txt-color);
    border-radius: 50%;
    background-image: url(images/cork.png);
}


/* .modal4Mask img {
    height: 100%;
    width: auto;
} */

.modal4Mask:hover {
    cursor: pointer;
}

.hidden {
    display: none;
}

.notShown {
    visibility: hidden;
}

.center {
    text-align: center;
}

input[readonly] {
    text-align: right;
    background-color: blanchedalmond;
}

.stretched {
    width: 100%;
    height: 100%;
}

.collapsed {
    width: 0;
    height: 0;
}

.appHeader {
    position: sticky;
    top: 0;
    background-image: url(images/bgHeader.jpg);
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 100% 120%;
    width: 100%;
    z-index: 1000;
    height: 90px;
}


.appFooter {
    background-image: url(images/bgFooter.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    height: 120px;
    width: 100%;
    position: relative;
    bottom: 0px;
}


.openMenuWrap {
    padding-left: 12px;
    padding-top: 24px;
    display: inline-block;
}

.hamburger  {
    cursor: pointer;
}

.hamburger a {
    color: var(--main-txt-color);
    font-size: 32px;
}

.hamburger a:hover {
    color: var(--main-txt-hover);
}

.appTitle {
    display: inline-block;
    width: 80%;
    position: relative;
    top: 0px;
    left: 0px;
}


.scartArea {
    height: 32px;
    width: 100%;
    position: absolute;
    top: 41px;
}

.scart {
    height: 32px;
    width: 36px;
    float: right;
    cursor: pointer;
}

.scartCnt {
    position: absolute;
    top: 1px;
    right: 12px;
    display: inline-block;
    font-family: arial;
    font-size: 14px;
    font-weight: bold;;
}


.contBrowsing {
    display: none;
    float: right;
    position: relative;
    margin-right: 16px;
}

.contBrowsing button {
    font-size: 10px;
    padding: 4px;
    margin-top: 8px;
}


.appContent {
    margin: 0 auto;
    margin-top: 24px;
    width: 100%;
    padding: 0 16px;;
}

.contactUsContent, .paymentContent {
    margin-top: 24px;
    font-size: 24px;
}


.formError {
    color: red;
    font-size: 24px;
    font-family: Arial, Helvetica, sans-serif;
}

.errColor {
    color: red;
}

.warning {
    color: red;
    font-family: Arial, Helvetica, sans-serif;
}

img {
    width: 100%;
    height: auto;
}


ul, li {
    color: var(--main-txt-color);
}


.mm-menu {
    --mm-color-background: var(--main-bg-color);
    --mm-color-text: var(--main-txt-color);
    font-weight: bold;
}

.mm-menu li img {
    margin-top: 4px;
    padding-left: 16px;
    width: 48px;
    height: 32px;
}

.intro {
    padding: 8px 16px 0 16px;;
}

.dfmMascot img {
    float: right;
    width: 100px;
    height: auto;
}

.fabricPlys  {
    width: 150px;
    height: auto;
    display: inline-block;
    margin-right: 16px;
}

.slideShowWrapper {
    display: inline-block;
}

.slideShow, .slideShow2 {
    display: inline-block;
    margin: 0 auto;
    width:  280px;  /* 250px 280px 400px; */
    height: auto;  /* 225px 250px 359px; */
    overflow: hidden;
}

.bgImg0 {
    background-image: url(images/bgSlides0.jpg);
}
.bgImg1 {
    background-image: url(images/bgSlides1.jpg);
}
.bgImg2 {
    background-image: url(images/bgSlides2.jpg);
}

.slideShow .slide {
    /* background-image: url(images/bgSlides0.jpg); */
    background-repeat: no-repeat;;
    background-size: cover;
    padding: 18px;
    width:  280px;
    height: 251px;
}

.slideShow .img {
    width: 100%;
    height: 100%;
}

.slideShow .idTag {
    position: absolute;
    bottom: 8px; 
    right:  8px;
    font-size: 24px;
}

.caption {
    color: var(--main-txt-color);
    font-size: larger;
    font-weight: bolder;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--main-bg-color);
}


.gridNavWrapper {
    text-align: center;
}

.chevronWrapper {
    top: -6px;
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-block;
}

.chevronWrapper:hover {
    border: 1px solid var(--main-txt-color);
    border-radius: 50%;
    background-image: url(images/cork.png);
    cursor: pointer;
}

#placeOrder .chevronWrapper {
    float: right;
    margin: 0;
}

.arrow {
    border: 1px solid var(--main-txt-color);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 7px;
    position: relative;
    top: 10px;
}

.portfolioTitle {
    display: inline-block;
    text-align: center;
    font-size: 2.0rem;
}

i.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    left: -4px;
}

i.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    left: 3px;
}

i.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    margin-left: 11px;
    top: 18px;
}

i.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    margin-left: 11px;
    top: 8px;
}

.appBtn:hover:not([disabled]) {
    background-image: url(images/cork.png);
    cursor: pointer;
}

.appBtn {
    background-color: antiquewhite;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 8px 4px;
    margin: 0 auto;
    display: inline-block;
    margin-top: 16px;
    border: 1px solid var(--main-txt-color);
    border-radius: 8px;
    width: 100%;
    color: var(--main-txt-color);
    box-shadow: 2px 2px rgba(135, 80, 20, 0.39);
}

.appBtn:disabled {
    color: tan;
    border-color: tan;
    cursor: default;
    background-color: transparent;
}


.searchBtn {
    font-size: 16px;
    padding: 4px;
    margin-left: 16px;
}

.searchBox {
    padding-left: 18px;
}

.searchText {
    margin-left: 8px;
    background-color: rgb(227, 203, 171);
    border-radius: 8px;
    width: 100px;
}

.pageContent {
    padding: 15px 10px;
    line-height: 24px;
    color: var(--main-txt-color);
}

.footer {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-top: 30px;
}

.bottomGuard {
    height: 32px;
}

.certSeal  {
    margin-top: 32px;
}

.certSeal img {
    width: 120px;
}

.formWrapper {
    margin: 0 auto;
}

#disclaimer {
    margin: 32px 0;
}

#disclaimer .framed {
    border-radius: 8px;
    border-color: var(--main-txt-color);
    border-style: solid;
    border-width: 1px;    
}

#disclaimer .header {
    font-size: 24px;
    font-weight: bolder;
    padding: 0 8px;
    background-image: url(images/cork.png);
}

#disclaimer .header .toggleBtn {
    display: inline-block;
    padding-top: 8px;
    cursor: pointer;
}

#disclaimer .header .title {
    display: inline-block;
    padding-left: 32px;;
}

#disclaimer .body {
    font-weight: bolder;
    margin-top: 16px;;
    padding: 8px;
    background-image: url(images/cork.png);
}

#placeOrder {
    margin-bottom: 24px;;
}

#msgInstructions {
    display: none;
}

#placeOrder label {
    font-weight: bolder;
}

#placeOrder .custom-file-label {
    overflow: hidden;
}


#placeOrder .card-header {
    font-weight: bolder;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--main-txt-color);
}

#placeOrder .card-header.title {
    font-size: 36px;
}

#placeOrder .card-header.sectionTitle {
    font-size: 24px;
}

#placeOrder .card-header.maskDetails {
    font-size: 24px;
}

#placeOrder .cheekTitle {
    font-size: 36px;
    line-height: 192px;
}

#placeOrder .bandanaSample,
#placeOrder .libImgSample {
    width: 96px;
    height: auto;
    background-image: url(images/cork.png);
    border-radius: 8px;
}

#placeOrder .cheekSample {
    width: 192px;
    height: auto;
    display: inline-block;
}

#placeOrder .monogramSample {
    width: 48px;
    height: auto;
}
#placeOrder .buttonsRow {
    margin: 16px 0;
}

.motifOnCheekLeft, .motifOnCheekRight {
    position: absolute;
    top: 70px;
    width: 80px;
    height: auto;
}

.motifOnCheekLeft  { left: 54px; }
.motifOnCheekRight { left: 90px; }

.persoOnCheekLeft, .persoOnCheekRight {
    position: absolute;
    top: 150px;
    width: 150px;
    height: 20px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 12px;
    color: white;
}
.persoOnCheekLeft  { left: 24px; }
.persoOnCheekRight { left: 52px; }


.mockupFld {
    border: solid 1px lightgray;
    border-radius: 4px;
    background-color: aliceblue;
}

textarea {
    width: 100%;
}

.boxBorderOutter  {
    border: none;
    margin: 0;
    padding: 0;

}

.boxBorder  {
    border: 1px solid var(--main-txt-color);
    border-radius: 16px;
    margin: 0;
    /* padding: 8px; */
}

#confirmation {
    padding: 16px;
}

#placeOrder .btn {
    margin: 8px 0;
}

#placeOrder form, #orderPlaced {
    background-color: rgb(238, 228, 207);
    padding: 8px;
}



.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(192px, 1fr));
    grid-gap: 16px;
    grid-auto-rows: minmax(100px, auto);
    grid-auto-flow: dense;
    padding: 10px;
}

.home .grid-layout {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.grid-layout .item {
    padding: 8px;
    color: #fff;
    border: 2px solid var(--main-txt-color);
    border-radius: 16px;;
    /* background-image: url(images/bgSlides0.jpg); */
    background-image: url(images/cork.png);
    /* background-color: rgb(238, 228, 207); */
    /* background-color: rgb(196, 168, 109); */
}
  
.grid-layout .item:hover {
    cursor: pointer;
}

.grid-layout .item .span-2 {
    grid-column-end: span 2;
    grid-row-end: span 2;
}
  
.grid-layout .item .span-3 {
    grid-column-end: span 3;
    grid-row-end: span 4;
}

.grid-layout .item .shop {
    position: relative;
    top: 8px;
    float: right;
    width: 38px;
    height: 32px;
    background-image: url(images/sCartAdd.png);
    background-size: cover;
}

#storeWindow .title {
    font-size: 36px;
    font-weight: bolder;
    text-align: center;
    margin-top: 24px;
}

#storeWindow .idTag {
    position: absolute;
    bottom: 8px; 
    right:  8px;
    font-size: 24px;
}

@media (max-width: 320px) {
    .chevronWrapper {
        margin: 0 10px;
    }
}

@media (min-width: 800px) {
    .appHeader {
        padding-left: 30px;
        padding-top: 30px;
    }
    
    .appTitle {
        left: 33px;
    }

    .loader {
        margin-top: 29%;
        margin-left: 41%;
    }
    
    .intro {
        padding: 32px;;
    }

    .dfmMascot img {
        width: 160px;
    }

    .fabricPlys  {
        width: 250px;
    }
    
    .appContent {
        margin-top: 24px;
    }
    
    .appBody {
        padding: 0 40px;
    }

    .paymentContent .step {
        border-radius: 50%;
        border-width: 2px;
        border-color: var(--main-txt-color);
        border-style: solid;
        color: var(--main-txt-color);
        margin: 8px 16px;
        padding: 16px;
        font-size: 48px;
        line-height: 16px;
        font-weight: bold;
    }

    .slideShow .slide {
        width:  400px;
        height: 359px;
    }
    
    .slideShow .idTag {
        bottom: 15px; 
        right: 24px;
        font-size: 26px;
    }
    
}

@media (min-width: 1024px) {
    .appHeader {
        padding-left: 40px;
        padding-top:  40px;
        height: auto;
        background-size: 100% 100%;
    }

    .appTitle {
        top: -6px;
        left: 47px;
    }
    
    .appContent {
        width: 75%;
    }

    .dfmMascot img {
        width: 160px;
    }

    .loader {
        margin-top: 28%;
        margin-left: 41%;
    }

    .slideShowWrapper {
        margin-top: 32px;
    }

    .slideShow {
        width: 400px;
        height: auto;
    }

    .portfolioTitle {
        font-size: 2.5rem;
    }
    
    .chevronWrapper {
        margin: 0 32px;
    }
    
    .scartArea {
        height: 64px;
        width: 100%;
        position: absolute;
        top: 128px;
    }
    
    .scart {
        height: 64px;
        width: 64px;
        float: right;
        cursor: pointer;
    }
    
    .scartCnt {
        position: absolute;
        top: 3px;
        right: 22px;
        display: inline-block;
        font-family: arial;
        font-size: 22px;
        font-weight: bold;;
    }
    
    .contBrowsing {
        display: none;
        float: right;
        position: relative;
        margin-right: 16px;
        top: 12px;
    }
    
    .contBrowsing button {
        font-size: 14px;
        padding: 4px;
    }    
}

@media (min-width: 1280px) {
    :root {
        --mb-button-size: 60px;
    }

    .clickMeWrap {
        display: block;
        position: absolute;
        top: 135px;
        left: 67px;
        width: 283px;
        height: 233px;
        z-index: -10;
    }
    
    .hamburger i {
        font-size: 48px;
    }

    .appHeader {
        /* padding-top: 60px; */
    }    

    .dfmMascot img {
        width: 165px;
    }
    .paymentContent {
        margin-bottom: 64px;
        margin-right: 48px;
        margin-left: 48px;
    }
    
    .boxBorder {
        border: 1px solid var(--main-txt-color);
        border-radius: 16px;
        margin: 16px;
    }

    #placeOrder form, #orderPlaced {
        padding: 24px;
    }

    .noLeftPadding {
        padding-left: 0;
    }
    
    #promoCode {
        margin-left: -25%;
    }
}

#toastMsg {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px; /* Divide value of min-width by 2 */
    color: var(--main-txt-color);
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    border: 2px solid var(--main-txt-color);
    border-radius: 0.5rem;
    background-image: url(images/cork.png);
    padding:    1.0rem;
    position:   fixed;
    z-index:    100;
    left:       50%;
    bottom: var(--toastYpos);
  }


#toastMsg.show {
    visibility: visible;
    -webkit-animation: fadein 0.75s, fadeout 0.75s 3.0s;
    animation: fadein 0.75s, fadeout 0.75s 3.0s;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: var(--toastYpos); opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: var(--toastYpos); opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: var(--toastYpos); opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: var(--toastYpos); opacity: 1;}
    to {bottom: 0; opacity: 0;}
}