* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body, html {
	background: #edeef0;
}

body {
	font: 16px/1.2 Arial,Helvetica,sans-serif;
	color: #222222;
}
a {color:#2a5885; outline:none; text-decoration:underline;}
a:hover {text-decoration:none;}
h1, h2, h3 {font:bold 40px Arial, Helvetica, sans-serif; color:#2a5885; margin: 0 0 20px; text-align: center; }
h2 {
	font-size: 35px;
}
h3 {
	font-size: 30px;
}

input, textarea {
	display: block;
	width: 100%;
	padding: 0 10px;
	border: none;
	outline: 1px solid #ddd;
	outline-offset: 0px;
	font: 16px/1.2 Arial,Helvetica,sans-serif;
	color: #222222;
}

textarea {
	padding: 7px 10px;
}

input {
	height: 40px;
}

input[type="submit"], input[type="button"] {
	width: auto;
	color: #fff;
	background: #3575ad;
	border-radius: 5px;
	cursor: pointer;
	outline: none;
	border: none;
}

input[type="submit"]:hover, input[type="button"]:hover {
	background: #2a5885;
}

.owl-dots {
	text-align: center;
	margin: 15px 0 10px 0;
}

.owl-dots .owl-dot {
	display: inline-block;
	width: 15px!important;
	height: 15px!important;
	overflow: hidden;
	text-indent: -999px;
	margin: 0 8px;
	border: 2px solid #b2bcc5!important;
	border-radius: 10px;
	outline: none;
}
.owl-dots .owl-dot:hover, .owl-dots .owl-dot.active {
	background: #b2bcc5;
}

#top {
	position: fixed;
	display: flex;
	justify-content: space-between;
	align-items: center;
	top: 0;
	left: 0;
	/*padding: 10px;*/
	width: 100%;
	background: #fff;
	border-bottom: 1px solid #ddd;
	z-index: 100;
}

#top .in {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 70px;
	padding: 10px 25px;
}

#logo {
	width: 150px;
	min-width: 150px;
	height: 50px;
	margin: 0 25px 0 0;
	background: url("../images/logo-new.png") center no-repeat;
	background-size: contain;
}

#social {
	display: flex;
}
#social a {
	width: 20px;
	height: 20px;
	margin: 0 0 0 10px;
	background: url('/tmpl/images/social-icons.png') left 0 no-repeat;
	background-size: 120px 80px;
}
#social a.vk { background-position-x: 0; }
#social a.fb { background-position-x: -20px; }
#social a.tw { background-position-x: -40px; }
#social a.inst { background-position-x: -60px; }
#social a.yt { background-position-x: -80px; }
#social a.ok { background-position-x: -100px; }
#social a:hover { background-position-y: -40px; }

#phones {
	width: 170px;
	min-width: 170px;
	margin: 0 0 0 25px;
	letter-spacing: 1px;
	font-size: 16px;
	font-weight: bold;
	/*font-family: Impact;*/
	color: #2a5885;
}

#menu {
	display: flex;
	flex-wrap: wrap;
}

#menu a {
	padding: 2px 10px;
	font-size: 14px;
	text-decoration: none;
	/* letter-spacing: -1px; */
	font-weight: bold;
	text-transform: uppercase;
	transition: 0.3s;
}
#menu a:hover, #menu a:focus
{
	color: #ef5150;
	text-decoration: underline;
}

#menu a:hover {
	text-decoration: underline;
}

#mobile-ico {
	display: none;
	margin: 0 20px;
	font-size: 24px;
	color: #507299;
	cursor: pointer;
}

.block {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	/*min-height: 400px;*/
	padding: 0 25px;
}

.in {
	flex-grow: 1;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 25px 0;
}

.text {

}

.text p {
	margin: 0 0 10px;
}

#b1, #b4, #b7 {
	color: #fff;
	background: #2a5885;
}

#b1 h1, #b1 h2, #b1 h3, #b4 h1, #b4 h2, #b4 h3, #b7 h1, #b7 h2, #b7 h3 {
	color: #fff;
}

#b2, #b5, #b8 {
	background: #fff;
}

#b1 {
	margin-top: 70px;
	background-color: #fff;
}

#b1 img {
	display: block;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

#courses {

}

#courses .list {
	margin: 0 0 20px;
}

#courses .item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #9e9e9e;
}


#courses i.fa {
	color: #2a5885;
	margin: 0 10px 0 0;
}

#courses .info {
	display: none;
	width: 100%;
	margin: 15px 0 5px;
	font-size: 14px;
}

#courses .date {
	min-width: 150px;
	margin: 0 0 10px;
}

#courses .date span, #courses .price span {
	font-size: 18px;
	font-weight: bold;
	color: #2a5885;
}

#courses .name {
	width: 25%;
	font-weight: bold;
	padding: 0 20px 0 0;
	margin: 0 0 10px;
}

#courses .price {
	min-width: 150px;
	margin: 0 0 10px;
}

#courses .teachers {
	flex-grow: 1;
	width: 25%;
	font-style: italic;
	margin: 0 0 10px;
}

#courses .more {
	width: 30px;
	height: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 0 0 15px;
	font-size: 26px;
	cursor: pointer;
}

#courses .btn-write {
	margin: 0 15px;
	padding: 7px 15px;
	background: #4caf50;
	border-radius: 4px;
	color: #fff;
	font-size: 15px;
	cursor: pointer;
	text-align: center;
	text-transform: uppercase;
	transition: 200ms;
	user-select: none;
}

#courses .btn-write:hover {
	background: #2a5885;
}

#courses .more-link {
	display: block;
	width: max-content;
	margin: 0 auto;
	text-align: center;
	font-size: 24px;
}

#teachers .items {
	/*max-width: 1200px;*/
	max-width: 1150px;
	margin: 0 auto;
}

#teachers .item {
	display: flex;
	min-height: 400px;
}

#teachers .item .photo {
	flex-grow: 1;
	margin: 0 0 0 30px;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
}

#teachers .item .name {
	margin: 0 0 10px;
	font-family: "Skema Pro Display", serif;
	font-size: 22px;
}

#teachers .item .info {
	width: 250px;
	padding: 15px 20px;
	color: #222;
	background: #fff;
}

#teachers .item .info p {
	font-size: 14px;
}

#teachers .owl-nav {
	position: absolute;
	width: 100%;
	padding: 0 0 0 280px;
	top: 180px;
}

#teachers .owl-nav button {
	display: block;
	width: 40px;
	height: 40px;
	background: #224065;
	outline: none;
	transition: background .2s;
}
#teachers .owl-nav button:hover {
	background: #3279ae;
}

#teachers .owl-nav button.owl-next {
	position: absolute;
	top: 0;
	right: 0;
}

#teachers .owl-nav button span {
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
	font-size: 30px;
	margin: -5px 2px 0;
}

#teachers .owl-nav button.owl-prev span {
	margin: -5px 2px 0;
}

#teachers .owl-dots {
	position: absolute;
	width: 100%;
	padding: 0 0 0 280px;
	top: 340px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

#teachers .owl-dots button {
	display: block;
	width: 15px;
	min-width: 15px;
	height: 15px;
	overflow: hidden;
	text-indent: -999px;
	margin: 4px 8px;
	border: none!important;
	background: #fff;
	border-radius: 10px;
	outline: none;
}

#teachers .owl-dots button.active {
	background: #2a5885;
}

#photo {
	display: flex;
	flex-wrap: wrap;
	max-width: 800px;
	margin: 0 auto;
}

#photo a {
	display: block;
	flex-grow: 1;
	width: 25%;
	height: 100px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	/*outline: 3px solid #f3f3f3;*/
	outline: 3px solid #fff;
}

#photo a:first-child {
	width: 100%;
	height: 500px;
}

#photo a img {
	display: none;
}

#video {
	max-width: 800px;
	margin: 0 auto;
}

#reviews {

}

#reviews .item {
	margin: 0 20px;
	text-align: center;
	border: 1px solid #ddd;
	padding: 18px;
}

#reviews .photo {
	width: 100px;
	height: 100px;
	margin: 10px auto;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 100px;
}

#reviews .name {
	margin: 10px 0;
	font-weight: bold;
	color: #2a5885;
}

#reviews .info {
	font-size: 15px;
	font-style: italic;
}


#reviews .owl-nav {
	/*display: flex;*/
	justify-content: center;
	font-size: 30px;
	margin: 15px 0 -30px;
	color: #2a5885;
}

#reviews .owl-nav button span {
	margin: 0 15px;
}

#contacts {
	display: flex;
}

#requisites {
	/*width: 35%;*/
	width: 50%;
	padding: 0 20px 0 0;
}

#requisites p {
	margin: 0 0 10px;
}

#requisites p.phone {
	font-size: 20px;
	color: #2a5885;
}

#requisites p.email {
	text-decoration: underline;
}

#map {
	width: 65%;
}

#contacts-form {
	width: 50%;
}

#contacts-form .row {
	padding: 0 0 10px;
}

#contacts-form textarea[name="message"] {
	height: 100px;
}

#contacts-form-end {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

#anti-spam {
	display: flex;
	align-items: center;
	flex-grow: 1;
	padding: 0 15px 0 0;
}

#anti-spam p {
	line-height: 1.2;
	padding: 0 5px 0 0;
	font-style: italic;
}

#anti-spam input {
	width: 50px;
}

#contacts-form-result {
	display: none;
	font-style: italic;
	color: #4CAF50;
	text-align: center;
	font-size: 18px;
}

#contacts-form-result.error {
	color: #F44336;
	font-size: 15px;
}

#slider {
	max-width: 1200px;
}

#b10 {
	padding: 20px 0;
	background: #fff;
}

#gallery {
	padding: 20px 0;
}

#gallery .list {
	display: flex;
	width: 100%;
	height: 720px;
}

#gallery .list a {
	display: block;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border: 2px solid #fff;
	opacity: 0.7;
	transition: all 0.3s linear 0s;
}

#gallery .list a:hover {
	opacity: 1;
}

#gallery .list a img {
	display: none;
}

#gallery .col1 {
	width: 50%;
	height: 100%;
	display: flex;
	flex-wrap: wrap;
}

#gallery .col1 a {
	width: 50%;
	height: 240px;
}

#gallery .col1 a:last-child {
	width: 100%;
	height: 480px;
}

#gallery .col2 {
	width: 25%;
	height: 100%;
	display: flex;
	flex-wrap: wrap;
}

#gallery .col2 a {
	width: 50%;
	height: 120px;
}

#gallery .col2 a:first-child {
	width: 100%;
	height: 480px;
}

#gallery .col3 {
	width: 25%;
	height: 100%;
	display: flex;
	flex-wrap: wrap;
}

#gallery .col3 a {
	width: 100%;
	height: 240px;
}

#b3 {
	background: #fff;
	border-top:  1px solid #ddd;
	padding: 25px 0;
}

#b3 .custom {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin: -10px;
	background-size: cover;
	background-position: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 25px 25px;
	margin-bottom: 20px;
	border-bottom:  1px solid #ddd;
}

#b3 .custom.bg0 {
	/*background: #fff;*/
}

#b3 .custom .text {
	width: 50%;
	/*margin: 10px;*/
	padding: 20px;
	flex-grow: 1;
}

#b3 .custom.text_pos1 .text {
	order: 2;
}

#b3 .custom.text_pos3 .text {
	text-align: center;
}

#b3 .custom.text_pos0 .text {
	display: none;
}

#b3 .custom .text.text_bg1 {
	padding: 15px;
	background: #f3f3f3;
}

#b3 .custom img {
	flex-grow: 1;
	width: 50%;
	/*margin: 10px;*/
}

#b3 .custom iframe {
	flex-grow: 1;
	width: 50%;
	/*margin: 10px;*/
}

#b3 .custom.text_pos1 img {
	order: 1;
}

#b3 .custom.bg1 .text {
}

#b3 table {
	width: 100%;
	order: 3;

}

#b3 #crm-btn-write {
	order: 4;
}

table {
	background-color: transparent;
}

table, table td {
	padding: 10px;
	border-collapse: collapse;
}
.table {
	width: 100%;
	max-width: 100%;
}
.table-bordered {
	border: 1px solid #ddd;
}
.table-bordered > tbody > tr:nth-of-type(odd) {
	background-color: #fafaff;
}
.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
	border: 1px solid #ddd;
}

#b3 table {
	margin: 20px 0 0;
}

#b3 table td {
	width: 50%;
	padding: 8px;
	line-height: 1.4;
}

#b3 table i.fa {
	color: #2a5885;
	width: 22px;
}

#b3 table .date:after {
	content: ', ';
}
#b3 table .date:last-of-type:after {
	content: '';
}