.page.main .sidebar {
  width: 35%;
}
.page.main .content {
  width: 65%;
}
.sidebar__close-m {
  display: none;
}
.table__wrapper {
  width: 100%;
  max-width: 100%;
  overflow: scroll;
}
h3.block-header {
  height: auto;
}
h3.block-header:after {
  top: 100%;
  left: 15%;
}
@media screen and (max-width: 1200px) {
  .sticky-footer__btn-block {
    justify-self: center;
    margin: 0 auto;
  }
}
@media screen and (max-width: 1024px) {
  .main-nav__list {
    overflow: scroll;
  }
  #vk_groups  {
    display: none;
  }
}
@media screen and (max-width: 991px) {
  html.is-disabled {
    position: fixed;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }
  .header__top {
    padding: 15px 0;
    flex-wrap: wrap;
  }
  .header .support__contacts {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .header .support__contacts {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .header .support__phone {
    margin-bottom: 10px;
  }
  .header__shool {
    max-width: 67%;
  }
  .header__support {
    max-width: 33%;
  }
  .page .content .article {
    margin: 0;
    padding: 10px 0;
  }
  .page .content .page-slider {
    margin-top: 20px;
  }
  .pop-up.request-popup {
    max-width: calc(100% - 30px);
  }
  .sticky-footer__wrapper {
    padding: 0 15px;
  }
  .header__m-menu.m-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7.5px 15px;
    background-color: #4894ca;
    color: #ffffff;
    margin: 0;
    width: 100%;
  }
  .page {
    padding: 16px 0px 0;
  }
  .page .header__m-menu.m-menu {
    margin: 0;
    width: 100%;
    padding: 10px 15px;
  }
  .m-menu__title {
    font-size: 14px;
    line-height: 1;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
  } 
  .m-menu__btn {
    width: 20px;
    height: 20px;
    background-color: transparent;
    font-size: 0;
    line-height: 0;
    color: transparent;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 32 32%22%3E%3Cpath fill=%22%23FFF%22 d=%22M0 5h32v2H0zM0 15h32v2H0zM0 25h32v2H0z%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    padding: 0;
    border: none;
    box-shadow: none;
    outline: none;
  }
  .m-menu__btn:active,
  .m-menu__btn:focus,
  .m-menu__btn.hover {
    background-color: transparent!important;
    border: none;
    box-shadow: none;
    outline: none;
  }
  .m-menu__btn.active {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 24 24%22%3E%3Cpath fill=%22%23FFF%22 d=%22M12.021 10.607L1.393-.021-.021 1.393l10.628 10.628L0 22.627l1.414 1.415 10.607-10.607 10.586 10.586 1.414-1.414-10.586-10.586L24.042 1.414 22.627 0z%22/%3E%3C/svg%3E");
  }
  .main-nav {
    position: absolute;
    display: none;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 690px;
    height: 100%;
    width: 100%;
    margin-top: 0;
    background-color: #EFEFEF;
    z-index: 1200;
  }
  .main-nav.active {
    display: block;
  }
  .main-nav__item:hover .submenu, .main-nav__item:focus .submenu {
    position: static;
  }
  .main-nav__list {
    flex-direction: column;
    height: calc(100% - 40px); 
    overflow: scroll;
    padding: 5px 0 20px;
  }
  .main-nav__item {
    width: 100%;
    background-color: #fff;
  }
  .main-nav__item:hover {
    background-color: #fff;
  }
  .main-nav__item a.main-nav__item-link {
    font-size: 16px;
    padding: 12px 20px;
    line-height: 1;
    text-align: left;
    display: inline-block;
  }
  .main-nav__item:hover a.main-nav__item-link {
    color: #3a363a;
  }
  .main-nav__item .submenu {
    display: block;
    padding: 16px 0px;
    background-color: rgba(90, 86, 90, 0.95);
    list-style: none;
  }
  .main-nav__item:hover .submenu,
  .main-nav__item:focus .submenu {
    position: static;
  }
  .about_page {
    padding-top: 0;
  }
  .page {
    padding-top: 0;
  }
  p.sticky-footer__text {
    display: none;
  }
  .page .sidebar,
  .page.main .sidebar {
    position: absolute;
    display: none;
    width: 100vw;
    height: 100%;
    max-width: 100vw;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background-color: #fff;
    overflow: scroll;
  }
  .page .sidebar.active,
  .page.main .sidebar.active {
    display: block;
  }
  .sidebar__out-block {
    position: relative;
  }
  .sidebar__close-m {
    width: 20px;
    height: 20px;
    background-color: transparent!important;
    font-size: 0;
    line-height: 0;
    color: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    outline: none;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 24 24%22%3E%3Cpath fill=%22%23FFF%22 d=%22M12.021 10.607L1.393-.021-.021 1.393l10.628 10.628L0 22.627l1.414 1.415 10.607-10.607 10.586 10.586 1.414-1.414-10.586-10.586L24.042 1.414 22.627 0z%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 12px;
    right: 15px;
    display: block;
    z-index: 1;
  }
  .sidebar__close-m:active,
  .sidebar__close-m:focus,
  .sidebar__close-m:hover {
    background-color: transparent!important;
    border: none;
    box-shadow: none;
    outline: none;
  }
  .page .sidebar__tabs .sb-tab__nav {
    justify-content: flex-start;
  }
  .page .sidebar__tabs .sb-tab__nav-item {
    margin: 0 3px;
  }
  .page .sidebar__tabs .sb-tab__nav-item:first-child {
    margin-left: 0;
  } 
  .page.main .content {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .page.main .content .article {
    padding: 10px 0 20px;
  }
  #custom_html-3 {
    display: none;
  }
  .footer__menu-list {
    flex-wrap: wrap;
  }
  .footer__menu-item {
    margin-bottom: 5px;
  }
  .footer__menu-item:last-child {
    margin-bottom: 5px;
  }
  .main__nav-item {
    font-size: 16px;
  }
  .header .header-search {
    display: none;
  }
  .header .header__top .header-search {
    display: block;
  }
}
@media screen and (min-width: 992px) {
  .header__m-menu.m-menu {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  body {
    background-image: none;
    background-color: #EFEFEF;
  }

  .container {
    max-width: 100%!important;
    overflow: hidden;
  }
  
  .breadcrumbs {
    padding-left: 0;
    padding-right: 0;
  }
  .breadcrumbs__item {
    padding-right: 8px;
  }
  .breadcrumbs__item::after {
    padding-left: 8px;
  }
  .header .header-search__field {
    height: 29px;
  }
  
  .header__top {
    padding: 16px 0 14px;
    flex-wrap: wrap;
  }
  .header__wrapper {
    background-color: #EFEFEF;
  }
  .about_page {
    padding: 0;
  }
  .support__call-back a.grey-btn {
    padding: 11px 12px;
    display: inline-block;
  }
  .main__nav-item {
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .main__nav a.main__nev-link {
    padding: 10px 0;
  }
  .page {
    padding: 20px 15px 20px;
    margin: 0 -15px;
    width: 100vw;
  }
  .page__wrapper {
    padding: 0;
    background-color: transparent;
  }
  .page .content .page-slider__item {
    margin: 0 5px;
  }
  .page-slider .slick-dots {
    padding-top: 15px;
  }
  .slick-dots li {
    width: 6px;
    height: 6px;
    margin-right: 7px;
  }  
  .page .content .page-slider {
    padding: 0 0 20px;
  }
  .footer__menu-list {
    flex-direction: column;
  }
  .footer__menu-item {
    margin-bottom: 10px;
  }
  .footer__menu-item:last-child {
    margin: 0;
  }
  .pop-up.request-popup {
    max-width: calc(100% - 30px);
    padding: 15px 15px 15px;
  }
  #callback-popup h1 {
    font-size: 24px;
    margin-top: 0;
  }
  .pop-up fieldset {
    padding: 15px 10px 15px;
    margin-bottom: 20px;
  }
  #callback-popup .request-popup__btn {
    font-size: 16px;
  }
  .content h2,
  h2 > a {
    font-size: 20px;
    line-height: 1.15;
  }
  .content h1 {
    font-size: 28px;
    line-height: 1.15;
    margin-top: 10px;
    margin-bottom: 20px;
  }
  .about.content {
    padding-right: 0;
  }
  .content p,
  .content__text-block ul li {
    font-size: 14px !important;
  }
  .content h2, h2 > a {
    font-size: 18px;
  }
  .study__item-block {
    flex-direction: column;
  }
  .page .content .article {
    align-items: flex-start;
  }
  h3.block-header {
    padding-left: 10px;
    font-size: 20px;
    height: auto;
    margin: 10px 0 10px !important;
  }
  h3.block-header:after {
    top: 100%;
    left: 15%;
  }
  
  .header {
    margin-bottom: 0;
  }
  .content .article__title-block h2 {
    text-align: left;
  }
  .article__title-block h4 {
    text-align: left;
  }
  .gallery-single__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-single__item {
    width: 100%;
    height: auto;
    margin: 0;
  }
  .gallery-single__item img {
    width: 100%;
  } 
  .pagination__item a {
    width: 32px;
    font-size: 14px;
  }
  blockquote {
    quotes: none;
  }
  .page .header__m-menu.m-menu {
    margin: 0 -15px;
    width: 100vw;
  }
  .header__m-menu.m-menu {
    margin: 0 -15px;
    width: 100vw;
  }
}
@media screen and (max-width: 543px) {
 .header__top {
   flex-direction: column;
 }
 .header__shool {
   max-width: 100%;
   margin-bottom: 5px;
 }
 .header .support {
   max-width: 100%;
 }
 .header .support__contacts {
    justify-content: space-between;
    width: 100%;
 }
 .header .support__phone {
   text-align: left;
 }
 .support__call-back a.grey-btn {
  padding: 5px 5px;
  font-size: 12px;
 }
 .sticky-footer .btn-subscribe.btn-green {
   margin-left: 0;
 }
 .sticky-footer {
   padding: 15px 0;
 }
 .spb_bottomform_block .study-info .btn.-price,
 .sticky-footer .btn-subscribe {
   margin-bottom: 5px;
   font-size: 12px;
 }
 .sticky-footer .btn-subscribe:last-child {
   margin-bottom: 0;
 }
 .gallery__list {
   flex-direction: column;
 }
 .gallery__item {
   width: 100%;
 }
  .gallery__item-image {
    margin-right: 10px;
  }
  .gallery__item-info h3 a {
    font-size: 17px;
  }
  .gallery__item-info p.gallery__item-date {
    font-size: 10px;
  }
}
@media screen and (max-width: 500px) {
  .header .top-nav {
    height: auto;
    justify-content: flex-start;
    padding-top: 1px;
    margin-left: 5px;
  }
  .header .top-nav__item {
    display: flex;
  }
  .header .top-nav__link {
    text-align: left;
    font-size: 10px;
    padding: 4px 10px;
  }
  .main__nav a.main__nev-link {
    font-size: 14px;
  }
  .header .header-search__form {
    margin-top: 0;
  }
  .gallery-single__nav-link {
    font-size: 0;
  }
  .page__title.gallery__title {
    font-size: 28px;
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 400px) {
  .header .support__contacts  {
    align-items: flex-start;
    padding-top: 10px;
  }
  .header .support__phone {
    max-width: 50%;
  }
  .header .support__phone-link {
    font-size: 16px;
  }
  .header .support__call-back {
    padding-top: 4px;
  }
  
  .header__logo {
    margin: 0;
  }
  .header__logo-img {
    width: 100%;
  }
  
  .header .header-search__form {
    margin-top: 0;
  }
  .main__nav-list {
    flex-direction: column;
  }
  .main__nav-item {
    width: 100%;
    margin-bottom: 8px;
  }
  .main__nav-item:last-of-type {
    margin-bottom: 0;
  }
  .teachers__item, .profi__item {
    flex-direction: column;
  }
  blockquote {
    padding: 20px 10px;
  }
  blockquote img{
    float: none!important;
  }
  .gallery__item-image img {
    margin-right: 0!important;
  }
  .gallery_size_medium .about-gallery__grid {
    grid-template-columns: 1fr;
  }
  .gallery_size_medium .about-gallery__grid .about-gallery__item {
    height: auto;
  }
  .pagination.center {
    flex-direction: column;
    margin-bottom: 10px;
  }
  .spb_bottomform_block .study-info {
    padding: 0;
  }
  .spb_bottomform_block .study-info .btn-group {
    margin: 0;
    margin-bottom: 20px;
  }
}