@font-face {
    font-family: 'Glyphicons Halflings';

    src: url('../fonts/glyphicons-halflings-regular.eot?v=1');
    src: url('../fonts/glyphicons-halflings-regular.eot?v=1#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2?v=1') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff?v=1') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf?v=1') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg?v=1#glyphicons_halflingsregular') format('svg');
}
.banner-preview {
    background: #fff none repeat scroll 0 0;
    display: inline-block;
    overflow: hidden;
    text-align: center;
    vertical-align: middle; 
    width: 100%;
}
.banner-preview img {
    max-height: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
    width: auto;
}

.sidebar-contant ul li a.active {
    color: #9d1b46;
    font-weight: bold;
}

.inner-banner1 .banner-detail {
    color: #FFF;
}
.sidebar-contant .pro-detail-info {
    line-height: 15px;
}
.sidebar-contant .pro-detail-info a {
    display: inline-block;
    overflow: hidden;
    height: 20px;
    line-height: 20px;
}

.rating.hide {
    display: none;
}



/* Mobile */
@media only screen and (max-width: 991px) {
    
    .productBoxS2 .product-item { border-bottom: 1px solid var(--ribo-border-color);}
    .codeListProduct > div:first-child .product-item { border-top: 1px solid var(--ribo-border-color);}

    .productBoxS3 .product-item { border-bottom: 1px solid var(--ribo-border-color); margin: 0 10px;}
    .codeListProduct > div:first-child .product-item { border-top: 1px solid var(--ribo-border-color);}
}

/* Desktop */
@media only screen and (min-width: 992px) {

    .productBoxS2 { background-color: #fefefe; border: 1px solid var(--ribo-border-color);}
    
    .productBoxS3 { background-color: #fefefe; border: 1px solid var(--ribo-border-color); border-left: none; margin-bottom: 0 !important;}
    .productBoxS3 .product-image a img { padding-top: 10px;}
    
    .codeListProduct .productBoxS3:nth-child(4n+1) { border-left: 1px solid var(--ribo-border-color);}
    .codeListProduct .productBoxS3:nth-child(n+5) { border-top: none;}
}



/* Common */

.txtUpper { text-transform: uppercase;}
.color-bebebe { color: #bebebe;}

.fs10 { font-size: 10px;}
.fs12 { font-size: 12px;}

.opac00 { opacity: 0.00;}
.opac25 { opacity: 0.25;}
.opac50 { opacity: 0.50;}
.opac75 { opacity: 0.75;}

.afLink { color: #9d1b46 !important; text-decoration: underline !important;}


.row4box a img.noBig { width: 300px; _height: 300px; object-fit: cover; object-position: center;}
.row4box .buttons .btn { overflow: hidden; color: #ffffff;}

@media (max-width: 991.98px) {

    .row4box a img { width: 100%; _max-height: 300px; object-fit: cover; object-position: center;}
}

@media (max-width: 575.98px) {

    
}




@media only screen and (max-width: 991px) {
    .cart-button {
        position: fixed;
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 50;
    }
    .cart-button.shareSticky { bottom: 46px;}
    .cart-button li {
        width: 100%;
        display: block;
        padding: 0 10px !important;
    }
    .cart-button .btn {
        display: block;
        font-size: normal !important;
        text-align: center;
        padding:10px;
        background-color:#00b704;
        color:#fff;
        font-size:25px;
        height: 44px;
        line-height: 24px;
        font-weight:bold;
        -webkit-animation: color-change 3s infinite;
        -moz-animation: color-change 3s infinite;
        -o-animation: color-change 3s infinite;
        -ms-animation: color-change 3s infinite;
        animation: color-change 3s infinite;
    }
    @-webkit-keyframes color-change{0%,100%{color:#FFF}50%{color:#000}}
    @-moz-keyframes color-change{0%,100%{color:#FFF}50%{color:#000}}
    @-ms-keyframes color-change{0%,100%{color:#FFF}50%{color:#000}}
    @-o-keyframes color-change{0%,100%{color:#FFF}50%{color:#000}}
    @keyframes color-change{0%,100%{color:#FFF}50%{color:#000}}
}

.fotorama {
    text-align: center;
}