body {
    background-color: #fff;
}

body.modal-open {
    overflow: hidden !important;
}

.header-mobile-fixed a img {
    width: 170px;
}

.header-fixed.subheader-fixed .header {
    box-shadow: 3px 3px 3px rgba(0,0,0,0.2) !important;
}

.action-btn{
    cursor: pointer;
}

.logo-title{
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
}

.logo-title li:first-child{
    margin-right: 30px;
    position: relative;
}

.logo-title li:first-child:after{
    content: '';
    position: absolute;
    height: 100%;
    border-right: 1px solid #ddd;
    top: 0;
    right: -15px;
}

.logo-title li img{
    width: 100%;
    height: 45px;
}

.logo-title li img.svg-icon{
    width: 25px;
}

.logo-title li h5{
    margin-bottom: 0;
}

fieldset {
    border: 2px solid #d1d1d1;
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 5px;
}

fieldset legend {
    width: auto;
    padding: 0 10px;
    font-size: 16px;
}

.aside-menu .menu-nav > .menu-item > .menu-submenu .menu-subnav > .menu-item > .menu-link{
    padding-left: 70px;
}

.aside-menu .menu-nav > .menu-item > .menu-submenu .menu-subnav > .menu-item > .menu-submenu .menu-subnav > .menu-item > .menu-link{
    padding-left: 85px;
}

.aside-menu .menu-nav > .menu-item > .menu-submenu .menu-subnav > .menu-item > .menu-submenu .menu-subnav > .menu-item > .menu-submenu .menu-subnav > .menu-item > .menu-link{
    padding-left: 100px;
}

.aside-menu .menu-nav > .menu-item.menu-item-active > .menu-heading .menu-icon i, .aside-menu .menu-nav > .menu-item.menu-item-active > .menu-link .menu-icon i {
    color: #fff;
}

.pageTitle h4 {
    margin-bottom: 0;
    display: inline-block;
    text-decoration: underline;
}

.status-info,
.status-cases{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    margin: 0;
    list-style: none;
}

.status-info li{
    width: calc(20% - 10px);
    text-align: center;
    padding: 10px;
    margin: 0 5px;
}

.status-info li.rfapprov{
    background-color: #87c5fe;
}

.status-info li.rereject{
    background-color: #bbbfc2;
}

.status-info li.po{
    background-color: #f4ca80;
}

.status-info li.do{
    background-color: #75cfb4;
}

.status-info li.received{
    background-color: #75cf8c;
}

.status-info li p{
    margin-bottom: 5px;
    font-weight: 600;
}

.status-info li p:last-child,
.status-cases li p:last-child{
    margin-bottom: 0;
}

.status-info li .seperator{
    width: 60px;
    border-bottom: 1px solid #000;
    display: block;
    margin: 0 auto 5px;
}


.nav.nav-pills.basic-tabs .nav-link{
    border: 1px solid #d3d2d7;
    background-color: #d3d2d7;
    border-radius: 0;
    text-align: center;
    min-width: 92px;
}

.nav.nav-pills.basic-tabs .show > .nav-link, 
.nav.nav-pills.basic-tabs .nav-link.active{
    border: 1px solid #005b5a;
    background-color: #005b5a;
    color: #fff;
}

.nav.nav-pills.basic-tabs .nav-link.active .nav-text{
    color: #fff;
}

.nav.nav-pills.basic-tabs .nav-link.active:hover:not(.disabled) .nav-text{
    color: #fff;
}

.nav.nav-pills.basic-tabs .nav-link:hover{
    background-color: #005b5a;
    color: #fff;
}

.nav.basic-tabs .show > .nav-link .nav-text, 
.nav.basic-tabs .nav-link:hover:not(.disabled) .nav-text, 
.nav.basic-tabs .nav-link.active .nav-text{
    color: #fff;
    /* font-weight: normal; */
}

.nav.basic-tabs .nav-link .nav-text{
    color: #000;
}

.nav.nav-pills.basic-tabs .nav-item .nav-link .nav-text i{
    color: #000;
    margin-right: 5px;
}

.nav.nav-pills.basic-tabs .nav-item .nav-link:hover .nav-text i{
    color: #fff;
}

.nav.nav-pills.basic-tabs .nav-link.active .nav-text i{
    color: #fff;
}

/* DATATABLES */
.dataTables_filter label{
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.table_dashrf tr td.submitted,
.table_dashdo tr td.received,
.table_overviewtr tr td.complete,
.table_rflist_submitted tr td.complete,
.table_do_list tr td.received,
.table_dashvddo tr td.delivered,
.table_vd_do_list tr td.delivered,
.table_dashpmrf tr td.submitted,
.table_dashpmdo tr td.received,
.table_overviewpmtr tr td.complete,
.table_pm_staff_settings tr td.active,
.table_dashhqrf tr td.complete,
.table_dashhqdo tr td.received,
.table_material_settings tr td.ok,
.table_hq_rflist_completed tr td.complete
{
    background-color: #cce6bf;
}

.table_dashrf tr td.rejected,
.table_dashdo tr td.pending,
.table_overviewtr tr td.incomplete,
.table_rflist_submitted tr td.incomplete,
.table_do_list tr td.pending,
.table_dashvddo tr td.intransit,
.table_vd_do_list tr td.intransit,
.table_dashpmrf tr td.rejected,
.table_dashpmdo tr td.pending,
.table_overviewpmtr tr td.incomplete,
.table_pm_staff_settings tr td.inactive,
.table_dashhqrf tr td.incomplete,
.table_dashhqdo tr td.pending,
.table_material_settings tr td.void,
.table_hq_rflist_completed tr td.incomplete
{
    background-color: #e6bfbf;
}

.modal-links{
    cursor: pointer;
}

.address-logo{
    justify-content: end;
    display: flex;
}

.address-box,
.logo-box {
    display: inline-block;
}

.address-box{
    color: #7F8597;
}

.address-box div{
    /* max-width: 150px; */
    max-width: calc(500px * 0.5);
}

.logo-box {
    margin-left: 20px;
}

.logo-box .logo-rf{
    height: 100px;
    max-height: 100px;
    width: 180px;
    max-width: 180px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.modal-open .modal{
    padding-right: 0 !important;
}

.modal-body{
    max-height: 580px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.lightbox-pdf{
    width: 100%;
    height: 100%;
    border: none;
    padding: 50px 220px;
}

.remove-link i{
    color: #f46b6b;
    font-size: 13px;
    margin-left: 5px;
}

.remove-link i:hover{
    color: #f78b8b;
}

.to-info{
    color: #7F8597;
}

.to-info strong{
    color: #3F4254;
}

.request-info{
    float: right;
}

.request-info .table {
    width: auto;
}

.request-info .table tr td{
    padding: 0 5px;
    text-align: right;
}

.request-info .table tr td:last-child{
    color: #7F8597;
}

.table.table-rf tr th,
.table.table-rf tr td{
    text-align: center;
    vertical-align: middle;
}

.table.table-rf tr th{
    background-color: #F8F8F8;
}

.table.table-rf tr td:last-child{
    text-align: left;
}

.table.table-rf-statusPO tr th,
.table.table-rf-statusPO tr td{
    text-align: center;
    vertical-align: middle;
}

.table.table-rf-statusPO tr th{
    background-color: #F8F8F8;
}

.table-receivedDetails tr th,
.table-receivedDetails tr td{
    text-align: center;
}

.table tr td.modal-links{
    color:#3699FF;
}

.info_img_list{
    display: flex;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    list-style: none;
}

.info_img_list li{
    width: calc(25% - 10px);
    margin: 5px;
}

.info_img_bg{
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 350px;
    width: 100%;
}

.img_preview .thumb_img{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100px;
    height: 100px;
}

.img_preview{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

.img_preview .img_item{
    margin-right: 10px;
    margin-bottom: 10px;
    position: relative;
}

.img_preview .img_item .delete_img{
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: rgb(221, 0, 0);
    line-height: 1;
    padding: 2px;
    border-radius: 100%;
    width: 18px;
    height: 18px;
    text-align: center;
}

.img_preview .img_item .delete_img i{
    color: #fff;
    font-size: 12px;
}

.img_preview .img_item .delete_img:hover{
    background-color: rgb(255, 73, 73);
}

.confirm {
    display: none;
}

.confirm > div:first-of-type {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    top: 0px;
    left: 0px;
}

.confirm > div:last-of-type {
    padding: 10px 20px;
    background: white;
    position: absolute;
    width: auto;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
}

.confirm > div:last-of-type div:first-of-type {
    min-width: 150px;
    padding: 10px;
}

.confirm > div:last-of-type div:last-of-type {
    text-align: right;
}





























/** LIGHTBOX MARKUP **/

.lightbox {
    /* Default to hidden */
    display: none;

    /* Overlay entire screen */
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    /* A bit of padding around image */
    padding: 1em;

    /* Translucent background */
    background: rgba(0, 0, 0, 0.8);
}
  
/* Unhide the lightbox when it's the target */
.lightbox:target {
    display: block;
}

.lightbox span {
    /* Full width and height */
    display: block;
    width: 100%;
    height: 100%;

    /* Size and position background image */
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.modal-title{
    text-decoration: underline;
}

span.recv_date{
    width: 210px;
}

span.recv_qty{
    margin-left: 30px;
}

.accordion .card .card-header{
    background-color: transparent;
    border-bottom: 1px solid #EBEDF3;
}

.accordion.accordion-toggle-arrow .card .card-header .card-title.collapsed,
.accordion.accordion-toggle-arrow .card .card-header .card-title{
    color: #000;
}

.table.table-bordered.table_rf_new_item tr th,
.table.table-bordered.table_rf_new_item tr td{
    vertical-align: middle;
    text-align: center;
}

.table.table-bordered.table_rf_new_item tr th.itemDescription,
.table.table-bordered.table_rf_new_item tr th.remarks{
    min-width: 300px;
}

.table.table-bordered.table_rf_new_item tr td i,
.table.table-bordered.table_add_user tr td i,
.table.table-bordered.table_add_material tr td i,
.table.table-bordered.table-ro-selected tr td i
{
    padding: 0;
}

.table.table-bordered.table_rf_new_item tbody {
    counter-reset: row;
    /* Set the row counter to 0 */
}

.table.table-bordered.table_rf_new_item tbody tr td:first-child:before {
counter-increment: row;
/* Increment the row counter*/
content: counter(row);
/* Display the row */
}

.notes-list{
    padding-left: 15px;
}

/* .table.table-bordered.table_rf_new_item.new tr td:nth-child(2){
    min-width: 400px;
} */

.table_vd_po_list tr td input[type="checkbox"],
.table_hq_rflist_pending tr td input[type="checkbox"],
.table_hq_create_ro tr td input[type="checkbox"]{
    margin-right: 10px;
}

.table_do_detail_update tr th,
.table_do_detail_update tr td{
    text-align: center;
}

.table_do_detail_update tr td:nth-child(3){
    text-align: left;
}

.table_do_detail_update tr td:nth-child(6){
    width: 150px;
}

.table_add_material tr th,
.table_add_material tr td:last-child{
    text-align: center;
    vertical-align: middle;
}

.form-group .btn.btn-sm i.la.la-plus{
    font-size: 13px;
    line-height: 0;
    vertical-align: baseline;
}

.table-ro-selected tr th,
.table-ro-selected tr td{
    text-align: center;
}

.bootstrap-select.show-tick .dropdown-menu li a span.text {
    margin-left: 15px;
}


/* .nav.nav-pills.basic-tabs .show > .nav-link, .nav.nav-pills.basic-tabs .nav-link.new{
    background-color: #f88c8c;
    border-color: #f88c8c;
}

.nav.nav-pills.basic-tabs .show > .nav-link, .nav.nav-pills.basic-tabs .nav-link.new.active,
.nav.nav-pills.basic-tabs .show > .nav-link, .nav.nav-pills.basic-tabs .nav-link:hover{
    opacity: .8;
}

.nav.nav-pills.basic-tabs .show > .nav-link, .nav.nav-pills.basic-tabs .nav-link.pending{
    background-color: #c7b3ff;
    border-color: #c7b3ff;
}

.nav.nav-pills.basic-tabs .show > .nav-link, .nav.nav-pills.basic-tabs .nav-link.completed{
    background-color: #cce6bf;
    border-color: #cce6bf;
}

.nav.nav-pills.basic-tabs .show > .nav-link, .nav.nav-pills.basic-tabs .nav-link.inprocess{
    background-color: #fdba63;
    border-color: #fdba63;
} */

