﻿/*!
 	DAVINCI SUBSITITION LIST v1.0.0 
 	Copyright (c) 2016 STÜBER SYSTEMS GmbH, http://www.stueber.de
	
	Common styles
*/

#PageDate {
    text-transform: capitalize;
}
#PageDate::before { margin-left: 0.25em; margin-right: 0.25em; }

.stable {
    border-spacing: 0;
    border-collapse: collapse;
}

.stable {
    width: 100%;
    max-width: 100%;
}

.stable {
    border-left-width: 2px;
    border-right-width: 2px;
    border-right-style: none;
    border-left-style: none;
}

.stable {
    border-left-color: rgb(66, 139, 202);
    border-right-color: rgb(66, 139, 202);
}

.ontime-table-container .stable, .ontime-table-container-clone .stable {
    margin-bottom: auto;
}


.stable > thead:first-child > tr:first-child > th {
    border-top: 0;
}

.stable > thead > tr > th {
    border-top-color: #eaf1fd;
}

.stable > thead > tr > th {
    border-bottom-style: none;
}

.stable > thead > tr > th, 
.stable > tbody > tr > th, 
.stable > tfoot > tr > th, 
.stable > thead > tr > td, 
.stable > tbody > tr > td, 
.stable > tfoot > tr > td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top-style: none;
}

.stable th {
    border-right-color: #d0dafd;
    background-color: #356cc0;
    color: white;
}

.stable th {
    font-weight: normal;
    text-align: left;
    padding: 14px;
    border-right-width: 1px;
    border-right-style: solid;
}

.stable th:last-child {
    border-right-style: none;
}

.stable > thead > tr > th, 
.stable > tbody > tr > th, 
.stable > tfoot > tr > th, 
.stable > thead > tr > td, 
.stable > tbody > tr > td, 
.stable > tfoot > tr > td {
    border-top-color: #d5e1f3;
}

.stable > tbody > tr:nth-child(odd) {
    background-color: white;
}

.flexbox {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #4e81ce;
	padding: 1em;
	padding-top: 2em;
}

.flexItem1, .flexItem2, .flexItem4 {
    color: white;
    flex-grow: 0;
}

.flexItem3 {
    flex-grow: 1;
    background-color: #dfe9f6;
    overflow: hidden;
}

.flexItem2 {
	padding-left: 0.8em;
	padding-bottom: 1.4em;
}

.flexItem2 div {
    margin: 1ch 0;
}

.flexItem4 {
    margin-top: 0.5em;
    text-align: end;
}

div.teacherAbsences > span, 
div.classAbsences > span {
    white-space: nowrap;
}

#PageInfo.refresh-alert {
    padding-left: 1em;
    background-image: url(../img/alert-outline.svg);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto;
}