/* import fonts */
/* Roboto Thin (100) */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url('fonts/Roboto/Roboto-Thin.woff2') format('woff2'),
        url('fonts/Roboto/Roboto-Thin.woff') format('woff');
}

/* Roboto Thin Italic (100) */
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 100;
    font-display: swap;
    src: url('fonts/Roboto/Roboto-ThinItalic.woff2') format('woff2'),
        url('fonts/Roboto/Roboto-ThinItalic.woff') format('woff');
}

/* Roboto Light (300) */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/Roboto/Roboto-Light.woff2') format('woff2'),
        url('fonts/Roboto/Roboto-Light.woff') format('woff');
}

/* Roboto Light Italic (300) */
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/Roboto/Roboto-LightItalic.woff2') format('woff2'),
        url('fonts/Roboto/Roboto-LightItalic.woff') format('woff');
}

/* Roboto Regular (400) */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/Roboto/Roboto-Regular.woff2') format('woff2'),
        url('fonts/Roboto/Roboto-Regular.woff') format('woff');
}

/* Roboto Italic (400) */
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/Roboto/Roboto-Italic.woff2') format('woff2'),
        url('fonts/Roboto/Roboto-Italic.woff') format('woff');
}

/* Roboto Medium (500) */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/Roboto/Roboto-Medium.woff2') format('woff2'),
        url('fonts/Roboto/Roboto-Medium.woff') format('woff');
}

/* Roboto Medium Italic (500) */
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/Roboto/Roboto-MediumItalic.woff2') format('woff2'),
        url('fonts/Roboto/Roboto-MediumItalic.woff') format('woff');
}

/* Roboto Bold (700) */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/Roboto/Roboto-Bold.woff2') format('woff2'),
        url('fonts/Roboto/Roboto-Bold.woff') format('woff');
}

/* Roboto Bold Italic (700) */
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/Roboto/Roboto-BoldItalic.woff2') format('woff2'),
        url('fonts/Roboto/Roboto-BoldItalic.woff') format('woff');
}

/* Roboto Black (900) */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('fonts/Roboto/Roboto-Black.woff2') format('woff2'),
        url('fonts/Roboto/Roboto-Black.woff') format('woff');
}

/* Roboto Black Italic (900) */
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 900;
    font-display: swap;
    src: url('fonts/Roboto/Roboto-BlackItalic.woff2') format('woff2'),
        url('fonts/Roboto/Roboto-BlackItalic.woff') format('woff');
}

/* general settings */
:root {
    --default-page-width: 100%;
    --default-footer-height: 3rem;
    --font-main: Roboto, sans-serif;
    --primary-color: #00305d;
}

/* color of headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);
}

/* main font family */
body {
    font-family: var(--font-main) !important;
}

/* main body */
.body-container {
    flex: 1;
    padding-bottom: calc(var(--default-footer-height) + 0.5rem);
}

/* page margins */
div.row {
    margin: 0;
}

/* disclaimer creator pages */
.disclaimer-span {
    text-align: center;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.3rem !important;
}

/* tabs */
.tabs-account-page {
    background-color: white;
    color: #00305d;
}

/* loading bars */
.dash-loading .dash-bar {
    color: #86BC25;
}

.hidden-loading .dash-spinner {
    display: none;
    border-color: white;
    border-top-color: transparent;
}

/* cards */
.card:not(.class-create-new-card):hover {
    background-color: rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .20), 0 4px 8px rgba(0, 0, 0, .06);
}

.delete-button-position {
    position: absolute;
    top: 0px;
    right: 0px;
}

.class-card,
.class-card-body,
.class-create-new-card {
    height: 25.7rem;
    max-width: 20rem;
}

.class-card-header {
    max-width: 20rem;
}

.class-card-subject {
    font-size: 20px;
}

.class-card-grade {
    font-size: 18px;
}

/* lesson creator */
.topic:valid {
    border: 3px solid rgba(var(--bs-primary-rgb), 0.6);
}

.dash-spreadsheet-container .dash-spreadsheet-inner tbody td {
    padding: 1rem !important;
}

.dash-spreadsheet-container .dash-spreadsheet-inner td,
.dash-spreadsheet-container .dash-spreadsheet-inner th {
    font-family: var(--font-main) !important;
    ;
}

/* header/navbar */
.nav {
    display: flex;
    align-items: center;
}

.NavRight {
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.25);
    padding-top: 0.5%;
    padding-bottom: 0.5%;
    margin-left: auto !important;
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: white;
    align-items: flex-start;
}

.NavRight a:hover {
    color: var(--bs-secondary);
    background-color: #F7F7F7;
    border-radius: 20px;

}

.nav-link:focus {
    font-weight: bold;
}

.no-hover~.nav-item-container {
    margin-left: auto;
}

/* footer */
.footer {
    height: auto;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: rgb(255, 255, 255);
}

.footer-floating {
    position: bottom;
    bottom: 0;
    width: 100%;
    height: var(--default-footer-height);
    line-height: var(--default-footer-height);
    background-color: rgb(255, 255, 255);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-link {
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: none;
    color: var(--bs-secondary);
}

.footer-link-margin-left {
    margin-left: 1rem;
    margin-right: auto;
}

/* main container */
.container {
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.25);
    border-radius: 1rem;
    position: relative;
    margin-top: 2rem;
    margin-bottom: -1rem;
    /* padding-bottom: 1rem; */
    /* padding-top: 1rem; */
}

/* dropdown menus */
.filter-grade-dropdown,
.filter-subject-dropdown {
    max-width: 250px;

}

.filter-grade-dropdown {
    margin-left: 1rem;
}

.Select,
.dash-dropdown {
    cursor: pointer;
}

.VirtualizedSelectFocusedOption {
    background-color: rgba(var(--bs-primary-rgb), 0.3);
}

.Select.is-focused>.Select-control {
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.3) !important;
}

.Select--multi .Select-value {
    border-color: rgba(var(--bs-primary-rgb), 0.4) !important;
    color: var(--bs-primary) !important;
    background-color: rgba(var(--bs-primary-rgb), 0.25) !important;
}

.Select--multi .Select-value:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.5) !important;
}

.Select--multi .Select-value-icon {
    color: var(--bs-primary) !important;
    border-color: rgba(var(--bs-primary-rgb), 0.4) !important;
}

.Select--multi .Select-value-icon:hover,
.Select-value-icon:focus,
.Select-value-icon:active {
    background-color: rgba(var(--bs-primary-rgb), 0.5) !important;
}

.gradient-container {
    background: linear-gradient(to bottom, #03102E, #07193C, #0E2B4D);
    padding: 20px;
    margin: 0;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
    position: static;
    padding-bottom: 0;
    padding-top: 0;
    width: 100%;
    max-width: 100%;
}

/* number inputs */
.number-input-with-controls::-webkit-inner-spin-button,
.number-input-with-controls::-webkit-outer-spin-button {
    -webkit-appearance: auto;
    appearance: auto;
}

.number-input-with-controls {
    -moz-appearance: textfield;
}