/* Responsive design */

/* Hamburger mob menu */
#bgfull-menu {
	display: none;
}
button.mob-menu-right {
	position: relative;
	border: none;
	top: 30px;
	width: 30px;
	height: 20px;
	padding: 5px;
	background: transparent;
	outline: none;
	float: right;
	margin-top: -60px;
	margin-right: 15px;
	display: none;
}
button.mob-menu-right span {
	top: 0;
	bottom: 0;
	-webkit-transition: all 800ms ease;
	transition: all 800ms ease;
}
button.mob-menu-right:before {
	content: '';
	top: 0;
}
button.mob-menu-right:after {
	content: '';
	bottom: 0;
}
.header .header-wrapper.fixed button.mob-menu-right.clicked,
button.mob-menu-right.clicked {
	z-index: 9999999;
	left: 75%;
}
.header .header-wrapper.fixed .logo {
	display: none;
}
button.mob-menu-right.clicked span,
button.mob-menu-right.clicked:before,
button.mob-menu-right.clicked:after {
	background: #000 !important;
}
button.mob-menu-right.clicked span {
	opacity: 0;
}
button.mob-menu-right.clicked:before {
	top: 10px;
	width: 30px;
	left: 50px;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	background: #fff;
}
button.mob-menu-right.clicked:after {
	top: 3px;
	width: 30px;
	left: 50px;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	background: #fff;
}
.menu-right.drawer {
	position: fixed;
	right: 0;
	top: 0;
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-moz-flex-wrap: wrap;
	flex-wrap: wrap;
	align-content: space-between;
	overflow-x: hidden;
	overflow-y: auto;
	visibility: hidden;
	height: 100vh;
	z-index: 3;
	color: #fff;
	text-align: center;
	display: inherit;
	visibility: hidden;
	right: 0;
  width: 425px;
	background: #fff;
	transform: translateX(425px) translateZ(0);
	transition: -webkit-transform 0.5s cubic-bezier(0.25, 0.7, 0.25, 0.7), visibility 0.4s;
	transition: transform 0.4s cubic-bezier(0.25, 0.7, 0.25, 0.7), visibility 0.4s;
}
.menu-right.drawer.on-toggle {
	transform: translateX(0) translateY(0);
	transition: -webkit-transform 0.5s cubic-bezier(0.25, 0.7, 0.25, 0.7), visibility 0.4s;
	transition: transform 0.4s cubic-bezier(0.25, 0.7, 0.25, 0.7), visibility 0.4s;
	visibility: visible;
	text-align: center;
	display: inherit;
	z-index: 999;
	right: 0;
	background: #fff;
	box-shadow: 2px 2px 14px 2px rgba(0,0,0,0.5);
}
#bgfull-menu {
	display: none;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0,0,0,0.9);
	z-index: 16;
	position: fixed;
}
.menu-right.drawer img.logo-img,
.menu-right.drawer.on-toggle img.logo-img {
	margin: 0 auto;
	margin-top: 15%;
	margin-bottom: 15%;
	width: 55%;
}
.menu-right.drawer ul {
	list-style: none;
	padding: 0;
}
.menu-right.drawer ul li:first-child {
	margin-top: 0;
}
.menu-right.drawer ul li {
	margin-top: 5%;
}
.menu-right.drawer ul li a {
	font-size: 14px;
	font-weight: 300;
	letter-spacing: 4px;
	color: #ffffff;
	text-transform: uppercase;
}
.menu-right.drawer a.btn-direct,
.menu-right.drawer.on-toggle a.btn-direct {
	max-width: 270px;
	float: none;
	margin: 0 auto;
	margin-top: 15%;
	display: block !important;
}
.menu-right.drawer.on-toggle button.mob-menu-right.clicked {
	display: block;
	width: 100%;
	position: absolute;
	right: 0;
	margin-top: 0px;
}
button.mob-menu-right span,
button.mob-menu-right:before,
button.mob-menu-right:after {
	height: 4px;
	width: 30px;
	background: #fff;
	display: block;
	position: absolute;
	left: 0;
	content: '';
	margin: auto;
	-webkit-transition: all 400ms ease;
	transition: all 400ms ease;
	border-radius: 0;
}

/* menu */
.header_mob_menu {
	position: fixed;
	right: 0;
	top: 0;
	width: 300px;
	height: 100vh;
	z-index: 9;
	background-color: #fff;
	display: none;
	box-shadow: 2px 2px 18px #555;
}
.header_mob_menu .menu {
	padding-left: 0;
}
.header_mob_menu a.link {
	font-weight: 400;
	padding-left: 40px;
	color: #333;
}
.header_mob_menu a.link.active,
.header_mob_menu a:hover {
	background-color: #c44546;
	color: #fff;
}
.menu-top-menyu-container {
	margin-top: 70px;
}
.menu-osnovnoe-menyu-container {
	margin-top: -20px;
}
.menu-right.drawer a {
	display: block;
	width: 100%;
	padding: 10px;
}
button.mob-menu-right-close.btn-close {
	top: 40px;
	right: 20px;
	background-color: rgba(0,0,0,0.8);
	display: block;
	position: fixed;
	border-radius: 100%;
}
/* Responsive */
@media only screen and (min-width:0px) and (max-width:479px) {
	html {
		min-width: inherit;
	}
	button.mob-menu-right {
		display: block;
	}
	.header_mob_menu .nav__item {
		display: block;
		width: 100%;
		padding: 10px;
	}
	.header__links-wrapper,
	.list_horizontal.nav__list a.list__item {
		display: none;
	}
	.col-no-gutter {
		width: 100%;
	}
	.col-xs-7 {
		width: 100%;
	}
	.list_horizontal .list__item {
		float: left;
		width: 100%;
	}
	.col-xs-4 {
		width: 100%;
	}
	.owl-carousel .owl-item img {
		margin: 0 auto;
		width: 50%;
	}
	.owl-nav .owl-prev {
		left: 40px;
	}
	.owl-nav .owl-next {
		right: 20px;
	}
	.user-content h1 {
		font-size: 25px;
		padding-top: 40px;
		line-height: 20px;
	}
	.user-content h2 {
		font-size: 22px;
	}
	.us-carousel__more-button {
		margin-top: 5px;
	}
	.carousel-indicators,
	.owl-dots {
		display: none;
	}
	.brand__logo {
		width: 115vw;
	}
	.header__tagline {
		position: absolute;
		left: 20px;
		margin-top: 44px;
		line-height: 16px;
		color: #fff;
		font-weight: 300;
	}
	.us-section_offset {
		padding-bottom: 25px;
		padding-top: 25px;
	}
	.advantages {
		padding: 30px 10px;
	}
	.header__logo {
		max-width: 175px;
		max-height: 40px;
		padding: 0;
		margin: 0;
	}
	.header__logo-wrapper {
		max-width: 160px;
	}
	.header__phone-callback,
	.header__phone-number {
		font-size: 12px;
	}
	.footer {
			height: auto;
			position: inherit;
	}
	.wrap {
		padding-bottom: 0;
	}
	.us-affix-wrapper {
	position: inherit;
	display: none;
	}
	.col-xs-3 {
			width: 100%;
			padding: 10%;
	}
	.col-xs-8 {
	width: 100%;
	}
	.col-xs-3.col-lg-3.spec-padding {
	padding: 0 20px 0 20px;
	}
	.size-h_200 {
	height: auto;
	width: 200px;
	}
	.col-xs-9 {
	width: 100%;
	}
	.menu-right.drawer {
		width: 100%;
	}
	#index-carousel-carousel .user-content p {
    		max-height: 16px;
		line-height: 16px;
    		max-width: 90%;
    		overflow: hidden;
    		display: inline-block;
    		text-overflow: ellipsis;
    		white-space: nowrap;
	}
	.carousel-caption .btn {
    		text-shadow: none;
    		line-height: 16px;
    		padding: 3px 20px;
	}
	.us-carousel__image, .us-carousel__image-layout img {
		margin-left: -10px;
	}
	html #wpadminbar {
    		height: 0;
		margin-top: -50px;
    		display: none;
	}
	div.nav {
    		position: fixed;
    		width: 100vw;
    		top: 0;
    		z-index: 1;
	}
	.header__tagline {
		background-color: #d3494a;
    		position: fixed;
    		left: 20px;
    		margin-top: 5px;
    		top: 0;
		z-index: 3;
	}
	.header {
		margin-top: 40px;
		z-index: inherit;
	}
	.us-carousel__control {
		z-index: 0;
	}
	.school-card__img-wrapper img.wp-post-image {
    		height: 100%;
    		width: auto;
	}
	.school-card__img-wrapper {
		width: 100%;
	}
}
@media only screen and (min-width:480px) and (max-width:767px) {
	html {
		min-width: inherit;
	}
	button.mob-menu-right {
		display: block;
	}
	.header_mob_menu .nav__item {
	display: block;
	width: 100%;
	padding: 10px;
	}
	.header__links-wrapper,
	.list_horizontal.nav__list a.list__item {
		display: none;
	}
	.col-no-gutter {
		width: 100%;
	}
	.col-xs-7 {
		width: 100%;
	}
	.list_horizontal .list__item {
		float: left;
		width: 50%;
	}
	.col-xs-4 {
		width: 100%;
	}
	.owl-carousel .owl-item img {
		margin: 0 auto;
		width: 50%;
	}
	.owl-nav .owl-prev {
		left: 40px;
	}
	.owl-nav .owl-next {
		right: 20px;
	}
	.user-content h1 {
		font-size: 25px;
		padding-top: 30px;
	}
	.user-content h2 {
		font-size: 24px;
	}
	.us-carousel__more-button {
		margin-top: 5px;
	}
	.header__tagline {
		position: absolute;
		left: 20px;
		margin-top: 44px;
		line-height: 16px;
		color: #fff;
		font-weight: 300;
	}
	.us-section_offset {
		padding-bottom: 25px;
		padding-top: 25px;
	}
	.advantages {
		padding: 30px 10px;
	}
	.footer {
	height: auto;
	position: inherit;
	}
	.wrap {
		padding-bottom: 0;
	}
	.us-affix-wrapper {
	position: inherit;
	display: none;
	}
	.col-xs-3 {
	width: 100%;
	padding: 10%;
	}
	.col-xs-8 {
	width: 100%;
	}
	.col-xs-3.col-lg-3.spec-padding {
	padding: 0 20px 0 20px;
	}
	.size-h_200 {
	height: auto;
	width: 200px;
	}
	.col-xs-9 {
	width: 100%;
	}
}
@media only screen and (min-width:768px) and (max-width:1023px) {
	html {
		min-width: inherit;
	}
	button.mob-menu-right {
		display: block;
	}
	.header__links-wrapper,
	.list_horizontal.nav__list a.list__item {
		display: none;
	}
	.col-no-gutter {
		width: 100%;
	}
	.col-xs-7 {
		width: 100%;
	}
	.list_horizontal .list__item {
		float: left;
		width: 33.3%;
	}
	.col-xs-4 {
		width: 100%;
		padding-left: 20px;
		padding-right: 20px;
	}
	.owl-carousel .owl-item img {
		margin: 0 auto;
		width: 70%;
	}
	.owl-nav .owl-prev {
		left: 40px;
	}
	.owl-nav .owl-next {
		right: 20px;
	}
	.us-carousel__more-button {
		margin-top: 5px;
	}
	.header__tagline {
		position: absolute;
		left: 20px;
		margin-top: 44px;
		line-height: 16px;
		color: #fff;
		font-weight: 300;
	}
	.header_mob_menu .nav__item {
		display: block;
		width: 100%;
		padding: 10px;
	}
	.col-xs-8 {
	width: 100%;
	}
	.us-affix-wrapper {
		display: none;
	}
	.col-xs-3.col-lg-3.spec-padding {
	padding: 0 20px 0 20px;
	}
}
@media only screen and (min-width:1024px) and (max-width:1199px) {
	.col-xs-3.col-lg-3.spec-padding {
		padding: 0 20px 0 20px;
	}
}