﻿body {
    /* height: auto !important;
    font-size: 13px !important;
    padding-right: 0 !important;
    font-weight: 400;
    overflow-x: hidden;
    overflow-y: auto;*/
    overflow-x: hidden;
    overflow-y: auto;
}

.is-invalid {
    color: #c7254e;
}

#ajax-loader {
    width: 100px;
    height: 100px;
}

.m-t-10 {
    margin-top: 10px;
}

.field-mandatory {
    color: #F00;
    padding-left: 5px;
    font-size: 14px;
}

.input-error {
    border: 1px solid #c7254e;
    margin-bottom: 4px;
}

.validation-text {
    color: #c7254e;
    text-align: left;
}

.panel-body {
    padding: 5px !important;
    margin-top: 15px;
}

.labelContent {
    font-weight: normal;
}
 
/*.main-footer {
    bottom: 0;
    color: #58666e;
    left: 0;
    padding: 11px 30px;
    position: fixed;
    right: 0;
    background: #fdeeee;

}*/

.BtndatatableAction {
    margin-left: 0px !important;
    margin-right: 2px !important;
}

.main-footer {
    /*  bottom: 0;
   
    left: 0;
    padding: 11px 30px;
    position: fixed;
    right: 0; */
    background: #fff;
    padding: 15px;
    color: #444;
    border-top: 1px solid #d2d6de;
}
.box {
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.video-bg {
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
}

.panel-heading {
    font-weight: 600;
    font-size: 20px;
    /*padding-top: 20px!important;*/
}


.video-wrapper {
    margin-bottom: 20px;
}

.video-btn {
    cursor: pointer;
    font-size: 16px;
    color: #666;
}

.video-holder {
    width: 232px !important;
    /*height:auto !important;*/
}


/*#Webcam-Video {
    height:auto !important;
}

.cropper-canvas {
    height:auto !important;
}

.cropper-container {
    height:auto !important;
}

.cropper-drag-box {
    height:auto !important;
}

.cropper-crop-box {
    height:auto !important;
}

.cropper-face {
    height:auto !important;
}*/

.take-photo {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #666 !important;
}

.button-container {
    text-align: center;
    margin: 0 auto;
    display: table;
    margin-top: 15px;
}

/*.content-wrapper {
    margin-bottom: 40px;
}*/

.info-box-icon {
    font-size: 20px !important;
}

.info-box-number {
    font-size: 32px !important;
}

.info-box-text {
    font-size: 12px !important;
}

.login-text {
    border-left: none;
    border-right: none;
    border-top: none;
    background: none;
}

/*.skin-blue .sidebar-menu>li>a {
    font-size: 14px;
}*/

.skin-blue .main-header .navbar {
    /*background-color: #222d32;*/
    background-color: #fff;
    border-bottom: 1px solid rgba(224, 224, 224, 0.7);
}

.skin-blue .main-header .logo {
    background-color: #1e2129 !important;
}

/* div.dataTables_wrapper {
    /*width: 100% !important;
    margin: 0 auto;
    overflow-x: auto;
    clear: both;
} */

 .data-table-head * {
    white-space: pre !important;
} 

/*.data-table-head .dtr-data {
    white-space: normal !important;
}*/

.login-box-body .form-control-feedback,
.register-box-body .form-control-feedback {
    color: #8b8b8b;
}

.text-danger {
    color: #ff0500;
    cursor: pointer;
}

.text-success {
    color: #2ac02c;
    cursor: pointer;
}

.text-info-print {
    color: #5f16e9;
    cursor: pointer;
}

.btnViewForm {
    cursor: pointer;
}

.btnRenewCard {
    cursor: pointer;
}

.box.box-warning {
    margin-top: 5px;
}

@media screen and (max-width:767px) {
    /*.logo {
        display: none !important;
    }*/

    .skin-blue .wrapper,
    .skin-blue .main-sidebar,
    .skin-blue .left-side {
        /*background-color: #2d323e !important;*/
        background-color: #FFF !important;
    }

    .main-footer {
       /* padding: 10px 10px;
        position: relative;
        font-size: 12px;
        text-align: center;*/
        background: #fff;
        padding: 15px;
        color: #444;
        border-top: 1px solid #d2d6de;
    }


    .main-sidebar {
        padding-top: 50px;
        max-height: 100vh;
        overflow-y: scroll;
         enables scrolling 
        scrollbar-width: none;
         Firefox 
        -ms-overflow-style: none;
    }

    ß .fixed .content-wrapper,
    .fixed .right-side {
        padding-top: 50px;
    }
}

.skin-blue .sidebar a {
    color: #1e282c;

}

a>i{
    margin-right:3px;
}
/*.skin-blue .sidebar-menu>li:hover>a,
.skin-blue .sidebar-menu>li.active>a,
.skin-blue .sidebar-menu>li.menu-open>a {
    color: #b3080e;
    background: #fdc1c1 !important;
}

.skin-blue .sidebar-menu>li.active>a {
    border-left-color: #ed1c24;
    color: #b3080e;
    font-weight: 600;
}*/

@media screen and (max-width:767px) {
    .small-box {
        text-align: center;
        height: 110px;
    }

    ul.simple-pagination {
        width: 100%;
    }

    td>span>i.fa {
        padding: 5px !important;
        font-size: 20px !important;
    }

    .tab-content .box-body {
        padding: 10px 0;
    }
}

@media screen and (min-width: 768px) {
    .navbar-nav>li>a {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

.bootstrap-select .btn-default {
    background-color: #fff;
}

.dt-head-center {
    text-align: center;
}

.table th {
    text-align: left;
}

.divider {
    height: 0.5px;
    margin: 9px 0;
    overflow: hidden;
    background-color: #1e2129;
    /*margin-top: 6px !important;
    margin-bottom: 6px  !important;*/
}

.am-button {
    font-weight: 700 !important;
}

.pm-button {
    font-weight: 700 !important;
}

.mt-1 {
    margin-top: 1rem !important;
}

.p-0 {
    padding: 0 !important;
}

.resize-none {
    resize: none !important;
}

.m-0 {
    margin: 0;
}

/*.form-control-feedback {
    left: 0 !important;
}
*/
/*.main-header .logo {
    height: 60px !important;
    line-height: 57px;
}
*/
/*.skin-blue .main-header .navbar .sidebar-toggle {
    color: #1e2129 !important;
}

.main-header .sidebar-toggle {
    padding: 20px 20px;
}

.skin-blue .main-header .navbar .sidebar-toggle:hover {
    background-color: #ed1c24;
}
*/
.skin-blue .main-header .navbar .nav>li>a {
    color: #1e2129;
}

.panel {
    margin-top: 10px;
}


.panel-default>.panel-heading {
    padding: 15px;
    background-color: #f5f5f5 !important;
}
/* all buttons from aspx */

/* .custom-button {
    margin-top: -2px;
    background-color: #ed1c24;
    border-color: #c10910;
    font-weight: 600;
    box-shadow: 0 2px 2px 0 rgba(244, 67, 54, .14), 0 3px 1px -2px rgba(244, 67, 54, .2), 0 1px 5px 0 rgba(244, 67, 54, .12);
    padding: 10px 10px;
    color: #fff !important;
} */

.future-leaves-button{
    margin-left: 3px !important;
    background-color: #7535dc !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}
.future-leaves-button:hover{
    background-color: #7535dc !important;
    color: #fff !important;
   
}
 .btn-export-list{
    margin-left: 3px !important;
   background-color: #7535dc !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.custom-button {

    margin-left: 3px !important;
    background: #dc3545 !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}



.custom-button:hover {
    color: #ffffff;
}

.import-button {
    margin-top: -8px;
    background-color: #f2a917;
    border-color: #cd8c09;
    font-weight: 600;
    box-shadow: 0 2px 2px 0 rgba(244, 67, 54, .14), 0 3px 1px -2px rgba(244, 67, 54, .2), 0 1px 5px 0 rgba(244, 67, 54, .12);
    padding: 12px 12px;
}

.import-button:hover {
    color: #ffffff;
}

.search-button {
    margin-top: 25px;
    background: #219B9D;
    border-color: #179092;
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 2px 0 hsla(0, 0%, 60%, .14), 0 3px 1px -2px hsla(0, 0%, 60%, .2), 0 1px 5px 0 hsla(0, 0%, 60%, .12);
    font-weight: 600;
    padding: 5px;
    border-radius: 5px !important;
}

.search-button :hover {
    color: #ffffff !important;
}

.btn-approve {
    background-color: transparent;
    color: #4caf50;

    border: 1px solid #e4e4e4;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.1)
}

.btn-approve:hover {
    background-color: transparent;
    border: none;
}

.btn-reject {
    background-color: transparent;
    color: #ec645a;
    border: 1px solid #e4e4e4;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.1)
}

.btn-reject:hover {
    background-color: transparent;
  
}

/*.btn-delete {
    background-color: transparent;
    color: #ed1c24;
    border: 1px solid #e4e4e4;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.1)
}*/

.btnForward {
    background-color: transparent;
    color: #d49714;
    border: 1px solid #e4e4e4;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.1)
}

/*.btn-delete:hover {
    background-color: transparent;
    
}*/

/*.btn-edit {
    background-color: transparent;
    color: #007cef;
    border: 1px solid #e4e4e4;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.1)
}

.btn-edit:hover {
    background-color: transparent;
    color: #02427e;
    
}*/

.btn-ChangePermission{
    background-color: transparent;
    color: #efbc49;
    border: 1px solid #e4e4e4;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.1);   
    
}

.btn-ChangePermission:hover {
    color: #a1740a;
    background-color: transparent;
}
.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 38px;
    margin-bottom: 0;
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 38px;
    margin: 0;
    opacity: 0;
}

.custom-file-label {
    left: 0;
    z-index: 1;
    /*height: 38px;*/
    background-color: #FFF;
    border: 1px solid #DFE3E7;
    border-radius: .267rem;
    position: absolute;
    padding: .65rem .8rem;
    line-height: 1.4;
    /* color: #475F7B; */
    color: #db5c5c !important;
    top: 0;
    right: 0;
}

.custom-file-input:lang(en)~.custom-file-label::after {
    content: 'Browse';
}

.custom-file-label::after {
   bottom: 0;
    z-index: 3;
    display: block;
    height: calc(1.4em + 1.269rem);
    content: 'Browse';
    /* background-color: #F0F4F7; */
    background-color: #e5e7e9 !important;
    border-left: inherit;
    border-radius: 0 .267rem .267rem 0;
    position: absolute;
    padding: .65rem .8rem;
    line-height: 1.4;
    /* color: #475F7B; */
    color:#4973a5 !important;
    top: 0;
    right: 0; 
    
}

.dt-center {
    text-align: center;
}

table.dataTable th.dt-left,
table.dataTable td.dt-left {
    text-align: left;
}

table.dataTable th.dt-center,
table.dataTable td.dt-center,
table.dataTable td.dataTables_empty {
    text-align: center;
}

table.dataTable th.dt-right,
table.dataTable td.dt-right {
    text-align: right;
}

table.dataTable tbody th.dt-body-left,
table.dataTable tbody td.dt-body-left {
    text-align: left;
}

table.dataTable tbody th.dt-body-center,
table.dataTable tbody td.dt-body-center {
    text-align: center;
}

table.dataTable tbody th.dt-body-right,
table.dataTable tbody td.dt-body-right {
    text-align: right;
}

table.dataTable thead th.dt-head-left,
table.dataTable thead td.dt-head-left,
table.dataTable tfoot th.dt-head-left,
table.dataTable tfoot td.dt-head-left {
    text-align: left;
}

table.dataTable thead th.dt-head-center,
table.dataTable thead td.dt-head-center,
table.dataTable tfoot th.dt-head-center,
table.dataTable tfoot td.dt-head-center {
    text-align: center;
}

table.dataTable thead th.dt-head-right,
table.dataTable thead td.dt-head-right,
table.dataTable tfoot th.dt-head-right,
table.dataTable tfoot td.dt-head-right {
    text-align: right;
}

.modal-body {
    position: relative;
    padding: 0;
}

.btn:not(:disabled):not(.disabled),
[type="button"]:not(:disabled),
button:not(:disabled) {
    cursor: pointer;
}

.btn[class*="btn-outline-"] {
    padding-top: calc(.467rem - 1px);
    padding-bottom: calc(.467rem - 1px);
}

.btn-outline-export {
    border: 1px solid #247e4b;
    background-color: transparent;
    color: #247e4b !important;
}

.btn-outline-export:hover {
    background-color: #247e4b !important;
    color: #FFF !important;
    border-color: #247e4b;
}

/* .import-excel-button {
        margin-top: -8px;
        background-color: #247e4b;
        border-color: #1c7542;
        font-weight: 600;
        box-shadow: 0 2px 2px 0 rgba(244, 67, 54, .14), 0 3px 1px -2px rgba(244, 67, 54, .2), 0 1px 5px 0 rgba(244, 67, 54, .12);
        padding: 10px 12px;
    } */
.import-excel-button {
    margin-left: 5px;
    margin-right: 3px !important;
    background: #7535dc !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

/* .download-button {
    margin-top: -8px;
    background-color: #f96a32;
    border-color: #e75821;
    font-weight: 600;
    box-shadow: 0 2px 2px 0 rgba(244, 67, 54, .14), 0 3px 1px -2px rgba(244, 67, 54, .2), 0 1px 5px 0 rgba(244, 67, 54, .12);
    padding: 10px 12px;
} */
.download-button {
    margin-right: 3px !important;
    background: #28a745 !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.download-button2 {
    background: #f37724 !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.download-button3 {
    margin-right: 3px !important;
    background: #a7287d !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btnProcessInvDecl {
    margin-right: 3px !important;
    background: #2683d4 !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

/* .btn-past-records {
    margin-top: -8px;
    background-color: #367fa9;
    border-color: #204d74;
    font-weight: 600;
    box-shadow: 0 2px 2px 0 rgba(244, 67, 54, .14), 0 3px 1px -2px rgba(244, 67, 54, .2), 0 1px 5px 0 rgba(244, 67, 54, .12);
    padding: 10px 12px;
} */

.btn-past-records {
    margin-right: 3px;
    background: #2683d4 !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    /* display: flex; */
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.view-btn {
    margin-top: -6px;
    margin-right: 3px;
    background: #2683d4 !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    /* display: flex; */
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-export-user {
    margin-left: 5px !important;
    background: #a7287d !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.bs-select-all {
    background-color: #ed1c24 !important;
}

.bs-deselect-all {
    background-color: #ed1c24 !important;
}

.btnUserGrid {
    padding: 4px;
}

div.dataTables_wrapper {
    width: 100% !important;
    margin: 0 auto;
   /* overflow-x: auto;*/
    clear: both;
}

.mb15 {
    margin-bottom: 15px;
}

.custom-table-container.inner-table-custom {
    width: 100%;
    margin-right: -18px;
}



.skin-blue .sidebar-form {
    border-radius: 0px;
    border: 1px solid #e6e6e6;
    margin: 0px;
    bottom: 0px;
    position: fixed;
    width: 230px;
    height: auto;
    background-color: #e6e6e6;
    z-index: 99999;
}

.skin-blue .sidebar-form input[type="text"],
.skin-blue .sidebar-form .btn {
    box-shadow: none;
    background-color: #e6e6e6 !important;
    border: 1px solid transparent;
    height: 35px;
}

.skin-blue .sidebar-form input[type="text"] {
    border-radius: 0px;
}

.skin-blue .sidebar-form .btn {
    border-radius: 0px;
}

@media screen and (max-width:800px) {
    .skin-blue .sidebar-form {
        bottom: 9px;
    }
}

/*.sidebar-menu {
    margin-bottom: 40px !important;
}
*/
.twoLinesData {
    display: grid;
    gap: 5px;
}

.fammemberErrorText {
    font-size: 10px;
    color: #ed1c24;
}

.RegularEmployee {
    border-left: 3px solid #1b00ff !important;
    border-radius: 5px;
}

.ContractEmployee {
    border-left: 3px solid #fff700 !important;
    border-radius: 5px;
}

.fa-refresh{
    background-color: transparent;
    /*color: #333;*/
    /*border: 1px solid #e4e4e4;*/
   /* box-shadow: 0 0px 2px rgba(0, 0, 0, 0.1);*/
    padding-right: 5px;
    /*margin-left: -20px; */
}
/*.fa-refresh:hover {  
    color: #f0c567;
}*/
.ResetFilters {
    margin-top: 20px !important;
}

.BtndatatableAction {
    margin-left: 0px !important;
    margin-right: 2px !important;
}



.modal-backdrop {
    background-color: transparent !important;
}


.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-box {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #b30c0c;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

.loader-text {
    /*    margin-top: 12px;
    font-size: 18px;
    font-weight: 500;
    color: black;*/
    margin-top: 12px;
    padding: 6px 14px; /* spacing around text */
    background: rgb(255 255 255); /* background only behind the text */
    color: black;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px; /* curved edges */
    display: inline-block; /* background wraps text only */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
