@font-face {
    font-family: 'Gilroy_Bold';
    src: url('../fonts/Gilroy-Bold.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'AvenirNextCyr';
    src: url('../fonts/AvenirNextCyr-Regular.ttf') format('truetype');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'AvenirNextCyr';
    src: url('../fonts/AvenirNextCyr-Medium.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'AvenirNextCyr';
    src: url('../fonts/avenirnextcyr-demi.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'AvenirNextCyr';
    src: url('../fonts/avenirnextcyr-bold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'AvenirNextCyr';
    src: url('../fonts/AvenirNextCyr-Heavy.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

body {
    font-family: 'AvenirNextCyr';
    font-weight: 400;
}

.navbar-brand:hover,
.nav-link:hover {
    color: #d61148 !important;
}

.navbar-toggler-icon {
    border: 1px solid #000;
    width: auto;
    height: auto;
    padding: 0px 5px;
}

.navbar-toggler-icon:after {
    content: "\f20e";
    font-family: IonIcons;
    font-size: 28px;
    position: relative;
    font-weight: 600;
    transition: .3s all;
}

.bg_all {
    overflow: hidden;
}

.navbar-brand {
    font-size: 24px;
    font-family: 'AvenirNextCyr';
    color: #000;
    font-weight: 600;
    width: 18%;
}

.navbar-brand img {
    width: 100%;
    position: relative;
    top: -8px;
}

.wrap-tel-header a {
    color: #151e34;
    font-family: 'AvenirNextCyr';
    font-weight: 500;
    font-size: 17px;
}

.header-messengers {
    display: flex;
    justify-content: space-between;
}

.header-messengers img:hover {
    filter: brightness(0);
}

.header-messengers img {
    height: 24px;
    margin-top: 5px;
    flex: 0 0 24px;
    transition: filter .4s;
}

.nav-item a {
    text-transform: uppercase;
    font-size: 16px;
    color: #000;
    font-family: 'AvenirNextCyr';
    font-weight: 400;
    padding: 0;
}

.nav-item a:hover {
    color: #151e34;
    transition: all 0.1s ease-out;
}

.header__main .head_car_phares {
    opacity: 0;
    animation-duration: 1.2s;
    animation-delay: 1s;
    animation-name: head_car_phares_animation;
    animation-iteration-count: 2;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.phone_numb.input_1 {
    width: 280px;
    padding: 10px;
    text-align: center;
}

.text-vopros {
    color: #fff;
    font-weight: 600;
    font-size: 20px;
}

.whitebg-wopros {
    margin-top: 80px;
}

.whitebg-wopros .text-vopros {
    color: #000;
}

#about {
    background: linear-gradient(45deg, #0f121e, #404461);
}

#about-footer {
    padding: 40px 0 100px 0;
    background: linear-gradient(45deg, #0f121e, #404461);
}

@media(min-width: 768px) {
    .form-vopros {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .wrap-tel-header {
        margin-left: 40px;
    }
    .header__menu {
        padding-top: 40px;
    }
    .header__main {
        margin-top: 40px;
    }
    .form-vopros-wrap {
        display: flex;
    }
    .form-vopros-wrap form {
        display: flex;
    }
    .form-vopros-wrap button {
        margin-left: 20px;
    }
}

@media(max-width: 767px) {
    .wrap-tel-header {
        display: flex;
        flex-wrap: wrap;
        order: 2;
    }
    .wrap-tel-header>a {
        order: 2;
        display: flex;
        width: 100%;
    }
    .header-messengers {
        display: flex;
        justify-content: space-between;
        order: 1;
    }
    #navbarsDefault {
        flex-wrap: wrap;
    }
    #navbarsDefault ul {
        order: 1;
        width: 100%;
    }
    .wrap-zvonok-btn {
        order: 3;
        width: 1 00%;
    }
}

.main-header-promo {
    display: flex;
    margin-top: 40px;
}

.pict-promo img {
    max-width: 70px;
}

.text-promo {
    margin-left: 30px;
    display: flex;
    align-items: center;
    line-height: 1.5;
    font-size: 120%;
}

.text-promo span {
    font-weight: 600;
}

.modtable {
    margin: 80px 0 30px 0;
}

@media(max-width: 1200px) {
    .main-header-promo {
        margin-top: 40px;
        align-items: center;
        justify-content: center;
    }
}

.table-striped tbody tr:nth-of-type(2n+1) {
    background-color: rgba(255, 255, 255, .2);
}

.modtable td {
    color: #fff;
    font-size: 16px;
    padding: 15px;
    font-family: 'AvenirNextCyr';
    font-weight: 600;
}

.oplata-variant {
    font-family: 'AvenirNextCyr';
    color: #fff;
    font-style: italic;
    font-size: 18px;
    margin-bottom: 80px;
}

.modtable td:nth-child(1) {
    padding: 15px;
}

.modtable td:nth-child(2) {
    text-align: center;
}

a:hover {
    text-decoration: none;
    cursor: pointer;
}

.btn_white {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #fff;
    font-size: 16px;
    font-family: 'AvenirNextCyr';
    font-weight: 600;
    outline: none !important;
    transition: all 0.3s ease;
    -webkit-transition: 0.3s ease-out;
    -o-transition: 0.3s ease-out;
    -moz-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
    position: relative;
    border: 1px solid #000;
    letter-spacing: 1px;
    color: #000;
    box-shadow: 0 5px 10px -15px rgba(0, 0, 0, 0.4);
    padding: 15px 25px;
}

.btn_white:hover {
    color: #000;
    box-shadow: 0 25px 10px -15px rgba(0, 0, 0, 0.4);
}

.accordion {
    width: 100%;
    display: flex;
}

.accordion__item {
    width: 25%;
    padding: 15px;
}

.accordion-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.accordion-header>span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.accordion-header>span:nth-child(2) {
    font-size: 18px;
    text-align: center;
    font-weight: 600;
    margin: 10px 0 15px 0;
}

.accordion-body__contents {
    text-align: center;
}

.accordion-header {
    background: #fff;
}

.pict-car img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.text-car {
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    margin-top: 15px;
}

.wrap-auto {
    padding-top: 30px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #d61148;
}

footer .container .wrap-inner-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.footer-cont {
    display: flex;
}

.logo-footer {
    font-size: 24px;
    font-family: 'AvenirNextCyr';
    color: #fff;
    font-weight: 600;
    padding: 10px 0;
}

.footer-btn-wrap .btn_orange {
    padding: 10px;
    height: auto;
    color: #fff !important;
}

.footer-tel-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 30px;
}

.footer-tel-wrap .btn_tel_footer {
    color: #fff !important;
    font-weight: 600;
}

#map {
    width: 100%;
    min-height: 400px;
}

footer {
    margin-top: -85px;
    padding: 15px 0;
}

.accordionv {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.accordion-headerv,
.accordion-bodyv {
    background: #fff;
}

.accordion-body__contentsv {
    text-align: left;
    padding: 15px 30px;
}

.accordion__itemv {
    width: 100%;
    padding: 0px;
    margin-bottom: 7px;
}

.js-accordion-itemv.active .accordion-headerv {
    border-color: #F6F4F7;
}

.js-accordion-itemv.active .accordion-bodyv,
.js-accordion-itemv.active .accordion-headerv {
    background-color: #F6F4F7;
}

.accordion-bodyv {
    display: none;
}

.accordion-headerv {
    display: block;
    border: 1px solid #eee;
    padding: 15px 15px 15px 30px;
    position: relative;
    z-index: 3;
}

.accordion__itemv.active>.accordion-headerv::after {
    transform: rotate(-180deg);
}

.accordion__itemv>.accordion-headerv::after {
    content: "\f3d0";
    font-family: IonIcons;
    font-size: 1.2em;
    float: right;
    position: relative;
    top: 0px;
    transition: .3s all;
    transform: rotate(0deg);
}

.accordion-headerv img {
    max-width: 25px;
    margin-right: 20px;
}

.accordion-headerv>span {
    width: auto;
    display: inline-block;
    position: relative;
    z-index: 1;
    font-size: 18px;
    font-weight: 600;
}

.accordion-headerv>span:nth-child(2) {
    margin: 0px;
}

#textbook .phone_numb.input_1 {
    width: 300px;
}

#about-footer {
    position: relative;
}

#about-footer .container {
    z-index: 2;
    position: relative;
}

#about-footer .contacts__main {
    background: none;
    z-index: 0;
}

.wrap-appoint {
    display: flex;
}

.wrap-appoint>div {
    color: #fff;
    display: flex;
    margin-top: 10px;
}

.wrap-appoint>div>span:nth-child(2) {
    margin-right: 20px;
    margin-left: 10px;
    font-size: 16px;
}

.appoint-ico span {
    color: #d61148;
    font-size: 28px;
}

.wrap-appoint {
    margin-top: 40px;
    margin-bottom: 20px;
}

.wrap-img-prepod img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.zag-prepod {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
}

.text-prepod {
    display: flex;
    flex-wrap: wrap;
}

.text-prepod>span {
    width: 100%;
}

.phone-top-mob {
    display: none;
}

@media(max-width: 991px) {
    .wrap-zvonok-btn {
        display: none;
    }
    #about-footer .about__main__item p {
        padding: 0 15px;
    }
    #about-footer .about__main__item {
        margin-top: 60px;
    }
    .accordion {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .accordion-header,
    .accordion-body {
        background: #fff;
    }
    .accordion-body__contents {
        text-align: left;
    }
    .accordion__item {
        width: 100%;
        padding: 0px;
        margin-bottom: 7px;
    }
    .js-accordion-item.active .accordion-header {
        border-color: #F6F4F7;
    }
    .js-accordion-item.active .accordion-body,
    .js-accordion-item.active .accordion-header {
        background-color: #F6F4F7;
    }
    .accordion-body {
        display: none;
    }
    .accordion-header {
        display: block;
        border: 1px solid #eee;
        padding: 10px;
        position: relative;
        z-index: 3;
    }
    .accordion__item.active>.accordion-header::after {
        transform: rotate(-180deg);
    }
    .accordion__item>.accordion-header::after {
        content: "\f3d0";
        font-family: IonIcons;
        font-size: 1.2em;
        float: right;
        position: relative;
        top: 5px;
        transition: .3s all;
        transform: rotate(0deg);
    }
    .accordion-header img {
        max-width: 25px;
        margin-right: 20px;
    }
    .accordion-header>span {
        width: auto;
        display: inline-block;
        position: relative;
        z-index: 1;
    }
    .accordion-header>span:nth-child(2) {
        margin: 0px;
    }
    .form-vopros {
        flex-wrap: wrap;
    }
    .text-vopros {
        text-align: center;
        width: 100%;
    }
    .form-vopros-wrap {
        width: 100%;
        align-items: center;
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }
    .about__main__item {
        margin-top: 0px;
    }
    .about__main {
        margin-top: 0px;
    }
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media(max-width: 767px) {
    .mobslider {
        position: relative;
        padding: 0 50px;
    }
    .bg_all {
        background: none;
    }
    .padd15p {
        padding: 0 15px;
    }
    .header__main {
        margin-top: 45px;
    }
    .navbar-toggler {
        display: flex;
    }
    .navbar-brand {
        flex-shrink: 2;
        flex-grow: 1;
    }
    .phone-top-mob {
        display: flex;
        border: 1px solid #000;
        padding: 0px 6px;
        color: #000;
        height: 30px;
        line-height: 30px;
        width: 30px;
    }
    .phone-top-mob:after {
        content: "\f2d2";
        font-family: IonIcons;
        font-size: 21px;
        position: relative;
        font-weight: 600;
        transition: .3s all;
    }
    #navbarsDefault {
        background-color: rgba(255, 255, 255, .8);
        padding: 10px;
    }
    .navbar-nav.mr-auto {
        padding-left: 0px;
        margin-bottom: 40px;
        margin-top: 20px;
    }
    .navbar-nav.mr-auto li {
        padding-bottom: 10px;
    }
    .wrap-zvonok-btn {
        margin-bottom: 20px;
    }
    .header-messengers {
        margin-bottom: 10px;
    }
    .header-messengers>a {
        margin-right: 4px;
    }
    .wrap-zvonok-btn {
        display: flex;
    }
    .header__menu {
        padding: 0px 0px 0 0px;
        position: relative;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px
    }
    .header__menu .container {
        padding-left: 0px;
        padding-right: 0px;
    }
    .navbar-brand {
        padding-left: 15px;
    }
    .navbar-brand img {
        width: 50%;
        position: relative;
        top: 0;
    }
    .navbar-toggler {
        margin-right: 5px;
    }
    .navbar {
        padding-left: 0px;
        padding-right: 0px;
    }
    .pict-car {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #navbarsDefault {
        background-color: rgba(255, 255, 255, .95);
        padding: 10px 15px 20px 15px;
        position: absolute;
        top: 100%;
        left: 0px;
        width: 100%;
        z-index: 9;
    }
    .btn_white {
        width: auto;
        height: auto;
        padding: 7px 15px;
    }
    #about-footer {
        padding: 40px 0 0px 0;
    }
    .about__main__item {
        margin-top: 80px;
    }
    .wrap-appoint {
        flex-wrap: wrap;
    }
    .oplata-variant {
        text-align: left;
    }
    .swiper-button-next,
    .swiper-button-prev {
        display: block;
    }
    .about__main {
        margin-top: 75px;
    }
    .text-vopros {
        font-size: 18px;
    }
    .form-vopros-wrap button {
        margin-top: 15px;
        width: 280px;
        height: 44px;
    }
    .footer-cont {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .footer-btn-wrap {
        margin-top: 10px;
        order: 2;
        display: flex;
    }
    .footer-tel-wrap {
        order: 1;
        display: flex;
        width: 100%;
        margin-left: 0px;
    }
}

@media(min-width: 1200px) {
    #about-footer .about__main__item {
        width: 570px;
        margin-top: 0;
    }
    #about-footer .about__main__item h2 {
        text-align: left;
    }
    #wrap-prepodavateli>div {
        display: flex;
        flex-wrap: wrap;
    }
    #wrap-prepodavateli .item-prepod {
        width: 33%;
        display: flex;
        padding: 15px;
        box-sizing: border-box;
    }
    #wrap-prepodavateli .swiper-button-next,
    #wrap-prepodavateli .swiper-button-prev {
        display: none;
    }
    .wrap-text-prepod {
        padding-left: 10px;
    }
}

@media(max-width: 1199px) {
    #about-footer .contacts__main .avto {
        display: none;
    }
    .wrap-img-prepod-slider img {
        display: inline-block;
        max-width: 100% height: auto;
    }
    .zag-prepod {
        margin-top: 15px;
    }
}

.appoint-ico span {
    color: #d61148;
}

.appoint-ico span::after {
    content: "\f456";
    font-family: IonIcons;
    font-size: 1.2em;
    float: right;
    position: relative;
    top: 0px;
    transition: .3s all;
    transform: rotate(0deg);
}

#wrap-prepodavateli .swiper-wrapper img {
    /* filter: grayscale(100%); */
}

#wrap-prepodavateli .swiper-wrapper img:hover {
    filter: grayscale(0%);
}

.pict-promo img {
    width: 45px;
}

.pict-promo>div {
    display: flex;
}

.wrap-auto {
    position: relative;
    padding: 0 50px;
}

.modal-body input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    height: 44px;
}

.modal-body .btn_orange {
    width: auto;
    padding: 10px 20px;
    height: auto;
    margin-top: 10px;
}

.modal-body .phone_numb.input_1 {
    width: 100%;
    padding: 10px;
    text-align: left;
}

#erconts ul,
#erconts2 ul,
#erconts3 ul,
#erconts4 ul,
#erconts5 ul {
    list-style: none;
}

#erconts,
#erconts3,
#erconts4 {
    color: #fff;
    text-align: right;
    padding: 10px 0;
    font-size: 120%;
    font-weight: 600;
    padding: 0px;
    height: auto;
    background: transparent;
    border: none;
    list-style: none;
}

#erconts2 {
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 120%;
    font-weight: 600;
    padding: 0px;
    height: auto;
    background: transparent;
    border: none;
    list-style: none;
}

.modal-title {
    font-size: 18px;
}

#erconts3,
#erconts4 {
    color: #000;
}

@media(min-width: 768px) {
    #prepodavateli .swiper-button-next,
    #prepodavateli .swiper-button-prev {
        display: none !important;
    }
}

@media(max-width: 767px) {
    .pict-promo img {
        width: 30px;
    }
    #erconts,
    #erconts2,
    #erconts3,
    #erconts4 {
        text-align: center;
    }
    .navbar-nav .nav-link {
        font-size: 30px;
    }
    #navbarsDefault.show {
        height: calc(100vh - 51px);
        display: flex !important;
        flex-wrap: wrap;
    }
    .wrap-zvonok-btn {
        width: 100%;
    }
    .wrap-zvonok-btn .btn_white {
        width: 100%;
        background: linear-gradient(45deg, #d61148, #ff5518);
        box-shadow: none;
        color: #fff;
    }
}

@media(max-width: 500px) {
    .header__main {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .header__main h1 {
        margin-top: 40px;
        order: 2;
    }
    .main-header-promo {
        margin-top: 30px;
        order: 3;
    }
    .header__main .btn_orange {
        order: 4;
    }
}
.dev_promo {
    width: 100%;
    text-align: center;
    color: #ffffff;
    background-color: #252637;
    padding: 10px 0;
}
.dev_promo a{
    color: #fe5419 !important;
    text-decoration: underline;
}
.old_price {
    position: relative;
    margin-right: 15px;
}
.old_price:before {
    border-bottom: 2px solid #fe5419;
    position: absolute;
    content: "";
    width: 150%;
    height: 60%;
    transform: rotate(-7deg);
    right: -8px;
}
.new_price {

}

/* ==== Блок "Тренажёр" ==== */
.trenazher {
    background: #fff;
    padding: 45px 0;
    position: relative;
    z-index: 2;
}

.trenazher__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    background: #F6F4F7;
    border-radius: 10px;
    overflow: hidden;
}

.trenazher__img,
.trenazher__text {
    width: 100%;
}

.trenazher__img {
    overflow: hidden;
}

.trenazher__img img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
}

.trenazher__text {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trenazher__text h2 {
    color: #151e34;
    text-align: left;
    font-family: 'AvenirNextCyr';
    font-weight: 600;
    margin-bottom: 18px;
}

.trenazher__text p {
    color: #4a4a4a;
    font-family: 'AvenirNextCyr';
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.trenazher__list {
    margin: 0 0 25px 0;
    padding: 0;
    list-style: none;
}

.trenazher__list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    font-family: 'AvenirNextCyr';
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.5;
}

.trenazher__list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(45deg, #d61148, #ff5518);
}

.trenazher .btn_orange {
    width: 100%;
    height: 56px;
}

@media(min-width: 768px) {
    .trenazher__img,
    .trenazher__text {
        width: 50%;
    }
    .trenazher__img img {
        height: 100%;
        min-height: 380px;
    }
    .trenazher__text {
        padding: 50px;
    }
    .trenazher__text h2 {
        font-size: 26px;
    }
    .trenazher .btn_orange {
        width: 260px;
        height: 65px;
    }
}

@media(max-width: 767px) {
    .trenazher {
        padding: 35px 0;
    }
    .trenazher__text {
        padding: 22px 18px;
    }
    .old_price {
        margin-right: 0px;
    }
}