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

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

.sflex {
	display: flex; /* or inline-flex */
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	align-content: flex-start;
	color: white;
	padding: 4px;
}

.sflex .item-content-bg-light {
    color: #000000;
}

.sflex > div {
	flex: none;
	/* align-self: auto; */
	width: 200px;  
	height: 7ex; 
	padding: 4px;
	background: rgb(51,63,80);
	background-image: radial-gradient(rgb(68,84,106), rgb(51,63,80)); 
	border: 4px solid transparent;  
    background-clip: padding-box;
}

.sflex > div > div > span {
	display: inline-block;
	width: 50%;
}

.sflex > div > div > div > span {
	margin-right: 1em;
}

.sflex > div > div > span:last-child {
    text-align: end;
}

.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,
div.roomAbsences > 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;
}