﻿
body {
    margin: 0;
    overflow-x: hidden;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    color: #3c4b64;
    background-color: #ebedef;
}

a {
    text-decoration: none;
    background-color: transparent;
}

    a:hover {
        text-decoration: none;
    }

    a.disabled {
        pointer-events: none;
        cursor: default;
        opacity: 0.5;
    }

.btn {
    transition: all ease-in 0.3s;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

form label.error {
    color: red;
    font-size: 14px;
    font-weight: 500;
}
form input.error {
    border: 1px solid red !important;
}

.validation-errors, .validation-summary-errors {
    background-color: #dc3545 !important;
    padding: 1rem !important;
    margin-bottom: .5rem !important;
    list-style-type: none;
    text-align: center;
    margin: 0;
}

    .validation-summary-errors ul {
        list-style-type: none;
        margin: 0;
    }

    .validation-message, .validation-summary-errors li {
        color: #fff !important;
        font-weight: 500;
    }

.hide-div {
    display: none;
}

/* Buttons */
.btn-pill {
    border-radius: 50em;
}

.btn-square {
    border-radius: 0;
}

/* Input */
input:focus, input:active {
    outline: none !important;
    box-shadow: none;
}

input, .rz-dropdown, select {
    border-radius: 0 !important;
}

.ui-clear {
    height: 2.25rem;
    margin-bottom: 0px !important;
    width: 100% !important;
    border-color: #ccc;
    border-radius: 0;
}
/* Login */
.empty-main {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#account .form-control {
    height: calc(1.5em + .75rem + 34px);
    border-radius: .25rem;
}

#login-form {
    margin-top: 28vh;
}

#login-btn {
    z-index: 3;
    left: 245px;
    top: -98px;
    font-size: 16px;
    margin-top: 0;
    position: relative;
    height: 55px;
    border-radius: 3px;
    width: 117px;
    box-shadow: 0px 12px 35px rgba(26, 42, 110, 0.21);
    opacity: 1;
}

/* Avia ERP */
.app {
    color: #3c4b64;
    background-color: #ebedef;
    --color: #3c4b64;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    min-height: 100vh;
}

[data-letters]:before {
    content: attr(data-letters);
    display: inline-block;
    font-size: 1em;
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    text-align: center;
    border-radius: 50%;
    background: #ff8d00;
    vertical-align: middle;
    margin-right: 0.5em;
    color: white;
}

#sidebar {
    display: flex;
    flex: 0 0 256px;
    flex-direction: column;
    order: -1;
    width: 256px;
    padding: 0;
    box-shadow: none;
    color: #fff;
    background: #3c4b64;
    transition: box-shadow .3s .15s,transform .3s,margin-left .3s,margin-right .3s,width .3s,z-index 0s ease .3s,-webkit-transform .3s;
    margin-left: -256px;
    left: 0;
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 1000;
}

    #sidebar.sidebar-show {
        margin-left: 0;
    }

    #sidebar .sidebar-brand {
        display: flex;
        flex: 0 0 56px;
        align-items: center;
        justify-content: center;
        color: #fff;
        background: rgba(0,0,21,.2);
    }

    #sidebar .sidebar-nav {
        position: relative;
        display: flex;
        flex: 1;
        flex-direction: column;
        padding: 0;
        margin-bottom: 0;
        overflow-x: hidden;
        overflow-y: auto;
        list-style: none;
    }

    #sidebar .sidebar-nav {
        width: inherit;
    }

    #sidebar .sidebar-nav-title {
        padding: .75rem 1rem;
        font-size: 80%;
        font-weight: 700;
        text-transform: uppercase;
        transition: .3s;
        color: rgba(255,255,255,.6);
    }

    #sidebar .sidebar-nav-dropdown-toggle {
        color: rgba(255,255,255,.8);
        display: flex;
        -ms-flex: 1;
        flex: 1;
        -ms-flex-align: center;
        align-items: center;
        padding: .8445rem 1rem;
        text-decoration: none;
        white-space: nowrap;
        transition: background .3s,color .3s;
        text-decoration: none;
    }

        #sidebar .sidebar-nav-dropdown-toggle .fa-chevron-down {
            margin-left: auto;
            font-size: 11px;
            transition: transform .3s,-webkit-transform .3s;
        }

    #sidebar .sidebar-nav-dropdown-items {
        overflow-y: hidden;
        list-style: none;
        padding: 0;
        transition: max-height .3s ease-in-out;
    }

        #sidebar .sidebar-nav-dropdown-items a {
            background: rgba(0,0,21,.2);
        }

            #sidebar .sidebar-nav-dropdown-items a:hover, #sidebar .sidebar-nav-dropdown-items a:active {
                background: rgba(0,0,21,.05);
            }

    #sidebar .sidebar-nav-link {
        color: rgba(255,255,255,.8);
        background: 0 0;
        display: flex;
        -ms-flex: 1;
        flex: 1;
        -ms-flex-align: center;
        align-items: center;
        padding: .8445rem 1rem;
        text-decoration: none;
        white-space: nowrap;
        transition: background .3s,color .3s;
    }

        #sidebar .sidebar-nav-link:hover, #sidebar .sidebar-nav-link.active, #sidebar .sidebar-nav-dropdown-toggle:hover {
            color: #fff;
            background: rgba(255,255,255,.05);
        }

    #sidebar .sidebar-nav-icon {
        flex: 0 0 56px;
        height: 1.09375rem;
        font-size: 1.09375rem;
        text-align: center;
        transition: .3s;
        margin-left: -1rem;
    }

#wrapper {
    transition: margin .3s;
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

    #wrapper.sidebar-shown {
        margin-left: 256px;
    }

.header-fixed {
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    min-height: 56px;
    background: #fff;
    border-bottom: 1px solid #d8dbe0;
}

    .header-fixed .header-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        min-height: 56px;
        padding: 0;
        margin-bottom: 0;
        list-style: none;
    }

        .header-fixed .header-nav .header-nav-item {
            position: relative;
        }

    .header-fixed .header-toggler {
        min-width: 50px;
        font-size: 1.09375rem;
        background-color: transparent;
        border: 0;
        border-radius: .25rem;
        color: rgba(0,0,21,.5);
        border-color: rgba(0,0,21,.7);
        cursor: pointer;
        outline: none;
    }

    .header-fixed .header-title {
        display: flex;
        flex-direction: row;
        align-items: center;
        min-height: 56px;
        margin-bottom: 0;
        padding: 0;
        text-transform: uppercase;
        font-weight: 500;
        font-size: 1rem;
    }

    .header-fixed .header-nav-item-link {
        display: flex;
        align-items: center;
        padding-left: .5rem;
        color: rgba(0,0,21,.7);
        font-size: 1rem;
    }

    .header-fixed .dropdown-menu {
        position: absolute;
        top: 100%;
        z-index: 1000;
        display: none;
        float: left;
        min-width: 10rem;
        padding: .5rem 0;
        font-size: .875rem;
        text-align: left;
        list-style: none;
        background-clip: padding-box;
        border: 1px solid;
        border-radius: .25rem;
        color: #3c4b64;
        background-color: #fff;
        border-color: #d8dbe0;
        right: 0;
        left: auto;
        margin: .125rem 0 0;
    }

        .header-fixed .dropdown-menu.show {
            display: block;
        }

    .header-fixed .dropdown-menu-header {
        margin-bottom: 0;
        font-size: .765625rem;
        white-space: nowrap;
        color: #8a93a2;
        background-color: #ebedef !important;
        padding: .5rem 1.25rem;
    }

    .header-fixed .dropdown-item {
        display: flex;
        align-items: center;
        width: 100%;
        padding: .5rem 1.25rem;
        clear: both;
        font-weight: 400;
        text-align: inherit;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
        color: #4f5d73;
        min-width: 180px;
    }

        .header-fixed .dropdown-item:hover, .header-fixed .dropdown-item:focus {
            text-decoration: none;
            color: #455164;
            background-color: #ebedef;
        }

    .header-fixed .header-toggler:hover,
    .header-fixed .header-nav-item-link:hover {
        color: rgba(0,0,21);
    }

.body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.body-main {
    flex-basis: auto;
    flex-shrink: 0;
    flex-grow: 1;
    min-width: 0;
    padding-top: 2rem;
}

    .body-main .container-fluid {
        padding-right: 30px;
        padding-left: 30px;
    }

.action-icons {
    list-style-type: none;
    padding-left: 0;
    margin: 10px 0;
    display: flex;
    color: #000;
    justify-content: center;
}

    .action-icons li button, .action-icons li a {
        border: none;
        background: none;
        color: #000;
        min-width: 20px!important;
    }
        .action-icons li:not(:first-child) {
            margin-left: 8px;
        }
    .action-icons li button:focus-visible, .action-icons li button:focus {
        outline: 0;
    }
        .action-icons li button:hover, .action-icons li a:hover {
            color: #a7a7a7;
        }


.table {
    background: #fff;
    margin-bottom: 30px;
    border: 1px solid #c6d2d9;
    border-collapse: collapse;
    width: 100%;
}

    .table thead {
        background: #fff;
    }

        .table thead th {
            border-right: none;
            border-bottom: none;
            border-left: none;
            color: #999;
            background-color: #e4eaee;
            border-color: #c6d2d9;
            padding: 0.7rem 0.7143rem;
            vertical-align: middle;
            font-weight: normal;
        }
        .table tfoot td {
            border-right: none;
            border-bottom: none;
            border-left: none;
            color: #6e6e6e;
            background-color: #dcdfe1;
            border-color: #c6d2d9;
            padding: 0.7rem 0.7143rem;
            vertical-align: middle;
            font-weight: normal;
            font-style: italic;
        }

    .table tbody td {
        padding: 0px 0px 0px 10px;
        vertical-align: middle;
        border: 1px solid #c6d2d9;
    }

        .table tbody td time-duration {
            align-items: center;
            justify-content: space-between;
            display: flex;
        }

.timesheet table {
    background: #fff;
    margin-bottom: 0;
    border: 1px solid #c6d2d9;
    border-collapse: collapse;
    width: 100%;
}
    .timesheet table thead {
        background: #fff;
    }
        .timesheet table thead th {
            border-right: none;
            border-bottom: none;
            border-left: none;
            color: #999;
            background-color: #e4eaee;
            border-color: #c6d2d9;
            padding: 0.7rem 0.7143rem;
            vertical-align: middle;
            font-weight: normal;
        }
    .timesheet table tbody td {
        padding: 20px 10px;
        vertical-align: middle;
        border: 1px solid #c6d2d9;
        text-align: center;
        position: relative;
    }
        .timesheet table tbody td time-duration {
            align-items: center;
            justify-content: space-between;
            display: flex;
        }
    .timesheet table tbody td .badge {
        position: absolute;
        top: 5px;
        right: 5px;
        color: white;
    }
.timesheet input.timepicker {
    width: 50px;
    text-align: center;
    font-size: 12px;
}
.timesheet time-duration .type {
    cursor: pointer;
}
    .timesheet time-duration .type.disabled {
        pointer-events: none;
        color: #3c4b648a;
    }
.timesheet time-duration .type-menu {
    display: none;
}
.timesheet .type:hover .type-menu {
    display: block;
}
.timesheet time-duration .type-menu {
    position: absolute;
    border: 1px solid #666;
    background: #fff;
    text-transform: uppercase;
    font-size: 13px;
    text-align: center;
    z-index: 100;
    width: 100%;
}
    .timesheet time-duration .type-menu.open-up {
        top: auto;
        bottom: 70%;
    }
.timesheet time-duration .type-option {
    padding: 5px 3px;
}
.timesheet time-duration .type-option:hover {
    background: #c6d2d9;
}
.timesheet label.shift {
    text-transform: uppercase;
    font-size: 11px;
    text-align: center;
    margin-bottom: 2px;
}
.ui-timepicker-standard {
    font-size: 11px;
    z-index: 101!important;
}
.picker {
    justify-content: end;
    display: flex;
    margin-bottom: 15px;
}
#dateRangePicker {
    height: 32px;
    width: 265px !important;
    outline: none;
    border: 1px solid #c6d2d9;
    color: #666;
    text-transform: none;
    padding-left: 36px;
    border-right: 0;
    background: #fff;
    cursor: pointer;
    padding: 5px 10px;
}
.btn-control {
    border-radius: 0;
    border: 1px solid #c6d2d9;
    margin: 0;
    height: 32px;
    padding-top: 4px;
    color: #666;
    font-weight: normal;
    font-size: 15px;
}
.timesheet-top {
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 57px;
    z-index: 9;
    background: #ebedef;
    padding-top: 9px;
}
    .timesheet-top #searchInput {
        width: 300px;
        margin-right: 15px;
        height: 32px;
        font-size: 13px;
    }
.timesheet {
    margin-bottom: 300px;
}
#saveTimeSheet {
    height: 32px;
    border-radius: 0;
    padding-top: 4px;
    font-size: 15px;
}
.timesheet .dirty {
    background: #00e7ff14 !important;
}
.header-button {
    display: flex;
    align-items: center;
    margin-left: 61px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
}
.tab-employees .tab-pane {
    padding-left: 0;
    margin-left: 0;
}
.tab-content .tab-pane {
    background: white;
    padding: 5px 30px;
    border: 1px solid #c6d2d9;
    padding-bottom: 20px;
}
    .tab-content .tab-pane button[type=submit] {
        min-width: 170px;
    }
    .tab-content .tab-pane button {
        text-transform: uppercase;
        border-radius: 0;
    }
        .tab-content .tab-pane button .filter-option-inner-inner {
            text-transform: none;
        }
.nav-tabs {
    border-bottom: 0;
    text-transform: uppercase;
    font-weight: 500;
}
    .nav-tabs a {
        color: #495057;
    }
    .nav-tabs .nav-link.active {
        border: 1px solid #c6d2d9;
        border-bottom: 0;
        border-radius: 0;
        background: #e4eaee;
    }

/* Spinner and loader */
.spinner-container {
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #1b6ec2;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
}

#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.2);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.employees-top, .search-top {
    justify-content: right;
    display: flex;
}
    .employees-top #searchInput, .search-top #searchInput {
        width: 300px;
        margin-bottom: 15px;
        height: 32px;
        font-size: 13px;
    }
    .search-top #searchInput {
        height: calc(1.5em + 0.75rem + 2px);
        padding: 0.375rem 0.75rem;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        margin-top: 15px;
    }

.employeets {
    text-align: center;
    margin-bottom: 30px;
}
.employee-timesheet-header, .employee-absences-header {
    display: flex;
}
    .employee-timesheet-header label, .employee-absences-header label {
        margin-top: 17px;
        text-transform: uppercase;
        font-size: 15px;
        font-weight: 500;
    }
    .employee-timesheet-header #monthYearPicker, .employee-absences-header #monthYearPicker, .employee-absences-header #yearPicker {
        margin: 10px;
        margin-left: 17px;
        text-transform: uppercase;
        font-size: 15px;
        font-weight: 500;
    }
.span-status {
    text-align: center;
    min-width: 100px;
    width: 10%;
}
.span-status span {
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    padding: 6px 12px;
    color: #fff;
    text-align: center;
    font-size: 14px;
}

.modal .errors {
    color: red;
    font-weight: 500;
    text-align: center;
}
    .modal .errors ul {
        list-style: none;
        padding-left: 0;
    }

.timesheet-item .extra {
    margin-top: 10px;
}
    .timesheet-item .extra.disabled {
        pointer-events: none;
        opacity: 0.8;
    }
.timesheet-item .additional-work {
    width: 100%;
    font-size: 11px;
}

.timesheet-item .extra:hover .additional-wrapper {
    display: flex;
    width: 400px;
}

.timesheet-item .absence {
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
    color: #0090ff;
}
.timesheet-item .additional-wrapper {
    font-size: 13px;
    font-weight: 600;
    color: #0090ff;
    display: none;
    position: absolute;
    z-index: 100;
    border: 1px solid #000;
    background: white;
    margin-top: 19px;
    margin-left: 7px;
    color: #000;
    box-shadow: 0 5px 10px #0000001a;
    max-width: 415px;
    padding-bottom: 10px;
}
    .timesheet-item .additional-wrapper .additional-title {
        background: #ccc;
        padding: 3px 12px;
        margin-bottom: 8px;
    }
    .timesheet-item .additional-wrapper input[type="number"] {
        text-align: right;
        width: 100%;
    }

    .timesheet-item .additional-wrapper .reason {
        width: 69%;
    }

#employeesTable tbody td {
    padding: 10px !important;
}

table .total {
    font-weight: 700;
}
table .total-additional {
    cursor: pointer;
    font-style: italic;
}
#optionEmployee, #optionGroupLead, #optionBank, #optionVacationYear, #optionAbsenceStatusType, #optionEmployeeStatus, #optionSafetyAtWork, #optionJobRoles, #optionStatus, #optionWorkTool {
    margin-top: 10px;
    border-radius: 0;
    margin-bottom: 15px;
}
#employment #optionBank {
    margin-top: 0px;
    margin-bottom: 0px;
}
#dowloadPdf {
    margin-top: 10px;
    float: right;
    border-radius: 0;
}

#salaryCalculation, #bankSalaryCalculation {
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
}

    #salaryCalculation .table tbody td, #bankSalaryCalculation .table tbody td {
        padding: 0px 5px 0px 5px;
    }
.danger-cell {
    background: #ffdada;
}
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.pending input:checked + .slider {
    background-color: #f39321;
}
.finished input:checked + .slider {
    background-color: #19b957;
}

.pending-border {
    border-color: #f39321;
}

.finished-border {
    border-color: #19b957;
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.contract-actions-wrapper, .salary-misc-actions-wrapper {
    width: 100%;
    text-align: end;
    margin-bottom: 10px;
}
#downloadExcel {
    height: 36.5px;
    border-radius: 0;
    padding-top: 5px;
    font-size: 15px;
    margin-top: 10px;
    background: #1D6F42;
    border-color: #0f3922;
}

#vacationOverview .tab-table {
    padding: 0 !important;
}
#vacationOverview .nav-link.active {
    color: #495057;
    background-color: #e4eaee;
    border-color: #c6d2d9;
}
#vacationOverview .nav-link {
    color: #495057;
    border-radius: 0;
}
#vacationOverview .badge {
    font-size: 14px;
    font-weight: normal;
    margin-right: 5px;
    min-width: 27px;
}
#vacationOverview .edit-vacation {
    margin-left: 5px;
}
#vacationOverview .tab-content .tab-pane {
    border: 0px;
    min-height: 300px;
}
#vacationOverview .table tr, #vacationsTable tr, #employeeVacationOverviewTable tr, #workToolTable tr, #safetyAtWorkTable tr {
    height: 42px;
}
.edit-vacation-item {
    cursor: pointer;
}
.center {
    text-align: center;
}
.table .table-button, .table .table-holiday-button {
    width: 60px;
    border: 1px solid #000;
    padding: 5px;
    display: inline-block;
}
.table .table-button.services {
    border: 1px solid #000!important;
    color: #000;
}
button:focus {
    outline: none;
}
.add-vacation-year {
    text-transform: uppercase;
    font-size: 12px;
    cursor: pointer;
}
.configurations-wrapper {
    background: white;
    padding: 30px;
}
.configurations-wrapper label {
    font-weight:bold;
    padding-top:5px;
}
    .configurations-wrapper #saveConfigurations {
        border-radius: 0;
        margin-top: 30px;
    }

#absenceTable tr {
    height: 42px;
}
#absenceTable .sub-title, #vacationsTable .sub-title, #safetyAtWorkTable .sub-title, #servicesTable .sub-title{
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 500;
    color: #4b4b4b;
}
.approveresList button {
    text-transform: none!important;
}
.bootstrap-select .dropdown-toggle:focus, .bootstrap-select > select.mobile-device:focus + .dropdown-toggle {
    outline: none!important;
}
#serviceCommentsModal .card {
    border-radius: 0;
    margin-bottom: 0.5rem;
}
#serviceCommentsModal .card-header {
    font-size: 12px;
    display: flex;
    justify-content: space-between;
}
#serviceCommentsModal .card-body {
    font-size: 13px;
    padding: 1rem;
}
#serviceCommentsModal .add-comment {
    padding-top: 1rem;
}
#serviceCommentsModal .add-comment textarea {
    width: 100%;
}
    #serviceCommentsModal #sendComment {
        margin-top: 1rem;
    }

#serviceCommentsModal .cards-wrapper {
    overflow-y: auto;
    max-height: 60vh;
}

.employee-absences-header .bootstrap-select {
    margin-top: 10px;
    margin-bottom: 15px;
}
#vacationsTable .weekend {
    background-color: #ffecdc;
}
#vacationsTable .vacation {
    background-color: #0ebd00;
    cursor: help;
}