.resourece-type-container{
    background-color: #49abc6;
    min-height: 200px;
    text-align: center;
    /* --- This works --- */
    display: flex;
    /* Align Vertically */
    align-items: center;
    /* Align Horizontally */
    justify-content: center;
}

.resourece-type-container h1{
    font-size: 20px;
    color: #fff;
    display: inline-block;
}

.search-section-container{
    margin: 15px 0px;
}

li.dropdown:last-child{
    background-color: #fff;
}

.header-right .voucher-counter{
    color: rgb(233, 84, 78);
}

.cart-product-img{
    width: 30%;
    text-align: left;
}

.cart-photo{
    width: 100px;
}

.voucher-to-pay{
    margin-top: 6px;
}

.voucher-wallet{
    background: none;
    margin: 0;
    position: fixed;
    top: 160px;
    right: 0;
    width: 40px;
    height: 45px;
    z-index: 199;
    display: inline-block;
    text-decoration: none;
    /*color: #7d9008;*/
    color: #d71828;
    background-color: transparent;
    text-align: center;
    border: 2px #d71828 solid;
    font-size: 11px;
}

.voucher-wallet:hover {
    color: #d71828;
}
 
.voucher-wallet i{
    /*color: #7d9008;*/
    color: #d71828;
    font-size: 24px;
}


.voucher-usable{
    position: absolute;
    top: -3px;
    left: -3px;
    z-index: 1;
    font-size: 12px;
    color: green;
}

.btn-adjust{
    border-color: #c9c9c9;
    background-color: #e3e3e3;
}

input[type="text"], input[type="password"], input[type="email"]{
    border-color: #cdcdcd;
}

.product-tab .nav-tabs li a {
    color: #555555;
    font-size: 18px;
}

/*no grey borders*/
.product-share{
    border-bottom-color: #e9e9e9;
}

.breadcrumb{
    border-color: #e9e9e9;
}

.content-box{
    background-color: #e9e9e9;
}

.left-border-wide-device{
    border-left: 10px #efefef solid;
}

/*no grey borders*/

.img-footer{
    margin-right: 32px;
    margin-bottom: 20px;
}

h3.footer-header{
    margin-left: 40px;
}

ul.footer-list li{
    margin-left: 40px;
}

.block-title{
    font-size: 22px;
}

.main-category-list{
    color: #000;
    font-weight: bold;
}

.sub-category-list{
    color: #3d3d3d;
    font-weight: normal;
}

.desktop-search-form{
    position: relative;
}

.similar-product-line{
    position: relative;
    display: block;
    height: 30px;
    border-bottom: 1px dotted #ccc;
    line-height: 30px;
    margin-left: 2px;
    margin-right: 2px;
    font-size: 13px;
    font-weight: normal;
    cursor: pointer;
}

.similar-product-line:hover{
    background-color: #ececec;
}

.list-similar-products{
    position: absolute;
    top:37px;
    left: 0px;
    border-top: none;
    border-bottom: 1px solid #ff3f3f;
    border-left: 1px solid #ff3f3f;
    border-right: 1px solid #ff3f3f;
    height: 200px;
    width: 349px;
    z-index: 200;
    background-color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}

.product-tag-container{
    position: absolute;
    top:2px;
    left: 2px;
    z-index: 1;
    text-align: left;
}

.product-tag{
    font-size: 11px;
    margin: 3px;
    padding-left:2px;
    padding-right:2px;
    border: 1px solid #333333;
    color: #333333;
    white-space: nowrap;
}

.breadcrumb{
    margin-bottom: 10px;
}

.mobile-category{
    position: fixed;
    top: 120px;
    left: 10px;
    max-height: 480px;
    overflow-y: scroll;
    min-width: 80px;
}

ul.mobile-category li{
    margin-top: 10px;
    margin-bottom: 10px;
}

ul.mobile-category li a{
    font-size: 11px;
    color:#222;
}

ul.mobile-sub-category li{
    margin-top: 6px;
    margin-bottom: 6px;
}

ul.mobile-sub-category li a{
    font-size: 11px;
    color:#222;
}

.modal-title-site2{
    margin-top:10px;
}

.list-voucher-box i{
    font-size: 16px;
}

.list-voucher-box span{
    font-size: 16px;
    font-weight: bold;
}

.list-voucher-box{
    position: relative;
    margin: 5px;
    padding: 6px;
    display: block;
    color: #25377f;
    border: 1px #25377f solid;
}

.list-voucher-details{
    margin-top: 5px;
    border-top: 1px #ccc solid;
}

.list-voucher-details p{
    margin-top: 4px;
    font-size: 11px;
    font-weight: normal;
    color: #ccc;
}

.list-voucher-box span.voucher_date{
    margin-right: 6px;
    line-height: 24px;
    font-size: 12px;
    font-weight: normal;
}

.list-voucher-box .pull-right i{
    font-size:13px;
}


.form-survey{
    max-width: 160px;
    width:100%;
    padding: 2px;
    margin:2px;
    font-size: 14px;
    display: inline-block;
}

.survey-title{
    margin: 12px 12px 0px 12px;
}

.survey-sub-title{
    margin: -10px 12px 24px 12px;
}

.survey-tag{
    font-size: 16px;
}

#btn-submit-survey{
    margin-bottom: 40px;
}

.right-header-ad{
    height: 90px;
    width:220px;
    background-color: lightgray;
    text-align: center;
}

.home-icons{
    width:100%;
    margin-top: 15px;
}

.category-left{
    min-height: 560px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.category-sign{
    height: 24px;
    width: 10px;
    margin: -10px 10px -4px 0px;
    display: inline-block;
    background-color: #ccc;
}

.mobile-home-category, .mobile-home-category-img{
    margin: 10px 0px 10px 0px;
   /* border: 1px #73AD21 solid;*/
    width:100%;
    text-align:center;
    border-radius: 2px;
    color: #ff3f3f;
}

.mobile-home-category{
    border: 1px solid #ff3f3f;
}

.home-special-price.cross{
    text-decoration: line-through;
    color: #616161;
}

.slider-product-price.cross{
    text-decoration: line-through;
    color: #616161;
}

.slider-product-price{
    color: #d81920;
    font-weight: 500;
    font-size:14px;
    margin: 0px 3px 0px 3px;
}

.slide-product-container{
    height:225px;
}

.slider-product {
    display: block;
    height: auto;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    text-align: left;
    min-height: 120px;
}

.slider-product:hover{
    color: #ff0000;
}


.sliderProducts{
    width: 700px;
    min-height: 450px;
    position: absolute;
    top: 3px;
    left: 275px;
    /*background-color: rgba(0, 0, 0, 0.8);*/
    z-index: 5000;
}

.sliderProducts .home-product-title{
    font-size:12px;
    font-weight: normal;
}

.sliderImageContainer{
    width: 100%;
    max-width: 100%;
    min-height: 440px;
    text-align:center;
    display: inline-block;
    margin-top:6px;
}

.top-menu-border{
    color: #ccc;
    min-width: 20px;
    text-align: left;
    margin-top: 2px;
}

.userMenu a{
    font-size:13px;
    color: #464646;
}

.userMenu a i{
    font-size: 15px;
}

.userMenu a:hover{
    text-decoration: underline;
}

.navbar-fixed-top{
    border-width: 0px 0px 0px 0px;
    border-color: transparent;
}

.home-icons-container{
    position:relative;
    margin-top:-458px;
    float:right;
    z-index:200;
    min-height: 460px;
    width: 270px;
    background-color: rgba(255, 255, 255, 0.8);
}

.home-icons-up{
    height: 230px;
    background-color: transparent;
}

.home-icons-bottom{
    height: 230px;
    background-color: transparent;
}

.home-mega-menu{
    position:relative;
    margin-top:-458px;
    float:left;
    z-index:200;
}

.home-mega-menu ul.dropdown-menu{
    max-width:270px;
    min-height:456px;
    display: block;
    position: relative;
    background-color: rgba(255, 255, 255, 0.8);
}

.homeSlideImg{
    min-height: 450px;
    max-width: 100%;
}


.sub-category-item-container{
    margin: 2px 0px 2px 0px;
}

.sub-category-item-container a{
    font-weight: normal;
}

.sub-category-item{
    display:inline-block;
    margin-right: 4px;
}

.first-menu{
    min-width: 270px;
    margin-left:10px;
}

.first-menu ul.dropdown-menu{
    min-width: 270px;
}

.navbar-nav > li > .dropdown-menu{
    margin-top: 5px;
}

.navbar-nav > li > a{
    color: #333333;
}

.dropdown a{
    background-color:#fff;
}

.first-menu.dropdown > a,
.first-menu.dropdown > a:hover,
.nav > li.first-menu:hover > a
{
    color: #fff;
    background-color:#d81920;
}

#accordionNo{
    margin-top: 19px;
}

.desktop-logo{
    margin-top: -25px;
    margin-left: 100px;
    height: 90px;
    max-width: 100%;
}

a{
    color: #d81920;
}

.highlight{
    color: #d81920;
}

.nztime{
    text-align: left; 
    margin-left:16px;
}

.navbar-brand{
    margin: 8px;
}

.top-container{
    width: 100%;
    max-width: 1300px;
}

.top-nav{
    background-color: #fff;
    border: none;
    height: 45px;
}

.navbar-tshop{
    background-color: #fff;
}

.navbar-toggle{
    margin-top:5px;
}

.megamenu-content ul li a {
    background-color: #fff;
}

.navbar.navbar-tshop.navbar-fixed-top.megamenu{
    border-bottom: 1px #d81920 solid;
}

.ProductDetailsList ul li a{
    padding-right: 20px;
    margin-right: 20px;
}

.desktop-search-container{
    width:100%;
    margin: 20px 0px 10px 0px;
    display: inline-block;
    text-align: center;
}

.desktop-search-btn-container{
    position: relative;
    text-align: center;
}

.desktop-search-box{
    margin-left: 40px;
    display: block;
    width: 450px;
    text-align: left;
}

.desktop-search-box input{
    border: #ff3f3f 1px solid;
    border-radius: 0 !important;
    height: 37px;
}

.desktop-search-keywords-container{
    margin-top: 6px;
    height: 20px;
    max-height: 20px;
    overflow: hidden;
}

.desktop-search-box span a{
    font-weight: normal;
    font-size: 12px;
    margin: 2px;
    line-height: 20px;
}

.btn-desktop-search{
    position: absolute;
    right: 0px;
    top: 0px;
    text-align: center;
    width: 120px;
    border: #d81920 2px solid;
    border-top-right-radius: 10px;
    background-color: #d81920;
    color:#fff;
    font-weight: normal;
    letter-spacing: 10px;
    height: 37px;
}

.btn-desktop-search:hover, .btn-desktop-search:focus, .btn-desktop-search:active{
    background-color: #ff3f3f;
    border: #ff3f3f 2px solid;
    color:#fff;
}

.desktop-account-container{
    display: inline-block;
    margin: 24px 10px 10px 10px;
}

.desktop-cart-container{
    display: inline-block;
    margin: 26px 10px 10px 10px;
}

.desktop-cart-container i, .desktop-account-container i{
    font-size: 26px;
}

.desktop-cart-container span, .desktop-account-container span{
    font-weight: 600;
    line-height: 30px;
    font-size: 18px;
}

.desktop-cart-container, .desktop-account-container{
    color: #ff3f3f;
}

.mobile-logo-container{
    text-align: center;
    margin: 16px;
}

.desktop-cart-container:hover, .desktop-account-container:hover{
    color: #d81920;
}

.upper-top-menu{
    height: 28px;
    background-color: #ececec;
    border-bottom: 1px #d7d7d7 solid;
}

.userMenu{
    font-weight: normal;
    font-size: 14px;
    margin-top: 8px;
    margin-left: 20px;
    color: #000;
}

.userMenu .highlight{
    color: rgb(233, 84, 78);
}

ul.userMenu li a i{
    font-size: 15px;
}

ul.userMenu li a span{
    line-height: 28px;
    font-weight:normal;
}

ul.userMenu li a span:hover{
    text-decoration: underline;
}

ul.userMenu li a{
    margin-top: -6px;
    color: #464646;
    font-size: 13px;
}

.upper-banner{
    width:100%;
    text-align: center;
    padding-top: 10px;
    /*background-color: #f9c32b;*/
    background-color: #fff;
    min-height: 10px;
}

.upper-banner img{
    max-width: 100%;
    /*margin-left: 70px;*/
}

.bottom-bar .function-button a{
    color: #d81920;
}

.bottom-bar .function-button a.active{
    color: orangered;
}

.category-products-container{
    border: none;
    margin-top: 20px;
    margin-bottom: 10px;
    display: block;
    overflow: hidden;
}

.category-col{
    margin-top: 1px;
    margin-right: 30px;
    display: inline-block;
    background-color: #4be2d9;
    height: 650px;
    width: 180px;
    float:left;
    overflow: hidden;
}

.category-col h1{
    letter-spacing: 16px;
    margin-top: 220px;
    margin-left: -70px;
    font-size: 42px;
    color: #fff;
    writing-mode: tb-rl;
}

.mobile-category-col{
    height: 32px;
    text-align: center;
}

.mobile-category-col h3{
    font-size: 18px;
    line-height: 32px;
    color: #fff;
}

.category-products{
    overflow: hidden;
    display: block;
    /*max-width: 1030px;*/
}

.btn-urltr-lg{
    padding: 16px;
    font-size: 24px;
    min-width: 240px;
}

.form-control{
    padding: 3px;
    font-size: 16px;
    border-color: #949494;
}

.related_product{
    display: block;
    width:100%;
}

.customer-menu{
    float: left;
    width: 180px;
    display: inline-block;
}

.customer-area{
    float: right;
    display: inline-block;
    width: 100%;
    max-width: 1050px;
}

.product-eng-name{
    margin-top: -10px;
    margin-bottom: 15px;
}

.tiny-text{
    font-size:10px;
    display: inline-block;
    letter-spacing: 0;
}

@media (max-width: 1279px){
    .navbar-nav > li > a {
        min-width: 60px;
        font-size: 12px;
        height: auto;
    }    
    .category-col{
        width:90px;
    }
    desktop-logo
    .category-col h1{
        margin-top: 220px;
        margin-left: -30px;
    }
    
    .function-box-container{
        display:none;
    }
    .home-product-title{
        font-size: 11px;
        font-weight: normal;
    }
    .category-products{
        overflow: hidden;
        display: inline-block;
        /*max-width: 830px;*/
    }
    .customer-menu{
        float: none;
        width: 100%;
        display: block;
    }

    .customer-area{
        float: none;
        width: 110%;
        display: inline-block;
        text-align: center;
    }
    
    .desktop-account-container{
        margin-top: 30px;
    }

    .desktop-cart-container{
        margin-top: 30px;
    }    
    
    .desktop-cart-container i, .desktop-account-container i{
        font-size: 18px;
    }
    
    .desktop-cart-container span, .desktop-account-container span{
        font-size: 12px;
    }
    
    .home-product-box{
        text-align: left;
    }
    .left-border-lg-device{
        border: none;
    }
}



@media (max-width: 812px){
    li.dropdown:last-child{
        
    }
    
    .navbar-header.isios .navbar-brand img{
        margin-top: -4px;
        height: 45px;
    }
    .cart-photo{
        width: 70px;
    }
    .cart-product-img{
        text-align: center;
        width: 25%;
    }
    .form-control{
        padding: 1px 4px 1px 4px;
        font-size: 16px;
    }
    
    .home-product-title-box{
        min-height: 44px;
    }
    
    .home-product-title{
        font-size: 10px;
    }
    
    .product-list-title{
        font-size: 10px;
    }

    .dropdown.active.first-menu{
        display:none;
    }
    .main-container{
        min-height: 160px;
    }
    .sliderImageContainer{
        min-height: 140px;
    }
    .homeSlideImg{
        min-height: 140px;
        width: 100%;
    }
    
    .loaded{
        max-width:100%;
    }
    .img-ks-lazyload{
        width:100%;
        max-width: 100%;
    }
    .btn, select, input{
        margin-top: 2px;
    }
    .navbar{
        min-height: 56px;
    }
    .product{
        min-height: 240px;
    }
    .action-control{
        display:none;
    }
    .home-product-box{
        border: none;
    }
    .customer-menu{
        float: none;
        width: 100%;
        display: block;
    }

    .customer-area{
        float: none;
        width: 110%;
        display: inline-block;
        text-align: center;
    }    
    
    .description h4{
        font-size: 12px;
    }
    
    .category-products-container{
        padding-left: 2px;
        padding-right: 2px;
        border:none;
    }
    
    .category-col{
        display: none;
    }
    
    .navbar-nav .dropdown a{
        background-color: #fff;
        color: #d81920;
        /*border-bottom: 1px #d81920 solid;*/
    }
    
    .navbar.navbar-tshop.navbar-fixed-top.megamenu{
        border-bottom: none;
    }
    
    
    .navbar-nav > li > a {
        text-align: left;
    }
    
    .menu-icon{
        color: #d81920;
    }
    
}

/* iPad Portrait */
@media screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
    .category-col{
        display: none;
    }
    .navbar-nav > li > a {
        min-width: 60px;
        font-size: 12px;
        height: auto;
    }
    .slider-content{
        margin-top:0px;
    }
    .banner{
        margin-top: 38px;
    }
    .headerOffset{
        padding-top: 60px;
    }
    .back-to-top{
        bottom: 50px;
    }
    .bottom-bar{
        z-index: 200;
        position: fixed;
        left: 0px;
        bottom: 0px;
        display: block;
        width: 100%;
        height: 50px;
        border-top: 1px #000 solid;
        background-color: #fff;
    }
    .search-box{
        display: none;
    }
}

/* iPad Landscape */
@media screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
    .navbar{
        min-height: 56px;
    }    
    .navbar-nav > li > a {
        min-width: 60px;
        font-size: 12px;
        height: auto;
    }
    .back-to-top{
        bottom: 50px;
    }
    .bottom-bar{
        z-index: 200;
        position: fixed;
        left: 0px;
        bottom: 0px;
        display: block;
        width: 100%;
        height: 50px;
        border-top: 1px #000 solid;
        background-color: #fff;
    }
    .bottom-cart-indicator{
        right: 37%;
    }
    .customer-area{
        float: none;
        width: 104%;
    }    
    
    .upper-banner{
        background-color: #fff;
    }
    
    .upper-banner img{
        display: none;
    }
    
    .desktop-logo{
        margin-top: 0px;
        height: 66px;
    }
    .headerOffset{
        padding-top: 120px;
    }
    .banner{
        margin-top: -10px;
    }
    .category-col{
        height: 550px;
    }
}

@media screen and (min-device-width: 800px) and (max-device-width: 1280px) and (orientation:landscape) {
    .side-list{
        display: none;
    }
    .right-side-products{
        width: 100%;
    }
    .action-control{
        display:none;
    }
    .product{
        min-height: 240px;
    }
    .left-similar-products .panel-heading{
        border-top:none;
    }
}

@media only screen and (device-width : 375px) and (device-height : 812px) and (-webkit-device-pixel-ratio : 3) {
    .bottom-bar{
        height: 65px;
    }
}


@media (min-device-width: 1024px){
    .home-mega-menu-dropdown{
        height: 456px;
        overflow-y: scroll;
        overflow-x: hidden;
    }
}