/* COMMON STYLES */
p, span, div, i, input, select, tr, th, td {
    font-size: 14px;
}
.d-none { /*  */
    display: none;
}
.btn, button {
    border-radius: 0!important;
}
/* ============== Reports ======== */
input[type=search] {
    padding: 0!important;
    width: 75%!important;
    height: 25px!important;
}
/* ALERT MESSAGES */
.alert {
    padding: 20px;
    color: #fff;
    width: 400px;
}
.alert .closebtn {
    margin-left: 15px;
    color: #fff;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}
.alert .closebtn:hover {
    color: #000;
}
.alert-success {
    background-color: #42ba96;
}
.alert-danger {
    background-color: #DC3545;
}

span.chip {
    font-size: 12px!important;
    background-color: #e6ffe6!important;
    border-radius: 3px!important;
}

/* TABS */
.tabs {
    background-color: #F2F2F2F2;
    margin: 10px 0;
}
.tab a.active {
    background-color: #ccccff!important;
}

/* TABLES */
table {
    margin-top: 10px;
}
table thead {
    background-color: #F2F2F2F2;
}
table thead .actions {
    width: 120px;
}
table tr td, table tr th {
    padding: 10px;
    font-size: 12px!important;
}

/* ============= dashboard */
.dashboard_leave_balances a {
    color: #004d99!important;
}
.dashboard_leave_balances a:hover {
    text-decoration: underline!important;
}

/* start of pagination-links */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px double #f2f2f2;
}

.pagination a, .pagination span {
    font-size: 13px!important;
    padding: 5px 10px;
}
  
.pagination-link {
    display: inline-block;
    padding: 0.5rem;
    border-radius: 0.25rem;
    margin-right: 0.5rem;
    text-decoration: none;
    color: #333;
    background-color: #f5f5f5;
    transition: all 0.2s ease-in-out;
}
  
.pagination-link:hover,
.pagination-link:focus {
    background-color: #ddd;
}
  
.pagination-link.active {
    background-color: #007bff;
    color: #fff!important;
}
  
.pagination-link.disabled {
    pointer-events: none;
    opacity: 0.5;
}
/* End of pagination links */





/* ======= TIMESHEETS ====== */
.create-timesheet h5 span {
    font-size: 12px;
    font-style: italic;
}
.create-timesheet .close i {
    color: #ff0000;
    cursor: pointer;
}
.create-timesheet table {
    font-size: 12px;
}
.create-timesheet table tbody tr {
    border: 0;
    padding: 0;
    margin: 0;
}


/* ========== Timesheets Reports ========== */
.timesheet_reports .filter,
.timesheet_reports .filter input,
.timesheet_reports .filter a
 {
    font-size: 12px;
}
.timesheet_reports .filter_div {
    display: none;
}
.file-field .btn {
    color: #000000;
    width: 30px;
    padding: 0 30px 0 0;
    background-color: transparent;
    box-shadow: none;
    outline: none;
}

/* ============= leave flag */
.leave-flag {
    background-color: #ffc380;
    padding: 10px;
    border-radius: 5px;
    width: 50%;
    box-shadow: 2px 2px 5px;
    margin-bottom: 8px;
}
.leave-flag .closebtn {
    cursor: pointer;
    float: right;
    font-weight: 900;
}

/* ============= leave controls */

.leave-controls tr {
    border-bottom: 0;
}

/* =============== Leave approvers */
.leave-set-approvers tr {
    border-bottom: 0;
}
.leave-set-approvers table {
    font-size: 12px;
}
.leave-set-approvers h5 {
    text-align: center;
}
.show-more-leave-details table tr {
    border-bottom: 0;
    padding: 0;
}

/* ==================== Leave reports */
.reports-index .display ol a {
    color: #004d99!important;
}
.reports-index .display ol a:hover {
    text-decoration: underline;
}
/* ====================== printable */
.reports-index .print-button-div {
    margin-bottom: 4px;
}
.reports-index .print-button-div button {
    padding: 5px 10px;
    border: 1px solid grey;
    border-radius: 2px;
}

/* ============================== PDF ========== */
.hide-print {
    position: absolute;
    right: 100px;
    overflow-x: hidden;
    width: 595pt;
    height: 0;
    /* border: 1px solid red; */
    /* padding-bottom: 50px; */
}
.printable-pdf {
    width: 595pt;
    font-size: 12px!important;
    color: #000;
}
.printable-pdf .printable-inner {
    padding: 0 10px;
}
.printable-pdf .printable-inner .logo {
    text-align: center;
    padding-top: 20px;
}
.printable-pdf .printable-inner .logo img {
    width: 120px;
    height: auto;
}
.printable-pdf .printable-inner .title h6 {
    text-align: center;
    text-transform: uppercase;
    text-decoration: underline;
    font-weight: 900!important;
}
.printable-pdf .printable-inner .content table {
    border-collapse: collapse;
    border: 1px solid #dddddd;
}
.printable-pdf .printable-inner .content table tr:nth-child(even) {
    background-color: white;
}
.printable-pdf .printable-inner .content table thead {
    background-color: #d9d9d9;
}

/* ====================== IMPREST ================= */
.imprest table {
    font-size: 12px;
}

/* =============== Form styles */
input:focus, textarea:focus, select:focus {
    outline: none!important;
}
textarea, select {
    border: 1px solid #ccc!important;
    padding: 8px!important;
    border-radius: 4px!important;
    font-size: 16px!important;
}
input[type="date"], input[type="text"], input[type="number"], input[type="datetime-local"] {
    border: 1px solid #ccc!important;
    padding: 0 8px!important;
    border-radius: 4px!important;
    font-size: 16px!important;
}
textarea {
    min-height: 50px!important;
}

/* ============ PERFORMANCE ========== */
table.display-objectives tr td, table.display-objectives tr th {
    border: 1px solid #d9d9d9;
}
table.display-objectives tr td p {
    font-size: 12px;
}
table.display-objectives tr td hr {
    border: none;
    border-bottom: 1px solid #e6e6e6;
    margin-left: -10px;
    margin-right: -10px;
}
.print-header {
    background: #000000; color: #FFFFFF;
}

/* ================= form-control ============== */
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* Focus state for form control elements */
.form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}

/* Disabled state for form control elements */
.form-control:disabled {
    background-color: #e9ecef;
    opacity: 1;
}

/* Readonly state for form control elements */
.form-control[readonly] {
    background-color: #e9ecef;
}

/* Sizing styles for form control elements */
.form-control-sm {
    height: calc(1.5em + .5rem + 2px);
    padding: .25rem .5rem;
    font-size: .875rem;
    border-radius: .2rem;
}

.form-control-lg {
    height: calc(1.5em + 1rem + 2px);
    padding: .5rem 1rem;
    font-size: 1.25rem;
    border-radius: .3rem;
}

/* Additional styles for specific input types */
.form-control-file {
    display: block;
    width: 100%;
}

.form-control-range {
    width: 100%;
}

/* Styling for input groups containing form control elements */
.input-group > .form-control,
.input-group > .input-group-append > .btn,
.input-group > .input-group-append > .input-group-text,
.input-group > .input-group-prepend:first-child > .btn:not(:first-child),
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child),
.input-group > .input-group-prepend:not(:first-child) > .btn,
.input-group > .input-group-prepend:not(:first-child) > .input-group-text {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group > .custom-file,
.input-group > .custom-select,
.input-group > .form-control {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group > .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > .form-control:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}