
/*=========================TRANG HUONG DAN LAY MAU======================*/
.bg-guide{
    background-color: #fff;
}
.bg-guide:before{
    background: -webkit-linear-gradient(top, #ffc83a, #f96e30);
}
.bg-guide .info{
    position: absolute;
    bottom: 100px;
    left: 0;
    width: 552px;
    padding: 30px 30px 50px;
    background: rgba(255, 255, 255, 0.8);
    z-index: 5;
}
.guide .info .btn-view-more{
    border-radius: 0;
    padding: 8px 55px;
    background-color: #e86a30;
}

.bg-guide .img-right{
    position: relative;
    bottom: 0;
    right: -81%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.bg-guide .img-right:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    z-index: 1;
    width: 535px;
    background-image: -webkit-linear-gradient(top, #e8bf42, #fe8255);
    opacity: .9;
}


.guide{
    position: relative;
    background: #fff;
}
.guide:before{
    content: "";
    position: absolute;
    top: 0;
    left: -378px;
    width: 593px;
    height: 100%;
    background-image: -webkit-linear-gradient(rgb(80, 206, 93), rgb(41, 52, 68)) !important;
    background-image: linear-gradient(rgb(80, 206, 93), rgb(41, 52, 68)) !important;
}
.guide .title-page{
    text-transform: none;
    line-height: 60px;
    font-weight: 700;
    font-size: 35px;
}
.guide .title-page span{
    color: #e86a30;
    text-transform: uppercase;
    
}
.guide .list-img{
    position: absolute;
    bottom: 0;
    right: 30px !important;
    width: 55%;
    z-index: 3;
}
.list-img .img img{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/*MODULE BAN MUON TU LAY MAU XET NGHIEM TAI NHA*/
.test-at-home{
    padding-top: 30px;
}
.test-at-home h2.title{
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 700;
    width: 50%;
    margin: 30px auto;
}

.item-test{
    box-shadow: 0px 15px 20px -15px #000;
    -webkit-box-shadow: 0px 15px 20px -15px #000;
    border-style: outset;
    border-color: rgb(180, 180, 180);
    border-width: 5px;
    text-align: center;
    padding: 7px 0;
    margin-bottom: 30px;
    background-color: #e4e4e4;
}
.item-test.last{
    box-shadow: none;
    border-color: unset;
    border: 0;
    margin: 0;
    background-color: #fff;
    font-size: 14px;
}
.item-test a{
    color: #e86b30;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

/*MODULE BAN MUON TU LAY MAU XET NGHIEM TAI NHA*/


/*MODULE CAC LOAI MAU XET NGHIEM*/
.item-specimen{
    display: table;
    width: 100%;
    padding: 30px 0 30px 50px;
}
.item-1>div{
    float: left;
}
.item-1{
    padding: 30px 0 15px 35px;
}
.item-1 .img-one{
    margin-top: -30px;
}
.item-1 .img-two{
    margin-top: -125px;
    width: 50%;
    transform: translateX(40px);
}
.item-1 .info-two{
    width: 50%;
}
.item-1 .info-two .text{
    width: 70%;
    float: left;
}
.item-1 .info-two .img-three{
    float: right;
    width: 30%;
}
.item-1 .info-three{
    padding: 15px 0;
}

.item-1 .img-four{
    width: 60%;
}
.item-1 .img-four img{ 
    width: 50%;
    float: left;
}
.item-1 .info-five{
    width: 40%;
    margin-top: 20px;
    transform: translateX(-20px);
}

.item-2 .info-one{
    margin-top: 70px;
}
.item-1 >div{
    font-size: 14px !important;
}
.item-specimen .info-one{
    font-size: 15px;
}

.title-specimen {
    font-size: 18px;
    width: 100% !important;
    margin-bottom: 20px;
    line-height: 1.6;
    text-transform: uppercase;
}
.title-specimen p{
    text-transform: none;
}
.item-1 .info-one{
    width: 50%;
    text-align: right;
}

.item-2 .img img{
    border: 4px solid rgba(228, 228, 228, 1.0);
    border-radius: 8px;
}

.item-specimen.item-3 {
    padding: 50px 0 50px 50px;
    position: relative;
    padding-top: 5%;
}
.item-3 .bg-item img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.item-3 > .img-hair{
    position: absolute;
    left: -200px;
    opacity: 0.1;
}
.item-3 .img-hair{
    display: inline-block;
    bottom: 15px;
    border-radius: 5px;
    border: 5px solid rgba(92, 37, 11, 1.0);
}
.item-3 .title-specimen{
    margin-bottom: 40px;
}
.item-3 .info-one{
    line-height: 2;
}

.item-specimen.item-4 .info-one{
    padding-left: 10px;
}

.item-specimen.item-5 {
    background: url(/uploads/plugin/custom_img/2021-01-14/1610596888-333541966-custom.jpg) no-repeat;
    background-size: cover;
    min-height: 390px;
    color: #fff;
}
.item-specimen.item-5 .info-one{
    padding-right: 30px;
}
.item-specimen.item-6 .info-one{
    padding-right: 25px;
}

.item-specimen.item-7 {
    background: url(/uploads/plugin/custom_img/2021-01-13/1610531698-764274231-custom.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 360px;
    color: #fff;
}
.item-7 .title-specimen{
    margin-top: 70px;
}
.item-7 .info-one{
    padding-right: 10px;
}

.item-8 .info-one p{
    margin-bottom: 20px;
}

@media(max-width: 768px){
    .bg-guide .container > .row > .col-xs-12{
        padding: 0;
    }
}

@media(min-width: 577px) and (max-width: 768px){
    p{
        font-size: 11px;
    }
    .guide:before{
        left: -420px !important;
    }
    .guide .list-img{
        width: 60% !important;
        overflow: hidden;
    }
    .guide .list-img img{
        transform: translateX(50px);
    }
    .guide .info{
        width: 450px;
        bottom: 80px;
    }
    .guide .info p{
        font-size: 11px;
    }
    .guide .title-page{
        line-height: 55px !important;
        font-size: 28px !important;
    }
    .bg-guide .img-right img{
        height: 630px;
    }
    .guide .info .btn-view-more{
        padding: 7px 39px;
        font-size: 12px;
    }
    /*----------------*/
    .test-at-home h2.title{
        font-size: 25px;
        line-height: 1.2;
    }
    .test-at-home .item-test{
        padding: 5px 0;
    }
    .test-at-home .item-test a{
        font-size: 13px;
    }
    
    /*---------------*/
    .item-1 .img-one {
        margin-top: -18px;
        width: 50%;
    }
    .item-1 .img-two {
        margin-top: -80px;
        width: 50%;
        padding-right: 50px;
    }
    .item-1 .info-two .text{
        padding-right: 10px;
        width: 65%;
    }
    .item-1 .info-two .img-three{
        width: 35%;
    }
    .item-1 .info-five{
        margin-top: 0;
    }
}


@media(max-width: 576px){

    .guide .title-page{
        line-height: unset;
    }
    .guide .title-page span{
        /*width: 80%;*/
        display: block;
        margin-top: 15px;
    }
    
    .guide .info{
        z-index: 15;
        width: 80%;
        transform: none;
        padding: 60px 30px;
        top: unset;
        bottom: 0;
    }
    
    
    .guide.guide-sample .info{
        padding: 40px 30px 50px 50px;
    }
    .guide .list-img{
        position: unset !important;
        width: 100%;
        height: 100%;
    }
    
    .bg-guide .img-right{
        display: none;
    }
    
    .guide:before{
        height: 100%;
        z-index: 5;
        width: 100%;
        left: 0;
        transform: translateX(-55%);
    }
    .content-guide.hidden{
        display: block !important;
        background: url(/uploads/plugin/custom_img/2021-02-04/1612427821-2041615377-custom.jpg) no-repeat;
        position: relative;
        background-size: 100% 100%;
        padding: 30px 20px 20px;
        /*text-align: justify;*/
    }
    .content-guide.hidden p{
        position: relative;
        z-index: 1;
    }
    .content-guide.hidden:before{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        height: 100%;
        z-index: 1;
        width: 535px;
        background-image: -webkit-linear-gradient(top, #e8bf42, #fe8255);
        opacity: .9;
    }
    
    /*=================*/
    
    
    .test-at-home h2.title{
        width: 90%;
    }
    .item-test.last p{
        text-align: center !important;
    }
    .item-specimen{
        padding: 0 !important;
        margin: 30px 0;
    }

    .item-1{
        display: flex;
        flex-flow: column;
    }
    .item-1>div{
        width: 100%;
    }
    .item-1 .img-one{
        order: 1;
    }
    .item-1 .info-one{
        order: 2;
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }
    .item-1 .img-two{
        order: 3;
        width: 100%;
        margin: 0;
        transform: translateX(0);
    }
    .item-1 .info-two{
        order: 4;
        width: calc(100% + 30px);
        margin-top: 15px;
        transform: translateX(-15px);
    }
    .item-1 .info-two .text{
        width: 61%;
        text-align: right;
        padding-right: 20px;
    }
    .item-1 .info-two .img-three{
        width: 39%;
    }
    .item-1 .info-two .img-three img{
        width: 100%;
    }
    
    .item-1 .img-three{
        order: 5;
    }
    .item-1 .info-three{
        order: 6;
    }
    .item-1 .img-four{
        order: 7;
        width: 100%;
        position: relative;
        transform: translateY(-30px);
    }
    .item-1 .img-four img {
        width: 70%;
        float: left;
        transform: translateX(-25px);
    }
    .item-1 .img-four img:last-child{
        position: absolute;
        top: 60px;
        left: 44%;
        width: 73%;
    }
    .item-1 .info-five{
        order: 8;
        width: 100%;
        transform: translateX(0);
    }
    .item-3 .info-one{
        line-height: 1.6;
    }
    .item-3 > .img-hair{
        left: unset;
        opacity: 1;
        z-index: 1;
    }
    
    .item-3 .bg-item img{
        position: unset;
    }
    .item-specimen.item-7,
    .item-specimen.item-5,
    .item-specimen.item-6 .img,
    .item-specimen.item-8 .img,
    .item-specimen.item-4 .img,
    .item-3 .bg-item{
        width: calc(100% + 30px);
        transform: translateX(-15px);
    }
    
    .item-specimen.item-5{
        padding: 15px !important;
        min-height: 150px;
        height: 150px;
    }
    
    
    .item-specimen.item-7{
        padding: 15px !important;
        min-height: 150px;
        height: 150px;
    }
    .item-7 .title-specimen{
        margin-top: 0;
    }
    
}







@media(min-width: 376px) and (max-width: 576px){
    .guide .title-page{
        font-size: 33px;
    }
    /*-----------------*/
    .test-at-home h2.title{
        font-size: 30px;
    }
    .test-at-home .item-test{
        width: 80%;
        margin: 0 auto 15px;
    }
    .test-at-home .item-test.last{
        margin-top: 10px;
        width: 90%;
    }
    .test-at-home .item-test.last p{
        font-size: 15px;
    }
    
    .item-specimen .title-specimen{
        font-size: 18px;
        margin-bottom: 20px;
    }
    .item-specimen .info-one{
        margin: 0 0 15px 0;
        padding: 0 !important;
    }
    
    .item-1 >div{
        font-size: 15px;
    }
    
    
    .item-specimen.item-3{
        margin-bottom: 90px;
    }
    
    .item-3 > .img-hair{
        bottom: -65px;
        right: 10px;
    }
    .item-specimen.item-6 .info-one,
    .item-specimen.item-4 .info-one{
        margin: 15px 0 0 0;
    }
    .item-specimen.item-5 .info-one{
        font-size: 14px;
    }
    
    
}



@media(min-width: 361px) and (max-width: 375px){
    .guide.guide-sample .info{
        padding: 25px 30px 40px 35px;
    }
    .guide .title-page{
        font-size: 32px;
    }
    .guide .info .btn-view-more{
        padding: 8px 35px;
        margin-top: 30px;
    }
    .content-guide.hidden{
        padding: 25px 15px 10px;
    }
    /*-----------------*/
    .test-at-home h2.title{
        font-size: 28px;
    }
    .test-at-home .item-test{
        width: 80%;
        margin: 0 auto 15px;
    }
    .test-at-home .item-test a{
        font-size: 13px;
    }
    .test-at-home .item-test.last{
        margin-top: 10px;
        width: 90%;
        margin-bottom: 0;
        padding: 0;
    }
    
    .item-specimen .title-specimen{
        font-size: 16px;
        margin-bottom: 20px;
    }
    .item-specimen .info-one{
        margin: 0 0 15px 0;
        padding: 0 !important;
        font-size: 13px;
    }
    

    .item-1 >div{
        font-size: 13px;
    }
    
    .item-specimen.item-3{
        margin-bottom: 80px;
    }
    
    .item-3 > .img-hair{
        bottom: -55px;
        right: 10px;
        width: 130px;
    }
    .item-specimen.item-6 .info-one,
    .item-specimen.item-4 .info-one{
        margin: 15px 0 0 0;
    }
    
    
    
}


@media(min-width: 321px) and (max-width: 360px){

    .guide.guide-sample .info{
        padding: 20px 30px 35px 30px;
    }
    .guide .title-page{
        font-size: 31px;
    }
    .guide .info .btn-view-more{
        padding: 8px 35px;
        font-size: 12px;
        margin-top: 25px;
    }
    .content-guide.hidden{
        padding: 20px 15px 5px;
    }
    /*-----------------*/
    .test-at-home h2.title{
        font-size: 26px;
        margin-top: 0;
    }
    .test-at-home .item-test{
        width: 80%;
        margin: 0 auto 15px;
    }
    .test-at-home .item-test a{
        font-size: 13px;
    }
    .test-at-home .item-test.last{
        margin-top: 10px;
        width: 90%;
        margin-bottom: 0;
        padding: 0;
    }
    .item-test.last p{
        font-size: 13px;
    }
    /*-------------------*/
    .item-specimen .title-specimen{
        font-size: 16px;
        margin-bottom: 20px;
    }
    .item-specimen .info-one{
        margin: 0 0 15px 0;
        padding: 0 !important;
        font-size: 13px;
    }
    
    .item-1 >div{
        font-size: 13px;
    }
    
    .item-specimen.item-3{
        margin-bottom: 80px;
    }
    
    .item-3 > .img-hair{
        bottom: -55px;
        right: 10px;
        width: 130px;
    }
    .item-specimen.item-6 .info-one,
    .item-specimen.item-4 .info-one{
        margin: 15px 0 0 0;
    }
    
   
    
}

@media(max-width: 320px){
    .guide.guide-sample .info{
        padding: 20px 30px 35px 25px;
    }
    .guide .title-page{
        font-size: 28px;
    }
    .guide .info .btn-view-more{
        padding: 8px 50px;
        font-size: 11px;
        margin-top: 20px;
    }
    .content-guide.hidden{
        padding: 15px 15px 5px;
    }
    /*-----------------*/
    .test-at-home h2.title{
        font-size: 23px;
        margin-top: 0;
    }
    .test-at-home .item-test{
        width: 80%;
        margin: 0 auto 15px;
    }
    .test-at-home .item-test a{
        font-size: 13px;
    }
    .test-at-home .item-test.last{
        margin-top: 10px;
        width: 90%;
        margin-bottom: 0;
        padding: 0;
    }

    /*-------------------*/
    .item-specimen .title-specimen{
        font-size: 16px;
        margin-bottom: 20px;
    }
    .item-specimen .info-one{
        margin: 0 0 15px 0;
        padding: 0 !important;
        font-size: 13px;
    }
    
    .item-1 >div{
        font-size: 13px;
    }
    .item-1 .info-two .text{
        padding-right: 15px;
    }
    
    .item-specimen.item-3{
        margin-bottom: 80px;
    }
    
    .item-3 > .img-hair{
        bottom: -55px;
        right: 10px;
        width: 130px;
    }
    .item-specimen.item-6 .info-one,
    .item-specimen.item-4 .info-one{
        margin: 15px 0 0 0;
    }
    
    
    
}




























