/* <===== tpfaqma =====> */
.tpfaqma{
    margin-bottom: 30px;
}
.tpfaqma .magrip{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -10px;
}
.tpfaqma .magrip > div{
    padding: 0 10px;
}
.tpfaqma .magrip .lcol{
    width: calc(100% - 200px);
}
.tpfaqma .magrip .rcol{
    width: 200px;
}
.tpfaqma .maquests a{
    display: flex;
    align-items: center;
    align-content: center;
    font-size: 14px;
    line-height: 23px;
    font-weight: bold;
    background-color: #de050c;
    color: #fff;
    border-radius: 5px;
    padding: 11px 40px;
}
.tpfaqma .maquests a i{
    margin-left: 8px;
}
.tpfaqma .maquests a:hover{
    background-color: #ffd400;
    color: #333333;
}
.tpfaqma .malinks ul{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
}
.tpfaqma .malinks li{
    margin-right: 55px;
    margin-bottom: 10px;
    position: relative;
}
.tpfaqma .malinks li:last-child{
    margin-right: 0;
}
.tpfaqma .malinks li::before{
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -30px;
    height: 16px;
    width: 1px;
    background-color: #cccccc;
}
.tpfaqma .malinks li:last-child::before{
    display: none;
}
.tpfaqma .malinks li a{
    font-size: 16px;
    line-height: 24px;
    font-weight: bold;
    padding-bottom: 8px;
    position: relative;
    display: inline-block;
}
.tpfaqma .malinks li a::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    background-color: #d42127;
    width: 0;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
.tpfaqma .malinks li.active a{
    color: #d42127;
}
.tpfaqma .malinks li.active a::before, .tpfaqma .malinks li:hover a::before{
    width: 100%;
}
/* <===== tpfaqma =====> */

/* <===== tpfaqmb =====> */
.tpfaqmb .mblist{
    margin-bottom: 30px;
}
.itquestion{
    background-color: #f5f5f5;
    margin-bottom: 10px;
}
.itquestion .qstitle{
    padding: 15px 70px 15px 25px;
    position: relative;
    font-size: 18px;
    line-height: 27px;
    font-weight: bold;
    cursor: pointer;
}
.itquestion .qstitle::before{
    content: '\f055';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    color: #d42127;
}
.itquestion.active .qstitle::before{
    content: '\f056';
}
.itquestion .qsconts{
    padding: 20px 45px 20px 30px;
    font-size: 15px;
    line-height: 23px;
    border-top: 1px solid #ffffff;
    display: none;
}
/* <===== tpfaqmb =====> */

/* <=== vhpopquest ===> */
.vhpopquest{
    padding: 0;
    border-radius: 25px;
    overflow: unset;
    margin-top: 50px;
}
.vhpopquest .fancybox-close-small{
    top: -40px;
    right: 0;
    background-color: transparent;
    width: 100px;
    height: 30px;
    color: #fff;
    display: flex;
    align-items: center;
    align-content: center;
    opacity: 1;
}
.vhpopquest .fancybox-close-small svg{
    display: none;
}
.vhpopquest .fancybox-close-small::before{
    content: '\f057';
    position: absolute;
    right: 45px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 18px;
    line-height: 27px;
}
.vhpopquest .fancybox-close-small::after{
    content: 'Đóng';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.vhpopquest .qstitle{
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 10px;
    background-color: #f5f5f5;
    color: #4b9aa6;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    text-transform: uppercase;
}
.vhpopquest .qstitle, .vhpopquest .qstitle h2{
    font-size: 25px;
    line-height: 40px;
    font-weight: bold;
}
.vhpopquest .qstitle i{
    margin-right: 5px;
}
.vhpopquest .qsconts{
    padding: 10px 20px 25px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}
.vhpopquest .ctgroup{
    margin-bottom: 10px;
}
.vhpopquest .ctgroup label{
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
}
.vhpopquest .ctgroup .gicon {
    position: relative;
}
.vhpopquest .ctgroup .gicon::before{
    position: absolute;
    top: 9px;
    left: 15px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #9e9e9e;
    font-size: 15px;
}
.vhpopquest .ctgroup .fa-user::before, .vhpopquest .ctgroup .fa-envelope::before{
    font-weight: 400;
}
.vhpopquest .ctgroup input, .vhpopquest .ctgroup textarea{
    width: 100%;

    border: 1px solid #dddddd;
}
.vhpopquest .ctgroup input{
    height: 45px;
    padding: 0 20px 0 45px;
}
.vhpopquest .ctgroup textarea{
    height: 90px;
    padding: 7px 20px 10px 45px;
    resize: none;
}
.vhpopquest .vmargin{
    margin: 20px 0;
}
.vhpopquest .vnomargin{
    margin-bottom: 0;
}
.vhpopquest .grecap{
    text-align: center;
}
/* <=== vhpopquest ===> */


/* <===== viewall =====> */
.viewall.vcenter{
    text-align: center;
}
.viewall a, .viewall button{
    display: inline-block;
    font-size: 14px;
    line-height: 23px;
    padding: 15px 39px;
    background-color: #fff;
    border: 1px solid #fff;
    color: #dd1d42;
    border-radius: 45px;
    font-weight: 500;
}
.viewall.vres a, .viewall.vres button{
    background-color: #dd1d42;
    border-color: #dd1d42;
    color: #fff;
}
.viewall.vpadd a, .viewall.vpadd button{
    font-size: 14px;
    line-height: 23px;
    font-weight: bold;
    padding: 10px 50px;
}
.viewall a:hover, .viewall button:hover{
    background-color: #dd1d42;
    border-color: #dd1d42;
    color: #fff;
}
.viewall.vres a:hover, .viewall.vres button:hover{
    background-color: #fff;
    color: #dd1d42;
}
.viewall.vpadd a:hover, .viewall.vpadd button:hover{
    background-color: #4b9aa6;
    border-color: #4b9aa6;
    color: #fff;
}
.viewall a span, .viewall button span{
    display: inline-block;
    position: relative;
    padding-right: 18px;
}
.viewall a span::before, .viewall button span::before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}
/* <===== viewall =====> */


@media all and (min-width: 992px){
    .tpfaqma .malinks .lkconts{
        display: block!important;
        height: auto!important;
    }
}
@media all and (max-width: 1200px){

}
@media all and (max-width: 991px){
    /* <===== tpfaqma =====> */
    .tpfaqma .magrip > div{
        width: 100%;
        margin-bottom: 10px;
    }
    .tpfaqma .magrip .lcol, .tpfaqma .magrip .rcol{
        width: 100%;
    }
    .tpfaqma .malinks .lktitle{
        display: block;
        background-color: #f3f3f3;
        position: relative;
        font-size: 15px;
        line-height: 25px;
        font-weight: bold;
        color: #de050c;
        text-transform: uppercase;
        padding: 10px 40px 10px 15px;
    }
    .tpfaqma .malinks .lktitle::before{
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        display: block;
        opacity: 1;
        color: #666666;
    }
    .tpfaqma .malinks.active .lktitle::before{
        content: '\f106';
    }
    .tpfaqma .malinks li{
        width: 100%;
        margin-right: 0;
        margin-bottom: 5px;
    }
    .tpfaqma .malinks li:last-child{
        margin-bottom: 0;
    }
    .tpfaqma .malinks li a{
        display: block;
        padding: 10px 0;
    }
    .tpfaqma .malinks .lkconts{
        display: none;
    }
    .tpfaqma .maquests a{
        justify-content: center;
    }
    /* <===== tpfaqma =====> */

    /* <===== tpfaqmb =====> */
    .itquestion .qstitle{
        font-size: 15px;
        line-height: 23px;
        padding: 10px 40px 10px 15px;
    }
    .itquestion .qsconts{
        font-size: 14px;
        line-height: 22px;
        padding: 10px 15px;
        text-align: justify;
    }
    /* <===== tpfaqmb =====> */
}
@media all and (max-width: 767px){
    /* <=== vhpopquest ===> */
    .vhpopquest{
        border-radius: 20px;
    }
    .vhpopquest .qstitle{
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }
    .vhpopquest .qsconts{
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }
    /* <=== vhpopquest ===> */
}