body {
    /*		font-family: noto sans cjk TC, PingFang HK, Microsoft JhengHei; */
    font-family: PingFangTC-Semibold, 'Noto Sans TC', sans-serif;
    /*font-family: Helvetica Neue,Helvetica,Arial,PingFang TC,Heiti TC,Microsoft JhengHei,Noto Sans T Chinese,Droid Sans Fallback,sans-serif;*/
    -moz-transform: translateZ(0);
    font-size: 0.9em;
}

i {
    vertical-align: middle !important;
}

.modalLoader {
    border: 7px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid dodgerblue;
    border-bottom: 6px solid dodgerblue;
    width: 30px;
    height: 30px;
    -webkit-animation: modalSpin 2s linear infinite;
    animation: modalSpin 2s linear infinite;
}

.noticeLight {
    font-size: 65%;
    color: #9F9F9F;
    font-weight: lighter;
    margin-left: 5px;
}

@-webkit-keyframes modalSpin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

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

#searchErrTable span {
    margin: 5px;
    border-radius: 0.4rem;
    background-color: #f4f9f8;
    padding: 1px;
}

.noteSpan {
    font-size: 60%;
    color: grey;
}

.moreFilterCss {
    border: 1px solid lightgrey !important;
    border-radius: 1rem !important;
}

.modalBtn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.5rem;
    background-color: #FEFFFE;
    min-width: 94px;
}

.removeModelSpan {
    border: 1px solid lightgrey !important;
    border-radius: 0.25rem !important;
    margin-left: 3px;
    white-space: nowrap;
    font-weight: normal;
}

.advImg {
    cursor: pointer;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 100%;
    border: 1px solid white;
    background-color: grey;
}

.carousel-indicators .active {
    border: 1px solid black;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    height: 2em;
    width: 2em;
    outline: black;
    background-size: 100%, 100%;
    border-radius: 100%;
    background-image: none;
    font-weight: 700;
}

.carousel-control-next-icon:after {
    content: '>';
    font-size: 1.5em;
    color: rgba(150, 150, 150, 0.8);
}

.carousel-control-prev-icon:after {
    content: '<';
    font-size: 1.5em;
    color: rgba(150, 150, 150, 0.8);
}

.carousel-control-prev,
.carousel-control-next {
    height: 70%;
}

#myCarousel .carousel-item {
    position: relative;
    padding-top: 100%;
}

#myCarousel .carousel-item img {
    position: absolute;
    top: 0;
}

#myCarousel .carousel-item iframe {
    position: absolute;
    top: 1%;
}

@media (min-width: 992px) {
    .searchResultModal {
        max-width: 60%;
    }

    .thumbnailText {
        font-weight: bold;
        margin: auto;
        width: 64%;
    }
}

.thumbnailTextPrice {
    position: absolute;
    bottom: 0px;
}

@media (min-width: 992px) {
    .modal-content {
        min-width: 80vh;
        overflow-y: auto;
    }

    .colorDescSpan {
        display: none;
    }
    
    .bottomQrcodeDiv {
        display: none !important;
    }
    
    .mobileBanner {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .desktopBanner {
        display: none !important;
    }
    .mobileBanner {
        min-height: 126px;
    }
}

@media (max-width: 767.98px) {
    .btn.addTryOn:hover {
        background-color: inherit;
        color: inherit;
    }
}

.colorDescSpan {
    position: absolute;
    bottom: -20px;
    left: 20%;
    color: #808080;
    font-weight: bolder;
}

.colorDescSpan.b1 {
    bottom: -22px !important;
    white-space: nowrap;
    font-size: 14px;
}

.wrongInput {
    border: 1px solid red;
}

.modal-header {
    font-weight: bold;
}

.modal-body {
    font-size: 145%;
}

.modal-footer {
    font-size: 145%;
}

.modal-content {
    min-height: 50vh;
    overflow-y: auto;
}

.itemDiv {
    position: relative;
}

.pickedSpan {
    position: absolute;
    left: 5%;
    top: 5%;
    font-size: 2em;
    z-index: 2;
    background: -webkit-radial-gradient(#0F0, #101);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.itemDiv .pickedSpan {
    opacity: 0;
}

.itemDiv.picked .pickedSpan {
    opacity: 0.8;
}

.nav-item.dropdown {
    position: static;
}

form.dropdown-menu {
    width: 96vw;
    border: 1px solid grey;
    background-color: #FCFBFC;
    box-shadow: rgb(240, 240, 240) 5px 12px;
    padding: 10px 4px 4px;
    opacity: 0.96;
}

ul.directSearch {
    background-color: #FCFBFC;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: rgb(240, 240, 240) 2px 2px;
    padding: 10px 10px;
}

ul.directSearch li {
    font-size: 120%;
    padding: 5px 5px;
}

.moreFilter,
.sortSelect {
    border: 1px solid lightgrey;
    /* background-color: white; */
    background-color: #FCFBFC;
    color: black;
    cursor: pointer;
    border-radius: 4px;
    margin: 2px 3px;
    font-weight: 500;
    min-width: 6em;
    padding: 3px 1px;
}

.moreFilter.active,
.sortSelect.active {
    background-color: #DC143C;
    color:#FFFFFF;
}

#desktopFilterDiv .attrbtn,
#desktopFilterDiv .singleChoiceBtn {
    border: 1px solid lightgrey;
    background-color: white;
    color: black;
    cursor: pointer;
    border-radius: 3px;
    margin: 2px 3px;
    font-weight: 500;
    min-width: 4em;
    padding: 6px 1px;
}

#mobileFilterDiv .attrbtn,
#mobileFilterDiv .singleChoiceBtn {
    border: 1px solid lightgrey;
    background-color: white;
    color: black;
    padding: 0.3em 0.2em;
    cursor: pointer;
    border-radius: 3px;
    margin: 3px 4px;
    max-width: 13em;
    min-width: 4.7em;
    font-size: 110%;
}

#mobileFilterDiv .attrbtn.active,
#mobileFilterDiv .singleChoiceBtn.active,
#desktopFilterDiv .attrbtn.active,
#desktopFilterDiv .singleChoiceBtn.active {
    background-color: #DC143C;
    color:#FFFFFF;
}

.addTryOn {
    border: 1px solid lightgrey;
    background-color: white;
    color: black;
    padding: 0.1em 0.2em;
    cursor: pointer;
    border-radius: 10%;
    margin: 1px 3px;
    /*		font-weight: 500; */
    max-width: 12em;
    min-width: 4.8em;
    font-size: 65%;
    vertical-align: middle;
}

.addTryOn.active {
    background-color: #DC143C;
    color:#FFFFFF;
}


.colorAttrbtn .checkColorCls, .moreFilterColor .checkColorCls {
    -webkit-mix-blend-mode: difference;
    -moz-mix-blend-mode: difference;
    mix-blend-mode: difference;
    color: grey;
    font-weight: 900;
    /*		font-size: 120%; */
    position: absolute;
    top: 15%;
    left: 33%;
    /*		display:none; */
    opacity: 0;
    filter: invert(90%);
}

.moreFilterColor {
    border: 1px solid darkgrey;
    border-radius: 100%;
    margin: 0.8em 0.3em;
    width: 3.5em !important; 
    height: 3.5em !important;    
    min-width: 3.5em !important;
    outline: none !important;    
}

#desktopFilterDiv .colorAttrbtn {
    border: 1px solid darkgrey;
    cursor: pointer;
    border-radius: 10%;
    margin: 0.3em 0.3em;
    width: 3.5em;
    height: 2.5em;
    padding: 0;
    outline: none;
}

#mobileFilterDiv .colorAttrbtn {
    border: 1px solid darkgrey;
    border-radius: 100%;
    margin: 0.8em 0.3em;
    width: 3.5em;
    height: 3.5em;
    outline: none;
}

/*
#mobileFilterDiv .colorAttrbtn.active, #desktopFilterDiv .colorAttrbtn.active {
  border: 1px solid lightgrey;
}
*/

.categoryBtn {
    border: 1px solid lightgrey;
    background-color: white;
    color: black;
    padding: 0.1em 0.2em;
    cursor: pointer;
    border-radius: 3px;
    margin: 2px 2px;
    font-weight: 500;
    max-width: 12em;
    min-width: 4em;
    font-size: 120%;
    width: auto;
}

.categoryBtn.active {
    background-color: #DC143C;
    color:#FFFFFF;
}

.sizeBtn {
    border: 1px solid grey;
    background-color: white;
    color: black;
    padding: 1px 1px;
    cursor: pointer;
    border-radius: 4px;
    margin: 2px 3px;
    font-weight: 900;
    max-width: 12em;
    min-width: 5.5em;
    /*		font-size: 0.8em;  */
}

.sizeBtn.active {
    background-color: #DC143C;
    color:#FFFFFF;
}

.startSearch {
    /*		border: 1px solid red !important; */
    background-color: #ffc107 !important;
    color: black !important;
}

.filterCaption {
    margin-top: 2px;
    font-size: 1.5em;
    font-weight: bold;
}

.filterDiv {
    margin-top: 0.6em;
    margin-bottom: 1.2em;
    clear: both;
}

#searchResultDiv {
    min-height: 450px;
    font-size: 1.1em;
}

.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
}

.iframe-container {
    position: relative;
    margin: 5px;
    height: 0;
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #7a8b8b;
    /* put following styles (necessary for overflow and
     scrolling handling) in div container around iframe
     because not stable in CSS
     -webkit-overflow-scrolling: touch;
     overflow: auto; */
}

.iframe-container-for-wxh-500x350 {
    padding: 10px 10px 70% 10px;
    /* padding-bottom = h/w as a % */
}

.insideBigPic {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.selectionHr {
    margin: 2px;
    border: 1px solid black;
}

.multi-color-bg {
    background: -webkit-linear-gradient(340deg, #fff810 30%, rgba(0, 0, 0, 0) 30%), -webkit-linear-gradient(300deg, #63e89e 60%, #ff7ee3 60%);
    background: -moz-linear-gradient(340deg, #fff810 30%, rgba(0, 0, 0, 0) 30%), -moz-linear-gradient(300deg, #63e89e 60%, #ff7ee3 60%);
    background: -o-linear-gradient(340deg, #fff810 30%, rgba(0, 0, 0, 0) 30%), -o-linear-gradient(300deg, #63e89e 60%, #ff7ee3 60%);
    background: linear-gradient(to right, #ff173a 20%, orange 20% 40%, #ccff00 40% 60%, lightsteelblue 60% 80%, #15f4ee 80%);
}

.searchSpan {
    border: 1px solid black !important;
    border-radius: 5px;
    position: fixed;
    top: 3em;
    left: 1.1em;
    z-index: 10;
    background-color: LemonChiffon;
    width: 5em;
    font-size: 140%;
    font-weight: 900;
    cursor: pointer;
    text-align: center
}

.bottomSearchDiv {
/*    border: 1px solid black !important; */
/*    border-radius: 5px; */
    position: fixed;
    bottom: 0.5em;
    left: 0.5em;
    z-index: 10;
    /*background-color: LemonChiffon;*/
/*    width: 9em; */
    font-size: 130%;
    font-weight: 900;
    cursor: pointer;
    text-align: center;
    background-color: white;
    height: 3em;
}

.bottomSearchDiv span {
    border: 1px solid black !important;
    border-radius: 5px;
    z-index: 10;
    background-color: LemonChiffon;
    /*width: 9.5em;*/
    padding: 8px 10px;
}

.bottomQrcodeDiv {
	position: fixed;
    bottom: 0.5em;
    right: 0.5em;
    z-index: 10;
    font-weight: 900;
    cursor: pointer;
    text-align: center;
    background-color: white;
    height: 5em;
    width: 5.5em;
    border: 1px solid black;
    border-radius: 0.6em;
    opacity: 0.85;
}

#warningSpan {
    position: fixed;
    background-color: black;
    color: white;
    font-size: 1.8em;
    z-index: 10000;
    bottom: 1px;
    margin: auto;
    padding: 3px 6px;
    display: none;
    left: 4%;
    border-radius: 8px;
}
.productThumbnail {
    min-height: 109px;
}