@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --kanvas-darkblue: #02304B;
    --kanvas-blue2: #004C77;
    --kanvas-green: #92D050;
    --kanvas-yellow: #FFC000;
    --kanvas-yellow-transparent: #FFC000DB;
    --kanvas-red: #F76C6C;
    --kanvas-white: #F2F2F2;
    --kanvas-white-transparent: #F2F2F2AA;
    --kanvas-forestgreen: #507D03;
    --kanvas-gray: #ddd;
    --kanvas-gray-border: #e8e8e8;
}

::-moz-selection { /* Code for Firefox */
    color: var(--kanvas-darkblue);
    background: var(--kanvas-yellow);
}

::selection {
    color: var(--kanvas-darkblue);
    background: var(--kanvas-yellow);
}


.norne-background-with-border {
    border: 1px solid var(--kanvas-gray-border); 
    border-radius: 8px;
    color: var(--kanvas-darkblue);
    background-color: white !important; 
}

.norne-line {
    width: 40px;
    height: 2px;
    margin-top: 5px;
    background-color: var(--kanvas-red);
    display: block;
}

.norne-spinner {
    width: 100px;
    height: 100px;
    border: 1px solid var(--kanvas-darkblue);
    border-radius: 50%;
    animation: skin 2s infinite linear;
    background-color: red;
}

.norne-link {
    :hover {
        text-decoration: underline;
    }
}

.nav-menu {
    color:var(--kanvas-darkblue);
    border: none;
}

.nav-menu:hover {
    text-decoration: underline;
}

.nav-menu-active {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--kanvas-red);
}

.app-loading-text:not(:only-child) {
    display: none;
}

.dir-rtl {
    direction: rtl;
}

body {
    background-color: var(--kanvas-darkblue);
    color: var(--kanvas-darkblue);
}

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

button {
    background-color: var(--kanvas-darkblue);
    color: var(--kanvas-white);
}

.kanvas-tile {
    background-color: var(--kanvas-blue2);
    margin: 0 0 1rem 1rem;
    padding: 2rem 1rem;
}

.kanvas-tile-with-header-and-body {
    padding: 0;
}

.kanvas-tile-header {
    padding: .2rem 1rem;
    font-weight: 600;
    width: 100%;
    border-bottom: 1px solid var(--kanvas-gray-border);
}

.kanvas-tile-body {
    padding: 1.8rem 1rem 2rem 1rem;
}

.kanvas-tile-half {
    width: 50%;
}

.kanvas-tile-third {
    width: calc(100%/3 - .5rem);
}

.kanvas-tile-fourth {
    width: calc(100%/4 - .5rem);
}

.kanvas-tile-60 {
    width: 60%;
}

.kanvas-tile-40 {
    width: 40%;
}

.text-xx-large {
    font-size: xx-large;
}

.kanvas-tile:first-child {
    margin: 0 0 1rem 0;
}

html, body {
    font-family: "Lato", Sans-serif;
}

.image-icon-wrapper {
    margin: 0 auto;
    max-width: 120px;
}

.input-field {
    text-align: right;
    background-color: var(--kanvas-blue2);
    color: var(--kanvas-white);
    border: none;
    width: 65%;
    -moz-appearance: textfield;
}

    .input-field.valid {
        outline: none;
    }


    .input-field:focus-visible {
        outline: none;
    }

.input-field-with-comments {
    display: flex;
}

.input-field::placeholder {
    color: #cdcdcd;
}

.comment-btn {
    background-color: transparent;
    border: none;
    font-size: larger;
    font-weight: 100;
    margin-top: 12px;
}

    .comment-btn > i.fa-solid {
        font-weight: 100;
    }

.input-field-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--kanvas-gray-border);
    margin-top: 1rem;
    padding: 3px 10px;
}

    .input-field-wrapper:last-child {
        margin-bottom: 0rem;
        border-bottom: none;
    }

.input-field::-webkit-outer-spin-button,
.input-field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.kanvas-container {
    max-width: 1200px;
    margin-top: 1rem;
}

.kanvas-row {
    display: flex;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #089aff;
    text-decoration: none !important;
}

    a:hover, .btn-link:hover {
        text-decoration: underline;
    }

.btn-forestgreen {
    display: flex;
    background-color: var(--kanvas-forestgreen);
    color: var(--kanvas-white);
    width: 100px;
    height: 30px;
    border-radius: 22px;
    align-items: center;
    justify-content: center; 
    align-content: center;
    font-size: medium;
    border: none;
}

    .btn-forestgreen:hover {
        background-color: #5e9500;
    }

    .btn-forestgreen:active {
        background-color: #5e9500;
    }

    .btn-forestgreen:disabled {
        background-color: #687E43;
        color: #d0d0d0;
    }

.btn-red {
    color: var(--kanvas-white);
    background-color: var(--kanvas-red);
    width: 100px;
    height: 30px;
    border-radius: 22px;
    align-items: center;
    justify-content: center;
    align-content: center;
    font-size: medium;
    border: none;
}

.btn-link.text-red:hover {
    color: #FF3F3F;
}

.btn-red:hover {
    background-color: #FF3F3F;
}

.btn-red:active {
    background-color: #FF3F3F;
}

.btn-red:disabled {
    background-color: #EB8383;
    color: #4C5458;
}

.btn-icon {
    background-color: transparent;
    border: none;
    color: lightgray;
}

    .btn-icon:hover, .btn-icon:active {
        color: var(--kanvas-white);
    }

.content {
    padding-top: 1.1rem;
}


/*.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}*/

.invalid {
    outline: 1px solid red;
}

.download-investment-plan-link {
    display: flex;
    color: var(--kanvas-darkblue);
   
}

.download-investment-plan-link:hover {
    color: black;
}

.input-field.invalid {
    outline: none;
    background-image: linear-gradient(to right, transparent, var(--kanvas-red));
}

.rz-series-data-label {
    stroke: var(--kanvas-darkblue);
    font-weight: 100;
}

text.rz-tick-text {
    fill: var(--kanvas-darkblue);
}

.rz-axis .rz-grid-line {
    stroke: rgba(255, 255, 255, 0.24);
}

.sfdrChart {
    height: 185px;
}

.validation-message {
    color: var(--kanvas-red);
    margin-left: 25px;
}

.first-date-warning {
    color: var(--kanvas-yellow);
    font-size: x-small;
    display: flex;
    justify-content:end;
}

#blazor-error-ui {
    background: var(--kanvas-red);
    color: var(--kanvas-darkblue);
    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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGh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zAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }
    
    

.radio-toolbar input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

.radio-toolbar label {
    display: inline-block;
    background-color: #FFFFFF;
    border: 1px solid var(--kanvas-gray-border);
    min-width: 100px;
    max-width: 510px;
    padding: 5px 10px;
    font-family: sans-serif, Arial;
    font-size: 16px;
    border-radius: 20px;
    cursor: pointer;
    text-align: center;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
    margin-right: .6rem;
}

    .radio-toolbar label:hover {
        background-color: #f8f8f8;
    }

    .radio-toolbar label:last-child {
        margin-right: 0;
    }

.radio-toolbar input[type="radio"]:checked + label {
    background-color: var(--kanvas-darkblue);
}

.radio-toolbar-sm label {
    width: 5rem;
}

.search-input {
    background-color: var(--kanvas-white);
    border-radius: 10px;
    border: none;
}

.customer-search-button {
    width: 100%;
    border: none;
}

.create-customer-link-container {
    margin-top: 5px;
    font-size: small;
    text-align: center;
}

    .create-customer-link-container:hover {
        text-decoration: underline;
        color: #B98A8A;
    }

    .create-customer-link-container > a {
        color: #B98A8A;
    }

.radio-toolbar-third {
    display: flex;
    justify-content: space-between;
}

    .radio-toolbar-third label {
        width: calc(100%/3 - 0.8rem);
    }

        .radio-toolbar-third label:last-child {
            margin-right: 0;
        }

.radio-toolbar-half {
    display: flex;
    justify-content: space-between;
}

    .radio-toolbar-half label {
        width: calc(100%/2 - 0.6rem);
    }

        .radio-toolbar-half label:last-child {
            margin-right: 0;
        }

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

.text-light-grey {
    color: #e8e8e8;
}

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

.text-forestgreen {
    color: var(--kanvas-forestgreen);
}

.text-red {
    color: var(--kanvas-red);
}

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

.kanvas-table {
    margin: 0 auto;
}

.kanvas-table tr:nth-child(even) {
    background-color: #f8f8f8;
}

.kanvas-table th,
.kanvas-table td {
    padding: 0 2em;
}

.kanvas-table th:first-child,
.kanvas-table td:first-child {
    padding-left: .5em;
}

.kanvas-table th:last-child,
.kanvas-table td:last-child {
    padding-right: .5em;
}
        
.kanvas-table .sum-row {
    font-weight: bold;
    border-top: 1px solid var(--kanvas-gray-border);
    border-bottom: 1px solid var(--kanvas-gray-border);
}

.signee-row > td {
    padding: 0 .3em;
}

.signee-row:hover {
    background-color: #FFFFFF10;
}

.btn-logout {
    position: absolute;
    right: 8px;
    border: none;
    padding: 0;
    margin: 0;
    color: #fff6;
}

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

.textarea-dark {
    background-color: var(--kanvas-darkblue);
    color: var(--kanvas-white);
    padding: 0 .25em;
}

.loader {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 4px solid;
    border-color: var(--kanvas-white) var(--kanvas-white) transparent transparent;
    box-sizing: border-box;
    animation: rotation 1.5s linear infinite;
}

    .loader::after,
    .loader::before {
        content: '';
        box-sizing: border-box;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        border: 4px solid;
        border-color: transparent transparent var(--kanvas-green) var(--kanvas-green);
        width: 80px;
        height: 80px;
        border-radius: 50%;
        box-sizing: border-box;
        animation: rotationBack 0.75s linear infinite;
        transform-origin: center center;
    }

    .loader::before {
        width: 64px;
        height: 64px;
        border-color: var(--kanvas-white) var(--kanvas-white) transparent transparent;
        animation: rotation 2.25s linear infinite;
    }

.fade-away-animation {
    animation: fade-away-keyframes 2s forwards ease-in;
}

@keyframes fade-away-keyframes {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

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

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

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

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

.signee-input-wrapper {
    display: flex;
    margin-bottom: .5em;
    margin-top: 1em;
}

.signee-input-field {
    background-color: #fff;
    color: var(--kanvas-darkblue);
    margin-right: .5em;
    border: 1px solid var(--kanvas-gray-border);
    border-radius: 4px;
    padding: 3px;
    padding-left: 5px;
}

.signee-input-wrapper button {
    background-color: var(--kanvas-darkblue);
}

.signee-input-field::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: lightgray;
}

.signee-input-field:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: lightgray;
}

.signee-input-field::-ms-input-placeholder { /* Microsoft Edge */
    color: lightgray;
}

.chart-with-bottom-legend .rz-legend-item {
    margin: 0 .6em;
}

/* Customize the label (the container) */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 22px;
    margin-left: 10px;
    cursor: pointer;
    line-height: 15px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .checkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    border: 1px solid var(--kanvas-darkblue);
    top: 0;
    left: 0;
    height: 15px;
    width: 15px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: var(--kanvas-white);
}


/* Create the checkmark/indicator (hidden when not checked) */
.checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark::after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark::after {
    left: 4px;
    top: .5px;
    width: 5px;
    height: 10px;
    border: solid var(--kanvas-darkblue);
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.custom-radio-button-wrapper input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.custom-radio-button-wrapper {
    display: block;
    position: relative;
    padding-left: 15px;
    line-height: 15px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-top: 9px;
}

    .custom-radio-button-wrapper:first-child {
        margin-top: 6px;
    }

.custom-radio-mark {
    position: absolute;
    border: 1px solid var(--kanvas-darkblue);
    top: 1px;
    left: 0px;
    height: 14px;
    width: 15px;
    border-radius: 50%;
}

    /* Create the checkmark/indicator (hidden when not checked) */
    .custom-radio-mark::after {
        content: "";
        position: absolute;
        display: none;
    }

/* Show the checkmark when checked */
.custom-radio-button-wrapper input:checked ~ label > .custom-radio-mark::after {
    display: block;
}

/* Style the checkmark/indicator */
.custom-radio-button-wrapper .custom-radio-mark::after {
    left: 3px;
    top: 2px;
    width: 8px;
    height: 8px;
    background-color: var(--kanvas-darkblue);
    border-radius: 50%;
}

.custom-radio-button-wrapper input:not(:checked) ~ label:hover > .custom-radio-mark {
    border-width: 2px;
}

.modal {
    background-color: rgba(71, 71, 71, 0.73);
}

    .modal .close {
        font-size: 28px;
        margin-top: -40px;
        height: 0px;
        border: none;
    }

.modal-dialog {
    margin-top: 14em;
}

.modal-content {
    background-color: var(--kanvas-darkblue);
    color: var(--kanvas-white);
}

.modal-body {
    font-weight: normal;
}

.modal-header {
    border-bottom: 1px solid var(--kanvas-gray-border);
    padding: 1em;
}

.modal-footer {
    border-top: 1px solid var(--kanvas-gray-border);
    justify-content: space-between;
}