:root {
    --background: #111111;
    --brand: #7effcc;
    --grey: #999999;
}

body {
    background-color: #111111;
    font-family: montserrat, sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: oswald, sans-serif !important;
}

input.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 15px var(--brand);
}

select.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 15px var(--brand);
}


table.table th {
    background-color: var(--brand);
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-left: none;
    border-right: none;
}
table.table th:first-of-type {
    border-top-left-radius: 8px;
}
table.table th:last-of-type {
    border-top-right-radius: 8px;
}

table.table td {
    vertical-align: middle;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-left: none;
    border-right: none;
}
table.table tr:last-of-type td:first-of-type {
    border-bottom-left-radius: 8px;
}
table.table tr:last-of-type td:last-of-type {
    border-bottom-right-radius: 8px;
}
table.table {
    border-color: white;
    border-radius: 8px;
    box-shadow: 0 0 1px rgba(126, 255, 204, 0.7);
    transition: box-shadow 0.3s ease;
}
table.table:hover {
    box-shadow: 0 0 20px rgba(126, 255, 204, 0.7);
    transition: box-shadow 0.3s ease;
}

div.app-container {
    margin-top: 20px;
    border-radius: 2px; 
    /* overflow-y: scroll;  /* This leads to default padding for scroll bars which looks shit */
    padding-bottom: 10px;
}
div.email {
    width: 100%;
    background-color: var(--brand);
    border-bottom: 1px solid black;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
div.email:nth-of-type(1) {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
div.email:last-of-type {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
div.modal {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(0, 0, 0, 0.5);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

video.video-player {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 70vh;
}

/* bootstrap classes causing a lot of issues, especially r.e. border, 
Instead write table styles from scratch */
.weather-forecast-table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
}
.weather-forecast-table.participant {
    border: 1px solid #efefef;
}
.weather-forecast-table.facilitator {
    border: 1px solid black;
}

.weather-forecast-table th,
.weather-forecast-table td {
    border: none;
    padding: 2px;
}

.weather-forecast-table thead th {
    background-color: var(--brand);
    color: black;
    font-weight: 500;
}

.weather-forecast-table tr:not(:last-child) td,
.weather-forecast-table tr:not(:last-child) th {
    border-bottom: none;
}

.weather-forecast-table td,
.weather-forecast-table th {
    border-left: none;
    border-right: none;
}

.weather-forecast-table.participant td {
    background-color: #111111;
    color: #efefef;
}



circle.blink {
    animation: blink 3s ease-in-out infinite;
}
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}

div.ct-container {
    min-width: 400px;
    width: 95%;
    max-width: 1300px;
}

#session-summary {
    text-align: center;
    vertical-align: middle;
}
#session-summary th {
    color: black;
}

div.notification {
    position: absolute;
    height: 35px; /*must be constant height so that stacking works nicely*/
    padding: 5px;
    transition: right 400ms ease-in-out;

    border-radius: 5px;
    border: 1px solid black;
    background-color: white;
    color: black;
    padding: 10px;
    width: 95%;
    box-shadow: 0 0 10px 4px var(--brand);
    z-index: 20;
}
div.notification > span {
    font-weight: bold;
    text-align: center; 
    width: 100%; 
    display: block;
    font-size: 12px;
}


#loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background);
    z-index: 1000;
    transition: opacity 0.3s ease-out;
}

#loading-spinner.fade-out {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--brand);
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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