html, body 	{
	margin: 0;
	padding: 0;
	min-height: 100%;
	height: 100% !important;
    box-sizing: border-box;
}
.wrapper {
	width: 100%;
	min-height: 100%;
	background: #F5F5F5;
	-ms-align-items: center;
	align-items: center;
	justify-content: center;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	padding: 10px;
	box-sizing: border-box;
}
.form {
	padding: 12px 16px;
	background: #fff;
	border-radius: 3px;
	box-shadow: 0 3px 9px 0 rgba(0,0,0,0.34);
	display: flex;
	-ms-align-items: center;
	align-items: center;
	justify-content: flex-start;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	-ms-flex-direction: row;
	-o-flex-direction: row;
	flex-direction: row;

}
.form .form-item {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: center;
	align-items: center;
	justify-content: center;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	-ms-flex-direction: row;
	-o-flex-direction: row;
	flex-direction: row;
	margin-right: 16px;
}
.form .form-item:last-of-type {
	margin-right: 0;
}
.form .form-item .form-item_title {
	font: 400 14px/1 'Roboto',sans-serif;
	margin-right: 16px;
	color: #212121;
}
.form .form-item .form-item_body {
	position: relative;
}
.form .form-item .form-item_body select {
	font: 400 14px/1 'Roboto',sans-serif;
	outline: none;
	border: 1px solid #9E9E9E;
	color: #212121;
	border-radius: 3px;
	padding: 4px 8px;
	outline: none;
}
.form .form-item .form-item_body input[type="date"] {
	font: 400 14px/1 'Roboto',sans-serif;
	outline: none;
	border: 1px solid #9E9E9E;
	color: #212121;
	border-radius: 3px;
	padding: 4px 8px;
	outline: none;
}
.form .form-item .form-item_body input#calendar_s {	
	margin-right: 16px;
}
.form .form-item .form-item_body input[type="submit"] {
	color: #fff;
	background: #009247;
	font: 400 14px/1 'Roboto',sans-serif;
	border: none;
	border-radius: 3px;
	padding: 8px 18px;
	outline: none;
	box-shadow: 0 2px 6px rgba(0,0,0,0.3);
	cursor: pointer;
	transition: all .2s ease;
}
.form .form-item .form-item_body input[type="submit"]:hover {
	box-shadow: 0 3px 12px 0px rgba(0,0,0,0.3);
	background: #3F51B5;
}
.form .form-item .form-item_body input[type="submit"]:active {
	background: #1A237E;
	box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.table {
	border-radius: 3px;
	box-shadow: 0 0 0 1px rgba(0,0,0,0.24);
	max-width: 900px;
	margin: 28px auto;
	background: #fff;
	width: 100%;
	min-width: 890px;
}
.table .table-header {
	position: relative;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: stretch;
	align-items: stretch;
	justify-content: space-between;
	flex-wrap: nowrap;
	border-bottom: 1px solid #BDBDBD;
}
.table .table-body .table-body_item .datetime {
	padding: 10px;
	flex: 1 0 auto;
	font: 400 14px/1 'Roboto',sans-serif;
	color: #757575;
	border-bottom: 1px solid #BDBDBD;
	width: 100%;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: center;
	align-items: center;
	box-sizing: border-box;
}
.table .table-header .time, .table .table-body .table-body_item .time {
	padding: 10px;
	box-sizing: border-box;
	max-width: 8%;
	flex: 1 0 auto;
	font: 400 14px/1 'Roboto',sans-serif;
	color: #757575;
	border-right: 1px solid #BDBDBD;
	width: 100%;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: center;
	align-items: center;
}
.table .table-header .group, .table .table-body .table-body_item .group {
	padding: 10px;
	box-sizing: border-box;
	max-width: 8%;
	flex: 1 0 auto;
	font: 400 14px/16px 'Roboto',sans-serif;
	color: #757575;
	border-right: 1px solid #BDBDBD;
	width: 100%;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: center;
	align-items: center;
}
.table .table-header .subgroup, .table .table-body .table-body_item .subgroup {
	font: 700 14px/16px 'Roboto',sans-serif;
	color: #757575;
	padding: 0;
}
.table .table-header .lesson, .table .table-body .table-body_item .lesson {
	padding: 10px;
	box-sizing: border-box;
	max-width: 47%;
	flex: 1 0 auto;
	font: 400 14px/16px 'Roboto',sans-serif;
	color: #757575;
	border-right: 1px solid #BDBDBD;
	width: 100%;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: center;
	align-items: center;
}
.table .table-body .table-body_item .lesson {
	flex-wrap: wrap;
}
.table .table-header .teacher, .table .table-body .table-body_item .teacher {
	padding: 10px;
	box-sizing: border-box;
	max-width: 15%;
	flex: 1 0 auto;
	font: 400 14px/16px 'Roboto',sans-serif;
	color: #757575;
	border-right: 1px solid #BDBDBD;
	width: 100%;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: center;
	align-items: center;
}
.table .table-header .territory, .table .table-body .table-body_item .territory {
	padding: 10px;
	box-sizing: border-box;
	max-width: 11%;
	flex: 1 0 auto;
	font: 400 14px/16px 'Roboto',sans-serif;
	color: #757575;
	border-right: 1px solid #BDBDBD;
	width: 100%;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: center;
	align-items: center;
}
.table .table-header .classroom, .table .table-body .table-body_item .classroom {
	padding: 10px;
	box-sizing: border-box;
	max-width: 11%;
	flex: 1 0 auto;
	font: 400 14px/16px 'Roboto',sans-serif;
	color: #757575;
	width: 100%;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: center;
	align-items: center;
}
.table .table-body .table-body_item .classroom .title {
	display: none;
}
.table .table-body {
	display: flex;
	align-content: stretch;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
	justify-content: space-between;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
}
.table .table-body .table-body_item	{
	position: relative;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: stretch;
	align-items: stretch;
	justify-content: space-between;
	flex-wrap: nowrap;
	border-bottom: 1px solid #BDBDBD;
}
.table .table-body .table-body_item:last-of-type {
	border: none;
}
.table .table-body .table-body_item .datetime, 
.table .table-body .table-body_item .time, 
.table .table-body .table-body_item .group,
.table .table-body .table-body_item .subgroup,
.table .table-body .table-body_item .lesson,
.table .table-body .table-body_item .teacher,
.table .table-body .table-body_item .territory,
.table .table-body .table-body_item .classroom {
	color: #424242;
}

.table .table-body .table-body_item .time .title {
	display: none;
}
.table .table-body .table-body_item .group .title {
	display: none;
}

.button-wrapper {
	margin: 0 auto 28px;
	font-size: 0;
	line-height: 0;
}
.button-wrapper .button {
	background: #009247;
	font: 400 14px/1 'Roboto',sans-serif;
	border: none;
	border-radius: 3px;
	padding: 8px 18px;
	outline: none;
	box-shadow: 0 2px 6px rgba(0,0,0,0.3);
	cursor: pointer;
	transition: all .2s ease;
	color: #fff;
	text-decoration: none;
	display: inline-block;
	margin-right: 16px;
}
.button-wrapper .button:hover {
	box-shadow: 0 3px 12px 0px rgba(0,0,0,0.3);
	background: #3F51B5;
}
.button-wrapper .button:active {
	background: #1A237E;
	box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.button-wrapper .button:last-of-type {
	margin-right: 0;
}
.form .form-item .form-item_title {
	display: none;
}
.form .form-item .form-item_body select {
	margin-right: 16px;
    padding: 6px 8px 5px;
}
.form .form-item .form-item_body input[type="submit"] {
    padding: 9px 18px 8px;
}
.table .table-header .group, .table .table-body .table-body_item .group {
	max-width: 9%;
}
.table .table-header .time, .table .table-body .table-body_item .time {
	max-width: 6%;
}
.form {
	display: -webkit-inline-flex;
	display: -moz-inline-flex;
	display: -ms-inline-flex;
	display: -o-inline-flex;
	display: inline-flex;
	margin-left: auto;
	margin-right: auto;
}
#filter {
	display: flex;
    flex-direction: column;
    align-items: center;
}
@media all and (max-width: 890px) {
		.table {
				min-width: 100%;
		}
}
@media only screen and (max-width: 800px) {
	.wrapper {
		padding: 15px;
		box-sizing: border-box;
	}
	.table .table-header .territory, .table .table-body .table-body_item .territory {
		max-width: 14%;
	}
	.table .table-header .teacher, .table .table-body .table-body_item .teacher {
		max-width: 17%;
	}
	.table .table-header .classroom, .table .table-body .table-body_item .classroom {
		max-width: 13%;
	}
	.table .table-header .lesson, .table .table-body .table-body_item .lesson {
		max-width: 40%;
	}
	.table .table-header .group, .table .table-body .table-body_item .group {
		max-width: 9%;
	}
	html, body {
		height: auto;
	}
	.table .table-header .group, .table .table-body .table-body_item .group {
		max-width: 11%;
	}
	.table .table-header .lesson, .table .table-body .table-body_item .lesson {
		max-width: 39%;
	}
}
@media all and (max-width: 760px) {
	.table .table-header .group, .table .table-body .table-body_item .group {
		max-width: 12%;
	}
}
@media only screen and (max-width: 700px) {
	.button-wrapper {
		flex-direction: column;
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
	}
	.button-wrapper .button {
		margin: 0 0 15px;
		text-align: center;
	}
	.button-wrapper .button:last-of-type {
		margin: 0;
	}
	.table .table-header {
		display: none;
	}
	.table .table-header .time, .table .table-body .table-body_item .time {
		max-width: 5%;
		align-items: center;
		justify-content: center;
	}
	.table .table-header .territory, .table .table-body .table-body_item .territory {
		max-width: 8%;
	    align-items: center;
		justify-content: center;
	}
	.table .table-header .classroom, .table .table-body .table-body_item .classroom {
		max-width: 11%;
		align-items: center;
		justify-content: center;
	}
	.table .table-body .table-body_item .classroom .title {
		display: block;
	}
	.table .table-header .lesson, .table .table-body .table-body_item .lesson {
		max-width: none;
		flex: 1;
	}
	.table .table-header .group, .table .table-body .table-body_item .group {
		max-width: 12%;
		align-items: center;
		justify-content: center;
	}
	.table .table-header .lesson, 
	.table .table-body .table-body_item .lesson, 
	.table .table-header .group, 
	.table .table-body .table-body_item .group, 
	.table .table-header .time, 
	.table .table-body .table-body_item .time, 
	.table .table-header .teacher, 
	.table .table-body .table-body_item .teacher, 
	.table .table-header .territory, .table .table-body 
	.table-body_item .territory, .table .table-header .classroom, 
	.table .table-body .table-body_item .classroom, 
	.table .table-header .subgroup, .table .table-body 
	.table-body_item .subgroup {
		font-size: 13px;
	    word-break: break-all;
	}
}
@media all and (max-width: 650px) {
	.table .table-header .group, .table .table-body .table-body_item .group {
		max-width: 12%;
	}
}
@media only screen and (max-width: 580px) {
	.form {
		-webkit-flex-direction: column;
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		flex-direction: column;
		width: 100%;
	    box-sizing: border-box;
	    padding: 16px;
	}
	.form .form-item {
		margin: 0 0 10px;
		width: 100%;
		justify-content: space-between;
	}
	.form .form-item:last-of-type {
		margin: 0;
	}
	.form .form-item .form-item_title {
		width: 30%;
	}
	.form .form-item .form-item_body {
		flex: 1 0 auto;
		width: 100%;
		margin-bottom: 10px;
	}
	.form .form-item .form-item_body select {
		width: 100%;
	    box-sizing: border-box;
	}
	.form .form-item .form-item_body input[type="date"] {
		width: 100%;
	    box-sizing: border-box;
	}
	.form .form-item .form-item_body input[type="submit"] {
		width: 100%;
	}
	.table {
		box-shadow: none;
		background: none;
		border-radius: 0;
	}
	.table .table-body .table-body_item {
		background: #fff;
		margin-bottom: 13px;
		border-radius: 3px;
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
		border: none;
		box-shadow: 0 0 0 1px rgba(0,0,0,0.24);
	}
	.table .table-body .table-body_item:last-of-type {
		margin: 0;
	}
	.table .table-body .table-body_item .time {
		border: none;
		max-width: none;
		width: 100%;
	    justify-content: flex-start;
	    border-bottom: 1px solid #BDBDBD;
	}
	.table .table-body .table-body_item .time .title {
		display: block;
	}
	.table .table-body .table-body_item .group {
		border: none;
		max-width: none;
		width: 100%;
	    justify-content: flex-start;
	    border-bottom: 1px solid #BDBDBD;
	}
	.table .table-body .table-body_item .group .title {
		display: block;
	}
	.table .table-header .lesson, 
	.table .table-body .table-body_item .lesson, 
	.table .table-header .group, 
	.table .table-body .table-body_item .group, 
	.table .table-header .time, 
	.table .table-body .table-body_item .time, 
	.table .table-header .teacher, 
	.table .table-body .table-body_item .teacher, 
	.table .table-header .territory, .table .table-body 
	.table-body_item .territory, .table .table-header .classroom, 
	.table .table-body .table-body_item .classroom {
		padding: 7px;
	}
	.table .table-header .classroom, .table .table-body .table-body_item .classroom {
		max-width: 14%;
	}
	.form .form-item .form-item_body select {
		margin: 0 0 10px;
	}
}
@media only screen and (max-width: 500px) {
	.table .table-body .table-body_item .lesson {
		border: none;
		max-width: none;
		width: 100%;
	    justify-content: flex-start;
	    border-bottom: 1px solid #BDBDBD;
	    flex: 1 0 100%;
	}
	.table .table-header .teacher, .table .table-body .table-body_item .teacher, .table .table-header .territory, .table .table-body .table-body_item .territory, .table .table-header .classroom, .table .table-body .table-body_item .classroom {
		max-width: 33%;
		align-items: center;
    	justify-content: center;
	}
	.form .form-item .form-item_title {
		width: auto;
	}
}

.center{
	justify-content: center;
}