
body{
	overflow-x: hidden;
}

.is-hidden {
  display: none !important;
}

a[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #232323;
  background: #FFFFFF;
  width: 100%;
  height: 100%;
}
a {
  color: #232323;
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
}
.clear {
  clear: both;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

*::-webkit-scrollbar
{
    width: 5px;
    height: 3px;

    -webkit-transition: .05s ease;

    -o-transition: .05s ease;

    transition: .05s ease;
}

*::-webkit-scrollbar-button
{
    background-color: #2a2b34;
}

*::-webkit-scrollbar-track
{
    background-color: #2a2b34;
}

*::-webkit-scrollbar-track-piece
{
    background-color: #fff;
}

*::-webkit-scrollbar-thumb
{
    height: 50px;

    border-radius: 3px; 
    background-color: #2a2b34;
}

*::-webkit-scrollbar-corner
{
    background-color: #2a2b34;
}

*::-webkit-resizer
{
    background-color: #2a2b34;
}


.wrap {
  width: 1392px;
  max-width: 96%;
  margin: 0 auto;
}

header.header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    background: transparent;
    padding: 15px 0;
    z-index: 9;
}

.header-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.header-inner .logo {
    height: 47px;
}

.header-inner .logo img {
    height: 100%;
    display: block;
    width: auto;
}

.header a.phone span {
    background: #fff;
    padding: 10px 45px;
    border-radius: 30px;
    min-width: 212px;
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.header a.phone:hover span.text {
    display: none;
}

.header a.phone span.tel {
    background: #000;
    color: #fff;
    display: none;
}

.header a.phone:hover span.tel {
    display: block;
}

@media (max-width: 991px) {
    .header-inner .logo {
        height: 40px;
    }
    .header a.phone span.text {
        display: none;
    }
    .header a.phone span.tel {
        padding: 9px 17px;
        color: #000;
        background: #fff;
        display: block;
        font-size: 14px;
        font-weight: 400;
        min-width: -webkit-fit-content;
        min-width: -moz-fit-content;
        min-width: fit-content;
    }
}

#footer .wrap {
  padding: 0 48px;
}

#home {
  background: #fff;
  width: 100%;
  max-width: 100%;
  margin: 0;
}
#home h1 {
  display: none;
}

#home .wrap-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

#home section.section-100 {
  width: 100%;
}

#home .wrap-flex section {
  margin-top: 12px;
}

#home section.section-50 {
  width: calc(50% - 6px);
}

#home .b-block,
#page .block_course {
  padding: 60px 48px;
  border-radius: 20px;
  height: 100%;
  position: relative;
}

#home .b-block.b-block-6 {
  padding: 60px 0px;
}

#home .b-block h2.b-block-title .b-block-title_arrow:before {
  content: "";
  position: absolute;
  width: 56px;
  height: 56px;
  background-color: #fff;
  top: 16px;
  right: 11px;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='18' viewBox='0 0 19 18' fill='none'%3E%3Cpath d='M13.4448 3.0019L2.80484 3.0019C2.40817 3.0019 2.07544 2.8675 1.80664 2.5987C1.53784 2.3299 1.4039 1.99764 1.40483 1.6019C1.40577 1.20617 1.54017 0.873904 1.80803 0.605104C2.0759 0.336304 2.40817 0.201904 2.80484 0.201904L16.8048 0.201904C17.2015 0.201904 17.5338 0.336304 17.8016 0.605104C18.0695 0.873904 18.2039 1.20617 18.2048 1.6019V15.6019C18.2048 15.9986 18.0704 16.3313 17.8016 16.6001C17.5328 16.8689 17.2006 17.0028 16.8048 17.0019C16.4091 17.001 16.0764 16.8666 15.8066 16.5987C15.5369 16.3308 15.403 15.9986 15.4048 15.6019V4.9619L2.94484 17.4219C2.68817 17.6786 2.3615 17.8069 1.96483 17.8069C1.56817 17.8069 1.2415 17.6786 0.984837 17.4219C0.72817 17.1652 0.599834 16.8386 0.599834 16.4419C0.599834 16.0452 0.72817 15.7186 0.984837 15.4619L13.4448 3.0019Z' fill='%23232323'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  -webkit-transform: rotate(0) scale(1);
      -ms-transform: rotate(0) scale(1);
          transform: rotate(0) scale(1);
}

#home .b-block:hover h2.b-block-title .b-block-title_arrow:before {
  -webkit-transform: rotate(45deg) scale(1.05);
      -ms-transform: rotate(45deg) scale(1.05);
          transform: rotate(45deg) scale(1.05);
}

#home .b-block:hover h2.b-block-title.b-block-title-green .b-block-title_arrow:before {
  background-color: #232323;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='18' viewBox='0 0 19 18' fill='none'%3E%3Cpath d='M13.4448 3.0019L2.80484 3.0019C2.40817 3.0019 2.07544 2.8675 1.80664 2.5987C1.53784 2.3299 1.4039 1.99764 1.40483 1.6019C1.40577 1.20617 1.54017 0.873904 1.80803 0.605104C2.0759 0.336304 2.40817 0.201904 2.80484 0.201904L16.8048 0.201904C17.2015 0.201904 17.5338 0.336304 17.8016 0.605104C18.0695 0.873904 18.2039 1.20617 18.2048 1.6019V15.6019C18.2048 15.9986 18.0704 16.3313 17.8016 16.6001C17.5328 16.8689 17.2006 17.0028 16.8048 17.0019C16.4091 17.001 16.0764 16.8666 15.8066 16.5987C15.5369 16.3308 15.403 15.9986 15.4048 15.6019V4.9619L2.94484 17.4219C2.68817 17.6786 2.3615 17.8069 1.96483 17.8069C1.56817 17.8069 1.2415 17.6786 0.984837 17.4219C0.72817 17.1652 0.599834 16.8386 0.599834 16.4419C0.599834 16.0452 0.72817 15.7186 0.984837 15.4619L13.4448 3.0019Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

#home .b-block:hover h2.b-block-title.b-block-title-grey .b-block-title_arrow:before {
  background-color: #D2E846;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='18' viewBox='0 0 19 18' fill='none'%3E%3Cpath d='M13.4448 3.0019L2.80484 3.0019C2.40817 3.0019 2.07544 2.8675 1.80664 2.5987C1.53784 2.3299 1.4039 1.99764 1.40483 1.6019C1.40577 1.20617 1.54017 0.873904 1.80803 0.605104C2.0759 0.336304 2.40817 0.201904 2.80484 0.201904L16.8048 0.201904C17.2015 0.201904 17.5338 0.336304 17.8016 0.605104C18.0695 0.873904 18.2039 1.20617 18.2048 1.6019V15.6019C18.2048 15.9986 18.0704 16.3313 17.8016 16.6001C17.5328 16.8689 17.2006 17.0028 16.8048 17.0019C16.4091 17.001 16.0764 16.8666 15.8066 16.5987C15.5369 16.3308 15.403 15.9986 15.4048 15.6019V4.9619L2.94484 17.4219C2.68817 17.6786 2.3615 17.8069 1.96483 17.8069C1.56817 17.8069 1.2415 17.6786 0.984837 17.4219C0.72817 17.1652 0.599834 16.8386 0.599834 16.4419C0.599834 16.0452 0.72817 15.7186 0.984837 15.4619L13.4448 3.0019Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

#home .b-block h2.b-block-title .b-block-title_arrow:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 2;
  border-radius: 20px;
}

#home h2.b-block-title, #home h2.b-block-title .b-block-title_arrow,
#home h2.b-block-title-simple, #home h2.b-block-title-simple .b-block-title_arrow {
  color: #232323;
  text-decoration: none;
  font-size: 28px;
  font-weight: 700;
}

#home .b-block-text {
  color: #232323;
  font-size: 16px;
  margin-top: 24px;
}

#home .section-main-5 {
  padding-top: 20px;
}

#home .section-main-6 {
  padding-top: 20px;
}

.b-block.b-block-6 .widget {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.b-block.b-block-6 .widget .widget-title {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  padding: 0 48px;
}

@media (max-width: 1199px) {
  #home h2.b-block-title, #home h2.b-block-title .b-block-title_arrow,
  #home h2.b-block-title-simple, #home h2.b-block-title-simple .b-block-title_arrow {
    font-size: 26px;
  }

  #home .b-block-text {
    font-size: 16px;
    margin-top: 20px;
  }
}

@media (max-width: 991px) {
  #slider .wrap {
      max-width: 85%;
  }

  #home section.section-d-100 {
    width: 100%;
  }

  #home .b-block {
    padding: 48px 24px;
  }

  #home .b-block h2.b-block-title .b-block-title_arrow:before {
    width: 36px;
    height: 36px;
    top: 18px;
    right: 18px;
    background-size: 11px 11px;
  }
  .b-block.b-block-6 .widget {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }

  #home .b-block.b-block-6 .widget-title {
    padding: 0 24px;
  }

  #footer .wrap {
    padding: 0 24px;
  }
}

/* video */
#home #slider {
    width: 100%;
    /* min-height: 640px; */
    min-height: 100vh;
    position: relative;
}
#home #slider::before {
    background: -o-linear-gradient(271deg, rgba(100, 177, 186, 0.00) 25.16%, rgba(90, 174, 185, 0.20) 60.35%, rgba(34, 145, 173, 0.30) 99.1%);
    background: linear-gradient(179deg, rgba(100, 177, 186, 0.00) 25.16%, rgba(90, 174, 185, 0.20) 60.35%, rgba(34, 145, 173, 0.30) 99.1%);
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}
#home #slider li {
    width: 100%;
    /* min-height: 640px; */
    min-height: 100vh;
    color: #FFFFFF;
    text-transform: uppercase;
    background: center no-repeat;
    background-size: cover;
    position: relative;
}
#home #slider li video.video-js {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    will-change: transform;
}

#home #slider li .video-block {
    width: 100%;
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
}

#home #slider li .video-block .video-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
}

#home #slider li .video-block .video-wrapper .video-js {
    opacity: 0;
    -webkit-transition: opacity 0.35s ease;
    -o-transition: opacity 0.35s ease;
    transition: opacity 0.35s ease;
}

#home #slider li .video-block .video-wrapper .video-js.video-ready {
    opacity: 1;
}

#home #slider li .video-block .video-wrapper .video-poster {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #0f1c24;
    -webkit-transition: opacity 0.35s ease, visibility 0.35s ease;
    -o-transition: opacity 0.35s ease, visibility 0.35s ease;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 2;
}

#home #slider li .video-block .video-wrapper .video-poster.no-image {
    background-image: -webkit-gradient(linear, left top, left bottom, from(#203949), to(#12212c));
    background-image: -o-linear-gradient(top, #203949 0%, #12212c 100%);
    background-image: linear-gradient(180deg, #203949 0%, #12212c 100%);
}

#home #slider li .video-block .video-wrapper .video-poster.is-hidden {
    opacity: 0;
    visibility: hidden;
}

#home #slider li .content {
    max-width: 85%;
    margin: 0px auto 0;
    z-index: 3;
    position: relative;
    padding-top: 213px;
}
#home #slider li .content h3 {
    font-size: 64px;
    line-height: 64px;
    font-weight: 800;
    text-shadow: 10px 10px 30px rgba(0, 0, 0, 0.30), 4px 4px 10px rgb(0 0 0 / 60%);
}

#home #slider li .content h3 span{
    display: block;
    line-height: 64px;
}
#home #slider li .content h3 b {
    font-size: 64px;
    line-height: 64px;
    font-weight: 800;
}
#home #slider li .content p {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 75px;
    text-shadow: 10px 10px 30px rgba(0, 0, 0, 0.50), 4px 4px 10px rgb(0 0 0 / 60%);
    font-weight: 700;
}
#home #slider li .content .register-btn {
    display: inline-block;
    background: rgba(227, 4, 19, 0.7);
    font-size: 20px;
    font-weight: 600;
    padding: 18px 48px;
    text-decoration: none;
    color: #FFFFFF;
    text-transform: capitalize;
}
#home .slider-wrapper {
    position: relative;
}
#home .slider-wrapper .lSAction > a {
    width: 50px;
    height: 50px;
    margin-top: -25px;
    background: #000000 url("/local/templates/aventura/img/home-slider-prev.png") center no-repeat;
    opacity: 1;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}
#home .slider-wrapper .lSAction > a.lSNext {
    right: 0;
    background-image: url("/local/templates/aventura/img/home-slider-next.png");
}
#home .slider-wrapper .lSAction > a.lSPrev {
    left: 0;
}
#home .slider-wrapper .lSAction > a:hover {
    background-color: #e30413;
}
#home .slider-wrapper .lSPager {
    position: absolute;
    left: 0;
    bottom: 35px;
    width: 100%;
    z-index: 9;
    text-align: center;
    display: none;
}
#home .slider-wrapper .lSPager a {
    width: 11px !important;
    height: 11px !important;
    background: #000000 !important;
}
#home .slider-wrapper .lSPager .active a {
    background: #e30413 !important;
}

@media screen and (max-width: 1199px) {
    #home #slider,
    #home #slider li {
        min-height: calc(100vh - 78px);
    }
}

@media screen and (max-width: 960px) {
    #home #slider li .content h3 b{
        font-size:44px;
    }
    #home #slider li .content h3{
        font-size:34px;
        width:100%;
        text-align:center;
    }
    #home #slider li .content .register{
        padding:10px 18px;
    }
    #home #slider li .content p{
        margin-bottom:11%;
        margin-top:4%;
    }
    #home .slider-wrapper .lSAction > a{
        height:37px;
        width:37px;
    }

    #home #slider li .content{
        /* margin-top:8%; */
    }
    .lSSlideWrapper{
        height:auto;
    }
    #home #slider li .content{
        float:none;
    }
    #home #slider li .content p{
        text-align:center;
    }
    #home #slider li .content{
        text-align:center;
    }
    #home #slider li .content h3, #home #slider li .content h3 span {
        font-size: 36px !important;
        line-height: 38px !important;
    }

    #home #slider li .content {
        /* margin-top: 18%; */
    }

    #home #slider li .content p {
        margin-bottom: 0 !important;
    }

    #home #slider li .content {
        display: -ms-grid;
        display: grid;
        -ms-grid-rows: minmax(auto, auto) auto;
        grid-template-rows: minmax(auto, auto) auto;
    }

    #home #slider li .content .register-btn {
        margin-top: 64px;
    }
}

@media screen and (max-width: 495px) {
    #home #slider li .content h3 b{
        font-size:35px;
    }
    #home #slider li .content h3{
        font-size:30px;
    }

    #home #slider li .content p{
        font-size:20px;
    }

    .lSSlideWrapper{
        height:372px;
    }
}

/* 1block */
#home .wrap-flex section.section-main-0-en {
    margin-top: 112px;
}

.b-block-1 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.b-block-1-text-wrapper {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    padding-right: 20px;
}

.b-block-1-img {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 175px;
            flex: 0 0 175px;
    position: relative;
}

.b-block-1-img img {
    width: 100%;
    display: block;
    height: auto;
    top: 24px;
    position: absolute;
}

@media (max-width: 1199px) {
    .b-block-1-img {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 180px;
                flex: 0 0 180px;
    }
}

@media (max-width: 991px) {
    .b-block-1{
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }
    .b-block-1-text-wrapper {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 100%;
                flex: 0 0 100%;
    }
    .b-block-1-img {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 100%;
                flex: 0 0 100%;
    }

    .b-block-1-img img {
        margin-left: auto;
        position: relative;
        width: 160px;
        top: inherit;
        margin-top: 8px;
    }
    
    #home .b-block.b-block-1 {
        padding: 48px 24px 30px;
    }
}

ul.courses_list {
    margin: 24px 0 0;
    padding-left: 25px;
}

ul.courses_list li::marker  {
    color: #fff;
}

ul.courses_list li, ul.courses_list li a {
    font-size: 16px;
    font-weight: 400;
    position: relative;
}

ul.courses_list li a {
    z-index: 3;
}

ul.courses_list li:not(:last-child){
    margin-bottom: 8px;
}

@media (max-width: 1199px) {
    ul.courses_list li, ul.courses_list li a {
        font-size: 16px;
    }
}

#home .wrap-flex section.courses_en {
    margin-top: 100px;
}

.courses_en .wrap {
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.courses_wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    padding: 0 96px;
}

.courses_en .courses_wrapper {
    padding: 0;
}

.courses_wrapper .item:last-child .inner {
    background: url(../img/vhf-background.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.courses_wrapper .item:last-child .inner * {
    color: #232323 !important;
}

.courses_wrapper .item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(33.33% - 8px);
            flex: 0 0 calc(33.33% - 8px);
    margin: 0 4px 112px;
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: auto -webkit-max-content -webkit-max-content;
    -ms-grid-rows: auto max-content max-content;
    grid-template-rows: auto -webkit-max-content -webkit-max-content;
    grid-template-rows: auto max-content max-content;
}

.courses_en .courses_wrapper .item {
    margin: 0 4px 76px;
}

.courses_wrapper .item.center_window .inner .button a {
    background: #E74058;
    color: #fff !important;
}

.courses_wrapper .item:nth-child(3n - 2) {
    margin-left: 0;
    margin-right: 8px;
}

.courses_wrapper .item:nth-child(3n) {
    margin-right: 0;
    margin-left: 8px;
}

.courses_wrapper .item .inner {
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 12px;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: auto -webkit-max-content;
    -ms-grid-rows: auto max-content;
    grid-template-rows: auto -webkit-max-content;
    grid-template-rows: auto max-content;
}

.courses_wrapper .item .inner .inner_text {
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: 75px -webkit-max-content auto;
    -ms-grid-rows: 75px max-content auto;
    grid-template-rows: 75px -webkit-max-content auto;
    grid-template-rows: 75px max-content auto;
}

.courses_wrapper .item .inner .title {
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
}

.courses_wrapper .item .inner .price {
    margin-top: 22px;
    text-align: center;
    font-weight: 700;
    font-size: 24px;
}

.courses_wrapper .item .inner .preview {
    margin-top: 22px;
    text-align: center;
    font-size: 16px;
}

.courses_wrapper .item .inner .button {
    margin-top: 60px;
}

.courses_wrapper .item .inner .button a {
    display: block;
    background: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 30px;
    /* text-transform: uppercase; */
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    position: relative;
    z-index: 4;
    width: 80%;
    margin: auto;
}

.courses_wrapper .item .inner:hover .button a,
.courses_wrapper .item .inner .button a:hover {
    background: #E74058;
    color: #fff !important;
}

.courses_wrapper .item .inner .phone {
    margin-top: 16px;
    font-weight: 500;
    font-size: 18px;
    text-align: center;
}

.courses_wrapper .item .bottom {
    text-align: center;
    font-size: 16px;
}

.courses_wrapper .item .bottom a.hide {
    display: none;
}

#courses .blocks .block {
    display: none;
}

#courses .blocks .block table td,
#courses .block_mobile .block table td{
	border:1px solid #2e2e2e;
	padding:25px;
}

#courses .blocks .bottom,
#courses .block_mobile .block .bottom {
    margin-top: 15px;
    text-align: right;
}

#courses .blocks .block {
    margin-bottom: 48px;
}

#courses .block_mobile .block {
    margin-top: 12px;
    margin-bottom: 0px;
}

.courses_wrapper .item .block_mobile .bottom a.hide {
    display: block;
}

@media (max-width:1187px) {
    .courses_wrapper .item .inner .inner_text {
        -ms-grid-rows: 85px -webkit-max-content auto;
        -ms-grid-rows: 85px max-content auto;
        grid-template-rows: 85px -webkit-max-content auto;
        grid-template-rows: 85px max-content auto;
    }
}

@media (max-width:1024px) {
    .courses_wrapper {
        padding: 0 48px;
    }
    .courses_en .courses_wrapper {
        padding: 0;
    }
}

@media (max-width:991px) {
    .courses_wrapper .item .inner .inner_text {
        -ms-grid-rows: 55px -webkit-max-content auto;
        -ms-grid-rows: 55px max-content auto;
        grid-template-rows: 55px -webkit-max-content auto;
        grid-template-rows: 55px max-content auto;
    }

    .courses_wrapper {
        padding: 0;
    }

    .courses_wrapper .item .inner {
        padding: 24px;
    }
    
    .courses_wrapper .item .inner .title {
        font-size: 18px;
    }
    
    .courses_wrapper .item .inner .price {
        font-size: 20px;
        margin-top: 16px;
    }
    
    .courses_wrapper .item .inner .preview {
        margin-top: 16px;
        font-size: 14px;
    }
    
    .courses_wrapper .item .inner .button {
        margin-top: 40px;
    }
    
    .courses_wrapper .item .inner .button a {
        font-size: 18px;
    }
    
    .courses_wrapper .item .inner .phone {
        font-size: 16px;
    }
    
    #courses .blocks .block {
        font-size: 14px;
    }
    
    #courses .blocks .block table td,
    #courses .block_mobile .block table td {
        padding: 12px;
    }
}

@media (max-width:768px) {
    .courses_wrapper .item {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 100%;
                flex: 0 0 100%;
        margin: 0 0 24px !important;
    }
    .inner_text {
        -ms-grid-rows: -webkit-max-content -webkit-max-content auto;
        -ms-grid-rows: max-content max-content auto;
        grid-template-rows: -webkit-max-content -webkit-max-content auto;
        grid-template-rows: max-content max-content auto;
    }

    .courses_wrapper .item .inner {
        min-height: 470px;
    }
}

/* regform */
body #home section.section-main-3 {
    margin-top: 36px;
}

body #home section.section-main-3 h2.b-block-title,
.block_course h2.b-block-title,
body #section-page h2.b-block-title {
    color: #fff;
    border: none;
    padding: 0;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
}

body #home section.section-main-3 .b-block-text,
.block_course .b-block-text {
    color: #D9D9D9;
}

.b-block.b-block-3,
.block_course {
    background: url(../img/image_course.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
    overflow: hidden;
}

.block_course {
    margin-bottom: 36px;
}

.b-block.b-block-3::before,
.block_course:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(49, 83, 102, 0.93);
}

.course-wrapper {
    position: relative;
}

form[id^="courseChoose_"] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin-top: 32px;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

label.courseChoose_item {
    width: 20%;
    min-width: 258px;
}

span.courseChoose_label {
    display: block;
    color: #fff;
    font-size: 16px;
    margin-bottom: 12px;
}

label.courseChoose_item select, label.courseChoose_item input {
    height: 48px;
    width: 100%;
    font-size: 14px;
    background: #fff;
    border-radius: 30px;
    padding: 16px 44px 16px 24px;
    /* color: rgba(0, 0, 0, 0.50); */
    color: #000;
    border: none;
    outline: none;
    letter-spacing: .5px;
    line-height: 16px;
}

.regform_wrapper .regform__title,
.regform__price {
    font-weight: 700;
    font-size: 43px;
    color: #232323;
}

.regform_wrapper .regform__title {
    margin-bottom: 0;
}

.regform__price {
    margin-bottom: 60px;
}

.regform_wrapper  .regform__form-input label {
    font-size: 20px;
    font-weight: 600;
    color: #232323;
    display: block;
}

.regform_wrapper .regform__form-input {
    margin: 0 0 20px;
}

.regform_wrapper .regform__form-input textarea, .regform_wrapper .regform__form-input input {
    font-size: 14px;
    padding: 8px 0 3px 0;
    color: #000;
    letter-spacing: .5px;
    border: none;
    border-bottom: 1px solid #232323;
    background: transparent;
    border-radius: 0;
    width: 100%;
    outline: none;
}

.regform_wrapper .regform__form-input textarea {
    height: 3.8em;
    resize: none;
}

.regform_wrapper .regform__privacy-policy {
    position: absolute;
    bottom: 0;
    text-align: left;
    margin-bottom: 25px;
}

.regform__privacy-policy span{
	display:inline-block;
	position:relative;
	font-size:14px;
	padding:0 0 0 20px;
}
.regform__privacy-policy span:before{
	width:12px;
	height:14px;
	content:'';
	position:absolute;
	left:0;
	top:50%;
	margin-top:-7px;
	background:url(../img/lock-item.png) no-repeat center;
}

.regform_wrapper.theme-vhf .regform__privacy-policy span:before {
    -webkit-filter: invert(1);
            filter: invert(1);
}

.regform_wrapper.theme-vhf .regform__title,
.regform_wrapper.theme-vhf .regform__price,
.regform_wrapper.theme-vhf .regform__form-input label,
.regform_wrapper.theme-vhf .regform__privacy-policy span,
.regform_wrapper.theme-vhf .regform__close {
    color: #ffffff;
}

.regform_wrapper.theme-vhf .regform__form-input textarea,
.regform_wrapper.theme-vhf .regform__form-input input {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.75);
}

.regform_wrapper.theme-vhf .regform__form-input input::-webkit-input-placeholder, .regform_wrapper.theme-vhf .regform__form-input textarea::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.regform_wrapper.theme-vhf .regform__form-input input::-moz-placeholder, .regform_wrapper.theme-vhf .regform__form-input textarea::-moz-placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.regform_wrapper.theme-vhf .regform__form-input input:-ms-input-placeholder, .regform_wrapper.theme-vhf .regform__form-input textarea:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.regform_wrapper.theme-vhf .regform__form-input input::-ms-input-placeholder, .regform_wrapper.theme-vhf .regform__form-input textarea::-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.regform_wrapper.theme-vhf .regform__form-input input::placeholder,
.regform_wrapper.theme-vhf .regform__form-input textarea::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

label.courseChoose_item select[id^="placeSelect_"] {
    padding-left: 44px;
}

.regform__form-control input {
    border-radius: 30px;
    display: inline-block;
    border: none;
    background: #004881;
    color: #fff;
    font-size: 16px;
    padding: 13px 0px;
    width: 100%;
    max-width: 230px;
    font-weight: 700;
    border: 2px solid #004881;
    -webkit-transition: 0.5s all ease;
    -o-transition: 0.5s all ease;
    transition: 0.5s all ease;
    cursor: pointer;
}

.popup.thanksp {
    border-radius: 20px;
}

label.courseChoose_item select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M16.3519 6.64073C16.1852 6.47407 15.9879 6.39007 15.7592 6.39007C15.5325 6.39007 15.3345 6.4734 15.1679 6.64007L10.2845 11.5234L5.38454 6.6234C5.22921 6.46807 5.03454 6.39007 4.80121 6.39007C4.56787 6.39007 4.36788 6.4734 4.20121 6.64007C4.12124 6.71652 4.0578 6.80856 4.0148 6.9105C3.9718 7.01243 3.95016 7.1221 3.95121 7.23273C3.95121 7.4594 4.03454 7.6574 4.20121 7.82407L9.81787 13.4241C9.88454 13.4907 9.95721 13.5374 10.0345 13.5661C10.1149 13.5941 10.1995 13.608 10.2845 13.6074C10.3739 13.6074 10.4572 13.5934 10.5345 13.5661C10.6164 13.5354 10.6904 13.4869 10.7512 13.4241L16.3679 7.8074C16.5239 7.6514 16.6012 7.46007 16.6012 7.23207C16.6012 7.00473 16.5185 6.8074 16.3519 6.64073Z" fill="black" fill-opacity="0.5"/></svg>');
    background-repeat: no-repeat;
    background-position: right 24px center;
    background-size: 1rem;
}

.courseChoose_btn {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

button[id^="registerBtn_"] {
    border-radius: 30px;
    background: #D2E846;
    padding: 10px 32px;
    border: none;
    outline: none;
    font-size: 18px;
    color: #232323;
    font-weight: 600;
    -ms-flex-item-align: end;
        -ms-grid-row-align: end;
        align-self: end;
    height: 48px;
}

button[id^="registerBtn_"]:hover {
    background-color: #B3C737;
}

.regform_wrapper {
    /* display: none; */
    visibility: hidden;
    overflow: hidden;
    /* opacity: 0; */
    position: fixed;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    -webkit-box-pack: flex-end;
        -ms-flex-pack: flex-end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.regform_wrapper.active {
    visibility: visible;
    background: rgba(0, 0, 0, 0.5);
    /* opacity: 1; */
}

.regform_wrapper .regform {
    background: #fff;
    padding: 60px 48px 75px;
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 700px;
}

.regform_wrapper.active .regform {
    -webkit-animation: obscure .5s cubic-bezier(0.6, 0, 0.4, 1);
    animation: obscure .5s cubic-bezier(0.6, 0, 0.4, 1);
}

.regform_wrapper.hide {
    background: transparent;
}

.regform_wrapper.hide .regform {
    -webkit-animation: obscure-out 0.4s ease forwards;
    animation: obscure-out 0.4s ease forwards;
}

@-webkit-keyframes obscure {
    0% {
        right: -100%;
    }
    100% {
        right: 0%;
    }
}
@keyframes obscure {
    0% {
        right: -100%;
    }
    100% {
        right: 0%;
    }
}

@-webkit-keyframes obscure-out {
    0% {
        right: 0;
    }
    100% {
        right: -100%;
    }
}
@keyframes obscure-out {
    0% {
        right: 0%;
    }
    100% {
        right: -100%;
    }
}

.regform_content {
    max-height: calc(90vh - 50px);
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    overflow-y: auto;
}

.regform__form-input input[readonly] {
    cursor: not-allowed;
}

.regform__close {
    position: absolute;
    right: 48px;
    top: 30px;
    font-size: 26px;
    cursor: pointer;
    color: #232323;
}

.input-with-icon svg {
    position: absolute;
    left: 24px;
    pointer-events: none;
}

.input-with-icon {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

label.courseChoose_item .input-with-icon input {
    padding-left: 40px;
}

.regform__privacy-policy span {
    color: #232323;
}

body .regform__form-control input {
    background-color: #232323;
    border: 2px solid #232323;
    border-radius: 30px;
}

body .regform__form-control input:hover {
    background: #151515;
    color: inherit;
}

/* number phone */
#phone::-webkit-input-placeholder {
    color: #000;
}
#phone::-moz-placeholder {
    color: #000;
}
#phone:-ms-input-placeholder {
    color: #000;
}
#phone::-ms-input-placeholder {
    color: #000;
}
#phone::placeholder {
    color: #000;
}
.phone_list_wrapper {
    position: relative;
}

body .iti.iti--allow-dropdown.iti--separate-dial-code {
    display: block !important;
}

.regform_wrapper .regform__form-input label[for="phone"] {
    padding-bottom: 8px;
}

body #regform_course .iti--separate-dial-code .iti__selected-dial-code {
    font-size: 14px;
}

body .regform .iti--separate-dial-code .iti__selected-dial-code {
    font-size: 14px;
}

body .regform .iti input[type=tel] {
    padding-top: 0;
}

body .iti.iti--container {
    left: inherit !important;
    top: inherit !important;
    position: absolute !important;
    bottom: inherit !important;
    right: inherit !important;
    width: 100%;
    height: 200px;
}

body .iti__country-list {
    width: 100%;
}

body .iti__selected-dial-code {
    color: #232323;
}

body ul.iti__country-list .iti__country-name {
    color: #232323;
}

body .iti__country-list .iti__dial-code {
    color: #2b2b2b;
}

body .regform_wrapper.theme-vhf .iti input[type=tel]::-webkit-input-placeholder {
    color: #fff !important;
}

body .regform_wrapper.theme-vhf .iti input[type=tel]::-moz-placeholder {
    color: #fff !important;
}

body .regform_wrapper.theme-vhf .iti input[type=tel]:-ms-input-placeholder {
    color: #fff !important;
}

body .regform_wrapper.theme-vhf .iti input[type=tel]::-ms-input-placeholder {
    color: #fff !important;
}

body .regform_wrapper.theme-vhf .iti__selected-dial-code,
body .regform_wrapper.theme-vhf .iti__country-name,
body .regform_wrapper.theme-vhf .iti__dial-code,
body .regform_wrapper.theme-vhf .iti input[type=tel]::placeholder {
    color: #fff !important;
}

body .iti__country-list {
    background: #d2e846;
    border-radius: 20px;
    scrollbar-color: #232323 #232323;
    scrollbar-width: thin;
    border-color: #232323;
}

body .regform_wrapper.theme-vhf .iti__country-list {
    background: rgb(15, 53, 101);
    scrollbar-color: #fff #fff;
    scrollbar-width: thin;
    border-color: #fff;
}

body .regform_wrapper.theme-ofsh .iti__country-list {
    background: rgb(231, 64, 88);
}

.date-btn-list {
    display: none;
}

ul.date-list-wrapper {
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    margin-top: -12px;
}

li.date-list-item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(33.33% - 8px);
            flex: 0 0 calc(33.33% - 8px);
    width: calc(33.33% - 8px);
    border-radius: 10px;
    margin: 12px 6px 0;
    padding: 8px 24px;
    border: 1px solid #7D7D7D;
    background: #fff;
    cursor: pointer;
}

li.date-list-item a {
    text-decoration: none;
}

li.date-list-item[data-course^="Inshore"]:hover,
li.date-list-item[data-course^="Inshore"].active {
    background: #D2E846;
    border-color: #D2E846;
}

li.date-list-item[data-course^="Offshore"]:hover,
li.date-list-item[data-course^="Offshore"].active {
    background: #105276;
    color: #fff;
    border-color: #105276;
}

li.date-list-item[data-course^="Offshore"]:hover a,
li.date-list-item[data-course^="Offshore"].active a {
    color: #fff;
}

li.date-list-item:nth-child(3n-2) {
    margin-left: 0;
}

li.date-list-item:nth-child(3n) {
    margin-right: 0;
}

span.date-list-item-date {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

span.date-list-item-title {
    display: block;
    font-size: 14px;
    font-weight: 400;
}

@media(max-width:1399px){
    .courseChoose_btn {
        width: 100%;
        margin-top: 25px;
    }
}

@media(max-width:1199px){
    label.courseChoose_item {
        width: 48%;
    }

    label.courseChoose_item:not(:nth-child(1),:nth-child(2))
    {
        margin-top: 25px;
    }
}

@media(max-width:991px){
    body .block_course {
        margin-bottom: 32px;
        padding: 24px !important;
    }

    body #home section.section-main-3 h2.b-block-title,
    .block_course h2.b-block-title,
    body #section-page h2.b-block-title {
        font-size: 26px;
    }

    label.courseChoose_item {
        width: 100%;
    }

    label.courseChoose_item:not(:nth-child(1)),label.courseChoose_item:nth-child(2) {
        margin-top: 12px;
    }

    span.courseChoose_label {
        margin-bottom: 8px;
    }

    label.courseChoose_item select, label.courseChoose_item input {
        font-size: 16px;
        height: 54px;
    }

    button[id^="registerBtn_"] {
        font-size: 16px;
        width: 100%;
        height: 54px;
    }

    .regform {
        padding: 48px 24px;
        max-width: 96%;
        width: 96%;
    }

    .regform__close {
        right: 24px;
        top: 20px;
    }

    body .regform__form-input {
        width: 100%;
    }

    .regform__form-control input {
        width: 100%;
        max-width: 100%;
    }

    .regform_wrapper .regform {
        padding: 48px 12px;
    }

    .regform_wrapper .regform__title, .regform__price {
        font-size: 32px;
    }

    .regform__price {
        margin-bottom: 50px;
    }

    .regform_wrapper .regform__form-input label {
        font-size: 16px;
    }

    .regform_wrapper .regform__form-input textarea, .regform_wrapper .regform__form-input input {
        font-size: 16px;
    }

    .regform__privacy-policy span {
        font-size: 12px;
    }

    ul.date-list-wrapper {
        margin-top: -8px;
    }

    li.date-list-item {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 100%;
                flex: 0 0 100%;
        width: 100%;
        margin: 8px 0 0;
    }

    .date-btn-list {
        padding: 24px;
        border-radius: 20px;
        background: #F7F7F7;
        margin-bottom: 32px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        cursor: pointer;
    }
    
    .date-btn-list span.date-btn-list-title {
        font-size: 18px;
        font-weight: 700;
    }
    
    .date-btn-list span.date-btn-list-arrow {
        background: #fff;
        border-radius: 50px;
        width: 32px;
        height: 32px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    .date-btn-list svg {
        -webkit-transition: .3s transform ease-in-out;
        -o-transition: .3s transform ease-in-out;
        transition: .3s transform ease-in-out;
        -webkit-transform: rotate(0deg);
            -ms-transform: rotate(0deg);
                transform: rotate(0deg);
    }

    .date-btn-list.active svg {
        -webkit-transform: rotate(180deg);
            -ms-transform: rotate(180deg);
                transform: rotate(180deg);
    }

    .date-list {
        display: none;
    }

    .date-btn-list.active + .date-list {
        display: block;
    }
}

@media (max-width:768px) {
    .regform {
        max-width: 100%;
        width: 100%;
    }
}

/* advantages */
.advantages_wrapper {
    margin-top: 112px;
    overflow: hidden;
}

.advantages_conteiner.wrap {
    padding: 0 96px;
    margin-bottom: 100px;
}

.advantages_en .advantages_conteiner.wrap {
    padding: 0;
}

.advantages_header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 48px;
}

.advantages_wrapper  h3 {
    font-size: 32px;
    font-weight: 700;
}

.advantages_views {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
}

.advantages_view_item {
    cursor: pointer;
}

.advantages_view_item svg {
    height: 24px;
}

.advantages_view_item.active svg path {
    fill: #E74058;
}

.advantages_wrapper.list {
    counter-reset: advantages;
}

.advantages_wrapper.list .advantages_list {
    max-width: calc(100% - 290px);
    margin: 0 auto;
}

.advantages_wrapper.list .advantages_item {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 16px;
}

.advantages_wrapper.list .advantages_item:before {
    content: counter(advantages);
    counter-increment: advantages;
    font-size: 64px;
    font-weight: 400;
    line-height: 64px;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 45px;
            flex: 0 0 45px;
    text-align: center;
    font-family: 'Bebas Neue', 'Roboto', sans-serif;
}

.advantages_wrapper.list .advantages_item:hover:before {
    color: #E74058;
}

.advantages_item:not(:last-child) {
    margin-bottom: 48px;
}

.advantages_item h3.b-block-title {
    font-size: 24px;
    font-weight: 600;
}

.advantages_wrapper.list .advantages_item h3.b-block-title {
    margin-bottom: 32px;
}


.advantages_wrapper.grid .advantages_list {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 0 0.5fr 0 0.5fr;
    grid-template-columns: 1fr 0.5fr 0.5fr;
    -ms-grid-rows: auto 0 auto 0 auto;
        grid-template-areas:
        ". item1 item2"
        ". item6 item6"
        "item3 item4 item5";
    gap: 0;
    position: relative;
}

.advantages_wrapper.grid .advantages_list:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 1px;
    background: #d9d9d9;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
}

.advantages_wrapper.grid .advantages_list:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 50%;
    height: 1px;
    background: #d9d9d9;
}

.advantages_wrapper.grid .advantages_item {
    margin-bottom: 0;
    min-height: 286px;
    padding: 16px;
    border-right: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.advantages_wrapper.grid .advantages_item:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
    grid-area: item1;
}

.advantages_wrapper.grid .advantages_item:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 5;
    grid-area: item2;
    background: #E74058;
    color: #fff;
}

.advantages_wrapper.grid .advantages_item:nth-child(3) {
    -ms-grid-row: 5;
    -ms-grid-column: 1;
    grid-area: item3;
    background: #232323;
    color: #fff;
    border-left: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    border-top: 1px solid #d9d9d9;
    border-right: none;
}

.advantages_wrapper.grid .advantages_item:nth-child(4) {
    -ms-grid-row: 5;
    -ms-grid-column: 3;
    grid-area: item4;
}

.advantages_wrapper.grid .advantages_item:nth-child(5) {
    -ms-grid-row: 5;
    -ms-grid-column: 5;
    grid-area: item5;
}

.advantages_wrapper.grid .advantages_item:nth-child(6) {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
    -ms-grid-column-span: 3;
    grid-area: item6;
    min-height: 286px;
}

.advantages_wrapper.grid .advantages_info {
    height: 100%;
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: minmax(-webkit-max-content, 90px) -webkit-max-content;
    -ms-grid-rows: minmax(max-content, 90px) max-content;
    grid-template-rows: minmax(-webkit-max-content, 90px) -webkit-max-content;
    grid-template-rows: minmax(max-content, 90px) max-content;
}

.advantages_wrapper.grid .advantages_item h3.b-block-title {
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 600;
}

.advantages_wrapper.grid .advantages_item h3.b-block-title.title-grid~h3.b-block-title.title-list,
.advantages_wrapper.list .advantages_item h3.b-block-title.title-grid {
    display: none;
}

.advantages_wrapper.grid .advantages_item h3.b-block-title

.advantages_wrapper.grid .advantages_item p {
    margin: 0;
}

.advantages_wrapper.list .text_grid {
    display: none;
}

.advantages_wrapper.grid .text_list {
    display: none;
}

.advantages_text {
    font-size: 16px;
    font-weight: 400;
}

@media (max-width: 1199px) {
    .advantages_wrapper.grid .advantages_list {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
        grid-template-areas:
        "item3 item3"
        "item1 item2"
        "item6 item6"
        "item4 item5";
    }

    .advantages_wrapper.grid .advantages_list:before {
        left: 0;
        -webkit-transform: translateX(0);
            -ms-transform: translateX(0);
                transform: translateX(0);
    }
    .advantages_wrapper.grid .advantages_item:nth-child(1) {
		-ms-grid-row: 2;
		-ms-grid-column: 1;
    }
    .advantages_wrapper.grid .advantages_item:nth-child(2) {
		-ms-grid-row: 2;
		-ms-grid-column: 2;
    }
    .advantages_wrapper.grid .advantages_item:nth-child(3) {
		-ms-grid-row: 1;
		-ms-grid-column: 1;
		-ms-grid-column-span: 2;
    }
    .advantages_wrapper.grid .advantages_item:nth-child(4) {
		-ms-grid-row: 4;
		-ms-grid-column: 1;
    }
    .advantages_wrapper.grid .advantages_item:nth-child(5) {
		-ms-grid-row: 4;
		-ms-grid-column: 2;
    }
    .advantages_wrapper.grid .advantages_item:nth-child(6) {
		-ms-grid-row: 3;
		-ms-grid-column: 1;
		-ms-grid-column-span: 2;
    }
}

@media (max-width: 991px) {
    .advantages_conteiner.wrap {
        padding: 0 48px;
    }

    .advantages_en .advantages_conteiner.wrap {
        padding: 0;
    }

    .advantages_wrapper {
        margin-top: 64px;
    }

    .advantages_header {
        margin-bottom: 42px;
    }

    .advantages_wrapper h3 {
        font-size: 26px;
    }

    .advantages_views {
        gap: 12px;
    }

    .advantages_wrapper.list .advantages_list {
        max-width: calc(100% - 140px);
    }
}

@media (max-width: 768px) {
    .advantages_conteiner.wrap {
        padding: 0px;
    }

    .advantages_en .advantages_conteiner.wrap {
        padding: 0;
    }

    .advantages_wrapper.grid .advantages_list {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
            grid-template-areas:
            "item1"
            "item2"
            "item3"
            "item4"
            "item5"
            "item6";
    }

    .advantages_wrapper.grid .advantages_list:before,
    .advantages_wrapper.grid .advantages_list:after {
        display: none;
    }

    .advantages_wrapper.grid .advantages_info {
        -ms-grid-rows: -webkit-max-content -webkit-max-content;
        -ms-grid-rows: max-content max-content;
        grid-template-rows: -webkit-max-content -webkit-max-content;
        grid-template-rows: max-content max-content;
    }

    .advantages_wrapper.grid .advantages_item {
        min-height: auto !important;
        border: none;
    }

    .advantages_wrapper.grid .advantages_item:not(:last-child) {
        margin-bottom: 32px;
    }

    .advantages_wrapper.grid .advantages_item:nth-child(3) {
        background: #fff;
        color: #000;
        border: none;
    }

    .advantages_wrapper.grid .advantages_item:nth-child(6) {
        background: #232323;
        color: #fff;
    }

    .advantages_wrapper.list .advantages_list {
        max-width: 100%;
    }

    .advantages_wrapper.list .advantages_item.center_window:before {
        color: #E74058;
    }

    .advantages_wrapper.grid .advantages_item:nth-child(1) {
		-ms-grid-row: 1;
		-ms-grid-column: 1;
    }

    .advantages_wrapper.grid .advantages_item:nth-child(2) {
		-ms-grid-row: 2;
		-ms-grid-column: 1;
    }

    .advantages_wrapper.grid .advantages_item:nth-child(3) {
		-ms-grid-row: 3;
		-ms-grid-column: 1;
		-ms-grid-column-span: 1;
    }

    .advantages_wrapper.grid .advantages_item:nth-child(4) {
		-ms-grid-row: 4;
		-ms-grid-column: 1;
    }

    .advantages_wrapper.grid .advantages_item:nth-child(5) {
		-ms-grid-row: 5;
		-ms-grid-column: 1;
    }

    .advantages_wrapper.grid .advantages_item:nth-child(6) {
		-ms-grid-row: 6;
		-ms-grid-column: 1;
		-ms-grid-column-span: 1;
    }
}

/* block 4 */
#home .b-block.b-block-4 {
    padding: 24px 0px 84px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.b-block-4-text-wrapper, ul.services_list {
    width: calc(50% - 6px);
}

.b-block-4-text-wrapper {
    padding: 12px 48px;
}

.b-block-4-text-info {
    position: sticky;
    top: 50px;
}

ul.services_list {
    list-style: none;
    counter-reset: list;
}

.service_content{
    position:relative;
    padding: 58px 70px;
    border-radius:20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

li.service_item:hover .service_content {
    -webkit-filter: brightness(0.9);
            filter: brightness(0.9);
}

li.service_item {
    position: sticky;
    top: 38px;
}

li.service_item .service_content a {
    text-decoration: none;
}

li.service_item .service_content a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    border-radius: 20px;
}

li.service_item h3{
    font-size: 24px;
    font-weight: 700;
    position: relative;
}

li.service_item .service_desc {
    margin-top:18px;
    font-weight:400;
    font-size: 15px;
}

li.service_item h3:before {
    content: counter(list, decimal-leading-zero) ". ";
    counter-increment: list;
    position: relative;
    left: 0;
    font-size: 24px;
    font-weight: 700;
}

@media (max-width: 1199px) {
    .service_content {
        padding: 45px;
    }

    li.service_item h3,
    li.service_item h3:before{
        font-size: 18px;
    }

    li.service_item .service_desc {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    #home .b-block.b-block-4 {
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }

    .b-block-4-text-wrapper, ul.services_list {
        width: 100%;
    }
    
    .b-block-4-text-wrapper {
        padding: 0px 24px;
    }

    .b-block-4-text-info {
        position: relative;
        top: inherit;
    }

    .b-block-4-text-info {
        position: relative;
        top: inherit;
        margin-bottom: 24px;
    }

    .b-block-4-text-wrapper {
        position: sticky;
        top: 15px;
        margin-top: -15px;
        margin-bottom: 15px;
    }

    .service_content {
        padding: 48px 24px;
    }
}

/* news */
section.section-main-news-list {
    margin-top: 92px;
}

.section-main-news-list .courses_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.section-main-news-list .courses_list .course-item {
    padding: 24px;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(25% - 9px);
            flex: 0 0 calc(25% - 9px);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    position: relative;
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: -webkit-max-content auto;
    -ms-grid-rows: max-content auto;
    grid-template-rows: -webkit-max-content auto;
    grid-template-rows: max-content auto;
}

.section-main-news-list .courses_list .course-item:not(:last-child) {
    margin-right: 12px;
}

.section-main-news-list .courses_list .course-item:hover {
    background: #F7F7F7;
}

.section-main-news-list .courses_list .course-item .course-item-img {
    width: 100%;
    margin-bottom: 12px;
    padding-bottom: 62%;
    position: relative;
}

.course-item-img:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: -webkit-gradient(linear, left bottom, left top, from(#0000005e), to(rgba(0, 0, 0, 0)));
    background: -o-linear-gradient(bottom, #0000005e 0%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(360deg, #0000005e 0%, rgba(0, 0, 0, 0) 100%);
    border-radius: 10px;
    z-index: 2;
}

.section-main-news-list .courses_list .course-item .course-item-img img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 10px;
    position: absolute;
}

.course-item-textblock {
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: -webkit-max-content -webkit-max-content auto -webkit-max-content;
    -ms-grid-rows: max-content max-content auto max-content;
    grid-template-rows: -webkit-max-content -webkit-max-content auto -webkit-max-content;
    grid-template-rows: max-content max-content auto max-content;
}

.section-main-news-list .courses_list .course-item .course-item-date {
    font-size: 12px;
    font-weight: 400;
    color: #A30000;
    margin-bottom: 12px;
}

.section-main-news-list .courses_list .course-item h2.course-item-title, .section-main-news-list .courses_list .course-item h2.course-item-title a {
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 12px;
}

.section-main-news-list .courses_list .course-item h2.course-item-title a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.section-main-news-list .courses_list .course-item p {
    font-weight: 400;
    font-size: 13px;
    margin-bottom: 24px;
    color: #535151;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.section-main-news-list .courses_list .course-item a.detail-link {
    position: relative;
    z-index: 3;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    padding: 6px 24px;
    border: 1px solid #232323;
    border-radius: 30px;
    display: inline-block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.section-main-news-list .courses_list .course-item:hover a.detail-link {
    background: #0f3565;
    border-color: #0f3565;
    color: #fff;
}

@media (max-width:1024px){
    section.section-main-news-list {
        overflow: hidden;
    }
    
    body section.section-main-news-list .wrap {
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .section-main-news-list .courses_list {
        overflow-y: auto;
        padding: 0 2%;
    }

    .section-main-news-list .courses_list::-webkit-scrollbar {
        width: 0;
        display: none;
    }

    .section-main-news-list .courses_list .course-item {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 calc(30% - 9px);
                flex: 0 0 calc(30% - 9px);
    }
}

@media (max-width:991px){
    .section-main-news-list .courses_list .course-item:not(:last-child) {
        margin-right: 8px;
    }
    .section-main-news-list .courses_list .course-item {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 calc(47% - 6px);
                flex: 0 0 calc(47% - 6px);
    }
    .section-main-news-list .courses_list .course-item:hover {
        background: unset;
    }
    .section-main-news-list .courses_list .course-item h2.course-item-title, .section-main-news-list .courses_list .course-item h2.course-item-title a {
        font-size: 16px;
    }
    .section-main-news-list .courses_list .course-item p {
        font-size: 14px;
    }
    .section-main-news-list .courses_list .course-item a.detail-link {
        font-size: 12px;
    }
}

@media (max-width:560px){
    .section-main-news-list .courses_list .course-item {
        padding: 16px;
    }
    .section-main-news-list .courses_list .course-item {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 calc(90% - 6px);
                flex: 0 0 calc(90% - 6px);
    }
}

/* цена и кнопка регистрации */

.course-info-btn {
    position: absolute;
    z-index: 3;
    bottom: 12px;
    left: 12px;
}

.course-info-btn-item {
    background: #ffffff4d;
    -webkit-backdrop-filter: blur(19px);
            backdrop-filter: blur(19px);
    font-size: 12px;
    font-weight: 600;
    padding: 6px;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    outline: none;
    border: none;
}

button.course-info-btn-item.register_btn {
    cursor: pointer;
    margin-left: 4px;
}

button.course-info-btn-item.register_btn:hover {
    background: #F5000066;
}

/* apps */
.apps_wrapper {
    padding: 80px 0 65px;
    margin-bottom: -12px;
    background: #F2F2F7;
}

.apps_en {
    margin-top: 112px;
}

.apps_conteiner.wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    padding: 0 96px;
}

.apps_item {
    width: calc(20% - 16px);
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(20% - 16px);
            flex: 0 0 calc(20% - 16px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 10px 15px;
}

.apps_item:nth-child(5n+1) {
    margin-left: 0;
    margin-right: 10px;
}

.apps_item:nth-child(5n) {
    margin-left: 10px;
    margin-right: 0;
}

.apps_logo {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 68px;
            flex: 0 0 68px;
    width: 68px;
    margin-right: 10px;
}

.apps_logo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.15);
            box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.15);
}

.apps_info {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: -webkit-max-content auto -webkit-max-content;
    -ms-grid-rows: max-content auto max-content;
    grid-template-rows: -webkit-max-content auto -webkit-max-content;
    grid-template-rows: max-content auto max-content;
}

.apps_info h3 {
    font-size: 14px;
    font-weight: 600;
}

.apps_info p {
    color: rgba(128, 128, 128, 1);
    font-size: 12px;
    font-weight: 400;
    margin-top: 2px;
}

.apps_info a {
    color: rgba(0, 122, 255, 1);
    text-decoration: none;
    padding: 4px 28px;
    background: #fff;
    margin-top: 10px;
    display: inline-block;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

.apps_info a:hover {
    background: #f9fcff;
}

@media(max-width: 1199px){
    .apps_logo {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 58px;
                flex: 0 0 58px;
        width: 58px;
        margin-right: 7px;
    }

    .apps_item {
        width: calc(20% - 8px);
        -webkit-box-flex: 0;
            -ms-flex: 0 0 calc(20% - 8px);
                flex: 0 0 calc(20% - 8px);
        margin: 0 5px 15px;
    }
    
    .apps_item:nth-child(5n+1) {
        margin-right: 5px;
    }
    
    .apps_item:nth-child(5n) {
        margin-left: 5px;
    }
}

@media(max-width: 1024px){
    .apps_conteiner.wrap {
        padding: 0 48px;
    }
    .apps_item {
        width: calc(33.3% - 16px);
        -webkit-box-flex: 0;
            -ms-flex: 0 0 calc(33.3% - 16px);
                flex: 0 0 calc(33.3% - 16px);
        margin: 0 12px 15px;
    }

    .apps_item:nth-child(5n+1),
    .apps_item:nth-child(5n) {
        margin-left: 12px;
        margin-right: 12px;
    }
    
    .apps_item:nth-child(3n+1) {
        margin-right: 12px;
        margin-left: 0;
    }
    
    .apps_item:nth-child(3n) {
        margin-left: 12px;
        margin-right: 0;
    }
}

@media(max-width: 768px){
    .apps_wrapper {
        padding: 26px 0 14px;
    }
    
    .apps_conteiner.wrap {
        padding: 0 24px;
    }

    .apps_item {
        width: 100%;
        -webkit-box-flex: 0;
            -ms-flex: 0 0 100%;
                flex: 0 0 100%;
        margin: 0 0 12px;
    }

    .apps_item:nth-child(5n+1),
    .apps_item:nth-child(5n),
    .apps_item:nth-child(3n+1),
    .apps_item:nth-child(3n) {
        margin-left: 0;
        margin-right: 0;
    }

    .apps_logo {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 48px;
                flex: 0 0 48px;
        width: 48px;
        margin-right: 10px;
    }

    .apps_info {
        -ms-grid-columns: auto -webkit-max-content;
        -ms-grid-columns: auto max-content;
        grid-template-columns: auto -webkit-max-content;
        grid-template-columns: auto max-content;
    }

    .apps_info h3 {
        font-size: 12px;
    }
    
    .apps_info p {
        font-size: 10px;
    }

    .apps_info a {
        -ms-grid-row: 1;
        -ms-grid-row-span: 2;
        grid-row: 1 / 3;
        -ms-grid-column: 2;
        -ms-grid-column-span: 1;
        grid-column: 2/3;
        height: -webkit-max-content;
        height: -moz-max-content;
        height: max-content;
        margin: 0;
    }
}

/* footer */
#footer {
  padding: 50px 0;
  background: #2a2b34 url("../img/footer.png") center no-repeat;
  background-size: cover;
  margin-top: 12px;
}
#footer .logo img {
  margin-bottom: 145px;
  height: 60px;
}
#footer .social {
  margin-bottom: 50px;
}
#footer .social a {
  display: inline-block;
  border: 1px solid #FFFFFF;
  margin-left: 50px;
}

#footer .social a img {
  height: 70px;
  width: 70px;
}

#footer .social a:first-child {
  margin-left: 0;
}
#footer p {
  color: #FFFFFF;
  font-size: 12px;
  width: 50%;
}
#footer p a {
  color: #FFFFFF;
  font-size: 12px;
}

.popup_messageForm {
    display: none;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    z-index: 10001;
}

.popup_messageForm.is-visible {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    opacity: 1;
    visibility: visible;
}

.thanksp {
    padding: 73px 60px;
    max-width: 740px;
    width: 95%;
    background: #fff url(../img/babai.png) no-repeat right center / auto 100%;
    position: relative;
}

.close {
    width: 20px;
    height: 20px;
    opacity: .7;
    position: absolute;
    text-decoration: none;
    left: 15px;
    top: 15px;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    font-size: 20px;
    line-height: 20px;
}

@media screen and (max-width: 991px) {
    #footer .social a {
        margin-left: 12px;
        width: 55px;
        height: 55px;
    }

    #footer .social a img {
        width: 100%;
        height: auto;
        display: block;
    }
}

@media screen and (max-width: 960px) {
    #footer{
        padding:5% 0;
        text-align:center;
    }
    #footer .social{
        margin-bottom:5%;
        overflow:hidden;
        text-align:center;
    }
    #footer p{
        width:100%;
        font-size:11px;
    }

    div#regform_wrapper_formInPage,
    .popup.thanksp {
        text-align: left;
    }
}

@media (max-width:991px){
    #home .wrap-flex section.section-main-0-en {
        margin-top: 64px;
    }
    #home .wrap-flex section.courses_en {
        margin-top: 52px;
    }
    .advantages_conteiner.wrap {
        margin-bottom: 28px;
    }

    section.section-main-news-list {
        margin-top: 46px;
    }
    .apps_en {
        margin-top: 64px;
    }
}