
body{
    font-size: 14px;
    font-weight: 600;
}
body.login-page{
    background: #4880FF url(../img/login.png)  center center;
    background-size: cover;
}
.login-box-round{
    border-radius: 15px;
}
.content-wrapper{
    padding: 0 10px;
    background-color: #F5F6FA;
}
.page-title{
    font-size: 32px;
    margin: 20px 0 ;
}
.table thead th {
    vertical-align: middle;
}

.table td, .table th{
    padding-left: 0.6rem;
    padding-right: 0.6rem;
}
.nav-sidebar>.nav-item.menu-open  i.toggle-icon,  
.nav-sidebar>.nav-item.menu-is-opening i.toggle-icon{
    -webkit-transform: rotate(-90deg);
    transform: rotate(90deg);
}
.nav-sidebar>.nav-item > a > i{
    transition: -webkit-transform ease-in-out .3s;
    transition: transform ease-in-out .3s;
    transition: transform ease-in-out .3s,-webkit-transform ease-in-out .3s;
}
[class*="sidebar-light-"] .nav-sidebar > .nav-item.menu-open > .nav-link, [class*="sidebar-light-"] .nav-sidebar > .nav-item:hover > .nav-link{
    background: none;
}
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active, .sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #4880FF;
    color: #fff;
  }
li.nav-line{
    border-top: 1px solid #eee;
    margin: 50px 0 10px 0;
}
[class*="sidebar-light-"] .nav-treeview > .nav-item > .nav-link {
    color: #282828;
}
[class*=sidebar-light-] .nav-treeview>.nav-item>.nav-link:focus, [class*=sidebar-light-] .nav-treeview>.nav-item>.nav-link:hover{
    background: #fff;
    color: #000
}
.project-menus .nav-item a.nav-link{
    opacity: 0.5;
}
.project-menus .nav-item a.nav-link.active{
    opacity: 1;
}

.navbar-white.navbar-light .header-search-form .header-search-btn{
    border-radius: 18px 0 0 18px !important;
    border: 1px solid #D5D5D5;
    background: #F5F6FA;
    border-right: none;
    padding-left: 15px;
}
.navbar-white.navbar-light .header-search-form .search-keyword{
    border-radius: 0 18px 18px 0;
    border: 1px solid #D5D5D5; 
    border-left: none;
    background: #F5F6FA; 
    height: 38px;
}
.navbar-white.navbar-light .header-search-form .search-keyword:focus{ 
    border: 1px solid #D5D5D5 !important; 
    border-left: none !important;
}
.header-search-form{
    width: 400px;
    max-width: 100%;
}
.header-search-form .search-results {
    position: absolute;
    width: 100%;
    top: 40px;
}
.header-search-form .search-results a{
    color: #000;
}
.filter-date .react-datepicker__calendar-icon{
    width: 24px;
    height: 24px;
    right: 0;
    top: -2px;
}

.info-box {
    padding: 10px 15px;
    height: 100%;
    margin: 0;
    border-radius: 15px;
}
.info-box .info-details{
    font-size: 13px;
}
.info-box .heading{
    font-size: 16px;
    font-weight: 600;
}
.info-box.small-box h3{
    font-size: 28px;
}
.filter-type:hover, .filter-type.active{
    outline: 3px solid #4880FF;
}
[class*=sidebar-light-] .nav-treeview>.nav-item>.nav-link.active, [class*=sidebar-light-] .nav-treeview>.nav-item>.nav-link.active:hover{
    background-color: #4880FF;
    color: #fff;
}
.list-data{
    padding: 10px;
    background-color: #fff;
    border-radius: 15px;
}
.box{
    padding: 20px;
    background-color: #fff;
    border-radius: 15px;
}
.box h3.section-heading{
    font-size: 1.4rem;
}
.data-tbl thead tr th{
    background: #F1F4F9;
    border: none;
    text-align: center;
}
.data-tbl thead tr th:first-child{
    border-radius: 10px 0 0 10px;
    text-align: left;
}
.data-tbl thead tr th:last-child{
    border-radius: 0 10px 10px 0;
}
.list-data .section-heading{
    margin: 20px 0 20px 35px;
    font-weight: 700;
    font-size: 24px;
}
.list-data tbody tr td{
    border-width: 0 0 1px 0;
    text-align: center;
    vertical-align: middle;
}
.data-tbl tbody tr td:first-child{ 
    text-align: left;
} 
.data-tbl tbody td.year{
    background: rgb(29 109 195);
    color: #fff;
    font-weight: bold;
}
.status{
    padding: 5px;
    border-radius: 15px;
    width: 112px;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}
.action-col{
    width: 170px;
}
.action-btn{
    background-color: #E2EAF8;
    color: #000;
    border-radius: 6px;
    border: none;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    margin: 2px 5px;
    
    display: inline-block;
}
.table-hover.data-tbl tbody tr:hover{
    background-color: rgb(191, 222, 255);
}
.contract-filter .select-vendor{
    border: 1px solid #D5D5D5;
    padding: 5px 10px;
    border-radius: 20px;
    width: 200px;
    background: #fff;
}
.contract-filter .select-vendor i{
    border: 1px solid #5C5C5C;
    border-radius: 20px;
    color: #5C5C5C;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    float: right;
    margin: 3px 0 0 0;
}
.contract-info input[type="text"]{
    max-width: 100%;
}
.contract-info{
    border-radius: 15px;
}
.input-text{
    border-radius: 5px;
}
.payments-list .percent{
    width: 70px;
}
.data-tbl {
    font-size: 14px;
}

.project-contract-filter {
    padding: 8px;font-weight: 700;
}
.bg-filter{
    background: #F9F9FB;
     
}

.project-contract-filter .filter-icon{
    font-size: 20px;
}

.project-contract-filter .keyword {
     
}
.project-contract-filter .keyword:focus{
    outline: none;
}
.project-contract-filter .filter-date i{
    font-size: 16px;
}
.project-contract-filter select{
    
}
.cursor-pointer{
    cursor: pointer;
}
.project-contract-filter .project-status option{
    font-weight: 600;
}

.list-data tbody select, .modal select{
    border-radius: 5px;
    background: #fff;
    border: 1px solid #ced4da;
    height: 38px;
    padding: 2px 8px;
}
select option{
    line-height: 1;
}
select:focus{
    outline: none;
}
.table-container {
    width: 100%;
    /* overflow: auto; */
}
.btn-primary{
    background-color: #4880FF;
    border-radius: 8px;
}
.btn{ 
    border-radius: 8px;
}
.modal-header .close, .modal-header .mailbox-attachment-close{
    margin: 0;
    position: absolute;
    top: -8px;
    right: -5px;
}
.modal-dialog-scrollable .modal-header {
    display: block;
}
.modal select{
    width: 100%;
}
#viewPaymentModal .modal-dialog{
    max-width: 600px !important;
}
#payInvoicesModal .modal-dialog{
    max-width: 1100px !important;
}
.login-box, .register-box {
    width: 460px;
    max-width: 100%;
}

.loader , .loading::after{
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    display: inline-block;
}
button .loader{
    width: 18px;
    height: 18px;
    border-width: 3px;
}
.disabled{
    pointer-events: none !important;
}
.loading-container{
    width: 100%;
    min-height: 100px;
    position: relative;
}
.loading-container:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255, 0.7);
}
.loading-container .loader{
    position: absolute;
    left: 50%;
    top: 50%;
}
.loading{
    position: relative;
}
.loading::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255, 0.7);
    z-index: 9;
}
.loading::after{
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -15px;
    margin-top: -15px;
    z-index: 10;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.make-payment-form{
    max-height: 100%;
}
.make-payment-form .modal-content{
    height: 100%;
}
td.error > .input-text, td.error > div[class$="-container"] >  div[class$="-control"]{
    border: 1px solid red;
    background: rgba(255, 0, 0, 0.2);
}
.payments-list .input-text, .make-payment-form .input-text, .payments-list div[class$="-control"] > div, .make-payment-form div[class$="-control"] > div {
    padding-left: 5px;
    padding-right: 5px;
}
.payments-list div[class$="-indicatorContainer"], .make-payment-form div[class$="-indicatorContainer"]{
    padding-left: 0;
    padding-right: 0;
}
.payments-list .percent, .make-payment-form .percent{
    width: 50px;
}
.make-payment-form td{
    vertical-align: middle;
}
td.toggle-col, th.toggle-col{
    width: 20px;
    padding: 0
}
.project-payments-list .id-col{
    padding: 0;
}
.payment-toggle{
    cursor: pointer;
}
.contract .toggle-col .payment-toggle{
    transition: all 0.5s;
}
.contract.show .toggle-col .payment-toggle i{
    transform: rotate(90deg);
}
.pagination .page-item.selected a{
    background: #4880FF;
    color: #fff;
}
.page-link:focus{
    box-shadow: none;
}
.log-info{
    background: #fff;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 10px;
}
.log-item {
    border-bottom: 1px solid #eee;
    padding: 7px 0;
}
.log-actions button{
    background: none;
    border: none;
    text-decoration: underline;
}
.log-actions button:hover{
    text-decoration: none;
}
.log-actions button.undo{
    color: red;
}
.log-actions button i{
    font-size: 11px;
}
.log-time{
    font-size: 12px;
}
.log-actions .disabled {
    opacity: 0.5;
}
.Toastify__toast-body{
    white-space : pre-line !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media screen and (max-width: 1240px) {
    .bg-filter { 
        padding: 15px 17px;
    }
}
@media screen and (max-width: 1100px) {
    .bg-filter { 
        padding: 5px 7px;
    }
}
@media screen and (max-width: 767px) {
    .project-contract-filter .keyword{
        width: 100%;
    }
    .keyword-wrap{
        border-right: 1px solid #dee2e6 !important;
    }
    .project-contract-filter .filter-date, .project-contract-filter .project-status, .project-contract-filter .filter-action{
        padding-top: 10px;
        padding-bottom: 10px;
    }
}
@media screen and (max-width: 575px) {
   
    .project-contract-filter .project-status{
        border-right: 1px solid #dee2e6 !important;
    }
    
}
