/**

Theme Name: Lingvitania

Author: NetSergio

Author URI: http://wpastra.com/about/

Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!

Version: 1.0.0

License: GNU General Public License v2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

Text Domain: lingvitania

Template: astra

*/
* 


/* CNT */

/* MAIN
/* HEADER
/* HOME
  /* Section 1 */
  /* Section 2 */
  /* Section 3 */
  /* Section 4 */
  /* Section 5 */
  /* Section 6 */
  /* Section 7 */
/* OTHER PAGE
/* ENGLISH FOR CHILDREN
/* ENGLISH FOR SCHOOLCHILD
/* ENGLISH ONLINE
/* FOTO AND VIDEO GALLERY
/* SUMMER PROGRAM FOR SCHOOLCHILD
/* ENGLISH ABROAD
/* FOR COMPANY
/* SCHOOLS
/* BLOG
/* FOOTER
/* MEDIA min-width 640px (except mobile version)
/* MEDIA (max-width: 920px) and (min-width: 480px)
/* MEDIA (max-width: 920px) and (min-width: 540px)
/* MEDIA (max-width: 920px) and (min-width: 640px) (except mobile and PC version)
/* MEDIA min-width 1025px (except mobile and laptop version)
  /* Section 1 min-width 1025px */
  /* Section 2 min-width 1025px */
  /* Section 3 min-width 1025px */
  /* Section 4 min-width 1025px */
  /* Section 5 min-width 1025px */
  /* Section 6 min-width 1025px */
  /* Section 7 min-width 1025px */
  /* SCHOOL ADN PRICE min-width 1025px */
  /* ENGLISH FOR CHILDREN min-width 1025px */
  /* ENGLISH FOR CHILDREN Section 2 min-width 1025px */
  /* ENGLISH FOR SCHOOLCHILD min-width 1025px */
  /* ENGLISH ONLINE min-width 1025px */
  /* ENGLISH ABROAD min-width 1025px */
  /* SCHOOLS min-width 1025px */
  /* NEWS min-width 1025px */
/* MEDIA min-width 1340px (PC Large version)
/* MEDIA max-width 1025px (mobile and laptop version)
  /* HOME max-width 1025px */
  /* SCHOOLS max-width 1025px */
  /* NEWS max-width 1025px */
/* MEDIA max-width 920px
/* MEDIA max-width 640px (mobile version big)
/* MEDIA max-width 440px (mobile version)
  


/* MAIN
========================================*/




/* Блок с галочкой в форме */
/*Клиент по просил убрать, чтоб снова поставить нужно убрать display: none; у .tmpl_cf7_verification_block-2 и вернуть 1fr 1fr для tmpl_cf7_verification_wrapper*/

.tmpl_cf7_verification_block-2 {
display: none;    
}

.none {
display: none;    
}

/*Блок выбора города, по умолчанию убран*/
#your_city {
display: none;  
}

/*При нажатии на эту кнопку появляется popup выбора города*/    
#header_your-city:checked ~ #your_city {
  display: block;
  position: absolute;
}

/*Сделать блок с картой (Школы) на весь экран*/
#map_section {
width: 100vw;    
}

.map_section-div {
height: 480px;
width: 100%;
background-position: center;    
}

#comments {
margin: 30px;    
}

section#tmpl_section-7 > .home_section-7_wrapper > div > div > div > div > div > .wpmtst-testimonial-inner {
padding: 40px;    
}

section#tmpl_section-7 > .home_section-7_wrapper > div > div > div > div > div > .wpmtst-testimonial-inner > div > p {
font-size: 17px;    
}

/*===================*/

main#main > article.page, main#main > article.post {
margin: 30px auto;    
}

#cf7_school_field-wrapper, #cf7_school1, #cf7_school2, #cf7_school3, #cf7_school4, #cf7_school5, #cf7_school6, #cf7_school7, #cf7_school8, #cf7_school9 {
display: none;    
}

#second-email {
visibility: hidden;
position: absolute;   
}

/*#cf7_school1, #cf7_school2, #cf7_school3, #cf7_school4, #cf7_school5, #cf7_school6, #cf7_school7, #cf7_school9 {
z-index: 1;    
}*/

 .other-page_wrapper {
        margin: 20px auto;

    }

h2 > p > strong, h1 > p > strong, h3 > p > strong, h2 > p > span, h1 > p > span, h3 > p > span, h2 > strong, h1 > strong, h2 > span, h1 > span, h3 > strong, h3 > span {
color: #f04f46;  
text-transform: uppercase;  
}

h1, h2, h3 {
text-transform: uppercase;      
}

h3 > p {
margin-bottom: 0;
}

h2 > p {
margin-bottom: 0;
}

h1 > p {
margin-bottom: 0;
}

.your_city_wrapper {    
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 2em;
}

#your_city {
    display: none;  
}

#header_your-city:checked ~ #your_city {
    display: block;
}


/*Pop up Contact Form*/

form > label > span > textarea {
border: solid;    
}

.tmpl_cf7_verification_wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 40px;    
}

.wpcf7 form > p {
    line-height: 1.4;  
    text-align: center;  
}

.wpcf7 form > div {
    line-height: 1.4;  
    text-align: center;  
}

.tmpl_cf7_child_wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;    
}

.wpcf7 form > p > .wpcf7-spinner {
    display: none;    
}

.wpcf7 form > p > .wpcf7-submit {
    width: 80%;
    background: #f04f46;
    color: #fff;
    font-family: Roboto;
    text-transform: uppercase;    
}

.tmpl_pop-up_medium {
    width: 40vw;
    height: auto;    
}

.tmpl_pop-up > div > form > p > label > span {
/*padding: 0.4em;*/
}

.fancybox__container > div > div > div > div > .tmpl_pop-up {
    padding: 21px 32px;    
}

.fancybox__container > div > div > div > div > .tmpl_pop-up > div > form > p > label > span > input {
    border: none;
    border-bottom: solid 2px black;    
    background: #fff;
    padding: 0.4em;
}

.fancybox__container > div > div > div > div > .tmpl_pop-up > div > form > div > label > span > input {
    border: none;
    border-bottom: solid 2px black;    
    background: #fff;
    padding: 0.4em;
}

.fancybox__container > div > div > div > div > .tmpl_pop-up > div > form > div.dropdown > a {
    border: none;
    border-bottom: solid 2px black;    
    background: #fff;
    padding: 0.4em;
    color: #374151;
}

.fancybox__container > div > div > div > div > .tmpl_pop-up > div > form > div.dropdown > div > a {
    border: none;
    border-bottom: solid 2px black;    
    background: #fff;
    padding: 0.4em;
    color: #374151;
}

.fancybox-gallery-wrapper > div > a > img {
    width: 200px;
    height: 150px;
}

#video-page > section > .fancybox-gallery-wrapper > div > a > span {
    position: relative;
    width: 100%;
    height: 100%;

}

#video-page > section > .fancybox-gallery-wrapper > div > a > span:before {
    content: " ";
    display: block;
    width: 84px;
    height: 59px;
    background-image: url(/wp-content/uploads/2022/05/yt_play.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-color: transparent;
    opacity: .9;
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 0 !important;
    margin-left: -144px;
    margin-top: -30px;
    cursor: pointer;
    transform: scale(.85);
}

#video-page > section > .fancybox-gallery-wrapper > div > a:hover span:before {

    background-position: top center;
    
}


h1 {
    font-size: 34px;    
    text-align: center;
}

h2 {
    color: #000;
    font-size: 30px;
    font-weight: 400;
    text-align: center;    
}

h2 > strong {
    font-size: 30px;
    color: #f04f46;
    text-transform: uppercase;
    font-weight: 700;    
}

.h3-red-18 {
    font-size: 18px;
    color: #f04f46;
    font-weight: 500;
}

h3 > strong {
    color: #f04f46;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.a-plus-strelka {
    background: url(/wp-content/uploads/2022/04/strelka.png) no-repeat left center;
    /*color: #f04f46;*/
    padding-left: 30px;
    text-transform: lowercase;    
}

.red-button {
    width: 225px;
    display: inline-block;
    vertical-align: top;
    background: url(/wp-content/uploads/2022/04/header_urok.png) no-repeat;
    font-size: 16px;
    font-weight: 200;
    text-align: center;
    text-transform: uppercase;
    padding-left: 38px;
    padding-top: 12px;
    color: #fff;
    cursor: pointer;
    height: 45px;
    margin: 0 12%;    
}

.application-icon-btn {
 padding-left: 23px;
 padding-top: 8px; 
 margin: 3vw;  
}

.btn-wrapper {
    text-align: center;    
}

.simple-red-button {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    background-color: #f04f46;
    padding: 0.5em 1em;
    border-radius: 3px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);    
}

.simple-red-button-wrapper {
/*width: 206px;*/ 
margin: 0 auto;
/*padding-top: 1vw;
padding-bottom: 1vw;*/
text-align: center;    
}

.shadow-box-style {
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    background-color: #fff;
    border-radius: 10px;    
}

.icon2-text5 {
    display: grid;
    grid-template-columns: 2fr 5fr;
    padding: 7px;    
}

.blue-icon1 {
    background: url(/wp-content/uploads/2022/04/ico1s.png) center / cover no-repeat; 
    width: 72px;
    height: 72px;
    margin: auto;
}

.icon-text_text-wrapper {
    margin-left: 12px;    
}

.icon-text_text-wrapper > p {
    margin-bottom: 0px;    
}

.button-matching {
    width: 225px;
    display: inline-block;
    vertical-align: top;
    background: url(/wp-content/uploads/2022/04/podbor.png) no-repeat;
    font-size: 16px;
    font-weight: 200;
    text-align: center;
    text-transform: uppercase;
    padding-left: 38px;
    padding-top: 7px;
    color: #fff;
    cursor: pointer;
    height: 45px;

}

.pd3vw-center {
    padding: 3vw;
    text-align: center;    
}



/* HEADER
========================================*/

/* TOP HEADER */

/*Кнопка ваш город*/
#header_your-city {
    display: block;
    max-width: max-content;
    font-size: 1em;
    padding: 0.5em 1em;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease-out;
    background-color: #f4f4f4;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    border-radius: 5px;
}

/*Кнопка ваш город*/
#header_your-city:before{
    content: "";
    font-family: "ForkAwesome";
    padding-right: 0.5em;
}

/*Кнопка бесплатный урок*/
#header_red-button {
    width: 225px;
    display: inline-block;
    vertical-align: top;
    background: url(/wp-content/uploads/2022/04/header_urok.png) no-repeat;
    font-size: 16px;
    font-weight: 200;
    text-align: center;
    text-transform: uppercase;
    padding-left: 38px;
    padding-top: 12px;
    padding-bottom: 12px;
    margin-top: 15px;
    color: #fff;
    cursor: pointer;
    height:45px;
}

#header_red-button > span {
    font-weight: 500;
}

/*Текст пунктов меню*/
.menu-text {
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
}

.ast-below-header-wrap > .ast-below-header-bar {
    background:#4c4b4b;
}

.ast-primary-header-bar > .site-primary-header-wrap {
    padding:1rem 0 0;
}


/* HOME
========================================*/

/* Section 1 */

/*Обложка первой секции*/
.home_section-1_wrapper {
    background: url(/wp-content/uploads/2022/04/bg1.jpg) center / cover no-repeat;
    height: 670px;
}

.container-wrapper {
    display: block;
    width: 100%;    
}

/*Обвертка внутреннего блока*/
.home_section-1_inside-wrapper {
    width: 1024px;
    height: 670px;
    display: grid;
    margin: 0 auto;    
}

/*Первый блок - для взрослых*/
.home_section-1_block-1 {
    margin-top: 58px;
    margin-left: 643px;
    margin-right: 172px;
    margin-bottom: 30px;  
    padding-top: 14px;
    padding-left: 18px;  
}

/*Второй блок - для школьников*/
.home_section-1_block-2 {
    margin: -68px 530px 162px 279px;
    padding-top: 14px;
    padding-left: 18px;  
}

/*Третий блок - для детей*/
.home_section-1_block-3 {
    margin: -23px -41px 124px 190px;
    padding-top: 14px;
    padding-left: 18px;  
}

/*Текст*/
.home_section-1_text {
    color: #4c4b4b;
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;  
    margin-bottom: 6px;  
}

/*Выделенный текст*/
.home_section-1_text > span {
    color: #f04f46;
    font-size: 16px;
    font-weight: 500;
}

/*Блок ссылки*/
.home_section-1_readmore {
    margin-bottom: 6px;
}

/*Стиль текста ссылки*/
.home_section-1_readmore > a {
    background: url(/wp-content/uploads/2022/04/strelka.png) no-repeat left center;
    color: #f04f46;
    padding-left: 30px;
    text-transform: lowercase;
}

/* Section 2 */

/*Обложка второй секции*/
.home_section-2_wrapper {
    /*background: url(/wp-content/uploads/2022/04/bg2.jpg) center / cover no-repeat;*/
    height: auto;
}

/*Обвертка внутреннего блока*/
.home_section-2_inside-wrapper {
    width: 91vw;
    height: auto;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 0 auto;    
}

.home_section-2_inside-wrapper > div {
    padding: 33px 15px 15px 30px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    background-color: #fff;
    border-radius: 10px;
    height: auto;
}

/*Текст*/
.home_section-2_text {
    color: #000;
    font-size: 18px;
    font-weight: 300; 
}

/*Выделенный текст*/
.home_section-2_text > span {
    color: #f04f46;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;  
}

.home_section-2_ul {
    margin-left: 10px;    
}

/*Текст строк*/
.home_section-2_ul > li {
    color: #333;
    font-size: 17px;
    font-weight: 300;
    list-style: none;
    padding-top: 21px;
    padding-bottom: 12px;  
    line-height: 1.3;  
}

/*Иконка во второй секции главной страницы 1*/
.home_section-2_ico-1 {
    background: url(/wp-content/uploads/2022/04/ico1.png) no-repeat left center;
    padding-left: 50px;    
}

/*Иконка во второй секции главной страницы 2*/
.home_section-2_ico-2 {
    background: url(/wp-content/uploads/2022/04/ico2.png) no-repeat left center;
    padding-left: 50px;    
}

/*Иконка во второй секции главной страницы 3*/
.home_section-2_ico-3 {
    background: url(/wp-content/uploads/2022/04/ico3.png) no-repeat left center;
    padding-left: 50px;    
}

/*Иконка во второй секции главной страницы 4*/
.home_section-2_ico-4 {
    background: url(/wp-content/uploads/2022/04/ico4.png) no-repeat left center;
    padding-left: 50px;    
}

/*Иконка во второй секции главной страницы 5*/
.home_section-2_ico-5 {
    background: url(/wp-content/uploads/2022/04/ico5.png) no-repeat left center;
    padding-left: 50px;    
}

/*Иконка во второй секции главной страницы 6*/
.home_section-2_ico-6 {
    background: url(/wp-content/uploads/2022/04/ico6.png) no-repeat left center;
    padding-left: 50px;    
}

/*Иконка во второй секции главной страницы 7*/
.home_section-2_ico-7 {
    background: url(/wp-content/uploads/2022/04/ico7.png) no-repeat left center;
    padding-left: 50px;    
}

/*Иконка во второй секции главной страницы 8*/
.home_section-2_ico-8 {
    background: url(/wp-content/uploads/2022/04/ico8.png) no-repeat left center;
    padding-left: 50px;    
}

/*Иконка во второй секции главной страницы 9*/
.home_section-2_ico-9 {
    background: url(/wp-content/uploads/2022/04/ico9.png) no-repeat left center;
    padding-left: 50px;    
}


/* Section 3 */

.home_section-3_inside-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.home_section-3_wrapper > h2 {
    margin-bottom: 4vw;  
}

.home_section-3_h3 {
    color: #f04f46;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Section 5 */

.home_section-5_icon-1_wrapper {
    background: url(/wp-content/uploads/2022/04/section-5-icon-1.jpg) center / cover no-repeat;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.home_section-5_icon-2_wrapper {
    background: url(/wp-content/uploads/2022/04/section-5-icon-2.jpg) center / cover no-repeat;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.home_section-5_icon-3_wrapper {
    background: url(/wp-content/uploads/2022/04/section-5-icon-3.jpg) center / cover no-repeat;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.home_section-5_blocks > .red-button {
    margin-top: 10px;
    margin-bottom: 10px;    
}

.home_section-5_block-2_bottom-picture {
    background: url(/wp-content/uploads/2022/04/section-5-icon-4.jpg) center / cover no-repeat;
}

/* Section 6 */

.container-wrapper > #tmpl_section-6 > .home_section-6_wrapper > article {
    margin: 0 auto;    
}

section#tmpl_section-6 > div > article > header {
    margin-top: 1em; 
    margin-bottom: 0.5em;  
}

section#tmpl_section-6 > div > article > a > header > .entry-title {
    font-size: 1.3rem; 
}

.home_section-6_wrapper > article > img {
    border-radius: 30px;    
}

/* Section 7 */


/* OTHER PAGE
========================================*/

.fancybox-gallery-wrapper {
    margin: 3vw;    
}

.fancybox-gallery-wrapper > div > a > img {
    width: 200px;
    height: 150px;    
}


/*ENGLISH FOR CHILDREN 3*/

.english-for-children-3_section-1 > h1 > p {
margin-bottom: 1px;
}

.english-for-children-3_section-1 > div > h2 > p {
margin-bottom: 1px;
}

.english-for-children-3_section-1_inside > .simple-red-button-wrapper {
margin-top: 1vw;
margin-bottom: 1vw; 
padding-top: 2vw;
padding-bottom: 2vw;   
}

.english-for-children-3_section-1_inside > .simple-red-button-wrapper > .simple-red-button {
margin-top: 1vw;
margin-bottom: 1vw;        
}



/*SCHOOL AND PRICE*/

.scl-a-price-grid-pane {
    display: grid!important;
    grid-template-columns: 1fr 1fr 1fr;    
    margin: 0 4%;
    grid-gap: 30px;
}

#pills-tab {
    border-top: 2px dashed #f47e77;
    border-bottom: 2px dashed #dadada; 
    padding-top: 12px;
    padding-bottom: 12px;   
}

#school-and-price_page > ul > li > button {
    color: #333;
    background-color: transparent;  
    font-size: 16px;  
}

.wrapper-with-shadow-tile {
    background: white;
    width: inherit;
    height: inherit;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    border-radius: 10px;
}

.school-tile {
    padding: 20px;
    font-weight: 400;
}

.school-tile > p > strong {
    color: #333;
    font-weight: 500;
}

#schools_info-block {
background: #d3f0fe;
}

.school-tile > h3 > a, #schools_info-block > h3 {
    background: url(/wp-content/uploads/2022/04/flag.png) no-repeat left center;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    padding-left: 50px;
    color: #f04f46;
    padding-top: 10px;
    padding-bottom: 10px;
}

.school-tile > .school-telephone > a {
    color: #f04f46;
}

.school-tile > .school-email > a {
    color: #f04f46;
}

.pd1prc {
    padding: 0 1%;    
}

.school-readmore {
    text-align: right;
    margin-top: 18px;    
}

.school-readmore > a {
    color: #f04f46;
    background: url(/wp-content/uploads/2022/04/strelka.png) no-repeat left center;
    padding-left: 25px;
}

/* ENGLISH FOR CHILDREN
========================================*/

.eng-child_section-2_col {
    text-align: center;
}

.eng-child_section-2_col > h3 {
    font-size: 1.17em;
    font-weight: bold;
    color: #333;
    line-height: 1.7;
    margin: 10px auto;
}

.eng-child_section-3_inside-grid > figure {
    text-align: center;    
}

.button-matching-wrapper {
    width:225px; 
    margin: 0 auto;    
}

.eng-child_section-4_inside-grid {
    background: url(/wp-content/uploads/2022/04/english-for-children-bg2.jpg) center / cover no-repeat;    
    height: auto;
}

.button-matching-wrapper {
    padding-top: 21px;
    padding-bottom: 60px;    
}

.eng-child_section-5_block-1, .eng-child_section-5_block-2 {
    text-align: center;    
}

.english-for-children-3_section-1_inside > div > div > img {
    border-radius: 10px;
}

.english-for-children-3_section-1_inside > div {
    margin: 10px auto;
}

/* ENGLISH FOR SCHOOLCHILD
========================================*/

.eng-school_section-1 > h2 {
    margin: 3vw;    
}

.eng-school_section-2_tile {
    padding: 10px;
    text-align: center;    
}

.eng-school_section-2_tile > p {
font-size: 18px;    
}

.eng-school_section-3_ul > li {
    list-style: none;
    padding-bottom: 20px;
    font-weight: 300;
    font-size: 18px;
    color: #333;
    background: url(/wp-content/uploads/2022/04/check1.png) no-repeat left 5px;
    padding-left: 30px;    
}

.eng-school_section-3 > h2 {
    margin: 3vw;
}

.eng-school_section-3_inside > div > h3 {
    margin-bottom: 21px;
}

.eng-school_section-3_inside > div > h3 > strong {
    font-size: 24px;
    color: #f04f46;
    font-weight: 700;
    text-transform: uppercase;    
}

.eng-school_section-4_inside > div > ul > li {
    padding-left: 55px;
    padding-bottom: 0px;
    padding-top: 10px; 
    list-style: none;
    line-height: 1.3;
    font-size: 18px;       
}

.eng-school_section-4_inside > div > h3 {
    text-align: center;
}

.eng-school_section-4_li1 {
    background: url(/wp-content/uploads/2022/04/ico1p.png) no-repeat left center;    
}

.eng-school_section-4_li2 {
    background: url(/wp-content/uploads/2022/04/ico2p.png) no-repeat left center;
}

.eng-school_section-4_li3 {
    background: url(/wp-content/uploads/2022/04/ico3p.png) no-repeat left center;
}

.eng-school_section-4_li4 {
    background: url(/wp-content/uploads/2022/04/ico4p.png) no-repeat left center;
}

.eng-school_section-4_li5 {
    background: url(/wp-content/uploads/2022/04/ico5p.png) no-repeat left center;
}

.eng-school_section-4_li6 {
    background: url(/wp-content/uploads/2022/04/ico6p.png) no-repeat left center;
}

.eng-school_section-4_li7 {
    background: url(/wp-content/uploads/2022/04/ico7p.png) no-repeat left center;
}

.eng-school_section-4_li8 {
    background: url(/wp-content/uploads/2022/04/ico8p.png) no-repeat left center;
}

.eng-school_section-4_li9 {
    background: url(/wp-content/uploads/2022/04/ico9p.png) no-repeat left center;
}

.eng-school_section-5_block1_icon-wrapper {
    background: url(/wp-content/uploads/2022/04/section-5-icon-2.jpg) center / cover no-repeat;
    width: 80px;
    height: 80px;
    margin: 0 auto;    
}

.eng-school_section-5_inside > div {
    padding: 10px;    
}

.eng-school_section-5_inside > div > p {
    text-align: center;
    padding-top: 5px;
    font-size: 18px;    
}

.eng-school_section-7_block1 > div > div > p {
    font-size: 18px;
}

.eng-school_section-7_block2 {
    text-align: center;
}

.eng-school_section-7_block2 > p {
margin-bottom: 10px;
}


/* ENGLISH ONLINE
========================================*/

.eng-online_section-1_inside > div > div > img {
    width: 80px;
    height: 80px;    
}

.tmpl_6-tile_img-h3-text > div > div > img {
    width: 80px;
    height: 80px;    
}

.three-round-foto-in-row > .tmpl_6-tile_img-h3-text > div > div > img {
    width: 150px;
    height: 150px;    
}

.eng-online_section-1_inside > div {
    text-align: center;    
}

.tmpl_6-tile_img-h3-text > div {
    text-align: center;    
}


.eng-online_section-1_inside > div > p {
    font-size: 18px;
}

.tmpl_6-tile_img-h3-text > div > p {
    font-size: 18px;
}

.eng-online_section-2 {
    padding-left: 4vw;
    padding-right: 4vw;    
}

.eng-online_section-3_inside > div {
    text-align: center;    
}

.eng-online_section-3_inside > div > p {
    font-size: 18px;
}

#english-online > h1 {
    padding: 4vw;    
}

.eng-online_section-1 > h2 {
    padding: 4vw;        
}

.eng-online_section-3 > h2 {
    padding: 4vw;    
}

.tmpl-video-all-screen {
    width: 100%;
    height: 55vw;    
}

.school-sum-prg_section-1_inside > .simple-red-button-wrapper {
    width: 135px;    
}

#school-sum-prg {
    max-width: 1024px;    
    margin: 20px auto;
}

/* FOTO AND VIDEO GALLERY
========================================*/

#gallery_page > article > .entry-header {
margin-top: 1em;    
}

#gallery-video_page > article > a > .entry-header {
margin-top: 1em;        
}

/* SUMMER PROGRAM FOR SCHOOLCHILD
========================================*/

.school-sum-prg_section-1_inside > .simple-red-button-wrapper {
margin: 2vw auto;    
}

/* ENGLISH ABROAD
========================================*/

.eng-abroad_section-1 > h1 {
margin-bottom: 20px;    
}

#english-abroad > section > h2 {
margin: 2vw auto;    
}

/* FOR COMPANY
========================================*/

.for-company_section-1 > .simple-red-button-wrapper {
margin: 3vw 0;
}

.for-company_section-2 > .simple-red-button-wrapper {
margin-bottom: 3vw;    
}

.for-company_section-1 > h2 {
font-size: 16px;    
}


/* SCHOOLS
========================================*/

.testemonial-section {
margin-top: 60px;
}

.schools_section-1 > h1 {
margin: 3vw auto;    
}

.schools_section-1_inside > .simple-red-button-wrapper {
margin: 0 auto 3vw auto;    
}
    
.alert > h4 {
font-size: 1em;
color: #5e7f96;

}

.schools_section-2 > .alert {
padding: 30px 40px;    
}

.tmpl_alert-info {
background: #d3f0fe;    
}

.tmpl_alert-info > .simple-red-button-wrapper {
margin: 3vw auto 2vw auto;    
}

/* TESTEMONIAL */

.wpmtst-testimonial-inner {
display: grid !important;
  grid-template-columns: repeat(10, 1fr);
  grid-gap: 10px;
  /*grid-auto-rows: 100px;*/
  grid-template-areas:
    "up1 up1 up2 up2 up2 up2 up2 up2 up4 up4"
    "up1 up1 up3 up3 up3 up3 up3 up3 up4 up4"
    "dw dw dw dw dw dw dw dw dw dw"
    "dw dw dw dw dw dw dw dw dw dw";
}


.testimonial-content {
  grid-area: dw;
}

.wpmtst-testimonial-image {
  grid-area: up1;
  width: 75px;
}

.testemonial-rate {
  grid-area: up2;
}

.testimonial-name {
  grid-area: up3;
  margin-top: -10px;
}

.testemonial-data {
  grid-area: up4;
  margin-top: 37px;
}

.wpmtst-testimonial-content {
margin-top: -80px;  
}

.three-round-foto-in-row > h2 {
padding: 4vw;    
}

.lang-flag_wrapper > h2 {
padding: 4vw;        
}

.six-tile_img-h3-text > h2 {
padding: 4vw;            
}

.tmpl_table-wrapper > h2 {
padding: 4vw;                
}

.schools_content-section {
margin-top: 4vw;    
}

.testemonial-section > h2 {
margin-bottom: 6vw;    
}

.tmpl_lang-flag_wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    grid-gap: 1em;
    padding: 1em 1em 3em;
    justify-items: center;
}

.tmpl_table-wrapper > table > tbody > tr > td {
    padding: 8px 0;
} 


/* BLOG
========================================*/

.ast-page-builder-template .entry-header {
margin-top: 1em;
}


/* REVIEWS PAGE (otzyvy)
========================================*/

#otzyvy > div > div > div > form > div > input {
border: solid;
}

#otzyvy > div > div > div > form > div > textarea {
border: solid;
}



/* FOOTER
========================================*/

footer > div > div > .ast-builder-footer-grid-columns {
    grid-column-gap: 12px;    
}

html > body > div#page > footer > div > div > div > div > aside > section > h2 {
    color: #fff;   
    text-align: left; 
} 

html > body > div#page > footer > div > div > div > div > aside > section > nav > ul > li > a {
    color: #fff;   
}

html > body > div#page > footer > div > div > div > div > div > div > div > div > div > a {
    color: #fff;    
}

footer > div > div > div > div > div > div > div > p > .red-button {
    margin: 0 !important;    
}

.footer_envelope, .footer_key {
    text-align: left;    
}

.footer_envelope {
    background: url(/wp-content/uploads/2022/04/envelope.png) no-repeat left center;
    padding-left: 35px;    
}

.footer_key {
    background: url(/wp-content/uploads/2022/04/key.png) no-repeat left center;
    padding-left: 35px;    
}



/* MEDIA min-width 420px (except mobile version)
========================================*/

@media screen and (min-width: 440px) {

.eng-child_section-3_inside-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
    width: 440px;
    margin: 0 auto;
}

.home_section-5_blocks {
    padding: 15px 15px 15px 15px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    background-color: #fff;
    border-radius: 10px;
    height: auto;    
    margin-bottom: 16px;
}


}


/* MEDIA min-width 640px (except mobile version)
========================================*/

@media screen and (min-width: 640px) {

    .tmpl_video-block_wrapper > .tmpl-video-all-screen {
        padding: 58px 30px;    
    }

    .tmpl_grid2-1_min640 {
        display: grid;
        grid-template-columns: 2fr 1fr;
        width: 640px;
        margin: 0 auto;
    }

    .tmpl_grid2_min640 {
        display: grid;
        grid-template-columns: 2fr 1fr;
        width: 640px;
        margin: 0 auto;    
    }

    .tmpl_grid3_min640 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        width: 640px;
        margin: 0 auto;        
    }

    .tmpl_grid2_w1024 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 1024px;
        margin: 0 auto;
        grid-gap: 20px;
    }

    .tmpl_grid2-1_w1024 {
        display: grid;
        grid-template-columns: 2fr 1fr;
        max-width: 1024px;
        margin: 0 auto;
        grid-gap: 20px;
    }

/* ENGLISH FOR CHILDREN min-width 640px */

.eng-child_section-1_inside-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /*width: 720px;*/
    width: 640px;
    margin: 20px auto;
    grid-gap: 36px;
    /*padding: 2px 3%;*/
    padding: 2px 1%;
}

.eng-child_section-2_inside-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 640px;
    margin: 0 auto;
}

.red-border-sides-dashed {
    border-right: 1px dashed #f04f46;
    border-left: 1px dashed #f04f46;    
}

.eng-child_section-5_inside-grid {
    display: grid;
    grid-template-columns: 317px 317px;
    width: 640px;
    grid-gap: 16px;
    margin: 0 auto;
    background-color: grey;    
}

.eng-school_section-8 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 640px;
    height: 240px;
    margin: 0 auto;
    border-top: 1px dashed #f04f46;
    padding-top: 30px;            
}

.eng-school_section-8 > div > h2 {
    margin-top: 50px;    
}


}



/* MEDIA min-width 1025px (except mobile and laptop version)
========================================*/

@media screen and (min-width: 1025px) {

    #gallery_page, #gallery-video_page {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr; 
        grid-gap: 20px;   
    }


    .other-page_wrapper {
        width: 1024px;
        margin: 20px auto;    
    }

    .tmpl-table > table > tbody {
        width: 1024px;
        margin: 0 auto;    
    }

/* Section 2 min-width 1025px */

#tmpl_section-2 {
    background: url(/wp-content/uploads/2022/04/bg2.jpg) center / cover no-repeat; 
    height: 443px;   
}

.home_section-2_inside-wrapper {
    width: 980px;
    height: auto;
    display: grid;
    grid-gap: 60px;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 30px auto;
    padding: 0 60px;
}

.home_section-2_inside-wrapper > div {
    padding: 15px 15px 15px 15px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    background-color: #fff;
    border-radius: 10px;
    height: auto;
}

/*Выделенный текст*/
.home_section-2_text > span {
    font-size: 17px;
}

.home_section-2_ul {
    margin-left: 10px;
    margin-bottom: 0;    
}

.home_section-2_ul > li {
    color: #333;
    font-size: 18px;
    font-weight: 300;
    list-style: none;
    padding-top: 12px;
    padding-bottom: 12px;
    line-height: 1.2;
}


/* Section 3 min-width 1025px */

#tmpl_section-3 {
    background: url(/wp-content/uploads/2022/04/bg3.jpg) center / cover no-repeat;     
}

.home_section-3_inside-wrapper {
    width: 1024px;
    height: 556px;
    margin: 0 auto;
    padding-left: 90px;
}

.home_section-3_inside-wrapper > div {
    height: 300px; 
    position: relative;   
}

.home_section-3_block-2 {
    margin-top: 165px;
    margin-left: 15px;
}

.home_section-3_block-3 {
    margin-left: 30px;
}

.home_section-3_block-4 {
    margin-top: -158px;    
}

.home_section-3_block-5 {
    margin-top: -158px;
    margin-left: 30px;    
}

/* Section 4 min-width 1025px */

#tmpl_section-4 {
    background: url(/wp-content/uploads/2022/04/bg4.jpg) center / cover no-repeat;   
    height: 556px; 
/*margin-bottom: 50px;*/
}

.home_section-4_inside-wrapper {
    width: 1024px;
    height: 556px;
    margin: 30px auto;
    display: grid;
    grid-gap: 30px;
    grid-template-columns: 1fr 1fr;
}

.home_section-4_block-1_img {
    width: 414px;
    margin-bottom: 30px;    
}

.home_section-4_block-1 {
    padding: 25px;    
}

.home_section-4_block-2_img {
    margin-left: 115px;    
}


/* Section 5 min-width 1025px */

#tmpl_section-5 {
    background: url(/wp-content/uploads/2022/04/bg5.jpg) center / cover no-repeat;   
    height: 670px;     
}

.home_section-5_inside-wrapper {
    width: 1024px;
    height: 670px;
    margin: 30px auto 0 auto;
    display: grid;
    grid-gap: 60px;
    grid-template-columns: 1fr 2fr;
}

/*.home_section-5_blocks {
    padding: 15px 15px 15px 15px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    background-color: #fff;
    border-radius: 10px;
    height: auto;    
}*/

.home_section-5_block-2_bottom {
    padding: 15px 15px 15px 15px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    background-color: #fff;
    border-radius: 10px;
    height: 50px;
    width: 100%;
}

.home_section-5_block-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 60px;    
}   

.home_section-5_block-2_bottom {
    display: grid;
    grid-template-columns: 1fr 8fr;
    margin-top: 14px;
}

#tmpl_section-5 {
    padding-top: 140px;
}

.home_section-5_icon-1_wrapper {
    background: url(/wp-content/uploads/2022/04/section-5-icon-1.jpg) center / cover no-repeat;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.home_section-5_icon-2_wrapper {
    background: url(/wp-content/uploads/2022/04/section-5-icon-2.jpg) center / cover no-repeat;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.home_section-5_icon-3_wrapper {
    background: url(/wp-content/uploads/2022/04/section-5-icon-3.jpg) center / cover no-repeat;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.home_section-5_blocks > .red-button {
    margin-top: 10px;
    margin-bottom: 10px;    
}

.home_section-5_block-2_bottom-picture {
    background: url(/wp-content/uploads/2022/04/section-5-icon-4.jpg) center / cover no-repeat;
    width: 40px;
    height: 40px;
    margin-top: -9px;
}

/* Section 6 min-width 1025px */

#tmpl_section-6 {
    background: url(/wp-content/uploads/2022/04/bg6.jpg) center / cover no-repeat;
    height: 502px;
    padding: 30px;
}

#tmpl_section-6 > h2 {
    padding-bottom: 21px;
}

.home_section-6_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;    
    width: 1024px;
    margin: 0 auto;
}


/* Section 7 min-width 1025px */

#tmpl_section-7 {
    background: url(/wp-content/uploads/2022/04/bg7.jpg) center / cover no-repeat;
    height: 393px;    
}

.home_section-7_wrapper {
    width: 1024px;
    margin: 0 auto;
    padding-bottom: 50px;
}

#tmpl_section-7 > div > div > div > .wpmslider-viewport {
padding-top: 32px;
}

#tmpl_section-7 > div > div > div > .wpmslider-controls {
padding: 0;    
}

#tmpl_section-7 > div > div > div > div > .wpmslider-controls {
padding: 0;    
}

/* SCHOOL ADN PRICE min-width 1025px */

#school-and-price_page {
    width: 1024px;
    margin: 0 auto;    
}

/* ENGLISH FOR CHILDREN min-width 1025px */

/* ENGLISH FOR CHILDREN Section 1 min-width 1025px */

.eng-child_section-1 > h2 {
    margin: 20px auto;    
}

.eng-child_section-1 {
    background: url(/wp-content/uploads/2022/04/english-for-children-topbg.jpg) center / cover no-repeat;
    height: 600px;    
}


/* ENGLISH FOR CHILDREN Section 2 min-width 1025px */

.eng-child_section-2 {
    background: url(/wp-content/uploads/2022/04/english-for-children-bg1.jpg) center / cover no-repeat;
    height: auto;    
}

.eng-child_section-2_inside-grid {
    width: 1024px;    
}

.eng-child_section-2_col {
    display: grid;
    grid-template-columns: 1fr;
}

.eng-child_section-img {
    text-align: center;
    padding-bottom: 50px;
    padding-top: 112px;
}

.eng-child_section-2_col-img {
    text-align: center;    
}

/* ENGLISH FOR CHILDREN Section 3 min-width 1025px */

.eng-child_section-3_inside-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 30px;
    width: 920px;
    margin: 0 auto;    
}

/* ENGLISH FOR CHILDREN Section 4 min-width 1025px */

.eng-child_section-4_inside-grid {
    background: url(/wp-content/uploads/2022/04/english-for-children-bg2.jpg) center / cover no-repeat;    
    height: auto;
}

.eng-child_section-4_inside-grid > h2 {
    padding-top: 143px;
    padding-bottom: 10px;    
}

.button-matching-wrapper {
    padding-top: 21px;
    padding-bottom: 60px;    
}

.eng-child_section-5 > h2 {
    padding-top: 21px;
    padding-bottom: 21px;    
}

/* ENGLISH FOR CHILDREN Section 6 min-width 1025px */

.eng-child_section-6 {
    background: url(/wp-content/uploads/2022/04/bg3-1.jpg) center no-repeat;
    height: auto;        
}

.eng-child_section-6_inside {
    width: 1024px;
    margin: 0 auto;    
}

.eng-child_section-6_inside > div > div > div > div > .wpmtst-testimonial > .wpmtst-testimonial-inner > .wpmtst-testimonial-content > p {
    font-size: 19px;    
}

.eng-child_section-6 > h2 {
    padding-top: 68px;    
}

.eng-child_section-6_inside > div > .wpmslider-wrapper {
    padding-bottom: 21px;    
}

/* ENGLISH FOR CHILDREN Section 7 min-width 1025px */

.eng-child_section-7 > .home_section-5_wrapper {
    padding-top: 30px;    
}

.eng-child_section-7 > .home_section-5_wrapper > .home_section-5_inside-wrapper {
    height: auto;
    padding-bottom: 30px;   
}


/* ENGLISH FOR SCHOOLCHILD min-width 1025px */

.eng-school_section-1 {
    margin-bottom: -30px;    
}

.eng-school_section-1_inside {
    width: 1024px;
    margin: 0 auto;
    padding: 2%;
}

.eng-school_section-2 {
    background: url(/wp-content/uploads/2022/04/bg1-1.jpg) center / cover no-repeat;  
    height: 400px;
    padding-top: 100px;
}

.eng-school_section-2_inside {
    margin: 40px auto;    
}

.eng-school_section-2 > h2 {
    margin: 2vw;    
}

.eng-school_section-2_inside {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 920px;
    margin: 40px auto 0 auto;
    grid-gap: 20px;  
}

.eng-school_section-3_inside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 1024px;
    margin: 0 auto -60px auto;    
}

.eng-school_section-4 {
    background: url(/wp-content/uploads/2022/04/bg2-1.jpg) center no-repeat;    
    height: 750px;
}

.eng-school_section-4 > h2 {
    padding-top: 100px;
    padding-bottom: 35px;    
}

.eng-school_section-4_inside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
    width: 970px;
    margin: 0 auto;
/*padding-top: 140px;*/    
}

.eng-school_section-5_inside {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;    
    grid-gap: 30px;
    width: 1024px;
    margin: 0 auto;
}

.eng-school_section-6 {
    background: url(/wp-content/uploads/2022/04/bg3-1-1.jpg) center / cover;    
    height: 545px;
}

.eng-school_section-6_inside {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;    
    grid-gap: 30px;
    width: 1024px;
    margin: 0 auto;    
}

.eng-school_section-6_block1 {
    margin: 110px 0px 0px 52px;    
}

.eng-school_section-6_block2 {
    margin: 147px 0px 0px -9px;
}

.eng-school_section-6_block3 {
    margin: 130px 0px 1px 21px;
}

.eng-school_section-6_block4 {
    margin: 163px 0px 1px 60px; 
}

.eng-school_section-7_inside {
    display: grid;
    grid-template-columns: 8fr 3fr;    
    grid-gap: 30px;
    width: 1024px;
    margin: 0 auto;        
}

.eng-school_section-7_block1_icon-wrapper-1 {
    background: url(/wp-content/uploads/2022/04/section-5-icon-2.jpg) center / cover no-repeat;
    width: 80px;
    height: 80px;
    margin: 13px auto 0 auto;
}

.eng-school_section-7_block1_icon-wrapper-2 {
    background: url(/wp-content/uploads/2022/04/section-5-icon-2.jpg) center / cover no-repeat;
    width: 80px;
    height: 80px;
    margin: 13px auto 0 auto;
}

.eng-school_section-7_block1_icon-wrapper-3 {
    background: url(/wp-content/uploads/2022/04/section-5-icon-2.jpg) center / cover no-repeat;
    width: 80px;
    height: 80px;
    margin: 13px auto 0 auto;
}

.eng-school_section-7_block1_icon-wrapper-4 {
    background: url(/wp-content/uploads/2022/04/section-5-icon-2.jpg) center / cover no-repeat;
    width: 80px;
    height: 80px;
    margin: 13px auto 0 auto;
}

.eng-school_section-7_block1 > div {
    display: grid;
    grid-template-columns: 1fr 6fr;    
}

.eng-school_section-6 > h2 {
    padding-top: 164px;   
}

.eng-school_section-7_block2 {
margin-top: -10px;    
}


/* ENGLISH ONLINE min-width 1025px */

.eng-online_section-1_inside {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
    width: 1024px;
    margin: 0 auto;    
}

.tmpl_6-tile_img-h3-text {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
    width: 1024px;
    margin: 0 auto;    
}

.eng-online_section-2 {
    width: 1024px;
    margin: 0 auto;    
}

.eng-online_section-3_inside {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
    width: 1024px;
    margin: 0 auto;    
}

.eng-online_section-3_inside > div {
    display: grid;
    grid-template-columns: 3fr 4fr;
    grid-gap: 20px;    
}


/* ENGLISH ABROAD min-width 1025px */

#english-abroad {
    width: 1024px;
    margin: 20px auto;    
}

.eng-school_abroad-1_inside {
    display: grid;
    grid-template-columns: 3fr 1fr;    
}

/* SCHOOLS min-width 1025px */

#schools_slider > div > div > .carousel-item {
height: 250px;    
}

.tmpl_grid2_w920 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 920px;
        margin: 0 auto;
        grid-gap: 20px;
    }

#schools_info-block {
margin-left: 72px;    
}  

.tmpl-video-all-screen {
height: 27vw;    
}


/* NEWS min-width 1025px */

#post-news {
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 24px;
width: 1024px;
margin: 0 auto;    
}

#post-news > article {
width: 500px;
text-align: center;    
}

#post-news > article > .entry-content {
text-align: left;
padding: 0 20px;
}

#post-news > article > header.entry-header {
margin: 1em;    
}

}


/* MEDIA max-width 1025px (mobile and laptop version)
========================================*/

@media screen and (max-width: 1025px) {

/* MAIN max-width 1025px */

 .other-page_wrapper {
        margin: 20px auto;
        padding: 0 3%;    
    }

.tmpl-table > table > tbody {
    width: 100%;
    padding: 0 2%;    
}

#school-sum-prg {
    padding: 0 2%;    
}

.only-pc {
    display: none;    
}

/*Обложка первой секции*/
.home_section-1_wrapper {
    margin-top: 5vw; 
}

header#masthead {
 background: url(/wp-content/uploads/2022/04/bg-1-transperent.jpg);
 background-size: cover;
 background-repeat: no-repeat;    
}

/*Сделать прозрачным верхний header чтоб был виден нужный фон*/
#ast-desktop-header > .ast-above-header-wrap > .ast-above-header-bar {
    background-color: transparent;        
}

#ast-desktop-header > .ast-main-header-wrap > .ast-primary-header-bar {
    background-color: transparent;        
}

/* HOME max-width 1025px */

/* Section 1 max-width 1025px */

/*Обложка первой секции*/
.home_section-1_wrapper {
    background: transparent;
    height: auto;
}

.container-wrapper {
    display: block;
    width: 100%;    
}

/*Обвертка внутреннего блока*/
.home_section-1_inside-wrapper {
    width: 91vw;
    height: auto;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 0 auto;    
}

.home_section-1_inside-wrapper > div {
    padding: 24px 15px 15px 21px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    background-color: #f2f2f2;
    border-radius: 10px;
    height: 160px;
}

/*Первый блок - для взрослых*/
.home_section-1_block-1 {  
    margin: 0;
    padding-top: 14px;
    padding-left: 18px;  
}

/*Второй блок - для школьников*/
.home_section-1_block-2 {
    margin: 0;
    padding-top: 14px;
    padding-left: 18px;  
}

/*Третий блок - для детей*/
.home_section-1_block-3 {
    margin: 0;
    padding-top: 14px;
    padding-left: 18px;  
}

/* Section 2 max-width 1025px */

/*Обложка первой секции*/
.home_section-2_wrapper {
    background: transparent;
    height: auto;
}

.home_section-3_inside-wrapper {
    margin: 4vw;
    grid-gap: 21px;
}

/* Section 3 max-width 1025px */

#tmpl_section-3 {
    margin-top: 5vw;    
}

/* Section 4 max-width 1025px */

#tmpl_section-4 {
padding: 0 3%;
}

/* Section 5 max-width 1025px */

#tmpl_section-5 {
padding: 0 3%;    
}


/* Section 6 max-width 1025px */

.home_section-6_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    margin: 0 4%;   
}

#tmpl_section-6 > h2 {
    padding-bottom: 21px;
}

.eng-school_section-1_inside {
    width: 100%;
/*margin: 0 auto;*/
padding: 3%;
}

.eng-school_section-2_inside {
    display: grid;
    grid-template-columns: 1fr;
    width: 320px;
    margin: 40px auto 0 auto;
    grid-gap: 20px;
}

.eng-school_section-3_inside > div > h3 {
    text-align: center;
}

.eng-school_section-5_inside {
    display: grid;
    grid-template-columns: 1fr;
    width: 320px;
    margin: 0 auto 30px auto;
    grid-gap: 20px;    
}

.eng-school_section-6_inside {
    display: grid;
    grid-template-columns: 1fr;    
    grid-gap: 0px;
    width: 240px;
    margin: 0 auto;    
}

.eng-school_section-6_inside > div {
    width: 240px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    border-radius: 10px;
    margin: 12px auto;
    padding: 12px;
    text-align: center;    
}

.eng-school_section-7_block1 > div {
    width: 520px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    border-radius: 10px;
    margin: 21px auto;
    padding: 12px;
    text-align: center;    
}

.eng-school_section-7_block2 {
    width: 320px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    border-radius: 10px;
    margin: 21px auto;
    padding: 12px;
    text-align: center;    
}

/* ENGLISH FOR CHILDREN */

.eng-child_section-7 {
width: 90vw;
margin: 0 auto;    
}

.eng-child_section-img {
text-align: center;    
}

/* SCHOOLS max-width 1025px */

.tmpl_grid2_w920 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
    margin: 0 auto;
    grid-gap: 20px;
}

/*#map_section > a {
background: url();

}*/

/*#map_section > a > img {
visibility: hidden;
background: transparent;
 
       
}*/

/* NEWS max-width 1025px */

#post-news {
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 20px;
width: 640px;
margin: 0 auto;    
}

#post-news > article {
width: 310px;
text-align: center;    
}

#post-news > article > .entry-content {
text-align: left;
padding: 0 10px;
}

#post-news > article > header.entry-header {
margin: 0.5em;    
}

}


/* MEDIA max-width 920px
========================================*/

@media screen and (max-width: 920px) {

/*===============*/

header > #ast-mobile-header {
display: grid !important;
  grid-template-columns: 1fr;
  /*grid-gap: 10px;*/
  /*grid-auto-rows: 100px;*/
  grid-template-areas:
    "mh1"
    "mh2"
    "mh3";
}

header > #ast-mobile-header > .ast-above-header-wrap {
  grid-area: mh1;
}

header > #ast-mobile-header > #header_div-for-background {
  grid-area: mh3;
}

header > #ast-mobile-header > .ast-mobile-header-content {
  grid-area: mh2;
}

/*=====*/

/*Обеспечение эфекта в мобильном меню чтоб при нажатии не было перехода, а чтоб раскрывалось под меню - для первого уровня меню*/
#ast-mobile-header > div > div > div > div > nav > div > ul > li > button > span > svg {
width: 100vw;
color: transparent;
}

/*Обеспечение эфекта в мобильном меню чтоб при нажатии не было перехода, а чтоб раскрывалось под меню - для второго уровня меню*/
#ast-mobile-header > div > div > div > div > nav > div > ul > li > ul > li > button > span > svg {
width: 100vw;
color: transparent;
}

/*Обеспечение эфекта в мобильном меню чтоб при нажатии не было перехода, а чтоб раскрывалось под меню - для третьего уровня меню*/
#ast-mobile-header > div > div > div > div > nav > div > ul > li > ul > li > ul > li > button > span > svg {
width: 100vw;
color: transparent;
}

#display_phone-number {
display: block!important;    
}

.display_phone-number2 > a {
color: #fff;    
}

    .tmpl-table {
        width: 100%;
    }

    .tmpl-table > table {
        width: 100%;
    }


/*Фон картинка в хедере*/
#header_div-for-background {
 background: url(/wp-content/uploads/2022/04/bg-1-transperent.jpg);
 background-size: cover;
 background-repeat: no-repeat;
}

/*Сделать прозрачным центральный header чтоб был виден нужный фон*/
#ast-mobile-header > #header_div-for-background > .ast-main-header-wrap > .ast-primary-header-bar {
    background-color: transparent;    
}

/*Сделать прозрачным нижний header чтоб был виден нужный фон*/
#ast-mobile-header > #header_div-for-background > .ast-below-header-wrap > .ast-below-header-bar {
    background-color: transparent;    
}


#header_div-for-background > .ast-main-header-wrap > .ast-primary-header-bar {
    border-bottom: none;    
}

#ast-mobile-site-navigation > .main-navigation > #ast-hf-mobile-menu {
    background-color: #4c4b4b;    
}

ul#ast-hf-mobile-menu > li.menu-item > .menu-link {
    color: #fff; 
    text-align: center;   
}

ul#ast-hf-mobile-menu > li.menu-item > .ast-menu-toggle {
    color: #fff;    
}

ul#ast-hf-mobile-menu > .menu-item > ul.sub-menu {
    background-color: #4c4b4b;
}

ul#ast-hf-mobile-menu > .menu-item > ul.sub-menu > li.menu-item > .menu-link > .menu-text {
    color: #fff;
}

ul#ast-hf-mobile-menu > .menu-item > ul.sub-menu > li.menu-item > .menu-link {
    text-align: center;  
}

ul#ast-hf-mobile-menu > .menu-item > ul.sub-menu > li.menu-item > .menu-link > .ast-icon {
    color: #fff;    
}

/* Section 2 max-width 920px */

/*Обвертка внутреннего блока*/
.home_section-2_inside-wrapper {
    width: 91vw;
    height: auto;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;    
}

.home_section-2_inside-wrapper > div {
    padding: 33px 15px 15px 30px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    background-color: #f2f2f2;
    border-radius: 10px;
    height: auto;
}

.testemonial-data {
display: none;    
}

/*FOOTER*/

footer > div > div > div > div > aside > section > nav > ul > li {
text-align: left;
}

.site-footer-primary-section-4 {
margin-left: 20px;    
}



}


/* MEDIA (max-width: 920px) and (min-width: 480px)
========================================*/

@media (max-width: 920px) and (min-width: 480px) {

.testemonial-rate {
text-align: right;
margin-right: -21px;
}

.testimonial-name {
text-align: right;
margin-right: -21px; 
}

}


/* MEDIA (max-width: 920px) and (min-width: 540px)
========================================*/

@media (max-width: 920px) and (min-width: 540px) {

#page > footer > div > div > .ast-builder-footer-grid-columns {
display: grid;
grid-template-columns: repeat( 3,1fr );
}

.tmpl_6-tile_img-h3-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
    width: 100%;
    margin: 0 auto;    
}

}

/* MEDIA (max-width: 920px) and (min-width: 640px)
========================================*/

@media (max-width: 920px) and (min-width: 640px) {

/*Убрать лишний блок*/
.site-header-below-section-left {
    display: none;    
}

.ast-below-header-bar > .ast-builder-grid-row > .site-header-below-section-right {
    position: absolute;
    right: 13%;
}

.ast-below-header-wrap > .ast-below-header-bar > .ast-builder-grid-row > .site-header-below-section-center {
    margin-top: -30px;    
}

.site-header-below-section-right > .ast-builder-layout-element {
    margin-top: -16px;    
}

.ast-primary-header-bar > .ast-builder-grid-row > .site-header-primary-section-left > .ast-builder-layout-element {
    position: absolute;
    top: 10px;
}

}


/* MEDIA max-width 720px
========================================*/

@media screen and (max-width: 740px) {

/* Страница школы и цены */
.scl-a-price-grid-pane {
    grid-template-columns: 1fr 1fr;    
}

}



/* MEDIA max-width 640px (mobile version big)
========================================*/

@media screen and (max-width: 640px) {

/* MAIN */

.fancybox__container > div > div > div > div > .tmpl_pop-up {
padding: 21px 15px;    
}

#english-online_application-nmb1 {
width: 90%;
padding: 5px;    
}

.pop-up-form {
width: 90%;
padding: 5px;        
}

.tmpl_table-wrapper {
overflow: auto;
    width: 440px;
    margin: 0 auto;    
}

.your_city_wrapper {    
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1em;
    margin: -20px;
}

h2 {
    color: #000;
    font-size: 28px;
    font-weight: 400;
    text-align: center;    
}

h2 > strong {
    font-size: 28px;
    color: #f04f46;
    text-transform: uppercase;
    font-weight: 700;    
}

/* HEADER */

/*Фон картинка в хедере*/
#header_div-for-background {
 background: url(/wp-content/uploads/2022/04/bg-1-transperent.jpg);
 background-size: cover;
 background-position: center;
 background-repeat: no-repeat;
}

/*Размещение вертикально в линию - красной кнопки и иконок соц сетей*/ 
#ast-mobile-header > #header_div-for-background > .ast-below-header-wrap > .ast-below-header-bar > .ast-builder-grid-row {
    grid-template-columns: 1fr;    
}

/*Размещение вертикально в линию - красной кнопки и иконок соц сетей*/
#ast-mobile-header > #header_div-for-background > .ast-below-header-wrap > .ast-below-header-bar > .ast-builder-grid-row > .site-header-below-section-right {
    margin: 12px auto;
}

#ast-mobile-header > #header_div-for-background > .ast-main-header-wrap > .ast-primary-header-bar > .ast-builder-grid-row {
    grid-template-columns: 1fr;        
}

#header_your-city {
    margin-top: 12px;    
}

/* HOME max-width 640px */

/* Section 1 max-width 640px */

/*Обвертка внутреннего блока*/
.home_section-1_inside-wrapper {
    width: 91vw;
    height: auto;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;    
}

/* Section 2 max-width 640px */

/*Обвертка внутреннего блока*/
.home_section-2_inside-wrapper {
    grid-template-columns: 1fr;
}

/* Section 3 max-width 640px */

.home_section-3_inside-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Section 6 max-width 640px */

.home_section-6_wrapper {
    display: grid;
    grid-template-columns: 1fr;    
}

/* children max-width 640px */

.eng-child_section-1_inside-grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 280px;
    margin: 20px auto;
    grid-gap: 36px;
    padding: 0px;
}

.eng-child_section-7 {
    margin: 0 5%;    
}

.eng-child_section-img {
    margin: 0 5%;    
}

.eng-school_section-3_ul_wrapper {
    width: 320px;
    margin: 0 auto;    
}

.eng-school_section-7_block1 > div {
    width: 320px;
    margin: 21 auto;
}

/* SCHOOLS */

.tmpl_grid2_w920 {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 290px;
    margin: 0 auto;
    grid-gap: 20px;
}

/* NEWS */

#post-news {
display: grid;
grid-template-columns: 1fr;
grid-gap: 20px;
width: 100%;
margin: 0 auto;
padding: 10px;    
}

#post-news > article {
width: 100%;
text-align: center;    
}

/*other*/

.for-company_section-1 > .simple-red-button-wrapper {
margin: 21px 0;    
}

#english-online > section > .simple-red-button-wrapper {
margin-bottom: 15px;    
}

#english-online > section > h2 {
font-size: 16px;    
}

/* FOOTER */

.ast-builder-footer-grid-columns > div {
margin-left: 20px;    
}

}


/* MEDIA max-width 440px (mobile version)
========================================*/

@media screen and (max-width: 440px) {

    .tmpl-table > table > tbody > tr > td {
        padding: 2px;    
    }

.tmpl_table-wrapper {
overflow: auto;
    width: 280px;
    margin: 0 auto;    
}


/* HOME max-width 440px */

/* Section 1 */

/*Обвертка внутреннего блока*/
.home_section-1_inside-wrapper {
    width: 91vw;
    height: auto;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr;
    margin: 0 auto;    
}

/* Section 3 */

.home_section-3_inside-wrapper {
    display: grid;
    grid-template-columns: 1fr;
}

/* Страница школы и цены */
.scl-a-price-grid-pane {
    grid-template-columns: 1fr; 
    margin: 0 10%;   
}

.testemonial-rate {
text-align: center;
}

.testimonial-name {
text-align: center; 
}

.eng-child_section-3_inside-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
    width: 300px;
    margin: 0 auto;
}

}


