/*
//
//	saliorel 5 : Display
//	display.css
//
//	the wime team
//
//	(c) stefan wittwer 2015
//	(c) kai hoffmann 2015
//
//	alle rechte vorbehalten.
//
*/

* {
	margin: 0;
	padding: 0;
	
	font-size: 100%;
}

body {
	background: #000;
	color:#FFF;
	
	font-family: 'SFUIWeb', 'San Francisco Display', 'Helvetica Neue', 'Segoe UI', sans-serif;
	
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.midyr {
	background: #000000 url('../assets/uonlygotoneshot.gif') no-repeat 362px -39px;
    background-size: 259px 180px;
}

.the-amazing-header {
	height: 38px;
	
	padding: 38px 30px;
    padding-top: 42px;
}

.that-gorgeous-logotype {
	width: 286px;
	height: 46px;
	
	display: inline-block;
	
	background: transparent url('../assets/saliorel-news-rebrand-logo.png') no-repeat center center;
	background-size: 266px 46px;
}

.that-brilliant-date-information span.date-information-date { font-size: 18px; }
.that-brilliant-date-information span.date-information-date, .that-brilliant-date-information span.date-information-day { display: block; }

.that-brilliant-date-information {
	margin-left: 14px;
    padding-left: 36px;
    
    height: 42px;
    line-height: 26px;
    vertical-align: top;
    
    display: inline-table;
    letter-spacing: 0.5px;
	border-left: 2px solid #383838;
}

.that-brilliant-date-information span.date-information-day {
    font-size: 16px;
    margin-top: -4px;
	
	color: #E8E8E8;
	line-height: 18px;
}

.that-brilliant-date-information span.date-information-date { 
    font-size: 22px;
    margin-top: 6px;
    font-weight: 800;
}

.that-brilliant-date-information span.date-information-date,
.that-brilliant-date-information span.date-information-day {
    display: block;
}


.ding-notification {
	cursor: default;
	position: absolute;
	
	top: -90px;
	right: 15px;
	
	height: 64px;
	width: 305px;
	
	padding: 5px 8px;
	border-radius: 8px;
	
	background: #1b2025; /* #444B54; */
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	
	transition: 1s top cubic-bezier(0.73,0.04,0.16,0.97);
	-o-transition: 1s top cubic-bezier(0.73,0.04,0.16,0.97);
	-ms-transition: 1s top cubic-bezier(0.73,0.04,0.16,0.97);
	-moz-transition: 1s top cubic-bezier(0.73,0.04,0.16,0.97);
	-webkit-transition: 1s top cubic-bezier(0.73,0.04,0.16,0.97);
	
    font-size: 15px;
    letter-spacing: 0.15px;

    padding-right: 20px;
    line-height: 22px;
}

.ding-notification .content b,
.ding-notification .content span {
	display: block;
    padding-left: 10px;
}

.ding-notification .content b { font-weight: 800; }
.ding-notification.shown { top: 22px; }
.ding-notification .content { padding-top: 12px; }

.ding-notification[data-icon="update"],
.ding-notification[data-icon="handoff"],
.ding-notification[data-icon="issue"],
.ding-notification[data-icon="system"] {
	
	background-image: url('../assets/display_icons.png');
	background-size: 71px 282px;
	background-repeat: no-repeat;
}

.ding-notification[data-icon="tether"] {
	background: #007bff;
	
	background-image: url('../assets/tether.png');
	background-size: 26px 18px;
	
	background-repeat: no-repeat;
    background-position: 22px 28px;
}

.ding-notification[data-icon="update"] .content,
.ding-notification[data-icon="handoff"] .content,
.ding-notification[data-icon="issue"] .content,
.ding-notification[data-icon="system"] .content,
.ding-notification[data-icon="tether"] .content {
	padding-left: 50px;
}

.ding-notification[data-icon="handoff"] { background-position: 0 -139px; }
.ding-notification[data-icon="issue"] { background-position: 0 -66px; background-color: #ff3c3c; }
.ding-notification[data-icon="system"] { background-position: 0 -208px; }


.amazing-timetable-classname,
.amazing-timetable-subject {
	vertical-align: middle;
	line-height: 36px;
}

.amazing-timetable-subject.multiple {
	line-height: 19px;
	padding-top: 4px;
	height: 40px;
	
	font-size: 14px;
}

.amazing-timetable-subject br {
	clear: both;
}

.amazing-timetable-row .amazing-timetable-subject.somewhatfree .kf {
	background: #ff1b5b;
	border-radius: 2px;
    padding-left: 3px;
    padding-right: 3px;
    margin-left: 9px;
    margin-right: 7px;
	height: 17px;
	margin-top: 2px;
	color: #1B2128;
	min-width: 18%;
}

.amazing-timetable-subject.somewhatfree .room.kf {
	text-decoration: line-through;
}

.amazing-timetable-classname {
    display: inline-block;
    
    color: #2E3743;
    background-color: #fbf8ea;
    
    width: 70px;
    height: 44px;
    
    font-size: 22px;
	font-weight: 600;
    
    margin-left: 32px;
    
    line-height: 44px;
    border-radius: 4px;
    
    text-align: center;
    vertical-align: middle;
    
	box-shadow: 0px 12px 25px 0px rgba(0, 0, 0, 0.09);
}

.amazing-timetable-subject.m { box-shadow: 0px 8px 12px 0px rgba(0,0,0,0.1); }
.amazing-timetable-subject {
  	display: inline-block;
  	
    color: white;
    background-color: #1E242C;
    
    font-size: 17px;
    
    width: 124px;
    height: 44px;
    
    text-align: center;
    vertical-align: middle;
    
    line-height: 44px;
    border-radius: 4px;
    
    margin-left: 6px;
	overflow: hidden;
	
    -webkit-transition: 0.5s opacity;
    -moz-transition: 0.5s opacity;
    -ms-transition: 0.5s opacity;
    -o-transition: 0.5s opacity;
    transition: 0.5s opacity;
}

.the-revolutionary-timetable .amazing-timetable-subject.subject-over + .amazing-timetable-subject:not(.subject-over) {
    background: #323c4a;
}

.row-type-5 .amazing-timetable-subject.subject-over + .amazing-timetable-subject:not(.subject-over), .row-type-3 .amazing-timetable-subject.subject-over + .amazing-timetable-subject:not(.subject-over), .row-type-1 .amazing-timetable-subject.subject-over + .amazing-timetable-subject:not(.subject-over) {
    background: #515d6d;
}

.amazing-timetable-subjects {
	display: inline-block;
	margin-left: 5px;
}

span.subject {
	float: left;
	padding-left: 14px;
	font-weight: bold;
}

.amazing-timetable-row {
	margin-bottom: 7px;
}

span.room {
	float: right;
	padding-right: 14px;
    min-width: 26px;
    text-align: right;
}

.amazing-timetable-row .amazing-timetable-subject.e { background-color: #0F1216; }
.the-revolutionary-timetable .amazing-timetable-row .amazing-timetable-subjects .amazing-timetable-subject.free {
	background-color: #ff1b5b;
	color: #1B2128;
	
	box-shadow: 0 3px 10px rgba(245, 26, 115, 0.55);
}

.amazing-timetable-subject.free span.room { text-decoration: line-through; }

.amazing-timetable-row:nth-child(even) .amazing-timetable-classname { background: #dadad4; }
.amazing-timetable-subject {5
	width: 9%;
	width: calc(9% + 2px);
}

@media screen and (min-width: 1030px) { .amazing-timetable-subject { width: calc(9% + 2px); } }
@media screen and (min-width: 1130px) { .amazing-timetable-subject { width: calc(9% + 4px); } }
@media screen and (min-width: 1230px) { .amazing-timetable-subject { width: calc(9% + 5px); } }
@media screen and (min-width: 1330px) { .amazing-timetable-subject { width: calc(9% + 6px); } }
@media screen and (min-width: 1430px) { .amazing-timetable-subject { width: calc(9% + 7px); } }

.the-revolutionary-timetable,
.amazing-timetable-row,
.amazing-timetable-subjects {
	width: 100%;
}

.amazing-timetable-subject .inner {
	/* -webkit-transition: 0.75s margin-top ease-in-out; /* cubic-bezier(0.73,0.04,0.16,0.97); */
	/* -moz-transition: 0.75s margin-top ease-in-out; /* cubic-bezier(0.73,0.04,0.16,0.97); */
	/* -ms-transition: 0.75s margin-top ease-in-out; /* cubic-bezier(0.73,0.04,0.16,0.97); */
	/* -o-transition: 0.75s margin-top ease-in-out; /* cubic-bezier(0.73,0.04,0.16,0.97); */
	/* transition: 0.75s margin-top ease-in-out; /* cubic-bezier(0.73,0.04,0.16,0.97); */
	
	/*-webkit-transition: 5.75s margin-top ease-in-out;
	-moz-transition: 5.75s margin-top ease-in-out;
	-ms-transition: 5.75s margin-top ease-in-out;
	-o-transition: 5.75s margin-top ease-in-out;
	transition: 5.75s margin-top ease-in-out;*/
}

.amazing-timetable-subjects {
	width: 86%;
	width: calc(100% - 115px);
}

img.loader {
	width: 40px;
	height: 40px;
	
	margin: 26px 35px;
}

div#start-screen {
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 90;
}

div#start-screen .progress-bar {
    height: 9px;
    border-radius: 0;
    width: 240px;
    background: #1E1E1E;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 58px;
}

div#start-screen .progress-bar .progress-bar-inner {
    background: #FFF;
    width: 0%;
    height: 9px;
    -webkit-transition: 0.7s width cubic-bezier(0.48, 0.04, 0.24, 0.99);
    -moz-transition: 0.7s width cubic-bezier(0.48, 0.04, 0.24, 0.99);
    -ms-transition: 0.7s width cubic-bezier(0.48, 0.04, 0.24, 0.99);
    -o-transition: 0.7s width cubic-bezier(0.48, 0.04, 0.24, 0.99);
    transition: 0.7s width cubic-bezier(0.48, 0.04, 0.24, 0.99);
}

div.start-screen-inner {
    width: 516px;
    margin: 0 auto;
    position: fixed;
    left: 50%;
    top: 50%;
    margin-left: -258px;
    margin-top: -66px;
    height: 128px;
    text-align: center;
}
.start-screen-inner .that-gorgeous-logotype {
    width: 444px;
    height: 82px;
    background: transparent url('../assets/saliorel-news-rebrand-large.png') no-repeat center center;
    background-size: 444px 82px;
}


.amazing-timetable-subject .lesson {
    display: block;
    clear: both;
}

@media screen and (max-width: 1150px) {
	.amazing-timetable-subject.somewhatfree .kf {padding-right: 4px;padding-left: 4px;margin-left: 9px;margin-right: 8px;}
}

.amazing-timetable-subject.somewhatfree .kf.subject { margin-right: 0; }
.amazing-timetable-subject.somewhatfree .kf.room { margin-left: 0; }
.amazing-timetable-row .amazing-timetable-subject.block {
    background: #00e7ff;
    color: #1e242c;
}

.amazing-timetable-subject.block .subject {
    width: 100%;
    font-size: 13px;
    line-height: 16px;
    padding-top: 5px;
    overflow-wrap: break-word;
    padding-left: 0;
    font-weight: 500;
}

canvas#display-clock {
    width: 80px;
    height: 80px;
    
    position: absolute;

    top: 18px;
    right: 26px;

    background: transparent url('../assets/clockface.png') no-repeat 0 0;
    background-size: 80px 80px;
}

.display-ui-time {
    position: absolute;

    right: 146px;
    top: 32px;

    font-size: 36px;
    text-align: right;
    font-weight: 400;
}

.display-ui-time .display-ui-time-hour,.display-ui-time .display-ui-time-colon,.display-ui-time .display-ui-time-minute {
    display: inline-block;
    margin-right: -6px;
}

.display-ui-time-colon {
    animation: time-blink 1s linear 0s infinite alternate;
    -ms-animation: time-blink 1s linear 0s infinite alternate;
    -moz-animation: time-blink 1s linear 0s infinite alternate;
    -webkit-animation: time-blink 1s linear 0s infinite alternate;
}

@keyframes time-blink {
    from { opacity: 1; }
    to { opacity: 0.2; }
}
@-webkit-keyframes time-blink {
    from { opacity: 1; }
    to { opacity: 0.2; }
}
@-moz-keyframes time-blink {
    from { opacity: 1; }
    to { opacity: 0.2; }
}
@-ms-keyframes time-blink {
    from { opacity: 1; }
    to { opacity: 0.2; }
}
.lesson i.iu-student {
    font-size: 11px;
    font-style: normal;
    font-weight: normal;
    padding-left: 5px;
    color: #b5c6dc;
    vertical-align: middle;
}

.amazing-timetable-subject.thingsactuallychanged .lesson span.room.substchanged {
    background: #1e242c;
    border-radius: 3px;
    color: #4eff53;
    height: 16px;
    padding: 3px 5px;
    min-width: initial;
    line-height: 16px;
    font-size: 14px;
    margin-top: 11px;
    margin-right: 10px;
}

.the-revolutionary-timetable .amazing-timetable-row .amazing-timetable-subjects .amazing-timetable-subject.thingsactuallychanged {
    background: #4eff53;
    color: #1e242c;
}

#the-view .the-revolutionary-timetable .amazing-timetable-row .amazing-timetable-subject.shift,
#the-view .the-revolutionary-timetable .amazing-timetable-row .amazing-timetable-subject.add {
	background: #2992ff;
    color: #000;
    
    box-shadow: 0 4px 11px rgba(0, 114, 255, 0.47);
}

.the-revolutionary-timetable .amazing-timetable-subject.subject-over { opacity: 0.44; }
small.lesson-message {
    font-size: 12px;
    font-weight: 500;
    line-height: 11px;
    padding-left: 7px;
}

.amazing-timetable-subject.hasmessage:not(.free):not(.somewhatfree) small.lesson-message {
    background: #00e7ff;
    color: #000;
    padding: 1px 4px;
    border-radius: 3px;
    margin-left: 6px;
}

.amazing-timetable-subject.hasmessage.somewhatfree .lesson.cancel small.lesson-message { color: #FFF; }

.the-revolutionary-timetable .amazing-timetable-subject.hasmessage.thingsactuallychanged .substchanged small.lesson-message {
    background: #1e242c;
    color: #4eff53;
    position: absolute;
    margin-top: -2px;
    margin-left: -12px;
}

.the-revolutionary-timetable .amazing-timetable-subject.hasmessage.thingsactuallychanged .subject {
    padding-top: 8px;
    padding-left: 8px;
}

.display-ui-airplane-mode,
.display-ui-wifi,
.display-ui-tether {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: transparent url('../assets/aeroplane.png') no-repeat center center;
    background-size: 18px 17px;
    padding: 0 4px;
}

.display-ui-wifi {
    background-image: url('../assets/wifi.png');
    background-size: 18px 14px;
}

.display-ui-tether {
    background-image: url('../assets/tethering.png');
    background-size: 20px 14px;
}

.display-ui-status-bar .display-ui-status {
    position: absolute;
    top: 48px;
    right: 248px;
}

.amazing-timetable-row.amazing-timetable-header .amazing-timetable-classname {
    background: #000000;
}

.amazing-timetable-row.amazing-timetable-header .amazing-timetable-subject {
    background: #000000;
    opacity: 1 !important;
    font-size: 17px;
    color: #afbac7;
    margin-left: 2px;
}

span.subject.rmres {
    font-size: 15px;
    line-height: 17px;
}

.amazing-timetable-subject.hasrmres .rmres {
    background: #00e7ff;
    border-radius: 3px;
    color: #000;
}

span.teacher { color: #d0dbea; }
span.teacher.substchanged { color: #1e242c; }
span.teacher.kf { color: #333; }

span.teacher {
    float: right;
    padding-right: 10px;
}

.amazing-timetable-subject.shift span.teacher {
    color: #000;
}

.amazing-timetable-subject.hasrmres .rmres {
    display: block;
}

.lesson.rmres {
    min-height: 44px;
}

.amazing-timetable-subject.hasrmres .rmres {
    display: block;
    /*margin-bottom: 2px;*/
}

.amazing-timetable-subject.hasrmres .rmres span {
    display: block;
    float: none;
  
}

.amazing-timetable-subject.hasrmres .rmres span.teacher { display: none; }
.amazing-timetable-subject.add span.teacher { color: #000; }
.amazing-timetable-subject .kf { text-decoration: line-through; }

.amazing-timetable-subject.hasrmres .rmres span.room {
    line-height: 27px;
    font-size: 16px;
}

.amazing-timetable-row.row-type-2 .amazing-timetable-classname {background: #ffe06f;}
.amazing-timetable-row.row-type-2:nth-child(even) .amazing-timetable-classname {background: #ffe998;}

.amazing-timetable-row.row-type-3 .amazing-timetable-classname {background: #d9efb6;}
.amazing-timetable-row.row-type-3:nth-child(even) .amazing-timetable-classname {background: #ebfbd1;}

.amazing-timetable-row.row-type-4 .amazing-timetable-classname {background: #e4a8d0;}
.amazing-timetable-row.row-type-4:nth-child(even) .amazing-timetable-classname {background: #ffc8ec;}

.amazing-timetable-row.row-type-5 .amazing-timetable-classname {background: #d2ecfb;}
.amazing-timetable-row.row-type-5:nth-child(even) .amazing-timetable-classname {background: #aecee0;}

.amazing-timetable-row.row-type-6 .amazing-timetable-classname { background: #c5f5e5; }
.amazing-timetable-row.row-type-6:nth-child(even) .amazing-timetable-classname { background: #aee0cf; }

.row-type-5 .amazing-timetable-subject,
.row-type-3 .amazing-timetable-subject,
.row-type-1 .amazing-timetable-subject {
    background: #252c35;
}

.amazing-timetable-allday {
    display: inline-block;
    color: white;
    background-color: #0f1216;
    width: 98%;
    height: 44px;
    text-align: center;
    vertical-align: middle;
    line-height: 44px;
    border-radius: 4px;
    margin-left: 6px;
    overflow: hidden;
    -webkit-transition: 0.5s opacity;
    -moz-transition: 0.5s opacity;
    -ms-transition: 0.5s opacity;
    -o-transition: 0.5s opacity;
    transition: 0.5s opacity;
}

.amazing-timetable-allday b {
    font-size: 17px;
    padding-left: 15px;
}

.row-type-5 .amazing-timetable-subject.e, .row-type-3 .amazing-timetable-subject.e, .row-type-1 .amazing-timetable-subject.e { background: #191d23; }

.amazing-timetable-subject.thingsactuallychanged.multiple .lesson span.room.substchanged {
    margin: 0;
    margin-right: 12px;
}

.amazing-timetable-subject.thingsactuallychanged span.teacher {
    color: #000;
}

.amazing-timetable-holiday {
	height: 3053px;
	background: #1D1E1E;
	
	margin: 5px 30px;
	border-radius: 5px;
	border: 1px solid rgba(255, 255, 255, 0.09);
}

.amazing-timetable-holiday .inner b {
    font-size: 26px;
    display: block;
}

.amazing-timetable-holiday .inner small {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 5px;
}

.amazing-timetable-holiday .inner span {
    border: 1px solid #FFF;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 14px;
    padding: 4px 6px;
    float: right;
    margin-top: -30px;
}

.amazing-timetable-holiday .inner {
    margin: 0 10%;
    margin-top: 1200px;
}

.amazing-timetable-holiday .inner .icon {
    width: 132px;
    height: 132px;
    
    background: transparent url('../assets/holidayinfo.png') no-repeat 0 0;
    background-size: 132px 132px;
}

.amazing-timetable-holiday .inner .lefty,.amazing-timetable-holiday .inner .righty {
    display: inline-block;
    vertical-align: middle;
}

.amazing-timetable-holiday .inner .righty {
    width: 70%;
    width: calc(100% - 216px);

    margin-left: 40px;
}

.amazing-timetable-subject.block span.teacher.blocktext {
    display: none;
}

.amazing-timetable-row.row-type-6 + .row-type-5,
.amazing-timetable-row.row-type-5 + .row-type-4,
.amazing-timetable-row.row-type-4 + .row-type-3,
.amazing-timetable-row.row-type-3 + .row-type-2,
.amazing-timetable-row.row-type-2 + .row-type-1 {
    margin-top: 22px;
}

body.christmas #the-header .that-gorgeous-logotype {
	background-image: url('../assets/logo_christmas.png');
    background-size: 268px 60px;
    background-position: 0 0;
    height: 66px;
    width: 258px;
    margin-top: -11px;
}

.the-revolutionary-timetable .amazing-timetable-subject {
    opacity: 1;
}

.amazing-timetable-header .amazing-timetable-subject.subject-over + .amazing-timetable-subject:not(.subject-over) {
	background: #f7f551;
	color: #000;
	font-weight: 500;
}

.the-revolutionary-timetable .amazing-timetable-subject.hasmessage.thingsactuallychanged .lesson.cancel .subject {
    padding-top: 0;
    padding-left: 2px;
}

.the-revolutionary-timetable .amazing-timetable-subject.hasmessage.thingsactuallychanged .lesson.cancel + .lesson:not(.cancel) .subject {
    padding-top: 1px;
    padding-left: 14px;
}

.amazing-timetable-row .amazing-timetable-subject.thingsactuallychanged.somewhatfree {
    background: #2d343e;
    color: #FFF;
}

.amazing-timetable-row .amazing-timetable-subject.thingsactuallychanged.somewhatfree span.teacher.substchanged {
    color: #FFF;
}

.amazing-timetable-row .amazing-timetable-subject.thingsactuallychanged.somewhatfree span.room.substchanged {
    background: #4eff53;
    color: #1e242c;
    padding: 1px 5px;
    margin-top: 2px;
    margin-right: 7px;
    margin-left: 7px;
}

.the-revolutionary-timetable .amazing-timetable-row .amazing-timetable-subject.thingsactuallychanged span.teacher.substchanged {
    color: #252c35;
}

.amazing-timetable-row .amazing-timetable-subject.somewhatfree .kf {
    background: #ff4f80;
}