@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    /* Change 'Roboto' to 'Open Sans' or 'Source Sans Pro' to use the other fonts */
}


.login-container{
    background-color: rgba(30, 34, 170, 0.8);
    padding: 12px;
    border-radius: 8px;
}

.text-error{
    color: #ff3636;
    width: 100%;
    text-align: center;
}

canvas {
    padding: 0;
    margin: auto;
    display: block;
    width: 800px;
}

.datepicker-controls .selects-container input {
    color: black !important;
}


.sidenav-container{
    margin:0;
    padding: 6px;
}

.background{
    background: url("/images/office.jpg");
    background-size: cover;
    background-position: center center;
}

/* Class to animate the spinner (other elements) */
.spinner {
    animation: spin 1s infinite linear;
}

/* Keyframes for spinning animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-translate {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

.spinner {
    margin: auto;
}

.blue-grey input {
    color: #FFF; /* no need for !important :) */
}

.blue-grey .input-field label{
    color: rgba(255, 255, 255, 0.8);
}

#add-verification-modal .modal {
    height: 100%;
    width: 100%;
}

.icon-button{
    transition: 150ms;
    color: black;
    scale: 1;
    cursor: pointer;
}

tr td{
    cursor: pointer;
}

.icon-button:hover{
    scale: 1.2;
    color: dodgerblue;
}

.info-badge {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: rgba(128, 128, 128, 0.67);
    color: white;
    font-weight: bold;
    font-size: 10px;
    text-align: center;
    border-radius: 50%;
    cursor: help;
    margin-left: 6px;
    content: '?';
    float: right;
}

.sorting.sorting_asc:after{
    font-family: "Material Icons";
    content: '\e5d8';
}

.sorting.sorting_desc:after{
    font-family: "Material Icons";
    content: '\e5db';
}

.sorting:after{
    font-family: 'Material Icons';
    content: '\e8d5';
}

.primary {
    background-color: #0D4373;
    color: white;
}

.primary input{
    color: white;
}

.alert .card-content span {
    font-weight: bold;
    font-size: 1.1em;
    margin-right: 4px;
}

.alert .card-content .material-icons {
    font-size: 1.5em;
    position: relative;
    top: 5px;
    margin-right: 0.5em;
}

.loading{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal .material-icons.white-text{
    color: black !important;
}


.btn-block{
    width: 100%;
}

.modal-content.datepicker-container{
    color: black;
}

.select-dropdown.dropdown-trigger{
    color: black;
}

.white-text .select-wrapper:not(.select-month):not(.select-year) input {
    color: white !important;
}

.canvas-container {
    position: relative;
}

.canvas-container button[name="next"], button[name="previous"] {
    position: absolute;
    bottom: 0;
}

.canvas-container button[name="previous"] {
    left: 0;
}

.canvas-container button[name="next"] {
    right: 0;
}

.graph-buttons {
    position: absolute;
    top: 0;
    right: 0;
}

.fraction tbody td span:first-child {
    border-right: #0D4373 2px solid;
}

.fraction tbody td span{
    padding: 0 5px;
}

.fraction tbody td span:nth-child(2){
    background: #0D4373;
    color: white;
}

/*#########################################
# Dark Theme
###########################################*/
body.dark {
    background-color: #202123;
    color: #fff;
}
body.dark nav {
    background-color: #26A69A;
}
body.dark .card {
    background-color: rgba(255, 255, 255, 0.2);
}
body.dark .btn {
    background-color: #EE6F73;
}
body.dark .divider {
    opacity: 0.2;
}
body.dark .sidenav {
    background-color: #2D2D31;
}
body.dark .sidenav li a:not(.subheader) {
    color: #89B2F5;
}
body.dark .sidenav li a:not(.subheader):hover {
    background-color: #3B4043;
}
body.dark .sidenav li a.subheader {
    color: #9AA0A6;
}
body.dark .sidenav li a .material-icons {
    color: #9AA0A6;
}
body.dark .collection {
    border: 1px solid rgba(255, 255, 255, 0.2);
}
body.dark .collection .collection-item {
    background-color: rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
/*#############################
# End Dark Theme
###############################*/