@font-face {
    font-family: 'Averta';
    src: url('fonts/Averta_Regular.otf') format('truetype');
}

@font-face {
    font-family: 'Averta Bold';
    src: url('fonts/Averta_ExtraBold.otf') format('truetype');
}

@font-face {
    font-family: 'Stag Medium';
    src: url('fonts/stag-medium.otf') format('truetype');
}

@font-face {
    font-family: 'Stag Sans Book';
    src: url('fonts/Stag Sans-Book.otf') format('truetype');
}
@font-face {
    font-family: 'Thunder Bold';
    src: url('fonts/Thunder-BoldLC.woff');
}

/* Dash mantine conflicts */
input:invalid {
    outline: none !important;
}

/* HTML elements */
* {
    box-sizing: border-box;
}

body {
    background-color: rgb(244, 247, 254);
    padding-bottom: 5%;
}

h4 {
    font-family: 'Averta';
    font-size: 25px;
    font-weight: bold;
    color: #0066A1;
    padding: 10px 0px 0px 10px;
}

h5 {
    font-family: 'Averta';
    font-size: 14px;
    font-weight: bold;
    color: #A0AEC0;
    padding: 10px 0px 0px 10px;
    margin: 0px;
}

h6 {
    padding: 0;
}

a {
    color: white
}

p {
    background-color: #DCDCDC;
    font-size: 14px;
    font-family: 'Averta';
    color: black;
    font-style: italic;
    text-align: center;
}

/* Overall app-style and layout*/
.page {
    position: fixed;
    left: 0;
    top: 7vh;
    height: 93vh;
    width: 100vw;
    background-color: #f2f2f2;
    justify-content: center;
    overflow-y: auto;
    padding-bottom: 5%;
}

.navbar {
    position: fixed;
    display: flex;
    top: 8px;
    left: 8px;
    width: 100vw;
    height: 7vh;
    min-height: 25px;
    background-color: #0066A1;
    align-content: center;
    z-index: 2;
}


.page-container {
    margin: 2%;
    align-content: center;
    justify-content: center;
}


.footer {
    position: fixed;
    bottom: 0;
    height: 5vh;
    width: 100vw;
    padding-bottom: 10px;
    background-color: #0066A1;
    color: white;
    display: flex;
    text-align: center;
    align-content: center;
    justify-content: center;
}


/* Custom component style */
.navbar-divider {
    color: #f2f2f2;
    margin-top: 10px;
    margin-bottom: 10px;
}

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.card {
    padding: 2%;
    position: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.upload-box {
    height: 30vh;
    line-height: 60px;
    border-width: 1px;
    border-style: dashed;
    border-radius: 10px;
    text-align: center;
    margin: auto;
    color:#A0AEC0;
    vertical-align: middle;
}

.graph {
    width: 90%;
    height: 90%;
}

/* AG Grid table formatting */
.ag-theme-material .ag-row {
    font-family: Averta;
}

.ag-theme-material .ag-header {
    font-weight: bold;
    font-family: Averta;
    background-color: #0066A1;
    height: 20px;
}

.ag-theme-material .ag-header-cell {
    color: #fff;
}

/* Flex containers */
.group {
    display: flex;
}

.small-card {
    flex-grow: 1;
}

.big-card {
    flex-grow: 2;
}

.ag-theme-material .alt-header {
    background-color: #d0d7db;
    color: #000000;
}
