:root {
    --IV-light-blue: #4cabc1;
    --IV-text: #22333b;
    --IV-shadow: #22333ba6;
}

.message {
    font-weight: 600;
    color: blue;
}

.login-form-error {
    text-align: center;
}

#navbar {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 32px;
    background-color: #4CABC1;
    font-size: 1em;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: white;
    padding: 0 8px 0 8px;
    z-index: 20;
}

#navbar, #navbar * {
    box-sizing: content-box;
}

#navbar a {
    text-decoration: none;
    display: block;
    text-align: center
}

.navbar-version a {
    color: white;
}

a#home-button {
    margin: 15px 8px;
    display: flex;
    align-items: center;
}

#home-title {
    top: auto;
}

#logo-divider {
    width: calc(100% + 16px);
    height: 1px;
    background-color: #80808095;
}

#navbar-button-divider {
    width: calc(100% + 16px);
    height: 4px;
    position: relative;
    left: 0px;
    background-image: linear-gradient(#ffffff00, #80808095);
}

#navbar-button {
    z-index: 3;
    cursor: pointer;
    display: inline-block;
    cursor: pointer;
    width: 48px;
    height: 48px;
}

    #navbar-button .bar {
        height: 2px;
        background-color: white;
        margin: 6px 0;
        transition: 0.4s;
        width: 13px;
    }

    #navbar-button :nth-child(1) {
        transform: translate(18px, 14px) rotate(45deg);
    }

    #navbar-button :nth-child(2) {
        transform: translate(18px, 14px) rotate(-45deg);
    }

    #navbar-button.change :nth-child(1) {
        transform: translate(18px, 22px) rotate(45deg);
    }

    #navbar-button.change :nth-child(2) {
        transform: translate(18px, 6px) rotate(-45deg);
    }

#language-form {
    display: inline;
}

#date-of-data-container {
    cursor: default;
}

#release-notes {
    display: none;
    position: absolute;
    bottom: 10px;
    left: 0px;
    width: 140px;
    height: 80px;
    font-size: 14px;
    text-align: center;
}

.navbar-tab {
    background-color: white;
    padding: 5px;
    border: solid 1px #9d9d9d;
    border-radius: 3px;
    z-index: 15;
}

.navbar-version-button {
    border-radius: 15px;
    width: 20px;
    background-color: #9d9d9d;
    color: #4CABC1;
}

.navbar-brand {
    position: relative;
    left: 48px;
    top: 4px;
    font-size: 14pt;
    font-weight: 600;
    display: none;
}

.navbar-item {
    font-variant: small-caps;
    margin-left: 30px;
}

.navbar-version {
    margin: 5px;
    margin-left: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 10pt;
    position: fixed;
    left: 50px;
    display: flex;
    flex-direction: column;
    bottom: 0px;
    text-align: end;
    width: 70px;
}

.auth-buttons {
    position: relative;
    right: 40px;
    float: left;
    text-align: right;
    top: -90px;
}

.navbar-open {
    left: 50px;
    display: none;
}

#navbar.open .navbar-open {
    display: block;
}

.app-title{
    position: fixed;
    top: 13px;
    color: white;
    width: 82px;
    font-size: 16px
}

.empty-space {
    flex-grow: 1;
}

#no-perms {
    text-align: center;
}

.body-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-y: auto;
    position: fixed;
    top: 0;
    left: 48px; /* Compensate for the navbar */
    height: 100%;
    width: calc(100% - 48px);
    background-color: #f7f7f2;
}

#logo {
    height: 33px;
    border-radius: 16.5px;
    cursor: pointer;
}

.process--report-button,
.process--analyze-button,
.bookmark-delete--button,
.bookmark-find--button,
.bookmark-add--button,
.selection-button,
.export--button,
#setting-submit-button,
#process-upload-button,
.iv-button,
#process-delete-confirm-button {
    display: flex;
    width: 257px;
    height: 30px;
    margin: .5rem 0;
    background-color: #265560;
    color: #fff;
    border-color: #265560;
    border-radius: .3rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    border: none;
    line-height: 100%;
    justify-content: center;
    align-items: center;
}

.bookmark-delete--button:hover,
.bookmark-find--button:hover,
.bookmark-add--button:hover,
.selection-button:hover,
.export--button:hover,
#setting-submit-button:hover,
#process-upload-button:hover,
.iv-button:hover{
        background-color: rgb(22, 33, 38);
        border-color: rgb(22, 33, 38);
        cursor: pointer;
}

.bookmark-delete--button:disabled,
.bookmark-delete--button:disabled:hover,
.iv-button:disabled,
.iv-button:disabled:hover {
    background-color: #aaaaaa;
    border-color: #aaaaaa;
    cursor: default;
}

/* General create resource button */
.create-resource-button div {
    position: relative;
    background-color: rgb(190,190,190);
    width: 70px;
    height: 10px;
    left: calc(50% - 35px);
    top: 72.5px;
}

.create-resource-button :nth-child(2) {
    transform: rotate(90deg);
    top: 62.5px;
}

.create-resource-button :nth-child(3) {
    top: -30px;
    position: relative;
}

/* language styling */

.language-switch-container-open {
    position: absolute;
    top: calc(100vh - 119px);
    left: 23px;
    transition: 0.5s;
}

.language-switch-select-open {
    width: 70px;
    border: white solid 2px;
    background-color: #4CABC1;
    color: white;
    transition: 0.5s;
    text-transform: capitalize;
}

.language-switch-container-closed {
    position: absolute;
    top: calc(100vh - 75px);
    left: 3px;
    transition: 0.5s;
}

.language-switch-select-closed {
    width: 42px;
    border: white solid 2px;
    background-color: #4CABC1;
    color: white;
    transition: 0.5s;
    text-transform: capitalize;
}


.view-Button,
.navbar-Button {
    height: 26px;
    width: 26px;
    float: left;
}

.navbar-conf .navbar-Button {
    height: 20px;
    width: 20px;
    margin-left: 3px;
}

.navbar-app.active .navbar-Button {
    filter: invert(56%) sepia(90%) saturate(450%) hue-rotate(144deg) brightness(99%) contrast(81%);
}

#navbar-apps {
    display: flex;
    flex-direction: column;
    position: relative;
    left: -8px;
    width: 100%;
    height: 100%;
}
.navbar-app {
    border: none;
    display: block;
    position: relative;
    left: 0px;
    z-index: 3;
    cursor: pointer;
    width: 100%;
    background-color: #4CABC1;
    padding: 11px;
    width: calc(100% - 6px);
}

.navbar-conf-options {
    display: none;
    position: absolute;
    left: calc(100% + 5px);
    bottom: 0px;
    min-width: 80px;
    z-index: 15;

}
.navbar-conf.active .navbar-conf-options {
    display: block;
}
    .navbar-conf-option {
        width: 100%;
        background-color: #4cabc1;
        color: white;
        border: none;
        padding: 5px;
        font-size: 14px;
        text-transform: capitalize;
    }
    .navbar-conf-option.active {
        background-color: white;
        color: #4cabc1;
        cursor: default;
        pointer-events: none;
    }
        .navbar-conf-option:hover {
            background-color: #4499ad;
            cursor: pointer;
            color: #fff;
        }

.navbar-app .navbar-button-text {
    text-align: left;
    margin-left: 45px;
}

#guides-meta {
    border-bottom: 1px solid #4cabc1;
}

.navbar-conf .navbar-button-text {
    top: 0px;
}

    .navbar-app:hover {
        background-color: #4499ad;
    }

    .navbar-app.active {
        cursor: default;
        background-color: #f7f7f2;
        outline: none;
    }

        .navbar-app.active .navbar-button-text {
            color: #4CABC1;
        }

.navbar-button-text {
    position: inherit;
    color: #f7f7f2;
    display: none;
    left: 0px;
    top: 3px;
    font-size: 14px;
}

button.view {
    border: none;
    display: block;
    position: absolute;
    left: 0px;
    z-index: 3;
    cursor: pointer;
    width: 100%;
    background-color: #4CABC1;
    padding: 0 11px 0 11px;
}

    button.view.bookmark {
        width: 142px;
    }

    button.view:hover {
        background-color: #4499ad;
    }

    button.view.active {
        cursor: default;
        background-color: #f7f7f2;
        outline: none;
    }

.view.active .view-button-text {
    color: #4CABC1;
}

.view-button-text {
    position: inherit;
    color: #f7f7f2;
    display: none;
    top: 19px;
}

#view-tabs,
#edit-tabs {
    display: block;
    top: 45px;
    width: 100%;
    z-index: 10
}

.tab .view {
    color: #ccc;
}


#popup-background {
    z-index: 12;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000050;
    display: none;
    max-height: 100%;
    transform: translateX(0%) translateY(0%);
    max-width: 100%;
}

.popup-box {
    z-index: 13;
    position: fixed;
    min-width: 400px;
    background-color: #f7f7f2;
    display: none;
    align-content: center;
    flex-direction: column;
    padding: 20px;
    max-height: calc(100% - 150px);
    max-width: calc(100% - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    cursor: auto;
    border-radius: 5px;
}

.popup-title {
    font-size: 20px;
    margin: -10px auto 10px auto;
    width: fit-content;
}

.perspective-info-button {
    width: 13px;
    left: -18px;
    position: absolute;
    cursor: pointer;
}

#navbar-app-buttons {
    border-left: 4px solid #f7f7f2;
    border-top: 1px solid #4cabc1;
    width: calc(100% + 12px);
}

#navbar-app-buttons a {
    height: 31px;
    width: calc(100% - 13px);
    padding: 5px 0px 5px 13px;
    font-size: 12px;
    cursor: pointer;
    flex-direction: row;
    justify-content: space-between;
    display: flex;
    align-items: center;
}

#navbar-app-buttons a:hover {
    background-color: #4499ad;
}

#navbar-app-buttons a .navbar-open:first-of-type {
    text-align: left;
    width: 65px;
}

#navbar-app-buttons img.view-Button {
    height: 18px;
    width: 18px;
}

.active-navbar-button {
    background-color: #f7f7f2 !important;
    color: #4CABC1 !important;
    cursor: default !important;
}

    .active-navbar-button > img {
        filter: invert(56%) sepia(90%) saturate(450%) hue-rotate(144deg) brightness(99%) contrast(81%);
    }

.active-navbar-button * .info {
    display: block !important;
}

.navbar-open .info {
    display: none;
    top: -6px;
    position: relative;
}

.view.active .navbar-open .info {
    display: block;
}

.info-content {
    font-size: 12px;
    background-color: white;
    display: none;
    position: absolute;
    right: 450px;
    bottom: 80px;
    width: 270px;
    border: 1px solid;
    padding: 8px;
    z-index: 15;
    max-height: calc(100% - 98px);
    overflow-y: auto;
    overflow-x: hidden;
}

.info-content-arrow {
    display: none;
}

.info-content-arrow :first-child{
    content: " ";
    position: absolute;
    border-top: 7px solid transparent;
    border-right: none;
    border-left: 7px solid #265560;
    border-bottom: 7px solid transparent;
    z-index:16;
}

.info-content-arrow :last-child {
    content: " ";
    position: absolute;
    border-left: 6px solid white;
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: none;
    z-index: 16;
}

.perspective-info-content {
    font-size: 12px;
    text-align: left;
    background-color: white;
    display: none;
    position: absolute;
    left: 10px;
    max-width: 600px;
    border: 1px solid black;
    color: black;
    padding: 8px;
    margin-top: -5px;
    z-index: 20;
    width: max-content;
}

.perspective-info-content::before {
    content: " ";
    position: absolute;
    left: -7px;
    top: 6px;
    border-top: 7px solid transparent;
    border-left: none;
    border-right: 7px solid #265560;
    border-bottom: 7px solid transparent;
}

.perspective-info-content::after {
    content: " ";
    position: absolute;
    left: -6px;
    top: 7px;
    border-right: 6px solid white;
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-left: none;
}

.p-content {
    box-sizing: border-box;
    background-color: white;
    margin: 10px;
    box-shadow: 0 3.2px 7.2px 0 var(--callout-shadow-color,rgba(0, 0, 0, .132)),0 .6px 1.8px 0 var(--callout-shadow-secondary-color,rgba(0, 0, 0, .108));
}


/* multiselect styling */
.multi-select-text-input {
    display: flex;
    flex-direction: column;
}

.multi-select-text-selected {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.multi-select-text-option, .multi-select-text-none-selected {
    display: inline-flex;
    flex-direction: row;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 3px 5px 5px 0;
    cursor: default;
}

.multi-select-text-none-selected {
    border: 1px solid #c39595;
    color: #5f0202;
    font-size: 12px;
    display: none;
}

.multi-select-text-none-selected:only-child {
    display: inline-flex;
}

.unselect-datapoint {
    transform: rotate(45deg);
    margin: 0px 0px 0px 4px;
    cursor: pointer;
}
