@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/Roboto-Light.ttf") format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Roboto-Regular.ttf") format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/Roboto-Medium.ttf") format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/Roboto-Bold.ttf") format('truetype');
}

html, body {
	font-family: 'Roboto';
	-webkit-user-select1: none;
	display: inline-block;
}

#rasp {
	width: fit-content;
	height: fit-content;
	border-style: solid;
	border-width: calc( 3 * var(--linepx) );
}

sub1 {
    margin-top: 1em;
    font-size: 70%;
}

sub2 {
    vertical-align: sub;
    font-size: 85%;
}

.short {
  --width: 3rem;
  --height: 1.5rem;
  --linepx: 1px;
  --labelFont: 100%;
}

.long {
  --width: 10.0rem;
  --height: 5.0rem;
  --linepx: 2px;
  --labelFont: 150%;
}

.card {
	width: var(--width); 
	height: var(--height); 
	text-align:center; 
	display: inline-flex; 
	vertical-align: top; 
	position: relative;
}

.verticalBorder {
	height: var(--height); 
	background-color: black; 
	display: inline-block; 
	vertical-align: top;
}

.teacherLabel {
	width: 9.5em; 
	height: var(--height);
	text-align: center; 
	display: inline-flex; 
	vertical-align: top; 
	padding-left: 0.25em; 
	align-items: center;
}

.dayLabel {
	width: calc( 7 * var(--width) + 6 * var(--linepx) ); 
	height: var(--height); 
	display: inline-flex; 
	vertical-align: top; 
	position: relative; 
	justify-content: center; 
	align-items: center; 
	box-sizing: border-box; 
	font-weight: 700;
	border-bottom-style: solid;
	border-width: var(--linepx);
}

.long .teacherLabel {
	font-size: 150%;
}

.long .urokNlabel, .long .dayLabel {
	font-size: 250%;
}

.urokNlabel {
	width: var(--width); 
	height: var(--height);
	font-size: var(--labelFont);
	display: inline-flex; 
	vertical-align: top; 
	position: relative; 
	justify-content: center; 
	align-items: center; 
	font-weight: 700;
}

.horisontalLine {
	background-color: black;
}

.odd {
	background-color: #eeeeee;
}

.nowUrok{
	background-color: rgba(0, 255, 0, 0.25);
}

.prevUrok, .nextUrok {
	background-color: rgba(255, 255, 0, 0.15);
}

.sameKlass {
	background-color: rgba(0, 100, 255, 0.5);
}

.sameGroup {
	background-color: rgba(255, 0, 255, 0.5);
}

.lineTeacher {
	background-color: rgba(0, 255, 0, 0.25);
}
.card.lineTeacher{
	font-weight: 700;
}

.card.sameGroup{
	font-weight: 700;
}

.cardLine {
	text-align:right;
	line-height: 100%;
}

#doZvon {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: white;
    z-index: 28;
	border-radius: 2vh;
	padding: 0.33vw;
	padding-left: 0.66vw;
	font-size:1.3vw;
}

#podrob {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 28;
	width: calc(11.5em + 4 * var(--linepx));
	height: calc(2 * var(--height));
	margin-top: calc(8px + 3 * var(--linepx));
	margin-left: calc(8px + 3 * var(--linepx));
	font: inherit;
	font-size: var(--labelFont);
}