body {
  margin: 0px;
  color: #333333;
  width: 100%;
  height: 100%;
  background-color: #fbfbfb;
	font-family: 'PT Sans', PTsans, Arial, sans-serif;
}

p {
  margin: 0;
	font-family: 'PT Sans', PTsans, Arial, sans-serif;
	font-size: 0.9em;
}

h1 {
  color: #707070;
  font-size: 1.2em;
  text-align: center;
  font-weight : bold;
	padding: 10px 0;
}

h3 {
	font-size: 1.1em;
  text-align: center;
  font-weight : bold;
	padding: 0;
}

a, a:visited {
	color: #ffffff;
	text-decoration: none;
}

a:hover{
	text-decoration: underline;
}

th {
  padding: 10px;
  text-align: left;
	background: #00645a;
	color: white;
	text-align: center;
}
tr:nth-child(odd) {
  background: white;
}
tr:nth-child(even) {
  background: #f3f3f3;
}

/* Оформление текста в ячейках */

.title-date {
	font-weight: 700;
}

.week-day {
	color: #7d7a77;
}

.lesson-n {
	font-weight: 700;
	padding-bottom: 4px;
}

.lesson-time {
	color: #7d7a77;
}

.subj {
	font-weight: 700;
}
.teacher {
	color: #7d7a77;
}
.aud {
	color: #4e87c1;
}
.lessontype {
	font-style: italic;
}
.group {
	color: #5aa549;
}

.s-label {
	font-weight: 700;
}

div {
  font-family: 'PT Sans', PTsans, Arial, sans-serif;
	display: block;
}

.linebreak {
	clear:both;
}

.container-progress {
  max-width: 1000px;
	margin: 0 auto;
}

.container-schedule {
  max-width: 1400px;
	margin: 0 auto;
}

.content {
  width: 100%;
  margin: 0 auto;
	padding-top: 10px;
}

.schedule-title {
	text-align: center;
	font-weight: bold;
	padding: 10px;
}

.vertical-space {
	height: 500px;
}

/* ---------------- Header ---------------- */
.header {
	padding: 0;
}

.header-left {
  float: left;
	width: 50%;
}

.header-right {
  float: left;
	width: 50%;
	margin-top: 20px;
	text-align: right;
	color: #036F4B;
}

.header a:hover {
	background-color: #fbfbfb;
}

/* ---------------- Footer---------------- */

.footer {
  width: 100%;
  margin: 10px auto 0;
  padding: 20px;
  background-color: #f0f4f7;
	font-size: 0.8em;
	color: #707070;
	border-top: 1px solid #aaaaaa;
}

.footer a {
  color: #cc6633;
}

/* Блоки таблицы расписания */

.schedule-title-row {
	display: flex; 
}

.schedule-title-cell {
	padding: 8px;
	float: left;
	width: 16%;
	border: 1px solid #eeeeee;
	background: #fafafa;
	box-sizing: border-box;
}

.schedule-title-cell-lt {
	padding: 8px;
	float: left;
	width: 5%;
	border: 1px solid #eeeeee;
	background: #fafafa;
	box-sizing: border-box;
}

.schedule-cell {
	padding: 8px;
	float: left;
	width: 16%;
	border: 1px solid #eeeeee;
	border-bottom: none;
	background: #ffffff;
	box-sizing: border-box;
}

.schedule-cell-lt {
	padding: 8px;
	float: left;
	width: 5%;
	border: 1px solid #eeeeee;
	border-bottom: none;
	background: #ffffff;
	box-sizing: border-box;
}

/* =========================================================== */
/*                           ТЕЛЕФОН                           */
/* =========================================================== */
@media screen and (max-width: 768px){

	p {
		font-size: 0.8em;
	}
	
	th {
		font-size: 0.9em;
	}

	td {
		font-size: 0.8em;
	}

	div {
		font-size: 1em;
		width: 100%;
	}

	.content {
		width: 100%;
		margin: 0 auto;
		padding-top: 10px;
	}

	.vertical-space {
		height: 10px;
	}

	.schedule-title-row {
		display: flex;
		width: 800px;
	}
	
	.schedule-title-cell {
		padding: 4px;
	}

	.schedule-title-cell-lt {
		padding: 4px;
	}

	.schedule-cell {
		padding: 4px;
	}

	.schedule-cell-lt {
		padding: 4px;
	}
}