
main {
    margin-top: 110px;
    padding-bottom: 0px !important;
}




/* ========== slider ========== */
.carousel-inner .item {
    min-height: 550px;
}

    .carousel-inner .item .container {
        position: relative;
    }

.item-heroBanner-01 {
    background: url(../image/heroBanner_01.jpg) 50% 50%;
    background-size: cover;
}

.item-heroBanner-02 {
    background: url(../image/heroBanner_02.jpg) 50% 50%;
    background-size: cover;
}

.item-heroBanner-03 {
    background: url(../image/heroBanner_03.jpg) 50% 50%;
    background-size: cover;
}

.carousel-control.left,
.carousel-control.right {
    background-image: none;
    font-size: 50px;
    color: #00a9e0;
    text-shadow: none;
}

.carousel-caption {
    text-align: left;
    text-shadow: none;
}

    .carousel-caption h1 {
        color: #99ddf3;
        font-weight: 500;
    }

    .carousel-caption h3 {
        color: #474747;
        font-weight: 500;
    }

button.btn-readMore {
    width: 180px;
    margin-top: 20px;
}

.carousel-control {
    opacity: 1;
    width: 8%;
}

    .carousel-control .icon-angle-left,
    .carousel-control .icon-angle-right {
        position: absolute;
        top: 50%;
        z-index: 5;
        display: inline-block;
        margin-top: -25px;
    }

    .carousel-control .icon-angle-left {
        left: 0;
    }

    .carousel-control .icon-angle-right {
        right: 0;
    }

.carousel-indicators li {
    width: 40px;
    height: 6px;
    background-color: #acacac \9;
    background-color: #acacac;
    border: none;
    margin: 0 8px;
    border-radius: 10px;
}

.carousel-indicators .active {
    width: 40px;
    height: 6px;
    background-color: #00a9e0;
    margin: 0 8px;
}

.homepage-slider {
    display: flex;
    flex-direction: row;
}

    .homepage-slider .prev-btn, .homepage-slider .next-btn {
        border-radius: 2rem;
        position: absolute;
        z-index: 2;
        height: 100%;
    }

@media screen and (max-width: 768px) {
    .homepage-slider .prev-btn, .homepage-slider .next-btn {
        bottom: 20px;
    }
}

.prev-btn, .next-btn {
    color: #303030;
    display: flex;
    align-items: center;
    cursor: pointer;
}

    .prev-btn i, .next-btn i {
        font-size: 30px;
    }

    .prev-btn:hover, .next-btn:hover {
        color: #8cd735;
    }

.prev-btn {
    margin: 0 1rem;
    left: 0;
}

.next-btn {
    margin: 0 1rem;
    right: 0;
}

.feature-product-row-reverse {
    display: flex;
    flex-flow: row-reverse;
}

@media screen and (max-width: 992px) {
    .feature-product-row-reverse {
        display: block;
        flex-flow: unset;
    }
}



.feature-products-container {
    margin: 0 auto;
    width: 1430px;
}

@media (min-width: 768px) {
    .feature-products-container {
        width: 1010px;
    }
}

@media (min-width: 992px) {
    .feature-products-container {
        width: 1230px;
    }
}

@media (min-width: 1200px) {
    .feature-products-container {
        width: 1430px;
    }
}

@media screen and (min-width: 768px) {
    .carousel-caption {
        right: auto;
        left: 60px;
        padding-bottom: 30px;
        max-width: 470px;
        top: 115px;
    }

    .carousel-control .icon-angle-left,
    .carousel-control .icon-angle-right {
        width: 50px;
        height: 50px;
    }
}
/* ========== feature-product ========== */
.feature-product {
    margin-top: 60px;
}

h1.section-title {
    text-align: center;
    font-weight: 500;
    margin-bottom: 25px;
}

.feature-banner-mask {
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(244,246,249,0.2);
    opacity: 0;
}

.feature-banner {
    border: 1px solid #f4f6f9;
    margin-bottom: 10px;
    position: relative;
}

    .feature-banner img {
        max-width: 100%;
        width: auto;
        height: 395px;
        object-fit: contain;
    }

@media screen and (max-width: 992px) {
    .feature-banner {
        text-align: center;
    }

        .feature-banner img {
            width: 100%;
            height: auto;
        }
}

.feature-banner:hover .feature-banner-mask {
    opacity: 1;
    transition: all 0.1s ease-in-out;
}

figure.feature-item {
    padding: 12px 15px;
    text-align: center;
    background: #f4f6f9;
    position: relative;
    height: 395px;
    margin-bottom: 10px;
}

.feature-proBrandLogo img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.figcaption-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(244,246,249,0.85);
    border: 3px solid #00a9e0;
    opacity: 0;
}

button.btn-detail {
    width: 135px;
    opacity: 0;
    margin: 15px auto 0;
    position: relative;
    z-index: 1;
    top: 70px;
}

.feature-proTitle {
    font-size: 20px;
    color: #656565;
    font-weight: 600;
    line-height: 1.2;
    margin: 5px auto;
    max-height: 48px;
    height: 48px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.feature-proVolume {
    font-size: 16px;
    color: #474747;
    margin: 8px auto;
    line-height: 1.2;
    max-height: 38px;
    height: 38px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.feature-proPrice {
    color: #474747;
}

.label-product {
    color: #fff;
    font-size: 14px;
    width: 55px;
    height: 74px;
    top: 20px;
    left: 20px;
    position: absolute;
    background: url(../image/label.png);
}

.label-txt {
    font-size: 21px;
    font-weight: 500;
    margin-top: 25px;
    margin-bottom: -6px;
}

span.currentPrice {
    font-size: 20px;
}

span.originalPrice {
    margin-left: 10px;
    font-size: 16px;
    text-decoration: line-through;
}

figure.feature-item figcaption {
    position: absolute;
    top: 215px;
    left: 0;
    width: 100%;
    padding: 0 15px;
    z-index: 1;
}

figure.feature-item:hover figcaption {
    top: 200px;
}

figure.feature-item:hover .figcaption-border {
    opacity: 1;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    transition: opacity 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
}

figure.feature-item:hover figcaption .feature-proBrandLogo {
    margin-top: 1.5rem;
}





/* ========== Cool Login Box ========== */

.homePageConatiner {
    display: flex;
    width: 100%;
    padding: 0px !important;
}

.homeBannerContainer {
    order: 1;
    padding: 0px;
}

.homeLoginBoxContainer {
    order: 2;
    z-index: 1;
    color: #FFFFFF !important;
    margin-right: 0px;
    padding: 30px 50px 30px 50px;
    background-color: #204474;
}


    .homeLoginBoxContainer hr {
        height: 1px;
        background: #115583;
        border-top: 1px solid #012d52;
        margin: 20px 0 30px 0;
    }

    .homeLoginBoxContainer .loginBoxHeaderStr {
        font-size: 32px;
        margin-top: 10px;
    }

    .homeLoginBoxContainer .loginBoxHeaderSubStr {
        font-size: 18px;
        margin-top: 5px;
    }

    .homeLoginBoxContainer .remark-link {
        font-size: 16px;
        color: #FFFFFF;
        text-decoration: underline;
        display: block;
        margin-top: 10px;
    }

        .homeLoginBoxContainer .remark-link:hover {
            text-decoration: none;
        }

#usernameIcon {
    margin: 5px 0 0 -10px;
    display: block;
    background: url(https://www.varecool.com/myaccount/images/icon-askCode.png) no-repeat top left;
    height: 40px;
    width: 40px;
}

#passwordIcon {
    margin: 5px 0 0 -10px;
    display: block;
    background: url(https://www.varecool.com/myaccount/images/icon-chgPW.png) no-repeat top left;
    height: 40px;
    width: 40px;
}

.zero-left-pad {
    padding-left: 0px;
}


    .login-form .btn-submit {
        width: 100%;
        background: #00a9e0;
        border: 1px solid #00a9e0;
    }

        .login-form .btn-submit:hover {
            background: #99ddf3;
            color: #FFFFFF;
        }

        .login-form > div{
            margin-bottom: 15px;
        }

.loginBoxHeader .right-section{
    display: none;
}

.hint-icon{
    cursor: pointer;
}

@media screen and (max-width: 1024px) {
    main {
        margin-top: 60px;
    }

    .homePageConatiner {
        display: block;
        flex-direction: unset;
    }

    .homeLoginBoxContainer {
        padding: 0 10px 0 10px;
    }

    .loginBoxHeader {
        padding: 10px 0 10px 0;
        display: flex;
        align-items: center;
        flex: 1;
    }

        .loginBoxHeader .right-section {
            flex: 1;
            text-align: right;
            font-size: 35px;
            padding-right: 10px;
            display: block;
        }

    .homeLoginBoxContainer .LoginBoxClose .right-section .fa-angle-down {
        -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    .homeLoginBoxContainer .LoginBoxOpen .right-section .fa-angle-down {
        -webkit-transform: unset;
        -ms-transform: unset;
        transform: unset;
    }

    .homeLoginBoxContainer hr {
        margin: 10px 0 20px 0;
    }

    .homeLoginBoxContainer .loginBoxHeaderStr {
        font-size: 24px;
        margin-top: 0px;
    }

    .homeLoginBoxContainer .loginBoxHeaderSubStr {
        font-size: 14px;
        margin-top: 0px;
    }

    .login-form > div {
        margin-bottom: 10px;
    }

    .homeLoginBoxContainer .remark-link {
        font-size: 14px;
        margin-top: 5px;
    }

    .dropdown-LoginBox {
        display: block;
        display: -webkit-box;
        display: -ms-flexbox;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        max-height: 0;
        width: 100%;
        -webkit-transition: max-height, 0.5s ease-in-out;
        transition: max-height, 0.5s ease-in-out;
        overflow-y: hidden;
        overflow-x: hidden;
    }

    .display-mobileLoginBox {
        max-height: 600px;
    }
}

@media screen and (max-width: 992px) {
    figure.feature-item:hover figcaption .feature-proBrandLogo {
        margin-top: 0;
    }
}

figure .feature-item:hover button.btn-detail {
    opacity: 1;
}

#customerType-modal {
    font-size: 20px;
}

#homePagePopUp .modal-dialog {
    max-width: 700px;
    padding: 20px;
}

    #homePagePopUp .modal-dialog .modal-content {
        height: 100%;
    }

@media screen and (max-width: 768px) {
    #homePagePopUp .modal-dialog {
        padding: 20px;
    }
}

#homePagePopUp .modal-dialog .modal-content .modal-header {
    padding: 45px 15px 0px 15px;
}

    #homePagePopUp .modal-dialog .modal-content .modal-header .modal-body {
        overflow: hidden;
        max-height: unset !important;
        padding: 0px !important;
    }

        #homePagePopUp .modal-dialog .modal-content .modal-header .modal-body iframe {
            width: 100%;
        }

@media screen and (max-width: 1200px) {
    .carousel-inner .item {
        min-height: 450px;
    }
}

@media screen and (max-width: 1024px) {
    .carousel-inner .item {
        min-height: 350px;
    }

    figure.feature-item:hover figcaption {
        top: 215px;
        height: auto;
    }

    figure.feature-item:hover .figcaption-border {
        opacity: 0;
    }

    figure.feature-item button.btn-detail {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    h3.section-title {
        margin-top: 70px;
    }

    .item-heroBanner-01 {
        background: url(../image/hero-m1.jpg) 50% 50%;
        background-size: cover;
    }

    .item-heroBanner-02 {
        background: url(../image/hero-m2.jpg) 50% 50%;
        background-size: cover;
    }

    .item-heroBanner-03 {
        background: url(../image/hero-m3.jpg) 50% 50%;
        background-size: cover;
    }

    .carousel-inner {
        overflow: visible;
    }

        .carousel-inner .item {
            min-height: 190px;
        }

    .carousel-caption {
        bottom: auto;
        margin-top: 270px;
        right: 0;
        width: 100%;
        left: 0;
        text-align: center;
        padding: 10px 30px;
        max-width: 100%;
        top: 0;
    }

    .carousel-indicators {
        display: none;
    }

    .carousel-control.left, .carousel-control.right {
        font-size: 30px;
    }

    .carousel-control .icon-angle-left, .carousel-control .icon-angle-right {
        /*top: 130%;*/
        margin-top: -15px;
    }

    .carousel-caption h1 {
        font-size: 26px;
    }

    .carousel-caption h3 {
        font-size: 20px;
    }

    button.btn-readMore {
        margin-top: 5px;
    }

    .feature-product {
        margin-top: 100px;
    }

    figure.feature-item {
        padding: 20px 0px;
        height: auto;
    }

        figure.feature-item img {
            max-width: 100%;
            max-height: 140px;
        }

        figure.feature-item figcaption,
        figure.feature-item:hover figcaption {
            position: relative;
            top: auto;
        }

    .feature-proTitle {
        font-size: 16px;
        height: 38px;
        max-height: 38px;
    }

    .feature-proVolume {
        font-size: 14px;
        margin: 5px auto;
        height: 32px;
        max-height: 32px;
    }

    .label-product {
        top: 5px;
        left: 5px;
        transform: scale(0.7);
    }
}

@media screen and (max-width: 600px) {
    figure.feature-item {
        height: 310px;
    }
}

@media screen and (max-width: 320px) {
    .feature-item-outer {
        width: 100%;
    }

    figure.feature-item {
        height: 285px;
    }
}
