/* || GENERAL STYLES */
[v-cloak] {
    display: none;
}

html, body {
    height: 100%;
}

html {
    background-color: #ECF2F4;
}

body {
    font-family: Roboto;
}

/* || UTILITIES */
.is-family-dmsans {
    font-family: "DM Sans"
}

.line-spacing-3 {
    line-height: 2em;
}

.clean {
    margin-top: 0.625rem;
    margin-bottom: 0.625rem;
}

.medium-opacity {
    opacity: 0.5;
}

.notification.is-white {
    background-color: white;
}

.sub-container {
    margin: 1em;
}

.is-family-comfortaa {
    font-family: Comfortaa;
}

.custom-title {
    color: var(--color-blue-azure-100);
    font-family: Comfortaa, Poppins, 'Text Me One', Roboto;
    letter-spacing: 0.0625rem;
    line-height: 3rem;
}

.dot {
    height: 0.625rem;
    width: 0.625rem;
    border-radius: 50%;
    display: inline-block;
}

.name {
    min-width: 3.75rem;
    border: none;
    border-radius: 0.625rem;
    margin: 0.25em 0.75em 0.25em 0.75em;
}


/* NAV */

.custom-logo {
    margin-left: 1.25rem;
}

.topmenu {
    border-top: 0.25rem solid var(--color-green-default-100);
    padding-bottom: 0.375rem;
}

.nav-bottom {
    height: 0.625rem;
    background: linear-gradient(to top, #ECF2F4 60%, #D0DCDE);
}


/**********************************************************************************/
/**********************************************************************************/
/************************************* PAGES **************************************/
/**********************************************************************************/
/**********************************************************************************/

/* || PAGE form renewal */
#form-renewal input {
    max-width: 70%;
}


/** Temporary work around**/
.turnover-text {
    padding: 0 2.5rem 0 2.5rem;
}

#map-container {
    flex: 1 1 auto;
    height: 100%;
    max-height: 100%;
}

#data-map {
    background: white;
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0rem;
    background-color: #ECF2F4;
    margin-left: 0.625rem;
}

/** Data visualisation **/

#data-viz-map-flexible {
    flex: 1 1 auto;
    height: 100%;
}

.diagnosis-table {
    margin-top: 1.25rem;
    box-sizing: border-box;
    border-collapse: inherit;
    border-radius: 0.6em;
    border: 0.0625rem solid #B3C4C9;
    color: #0D2C54;
    font-size: 1rem;
    font-family: "DM Sans";
    font-weight: 590;
}

.diagnosis-table thead th {
    font-weight: 400;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.diagnosis-table tr, .diagnosis-table tr > td {
    border-collapse: collapse;
    border-spacing: 0rem;
}

.diagnosis-table tbody tr:nth-child(odd) {
    background-color: #ECF2F4;
}

.diagnosis-table tr > td {
    color: #0D2C54;
    border: none;
}

.diagnosis-table tr > th {
    color: #85989D;
    border: none;
}

.diagnosis-table-max-width-cells {
    max-width: 17.5rem;
}

.is-block-centered {
    margin: auto;
}

.workplace {
    padding: 0.5em;
    font-family: "DM Sans";
}

.workplace:hover {
    cursor: pointer;
}

.legend {
    font-family: "DM Sans";
    color: #505b5e;
}

.is-fluid-dashboard {
    padding-left: 3.125rem !important;
    padding-right: 3.125rem !important;
}

.employee-popin, .workplace-popin {
    font-family: Comfortaa, Poppins, 'Text Me One', Roboto;
    letter-spacing: 0.0313rem;
    width: 17.5rem;
    border: 0rem solid #787C72;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.hide {
    display: none;
}

.svg-icon {
    width: 1.5rem;
    height: 1.5rem;
}

/** Search bar**/
.search-bar {
    min-height: 4.375rem;
    background-color: var(--color-neutral-pearl-20);
}

.custom-search-input {
    border-color: var(--color-neutral-grey-100);
    border-radius: 0.6em;
}


.copytoclipboard-tooltip:hover {
    cursor: pointer;
}

.copytoclipboard-tooltip .tooltiptext {
    visibility: hidden;
    width: 8.75rem;
    background-color: #555;
    color: white;
    text-align: center;
    border-radius: 0.375rem;
    padding: 0.3125rem;
    position: absolute;
    z-index: var(--z-index-component);
    bottom: 150%;
    left: 50%;
    margin-left: -4.6875rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.copytoclipboard-tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -0.3125rem;
    border-width: 0.3125rem;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.copytoclipboard-tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}


.navbar a:hover {
    color: var(--color-blue-azure-100);
}

.navbar-menu .navbar-end {
    width: 100%;
    margin-left: unset;
}

.new-feature-tag {
    background-color: #FFF3D6;
    color: #F8B81B;
    padding:0.3125rem 0.625rem 0.3125rem 0.625rem;
    font-weight:700;
    border-radius: 0.3125rem;
}

.perimeter-warning {
    border: 2px solid var(--color-red-default-100);
    border-radius: 20px;
    background-color: var(--color-red-default-20);

    svg {
        stroke: var(--color-red-default-100);
    }

    .perimeter-message {
        color: var(--color-neutral-grey-200);
    }

    a {
        color: var(--color-green-forest-100);
    }
}
