*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body{
    background: #ebebeb;
    color: black;
    font-family: 'Roboto', sans-serif;
    margin: 0;
}
a{
    text-decoration: none;
    color: #000;
    cursor: pointer;
}
a:hover{
    color: #361c5b;
}
h1{
    font-size: 3em;
    font-weight: 400;
}
h2,
.search_page h1{
    font-size: 2em;
    font-weight: 400;
}
h3{
    padding: 20px 30px;
    font-size: 1.4em;
    font-weight: 400;
}
p{line-height: 1.5em;}
.single p{margin-bottom: 1.25rem;}
.flex{
    justify-content: space-between;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    flex-wrap: wrap;
}
.flex-start{
    justify-content: flex-start;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    flex-wrap: wrap;
}
.container{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.background{
    background-color: #fff;
}
.background, 
header.site_header, 
header.site_header.sticky, 
section.hero, 
.hero_text, 
.choosing_us .wp-block-column:first-child,
.choosing_us .wp-block-column iframe,
.choosing_us .video, 
.article, 
.feedback, 
.breadcrumbs{
    -webkit-box-shadow: 0px 2px 4px 0px rgba(50, 50, 50, .4);
    -moz-box-shadow:    0px 2px 4px 0px rgba(50, 50, 50, .4);
    box-shadow:         0px 2px 4px 0px rgba(50, 50, 50, .4);
}
.background, 
.hero_text, 
.choosing_us .wp-block-column:first-child,
.choosing_us iframe, 
.feedback, 
#carousel_reviews .item{
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.wrapper{
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    padding: 0;
    margin: 0;
}
ul.marker_list {
    margin: 0;
    padding: 0;
}
ul.marker_list li{
    color: #000;
    line-height: 1.5em;
    background: url(/wp-content/themes/vod_plus/img/li.png) no-repeat left top;
    list-style: none;
    padding: 0 0 20px 30px;
}
/* Admin header fix */
header.site_header.logged_in{margin-top: 32px !important;}

/*------------------------------------*\
    Другое
\*------------------------------------*/

.content{
    padding: 40px 30px;
}
.margin_content{
    padding: 40px 30px;
    margin-top: 30px;
}
.margin{
    margin: 30px 0;
}
.with_sidebar main .single .content h3:first-child{
    padding: 0 30px 20px 30px;
}

/* Gutenberg */
.entry-content > .align-wrap {
    width: calc(100% + 2 * 1.5rem);
    max-width: none;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
}
.align-wrap .alignfull {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}


.with_sidebar .align-wrap {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

@media screen and (min-width: 900px) {
    .with_sidebar .align-wrap {
        width: auto;
        margin-left: calc(50% / .62 - 50vw);
    }
}

.with_sidebar .align-wrap .alignfull {
    width: 100%;
    margin: 0 0 0 auto;
}

#your_course{
    cursor: default;
}
.grecaptcha-badge { visibility: hidden; }

/*------------------------------------*\
	Цветные кнопки
\*------------------------------------*/

.btn_cover{
    width: 100%;
    margin: 30px 0;
    text-align: center;
    display: inline-block;
}
a.button, button.button, #respond .submit, .btn_cover a, .wpcf7-submit{
    border: none;
    text-decoration: none;
    background-color: #4c2b7c;
    font-size: 15px;
    padding: 10px 1.8em;
    -webkit-border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    border-radius: 0.3em;
    box-shadow: 0 0em 0em #000;
    color: #fff;
}
a.button:hover, button.button:hover, #respond .submit, .wpcf7-submit:hover{
    background-color: #361c5b;
    transition-duration: .5s;
    cursor: pointer;
}

/*------------------------------------*\
	Верхняя часть
\*------------------------------------*/

header.site_header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    color: #fff;
}
header.site_header .flex{
    align-items: center;
}
header.site_header .top_header{
    background: #647382;
    padding: 6px 0;
}
header.site_header .top_header img{
    width: 20px;
    height: 20px;
    margin: 0 10px -5px 0;
}
header.site_header .main_header{
    background: #fff;
    color: #000;
}
header.site_header .main_header .logo{
    width: auto;
}
header.site_header .main_header .menu_block{
    width: auto;
}
header.site_header .main_header .logo img{
    width: auto;
    height: 4.5em;
}
header.site_header.sticky .top_header{
    display: none;
}
header.site_header.sticky{
    position: fixed;
    margin: 0;
}
header.site_header .main_header .menu ul li:last-child{
    margin-right: 0;
}

/*------------------------------------*\
	Навигация
\*------------------------------------*/

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */
header.site_header .main_header .menu:after{
    content: "";
    display: table;
    clear: both;
}
/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
header.site_header .main_header .menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
    float: right;
}
/* Positioning the header .main_header .menuigation items inline */
header.site_header .main_header .menu ul li {
    margin: 0px;
    display: inline-block;
    float: left;
}
header.site_header .main_header .menu ul li.active a{
    background-color: #361c5b;
    color: #fff;
}

/* Styling the links */
header.site_header .main_header .menu a {
    color: inherit;
    display: block;
    padding: 30px 20px;
    text-decoration: none;
}
/* Background color change on Hover */
header.site_header .main_header .menu a:hover {
    background-color: #361c5b;
    color: #fff;
    cursor: pointer;
    transition-duration: .3s;
}
/* Hide Dropdowns by Default
 * and giving it a position of absolute */
header.site_header .main_header .menu ul li:hover > a{
    background-color: #361c5b;
    color: white;
}
header.site_header .main_header .menu ul ul {
    background-color: #361c5b;
    display: none;
    position: absolute;
}
/* Display Dropdowns on Hover */
header.site_header .main_header .menu ul li:hover > ul {
    display:inherit;
}
/* Fisrt Tier Dropdown */
header.site_header .main_header .menu ul ul li {
    min-width:250px;
    float:none;
    display:list-item;
    position: relative;
}
header.site_header .main_header .menu ul ul li a {
    padding: 15px 20px;
    color: #fff;
}
header.site_header .main_header .menu ul ul li a:hover {
    background-color: #25133e;
}
/* Second, Third and more Tiers
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
header.site_header .main_header .menu ul ul ul {
    position: absolute;
    top:0;
    left:100%;
}
/* Change ' +' in order to change the Dropdown symbol */
li > a:after { content:  ' +'; }
li > a:only-child:after { content: ''; }

/*------------------------------------*\
	Страницы
\*------------------------------------*/
.columns_no_margin .wp-block-column{
	margin: 0;
}
section.hero, section.hero #carousel_hero, section.hero #carousel_hero .item{
    height: 55vh;
}
section.hero{
    margin: 0;
    position: relative;
}
section.hero .overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .6);
    z-index: -1;
}
section.hero #carousel_hero{
    z-index: -2;
}
section.hero #carousel_hero .item{
    width: auto;
    object-fit: cover;
}
section.hero #carousel_hero .item img{
    display: block;
    height: 100%;
    object-fit: cover;
}
section.hero .container{
    color: white;
    text-align: center;
    margin: -37vh auto 0 auto;
}
section.hero .container p{
    font-weight: 100;
    font-size: 1.2em;
}
.hero_text{
    margin-top: -30px;
}
.hero_text, .feedback{
    background: #4c2b7c;
    background: -moz-linear-gradient(top, #4c2b7c 0%, #44355b 100%);
    background: -webkit-linear-gradient(top, #4c2b7c 0%,#44355b 100%);
    background: linear-gradient(to bottom, #4c2b7c 0%,#44355b 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c2b7c', endColorstr='#44355b',GradientType=0 );
}
.hero_text .wp-block-column{
    color: #fff;
    padding: 30px 40px;
    margin: 0;
    text-align: center;
    font-weight: bold;
    font-size: 1em;
    position: relative;
}
.hero_text .wp-block-column::after{
    content: '';
    position: absolute;
    top: 25%;
    right: 0;
    width: 1px;
    height: 50%;
    background-color: rgba(0,0,0,.5);
}
.hero_text .wp-block-column:last-child::after{
    display: none;
}
.wp-block-media-text.director {
    grid-template-columns: 18% auto;
    background-color: #fff;
}
.director .wp-block-media-text__media{
    padding: 30px;
}
.director .wp-block-media-text__media img{
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    object-fit: cover;
    width: 220px;
    height: 220px;
    margin: auto;
    display: block;
}
.director .wp-block-media-text__content p.director_name{
    font-weight: 100;
}
.director .wp-block-media-text__content p{
    margin: 10px 0;
    font-weight: bold;
    font-size: 1.1em;
    text-align: justify;
}
.choosing_us .wp-block-column:first-child{
    background-color: #fff;
    font-size: 1.1em;
    flex-basis: 40%;
}
.choosing_us .wp-block-column:last-child{
    position: relative;
    height: auto;
    overflow: hidden;
    flex-basis: 60%;
}
.choosing_us h3{
    padding: 20px;
    position: relative;
}
.choosing_us h3::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e4e4e4;
}
.choosing_us .wp-block-column .marker_list{
    padding: 30px;
}
.choosing_us .wp-block-column:last-child iframe,
.choosing_us .wp-block-column:last-child object,
.choosing_us .wp-block-column:last-child embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
section.our_news h2{
    text-align: center;
    margin-bottom: 50px;
}
.front-page section.our_news{
    margin-bottom: 0;
}
.feedback{
    text-align: center;
    color: #fff;
    padding-top: 30px;
}
.full_width .wp-block-column{
    flex-basis: 100%;
}
.feedback p{
    margin: 20px 0;
}
.feedback .btn_cover{
    margin: 0 0 30px;
}
.feedback .btn_cover a{
    background-color: #edbb18;
}
.feedback .btn_cover a:hover{
    background-color: #bd9513;
}
#carousel_reviews h2{
    margin: 50px 0;
    text-align: center;
}
#carousel_reviews .item{
    border: 2px solid #cacaca;
    padding: 30px;
    background-color: #fff;
	min-height: 430px;
}
#carousel_reviews .item:hover{
    border-color: #4c2b7c;
}
#carousel_reviews .item .review_author .review_author_image{
    width: 50px;
    height: 50px;
}
#carousel_reviews .item .review_author .review_author_image img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
#carousel_reviews .item .review p{
    text-align: justify;
    min-height: 288px;
}
#carousel_reviews .item .review_author{
    margin-top: 20px;
}
#carousel_reviews .item .review_author .review_author_info{
    width: 80%;
    padding: 10px;
}
#carousel_reviews .item .review_author .review_author_info span{
    display: block;
}
#carousel_reviews .item .review_author .review_author_info span.name{
    color: #4c2b7c;
    font-weight: 400;
}
#carousel_reviews .item .review_author .review_author_info span.role{
    font-style: italic;
    color: #868686;
}
#carousel_reviews .owl-prev, #carousel_reviews .owl-next{
    border: 2px solid #868686;
    padding: 5px 10px !important;
    background-color: #fff;
}
#carousel_reviews .owl-prev:hover, #carousel_reviews .owl-next:hover{
    border-color: #4c2b7c;
    background-color: #4c2b7c;
}
#carousel_reviews .owl-header .main_header .menu{
    margin: 30px 0;
}

/*------------------------------------*\
	Крошки
\*------------------------------------*/

.breadcrumbs{
    background-color: #eeeeee;
}
.breadcrumbs .container{
    align-items: center;
    padding: 25px;
}
.breadcrumbs .page_title h1{
    font-weight: 400;
    font-size: 1.8rem;
}

/*------------------------------------*\
	Индикатор загрузки
\*------------------------------------*/

#before-load {
    position: fixed; /*фиксированное положение блока*/
    left: 0; /*положение элемента слева*/
    top: 0; /*положение элемента сверху*/
    right: 0; /*положение элемента справа*/
    bottom: 0; /*положение элемента снизу*/
    background: #fff; /*цвет заднего фона блока*/
    z-index: 1001; /*располагаем его над всеми элементами на странице*/
}
#before-load img {
    font-size: 140px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -70px 0 0 -70px;
}

/*------------------------------------*\
	Спойлер
\*------------------------------------*/

.spoiler-wrap{background:#fff;margin: 0 0 12px;border:1px solid #efefef}
.spoiler-head{background:#efefef;cursor:pointer;padding:10px;}
.spoiler-body{padding:10px}
.spoiler-wrap.disabled .spoiler-body{display:none}
.spoiler-wrap.active{border-color:#361c5b}
.spoiler-wrap.active .spoiler-head{background:#361c5b;color:#fff}

/*------------------------------------*\
	Страница с сайдбаром
\*------------------------------------*/

.breadcrumbs{
    margin-bottom: 30px;
}
.with_sidebar main{
    width: 100%;
    max-width: 770px;
}
.with_sidebar aside{
    width: 100%;
    max-width: 370px;
}
.with_sidebar aside .widget{
    padding: 5px;
}
.with_sidebar aside .widget .widget_title{
    font-size: 1.3em;
    padding: 10px;
}
.with_sidebar aside .widget{
    width: 100%;
    margin-bottom: 30px;
}

/*------------------------------------*\
	Курсы (Фильтр и Модальное окно)
\*------------------------------------*/

.control_panel{
    text-align: center;
    margin-bottom: 25px;
}

/* Custom animation */
.fancybox-container {
  transform: translateY(100%);
  transition: transform .3s ease-out;
}

.fancybox-container.fancybox-is-open {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
}

.fancybox-container.fancybox-is-closing {
     transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
}

.hidden{
    display: none;
}



/*------------------------------------*\
    Записи
\*------------------------------------*/

/* Сетка */
article{
    width: 100%;
    padding: 0;
}
.archive article{
    width: 33.3%;
    padding: 0 10px 30px;
}
article .article{
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: #fff;
}
article .article:hover{
	box-shadow: 0px 10px 10px 0px rgba(50, 50, 50, .4);
	transition-duration: .3s;
}
.archive article.staff  .item_text h3, .archive article.staff  .item_text p{
    text-align: center;
}
.archive article.staff .item_text .info{
    min-height: 140px;
}
.archive article.staff  .item_text p{
    color: #777;
}
button.button{margin: 5px;}
article.single .post-thumbnail{
    margin: 0 auto;
    width: 100%;
    height: 50vh;
}
.archive article .post-thumbnail{
    margin: 0 auto;
    width: 100%;
    height: 210px;
}
article .post-thumbnail img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
article .item_text .info{
    min-height: 175px;
}
article .item_text h3{
    margin: 0;
    padding: 0 0 10px 0;
}
article.single h2{
    margin-bottom: 15px;
}
article .item_text{
    padding: 30px;
}
article time, .course_meta time{
    position: relative;
    padding-left: 20px;
    color: gray;
}
article time::before, .course_meta time::before{
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    width: 13px;
    height: 13px;
    background: url("data:image/svg+xml;utf8,<svg aria-hidden='true' focusable='false' data-prefix='far' data-icon='clock' class='svg-inline--fa fa-clock fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='gray' d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z'></path></svg>") no-repeat;
}
article ul{
    margin: 0;
    padding: 0;
}
article ul li{
    list-style: none;
    line-height: 1.5em;
    color: gray;
}
article .item_text p{
    text-align: justify;
}
article .btn_cover{
    margin-bottom: 0;
    position: relative;
}
#course_content {
    width: 100%;
    max-width: 1000px;
    padding: 0;
    margin: 0;
    position: relative;
    background: #fff;
    border-radius: 10px;
    z-index: 3;
}
.fancybox-close-small{
    color: #fff !important;
    background: #4c2b7c !important;
    border-radius: 50% !important;
    margin: 35px 10px !important;
}
#course_content .course_content{
    padding: 2vw;
}
#course_content .container .loader{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    text-align: center;
    z-index: 1;
}
#course_content .container .loader img{
    margin-top: 50vh;
}
#course_content .container .course_image{
    margin: 0 auto;
    width: 100%;
    height: 50vh;
}
#course_content .container .course_image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#course_content .container p{
    text-align: justify;
}
article.price .item_text h3 span{
    font-size: .6em;
}
.sale_price{
    position: relative;
}
.sale_price::before{
    border-bottom: 2px solid red;
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    -webkit-transform: rotate(-10deg);
    -ms-transform: rotate(10deg);
    transform: rotate(-10deg);
}
ul.price{
    margin-top: 10px;
}
#content_container .course_meta{
    border: 1px solid #361c5b;
    border-radius: 5px;
    margin: 15px 0;
    padding: 5px 10px;
    text-align: center;
    font-size: 18px;
}
#content_container .course_meta ul{
    margin-top: 0;
}
#content_container .course_meta ul li{
    list-style: none;
    display: inline;
}
#course_content #form_container{
    border: 1px solid #361c5b;
    border-radius: 5px;
    padding: 5px 10px;
    margin: 0 2vw 2vw ;
}
#course_content #form_container h3{
    text-align: center;
}
#course_content #form_container .wpcf7-submit{
    margin: 20px;
}

/*------------------------------------*\
	Подвал
\*------------------------------------*/

.page{flex: 1 0 auto;}
footer.site_footer{
    flex: 0 0 auto;
    background-color: #fff;
    padding: 30px 0;
    margin-top: 30px;
}
footer.site_footer .left, footer.site_footer .right{
    width: 49%;
}
footer.site_footer .left p{
    text-align: justify;
}
footer.site_footer .left img{
    width: auto;
    height: 50px;
}
footer.site_footer .copyright{
    color: #868686;
}

/*------------------------------------*\
    Отзывы
\*------------------------------------*/

.wpcr3_button_1{
background: #361c5b;
color: rgb(255, 255, 255);
font-size: 15px;
line-height: 20px;
text-transform: uppercase;
padding: 11px 28px;
margin: 5px 20px 10px 0px;
border: medium none;
border-radius: 5px;
float: left;  
cursor: pointer;
}
.wpcr3_button_1:hover{
    background: #361c5b !important;  
    color: #fff;
    font-weight: bold;
}

.wpcr3_leave_text{margin-bottom: 15px !important;}
.wpcr3_div_2 {
    width: auto;
    border: 2px solid #361c5b;
    border-radius: 10px;
    padding: 20px;
}
.wpcr3_respond_2 input[type="text"] {min-width: 100%;}
input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="date"], input[type="search"], input[type="range"], select {
    padding: 5px;
    margin-bottom: 10px;
    width: 100%;
    font-size: 14px;
}
.wpcr3_respond_2 textarea {
    height: 100px !important;
    min-width: auto !important;
}
.wpcr3_review_title{
    font-size: 1em !important;
    font-weight: bold;
    margin: 10px 0;
}
div.wpcr3_review blockquote.wpcr3_content p{
    font-size: 16px !important;
    line-height: 1.3em !important;
}
.wpcr3_content{
    padding-bottom: 10px !important;
}
.wpcr3_current{
    background: #361c5b !important;
}
.wpcr3_pagination .wpcr3_a:hover{
    background: #361c5b !important;
}
div.wpcr3_review blockquote.wpcr3_content.wpcr3_admin_response{
    color: #361c5b;
}

/*------------------------------------*\
    Комментарии
\*------------------------------------*/

#respond input, textarea {
  -webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;
  outline: none;
  padding: 3px 0px 3px 3px;
  margin: 5px 1px 3px 0px;
  border: 1px solid #DDDDDD;
  width: 100%;
}
 
 
#respond input[type=text]:focus, textarea:focus {
  box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  margin: 5px 1px 3px 0px;
  border: 1px solid rgba(81, 203, 238, 1);
}

/*------------------------------------*\
    Поиск
\*------------------------------------*/

.search_for{
    padding: 10px;
}
.search_page .has-post-thumbnail{
    margin-top: 30px;
}

.nav-links .post-title{
    font-size: 1.4em;
}
.nav-links{
	display: flex;
	flex-wrap: wrap;
}
.nav-links .nav-previous,
.nav-links .nav-next{
	width: 50%;
	padding: 10px;	
}

/*------------------------------------*\
	Ютуб-шорткод
\*------------------------------------*/
.youtube {
    background-color: #000;
    margin-bottom: 30px;
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    cursor: pointer;
}
.youtube img {
    width: 100%;
    top: 0.16%;
    left: 0;
    opacity: 0.7;
}
.youtube .play-button {
    width: 90px;
    height: 60px;
    background-color: #333;
    box-shadow: 0 0 30px rgba( 0,0,0,0.6 );
    z-index: 1;
    opacity: 0.8;
    border-radius: 6px;
}
.youtube .play-button:before {
    content: "";
    border-style: solid;
    border-width: 15px 0 15px 26.0px;
    border-color: transparent transparent transparent #fff;
}
.youtube img,
.youtube .play-button {
    cursor: pointer;
}
.youtube img,
.youtube iframe,
.youtube .play-button,
.youtube .play-button:before {
    position: absolute;
}
.youtube .play-button,
.youtube .play-button:before {
    top: 50%;
    left: 50%;
    transform: translate3d( -50%, -50%, 0 );
}
.youtube iframe {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.gibdd_form .additional_info{
	font-size: 14px;
	margin: 10px 0;
}
.gibdd_form .wpcf7-submit{
	margin-top: 10px;
}

/*------------------------------------*\
	Адаптивность
\*------------------------------------*/

.menu-toggle{
	display: none;
	cursor: pointer;
}

@media screen and (max-width: 1200px) {
    h1{
        font-size: 1.4rem;
    }
    section.hero .container p{
        font-size: 1em;
    }
	.container{
		padding: 0 20px;
	}
	.menu-toggle,
	.menu.toggled .nav-menu{
		display: block;
	}
	.menu_block .menu ul{
		display: none;
		position: absolute;
		left: 0;
		top: 100%;
	}
	.main_header{
		position: relative;
	}
	header.site_header .main_header .menu_block{
		width: auto;
	}
	header.site_header .main_header .menu ul{
		float: left;
		width: 100%;
		background-color: #fff;
	}
	header.site_header .main_header .menu.toggled ul{
		 -webkit-box-shadow: 0px 2px 4px 0px rgba(50, 50, 50, .4);
	    -moz-box-shadow:    0px 2px 4px 0px rgba(50, 50, 50, .4);
	    box-shadow:         0px 2px 4px 0px rgba(50, 50, 50, .4);	
	}
    .wp-block-media-text.director{
        grid-template-columns: auto;
    }
    .with_sidebar main{
        max-width: 70%;
    }
    .with_sidebar aside{
        max-width: 30%;
    }
}

@media screen and (max-width: 990px) {
	header.site_header .top_header .flex{
		justify-content: space-around;
	}
    .hero_text .wp-block-column {
        flex-basis: 33%;
        padding: 30px 20px;
    }
}
@media screen and (max-width: 790px) {
    .choosing_us{
        justify-content: space-between;
    }
    .choosing_us .wp-block-column:first-child{
        flex-basis: 48%;
        margin: 0;
    }
    .choosing_us .wp-block-column:last-child{
        flex-basis: 48%;
        margin: 0;
    }
    .archive article {
        width: 50%;
    }
}
/* Landscape phones and portrait tablets */
@media screen and (max-width: 768px) {
    .single article{
        width: 50%;
    }
    .choosing_us{
        flex-direction: column;
    }
    .choosing_us .wp-block-column:first-child, .choosing_us .wp-block-column:last-child{
        flex-basis: 100%;
    }
    .wp-block-embed__wrapper{
        position: relative;
        height: 33em;
        margin-top: 30px;
    }
    #content_container .course_meta ul li{
        display: block;
    }
    .with_sidebar main, .with_sidebar aside{
        max-width: 100%;
    }
    .with_sidebar aside{
        margin-top: 30px;
    }
    .auto_wrap .wp-block-columns{
        flex-wrap: nowrap;
    }
    .with_sidebar aside .widget{
        text-align: center;
    }
    .with_sidebar aside .widget h2{
        text-align: left;
    }
	.nav-links{
		flex-direction: column;
	}
	.nav-links .nav-previous,
	.nav-links .nav-next{
		width: 100%;
	}
}

/* Landscape phones and smaller */
@media screen and (max-width: 480px) {
    /* Шапка */
	header.site_header .main_header .flex{
		flex-direction: column;
	}
	header.site_header .main_header .menu_block,
	header.site_header .main_header .menu_block .button{
		width: 100%;
	}
	header.site_header .main_header .flex{
		padding: 10px 20px;
	}
	header.site_header .main_header .menu ul li{
		width: 100%;
	}
	header.site_header .main_header .menu a{
		padding: 15px 20px;
	}
	header.site_header .main_header .logo img{
		height: 3.5em;
	}
	.menu_block .menu ul{
		position: relative;
	}
    .hero_text .wp-block-column {
        flex-basis: 100%;
    }
    .wp-block-media-text.director{
        display: block;
    }
    .director .wp-block-media-text__media, .director .wp-block-media-text__content{
        padding: 10px;
    }
    .archive article {
        width: 100%;
    }
    .wp-block-embed__wrapper{
        height: 16em;
    }
    /* Нижняя часть */
    footer.site_footer .flex{
        flex-direction: column;
    }
    footer.site_footer .left, footer.site_footer .right{
        width: 100%;
    }
    footer.site_footer .widget{
        margin-bottom: 30px;
    }
    /* Новости */
    article{
        width: 100%;
    }
    .auto_wrap .wp-block-columns{
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 360px) {
	header.site_header .top_header{
		display: none;
	}
}

