@media (min-width: 1345px) {
   .xl-visible {
      display: none;
   }
}

@media (max-width: 1344px) {

   .xl-col-1 {width: 8.33333333%;}
   .xl-col-2 {width: 16.66666667%;}
   .xl-col-2-5 {width: 20%;}
   .xl-col-3 {width: 25%;}
   .xl-col-4 {width: 33.33333333%;}
   .xl-col-5 {width: 41.66666667%;}
   .xl-col-6 {width: 50%;}
   .xl-col-7 {width: 58.33333333%;}
   .xl-col-8 {width: 66.66666667%;}
   .xl-col-9 {width: 75%;}
   .xl-col-10 {width: 83.33333333%;}
   .xl-col-11 {width: 91.66666667%;}
   .xl-col-12 {width: 100%;}

   .container {
      max-width: 1024px;
   }

   .xl-hidden {
      display: none;
   }

   .xl-flex-column {
      flex-direction: column;
      -webkit-flex-direction: column;
   }

   .footer-main {
      padding-bottom: 60px;
   }

   .course-container {
      padding-left: 0;
      padding-right: 0;
   }

   .sidebar-menu._show,
   .sidebar-submenu._show {
      display: block;
   }

   .lang {
      position: static;
   }

   .lang {
      margin: 0 0 0 10px;
   }

   .header-top {
      padding-right: 0;
   }

   
}


@media (min-width: 1024px) {
   .md-visible {
      display: none;
   }
}

@media (max-width: 1023px) {
   .md-col-1 {width: 8.33333333%;}
   .md-col-2 {width: 16.66666667%;}
   .md-col-2-5 {width: 20%;}
   .md-col-3 {width: 25%;}
   .md-col-4 {width: 33.33333333%;}
   .md-col-5 {width: 41.66666667%;}
   .md-col-6 {width: 50%;}
   .md-col-7 {width: 58.33333333%;}
   .md-col-8 {width: 66.66666667%;}
   .md-col-9 {width: 75%;}
   .md-col-10 {width: 83.33333333%;}
   .md-col-11 {width: 91.66666667%;}
   .md-col-12 {width: 100%;}

   .container {
      max-width: 768px;
   }

   .md-hidden {
      display: none;
   }

   .md-flex-column {
      flex-direction: column;
      -webkit-flex-direction: column;
   }

   .md-order-1 {
      order: -1;
   }

   .head-column {
      position: static;
   }

   .md-flex-center {
      -webkit-justify-content: center;
      justify-content: center;
   }

   .advantages-list {
      padding: 0;
   }

   .advantages-list li {
      margin-left: 0;
      margin-right: 0;
   }

   .why-block,
   .why-main,
   .who-block {
      background-image: none;
   }

   .slide-main {
      padding: 0 15px;
      text-align: center;
   }

   .slider-info {
      max-width: none;
   }

   .logotype {
      margin: 0 auto;
   }

   .lang {
      margin-right: 20px;
   }

   .search-button {
      position: static;
   }

   .header .header-phone {
      position: absolute;
      left: 50%;
      top: 15px;
      transform: translateX(-50%);
      -webkit-transform: translateX(-50%);
   }

   .menu-block {
      position: absolute;
      left: 15px;
      top: 55px;
      padding: 0;
      background-color: #fff;
      padding: 10px 0;
      border-radius: 3px;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: all 0.2s ease;
   }

   .menu-block._show {
      opacity: 1;
      visibility: visible;
      pointer-events: all;
   }

   .menu li {
      width: 100%;
   }

   .menu li a {
      text-align: left;
      color: #222;
      padding: 10px 20px;
   }

   .schedule-card {
      padding: 7px;
   }

   .card-price {
      font-size: 14px;
   }

   .schedule-options-list {
      display: block;
   }

   .schedule-options-name {
      margin-bottom: 10px;
   }

   .ticket-item-text br {
      display: none;
   }

   .step-value {
      margin-left: auto;
      margin-right: auto;
   }

   .step-text {
      text-align: center;
   }

   .who-images {
      text-align: center;
   }

   .who-images img {
      margin-bottom: 20px;
   }

@media (min-width: 768px) {
   .sm-visible {
      display: none;
   }
}

@media (max-width: 767px) {
   .sm-col-1 {width: 8.33333333%;}
   .sm-col-2 {width: 16.66666667%;}
   .sm-col-2-5 {width: 20%;}
   .sm-col-3 {width: 25%;}
   .sm-col-4 {width: 33.33333333%;}
   .sm-col-5 {width: 41.66666667%;}
   .sm-col-6 {width: 50%;}
   .sm-col-7 {width: 58.33333333%;}
   .sm-col-8 {width: 66.66666667%;}
   .sm-col-9 {width: 75%;}
   .sm-col-10 {width: 83.33333333%;}
   .sm-col-11 {width: 91.66666667%;}
   .sm-col-12 {width: 100%;}

   .sm-hidden {
      display: none;
   }

   .sm-flex-column {
      flex-direction: column;
      -webkit-flex-direction: column;
   }

   .footer-main {
      text-align: center;
   }

   .switch-tab {
      padding-top: 0;
   }

   .map-block {
      height: 250px;
   }

   .course-title {
      margin-bottom: 30px;
      text-align: center;
   }

   .course-name {
      font-size: 20px;
      line-height: 26px;
   }

   .schedule-card {
      max-width: 288px;
      margin-left: auto;
      margin-right: auto;
      display: block;
      padding: 20px;
   }

   .schedule-title {
      width: auto;
      margin-bottom: 20px;
      padding-left: 0;
   }

   .card-price {
      margin: 15px 0;
   }

   .group-list li span {
      font-size: 14px;
      line-height: 20px;
   }

   .schema-item {
      width: auto;
      margin-left: 0;
   }

   .schema-value {
      left: 0;
   }

   .teachers-popup-content {
      padding: 0;
   }

   .teachers-popup-text {
      margin: 30px 0 0;
   }

   .schedule-button+.schedule-button {
      margin: 10px 0 0;
   }

   .loyalty-left,
   .loyalty-right {
      width: 100%;
   }

   .loyalty-left {
      padding: 0;
      margin-bottom: 20px;
   }

   .gl-test-meet-title {
      margin: 10px 0;
   }

   .gl-test-begin-button,
   .gl-test-begin-button a {
      width: 100%;
   }

   .gl-test-content {
      margin-bottom: 0;
   }

   .gl-test-checkbox {
      margin: 10px 0;
      font-size: 16px;
   }

   .gl-test-content-result-list {
      flex-wrap: wrap;
   }

   .gl-test-content-result-count,
   .gl-test-content-result-correct,
   .gl-test-content-result-incorrect {
      margin: 0 0 10px 0;
   }

   .gl-test-addtional,
   .gl-test-not-agree,
   .gl-test-trial-lesson {
      width: 100%;
      margin: 0;
   }

   .gl-test-not-agree {
      margin: 20px 0;
   }

   .gl-test-not-agree,
   .gl-test-trial-lesson {
      padding: 40px;
   }

   .gl-test-not-agree-button {
      width: 100%;
   }

   .gl-test-addtional {
      flex-wrap: wrap;
   }

   .gl-test-not-agree a, .gl-test-trial-lesson a {
      width: 100%;
   }
}

@media (min-width: 541px) {
   .xs-visible {
      display: none;
   }
}

@media (max-width: 540px) {
   .xs-col-1 {width: 8.33333333%;}
   .xs-col-2 {width: 16.66666667%;}
   .xs-col-2-5 {width: 20%;}
   .xs-col-3 {width: 25%;}
   .xs-col-4 {width: 33.33333333%;}
   .xs-col-5 {width: 41.66666667%;}
   .xs-col-6 {width: 50%;}
   .xs-col-7 {width: 58.33333333%;}
   .xs-col-8 {width: 66.66666667%;}
   .xs-col-9 {width: 75%;}
   .xs-col-10 {width: 83.33333333%;}
   .xs-col-11 {width: 91.66666667%;}
   .xs-col-12 {width: 100%;}

   .xs-hidden {
      display: none;
   }

   .xs-flex-column {
      flex-direction: column;
      -webkit-flex-direction: column;
   }

   .reviews-item {
      padding: 30px;
   }

   .reviews-item:after {
      display: none;
   }

   h2 {
      font-size: 26px;
      line-height: 32px;
   }

   .why-item {
      margin: 50px 0;
   }

   .why-item li+li {
      padding: 10px 0 0;
      text-align: center;
   }

   .slider-text {
      font-size: 18px;
      line-height: 28px;
   }

   .slider-prices li {
      font-size: 14px;
   }

   .slide-main {
      height: 450px;
   }

   .header .header-phone {
      font-size: 14px;
      position: static;
      transform: none;
   }

   .orders-button {
      margin: 10px 0
   }

   .orders-button li {
      margin: 10px;
      text-align: center;
   }

   .modal-content,
   .modal-footer {
      padding: 30px;
   }

   .modal-content h2 {
      font-size: 20px;
   }

   .modal-content .social-list li:first-child {
      display: block;
   }

   .border-block {
      padding: 30px;
   }

   .schema-item {
      padding-left: 0;
   }

   .contact-item {
      margin: 20px 0;
   }

   .schema-item-offset {
      margin-left: 0;
   }

   .ticket-item-text {
      white-space: normal;
   }

   .ticket-long {
      padding-left: 140px;
   }

   .ticket-item-image img {
      max-width: 135px;
   }

   .order-slider {
      margin: 0 30px;
   }


}