
#main{
    overflow-x: hidden;
    height: 100vh;
    
}
body {scroll-behavior: smooth;}
.header{
    height: var(--header-height);
    /* background-image: linear-gradient(0,#f7442e,#fe6333); */
    
    background-image: linear-gradient(0,#fA5231,#fA5231);
}

.navbar{
    display: flex;
    justify-content: space-between;
}
.navbar__list
{
    list-style: none;
    padding-left: 0px;
    margin: 8px 0px;
    display: flex;
}
.navbar__list .navbar__item,
.navbar__list .navbar__link{
    display: inline-block;
    font-size: 1.4rem;
    color: var(--white-color);
    text-decoration: none;
}

.navbar__list .navbar__item{
    display: inline-flex;
    align-items: center;
}
.navbar__list .navbar__item:hover > a
/* .navbar__list .navbar__link:hover{ */
{    color: rgba(255,255,255, 0.7);
    cursor: pointer;
}
.navbar__list .navbar__item:hover .navbar__item-menu-customer{
    display: block;
}
.navbar__list .navbar__item{
    margin: 0px 8px;
    position: relative;
}
.navbar__list .navbar__item-separate::after{
    content: "";
    position: relative;
    width: 1px;
    height: 12px;
    border-left: 2px solid #fa8f82;
    top: 0%;
    left: 9px;
}
.navbar__list .navbar__link--strong{
    font-weight: 600;
    font-size: 1.6rem;
}
.navbar__list .navbar__link--icon{
    font-size: 1.6rem;
    margin: 0px 4px;
}
.navbar__item .navbar__link--face,
.navbar__item .navbar__link--int{
    color: var(--white-color);
    font-size: 1.6rem;
    margin: 0px 4px;
}
.navbar__list .navbar__item--no{
   cursor: text;
   color: var(--white-color);
   padding-right: 4px;
}
/* .navbar__Qr */
.navbar__item .navbar__item-menu-customer{
    position: absolute;
    top: 120%;
    background: var(--white-color);
    width: 166px;
    border-radius: 3px;
    padding: 0px;
    display: none;
    z-index: 3;
    box-shadow: 0 1px 3px rgb(0, 0, 0, 0.2);
    list-style: none;
}
.navbar__item-menu-customer::before{
    content: "";
    position: absolute;
    top: -10%;
    left: 0px;
    width: 100%;
    height: 12px;
    display: block;
}
/* .navbar__item .navbar__apps{
    display: flex;
    justify-content: space-between;  
}
.navbar__item .navbar__apps--link:nth-child(1){
    margin-left: 11px;
}
.navbar__item .navbar__apps--link:nth-child(2){
    margin-right: 11px;
}
.navbar__item .navbar__apps--img{
    height: 16px;
} */
/* Navbar notify */
.navbar__item .navbar__notify{
    --growth-from: 0;
    --growth-to: 1;
    position: absolute;
    top:140%;
    right: 0;
    width: 400px;
    background-color: var(--white-color);
    border: 1px solid rgba(0,0,0,.09);
    transform-origin: calc(100% - 32px) top;
    animation: Growth ease 0.3s;
    display:none;
    /* will-change: opacity, transform; */
    border-radius: 2px;
    z-index: 3;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.navbar__item .navbar__notify::before{
    content: "";
    position: absolute;
    top: -31px;
    right: 6px;
    border-style: solid;
    border-width: 20px 26px;
    border-color: transparent transparent var(--white-color) transparent;
}
.navbar__item .navbar__notify::after{
    content: "";
    position: absolute;
    top: -14px;
    right: 0px;
    width: 90px;
    height: 20px;
}
.navbar__list .navbar__item:hover .navbar__notify{
    display: block;
}
.navbar__item .navbar__notify--header{
    height: 40px;
    cursor: default;
}
.navbar__item .navbar__notify--header h3{
    margin: 0 0 0 12px;
    color: rgba(87, 62, 62, 0.5);
    text-transform: capitalize;
    font-size: 1.4rem;
    line-height: 40px;
}
.navbar__item .navbar__notify--list{
    padding-left: 0px;
}
.navbar__item .navbar__notify--link:hover{
    background-color: #f7f7f7;
}
.navbar__item .navbar__notify--viewed{
    background-color: rgba(255, 83, 0, 0.03);
}
.navbar__item .navbar__notify--link{
    display: flex;
    padding: 12px;
    text-decoration: none;
    width: 100%;
}
.navbar__item .navbar__notify--img{
    width: 48px;
    object-fit: contain;
}
.navbar__item .navbar__notify--info{
    margin-left: 12px;
    display: flex;
    flex-direction: column;
}
.navbar__item .navbar__notify--name{
    font-size: 1.4rem;
    color: var(--text-color);
    font-weight: 400;
    margin-bottom: 4px;
    line-height: 1.8rem;
}
.navbar__item .navbar__notify--dis{
    font-size: 1.2rem;
    color: rgba(0,0,0,.54);
}
.navbar__item .navbar__notify--footer{
    text-align: center;
}
.navbar__item .navbar__notify--link-btn{
    text-decoration: none;
    color: var(--text-color);
    display: block;
    padding: 10px 10px;
}
.navbar__item-user{
    display: flex;
    justify-items: center;
    position: relative;
}
.navbar__item-user-img{
    width: 22px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0, 0.1);
}
.navbar__item-user-name{
    margin-left: 8px;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--white-color);
}
.navbar__item-user-menu{
    position: absolute;
    top: 170%;
    right: 0;
    list-style: none;
    background-color: var(--white-color);
    width: 150px;
    padding-left: 0px;
    border-radius: 2px;
    z-index: 3;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    display: none;
}
.navbar__item-user-menu::before{
    cursor: pointer;
    content: "";
    position: absolute;
    top: -30px;
    right: 20px;
    border-width: 15px 15px;
    border-style: solid;
    border-color: transparent transparent var(--white-color) transparent;
}
.navbar__item-user-menu::after{
    content: "";
    position: absolute;
    top: -20px;
    right: 40px;
    width: 60px;
    height: 20px;
}
.navbar__item-user:hover .navbar__item-user-menu{
    display: block;
}
.navbar__item-user-item:nth-child(1){
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}
.navbar__item-user-item:nth-child(3){
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}
.navbar__item-user-item:hover{
    background-color: #f8f8f8;
}
.navbar__item-user-item:hover a{
    color: rgb(230, 112, 17);
}
.navbar__item-user-item a{
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.4rem;
    padding: 10px 8px;
    display: block;
}
.navbar__item-user-item-seperate{
    border-top: 1px solid rgba(0,0,0, 0.05);
}
/* Caterory-mobile */
.mobile__category{
    display: block;
    padding: 4px;
    background-color: rgba(0,0,0, 0.04);
}
.mobile__category-list{
    list-style: none;
    padding-left: 0px;   
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    margin: 0px;
}
.mobile__category-list::-webkit-scrollbar{
    display: none;
}
.mobile__category-item{
    flex-shrink: 0;
    margin-right: 10px;
}
.mobile__category-item:nth-of-type(3n + 1) .mobile__categrory-link {
    background-color: #87afd8;
}
.mobile__category-item:nth-of-type(3n + 2) .mobile__categrory-link{
    background-color: #76c9bd;
}
.mobile__category-item:nth-of-type(3n + 3) .mobile__categrory-link{
    background-color: #88c781;
}
.mobile__categrory-link{
    --line-height: 2rem;
    text-decoration: none;
    color: var(--white-color);
    font-size: 1.4rem;
    line-height: var(--line-height);
    height: calc(var(--line-height) * 2);
    text-align: center;
    width: 110px;
    border-radius: 4px;
    font-weight: 300;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    user-select: none;
    -webkit-user-select: none;
    padding: 0px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#ngayPhatvay{
    height: 42px;
    border-radius: 4px;
    margin-top: 0px;
}
.mobile__categrory-link:hover{
    opacity: 0.7;
}
.mobile__category-item .mobile__categrory-link.active{
    background-color: var(--primary-color);
}

/* Header-search */
.header__search{
    height: var(--header_search-height);
    display: flex;
    align-items: center;
    z-index: 5;
}
.header__mobile_navbar,
.header__mobile_search{
    padding: 0px 12px;
    display: none;
}
.header__mobile_search-icon{
    font-size: 2.4rem;
    color: var(--white-color);
}
.header__logo{
    width: 200px;
}
.header__logo-link{
    text-decoration: none;
    color: transparent;
    display: block;
}
.header__logo-link img{
    width: 164px;
}
.header__logo--img{
    width: 162px;
    fill: #fff;
}
.header__search--center{
    height: 45px;
    background-color: var(--white-color);
    flex: 1;
    border-radius: 2px;
    display: flex;
    align-items: center;
}
.header__cart{
    width: 150px;
    text-align: center;
    margin-top: 13px;

}
.header__cart-wrap{
    position: relative;
    display: inline-block;
    /* -webkit-tap-highlight-color: transparent; */
}
.header__cart-wrap:hover{
    cursor: pointer;
}
.header__cart--icon{
    font-size: 2.4rem;
    color: var(--white-color);
}
.header__cart--quantities{
    position: absolute;
    top: -13px;
    right: -14px;
    color: var(--primary-color);
    padding: 1px 7px;
    background-color: var(--white-color);
    line-height: 1.4rem;
    border-radius: 50%;
    border: 2px solid #ee4d2d;
}
.header__cart--list{
    --growth-from: 0;
    --growth-to: 1;
    position: absolute;
    top: 117%;
    right: -10px;
    background-color: var(--white-color);
    width: 400px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transform-origin: calc(100% - 20px) top;
    animation: Growth ease 0.3s;
    display: none;
    cursor: default;
    z-index: 10;
}
.header__cart--list::after{
    cursor: pointer;
    content: "";
    position: absolute;
    top: -18px;
    right: 7px;
    border-width: 10px 15px;
    border-style: solid;
    border-color: transparent transparent var( --white-color) transparent;
}
.header__cart--list-no{
    padding: 24px 0px 30px 0px;
    text-align: center;
}
.header__cart--img-no{
    width: 45%;
    display: none;
}
.header__cart--list-no-msg{
    display: none; 
    margin-top: 12px;
    margin-bottom: 12px;
    font-size: 1.3rem;
}
.header__cart--img-no.header__cart--list-no,
.header__cart--list-no-msg.header__cart--list-no {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.header__cart-wrap:hover .header__cart--list{
    display: block;
}
/*nav_bar*/
.nav_bar-overlay{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0, 0.2);
    display: none;
    animation: showOverlay linear 0.5s;
}
.mobile_navbar_icon{
    position: absolute;
    left: 263px;
    top:  8px;
}
.mobile_navbar{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 100%;
    background-image: linear-gradient(0,#0e7981,#0F535C);
    z-index: 10;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform linear 0.3s, opacity linear 0.3s;
}
.mobile_navbar_input_checked:checked ~ .nav_bar-overlay{
    display: block;
}
.mobile_navbar_input_checked:checked ~ .mobile_navbar{
    transform: translateX(0px);
    opacity: 1;
}
.mobile_navbar-heading{
    height: var(--header-height);
    background-color: #0e7a82;
}
.mobile_navbar-title{
    margin: 0 auto;
    height: 100%;
    color: var(--white-color);
    font-size: 1.8rem;
    text-align: center;
    padding-top: 20px;
}
.mobile_navbar-list,
.mobile_navbar-sub{
    list-style: none;
    padding-left: 0px;
    margin: 0px;
}
.mobile_navbar-sub{
    position: absolute;
    display: none;
    opacity: 1;
    animation: showSubmenu linear 0.3s;
    width: 100%;
}
.mobile_navbar-sub .mobile_navbar-item a{
    padding-left: 30px;
}
.mobile_navbar-item{
    border-top: 1px solid rgba(230,241,244, 0.2);
}
.mobile_navbar-item a i{
    margin-top: 5px;
}
.mobile_navbar-link{
    text-decoration: none;
    display: block;
    font-size: 1.4rem;
    padding: 15px 20px;
    color: var(--white-color);
    display: flex;
    justify-content: space-between;
}
.mobile_navbar-link:hover{
    background-color: #3389B6;
}
.mobile_navbar-item:hover .mobile_navbar-sub{
    display: block;
    position: static;
}
@keyframes showOverlay{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
@keyframes showSubmenu{
    from{
       /* height: 0px;*/
        opacity: 0 ;
    }
    to{
        /*height: auto;*/
        opacity: 1;
    }
}
/* hop dong  */
/* Bang ke phat vay */
input[type="date"]{
    border: auto;
}
input[type="date"]::-webkit-calendar-picker-indicator {
        display: inline-block;
        -webkit-appearance: auto;
}
.create_form{
    background-color: var(--white-color);
    margin: 10px 0px;
    padding: 10px;
}
.create_form h2{
    margin-bottom: 0px;
}
.use_form{
    margin-bottom: 30px;
}
.general-table p,
.general-table h4,
.general-table h3,
.general-table h5{
    margin-top: 0px;
    margin-bottom: 8px;
}
.general-table h4,
.general-table h3,
.general-table h5,
.general-table .text-center{
    text-align: center;
}
.create_form p{
    margin-bottom: 5px;
    margin-top: 0px;
    line-height: 1.6rem;
}
.create_form h5{
        margin-top: 5px;
        margin-bottom: 0px;
    }
.contact_text-center{
    text-align: center;
}
.contact_left-italic{
    font-style: italic;
}
.contact_margin-60{
    margin-bottom: 60px !important;
}
.contact_margin-50{
    margin-bottom: 50px !important;
}
.contact_margin-80{
    margin-top: 80px !important;
}
.contact_margin-120{
    margin-bottom: 120px !important;
}
.contact_margin-plus-30{
    margin-left: -30px !important;
}
.contact_padding-top-17{
    padding-top: 17px !important;
}
.text-size-10{
    font-size: 0.8rem;
}
.loan_stament-headding-title{
    font-size: 1.4rem;
    color: var(--text-color);
    font-weight: 700;
    text-align: center;
    margin: 0px;
}
.loan_stament-headding-user{
    text-align: center;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.4rem;
}
.row.no-wrap{
    flex-wrap: nowrap;
    overflow-x: auto;
}
.user_item-logo_img{
    /*padding-top: 20px;*/
    width: 180px;
    /*background-image: url("../img/logo_hopdong.png");*/
    /*background-image: url("../img/logo_new.png");*/
    /*padding-top: 50%;*/
    /*background-repeat: no-repeat;*/
    /*background-size: 100%;*/
    /* height: 50px; */
}
.loan_statement-list{
    /* position: relative; */
}
.loan_statement-file{
    width: 100%;
	/* margin-left: 260px; */
	/* overflow-x: auto; */
}
.loan_stament-table{
    border-collapse: collapse;
    width: 100%;
}

.loan_stament-table th,
.loan_stament-table td{
    border: 1px solid rgba(0,0,0, 0.5);
    /* white-space: nowrap; */
    font-size: 1rem;
    color: var(--text-color);
    text-align: center;
}

.loan_stament-table td a{
    text-decoration: none;
    color: var(--primary-color);
    padding: 10px 2px;
    display: block;
}
.loan_stament-table td:hover a{
   opacity: 0.7;
   cursor: pointer;
}
.loan_stament-table .col1{
    /* position: absolute;
    top: auto;
    left: 0px; */
    width: 40px;
    margin-top: -0.5px;
    border-bottom: none;
    border-right: none;
}
.loan_stament-table .col2{
    /* position: absolute;
    top: auto;
    left: 40px; */
    width: 60px;
    margin-top: -0.5px;
    border-bottom: none;
    border-right: none;
}
.loan_stament-table .col3{
    /* position: absolute;
    top: auto;
    left: 90px; */
    width: 220px;
    margin-top: -0.5px;
    border-bottom: none;
}
.loan_stament-table .abc{
    display: none;
}
.loan_stament-table .last{
    height: 28px;
    border-bottom: 1px solid rgb(0, 0, 0, 0.5) ;
}
.loan_stament-footer{
    text-align: center;
}
.loan_stament-footer-right-name{
    margin-top: 70px;
    font-weight: 700;
}
/* general-table */
.general-table{
    border: 1px solid rgb(0, 0, 0, 0.2);
    box-shadow: 0 1px 3px rgb(0, 0, 0, 0.2);
    margin: 5px 0px;
    padding: 10px;
}
/* DNVV */
.text-right{
    text-align: right;
}
.text-center{
    text-align: center;
}
.text-justify{
    text-align: justify;
}
.loan_stament-kind-heading
{
    width: 100%;
    text-align: center;
}
.loan_user p{
    margin-top: 0px;
}
.general-table .loan_table{
    border-collapse: collapse;
    width: 98%;
    margin: 0px auto 5px auto;
}
.loan_table thead tr{
    height: 25px;
}
.loan_table tbody tr{
    height: 32px;
}
.loan_table th,
.loan_table td{
    text-align: center;
    border: 1px solid rgba(0,0,0, 0.3) ;
}
.loan_stament-address.text-center{
    text-align: center;
}
.general-table .loan_footer-left,
.general-table .loan_footer-right{
    margin-bottom: 0px;
    font-weight: 700;
}
/* HDTD */
.contract_left-headding{
    text-align: center;
}
.contract_left-bold{
    font-weight: 700;
}
.contract_left-report{
    text-align: center;
    font-size: 1.3rem;
}
/* Phieu chi */
.payment{
    border: 1px solid rgb(0, 0, 0, 0.4); 
}
.payment_title{
    font-size: 20px;
    padding-top: 5px;
}
.payment_content{
    padding: 10px;
}
.payment_content-left-detail{
    padding: 5px 0px 5px 5px;
    line-height: 15px;
}
.payment_content-right{
    border: 1px solid rgba(0,0,0, 0.2);
    margin-top: 13px;
}
.payment_content-right-detail{
    height: 30px;
    line-height: 15px;
}
.payment_content-right-detail-first{
    border-bottom: 1px solid rgba(0,0,0, 0.2) ;
    padding-top: 5px;
}
.payment_content-right-detail-second{
    padding: 10px 0px 5px 0px;
}
.payment_content-left-item{
    border-bottom: 1px dotted rgba(0,0,0, 0.2);
    padding-bottom: 2px;
    padding-left: 2px;
}
.contract_stament-left-first{
    border-bottom: 1px solid rgba(0,0,0, 0.2);
    margin-left: -5px;
    margin-right: -5px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.phieuchi_top{
    display: flex;
}
.angle{
   background-image: url("../img/the-ghi-no-kienlongbank-jcb-825x487px.png");
   width: 21px;
   height: 10px;
}

.topline{
    background-image: url("../img/Pc.png");
    width: calc(100% - 21px);
    height: 2px;
}
.bottomline{
    background-image: url("../img/lienhe.png");
    width: 100%;
    height: 10px;
}
/* printer navbar */
.printer_navbar-label{
    font-size:  2.4rem;
    position: fixed;
    top: 10px;
    right: 270px;
    color: var(--primary-color);
    cursor: pointer;
}
.printer_navbar_input_checked{
    position: fixed;
    top: 10px;
    right: 250px;
}
.printer_navbar{
    position: fixed;
    top: 5px;
    right: 0px;
    bottom: 0;
    width: 300px;
    max-width: 100%;
    background-image: linear-gradient(0,#0e7981,#0F535C);
    z-index: 10;
    /* transform: translateX(-100%); */
    transform: translateX(100%);
    opacity: 0;
    transition: transform linear 0.3s, opacity linear 0.3s;
}
.printer_navbar-heading{
    background-color: #0e7a82;
}
.printer_navbar-title{
    height: 44px;
    text-align: center;
    margin: 0;
    line-height: 44px;
    color: var(--white-color);
}
.printer_navbar_input_checked:checked  ~ .printer_navbar{
    transform: translateX(0px);
    opacity: 1;
}
.back_to_top{
    position: fixed;
    bottom: 20px;
    right: 250px;
    padding: 10px;
    background-color: var(--primary-color);
    z-index: 12;
    border-radius: 5px;
    display: none;
}
.back_to_top i{
    color: var(--white-color);
    font-size: 20px;
}
/* ket thuc hop dong */
/* cart */
.heaer__cart--heading{
    text-align: left;
    margin: 12px 0px 16px 12px;
    font-size: 1.4rem;
}
.header__cart-list-item{
    max-height: 56vh;
    padding-left: 0;
    list-style: none;
    overflow-y: auto;
    margin-bottom: 20px;
    margin-top: 0px;
}
.header__cart-item{
    display: flex;
    min-height: 40px;
    margin-top: 5px;
}
.header__cart-item:hover{
    background-color: #f8f8f8;
    visibility: visible;
}
.header_cart-pic{
    padding: 0px 12px;
}
.header_cart-item-img{
    width: 40px;
    border: 1px solid var(--bodr);
    padding: 1px;
}
.header_cart-item-info{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}
.header__cart-item-head{
    display: flex;
    justify-content: space-between;
    margin: 0px 12px;
}
.header__cart-item-name{
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 0px;
    font-weight: 600;
    line-height: 1.6rem;
    max-height: 3.2rem;
    overflow: hidden;
    text-align: left;
    padding-right: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.header__cart-item-price{
    font-size: 1.2rem;
    color: var(--primary-color);
}
.header__cart-item-multibly{
    color: var(--text-color);
    margin: 0px 4px;
}
.header__cart-item-qty{
    color: var(--text-color);
}
.header__cart-item-body{
    display: flex;
    justify-content: space-between;
    margin-right: 12px;
    margin-left: 12px;
    margin-top: 2px;
    padding: 10px 0px;
}
.header__cart-item-type{
    color: var(--text-color);
}
.header__cart-item-remove{
    color: var(--black-color);
    font-size: 1.4rem;
    padding: 15px 12px;
    display: block;
    margin-top: -16px;
}
.header__cart-item-remove:hover{
    color: var(--primary-color);
    cursor: pointer;
}
/* end cart */
.header__search--input-wrap{
    flex: 1;
    position: relative;
}
.header__search--input{
    width: 100%;
    height: 100%;
    outline: none;
    border: none;
    font-size: 1.6rem;
    padding: 0px 16px;
    color: var(--text-color);
    border-radius: 2px;
}
.header__search--history{
    position: absolute;
    top: 177%;
    left: 0;
    width: calc(100% - 16px);
    background-color: var(--white-color);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgb(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
    z-index: 10;
}
.header__search--history-heading{
    margin: 10px 0 14px 18px;
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 400;
}
.history__list{
    padding-left: 0px;
    list-style: none;
    margin-bottom: 0px;
}
.history__item{
    height: 38px;
    padding: 0 18px;
}
.history__item:hover{
    background-color: #fafafa;
}
.history__item a{
    text-decoration: none;
    font-size: 1.4rem;
    color: var(--text-color);
    line-height: 38px;
    display: block;
    cursor: pointer;
}
.header__search--selection{
    border-left: 1px solid rgb(165, 163, 163);
    padding-left: 16px;
    position: relative;
}
.header__search--selection::after{
    content: "";
    height: 300%;
    width: 100%;
    position: absolute;
    top: -85%;
    left: 0;
}
.header__search--selection:hover .header__search--option{
    display: block;
}
.header__search--label{
    font-size: 1.4rem;
    color: var(--text-color);
}
.header__search--icon{
    font-size: 1.4rem;
    color: #4a4a4a;
    margin: 0px 16px 0px 8px;
    position: relative;
    top: 1px;
}
.header__search--btn{
    background-color: var(--primary-color);
    border: none;
    height: 90%;
    margin-right: 2px;
    padding-left: 24px;
    padding-right: 24px;
}
.header__search--btn:hover{
    background-color: #f56346;
    cursor: pointer;
}
.header__search--btn-icon{
    font-size: 1.6rem;
    color: var(--white-color);
}
.header__search--option{
    position: absolute;
    list-style: none;
    padding-left: 0px;
    right: 0;
    top: 130%;
    width: 134px;
    box-shadow: 0 1px 2px rgb(223, 221, 221);
    overflow: hidden;
    display: none;
    z-index: 4;
}
.header__search--item{
    background-color: var(--white-color);
    padding: 8px 8px;
    border-radius: 3px;
}
.header__search--item:hover{
    background-color: #f7f3f3;
    cursor: pointer;
}
.header__search--item span{
    font-size: 1.4rem;
    color: var(--text-color);
    margin-left: 8px;
}
.header__search--item i{
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-left: 12px;
    display: none;
}
.header__search--item-active i{
    display: inline-block;
}
.header__cart-view{
    float: right;
    margin: 0px 12px 12px 0px;
}
.header__cart-view:hover{
    background-color: rgb(241, 66, 35);
}
/* header__search-bar */
.header__sort-bar{
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: var(--header__sort-bar-height);
    display: none;
    list-style: none;
    z-index: 3;
    background-color: var(--white-color);
    margin: 0px;
    padding-left: 0px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}
.header__sort-item{
    flex: 1;
}
.header__sort-link{
    position: relative;
    text-decoration: none;
    font-size: 1.4rem;
    color: var(--text-color);
    display: block;
    text-align: center;
    line-height: var(--header__sort-bar-height); 
}
.header__sort-link::before{
    content: "";
    position: absolute;
    height: 60%;
    border-left: 1px solid var(--border-color);
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
}
.header__sort-item-active .header__sort-link{
    color: var(--primary-color);
}
.header__sort-item:first-child .header__sort-link::before{
    display: none;
}
/* App_container */
.App__container{
    background-color: #f5f5f5;
    margin-bottom: 40px;
}
.customer_detail{
    margin-bottom: 40px;
}
.app--content{
    padding-top: 5px;
}
.caterory{
    background-color: var(--white-color);
    border-radius: 2px;
}
.caterory__heading{
    font-size: 1.4rem;
    color: var(--text-color);
    padding: 12px 0px 12px 16px ;
    /* border-bottom: 1px solid rgba(0,0,0, 0.05); */
    margin: 0px;
}
.caterory__list{
    padding-left: 0px;
    list-style: none;
    margin: 0px;
}
.caterory__item{
    position: relative;
}
.caterory__item:first-child::before{
    display: none;
}
.caterory__item::before{
    content: "";
    position: absolute;
    top: 0px;
    left: 14px;
    right: 14px;
    border-top: 1px solid rgba(255,83,0, 0.95);
}
/* .caterory__item--active::before{
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% - 1px));
    border-width: 4px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-color);
} */
.caterory__item--active .caterory__item-link{
    color: var(--primary-color);
}
.caterory__item-link{
    position: relative;
    text-decoration: none;
    color: var(--text-color);
    display: block;
    padding: 12px 0px 12px 14px;
    font-size: 1.4rem;
    /* transition: right linear 0.1s;
    right: 0px; */
}
.caterory__item:hover{
    background-color: #f7f7f7;
}
.caterory__item:hover .caterory__item-link{
    /* right: -4px; */
    color: var(--primary-color);
}
/* home-filter */
.home-filter{
    display: flex;
    align-items: center;
    background-color: rgba(0,0,0, 0.04);
    padding: 8px 10px;
    border-radius: 2px;
    margin-bottom: 5px;
}
.home-filter__label{
    font-size: 1.4rem;
    color: #555;
    margin-right: 10px;
}
.home-filter_btn{
    margin-right: 12px;
    min-width: 90px;
}
.home-filter__page{
    display: flex;
    align-items: center;
}
.select-input-label{
    font-size: 1.4rem;
    color: var(--text-color);
}
.select-input-icon{
    font-size: 1.4rem;
    color: var(--text-color);
    position: relative;
    top: 1px
}
.home-filter__page{
    margin-left: auto;
}
.home-filter__page-current{
    font-size: 1.5rem;
    color: var(--primary-color);
}
.home-filter__page-total{
    font-size: 1.5rem;
    color: var(--text-color);
    margin-right: 10px;
}
.home-filter__page-control{
   border-radius: 2px;
   overflow: hidden;
}
.home-filter__page-btn{
    background-color: var(--white-color);
    width: 34px;
    height: 34px;
    display: inline-flex;
    text-decoration: none;
}
.home-filter__page-icon{
    margin: auto;
    font-size: 1.4rem;
    color: #555;
}
.home-filter__page-btn-dissable{
    background-color: #f9f9f9;
    cursor: default;
    pointer-events: none;
}
.home-filter__page-btn-dissable
.home-filter__page-icon{
    color: #ccc;
}
/* product*/
.list_heading{
    color: var(--text-color);
    font-size: 1.6rem;
}
.home-product{
    margin-bottom: 10px;
    min-height: 45vh;
}
.home-product nav{
    position: relative;
    margin-bottom: 10px;
}
.home-product label{
    display: block;
    height: 100%;
    width: 100%;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    font-size: 1.4rem;
    color: #0F535C;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    padding: 5px 0px;
}
.home-product input[type="radio"]{
    display: none;
}
.home-product .slider,
.home-product .slider_one{
    position: absolute;
    height: 100%;
    width: 40%;
    background-color: #0F535C;
    border-radius: 5px;
    z-index: 0;
    margin: 0 5%;
    left: 0;
    bottom: 0;
    transition: all 0.3s ease;
    display: none;
}
.user-item-information{
    display: block;
    position: relative;
    text-decoration: none;
    background-color: #044b4a;
    border-radius: 5px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0, 0.1);
    transition: transform linear 0.1s;
    will-change: transform;
    padding: 15px 10px 0px;
    color: var(--white-color);
    margin-bottom: 10px;
}
.user-item-information.inherit{
    background-color: #188072;
}
.user-item-information:hover{
    box-shadow: 0 1px 10px 0 rgba(0,0,0, 0.5);
    transform: translateY(-1px) ;
}
.user-item-information-detail{
    background-color: #044b4a;
    max-height: 230px;
    /*overflow-x: hidden;*/
    height: 220px;
   
}
.home-product-item-img{
    padding-top: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-size: contain;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}
.home-product-item-name{
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-color);
    padding: 0px 10px;
    margin: 10px 0px;
    line-height: 1.8rem;
    height: 3.6rem;
    overflow: hidden;
    display: block;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
}
.user-item-id{
    font-weight: 300;
    font-style: italic;
}
.user_item-name{
    font-size: 1.4rem;
    color: var(--white-color);
    margin: 5px 0px 8px 0px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 2.8rem;
}
.user-item-id,
.user-item-phone,
.user-item-bank,
.user-item-bank-brand,
.user-item-address{
    font-size: 1.3rem;
    color: var(--white-color);
    margin: 5px 0px;
}
.user-item-phone{
    display: flex;
}
.user-item-phone .somay{
    font-size: 1.1rem;
    line-height: 1.1rem;
    overflow: hidden;
     line-height: 1.6rem;
    /*max-height: 3.2rem;*/
    overflow: hidden;
    text-align: left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
     -webkit-line-clamp: 1;
    
}
.user-item-icon{
    width: 20px;
    height: 20px;
    margin-right: 10px;
    line-height: 1;
}
.user_item-body-tel{
    color: var(--white-color);
}
.user-item-address{
    display: flex;
}
.user-item-address-des{
    line-height: 1.8rem;
    max-height: 3.2rem;
    overflow: hidden;
    text-align: left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    
} 
.home-product-item-action-like{
    font-size: 1.2rem;
}
i.home-product-item-action-liked-fill{
    display: none;
}
.home-product-item-action-liked
.home-product-item-action-liked-fill{
    display: inline-block;
    color: #f53d2f;
    font-size: 1.2rem;
}
.home-product-item-action-liked
.home-product-item-action-liked-empty{
    display: none;
}
.home-product-item-rating{
    font-size: 0.8rem;
    margin-left: auto;
    /* transform: scale(0.7); */
    /* transform-origin: right; */
}
.home-product-item-star-gold{
    color: var(--star-gold);
}
.home-product-item-sold{
    font-size: 1.2rem;
    color: var(--text-color);
    margin-left: 6px;
}
.user_item-footer{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 300;
    position: relative;
    margin: 0px -10px;
    border-top: 1px solid rgba(0,0,0, 0.2);
}
.contract-item-information .user_item-footer{
    border-top: none;
}
.user_item-footer-link{
    text-decoration: none;
    text-align: center;
    padding: 5px 5px;
    color: var(--white-color);
    font-weight: 600;
    min-width: 50px;
    display: block;
    min-height: 66px;
    min-height: 35px;
    line-height: 1.7rem;
    cursor: pointer;
}
.contract-item-information .user_item-footer-link{
    padding: 0px 5px;
}
.user_item-footer-link p{
    margin: 0px;
}
.user_item-footer-link span{
    padding: 5px 0px 5px 5px;
    display: inline-block;
}
.user_item-footer-link:hover{
    color: var(--primary-color);
    background-color: rgba(0,0,0, 0.04);
}
.user_item-footer-des{
   font-size: 1.2rem;
}
/*custormer-detail*/
.user_item-body-detail{
    display: flex;
}
/* .user_item-footer-detail:hover .user_item-footer-des{
    display: block;
    z-index: 3;
    left: 25px ;

} */
@keyframes showFooter {
    from{
        opacity: 0;
        left: -100px;
    }
    to{
        opacity: 1;
        left: 25px;
    }
}
.user_item-borrower{
    position: absolute;
    top: 5px;
    right: -4px;
    background-color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
    padding-right: 4px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    color: var(--primary-color);
    background-color: currentColor;
}
.user_item-borrower span{
    color: var(--white-color);
}
.user_item-borrower::after{
    content: "";
    position: absolute;
    right: 1px;
    bottom: -3px ;
    border-top: 3px solid currentColor;
    border-right: 3px solid transparent;
    filter: brightness(60%);
}
.user_item-borrower i{
    font-size: 0.9rem;
    margin: 0px 2px 0px 5px;
    color: var(--white-color);
}
.user_item-inherit{
    position: absolute;
    right: 0;
    top: 0;
    width: 60px;
    height: 36px;
    background-color: rgba(255,216,64, 0.95);
    text-align: center;
    border-top-right-radius: 2px;
}
.user_item-inherit:after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -14%;
    border-width: 0px 30px 5px;
    border-style: solid;
    border-color:transparent rgba(255,216,64, 0.95) transparent rgba(255,216,64, 0.95);
}
.user_item-inherit-title{
    color: #ee4d2d;
    font-weight: 600;
    font-size: 1.2rem; 
    line-height: 1.6rem;
    display: block;
}
.user_item-inherit-id{
    font-size: 1.3rem; 
    font-weight: 500;
    color: var(--white-color);
    text-transform: uppercase;
    display: block;
}
.home-product-pagination{
    margin: 25px 0px 50px 0px;
}
.footer{
    border-top: 4px solid var(--primary-color);
    height: 40px;
    margin-top: 3px;
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
}
.footer__heading{
    font-size: 1.4rem;
    text-transform: uppercase;
    color: var(--text-color)
}
.footer__list{
    list-style: none;
    padding-left: 0px;
}
.footer__item{
   display: flex;
   align-items: center;
   height: 35px;
}
.footer__item a{
    color: var(--text-color);
    display: block;
    text-decoration: none;
    padding: 12px 0px;
    font-size: 1.4rem;
}
.footer__item a:hover{
    color: var(--primary-color);
}
.footer__item a i{
    font-size: 1.6rem;
    margin-right: 5px;
}
.footer__apps{
    display: flex;
    margin-top: 26px;
}
.footer__apps-img{
    flex: 1;
}
.footer__apps-img-Qr{
    width: 80px;
    border: 1px solid var(--border-color);
}
.footer__apps_dowload{
    margin-left: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.footer__apps_dowload-link{
    text-decoration: none;

}
.footer__apps_dowload img{
    height: 20px;
}
.footer__bottom{
    background-color: #f5f5f5;
}
.footer_bottom-text{
    padding-top: 5px;
    margin: 0px;
    text-align: center;
    font-size: 1.4rem;
    color: var(--text-color);
    height: 40px;
}
/*----------- Login-page------------------ */
.header_login{
    height: var(--login-header-height);
    background-image: linear-gradient(0,#fA5231,#fA5231);
    display: flex;
    align-items: center;
}
.header__search_login{
    padding-left: 20px;
    margin: auto 0px;
}
.login--content{
    padding: 30px 0px;
}
.login{
    background-color: var(--white-color);
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0, 0.05);
    margin: auto;
    padding: 0px 10px;
}
.login__heading{
    color: var(--text-color);
    font-weight: 300;
    font-size: 2rem;
    margin: 0px;
    text-align: center;
}
.authen__form-title{
    margin-top: 10px;
    text-align: center;
    color: var(--primary-color);
}
.form_login{
    margin-top: 10px; 
}
.login_input,
.login_btn{
    width: 100%;
    padding: 12px 0px 12px 16px;
    font-size: 1.4rem;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    outline:none !important;
}
.login_input{
    margin-top: 20px;
}
.login_btn{
    margin-top: 30px;
}
.invalid-feedback{
    width: 100%;
    display: block;
    color: var(--primary-color);
    padding-top: 5px;
}
.alert-success{
    color: #0d737b;
}
.alert-danger{
    color: rgb(228, 39, 39);
}
.login_forget{
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; 
}
.login_link{
    display: block;
    padding: 10px 0px;
    color: #009bd6;
    font-size: 1.4rem;
    text-decoration: none;
}
.login_link:hover{
    color: var(--primary-color);
}
.logo_new_account{
    display: flex;
    align-items: center;
}
.logo_new_account span{
    font-size: 1.4rem;
    margin-right: 4px;
}
.login_second-heading{
    color: var(--text-color);
    font-size: 1.4rem;
    text-align: center;
    font-weight: 300;
}
.login_facebook{
    background-color: #1877f2;
    color: var(--white-color);
    padding: 12px;
    width: 100%;
    font-size: 1.4rem;
}
.login_google{
    background-color: #ea4335;
    color: var(--white-color);
    padding: 10px ;
    width: 100%;
    padding: 12px;
}
.login_icon{
    font-size: 1.8rem;
    margin-right: 12px;
    margin-top: -2px;
    font-size: 2rem;
}
/* user-page */
.user{
    padding: 20px 10px;
}
.input-form{
    width: 100%;
    padding: 12px 0px 12px 16px;
    font-size: 1.4rem;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    outline: none;
    margin-top: 20px;
    height: 44px;
}
.input-form:focus{
    border: 2px solid rgba(15, 115, 123, 0.9);
}
.input_select{
    height: 44px;
}
.input-form[type="date"]{
    padding: 10px 0px 10px 16px;
    text-align: right;
}
.input-form[type="date"]:before {
    color: lightgrey;
    content: attr(placeholder);
    margin-right: 0.5em;
}
.input-form.readonly{
    font-style: italic;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}
.input-form.hidden{
    display: none;
}
/* Bang ke thu */
.contract-item-information{
    padding: 0px 10px;
    margin-bottom: 5px;
    border-radius: 5px;   
}
.contract-item-information:hover{
    box-shadow: 0 1px 10px 0 rgba(243, 143, 90, 0.9);
    transform: translateY(-1px) ;
}
.contract-item-information-heading{
    color: var(--text-color);
    background-color: #472e2e;
    padding: 0px 10px;
    margin-bottom: 5px;
    border-radius: 5px; 
}
.contract-item-information-heading p{
    margin: 2px 0px;
}
.user-item-information-detail .contract-item-information-heading{
    margin-left: -5px;
    margin-right: -5px;
}
.contract-item-information:nth-child(odd){
    background-color: #044b4a;
}
.contract-item-information:nth-child(even){
    background-color: #188072;
}
.contract_content{
    display: flex;
    align-items: center;
}
.contract_id,
.contract_name{
    font-size: 1.1rem;
    color: var(--white-color);
}
.contract_number,
.contract_number-sum{
    color: var(--white-color);
    font-size: 1.05rem;
    font-weight: 700;
}
.contract_date{
    color: var(--white-color);
    font-size: 1.1rem;
    font-style: italic;
    padding-left: 5px;
}
.contract_number-input{
    height: 36px;
    font-size: 1.1rem;
    padding-left: 20px;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    outline: none;
    width: 75%;
}
.contract_link{
    font-size: 1.1rem;
    color: var(--white-color);
    font-size: 1.1rem;
    text-align: center;
    text-decoration: none;
    padding: 12px 8px;
    background-color: var(--star-gold);
    border-radius: 3px;
    border: none;
    cursor: pointer;
}
.contract_link:hover{
    opacity: 0.8;
}
.contract_link i{
    margin-right: 5px;
}
.contract_off{
    background-color: var(--primary-color);
}
.bangkegop_form .btn{
    margin-bottom: 5px;
}
/* Customer-detail */
.staff_information_heading{
    font-size: 1.4rem;
    margin: 10px 0px 0px 5px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    text-align: center;
}
.staff_information_form{
    margin-bottom: 45px;
}
.staff-information-detail h6{
    margin-bottom: 0px;
}
.btn-radius{
    border-radius: 5px;
}
.update-information{
    padding: 10px 0px;
    text-align: center;
    background-color: rgb(233, 221, 221);
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 5px;
}
/* bang ke ky han va thu tien */
.table_sticky{
    position: relative;
    margin-bottom: 160px;
}
.payday_table{
    border-collapse: collapse;
    box-sizing: border-box;
   
  }
  .payday_table th,
  .payday_table td{
    text-align: center;
  }
  .payday_table th{
    font-weight: 600;
    background-color: rgb(15, 115, 123);
    color: white;
  }
  .payday_table tr{
    height: 30px;
  }
  .payday_table td{
    border: 1px solid rgba(0,0,0, 0.05);
  }
  .payday_table th.green1{
    position: sticky;
    position: -webkit-sticky;
    top: 0px;
    z-index: 3;
    box-shadow: 1px 1px 1px rgb(15, 115, 123) ;
  }
  .payday_table th.green2{
    position: sticky;
    position: -webkit-sticky;
    top: 30px;
    z-index: 3;
    box-shadow: 1px 1px 1px rgb(15, 115, 123) ;

  }
.payday_table .second{
    text-align: right;
    padding-right: 8px;
    z-index: 0;
}
