/*--- Главная ---*/
@media (max-width: 1200px) {
	

	.img-adapt {
		width: 90%!important;
		float: none; display: block; margin: 0 auto;
	}
	.offer-trial-lesson .kurs-item-single {
		width: 100%;
		background: transparent;
		box-shadow: none;
	}
	.offer-trial-lesson .kurs-sidebar {
		display: none;
	}
	#sub-courses-bl.offer-trial-lesson .title-block {
		font-size: 20px;
	}
	.w-center {width: 800px;}
	#top-line .contact-us {
		justify-content: center;
	}
	#top-line .social-icons
	{
		width: 270px;
	}
	#header .logo {
		width: 100%; float: none; text-align: center; padding-top: 30px; margin-top: 0px;
	}
	#header .menu {
		width: auto; float: none; padding-left: 0px; padding-right: 0px;
	}
	#main-menu > ul > li.active:after, #main-menu > ul > li.dropdown:hover:after, #main-menu > ul > li.dropdown.hover:after {
		display: none !important;
	}	
	#main-menu ul li:first-child a {
		padding-right: 22px !important;
	}
	#main-menu > ul > li#menu-baza-znanie > a:before {
		margin-left: -11px;
	}
	#main-menu > ul > li#menu-baza-znanie.active:after, #main-menu > ul > li#menu-baza-znanie:hover:after, #main-menu > ul > li#menu-baza-znanie.hover:after {
		margin-left: -24px;
	}
	.float {position: relative!important;}
	.h-header {height: 0px!important;}
	#header #sub-menu-block {
		display: none !important;
	}
	#top-slider-bl {
		min-height: 485px; padding-top: 54px; padding-bottom: 0px; background-position: 50% bottom;
	}
	#top-slider .item {
		width: 800px; margin: 0 auto; text-align: center;
	}	
	#top-slider .item .img-left {
		display: none;
	}
	#top-slider .item .desc-txt {
		width: 100%; float: none; margin: 0 auto; margin-top: 6px;
	}
	#top-slider .item .desc-txt .s-line:before {
		left: 50%; margin-left: -38px;
	}	
	#top-slider .item .desc-txt .s-zapis {
		margin: 0 auto; margin-top: 26px;
	}
	#top-slider.owl-theme .owl-controls .owl-buttons div.owl-prev {
		margin-left: -500px !important;
	}
	#top-slider.owl-theme .owl-controls .owl-buttons div.owl-next {
		margin-right: -500px !important;
	}	
	.desctop-yes {
		display: none;
	}
	.for-two-clear {
		display: block;
	}
	#our-advantages {
		padding-bottom: 40px;
	}	
	#our-advantages .adv-items-bl .adv-item#adv-item-3, #our-advantages .adv-items-bl .adv-item#adv-item-6 {
		margin-right: 12px;
	}
	#our-advantages .adv-items-bl .adv-item#adv-item-2, #our-advantages .adv-items-bl .adv-item#adv-item-4, #our-advantages .adv-items-bl .adv-item#adv-item-6 {
		margin-right: 0px;
	}
	#popular-kurses {
		padding-bottom: 90px;
	}
	.all-kurses { 
		margin-top: 10px !important;
	}
	.kurs-item {
		margin-bottom: 33px !important; float: none; margin-left: 17px; margin-right: 17px;
	}
	#page-home #popular-kurses .kurs-item#kurs-item-4 {
		margin-right: 17px;
	}
	#become-student {
		margin-top: -54px; padding-bottom: 88px;
	}
	#become-student .title-block {
		padding-top: 80px;
	}	
	#become-student .how-items-bl .how-item:after { 
		display: none;
	}
	#become-student .how-items-bl .how-item {
		float: none; width: 274px; margin-bottom: 30px;
	}	
	#become-student .how-items-bl .how-item#how-item-2, #become-student .how-items-bl .how-item#how-item-3 {
		margin-right: 10px; margin-left: 10px;
	}
	#become-student .how-items-bl .how-item#how-item-4 {
		margin-right: 10px;
	}	
	#become-student .how-items-bl .how-item .h-zag {
		font-size: 18px; line-height: 22px;
	}	
	#become-student .how-items-bl .how-item .h-desc {
		padding-top: 10px; font-size: 14px; line-height: 22px; 
	}
	#become-student .zapis-button {
		margin-top: 22px;
	}
	#our-teachers {
		margin-top: -32px;
	}
	#teachers-slider .item {
		width: 800px;
	}
	#teachers-slider .item .teach-txt {
		width: 550px; padding-top: 10px;
	}
	#teachers-slider .item .teach-txt .t-quote {
		display: none;
	}
	#our-results {
		padding-bottom: 10px;
	}
	#review-slider .item {
		width: 800px;
	}
	#our-results .result-items-bl .result-item {
		margin-bottom: 50px; float: none;
	}
	#review-slider .item .review-item:nth-child(2) {
		display: none;
	}
	#review-slider .item .review-item {
		float: none; margin-right: 0px; margin: 0 auto;
	}
	#form-block .blue-form {
		margin-top: 15px;
	}
        /*
	#footer {
		padding-bottom: 32px;
	}
	#footer .copyright {
		width: 100%; margin: 0 auto; margin-top: 38px; text-align: center; float: none; margin-bottom: 2px;
	}
	#footer .social-icons {
		margin-left: 0px; margin-top: 35px;
	}*/
	.leader-photo {
		font-size: 40px;
	}
	.leader-photo img {
		width: 50%;
	}
	.leader-text-tile {
		/*display: none;*/
	}
	.leader-text-header > h1 {
		font-size: 35px;
	}
	.leader-text-header > p {
		font-size: 17px;
	}
	.leader-text-body {
		font-size: 16px;
	}
	.course-write {
		min-width: 0;
		max-width: 1200px;
		position: relative !important;
		top: 10px !important;
	}	
	
}
@media (max-width: 1050px) {
	#top-slider.owl-theme .owl-controls {
		top: 155px;
	}
	#top-slider.owl-theme .owl-controls .owl-buttons div.owl-prev {
		margin-left: -440px !important;
	}
	#top-slider.owl-theme .owl-controls .owl-buttons div.owl-next {
		margin-right: -440px !important;
	}
}
@media (max-width: 910px) {
	#top-slider.owl-theme .owl-controls {
		top: 155px;
	}
	#top-slider.owl-theme .owl-controls .owl-buttons div.owl-prev {
		margin-left: -410px !important;
	}
	#top-slider.owl-theme .owl-controls .owl-buttons div.owl-next {
		margin-right: -410px !important;
	}
}
@media (max-width: 840px) {
	.w-center {width: 500px;}
	

	
	#top-line {
		text-align: center;
	}
	#top-line .w-center:after {
		content: "";
		display: block;
		clear: both;
	}
	#top-line .contact-us a {
		float: none; border-top: 1px solid #ececec; border-bottom: 1px solid #ececec;
	}
	#top-line .contact-us a#c-login {
		border-left: 1px solid #ececec; border-top: none;
	}
	#top-line .social-icons {
		width: 100%; text-align: center; float: none;
	}
	.social-icons a { 
		float: none; margin-left: -2px; margin-right: -2px;
	}
	#header .menu {
		width: 500px; margin: 0 auto;
	}	
.in_digits .content
{
	height: auto;
}
	#main-menu > ul {
		text-align: center; margin-top: 12px; display: none;
	}
	#main-menu > ul > li {
		float: none; display: block; vertical-align: top; height: auto;
	}
	#main-menu ul li:first-child {
		margin-right: 0px !important;
	}
	#main-menu > ul > li > a {
		float: none; display: inline-block; vertical-align: top; min-height: 30px; height: auto; padding-top: 0px; padding-left: 0px;
		padding-right: 0px !important;
	}	
	#main-menu ul li:first-child a {
		padding-right: 0px !important;
	}
	#main-menu > ul > li > a:after, #main-menu > ul > li > a:before, #main-menu > ul > li:after {
		display: none !important;
	}
	#main-menu > ul > li:hover > a, #main-menu > ul > li.hover > a {
		color: #00a9e5; text-decoration: underline;
	}
	#main-menu > ul > li > a:hover, #main-menu > ul > li.hover > a:hover {
		color: #df4b38; text-decoration: none;
	}	
	#menu-hidden-icon { 
		display: block;
	}
	#top-slider-bl {
		min-height: 485px; padding-top: 54px; padding-bottom: 20px; background-position: 50% bottom;
	}
	#top-slider .item {
		width: 500px; margin: 0 auto; text-align: center;
	}	
	#top-slider .item .img-left {
		display: none;
	}
	#top-slider .item .desc-txt {
		width: 100%; float: none; margin: 0 auto; margin-top: 6px;
	}
	#top-slider .item .desc-txt .s-line:before {
		left: 50%; margin-left: -38px;
	}	
	#top-slider .item .desc-txt .s-zapis {
		margin: 0 auto; margin-top: 18px; width: 310px; font-size: 16px; height: 50px;
	}
	#top-slider .item .desc-txt .s-zapis span {
		padding-top: 15px; background-position: right 17px;
	}	
	#top-slider.owl-theme .owl-controls .owl-buttons div.owl-prev {
		margin-left: -340px !important;
	}
	#top-slider.owl-theme .owl-controls .owl-buttons div.owl-next {
		margin-right: -340px !important;
	}	
	#top-slider .item .desc-txt .s-zag {
		font-size: 36px; line-height: 38px;
	}
	#top-slider .item .desc-txt .s-pod-zag {
		font-size: 18px; line-height: 22px;
	}
	#top-slider .item .desc-txt .s-line {
		margin-top: 15px; margin-bottom: 3px;
	}
	#become-student .how-items-bl .how-item .h-desc {
		display: none;
	}
	#our-advantages .adv-items-bl .adv-item {
		width: 100%;
	}
	#our-advantages .adv-items-bl .adv-item#adv-item-3, #our-advantages .adv-items-bl .adv-item#adv-item-6 {
		margin-right: 0px;
	}
	#our-advantages .adv-items-bl .adv-item .a-txt {
		width: 335px;
	}
	#popular-kurses {
		padding-bottom: 100px;
	}
	#become-student {
		margin-top: -40px;
	}
	#become-student .how-items-bl .how-item {
		width: 220px;
	}
	#become-student .how-items-bl .how-item .h-icon {
		width: 173px; height: 148px; background-size: cover;
	}
	#become-student .how-items-bl .how-item .h-icon:before {
		width: 128px;
		height: 128px;
		top: 10px;
		left: 20px;
		background-size: cover;
	}
	#become-student .how-items-bl .how-item .h-icon:after {
		width: 34px;
		height: 36px;
		top: 4px;
		right: 10px;
		font-size: 30px;
		line-height: 44px;
		padding-left: 2px;
	}
	#become-student .how-items-bl .how-item#how-item-3 .h-icon:after, #become-student .how-items-bl .how-item#how-item-4 .h-icon:after {
		top: 3px;
	}
	#become-student .how-items-bl .how-item#how-item-3 .h-icon:after {
		right: 9px;
	}	
	#teachers-slider .item {
		width: 500px;
	}
	#teachers-slider .item img {
		width: 180px; height: 180px; margin: 0 auto; display: block; float: none; margin-top: 10px;
	}
	#teachers-slider .item .teach-txt {
		width: 100%; padding-top: 20px; float: none; margin-left: 0px; margin-right: 0px; text-align: center;
	}
	#teachers-slider .item .teach-txt .t-name, #teachers-slider .item .teach-txt .t-spec, #teachers-slider .item .teach-txt .t-desc {
		padding-left: 0px;
	}
	#teachers-slider .item .teach-txt .t-desc {
		display: none;
	}	
	#our-results {
		padding-bottom: 20px;
	}
	#our-results .result-items-bl .result-item {
		margin-right: 0px; width: 100%;
	}	
	#review-slider .item {
		width: 500px;
	}
	#review-slider .item .review-item {
		width: 500px;
	}
	#review-slider .item .review-item .r-right {
		font-size: 16px;
		line-height: 26px;
		width: 380px;
	}	
	#form-block .title-block {
		font-size: 40px; line-height: 43px; padding-top: 30px;
	}
	#form-block .blue-form {
		margin-top: 15px;
	}
	input[type='text']::-webkit-input-placeholder {
		font-size: 16px !important;
	}
	input[type='text']::-moz-placeholder {
		font-size: 16px !important;
	}
	input[type='text']:-moz-placeholder {
		font-size: 16px !important;
	}
	input[type='text']:-ms-input-placeholder {
	font-size: 16px !important;
	}
	input[type='password']::-webkit-input-placeholder {
		font-size: 16px !important;
	}
	input[type='password']::-moz-placeholder {
		font-size: 16px !important;
	}
	input[type='password']:-moz-placeholder {
		font-size: 16px !important;
	}
	input[type='password']:-ms-input-placeholder {
		font-size: 16px !important;
	}
	.blue-form form {
		width: 320px;
	}
	.blue-form .inps {
		width: 260px;
	}
	.blue-form .submit-button span {
		left: 0px; padding-right: 0px; background: none;
		font-size: 18px;
	}
        /*
	#footer {
		padding-bottom: 32px;
	}
	#footer .copyright {
		width: 100%; margin: 0 auto; margin-top: 38px; text-align: center; float: none; margin-bottom: 2px;
	}
	#footer .social-icons {
		margin-left: 0px; margin-top: 35px; width: 180px;
	}
	#footer .contact {
		width: 315px;
	}
	*/
	.leader {
		height: auto;
		text-align: center;
		min-height: 730px;
	}
	.leader-photo {
		margin: 10px auto;
		/*border: 1px solid red;*/
		left: 0;
		position: relative;
		top: auto;
	}
	.leader-text {
		position: relative;
		margin: 10px auto;
		width: 100%;
		top: auto;
	}
	.leader-text-tile {
		display: none;
	}
	.leader-text-body {
		margin-top: 15px;
		padding: 15px/* 15px 15px 15px*/;
	}
	.leader-button {
		display: block;
		float: none;
		margin: 35px auto;
	}	
}
@media (max-width: 750px) {
		#top-line .contact-us {
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
		justify-content: center;
		    width: 100%;
	}
	#top-slider.owl-theme .owl-controls {
		top: 145px;
	}
	#top-slider.owl-theme .owl-controls .owl-buttons div.owl-prev {
		margin-left: -300px !important;
	}
	#top-slider.owl-theme .owl-controls .owl-buttons div.owl-next {
		margin-right: -300px !important;
	}
	.mailerlite-popup
	{min-width: 500px;}
}
@media (max-width: 650px) {
	#top-slider.owl-theme .owl-controls .owl-buttons div.owl-prev {
		margin-left: -260px !important;
	}
	#top-slider.owl-theme .owl-controls .owl-buttons div.owl-next {
		margin-right: -260px !important;
	}
}
@media (max-width: 560px) {
	.mobContHeader {
		width:100%;
		
	}
	#mobContHeadInner {
	display:flex;
}
	
	
	.flex3 .content._2 .header, #review-slider .item .review-item .r-left .all-comm
	{
		display: none;
	}
	.w-center {width: 300px;}
	#top-line {
		text-align: center;
	}
	#top-line .contact-us {
		width: 100%; text-align: center; float: none;
	}
	#top-line .w-center:after {
		content: "";
		display: block;
		clear: both;
	}
	#top-line .contact-us a {
		float: none; border-top: 1px solid #ececec;
	}
	#top-line .contact-us a#c-login, #top-line .contact-us a#c-skyp, #top-line .contact-us a#c-mail{
		display: none;
	}
	#top-line .contact-us a, #top-line .contact-us div {
		padding: 16px 10px 0px 45px;
		margin: 0;
	}
	#top-line .contact-us a#c-phone {
    background-position: -20px 0px;
}
#top-line .contact-us a#c-skype {
	background-position: -15px 0px;
}
	#top-line .contact-us a#c-skype {
		border-bottom: none;
	}
	#top-line .contact-us a#c-phone {
		border-bottom: none;
	}	
	#top-line .contact-us a#c-mail {
		border-left: 1px solid #ececec;
	}
	#top-line .social-icons {
		width: 100%; text-align: center; float: none; display: none;
	}
	.social-icons a { 
		float: none; margin-left: -2px; margin-right: -2px;
	}
	#header .menu {
		width: 300px; margin: 0 auto;
	}
	#top-slider-bl {
		min-height: 335px; padding-top: 40px; padding-bottom: 20px; background-position: 50% bottom;
	}
	#top-slider {
		min-height: 335px;
	}
	#top-slider .item {
		width: 300px;	min-height: 335px;
	}	
	#top-slider .item .desc-txt .s-zapis {
		margin: 0 auto; margin-top: 18px; width: 300px; font-size: 16px; height: 50px;
	}
	#top-slider .item .desc-txt .s-zapis span {
		padding-top: 15px; background-position: right 17px;
	}	
	#top-slider.owl-theme .owl-controls {
		top: 85px;
	}
	#top-slider.owl-theme .owl-controls .owl-buttons div.owl-prev {
		margin-left: -210px !important;
	}
	#top-slider.owl-theme .owl-controls .owl-buttons div.owl-next {
		margin-right: -210px !important;
	}	
	#top-slider .item .desc-txt .s-zag {
		font-size: 36px; line-height: 38px;
	}
	#top-slider .item .desc-txt .s-pod-zag {
		font-size: 18px; line-height: 22px;
	}
	#top-slider .item .desc-txt .s-desc, #top-slider .item .desc-txt .s-line {
		display: none;
	}
	#our-advantages .adv-items-bl {
		text-align: center;
	}
	#our-advantages .adv-items-bl .adv-item {
		padding-bottom: 2px; width: 100%; margin-right: 0px !important; float: none;
	}
	#our-advantages .adv-items-bl .adv-item .a-icon {
		 margin-left: 0px !important; margin-right: 0px !important; margin: 0 auto !important; margin-bottom: 18px !important; 
		 float: none; display: block; background-size: cover;
	}
	#our-advantages .adv-items-bl .adv-item .a-txt {
		margin-left: 0px !important; margin-right: 0px !important; width: 100%;
	}
	#popular-kurses {
		padding-bottom: 110px;
	}
	#become-student {
		margin-top: -60px; padding-bottom: 70px;
	}
	#become-student .title-block {
		padding-top: 100px;
	}
	#become-student .zapis-button {
		display: none;
	}
	#teachers-slider .item {
		width: 300px; min-height: 246px;
	}
	#teachers-slider .item img {
		width: 140px; height: 140px; margin-top: 8px;
	}
	#review-slider .item {
		width: 300px;
	}
	#review-slider .item .review-item {
		width: 300px;
	}
	#review-slider .item .review-item .r-left {
		float: none; width: 100%; margin-left: 0px; padding-top: 20px;
	}
	#review-slider .item .review-item .r-left .all-comm {
		position: absolute;
		bottom: 15px;
		left: calc(53% - 50%/2);
	}
	#review-slider .item .review-item .comm-txt
	{
    padding: 0px 0px 20px 0px;
	}
	#review-slider .item .review-item .r-right {
		font-size: 16px;
		line-height: 26px;
		width: 88%;
		float: none;
		margin-right: 0px;
		margin-left: 0px;
		margin: 0 auto;
		margin-top: -10px;
		text-align: center;
	}
	#review-slider .item .review-item .comm-author img {
		    float: none;
    margin: 0px auto 20px;
	}
	#review-slider .item .review-item .comm-author .author {
		margin-left: 0px; text-align: center; width: 100%; float: none; margin-top: -6px;
	}
	#review-slider .item .review-item .comm-txt:before {
		left: 50%; margin-left: -10px;
	}
	#form-block .title-block {
		font-size: 24px; line-height: 30px;
	}
	#form-block .blue-form {
		margin-top: 15px;
		width: 100%;
		padding: 0;
		text-align: center;
	}
	.blue-form {
		padding-left: 10px; 
		padding-right: 10px; 
		padding-bottom: 24px;
		width: 100%;
		text-align: center;
	}	
	.blue-form .inps {
		width: 220px;
	}
	.blue-form .submit-button {
		width: 260px;
		font-size: 15px;
	}
        /*
	#footer {
		padding-bottom: 40px;
	}
	#footer .copyright {
		width: 100%; margin: 0 auto; margin-top: 38px; text-align: center; float: none; margin-bottom: 2px;
	}
	#footer .social-icons {
		margin-left: 0px; margin-top: 30px; width: 100%; float: none; text-align: center;
	}*/
	.social-icons a {
		margin: 0px -2px 0px -2px; float: none;
	}
        /*
	#footer .contact {
		width: 100%; float: none; text-align: center;
	}*/
	
	.leader {
		text-align: center;
		min-height: 825px;
	}
	.leader-text-header > h1
	{
		line-height: 1;
		margin-bottom: 15px;
	}
	.leader-photo {
		width: 100%;
		/*border: 1px solid red;*/
		left: 0;
	}
	.leader-text-body {
		padding: 15px /* 15px 15px 15px*/;
	}
	.leader-text-header {
		color: #ffffff;
		padding-left: 0;
	}
	.leader-text-header > p {
		padding: 0 10px;
	}
	.leader-button {
		display: block;
		float: none;
		margin: 35px auto;
		width: 100%;
		height: 50px;
		font-size: 15px;
		background-image: none;
	}	
}
/*------------------------------*/
/*--- Страница (sub_courses) ---*/
@media (max-width: 1200px) {
	body.sub_courses #sub-courses-bl .kurs-items-bl, #sub-teachers-bl .kurs-items-bl {
		width: 538px;
	}
	body.sub_courses .kurs-item {
		margin-left: 0px; margin-right: 2px;
	}
	body.sub_courses #sub-courses-bl .kurs-item:nth-child(3n) {
		margin-right: 2px;
	}
}
@media (max-width: 840px) {
	body.sub_courses #sub-courses-bl .kurs-items-bl, #sub-teachers-bl .kurs-items-bl {
		width: 500px;
	}
	body.sub_courses .kurs-item {
		margin-left: 10px; margin-right: 10px;
	}
	body.sub_courses #sub-courses-bl .kurs-item:nth-child(3n) {
		margin-right: 10px;
	}
	body.sub_courses #sub-courses-bl .kurs-items-bl, body.sub_courses #sub-teachers-bl .kurs-items-bl {
		float: none;
	}
	body.sub_courses .kurs-sidebar {
		float: none; margin: 0 auto; margin-top: 2px;
	}	
	.video_iframe {
    width: 90%;
}
}
@media (max-width: 560px) {
	body.sub_courses #sub-courses-bl .kurs-items-bl, #sub-teachers-bl .kurs-items-bl {
		width: 300px;
		
	}
	.kurs-items-bl {
		min-height:1750px;
	}
	
	.blue-form form {
		padding: 10px;
		width: auto;
	}
	.blue-form .inps {
		/*width: auto;*/
		padding: 0 15px;
	}
	.blue-form .submit-button {
		width: 250px;
	}
	.box-modal .blue-form {
margin: 0px auto!important;
padding: 0px 10px; 
width: auto;
}
.box-modal .blue-form .submit-button
{
	width: 280px; 
}
#footer .footer__left {
    margin-top: 0px;
}
.box-modal .blue-form .submit-button span {
	background: none
}
.box-modal .blue-form .inps {
	width: 220px;
}
}
/*-------------------------------------*/
/*--- Страница (sub_course_details) ---*/
@media (max-width: 1200px) {
	body.sub_course_details .kurs-item-single, body.sub_course_details .teachers-items {
		width: 515px; padding-top: 34px;
	}
	body.sub_course_details .kurs-item {
		margin: 0 auto !important; float: none; margin-bottom: 0px !important; display: block;
		-webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0) !important;
		-moz-box-shadow:    0px 0px 0px 0px rgba(0, 0, 0, 0) !important;
		box-shadow:         0px 0px 0px 0px rgba(0, 0, 0, 0) !important;		
	}
	body.sub_course_details #sub-courses-bl .kurs-item:nth-child(3n) {
		margin-right: 0px;
	}
	body.sub_course_details .kurs-item-single .kurs-txt-bl {
		width: auto; float: none; margin-left: 0px; padding: 7px 30px 3px 30px;
	}
	body.sub_course_details .kurs-item-single .kurs-txt-bl .inner-otziv .otz-avtor .otz-all-link {
		float: none; text-align: left; width: auto; margin: 10px 0px 0px 0px;
	}	
}
@media (max-width: 840px) {
	body.sub_course_details .kurs-item-single {
		float: none;
	}
	body.sub_course_details .kurs-sidebar {
		float: none; margin: 0 auto; margin-top: 32px;
	}	
	
	.s1 .h2 {
	margin-top:0px!important;
	}
	.section.section.priority.color-black.backgrLightGray {
		padding-top:30px!important;
	}
}
@media (max-width: 560px) {
	body.sub_course_details .kurs-item-single {
		width: 300px;
	}
	.kurs-item-single .kurs-txt-bl .inner-otziv {
		padding-left: 15px; padding-right: 15px;
	}
	.kurs-item-single .kurs-txt-bl .inner-otziv .otz-avtor .otz-a {
		width: auto; margin-right: 0px; text-align: center;
	}
	.kurs-item-single .kurs-txt-bl .inner-otziv .otz-avtor .otz-a > div {
		width: auto; margin-left: 0px;
	}
	.kurs-item-single .kurs-txt-bl .inner-otziv .otz-avtor .otz-a img {
		float: none; margin-bottom: 5px;
	}
	.kurs-item-single .kurs-txt-bl .inner-otziv .otz-avtor .otz-a .a-work {
		line-height: 19px; padding-bottom: 5px;
	}
}
/*--------------------------------------*/
/*--- Страница (sub_course2_details) ---*/
@media (max-width: 1200px) {
	body.sub_course2_details .kurs-item-single-list {
		width: 455px; padding-top: 34px;
	}
	.fast-links-kurs .fast-bl {
		margin-right: 0px !important; margin-bottom: 15px; width: auto; float: none; display: block; min-height: inherit; padding-bottom: 17px;
	}
	.fast-links-kurs .fast-bl br {
		display: none;
	}
	body.sub_course2_details .kurs-item {
		margin: 0 auto !important; float: none; margin-bottom: 0px !important; display: block;
		-webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0) !important;
		-moz-box-shadow:    0px 0px 0px 0px rgba(0, 0, 0, 0) !important;
		box-shadow:         0px 0px 0px 0px rgba(0, 0, 0, 0) !important;		
	}
	body.sub_course2_details .kurs-item-single-list .kurs-item-single .kurs-item {
		margin-left: 0px !important; margin: 0 auto !important; 
	}	
	body.sub_course2_details #sub-courses-bl .kurs-item:nth-child(3n) {
		margin-right: 0px;
	}
	body.sub_course2_details .kurs-item-single .kurs-txt-bl {
		width: auto; float: none; margin-left: 0px; padding-left: 0px; padding-right: 0px;
	}
	body.sub_course2_details .kurs-item-single .kurs-txt-bl .inner-otziv .otz-avtor .otz-all-link {
		float: none; text-align: left; width: auto; margin: 10px 0px 0px 0px;
	}	
	body.sub_course2_details .kurs-item-single-list .kurs-item-single .kurs-txt-bl .inner-otziv .otz-avtor .otz-all-link a {
		position: relative;	right: 0px;	bottom: 0px;
	}	
}
@media (max-width: 840px) {
	body.sub_course2_details .kurs-item-single-list {
		float: none;
	}
	body.sub_course2_details .kurs-sidebar {
		float: none; margin: 0 auto; margin-top: 32px;
	}	
}
@media (max-width: 560px) {
	body.sub_course2_details .kurs-item-single-list {
		width: 240px;
	}
	body.sub_course2_details .kurs-item-single-list .kurs-item-single .kurs-item {
		width: 240px;
	}
	body.sub_course2_details .kurs-item .k-icon {
		width: 240px; height: 240px;
	}
	body.sub_course2_details .kurs-item .k-icon img {
		width: 240px;
	}	
}
/*--------------------------------*/
/*--- Страница (sub_teachers2) ---*/
@media (max-width: 1200px) {
	.teacher-course-sertificates {
		flex-direction: column;
	}
	.teacher-course-sertificates .left, .teacher-course-sertificates .right {
		width: auto;
		margin: 0 0 30px;
	}
	body.sub_teachers2 .teachers-items {
		width: 455px;
	}
	body.sub_teachers2 .teachers-items .single-teacher-item {
		width: 219px;
	}
	body.sub_teachers2 .teachers-items .single-teacher-item:nth-child(3n) {
		margin-right: 12px;
	}		
	body.sub_teachers2 .teachers-items .single-teacher-item:nth-child(2n) {
		margin-right: 0px !important;
	}
}
@media (max-width: 840px) {
	body.sub_teachers2 .teachers-items, body.sub_teacher_details .teachers-items {
		float: none;
	}
	body.sub_teachers2 .kurs-sidebar, body.sub_teacher_details .kurs-sidebar {
		float: none; margin: 0 auto; margin-top: 32px;
	}
}
@media (max-width: 560px) {
	body.sub_teachers2 .teachers-items {
		width: 240px;
	}
	body.sub_teachers2 .teachers-items .single-teacher-item {
		width: 240px;
	}	
}
/*--------------------------------------*/
/*--- Страница (sub_teacher_details) ---*/
@media (max-width: 1200px) {
	body.sub_teacher_details .teachers-items {
		width: 455px;
	}
	body.sub_teacher_details .teach-inner-bl .teach-comm {
		text-align: center;
	}
	body.sub_teacher_details .teach-inner-bl .teach-comm img {
		float: none;
	}
	body.sub_teacher_details .teach-inner-bl .teach-comm .t-comm-txt {
		margin: 20px 0px 0px 0px; display: block; width: auto; float: none; font-size: 18px; line-height: 26px;
	}
	body.sub_teacher_details .teach-inner-bl .teach-comm .t-comm-txt:before {
		display: none;
	}
	body.sub_teacher_details .teach-inner-bl .teach-comm .t-comm-txt > div {
		padding-left: 54px; padding-right: 54px;
	}
	body.sub_teacher_details .teach-inner-bl .teach-aricle .free-lesson {
		font-size: 15px; padding-top: 8px;
	}	
	body.sub_teacher_details .teachers-items .inner-otziv .otz-avtor .otz-all-link {
		float: none; text-align: left; width: auto; margin: 10px 0px 0px 0px;
	}	
	body.sub_teacher_details .teachers-items .inner-otziv .otz-avtor .otz-all-link a {
		position: relative;	right: 0px;	bottom: 0px;
	}		
	#teachers-slider-inner .item img {
		margin: 0 auto;
		margin-top: 14px;
		display: block;
		float: none;
	}
	#teachers-slider-inner .item .teach-txt {
		width: auto; margin: 0px 0px 0px 0px; float: none; text-align: center;
	}
}
@media (max-width: 560px) {
	body.sub_teacher_details .teachers-items {
		width: 240px;
	}
	body.sub_teacher_details .teach-inner-bl .teach-comm .t-comm-txt {
		margin: 20px 0px 0px 0px; display: block; width: auto; float: none; font-size: 16px; line-height: 22px;
	}
	body.sub_teacher_details .teach-inner-bl .teach-comm .t-comm-txt > div {
		padding-left: 22px; padding-right: 22px; padding-top: 22px; padding-bottom: 22px;
	}	
	.teach-inner-bl .teach-comm .t-comm-txt > div:before {
		display: none;
	}
	.teach-inner-bl .teach-comm .t-comm-txt > div:after {
		display: none;
	}
	body.sub_teacher_details .teach-inner-bl .teach-aricle .free-lesson {
		height: auto; padding-bottom: 9px;
	}
	.teachers-items .inner-otziv {
		padding-left: 15px; padding-right: 15px;
	}
	.teachers-items .inner-otziv .otz-avtor .otz-a {
		width: auto; margin-right: 0px; text-align: center;
	}
	.teachers-items .inner-otziv .otz-avtor .otz-a > div {
		width: auto; margin-left: 0px;
	}
	.teachers-items .inner-otziv .otz-avtor .otz-a img {
		float: none; margin-bottom: 5px;
	}
	.teachers-items .inner-otziv .otz-avtor .otz-a .a-work {
		line-height: 19px; padding-bottom: 5px;
	}	
}
/*--------------------------------------*/
/*--- Страница (sub_articles) ---*/
@media (max-width: 1200px) {
	body.sub_article_details .kurs-item-single {
		width: 800px; float: none;
	}
	body.sub_articles .kurs-item-single {
		width: 100%;
		float: none;
	}
	body.sub_articles .article-list-item .art-desc {
		width: 350px;
	}
	body.sub_articles .pagination-bl .page-current, body.sub_articles .pagination-bl .page-link {
		margin-bottom: 10px;
	}
	body.sub_articles .kurs-sidebar, body.sub_article_details .kurs-sidebar {
		float: none; margin: 0 auto; margin-top: 36px;
	}
}
@media (max-width: 840px) {
	body.sub_articles .kurs-item-single, body.sub_article_details .kurs-item-single {
		float: none;
	}
	body.sub_articles .kurs-sidebar, body.sub_article_details .kurs-sidebar {
		float: none; margin: 0 auto; margin-top: 32px;
	}
	body.sub_articles .articles-cat-bl {
		float: none; width: auto; margin-left: 0px; padding-left: 30px; padding-right: 30px;
	}
	body.sub_articles .article-list-item .art-desc {
		width: auto;
	}	
}
@media (max-width: 560px) {

	body.sub_articles .article-list-item .art-img {
		float: none; display: block; margin: 0 auto;
	}
	body.sub_articles .article-list-item .art-desc {
		margin-left: 0px; margin-right: 0px; width: auto; padding-top: 20px;
	}
	
	.articles-cat-bl.full-article p > img {
		object-fit: cover;
  width: 365px!important;
  height: 180px!important;
	}
}
/*--------------------------------------*/
/*--- Страница (sub_article_details) ---*/
@media (max-width: 1200px) {
	body.sub_article_details .articles-cat-bl.full-article {
		padding-bottom: 30px;
	}
	body.sub_article_details .author-article .item .teach-txt {
		width: 622px;
	}
	body.sub_article_details .articles-cat-bl.full-article table td {
		padding-right: 20px;
	}	
}
@media (max-width: 840px) {
	body.sub_article_details .author-article .item .teach-txt {
		width: 322px;
	}
	body.sub_article_details .comm-art-list .comm-item .author-bl .a-inf {
		width: 350px;
	}
	body.sub_article_details .comm-textearea-bl .comm-form-bl .left-td {
		text-align: left; float: none; display: block;
	}
	body.sub_article_details .comm-textearea-bl .comm-form-bl .right-td {
		text-align: left; float: none; display: block; margin-left: 0px; margin-right: 0px;
	}
	body.sub_article_details .comm-textearea-bl .comm-text {
		width: 395px;
	}
}
@media (max-width: 560px) {
	body.sub_article_details .articles-cat-bl.full-article {
		padding-top: 0px;
		padding-bottom: 0;
	}
	body.sub_article_details .articles-cat-bl.full-article .align-left, body.sub_article_details .articles-cat-bl.full-article .align-right {
		float: none; margin: 0 auto; display: block; margin-bottom: 20px;
	}
	body.sub_article_details .articles-cat-bl.full-article table th {
		padding-left: 10px; padding-right: 10px;
	}
	body.sub_article_details .articles-cat-bl.full-article table td {
		padding-left: 10px; padding-right: 10px;
	}
	body.sub_article_details .author-article .item img {
		float: none; margin: 0 auto; margin-top: 14px;
	}
	body.sub_article_details .author-article .item .teach-txt {
		width: auto; margin-left: 0px; float: none; margin-right: 0px;
	}
	body.sub_article_details .comm-art-list .comm-item .author-bl img {
		float: none; margin: 0 auto;
	}
	body.sub_article_details .comm-art-list .comm-item .author-bl .a-inf {
		margin-left: 0px; margin-right: 0px; width: auto; text-align: center; margin-top: 4px; display: block; float: none;
	}
	body.sub_article_details .comm-art-list .comm-item .author-bl .a-inf .a-date-comm {
		margin-top: -1px;
	}
	.comm-textearea-bl .comm-name, .comm-textearea-bl .comm-text, body.sub_article_details .comm-textearea-bl .comm-text {
		width: 194px;
	}	
}
/*--------------------------------------*/
/*--- Страница (sub_prices) ---*/
@media (max-width: 1200px) {
	body.sub_prices .kurs-item-prices-list {
		width: 800px; float: none;
	}
	body.sub_prices .kurs-item-single-price .k-p-zag {
		width: 210px;
	}
	body.sub_prices .kurs-item-single-price .k-p-60min, body.sub_prices .kurs-item-single-price .k-p-90min {
		width: 230px;
	}	
	body.sub_prices .kurs-sidebar {
		float: none; margin: 0 auto; margin-top: 33px;
	}
}
@media (max-width: 840px) {
	body.sub_prices .kurs-item-prices-list {
		width: 500px; float: none;
	}
	body.sub_prices .kurs-item-single-price .k-p-zag {
		width: 369px; height: 129px; border-right: none; border-bottom: 1px solid #eeeeee; margin-right: -5px;
	}	
	body.sub_prices .kurs-item-single-price .k-p-zag > div {
		height: 129px;
	}
	body.sub_prices .style-2019 .kurs-item-single-price .k-p-zag, body.sub_prices .style-2019 .kurs-item-single-price .k-p-zag > div {
		height: 80px;
	}
	body.sub_prices .kurs-item-single-price .k-p-60min, body.sub_prices .kurs-item-single-price .k-p-90min {
		width: 249px;
	}
}
@media (max-width: 560px) {
	body.sub_prices .kurs-item-prices-list {
		width: 300px; float: none;
	}
	body.sub_prices .kurs-item-prices-list .kurs-item-single-price {
		padding-top: 20px;
	}	
	body.sub_prices .kurs-item-single-price .k-p-icon {
		margin: 0 auto; display: block;	float: none;
	}
	body.sub_prices .kurs-item-single-price .k-p-zag {
		width: 100%; height: inherit; margin-right: 0px; float: none; padding-top: 18px; padding-bottom: 18px;
	}	
	body.sub_prices .kurs-item-single-price .k-p-zag > div {
		height: inherit;
	}	
	body.sub_prices .kurs-item-single-price .k-p-60min, body.sub_prices .kurs-item-single-price .k-p-90min {
		width: 100%; border-right: none;
	}
	body.sub_prices .kurs-item-single-price .k-p-60min {
		border-bottom: 1px solid #eeeeee;
	}	
}
/*-------------------------------------*/
/*--- Страница (sub_contacts) ---*/
@media (max-width: 1200px) {
	body.sub_contacts .kurs-item-single {
		width: 800px; padding-bottom: 1px; float: none;
	}
	body.sub_contacts .kurs-sidebar {
		float: none; margin: 0 auto; margin-top: 33px;
	}
}
@media (max-width: 840px) {
	body.sub_contacts .kurs-item-single {
		width: 500px;
	}
	body.sub_contacts .author-article .item .teach-txt {
		width: 322px;
	}
	body.sub_contacts .comm-art-list .comm-item .author-bl .a-inf {
		width: 350px;
	}
	body.sub_contacts .comm-textearea-bl .comm-form-bl .left-td {
		text-align: left; float: none; display: block;
	}
	body.sub_contacts .comm-textearea-bl .comm-form-bl .right-td {
		text-align: left; float: none; display: block; margin-left: 0px; margin-right: 0px;
	}
	body.sub_contacts .comm-textearea-bl .comm-text {
		width: 395px;
	}
}
@media (max-width: 560px) {
	body.sub_contacts .kurs-item-single {
		width: 300px;
	}
	body.sub_contacts .author-article .item .teach-txt {
		width: auto; margin-left: 0px; float: none; margin-right: 0px;
	}
	body.sub_contacts .comm-art-list .comm-item .author-bl img {
		float: none; margin: 0 auto;
	}
	body.sub_contacts .comm-art-list .comm-item .author-bl .a-inf {
		margin-left: 0px; margin-right: 0px; width: auto; text-align: center; margin-top: 4px; display: block; float: none;
	}
	body.sub_contacts .comm-art-list .comm-item .author-bl .a-inf .a-date-comm {
		margin-top: -1px;
	}
	bodysub_contacts .comm-textearea-bl .comm-name, body.sub_contacts .comm-textearea-bl .comm-text, body.sub_contacts .comm-textearea-bl .comm-mail {
		width: 194px;
	}
	body.sub_contacts .cont-i-tell .tell {
		display: block;
	}
}
/*-------------------------------------*/
/*--- Страница (sub_promo) ---*/
@media (max-width: 1200px) {
	body.sub_promo .kurs-item-prices-list {
		width: 800px; float: none;
	}
	body.sub_promo .kurs-item-single-price .k-p-inf {
		width: 495px; padding-bottom: 20px;
	}
	body.sub_promo .kurs-sidebar {
		float: none; margin: 0 auto; margin-top: 33px;
	}
}
@media (max-width: 840px) {
	body.sub_promo .kurs-item-prices-list {
		width: 500px;
	}
	body.sub_promo .kurs-item-single-price {
		padding-top: 20px;
	}
	body.sub_promo .kurs-item-single-price .k-p-inf {
		width: auto; padding-left: 20px; padding-right: 20px; float: none; margin-right: 0px;
	}
	body.sub_promo .kurs-item-single-price .k-p-icon {
		margin: 0 auto; float: none; display: block;
	}
	body.sub_promo .kurs-item-single-price .k-p-inf .actzii-zag {
		text-align: center;
	}
}
@media (max-width: 560px) {
	body.sub_promo .kurs-item-prices-list {
		width: 300px;
	}
}
/*-------------------------------------*/
/*--- Страница (sub_feedback) ---*/
@media (max-width: 1200px) {
	body.sub_feedback .kurs-item-single {
		width: 800px; float: none;
	}
	body.sub_feedback .otz-i {
		width: 365px;
	}
	body.sub_feedback .kurs-sidebar {
		float: none; margin: 0 auto; margin-top: 33px;
	}
}
@media (max-width: 840px) {
	body.sub_feedback .kurs-item-single {
		width: 500px;
	}
	body.sub_feedback .otz-i {
		width: auto; margin-right: 0px; padding-bottom: 30px;
	}
	.sub_feedback .otz-i:last-child {
		margin-right: 0px; padding-bottom: 0px;
	}
}
@media (max-width: 560px) {
	body.sub_feedback .kurs-item-single {
		width: 300px;
	}
	body.sub_feedback .otz-i .otz-i-txt:after {
		left: 50%;
	}
	body.sub_feedback .otz-i .otz-i-author {
		text-align: center;
	}
	body.sub_feedback .otz-i .otz-i-author .otz-i-author-name {
		display: block;
		margin-left: 0px;
		padding-top: 10px;
	}
	.sub_feedback .otz-i .otz-i-author .otz-i-author-name .position {
		line-height: 20px;
	}
}
/*-------------------------------------*/
/*--- Страница (sub_contacts) ---*/
@media (max-width: 1200px) {
	body.sub_contacts .kurs-item-single {
		width: 800px; padding-bottom: 1px; float: none;
	}
	body.sub_contacts .kurs-sidebar {
		float: none; margin: 0 auto; margin-top: 33px;
	}
}
@media (max-width: 840px) {
	body.sub_contacts .kurs-item-single {
		width: 500px;
	}
	body.sub_contacts .author-article .item .teach-txt {
		width: 322px;
	}
	body.sub_contacts .comm-art-list .comm-item .author-bl .a-inf {
		width: 350px;
	}
	body.sub_contacts .comm-textearea-bl .comm-form-bl .left-td {
		text-align: left; float: none; display: block;
	}
	body.sub_contacts .comm-textearea-bl .comm-form-bl .right-td {
		text-align: left; float: none; display: block; margin-left: 0px; margin-right: 0px;
	}
	body.sub_contacts .comm-textearea-bl .comm-text {
		width: 395px;
	}
}
@media (max-width: 560px) {
	body.sub_contacts .kurs-item-single {
		width: 300px;
	}
	body.sub_contacts .author-article .item .teach-txt {
		width: auto; margin-left: 0px; float: none; margin-right: 0px;
	}
	body.sub_contacts .comm-art-list .comm-item .author-bl img {
		float: none; margin: 0 auto;
	}
	body.sub_contacts .comm-art-list .comm-item .author-bl .a-inf {
		margin-left: 0px; margin-right: 0px; width: auto; text-align: center; margin-top: 4px; display: block; float: none;
	}
	body.sub_contacts .comm-art-list .comm-item .author-bl .a-inf .a-date-comm {
		margin-top: -1px;
	}
	bodysub_contacts .comm-textearea-bl .comm-name, body.sub_contacts .comm-textearea-bl .comm-text, body.sub_contacts .comm-textearea-bl .comm-mail {
		width: 194px;
	}
	body.sub_contacts .cont-i-tell .tell {
		display: block;
	}
}
/*-------------------------------------*/
/*--- Страница (sub_promo) ---*/
@media (max-width: 1200px) {
	body.sub_promo .kurs-item-prices-list {
		width: 800px; float: none;
	}
	body.sub_promo .kurs-item-single-price .k-p-inf {
		width: 495px; padding-bottom: 20px;
	}
	body.sub_promo .kurs-sidebar {
		float: none; margin: 0 auto; margin-top: 33px;
	}
}
@media (max-width: 840px) {
	body.sub_promo .kurs-item-prices-list {
		width: 500px;
	}
	body.sub_promo .kurs-item-single-price {
		padding-top: 20px;
	}
	body.sub_promo .kurs-item-single-price .k-p-inf {
		width: auto; padding-left: 20px; padding-right: 20px; float: none; margin-right: 0px;
	}
	body.sub_promo .kurs-item-single-price .k-p-icon {
		margin: 0 auto; float: none; display: block;
	}
	body.sub_promo .kurs-item-single-price .k-p-inf .actzii-zag {
		text-align: center;
	}
}
@media (max-width: 560px) {
	body.sub_promo .kurs-item-prices-list {
		width: 300px;
	}
}
/*-------------------------------------*/
/*--- Страница (sub_feedback) ---*/
@media (max-width: 1200px) {
	body.sub_feedback .kurs-item-single {
		width: 800px; float: none;
	}
	body.sub_feedback .otz-i {
		width: 365px;
	}
	body.sub_feedback .kurs-sidebar {
		float: none; margin: 0 auto; margin-top: 33px;
	}
}
@media (max-width: 840px) {
	body.sub_feedback .kurs-item-single {
		width: 500px;
	}
	body.sub_feedback .otz-i {
		width: auto; margin-right: 0px; padding-bottom: 30px;
	}
	.sub_feedback .otz-i:last-child {
		margin-right: 0px; padding-bottom: 0px;
	}
}
@media (max-width: 560px) {
	body.sub_feedback .kurs-item-single {
		width: 300px;
	}
	body.sub_feedback .otz-i .otz-i-txt:after {
		left: 50%;
	}
	body.sub_feedback .otz-i .otz-i-author {
		text-align: center;
	}
	body.sub_feedback .otz-i .otz-i-author .otz-i-author-name {
		display: block;
		margin-left: 0px;
		padding-top: 10px;
	}
	.sub_feedback .otz-i .otz-i-author .otz-i-author-name .position {
		line-height: 20px;
	}
}
/*--- Страница (sub_about) ---*/
@media (max-width: 1200px) {
	.about-tabs ul li {
		font-size: 17px; 
		line-height: 15px;
		width: 136px;
		height: 136px;
	}
	.about-tabs ul li > a, .about-tabs ul li > a:hover {
		padding-top: 89px; 
	}
	.about-tabs ul li.line-2 > a {
		padding-top: 79px;
	}
	.about-tabs ul li > a:after {
		bottom: 10px;
	}
}
@media (max-width: 840px) {
	.about-tabs ul {
		margin-top: -15px;
	}
	.about-tabs ul li {
		float: none;
		margin-left: 10px !important;
		margin-right: 10px !important;
		margin-top: 15px;
	}
}
/*-------------------------------------*/
/*--- Страница (sub_jokes) ---*/
@media (max-width: 1200px) {
	.gallery-item:nth-child(3n) {
		margin-right: 11px !important; 
	}
	.gallery-item:nth-child(2n) {
		margin-right: -20px !important; 
	}
	.gallery-item a {
		width: 213px;
		height: 158px;
	}
	
}
@media (max-width: 560px) {
	.gallery-item a {
		width: 230px;
		height: 170px;
	}
}
/*--- Блок видео ---*/
@media (max-width: 373px) {
	.video {	width: 100%; margin-top: 25px; text-align: center;}
	.video_iframe {width: 280px;	height: 220px;}
	#video-block {width: 100%;}
	
	#video-block .title-block-red {
		margin: 0px 0px 0px 0px; padding: 43px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #d42e18;
	}
	#video-block .title-block-black {
		margin: 0px 0px 0px 0px; padding: 23px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #000;
	}	
}
@media (min-width: 567px) and (max-width: 568px) {
	.video {	width: 100%; margin-top: 25px; text-align: center;}
	.video_iframe {width: 400px;	height: 340px;}
	#video-block {width: 100%;}
	
	#video-block .title-block-red {
		margin: 0px 0px 0px 0px; padding: 53px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #d42e18;
	}
	#video-block .title-block-black {
		margin: 0px 0px 0px 0px; padding: 23px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #000;
	}	
}
@media (min-width: 374px) and (max-width: 375px) {
	.video {	width: 100%;margin-top: 20px;text-align: center;}
	.video_iframe {width: 300px;	height: 240px;}
	#video-block {width: 100%;}
	
	#video-block .title-block-red {
		margin: 0px 0px 0px 0px; padding: 43px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #d42e18;
	}
	
	#video-block .title-block-black {
		margin: 0px 0px 0px 0px; padding: 23px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #000;
	}	
}
@media (min-width: 380px) and (max-width: 390px) {
	.video {	width: 100%;margin-top: 20px;text-align: center;}
	.video_iframe {width: 300px;	height: 240px;}
	#video-block {width: 100%;}
	
	#video-block .title-block-red {
		margin: 0px 0px 0px 0px; padding: 43px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #d42e18;
	}
	
	#video-block .title-block-black {
		margin: 0px 0px 0px 0px; padding: 23px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #000;
	}	
}
@media (min-width: 590px) and (max-width: 650px) {
	.video {	width: 100%;margin-top: 20px;text-align: center;}
	.video_iframe {width: 480px;height: 350px;}
	#video-block {width: 100%;}
	
	#video-block .title-block-red {
		margin: 0px 0px 0px 0px; padding: 43px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #d42e18;
	}
	
	#video-block .title-block-black {
		margin: 0px 0px 0px 0px; padding: 23px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #000;
	}	
}
@media (min-width: 660px) and (max-width: 670px) {
	.video {	width: 100%;margin-top: 20px;text-align: center;}
	.video_iframe {width: 480px;height: 350px;}
	#video-block {width: 100%;}
	
	#video-block .title-block-red {
		margin: 0px 0px 0px 0px; padding: 43px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #d42e18;
	}
	
	#video-block .title-block-black {
		margin: 0px 0px 0px 0px; padding: 23px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #000;
	}	
}
@media (min-width: 410px) and (max-width: 440px) {
	.video {	width: 100%;margin-top: 20px;text-align: center;}
	.video_iframe {width: 380px;	height: 220px;}
	#video-block {width: 100%;}
	
	#video-block .title-block-red {
		margin: 0px 0px 0px 0px; padding: 43px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #d42e18;
	}
	
	#video-block .title-block-black {
		margin: 0px 0px 0px 0px; padding: 23px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #000;
	}	
}
@media (min-width: 730px) and (max-width: 767px) {
	.video {	width: 100%;margin-top: 20px;text-align: center;}
	.video_iframe {width: 550px;	height: 360px;}
	#video-block {width: 100%;}
	
	#video-block .title-block-red {
		margin: 0px 0px 0px 0px; padding: 43px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #d42e18;
	}
	
	#video-block .title-block-black {
		margin: 0px 0px 0px 0px; padding: 23px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #000;
	}	
}
@media (min-width: 768px) and (max-width: 800px) {
	.video {	width: 100%;margin-top: 20px;text-align: center;}
	.video_iframe {width: 550px;	height: 360px;}
	#video-block {width: 100%;}
	
	#video-block .title-block-red {
		margin: 0px 0px 0px 0px; padding: 43px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #d42e18;
	}
	
	#video-block .title-block-black {
		margin: 0px 0px 0px 0px; padding: 23px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #000;
	}	
}
@media (min-width: 1000px) {
	.video {	width: 100%;margin-top: 20px;text-align: center;}
	.video_iframe {width: 750px;	height: 420px;}
	#video-block {width: 100%;}
	
	#video-block .title-block-red {
		margin: 0px 0px 0px 0px; padding: 43px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #d42e18;
	}
	
	#video-block .title-block-black {
		margin: 0px 0px 0px 0px; padding: 23px 0px 20px 0px; display: block; vertical-align: top;
		text-align: center; font-weight: 400; font-size: 40px; line-height: 52px;
		font-family: 'Raleway-Bold'; color: #000;
	}	
}
/* НОВЫЕ СТИЛИ ФУТЕРА */
@media screen and (max-width: 1200px) {
	.contact-us .hide-mobile {
		display: none !important;
	}
	#footer .w-center {
		width: 100%;
		padding: 0 20px;
	}
}
@media screen and (max-width: 840px) {
	#sertificate .title-block {
		text-indent: 0;
	}
	#sertificate .sertificate__info {
		width: 100%; 
	}
	#footer .info-links {
		font-size: 13px;
		text-align: center;
	}
	#footer .copyright {
		font-size: 13px;
	}
	#footer .w-center {
		width: 550px;
		flex-direction: column;
		justify-content: space-around;
	}
	#footer .social-icons {
		 width: 100%; 
		 display: flex;
		justify-content: center;
	}
	#footer .contact {
		text-align: center;
		margin-top: 15px;
		font-size: 13px;
	}
	#footer .contact__phone {
		justify-content: center;
	}
	
	.newLabel:before {
	top: 1px;
    left: 95px;
	}
		.courseItem {
		width: 100%;
		margin-bottom: 30px;
		height:365px;
	}
	.courseRow {
		margin-bottom: 0px;
	}
	.kurs-items-bl {
		min-height:1750px;
	}
}
@media (max-width: 560px) {
	#footer .contact__phone {
		justify-content: center;
	}
	#footer .info-links :last-child {
    	display: block;
	}
	#oferta .title-block {
		font-size: 24px;
		text-indent: 0;
		line-height: 38px;
		padding: 25px 0 25px 0;
	}
	#oferta .oferta__info {
		 text-align: justify; 
	}
	#oferta .oferta__info p {
		font-size: 11px;
		text-indent: 10px;
	}
	#oferta h3 {
		font-size: 15px;
		margin: 15px 0;
	}
	#oferta .oferta__info span {
		font-size: 11px;
		margin-left: 10px; 
		margin-top: 15px;
		display: flex; 
	}
/*страница новая всех курсов */	
	.courseItem {
		width: 100%;
		margin-bottom: 30px;
		height:365px;
	}
	.courseRow {
		margin-bottom: 0px;
	}
	.courseName h3 {
		font-size:1.7em;
	}
	.courseName.longName h3 {
		font-size:1.2em;
	}
	.headCourse h2 {
		font-size: 24px;
		line-height: 35px;
	}
	.courseDesc {
		max-width: 270px;
	}
	

	.monoLess {
		height:425px;
	}
	.courseBtn {
		left:50px;
	}
	.newCoursePage > h1 {
		font-size: 150%!important;
    line-height: 150%!important;
	}
	.headCourse {
		margin-top:50px;
	}
	/*конец новой все курсы*/
}
@media (max-width: 377px) {
	#sertificate .title-block {
		width: 81%;
		font-size: 28px;
		padding: 30px 0 30px 0;
	}
	#sertificate .sertificate__info {
		width: 57%;
		margin-left: 39px;
	}
	#sertificate .sertificate__info p {
		font-size: 13px;
	}
	#sertificate .sertificate__img a img {
		width: 260px;
	}
	#sertificate .sertificate__info span {
		font-size: 10px;
	}
}
@media (min-width: 1200px) {
	#oferta .oferta__info {
		width: 900px;
		margin: 0 auto;
	}
        
        #footer .footer__left {
            width: 325px;
        }
}
@media screen and (max-width:1200px){
.w-center {width: 980px;}
.w-center-lr{padding: 0}
.freelesson_offer-point .h4
	{
		width: auto;
		
	}
}
@media screen and (max-width:1199px){
	.freelesson__title {
		font-size: 31px;
	}
	.freelesson_offer-point .h4
	{
		font-size: 24px;
	}
	.form-entry {
		height: auto;
	}
	form.entry-action {    
    padding: 30px 25px 43px;    
}
.point_lesson-item p {    
    font-size: 16px;    
}
.form-entry-title {
	font-size: 20px; 
}
.form-entry {
	width: 400px;
}
.entry-action input {
    display: block;
    width: 80%; }
.point_lesson-item {
    line-height: 3.6rem;
}
form.entry-action {
    padding: 30px 25px 23px;
}
}
@media screen and (max-width:840px){
	.freelesson_offer {
		flex-direction: column;
	}
	.w-center {width: 500px;}
	.freelesson__title {
    text-align: center;
    color: #fefefe;
    font-family: 'Raleway-Bold', sans-serif;
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 40px;
    white-space: normal;
}
.freelesson_offer-point .h4 {
	text-align: center;
	font-size: 20px;	
}
.form-entry {
	width: auto;
	margin-top: 20px;
}
form.entry-action {
    padding: 30px 25px 16px;
}
}
@media screen and (max-width:560px){
	.w-center {width: 300px;}
	.freelesson_offer-point .h4 {
	text-align: center;
	font-size: 18px;	
}
.point_lesson-item p {
    font-size: 13px;
}
.point_lesson-item {
    line-height: 3.6rem;
}
.point_lesson {
    margin-top: 30px;
}
.freelesson__title {
    
    margin-bottom: 28px;
    
}
.form-entry {    
    margin-top: 30px;    
}
.form-entry {
   
    height: auto;
}
@media screen and (max-width:576px){
	
}
@media screen and (max-width:420px){
	
}
@media screen and (max-width:340px){
	
}

@media (min-device-width: 320px) and (max-device-width: 900px) {
.courseRow{
  flex-flow:column wrap;
}
.courseItem {
width: 100%;
}

}
}