:root {
    --primary-bg-color: #989984;
    --primary-bg-color-gradient: #cccca0;
    --secondary-bg-color-gradient: #bbbba0;
    --grid-selected-color: #dfdfbb;
    --primary-nav-color: #7f676c;
    --primary-nav-color-gradient: #a58a8f;
    --primary-nav-color-after: #989984;
    --primary-nav-color-after-gradient: #cccca0;
    --secondary-nav-color: #989984;
    --secondary-nav-text-color: #ffffff;
    --secondary-nav-color-gradient: #cccca0;
    --secondary-nav-color-after: #7f676c;
    --secondary-nav-color-after-gradient: #a58a8f;
    --primary-btn-text-color: #ffffff;
    --primary-btn-color: #705d61;
    --primary-btn-color-gradient: #c7acb1;
    --secondary-btn-color: #AEAEAE;
    --secondary-btn-color-gradient: #C5C5C5;
    --primary-card-color: #424242;
    --primary-card-border-color: #dbdad7;
    --footer-color: #b2b2b2;
    --footer-color-gradient: #e4e4e4;
    --footer-text-color: #000000;
    --primary-card-border-color: #dbdad7;
    --danger-btn-color-gradient: #b04559;
    --header-text-color: #000000;
    --green: #69dab0;
    --dark-green: #24968a;
    --red: #f22626;
    --yellow: #fcff63;
    --yellow-green: #d3fc03;
    --yellow-orange: #fcad03;
    --dark-yellow: #ffcc00;
    --orange: #ff9100;
    --orange-red: #ff6a00;
    --dark-orange: #ff7700;
    --white: #ffffff;
    --off-white: #f7f7f2;
    --white-grey: #f1f1f1;
    --light-grey: #b2b2b2;
    --light-grey-gradient: #e4e4e4;
    --grey: #808080;
    --link-color: #3a95c9;
    --black: #000000;
    --blackish: #343434;
    --xl-gap: 12rem;
    --sm-gap: calc(var(--xl-gap) / 6);
    --md-gap: calc(var(--xl-gap) / 3);
    --lg-gap: calc(var(--xl-gap) / 2);
    --xs-gap: calc(var(--xl-gap) / 12);
    --sm-screen: 576px;
    --md-screen: 768px;
    --lg-screen: 992px;
    --xl-screen: 1200px;
    --xxl-screen: 1400px;
    --xl-font: 1.6rem;
    --lg-font: 1.2rem;
    --sm-font: 0.85rem;
    --xxs-font: 0.78rem;
}

.window-2-col-form-width {
    width: 350px;
    height: 300px;
}

@media (min-width: 768px) {
    .window-2-col-form-width {
        width: 730px;
        height: auto;
    }
}

@media print {
    .noprint {
        visibility: hidden;
    }
}

.thank-you {
    display: grid;
    align-content: center;
    justify-content: center;
    height: 100%;
    text-align:center;
}

.thank-you__h1 {
    font-size: 2rem;
}

.lg-font {
    font-size: var(--lg-font);
}

.sm-font {
    font-size: var(--sm-font);
    font-weight: 500;
}

.xxs-font {
    font-size: var(--xxs-font);
    font-weight: 500;
}

.risk-icon {
    font-size: var(--xl-font);
    width: 16px;
}

.event:not(:last-child) {
    margin-right: 5px;
}

.event--text-handled {
    text-decoration: line-through;
}

.event--handled {
    pointer-events: none;
}

.event--not-handled {
    color: var(--dark-green);
}

.event__fa {
    cursor: pointer;
}

html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

.box:before,
.box:after {
    content: '';
    display: table;
}

.box:after {
    clear: both;
}

html, body {
    font-family: 'Montserrat',Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.2rem;
    letter-spacing: 0.02rem;
    height: 100%;
    margin: 0;
}

button, a {
    cursor: pointer;
}

button {
    font-family: 'Montserrat';
}

.main {
    width: min(95%, 140rem);
    box-shadow: 0 0 5px 0;
    margin-left: auto;
    margin-right: auto;
    min-height: 100%;
    background-color: var(--off-white);
}

.main__top {
    display: grid;
    grid-template-areas:
        'logo logo logo logo user user'
        'components components components components components components';
    background-image: linear-gradient(to bottom right, var(--primary-bg-color), var(--primary-bg-color-gradient));
    padding: 1rem 1rem 2rem 1rem;
    color: var(--header-text-color);
}

.main__logo-container {
    grid-area: logo;
    display: flex;
    align-items: center;
    min-height: 60px;
}

.main__user {
    grid-area: user;
    place-self: self-start end;
}

.main__components {
    margin-top: var(--xs-gap);
    grid-area: components;
}

.main__logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.main__visited {
    margin-top: var(--xs-gap);
}

.system-info {
    padding: 0.5rem 1rem;
    background: var(--white);
    color: #878787;
}

.system-info__table {
    table-layout: fixed;
    width: 100%;
    margin: 5px
}

.system-info__td {
    padding-bottom: 10px;
}

.system-info__td--icon {
    width: 5%;
}

.hidden {
    display: none !important;
}

.user {
}

.fit-content-width {
    width: fit-content;
}

.fit-content-height {
    height: fit-content;
}

.grid-search {
    margin-left: auto;
}

.user__span {
    margin: 0 1rem;
}

.relative {
    position: relative;
}

.unread-messages {
    position: absolute;
    color: var(--white);
    min-height: 20px;
    min-width: 20px;
    top: 3px;
    background-color: var(--red);
    padding: 2px;
    border-radius: 50%;
    font-size: 0.7rem;
}

.container {
    display: grid;
    grid-row-gap: var(--sm-gap);
}

.container-xs {
    max-width: 300px;
}

.container-sm {
    max-width: 500px;
}

.container-md {
    max-width: 700px;
}

.container-xs--chart {
    min-height: 200px;
    min-width: 280px;
    overflow: hidden;
    padding: 1rem 1rem 0 1rem;
    background-color: var(--white);
}

.container-sm--chart {
    min-height: 250px;
    min-width: 500px;
    overflow: hidden;
    padding: 1rem 1rem 0 1rem;
    background-color: var(--white);
}

.container-md--chart {
    height: 400px;
    width: 100%;
    overflow: hidden;
    padding: 1rem 1rem 0 1rem;
}

.container-lg {
    max-width: 900px;
}

.container-xl {
    max-width: 1148px;
}

.container-xxl {
    max-width: 1400px;
}

.overflow-x {
    overflow-x: auto;
}

.table {
    font-size: var(--sm-font);
}

    .table th {
        font-weight: 500;
    }

    .table th, .table td {
        padding: 5px 8px;
    }

.table--sm {
    font-size: var(--sm-font);
}

.table__th--align-left {
    text-align: left;
}

.card {
    box-shadow: 0px 5px 10px 0 rgba(0, 0, 0, 0.16);
    display: grid;
    grid-template-rows: auto 1fr auto;
}

    .card > * {
        padding: 0.8rem;
    }

.card__title {
    margin: 0;
    font-size: 1rem;
}

.card__title--middle {
    margin: auto 0 auto 0;
}

.card__header {
    background-color: var(--primary-card-color);
    color: var(--white);
    border-bottom: 5px solid var(--primary-card-border-color);
}

.card__header--with-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card__header--icons-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

    .card__header--icons-right > * {
        margin-right: 10px;
    }

.card__tab-btn {
    color: var(--black);
    background-color: var(--off-white);
    border: 1px solid transparent;
    padding: 0.3rem 0.5rem;
}

.card__body--no-padding {
    padding: 0;
}

.card__footer {
    border-top: 1px solid #dbdad7;
}

.card__grid-rows {
    display: grid;
    grid-gap: 1rem;
    margin-bottom: 1rem;
}

.card__grid {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat( auto-fit, minmax(100px, 1fr));
}

.list-group {
    margin-top: 0.5rem;
    padding: 10px 0 10px 10px;
}

.list-group__item:not(:last-child) {
    margin-bottom: 1rem;
}


.list-group--notes-tooltip {
    background-color: #f7f7f2;
    padding: 1rem;
    border: 1px solid #818178;
}

.list-group__item {
    list-style: none;
}

.limited-content {
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 360px;
    max-height: 130px;
}

.insurance-elements {
    font-size: var(--sm-font)
}

    .insurance-elements label {
        font-size: var(--xxs-font)
    }

.overview-log-deadline {
    display: flex;
    justify-content: space-between;
}

a {
    color: inherit;
}

.strivo-public-emission-link {
    color: var(--dark-green);
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}

.h-no-margin {
    margin: 0;
}

.h-no-margin-bottom {
    margin-bottom: 0;
}

.h-margin-bottom-5px {
    margin-bottom: 5px;
}

b, strong {
    font-weight: 600;
}

.icons {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hide-while-loading {
    opacity: 0;
    position: absolute;
}

.validation-error {
    display: block;
    color: var(--red);
    font-size: var(--sm-font);
    font-weight: 500;
}

.required-asterisk {
    color: var(--red);
}

.display-inline {
    display: inline;
}

.margin-bottom-sm {
    margin-bottom: var(--sm-gap)
}

.margin-top-sm {
    margin-top: var(--sm-gap)
}

.margin-top-xs {
    margin-top: var(--xs-gap)
}

.margin-left-5 {
    margin-left: 5px;
}

.margin-right-5 {
    margin-right: 5px;
}

.margin-right-xs {
    margin-right: var(--xs-gap);
}

/*Color*/
.color-red {
    color: var(--red);
}

.color-green {
    color: var(--green);
}

.color-dark-green {
    color: var(--dark-green);
}

.color-yellow-green {
    color: var(--yellow-green);
}

.color-yellow-orange {
    color: var(--yellow-orange);
}

.color-orange {
    color: var(--orange);
}

.color-orange-red {
    color: var(--orange-red);
}

.color-dark-orange {
    color: var(--dark-orange);
}

.color-light-grey {
    color: var(--light-grey);
}

.color-grey {
    color: var(--grey);
}

.color-black {
    color: var(--black);
}

.btn-color-white {
    color: var(--white);
}

.color-yellow {
    color: var(--yellow);
}

.color-dark-yellow {
    color: var(--dark-yellow);
}

.primary-bg-color {
    background-color: #8D2A13;
}

.black-bg-color {
    background-color: #232323 !important;
}

.grey-bg-color {
    background-color: #dbdad7 !important;
}

/**/

.max-width-120 {
    max-width: 120px;
}

.max-width-350 {
    max-width: 350px;
}

.textarea-responsive {
    width: min(90%, 50rem);
    min-height: 8rem;
}

.text-align-center {
    text-align: center;
}

.text-align-right {
    text-align: right;
}

.justify-content-center {
    justify-content: center;
}

.display-block {
    display: block;
}

.c-pointer {
    cursor: pointer;
}

.xs-font {
    font-size: 0.8rem;
}

.si-container {
    box-shadow: 0px 0px 5px 0px;
}

.disabled {
    pointer-events: none;
    background-color: grey;
}

.toast {
    position: fixed;
    bottom: 255px;
    right: 305px;
    z-index: 9999;
}

.toast__body {
    background-color: var(--white);
    width: 280px;
    overflow: hidden;
}

.validation-message {
    color: var(--red);
    font-size: 0.9rem;
}

.hover-init + .hidden-tooltip {
    display: none;
}

.hover-init:hover + .hidden-tooltip {
    display: block;
    background-color: #f7f7f2;
    border: 1px solid #818178;
    position: absolute;
    padding: 5px;
    text-align: left;
    z-index: 10;
}

.icon-button {
    cursor: pointer;
}

.btn-link {
    color: var(--link-color);
    cursor: pointer;
}

.btn-link--account-link {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.ingress {
    font-size: 0.9rem;
}

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

.padding-l-r-5 {
    padding-left: 5px;
    padding-right: 5px;
}

.break-word {
    word-break: break-all;
    word-break: break-word;
}

.flex-no-wrap {
    display: flex;
}

.flex-no-wrap--a-end {
    align-items: flex-end;
}

.flex-no-wrap--j-between {
    justify-content: space-between;
}

.confirmation {
    width: 100%;
    height: 100%;
    padding: inherit;
    text-align: center;
}

.btn {
    padding: 0.4rem 0.5rem;
    border: 1px solid transparent;
    box-shadow: 0px 0px 0px 0.5px var(--light-grey);
    min-width: 60px;
    cursor: pointer;
}

    .btn:hover {
        opacity: 0.9;
    }

.btn--primary {
    background-image: linear-gradient(to bottom right, var(--primary-nav-color), var(--primary-nav-color-gradient));
    box-shadow: 0px 5px 10px 0 rgba(0, 0, 0, 0.16);
    color: var(--primary-btn-text-color);
}

.btn--primary-outline {
    background-image: none;
    background-color: var(--off-white);
    border: 2px solid var(--primary-nav-color);
    box-shadow: 0px 5px 10px 0 rgba(0, 0, 0, 0.16);
    color: var(--primary-nav-color);
}

.btn--secondary {
    border-color: rgba(0, 0, 0, 0.08);
    color: #424242;
    background-color: #f5f5f5;
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.02));
}

.btn--grid {
    min-width: auto;
    padding: 3px 10px;
}

.btn--danger {
    background-image: linear-gradient(to bottom right, var(--red), var(--danger-btn-color-gradient));
    color: var(--white);
}

.btn--margin-top-sm {
    margin-top: var(--sm-gap);
}

.btn--margin-right-bottom {
    margin: 0 0.5rem 0.5rem 0;
}

.btn--margin-top-right-bottom {
    margin: 0.5rem 0.5rem 0.5rem 0;
}

.btn-p-percentage {
    margin: 5px 0;
    font-weight: bolder;
    padding: 0.3rem;
}

.table-btn {
    border: 1px solid var(--light-grey);
    padding: 5px;
}

.bw-init {
    position: relative;
    transform: translate(0%, 50%);
}

.bw-init__img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100px;
    height: 100px;
}

.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader {
    margin: auto;
    border: 0.5rem solid var(--light-grey-gradient);
    border-radius: 50%;
    border-top: 0.5rem solid var(--primary-bg-color);
    border-bottom: 0.5rem solid var(--primary-btn-color);
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.loader--with-btn {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-width: 5px;
    position: relative;
    top: 10px;
    left: 10px;
}

.loader--in-flex {
    width: 30px;
    height: 30px;
    border-width: 5px;
    margin: 0;
}

.loader--grid-single-btn {
    width: 30px;
    height: 30px;
    border-width: 5px;
    position: absolute;
    left: 80px;
}

.loader--grid-cell {
	width: 20px;
	height: 20px;
	border-width: 5px;
	margin-left: auto;
	margin-right: auto;
}

.loader--bw-init {
    width: 280px;
    height: 280px;
}

.loader:before,
.loader:after {
    content: '';
    position: absolute;
    top: 0;
}

.status-icon {
    display: inline-block;
    line-height: 2;
    font-size: 10px;
    border-radius: 5px;
    width: 20px;
}

.status-icon--orange {
    background-color: #E29D26;
}

.status-icon--red {
    background-color: var(--red);
    color: var(--white);
}

.status-icon__span {
    padding: 3px 7px;
    font-size: 12px;
    border-radius: 4px;
    display: inline-block;
    min-width: 6px;
    text-align: center;
}

.indicator {
    padding: 1px 6px;
    font-size: 10px;
    margin-right: 2px;
    font-weight: bold;
    color: #FFF;
    -moz-border-radius: 50%;
    border-radius: 50%;
    margin-top: 3px;
    display: inline-block;
}

.indicator--relocate {
    border-radius: 50%;
    width: 8px;
    background-color: var(--light-grey-gradient);
}

.indicator__relocate-img {
    position: relative;
    top: 1px;
    width: 9px;
    height: 9px;
}

.indicator--KP {
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 1px 5px;
    background: #A5B54C;
    background: -webkit-linear-gradient(-20deg left, #FFB600 50%, #A5B54C 50%); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(-20deg left, #FFB600 50%, #A5B54C 50%); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(-20deg left, #FFB600 50%, #A5B54C 50%); /* For Firefox 3.6 to 15 */
    background: linear-gradient(-20deg to left, FFB600 50%, #A5B54C 50%); /* Standard syntax (must be last) */
}

.indicator--AA {
    background: #4F92FF;
}

.indicator--PB {
    background: #019D5A;
}

.indicator--M {
    background: #FF5919;
    padding: 1px 4px;
}

.indicator--A {
    background: #D47528; /*#FF321C;*/
}

.indicator--F {
    background: #004A21;
}

.indicator--K, .status-pending {
    background: #FFB600;
}


.indicator--T {
    background: #4A77B1; /*#497AB2;*/
}

.indicator--G {
    background: #4F92FF;
}

.indicator--O, .status-finished {
    background: #00A813;
}

.indicator--I {
    background: #FF47CE;
    padding: 1px 6px;
}

.indicator--N {
    background: #A4EF9E;
}

.indicator--X {
    background: #FF0000;
}

.indicator--P, .indicator--J {
    background: #A5B54C; /*#A3B447;*/
}

.indicator--TA {
    background: #e29d26;
    padding: 1px 7px;
}

.indicator--S, .indicator--SS {
    background: #FF9F19;
}

.indicator--E, .indicator--U {
    background: #FF321C;
}

.tooltip {
    display: none;
    text-decoration: none;
    position: absolute;
    transform: translate(-105%, -88%);
    color: var(--black);
    width: 230px;
    background-color: var(--white);
    border: 1px solid var(--primary-btn-color);
    z-index: 10;
    padding: 3px;
}

.tooltip--account {
    position: absolute;
    color: var(--black);
    box-shadow: 0px 5px 10px 0 rgba(0, 0, 0, 0.16);
    font-size: var(--sm-font);
    transform: translate(0%, 0%);
    width: 300px;
    background-color: var(--white);
    border: none;
    z-index: 10;
    right: 0;
    padding: 5px;
}

.tooltip-init:hover {
    cursor: default;
}

    .tooltip-init:hover .tooltip {
        display: block;
    }

.tooltip-init--relative {
    position: relative;
}

.tooltip-wrapper {
    width: auto;
    max-width: 290px;
}

/*Index*/
.index__news-header {
    margin: 0 0 10px 0;
}

.index__tile-btn {
    padding: 0;
    float: right;
}

.index__tiles {
    margin-top: 16px;
    padding: 0 !important;
    background-color: var(--off-white);
}

.index__tile {
    overflow-y: auto;
}

.index__h4 {
    font-weight: 500;
    margin: 0;
    display: inline-block;
}

.index__p {
    font-size: var(--sm-font);
}

.open-strivo-account-iframe {
    width: 99%;
    margin-top: 10px;
    margin-bottom: 10px;
    border: none;
}

.njorda-info-text {
    width: 51%;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media only screen and (min-width: 576px) {
    .card__title {
        font-size: initial;
    }
}

@media only screen and (min-width: 992px) {
    .responsive-window {
        width: 900px;
    }

    .main__logo {
        width: 100px;
        height: 100px;
    }

    .main__top {
        grid-template-areas:
            'logo logo logo logo user user'
            'empty empty empty empty components components';
        padding: 2rem;
    }

    .main__components {
        display: flex;
        justify-content: flex-end;
        margin-top: 0;
    }

    .main__search {
        min-width: 250px;
        max-width: 300px;
    }

    .main__visited {
        min-width: 250px;
        max-width: 300px;
        margin-right: var(--xs-gap);
        margin-top: 0;
    }

    .unread-messages {
        right: 28px;
    }
}

@media only screen and (min-width: 300px) and (max-width: 576px) {
    .responsive-window {
        width: 350px;
    }
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.status-circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 3px;
}

.status-circle--green {
    background: #32CD32;
}

.status-circle--yellow {
    background: #FED000;
}

.status-circle--red {
    background: #f22626;
}
