.main-container-title {
    font-family: Comfortaa, Poppins, 'Text Me One', Roboto;
    letter-spacing: 0.0625rem;
    color: var(--color-sky-blue);
}

.container-content {
    font-family: "DM Sans";
}

/**
	Employee's table
**/
.table-employees {
    margin-bottom: 1.875rem;
    background-color: transparent;
    border-radius: 1em;
    table-layout: fixed;
}

.table-employees > thead > tr {
    height: 3.75rem;
}

.table-employees > thead > tr > th {
    padding: 1rem 1.25rem;
    border-bottom: none;
    background-color: #E4EBED;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: Inter;
    text-transform: uppercase;
    text-align: center;
    color: #687182;
}
.table-employees tbody tr td a {
    color: #687182;
}
.table-employees td.overflow-clip {
    line-height: 1;
}

.table-employees > thead > tr > th.has-text-centered {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.table-employees > thead > tr > th .icon-sort {
    margin-left: 0.625rem;
    height: 1rem;
    width: 1rem;
}

.table-employees > thead > tr > th > div {
    display: flex;
}

.table-employees .invisible {
    height: 1.875rem;
}

.table-employees .invisible > th {
    background-color: #ECF0F3 !important;
}

.table-employees > tbody > tr,
.table-employees > tfoot > tr {
    min-height: 3.75rem;
    background-color: #fff;
    color: #687182;
}

.table-employees > tbody > tr > td {
    border-bottom: 0.0625rem solid #F7F9FA;
    padding-top: 0.625rem;
    font-size: 0.90em;
    color: #687182;
}

.table-employees > tbody > tr > td:not(.td-clickable) {
    padding: 20px;
    font-weight: 500;
}

.table-employees .left-corner {
    border-top-left-radius: 0.625rem;
}

.table-employees .right-corner {
    border-top-right-radius: 0.625rem;
}

.table-employees .bottom-left-corner {
    border-bottom-left-radius: 1em;
}

.table-employees .bottom-right-corner {
    border-bottom-right-radius: 1em;
}

table.table-employees thead tr th.sort {
    cursor: pointer;
}

.table-employees th.is-8 {
    width: 8%;
}

.table-employees th.is-10 {
    width: 10%;
}

.table-employees th.is-15 {
    width: 15%;
}

.mtn-5 {
    margin-top: -0.3125rem;
}

.table-employees .column-lg,
.table-employees .column-lg-sm {
    width: 20%;
}

.table-employees .column-md,
.table-employees .column-md-lg {
    width: 15%;
}

.table-employees .column-sm {
    width: 10%;
}

@media screen and (max-width: 1280px) {
    .table-employees > thead > tr > th .icon-sort {
        margin-left: 0.313rem;
    }

    .table-employees .column-lg {
        width: 15%;
    }

    .table-employees .column-lg-sm,
    .table-employees .column-md {
        width: 10%;
    }
}

/**
 Dashboard
**/

#home-dashboard .bucket {
    min-height: 12.5rem;
    box-shadow: 0 0.0625rem 0.1875rem 0 rgb(0 0 0 / 10%), 0 0.0625rem 0.125rem 0 rgb(0 0 0 / 6%);
    margin-bottom: 0.50em !important;
    padding-top: 0.75em;
    padding-bottom: 0.75em;
}

.content {
    color: #505b5e;
}

/* Still used on unkmapied-webapp-client/src/main/resources/templates/pages/internal_mobility/closest_employees/index_ref.html
However I think this page is not used anymore
*/
.searchbar {
    border-radius: 0.6em;
    min-height: 4.375rem;
    background-color: #E4EBED;
}

.bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    padding-right: 0.9375rem;
    padding-bottom: 0.625rem;
}

.bottom-button {
    border-color: #76AE32;
    border-width: 0.125rem;
    color: #76AE32;
}

.bottom-button:hover {
    border-color: #6fa42f;
}

.is-text-green {
    color: #76AE32;
}

.full-height {
    position: relative;
    height: 100%
}

.is-32 {
    flex: none;
    width: 32%;
}

/* Use to deactivate a popin or a tooltip with visible overlay on the page that make it visible */
.modal-overlay-dashboard {
    background: rgba(104, 113, 130, 0.51) !important;
    height: 100%;
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: var(--z-index-modal);
}

/* Use to deactivate a popin or a tooltip but without visible overlay on the page */
.modal-overlay {
    background: rgba(11, 11, 27, 0.0) !important;
    height: 100%;
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: var(--z-index-modal);
}

.worplaces-menu-box {
    position: absolute;
    top: 0;
    bottom: 12.5rem;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #fff;
    width: 43.8125rem;
    height: 13.3125rem;
    z-index: var(--z-index-modal);
    border: 0.0625rem solid #D9D9D9;
    border-radius: 0.625rem;
}

.workplaces-list {
    max-height: 12.5rem;
    overflow: auto;
    overflow-x: hidden;
    margin-bottom: 2.1875rem;
    background-color: #fff;
    border: 0.0625rem solid #D9D9D9;
    border-radius: 0.3125rem;
}

.workplaces-list .workplace {
    text-align: left;
    font-family: Inter;
    padding: 0.5625rem;
    width: 28.125rem;
}

.workplaces-list .workplace:hover {
    background-color: #F0F2F3;
    border-radius: 0.625rem;
}

.workplaces-list .workplace-name {
    font-weight: 700;
    padding: 0 0.4em;
}

.workplaces-list .workplace-address {
    font-weight: 400;
    padding: 0 0.4em;
    max-width: 100%;
    color: #687182;
}

.worplaces-menu-box .main-container-title {
    text-align: center;
}

.worplaces-menu-box .control {
    width: 22.875rem;
    margin: auto;
}

.closepopup-button-positionning {
    position: absolute;
    right: 2.6rem;
    top: 1.525rem;
    z-index: var(--z-index-modal);
    background-color: white !important;
    border-radius: 100%;
}

.closepopup-button {
    border: 0;
    background: url('/assets/images/icons/close_dashboard_popup.svg') no-repeat top left;
    background-size: cover;
    height: 1.875rem;
    width: 1.875rem;
    cursor: pointer;
}

/**
	Advanced filters
**/

.table-advanced-filter {
    width: 100%;
    position: relative;
    max-height: 2rem;
}

.table-advanced-filter .advanced-filter-input {
    width: 16.25rem;
    height: 1.875rem;
    padding-bottom: 0.5rem;
    border-radius: 0.6em;
    font-size: 0.70rem;
}

.table-advanced-filter .is-success {
    background-color: #76AE32;
    color: #fff;
}

.search-filter {
    font-size: 0.75rem;
    font-family: Inter;
    color: #687182;
    text-align: center;
    border-radius: 0.4em;
    background-color: #fff;
    padding: 0.5rem 0.375rem 0.375rem 0.375rem;
    font-weight: 500;
}

.search-filter:hover {
    cursor: pointer;
}

.table-advanced-filter .counter {
    position: absolute;
    top: -0.625rem;
    right: -0.5rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    text-align: center;
    display: block;
}

.search-filter-box {
    background-color: #fff;
}

.search-filter-box-modal {
    min-width: 17.9375rem;
    min-height: 7.0625rem;
    z-index: var(--z-index-modal);
    position: absolute;
    border: 0.0625rem solid #D9D9D9;
    border-radius: 0.5em;
}


.search-filter-box-modal .dropdown-content {
    max-height: calc(100vh / 3);
}

.search-filter-box-margin {
    margin-top: -1.25rem;
    /** Fix for .counter**/
}

.search-filter-text {
    font-size: 0.75rem;
    font-family: Inter;
    color: #687182;
    text-align: center;
    font-weight: 500;
}

.workplaces-checkbox {
    display: flex;
    align-items: center;
    gap: 0.1875rem;
}

.custom-dropdown {
    position: relative;
    vertical-align: top;
}


.input-icons i {
    position: absolute;
}

.input-icons {
    width: 100%;
    margin-bottom: 0.625rem;
}

.input-field {
    width: 100%;
    padding: 0.625rem;
    text-align: center;
}

#filter-mobility-mode {
    min-width: 16.5625rem;
}

#transportation-mode-filter {
    display: flex;
}

.transportation-mode-icon-filter {
    width: 3.125rem;
    height: 3.125rem;
    border: 0.0625rem solid #fff;
    border-radius: 50%;
    margin: 0.1em;
    padding: 0.1em;
}

.is-transportation-mode-selected {
    border: 0.125rem solid var(--color-sky-blue);
}

.transportation-mode-icon-filter:hover {
    cursor: pointer;
}

* {
    scrollbar-width: 0.9375rem;
    scrollbar-color: #84848426;
}
::-webkit-scrollbar {
    width: 0.9375rem;
    border-radius: 0.625rem;
    background-color: #84848426;
}
::-webkit-scrollbar-thumb {
    width: 0.9375rem;
    border-radius: 0.625rem;
    background-color: #A1A1A1;
}

.scroll.scroll-div {
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.error-message {
    color: red !important;
    text-align: left;
    font-size: 0.75rem;
    line-height: 1rem;
}

.error-message-hidden {
    visibility: hidden;
    display: none;
}

.error-input::placeholder {
    font-family: Inter;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1rem;
    color: red;
}


.closebox-button {
    border: 0;
    position: absolute;
    background: url('/assets/images/icons/closebox.svg') no-repeat top left;
    right: 0.25rem;
    top: 0.25rem;
    height: 1.0625rem;
    width: 1.0625rem;
}

.employee-menu-title {
    font-size: 1em;
    font-weight: 600;
    font-family: Inter;
    text-transform: uppercase;
    color: #687182;
    text-align: left;
}

.is-clickable.employee-name:hover .matricule {
    color: rgba(46, 169, 232, 1) !important;
}

.is-clickable.employee-name:hover .matricule svg.icon {
    stroke: rgba(46, 169, 232, 1);
}

.is-clickable.employee-name:not(hover) .matricule svg.icon {
    stroke: #AFAFAF;
}

/**
	Sites plus proches d'un salarié
**/

.selected-tab * {
    color: var(--color-light-blue) !important;
}

.closest-workplaces-list {
    max-height: calc(-14.1875rem + 100vh);
    width: 100%;
    overflow: auto;
}

.swaps-list {
    height: 100%;
    width: 100%;
}

.closest-workplace-menu-box {
    position: relative;
    padding: 0.4em;
    border-radius: 0.5em;
    font-weight: 500;
    background-color: white;
    border: 1px solid var(--color-grey-neutral);
    box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.05);
}

.workplace-box-name {
    font-weight: 600;
    color: #687182;
}

.workplace-box-adr {
    color: #A5AAB2;
    max-width: 100%;
    white-space: pre-wrap;
}

.workplace-box-stat {
    color: #687182;
}

.gain-value {
    color: #0B7D76;
    white-space: nowrap;
}

.workplace-multi-menu-button {
    border: 0;
    position: absolute;
    right: 0.625rem;
    top: 1.25rem;
}

.rank-box {
    position: relative;
}

.rank-image {
    min-width: 1.1875rem;
    min-height: 1.875rem;
}

.rank-counter {
    font-weight: 600;
    color: var(--color-light-blue);
    position: absolute;
    top: -0.625rem;
    left: 0.3125rem;
}

.gain-box {
    padding: 0.0625rem 0.0938rem;
    margin: 0.125rem;
    border-radius: 0.3125rem;
    background-color: #CFEBE9;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3125rem;
}

.gain-box svg {
    stroke: #0B7D76;
}

.jobs-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.1875rem;
}

.jobs-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 0.1875rem;
}

.stat-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.3125rem;
}

.bold-and-grey {
    font-weight: 500;
    color: #687182;
}

.flex-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3125rem;
}

.filters-container {
    display: block;
}

.dropdown-content {
    max-height: 9em;
    overflow: auto;
}

.workplaces-list-selection {
    max-height: 20em;
}

#filters-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 0.1875rem;
}


.tooltip-not-clickable {
    cursor: default !important;
}

/* still required for other things than mobility */
.mobility-tag {
    display: inline-block;
    width: max-content;
}

/**
	Demande de mobilité popup
**/

.mobility-tooltip-box {
    z-index: var(--z-index-tooltip);
    width: 47.5rem;
    font-weight: 500;
    padding: 2rem 2rem;
}

.mobility-popup-title {
    color: var(--color-light-blue) !important;
    font-weight: 700;
}

.mobility-popup-question {
    font-weight: 500;
}

.popup .mobility-popup-question-disabled * {
    font-weight: 500;
    color: #A5AAB2;
}

/* SHOULD DISAPPEAR WHEN NEW FILTERS WILL BE AVAILABLE */
.mobility-popup-button.is-mobility-mode-selected {
    border: 0.125rem solid var(--color-light-blue) !important;
    border-radius: 0.625rem;
}

.mobility-popup-button:not(.is-mobility-mode-selected) {
    border: 0.125rem solid white !important;
    border-radius: 0.625rem;
}

/* SHOULD DISAPPEAR WHEN NEW FILTERS WILL BE AVAILABLE */

a.is-disabled {
    pointer-events: none;
    cursor: default;
}

.is-background-light-blue {
    background-color: #D1D7FA !important;
}

.is-color-dark-blue {
    color: #192DBC !important;
}

.popup {
    position: fixed;
    background-color: #fff;
    z-index: var(--z-index-modal);
    border: 0.0625rem solid #D9D9D9;
    border-radius: 0.5em;
    color: #687182;
    margin: auto;
}

.information-tooltip {
    text-transform: none;
    padding-right: 2rem;
}

.input-error {
    outline: none !important;
    border: 0.0625rem solid red;
    color: red;
}

.input-error:focus {
    outline: none !important;
    border: 0.0625rem solid red;
    box-shadow: none;
}

.auto-size-img {
    height: auto;
    width: 100%;
}

.z-index-component {
    z-index: var(--z-index-component);
}

.z-index-map {
    z-index: var(--z-index-map);
}


.z-index-sticky {
    z-index: var(--z-index-sticky);
}

.z-index-modal {
    z-index: var(--z-index-modal);
}

.z-index-tooltip {
    z-index: var(--z-index-tooltip);
}

.z-index-onboarding {
    z-index: var(--z-index-onboarding);
}

.dropdown-menu {
    z-index: var(--z-index-modal);
}

.button:focus:not(:active) {
    box-shadow: none;
}

.heading {
    letter-spacing: normal;
}

.navbar-end {
    .formation a {
        padding: 0.5rem 0.5rem;
        &:hover {
            background-color: #DDF1FB;
            border-radius: 50%;

            svg {
                fill: var(--color-sky-blue);
            }
        }
    }

    .navbar-item.has-dropdown {
        padding: 0.5rem 0.5rem;
    }

    .profile a.navbar-item.profile-icon {
        padding: 0.5rem 0.5rem;
        &:hover {
            background-color: #DDF1FB;
            border-radius: 50%;
            svg path {
                stroke: var(--color-sky-blue);
            }
        }
    }
}

.navbar-end,
.navbar-item.is-hoverable {
    input {
        background: none;
        color: inherit;
        border: none;
        padding: 0;
        font: inherit;
        cursor: pointer;
        outline: inherit;
    }
}

.navbar-brand.tablet {
    .profile-icon.is-active,
    a.navbar-item:hover {
        background-color: #DDF1FB;
        border-radius: 50%;
        svg path {
            stroke: var(--color-sky-blue);
        }
    }
}

.navbar-dropdown {
    color: var(--color-grey-200) !important;

    .navbar-item {
        &.is-sky-blue {
            color: var(--color-sky-blue)!important;
            background-color: white!important;
        }
        &:not(.is-sky-blue),
        input {
            &:hover {
                color: var(--color-grey-200) !important;
                text-shadow: 0 0 .65px var(--color-grey-200), 0 0 .65px var(--color-grey-200);
            }
        }
    }
}

.navbar-item.has-dropdown:hover .navbar-tab.navbar-item {
    color: var(--color-sky-blue);
    &.profile-icon {
        background-color: #DDF1FB;
        border-radius: 50%;
        svg path {
            stroke: var(--color-sky-blue);
        }
    }
}

@media screen and (min-width: 960px) {
    .navbar-dropdown a.navbar-item {
        padding-right: 1rem;
    }
}

.cursor-pointer {
    cursor: pointer;
}

.with-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.separator {
    border-bottom: 0.0625rem solid rgba(225, 227, 230, 1);
}

.modal-box {
    border-radius: 0.625rem;
    border: 0.0625rem solid var(--color-grey-50);
    padding: 0.9375rem;

    ul {
        padding-left: 2.5rem;
        margin: 1.1rem 0;
        list-style-type: disc;
    }
}

.date-window {
    border-radius: 0.313rem !important;
    font-size: 0.875rem;
    vertical-align: baseline;
}

.textarea {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.input[disabled], .textarea[disabled] {
    border-color: var(--color-grey-10);
    background-color: var(--color-grey-10);
    color: var(--color-grey-50);

    &::placeholder {
        color: var(--color-grey-50);
    }
}