﻿/* Fonts */

@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

@font-face {
    font-family: 'gordita-regular';
    src: url('../font/gorditaRegular-webfont.woff2') format('woff2'), url('../font/gorditaRegular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'gordita-bold';
    src: url('../font/gorditaBold-webfont.woff2') format('woff2'), url('../font/gorditaBold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* HTML / Body */

html, body {
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    background: #F3F3F3;
}

/* General style */

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
    position: relative;
}

.content h1 {
    margin: 0 0 30px;
    font-family: 'gordita-bold', Helvetica, Arial, sans-serif;
}

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

.invalid {
    outline: 1px solid #DD1850;
}

.validation-message {
    color: #DD1850;
}

.red {
    color: #DD1850;
}

/* Button style */

button {
    gap: 12px;
    display: flex;
    color: #DD1850;
    border-radius: 8px;
    padding: 12px 16px;
    align-items: center;
    background: transparent;
    border: 1px solid #DD1850;
    transition: 0.3s ease-in-out;
}

button svg {
    width: 16px;
    fill: #DD1850;
    transition: 0.3s ease-in-out;
}

button:hover {
    color: #ffffff;
    background: #DD1850;
}

button:hover svg {
    fill: #fff;
}

button.contained-button {
    color: #ffffff;
    background: #DD1850;
}

button.contained-button:hover {
    background: #c1214f;
}

button.icon-button {
    border: 0;
    padding: 10px;
    background: transparent;
}

button.icon-button {
    border: 0;
    padding: 10px 15px;
    background: transparent;
}

button.icon-button:hover {
    background: transparent;
}

button.icon-button svg {
    height: 25px;
    fill: #B2B2B2;
    transition: .3s ease-in-out;
}

button.icon-button:hover svg {
    fill: #DD1850;
}

button[disabled] {
    color: #fff;
    border-color: #B2B2B2;
    background: #B2B2B2 !important;
}


/* Tabs */


.tabs {
    width: 100%;
    overflow: hidden;
    margin: 0 0 30px;
    border-bottom: 2px solid #ccc;
    display: flex;
    flex-direction: row;
}

.tabs button {
    border: 0;
    color: #5D5A63;
    font-size: 16px;
    padding: 16px 16px;
    font-weight: 700;
}

.tabs button:hover {
    color: #DD1850;
    background: transparent;
}

.tabs button.active {
    color: #DD1850;
}


/* Style the tab content */


.content-table table {
    height: auto;
    background: #fff;
    border-radius: 8px;
}

.content-table thead {
    color: #B2B2B2;
    border-bottom: 1px solid #ccc;
}

.content-table tbody tr:hover {
    background: #F3F3F3;
}

.content-table tr th, .content-table tr td {
    padding: 16px;
}

.content-table tr td:first-child {
    padding: 8px 0 8px 16px;
}

.content-table tr td:last-child {
    padding: 8px 16px 8px 16px;
}

.iconButton {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 400px;
    border-style: solid;
    padding: 30px 10px;
}

#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;
    }

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

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


/* inputs */


input, select {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #B2B2B2;
    transition: 0.3s ease-in-out;
}

textarea {
    min-height: 200px;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid #B2B2B2;
    transition: 0.3s ease-in-out;
}

input:focus {
    outline: 0;
    border-color: #000000;
}

.input-row {
    gap: 16px;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 0 16px;
}

.form-group {
    width: 100%;
    max-width: 500px;
}

.input-row form-group, .input-row input, .input-row select {
    width: 100%;
}

.form-group label {
    display: block;
    margin: 0 0 8px;
}

.input-row .remove-button {
    margin: 32px 0 16px;
}

@media screen and (min-width: 991px) {
    .input-row {
        margin: 0;
        flex-direction: row;
        align-items: flex-start;
    }

    .form-group {
        margin: 0 0 16px;
    }
}


/* Toast */

.toast-container .toast {
    padding: 8px;
    border-radius: 8px;
    background: #DD1850;
}


/* Login page */

.login-page {
    display: flex;
    position: relative;
    align-items: stretch;
    flex-direction: column;
}

.login-info-container {
    width: 30%;
    display: none;
    padding: 32px;
}

@media screen and (min-width: 991px) {
    .login-info-container {
        display: flex;
        flex-direction: column;
        align-content: flex-start;
        justify-content: space-between;
    }
}

.login-menu {
    border-top: 1px solid #ccc;
    padding-top: 24px;
}

.login-info-container h1 {
    font: 21px;
    color: #DD1850;
    margin: 0 0 20px;
    font-family: 'gordita-bold', Helvetica, Arial, sans-serif;
}

.login-info-container p {
    font: 18px;
    color: #5D5A63;
}

.login-info-container ul {
    margin: 0;
    gap: 24px;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.login-info-container li a {
    color: #5D5A63;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.login-info-container li a:hover {
    color: #DD1850;
}

.login-container {
    display: flex;
    padding: 0 30px;
    background: #DD1850;
    align-items: center;
    justify-content: center;
    height: 100dvh;
}

.login-card {
    display: flex;
    border-radius: 8px;
    background: #ffffff;
    align-items: center;
    flex-direction: column;
    padding: 16px 42px 42px;
}

@media screen and (min-width: 567px) {
    .login-card {
        min-width: 450px;
    }
}

@media screen and (min-width: 991px) {
    .login-card {
        min-width: 450px;
        transform: translateY(-20%);
    }
}

.authenticating-header {
    color: #fff;
    font: 18px/1.5 'gordita-bold', Arial, Helvetica, sans-serif;
}

.login-card img {
    width: 100%;
    margin: 40px 0 60px;
    max-width: 112px;
}

.login-card h3 {
    padding: 0 20px;
    font-size: 18px;
    font-weight: 700;
    margin: -26px 0 20px;
    background: #ffffff;
}

.login-card .divider {
    width: 100%;
    height: 1px;
    display: block;
    background: #E3E3E3;
}

.login-card form {
    width: 100%;
}

.login-card label {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 10px;
}

.login-card input {
    width: 100%;
    margin: 0 0 8px;
    border-radius: 4px;
}

.login-card button {
    color: #fff;
    width: 100%;
    display: block;
    text-align: center;
    padding: 12px 16px;
    background: #DD1850;
}

.login-card button:hover {
    background: #c1214f;
}

.login-card .sent-mail-info {
    margin: 20px 0;
}

/* Grid container */

.grid-container {
    display: flex;
    gap: 16px;
}

/* Card buttons */

.note-card-button {
    gap: 24px;
    padding: 24px;
    display: flex;
    cursor: pointer;
    min-width: 300px;
    min-height: 320px;
    border-radius: 8px;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: 0.3s ease-in-out;
}

.note-card-button svg {
    fill: #000000;
    max-width: 150px;
    width: 100%;
    transition: 0.3s ease-in-out;
}

.note-card-button:hover svg {
    fill: #DD1850;
}

.note-card-button span {
    font-family: 'gordita-bold', Arial, Helvetica, sans-serif;
    font-size: 18px;
}

/* Organization dropdown toggle */

.organization-dropdown-toggle {
    font: 16px;
    color: #DD1850;
    padding: 8px 16px;
    background: transparent;
}

.organization-dropdown-toggle:hover {
    color: #fff;
    background: #DD1850;
}


/* Light-bg-wrapper */


.light-bg-wrapper {
    padding: 24px;
    margin: 0 0 24px;
    background: #fff;
    border-radius: 8px;
}

.section-title {
    display: block;
    margin: 0 0 8px;
}

.divider {
    width: 100%;
    height: 1px;
    display: block;
    background: #ccc;
    margin: 16px 0;
}


/* Loading container */


.loading-container {
    width: 100%;
    height: 100vh;
    display: flex;
    background: #F3F3F3;
    align-items: center;
    justify-content: center;
}

.loading-container-small {
    width: 100%;
    display: flex;
    min-height: 300px;
    background: #F3F3F3;
    align-items: center;
    justify-content: center;
}

.loading-container .loader, .loading-container-small .loader {
    padding: 32px;
    background: #fff;
    border-radius: 8px;
}


/* Item header */


.item-header {
    margin-top: 8px;
    display: flex;
    padding: 16px 0;
    flex-wrap: wrap;
    align-items: center;
    border-top: 1px solid #ccc;
    justify-content: space-between;
}


/* Footer buttons */

.footer-buttons {
    gap: 16px;
    display: flex;
    padding: 16px;
    position: sticky;
    background: #F3F3F3;
    flex-direction: row;
    justify-content: flex-end;
    border-top: 1px solid #ccc;
    right: 0; bottom: 0; left: 0;
}

@media screen and (min-width: 567px) {
    .footer-buttons {
    }

    .footer-buttons button {
        flex-direction: row;
    }
}