html, body {
    height: 100%;
    background-color: rgb(249,249,249);
}

html {
    overflow: hidden;
}

body, #content {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

#content {
    height: 100%;
}

.dark-overlay::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 2147483647;
}

.hidden {
    visibility: hidden;
}

/* navbar styling */
.navbar {
    background-color: #204394;
}

.nav-link {
    font-size: 15px;
}

.lascon-logo {
    display: flex;
    margin-top: 40px
}

.lascon-logo img {
    display: block;
    width: 200px;
    max-width: 100%;
    max-height: 100%;
    margin-left: auto;
}

/* header styling */
.header {
    flex-direction: row;
    align-items: flex-end;
    padding: 0 30px;
    background-color: #e3e3e3;
    height: 48px;
}

.header .header-title{
    height: 100%;
}

.header .header-title span {
    line-height: 48px;
    font-size: 16px;
    font-weight: 500;
    margin: 0 20px;
    vertical-align: middle;
}

/* footer styling */
.footer {
    flex-direction: row;
    padding: 10px 50px;
    background-color: #ededed;
    border-top: 2px solid #C8C8C8;
}

.footer button {
    margin-left: 20px;
}

.gray-div {
    background-color: rgb(235,235,235);
    margin-bottom: 10px;
    padding: 10px;
}

/* display styling */
.flex-container {
    display: flex;
}

.flex {
    display: flex;
}

.full-height {
    /* 56px = height of nav bar */
    height: calc(100% - 56px);
}

.full-height-min {
    /* 56px = height of nav bar */
    min-height: calc(100% - 56px);
}

.center {
    display: table;
    width: 50%;
    margin: 0 auto!important;
}

.absolute-center {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.darken {
    -webkit-filter: brightness(0.65);
    filter: brightness(0.65);
}

.underline {
    border-bottom: 2px solid #C8C8C8;
}

/* tabs styling */
.tab-content {
    display: flex;
}

.tab-container {
    padding: 20px;
    display: flex;
    flex-flow: column
}

.tab-pane {
    flex-grow: 1;
}

.tab-section-title {
    font-size: 16px;
    font-weight: 600;
}

.tab-title {
    margin-bottom: 20px;
    font-size: 18px;
}

.section-text {
    font-size: 14px
}

/* icon styling */
.icon-button {
    margin-right: 10px;
}

.fa-plus, .fa-minus {
    font-size: 14px!important;
}

/* form styling */
.number-input {
    font-size: 16px;
    width: 50px;
    height: 30px;
    text-align: center;
    padding: 0;
}

.number-input.number-input-sm {
    width: 40px;
    height: 25px;
}

.highlight {
    background-color: rgb(255, 241, 48)!important;
}

/* buttons styling */
.dark-blue {
    background-color: rgba(32, 67, 148, 0.8)!important;
    color: white!important;
}

.dark-blue:hover {
    background-color: rgb(32, 67, 148)!important;
    color: white!important;
}

.alert-link {
    cursor: pointer;
}

.generatedModal .modal-header,.modal-footer {
    border: none;
}

.modal-content.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb
}

.modal-content.warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.btn-primary .button-spinner {
    max-width: 1.25rem;
    max-height: 1.25rem;
}

/* text styling */
.text-bold {
    font-weight: 500;
}

/* dropdown menu styling */
.dropdown-menu {
    font-size: 14px;
}
.dropdown-menu .dropdown-item {
    cursor: pointer;
}
.select2-results {
    font-size: 14px;
}
.select2-search__field, .select2-selection {
    outline: none;
}
.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}

/* validate error styling */
.validator-error {
    font-size: 15px!important;
    color: red;
    white-space: normal;
}

.validator-error label {
    margin: 0;
}

/* Disable number input arrows */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* set cursor to default if button is disabled */
button[disabled] {
    cursor: default;
}

/* Disable bootstrap collapse element animation */
.collapsing {
    -webkit-transition: none;
    transition: none;
    display: none;
}

/*!* scrollbar styling *!*/
/*!* width *!*/
/*::-webkit-scrollbar {*/
/*    width: 10px;*/
/*}*/

/*!* Track *!*/
/*::-webkit-scrollbar-track {*/

/*}*/

/*!* Handle *!*/
/*::-webkit-scrollbar-thumb {*/
/*    background: rgba(105, 105, 105, 0.5);*/
/*}*/

/*!* Handle on hover *!*/
/*::-webkit-scrollbar-thumb:hover {*/
/*    background: rgba(105, 105, 105, 1);*/
/*}*/

.employee-week-status, 
.project-week-status, 
.employee-status,
.project-status,
.customer-status {
    font-weight: 500;
}

/* week status colours */
.week-status.submitted, .employee-week-status.submitted {
    color: #204394;
}
.week-status.filled, .employee-week-status.filled {
    color: #3672ff;
}
.week-status.late, .employee-week-status.late {
    color: #f7cb49;
}
.week-status.rejected, .employee-week-status.rejected {
    color: #dc3545;
}
.week-status.accepted, .employee-week-status.accepted {
    color: rgb(30, 125, 52);
}
.week-status.exported, .employee-week-status.exported {
    color: rgb(108, 20, 181);
}

/* project week status colours */
.project-week-status.open {
    color: #3672ff;
}
.project-week-status.submitted {
    color: #204394;
}
.project-week-status.exported {
    color: rgb(108, 20, 181);
}

/* employee status colours */
.employee-status.active,
.project-status.active,
.customer-status.active {
    color: rgb(30, 125, 52);
}
.employee-status.inactive,
.project-status.inactive,
.customer-status.inactive {
    color: #dc3545;
}

.number-input.filled {
    background-color: rgba(32, 67, 148, .75);
    color: #EBEBEB;
}

.number-input.error {
    background-color: #dc3545;
    color: #EBEBEB;
}

.custom-file-label::after {
    content: "Bladeren";
}

.thead-blue {
    background-color: #46609d;
    color: #fcfcfc;
}

.thead-light-blue {
    background-color: #8193bb;
    color: #fcfcfc;
}

.thead-light-blue:hover {
    background-color: #8193bb!important;
    color: #fcfcfc!important;
}

#hours-table .input-cell, #project-week-table .input-cell {
    width: 60px;
}

#project-week-table td, #project-week-table th, #hours-table td, #hours-table th {
    vertical-align: middle
}

#hours-table, #project-weeks-table {
    font-size: 14px;
}

[data-toggle="collapse"] {
    cursor: pointer;
}

.page-header {
    display: flex;
    width: 100%;
    margin-bottom: 20px;
}

.page-header .page-header-buttons {
    display: flex;
    margin-left: auto;
    gap: 1rem;
    white-space: nowrap;
}

.buttons-mobile {
    column-gap: 1rem;
    row-gap: 0.5rem;
    display: none;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .buttons-mobile {
        display: flex;
    }

    .buttons-desktop {
        display: none!important;
    }
}

.button-primary,
.badge-primary,
.dropdown-item.active {
    background-color: rgba(32, 67, 148, 0.8);
    color: #ffffffff;
}

.button-primary:hover, .button-primary.active {
    background-color: rgba(32, 67, 148);
    color: #ffffffff;
}

.button-success {
    background-color: #28a745;
    color: #ffffffff;
}

.button-success:hover {
    background-color: #218838;
    color: #ffffffff;
}

.button-secondary {
    background-color: #6c757d;
    color: #ffffffff;
}

.button-secondary:hover {
    background-color: #5a6268;
    color: #ffffffff;
}

.button-warning {
    background-color: #ffc107;
    color: #212529;
}

.button-warning:hover {
    background-color: #e0a800;
    color: #212529;
}

.page-title {
    font-size: 20px
}

.nav-link,
.modal button[type="submit"] {
    position: relative;
    box-shadow: none!important;
}

.nav-link span[role="status"],
.modal button[type="submit"] span[role="status"] {
    position: absolute;
    top: calc(50% - 1rem / 2);
    left: calc(50% - 1rem / 2);
    visibility: hidden;
}

.nav-link.loading span[role="status"],
.modal form.loading button[type="submit"] span[role="status"] {
    visibility: visible;
}

.nav-link.loading span[role="text"],
.modal form.loading button[type="submit"] span[role="text"] {
    visibility: hidden;
}
