* {
    padding: 0;
    margin: 0;
    border: 0
}

*, :after, :before {
    box-sizing: border-box
}

body, html {
    height: 100%;
    width: 100%;
    font-size: 100%
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit
}

a {
    color: inherit
}

input, select {
    outline: 0
}

a, a:hover, a:visited {
    text-decoration: none
}

aside, footer, header, nav {
    display: block
}

button, input, select, textarea {
    font: inherit
}

input::-ms-clear {
    display: none
}

button::-moz-focus-inner {
    padding: 0;
    border: 0
}

ol, ul {
    list-style: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

input::-webkit-inner-spin-button, input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none
}

input[type=button], input[type=email], input[type=password], input[type=radio], input[type=tel], input[type=text], select, textarea {
    color: currentColor;
    -webkit-appearance: none;
    appearance: none
}

textarea {
    overflow-y: auto;
    resize: none
}

button {
    background-color: transparent;
    cursor: pointer;
    color: currentColor
}

select {
    cursor: pointer
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder {
    -ms-transition: opacity .3s ease;
    transition: opacity .3s ease
}

input::placeholder, textarea::placeholder {
    transition: opacity .3s ease
}

input:focus:-ms-input-placeholder, textarea:focus:-ms-input-placeholder {
    opacity: 0
}

input:focus::placeholder, textarea:focus::placeholder {
    opacity: 0
}

:root {
    --color-main: #525252;
    --color-accent: linear-gradient(282.73deg, #e26b1a 20.23%, #ffa162 82.67%);
    --color-subaccent: #e36c1b;
    --color-rare: #e0544e
}

body {
    font-family: 'Futura New', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    color: var(--color-main);
    letter-spacing: .1px
}

.main {
    background-color: #fdf9f4;
    background-image: url(../img/decoration.png);
    background-position: 140% 0;
    background-size: 600px;
    background-repeat: no-repeat;
    flex: 1 0 auto
}

.footer, .header {
    flex-shrink: 0
}

.footer{clear: both;}

.mfp-image-holder .mfp-content {
    width: 60%;
    max-width: 1400px
}

.mfp-image-holder .mfp-content img.mfp-img {
    width: 100%;
    object-fit: contain;
}

.mfp-figure:after{
    background: none;
    box-shadow: none;
}

.mfp-iframe-holder .mfp-content {
    max-width: 60%
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 5px;
    padding: 9px;
    transition: .3s;
    height: 40px
}

.btn img {
    width: 22px;
    height: 22px;
    -o-object-fit: contain;
    object-fit: contain
}

.btn:hover {
    filter: contrast(111%)
}

.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    border-radius: 5px;
    padding: 5px;
    color: #fff;
    font-weight: 450;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    transition: .3s
}

.btn-accent img {
    width: 24px;
    height: 24px;
    -o-object-fit: contain;
    object-fit: contain
}

.btn-accent:hover {
    filter: contrast(111%)
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f4ee;
    border-radius: 5px;
    padding: 3px;
    transition: .3s;
    height: 41px;
    width: 41px
}

.btn-icon img {
    background-color: #fff;
    border-radius: 5px;
    padding: 6px;
    width: 35px;
    height: 35px;
    -o-object-fit: contain;
    object-fit: contain
}

.title {
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #1d1d1d
}

.title-rare {
    display: inline-block;
    font-weight: 450;
    font-size: 45px;
    line-height: 55px;
    color: #4f4f4f;
    position: relative
}

.title-rare::after, .title-rare::before {
    position: absolute;
    content: '';
    top: calc(50% - 5px / 2);
    width: 32px;
    height: 5px;
    background: url(../img/icons/decor.png);
    background-repeat: no-repeat;
    background-size: contain
}

.title-rare::before {
    left: -50px
}

.title-rare::after {
    right: -50px;
    transform: scale(-1, 1)
}

.title-accent {
    font-weight: 450;
    font-size: 45px;
    line-height: 55px;
    letter-spacing: .1px;
    color: #4f4f4f;
    position: relative
}

.title-accent::before {
    position: absolute;
    display: block;
    content: '';
    top: 25px;
    left: -50px;
    width: 32px;
    height: 5px;
    background: url(../img/icons/decor.png);
    background-repeat: no-repeat;
    background-size: contain
}

.subtitle {
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    color: #1d1d1d
}

.custom-select {
    position: relative
}

.custom-select select {
    display: none
}

.select-selected {
    background-color: #fff;
    height: 40px;
    width: 65px;
    border-radius: 5px
}

.select-selected:after {
    position: absolute;
    content: '';
    top: 12px;
    right: 10px;
    width: 15px;
    height: 15px;
    background-image: url(../img/icons/arrow-down.png);
    background-size: contain;
    background-repeat: no-repeat
}

.select-items div, .select-selected {
    padding: 8px 15px;
    cursor: pointer
}

.select-items {
    position: absolute;
    background-color: #fff;
    box-shadow: 0 2px 5px -1px rgba(0, 0, 0, .1);
    border-radius: 5px;
    top: 120%;
    left: 0;
    right: 0;
    z-index: 99
}

.select-hide {
    display: none
}

.select-items div:hover {
    background-color: var(--color-subaccent);
    color: #fff;
    border-radius: 5px
}

@font-face {
    font-family: 'Futura New';
    src: url(FuturaNewLight-Reg.eot.html);
    src: local("Futura New Light Reg"), local("FuturaNewLight-Reg"), url(../fonts/FuturaNewLight-Reg.woff2) format("woff2"), url(../fonts/FuturaNewLight-Reg.woff) format("woff"), url(../fonts/FuturaNewLight-Reg.ttf) format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'Futura New';
    src: url(FuturaNewBook-Reg.eot.html);
    src: local("Futura New Book Reg"), local("FuturaNewBook-Reg"), url(../fonts/FuturaNewBook-Reg.woff2) format("woff2"), url(../fonts/FuturaNewBook-Reg.woff) format("woff"), url(../fonts/FuturaNewBook-Reg.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'Futura New';
    src: local("Futura New Medium Reg"), local("FuturaNewMedium-Reg"), url(../fonts/FuturaNewMedium-Reg.woff2) format("woff2"), url(../fonts/FuturaNewMedium-Reg.woff) format("woff"), url(../fonts/FuturaNewMedium-Reg.ttf) format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'Futura New';
    src: url(FuturaNewDemi-Reg.eot.html);
    src: local("Futura New Demi Reg"), local("FuturaNewDemi-Reg"), url(../fonts/FuturaNewDemi-Reg.woff2) format("woff2"), url(../fonts/FuturaNewDemi-Reg.woff) format("woff"), url(../fonts/FuturaNewDemi-Reg.ttf) format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'Futura New';
    src: url(FuturaNewBold-Reg.eot.html);
    src: local("Futura New Bold Reg"), local("FuturaNewBold-Reg"), url(../fonts/FuturaNewBold-Reg.woff2) format("woff2"), url(../fonts/FuturaNewBold-Reg.woff) format("woff"), url(../fonts/FuturaNewBold-Reg.ttf) format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'Futura New';
    src: url(FuturaNewExtraBold-Reg.eot.html);
    src: local("Futura New ExtraBold Reg"), local("FuturaNewExtraBold-Reg"), url(FuturaNewExtraBold-Reg.eot@.html) format("embedded-opentype"), url(../fonts/FuturaNewExtraBold-Reg.woff2) format("woff2"), url(../fonts/FuturaNewExtraBold-Reg.woff) format("woff"), url(../fonts/FuturaNewExtraBold-Reg.ttf) format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'Futura New';
    src: url(FuturaNewHeavy-Reg.eot.html);
    src: local("Futura New Heavy Reg"), local("FuturaNewHeavy-Reg"), url(../fonts/FuturaNewHeavy-Reg.woff2) format("woff2"), url(../fonts/FuturaNewHeavy-Reg.woff) format("woff"), url(../fonts/FuturaNewHeavy-Reg.ttf) format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap
}

.breadcrumbs {
    padding-top: 10px;
    margin-bottom: 30px
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap
}

.breadcrumbs ol li {
    font-size: 12px;
    line-height: 24px;
    font-weight: 500px;
    color: #000
}

.breadcrumbs ol li:not(:last-child) {
    margin-left: 3px
}

.breadcrumbs ol li:not(:last-child)::after {
    content: '/';
    margin-right: 3px
}

.breadcrumbs ol a {
    -webkit-text-decoration-line: underline;
    text-decoration-line: underline;
    color: #e0544e
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center
}

.pagination ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center
}

.pagination ul li {
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: inline-block;
    font-size: 16px;
    line-height: 16px;
    margin: 5px;
    text-align: center;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.pagination ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%
}

.pagination ul li.active {
    color: #fff;
    font-weight: 700;
    background-color: #e36c1b
}

.pagination ul li:hover {
    filter: contrast(111%)
}

.pagination ul li:first-child, .pagination ul li:last-child {
    width: 36px;
    height: 36px;
    background-color: #e36c1b
}

.pagination ul li:first-child img, .pagination ul li:last-child img {
    width: 21px;
    height: 21px
}

.header__body {
    background-color: #f4f4f4;
    position: relative;
    z-index: 10
}

.header__inner {
    min-height: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.header__logo {
    width: 118px;
    /*height: 31px;*/
    height: 80%;
    flex-shrink: 0;
    margin-right: 22px
}

.header__logo img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    -o-object-fit: contain;
    object-fit: contain
}

.header__search {
    width: 100%;
    margin-right: 17px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center
}

.header__search input {
    padding: 10px 50px 10px 10px;
    height: 40px;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
    line-height: 19px
}

.header__search input:-ms-input-placeholder {
    font-weight: 300;
    color: #a9a9a9
}

.header__search input::placeholder {
    font-weight: 300;
    color: #a9a9a9
}

.header__search-btn {
    position: absolute;
    top: 3px;
    right: 3px;
    bottom: 3px
}

.header__tel {
    display: flex;
    align-items: center;
    min-width: 215px
}

.header__tel-btn {
    display: flex;
    align-items: center;
    flex-shrink: 0
}

.header__tel-icon {
    margin-right: 10px
}

.header__tel-text {
    display: inline-block;
    font-size: 18px;
    line-height: 22px;
    color: #3e3e3e
}

.header__btn {
    height: 40px;
    min-width: 197px;
    padding: 11px 14px;
    margin-right: 12px
}

.header__lang {
    font-size: 18px;
    line-height: 22px
}

.header__burger {
    order: 4;
    flex-shrink: 0
}

.menu {
    background: #fff;
    box-shadow: 0 10px 25px rgba(176, 176, 176, .25)
}

.menu__btn {
    margin-top: -10px;
    margin-bottom: -10px;
    padding: 8px 22px;
    display: none
}

.menu__btn img {
    width: 21px;
    height: 10px;
    margin-right: 10px
}

.menu__inner {
    display: flex;
    flex-direction: column;
    justify-content: center
}

.menu__inner > ul {
    min-height: 45px
}

.menu a {
    position: relative
}

.menu a:hover {
    text-decoration: underline
}

.menu ul {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 18px;
    line-height: 22px;
    flex-wrap: wrap;
    row-gap: 20px;
    column-gap: 20px;
    margin: 20px 0;
}

.menu ul > li {
    position: relative;
    flex-basis: 15%;
}

.menu .menu__inner > ul > li:last-child > ul {
    right: -40px;
    left: auto
}

.menu .menu__inner > ul > li:last-child > ul > li > ul, .menu .menu__inner > ul > li:nth-last-child(2) > ul > li > ul {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 25px
}

.menu .menu__inner > ul > li:last-child > ul > li > ul::before, .menu .menu__inner > ul > li:nth-last-child(2) > ul > li > ul::before {
    left: auto;
    right: -28px
}

.menu ul li:hover > span::after {
    transform: rotate(-180deg)
}

.menu ul ul ~ span {
    cursor: default;
    position: relative;
    padding-right: 18px
}

.menu ul ul ~ span::after {
    position: absolute;
    right: 0;
    top: 5px;
    content: '';
    width: 15px;
    height: 15px;
    transition: .2s;
    background-image: url(../img/icons/arrow-down.png);
    background-repeat: no-repeat;
    background-size: contain;
    display: none;
}
.menu ul li:has(> ul)::after {
    position: absolute;
    right: 0;
    top: 5px;
    content: '';
    width: 15px;
    height: 15px;
    transition: .2s;
    background-image: url(../img/icons/arrow-down.png);
    background-repeat: no-repeat;
    background-size: contain
}

@media (max-width: 450px) {
    .menu ul ul ~ span::after {
        display: initial;
    }
    .menu ul li:has(> ul)::after {
        display: none;
    }

}

.menu ul ul {
    display: none;
    z-index: 100;
    margin-top: 26px;
    background-color: #fff;
    box-shadow: 0 10px 25px rgba(176, 176, 176, .25);
    border-radius: 2px;
    padding: 16px 0 10px 0;
    min-width: 294px;
    position: absolute;
    top: 100%;
    left: -40px
}

.menu ul ul::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 26px;
    top: -26px;
    left: 0;
    background: 0 0
}

.menu ul ul li {
    padding: 4px 23px 4px 23px;
    font-size: 16px;
    line-height: 24px;
    position: relative;
    color: #525252
}

.menu ul ul li:hover > a::after {
    transform: rotate(-90deg)
}

.menu ul ul li:hover > ul {
    display: block
}

.menu ul ul ul ~ a {
    padding-right: 18px
}

.menu ul ul ul ~ a::after {
    position: absolute;
    right: 0;
    top: 8px;
    content: '';
    width: 10px;
    height: 8px;
    transition: .2s;
    background-image: url(../img/icons/arrow-down-grey.png);
    background-repeat: no-repeat;
    background-size: contain
}

.menu ul ul ul {
    display: none;
    position: absolute;
    z-index: 101;
    margin-left: 25px;
    top: 0;
    left: 100%;
    background-color: #fff;
    box-shadow: 0 10px 25px rgba(176, 176, 176, .25);
    border-radius: 2px;
    padding: 16px 30px 10px 0;
    min-width: auto;
    width: -webkit-max-content;
    width: max-content;
    max-width: 258px
}

.menu ul ul ul::before {
    position: absolute;
    content: '';
    width: 28px;
    height: 150%;
    top: 0;
    left: -28px;
    transform: translateY(-25%);
    background: 0 0
}

.menu ul ul ul::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 50px;
    top: -50px;
    left: 0;
    background: 0 0
}

.burger {
    border-radius: 5px;
    width: 34px;
    height: 34px;
    position: relative
}

.burger.active .burger__inner {
    background: 0 0;
    transform: translateX(-50px)
}

.burger.active .burger__inner::before {
    top: -1px;
    transform: rotate(45deg) scale(.85) translate(32px, -32px)
}

.burger.active .burger__inner::after {
    top: -1px;
    width: 100%;
    transform: rotate(-45deg) scale(.85) translate(32px, 32px)
}

.burger__inner {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.burger__inner::after, .burger__inner::before {
    display: block;
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: #fff
}

.burger__inner::before {
    top: -7px
}

.burger__inner::after {
    top: 7px;
    right: 0
}

.footer__body {
    border-top: 1px solid #ede6df;
    background-color: #fdf9f4;
    overflow: hidden
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 110px;
    height: 110px
}

.footer__logo {
    width: 250px;
    /*height: 31px;*/
    height: 70%;
    margin-right: 10px
}

.footer__logo img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    -o-object-fit: contain;
    object-fit: contain
}

.footer__tel {
    display: flex;
    align-items: center;
    margin-right: 10px
}

.footer__tel-btn {
    display: flex;
    align-items: center
}

.footer__tel-icon {
    margin-right: 10px
}

.footer__tel-text {
    font-size: 16px;
    line-height: 24px;
    color: #717171
}

.footer__email {
    display: flex;
    align-items: center;
    margin-right: 10px
}

.footer__email-btn {
    display: flex;
    align-items: center
}

.footer__email-icon {
    margin-right: 10px
}

.footer__email-text {
    font-size: 16px;
    line-height: 24px;
    color: #717171
}

.footer__address {
    display: flex;
    align-items: center
}

.footer__address-btn {
    margin-right: 10px
}

.footer__address-text {
    /*margin-top: 20px;*/
    font-size: 16px;
    line-height: 24px;
    color: #717171
}

.footer__edu {
    width: 122px;
    height: 51px
}

.footer__edu img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain
}

.footer__bottom {
    border-top: 1px solid #ede6df;
    background-color: #fdf9f4
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    height: 52px
}

.copyright__text {
    font-size: 16px;
    line-height: 24px;
    color: #888686
}

.first-screen {
    padding-top: 80px;
    padding-bottom: 107px;
    background-image: url(../img/background-1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden
}

.first-screen__inner {
    position: relative
}

.first-screen__content {
    position: relative;
    z-index: 2
}

.first-screen__title {
    max-width: 713px;
    font-size: 55px;
    line-height: 55px
}

.first-screen__text {
    margin-top: 38px;
    position: relative;
    padding-left: 10px
}

.first-screen__text::before {
    position: absolute;
    content: '';
    left: 0;
    top: calc(50% - 95% / 2);
    width: 3px;
    height: 95%;
    border-radius: 50px;
    background-color: #eee8e1
}

.first-screen__subtitle {
    max-width: 661px;
    font-weight: 450;
    font-size: 50px;
    line-height: 55px;
    text-transform: uppercase;
    color: #e0544e
}

.first-screen__descr {
    margin-top: 5px;
    font-weight: 450;
    font-size: 20px;
    line-height: 28px;
    max-width: 423px;
    color: #4f4f4f
}

.first-screen__img {
    position: absolute;
    right: -87px;
    bottom: -104px;
    width: 646px;
    height: 599px
}

.first-screen__img img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain
}

.first-screen__actions {
    display: inline-flex;
    flex-wrap: wrap;
    max-width: 530px;
    margin: -10px;
    margin-top: 36px;
    position: relative;
    z-index: 2
}

.first-screen__action {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    margin: 10px;
    transition: .3s;
    flex: 1 0 calc(50% - 20px);
    width: calc(50% - 20px)
}

.first-screen__action:hover {
    box-shadow: 0 0 15px rgba(196, 196, 196, .2)
}

.first-screen__action-btn {
    flex-shrink: 0;
    margin-right: 14px
}

.first-screen__action-text {
    font-size: 18px;
    line-height: 22px;
    color: #4f4f4f
}

.reference {
    padding-top: 80px;
    padding-bottom: 76px;
    background-image: url(../img/background-2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden
}

.reference__img {
    position: absolute;
    left: 0;
    top: calc(50% - 458px / 2);
    width: 458px;
    height: 458px
}

.reference__img img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain
}

.reference__actions {
    margin-top: -27px
}

.reference__action {
    margin-top: 27px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(196, 196, 196, .25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 18px 18px 21px 15px;
    position: relative;
    transition: .3s
}

.reference__action::before {
    position: absolute;
    content: '';
    left: 38px;
    top: -7px;
    width: 2px;
    height: 14px;
    background-color: #e36c1b;
    border-radius: 50px
}

.reference__action:hover {
    box-shadow: 0 10px 30px rgba(196, 196, 196, .4)
}

.reference__action-btn {
    margin-right: 26px
}

.reference__action-text {
    font-size: 18px;
    line-height: 22px;
    color: #4f4f4f
}

.events {
    padding-top: 72px;
    padding-bottom: 80px;
    background-color: #f9f9f9;
    overflow: hidden
}

.events__title {
    margin-bottom: 26px
}

.events__slider {
    margin: -20px;
    padding: 20px
}

.events__item {
    background: #fff;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow .3s ease
}

.events__item::before {
    position: absolute;
    content: '';
    left: -6px;
    top: 184px;
    width: 12px;
    height: 2px;
    background-color: #e0544e;
    border-radius: 50px
}

.events__item:hover {
    box-shadow: 0 5px 15px #eee7e1
}

.events__item-img {
    height: 155px;
    border-radius: 5px;
    box-shadow: 0 5px 5px #f9f9f9;
    margin: 8px 6px 6px 6px
}

.events__item-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    object-position: top;
    border-radius: 5px
}

.events__item-body {
    padding: 0 30px 0 10px
}

.events__item-title {
    margin-top: 3px;
    font-weight: 450;
    font-size: 20px;
    line-height: 24px;
    color: #4f4f4f
}

.events__item-descr {
    margin-top: 4px
}

.events__item-bottom {
    padding: 12px 10px 15px;
    margin-top: auto;
    margin-bottom: 0;
    display: flex;
    justify-content: flex-end
}

.events__item-btn {
    height: 40px;
    padding: 11px 26px;
    box-shadow: 3px 5px 20px rgba(243, 180, 138, .466)
}

.events__slider-pagination .swiper-pagination-bullet {
    background: #bbb
}

.swiper-pagination-bullet {
    width: 15px;
    height: 15px;
}
.news__slider .swiper-pagination-bullet{

}
.news__slider-wrapper{
    margin-bottom: 2rem;
}

.events__slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--color-subaccent)
}

.programs {
    padding-top: 70px;
    padding-bottom: 36px;
    background-image: url(../img/background-3.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden
}

.programs__title {
    margin-bottom: 20px
}

.programs__accordion {
    margin-top: 3px
}

.programs__item {
    margin-top: 26px;
    background: #fdf9f4;
    border-radius: 10px;
    transition: .3s
}

.programs__item.active {
    padding-bottom: 15px
}

.programs__item.active .programs__item-btn::before {
    background-image: url(../img/icons/minus.png)
}

.programs__item.active .programs__item-body {
    margin-top: 8px;
    max-height: 1000px;
    visibility: visible;
    transition: max-height 2s ease-in-out
}

.programs__item-header {
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(196, 196, 196, .25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 6px 7px 15px;
    position: relative
}

.programs__item-header::before {
    position: absolute;
    content: '';
    left: 20px;
    top: -7px;
    width: 2px;
    height: 14px;
    background-color: #e36c1b;
    border-radius: 50px
}

.programs__item-title {
    font-size: 20px;
    line-height: 24px;
    color: #6c5f5f
}

.programs__item-btn {
    width: 44px;
    height: 44px;
    position: relative;
    margin-left: 10px;
    flex-shrink: 0
}

.programs__item-btn::before {
    position: absolute;
    content: '';
    top: calc(50% - 28px / 2);
    left: calc(50% - 28px / 2);
    width: 28px;
    height: 28px;
    background-image: url(../img/icons/plus.png);
    background-size: contain;
    background-repeat: no-repeat;
    transition: .3s
}

.programs__item-body {
    font-weight: 300;
    font-size: 20px;
    line-height: 26px;
    color: #6c5f5f;
    padding: 0 23px 0 31px;
    position: relative;
    visibility: hidden;
    overflow: hidden;
    max-height: 0;
    transition: max-height .5s cubic-bezier(0, 1, 0, 1)
}

.programs__item-body::before {
    position: absolute;
    content: '';
    left: 17px;
    top: calc(50% - 95% / 2);
    width: 3px;
    height: calc(95% - 10px);
    border-radius: 50px;
    background-color: #eee8e1
}

.programs__img {
    width: 550px;
    height: 55 0
}

.programs__img img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain
}

.news {
    padding-top: 70px;
    padding-bottom: 78px;
    text-align: center;
    overflow: hidden
}

.news__title {
    margin-bottom: 30px
}

.news__slider {
    margin: -20px;
    padding: 20px;
    text-align: left
}

.news__item {
    background: #f8f3ee;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow .3s ease;
    box-shadow: 0 5px 15px #ede6df
}

.news__item::before {
    position: absolute;
    content: '';
    left: -6px;
    top: 243px;
    width: 12px;
    height: 2px;
    background-color: #e0544e;
    border-radius: 50px
}

.news__item:hover {
    box-shadow: 0 5px 15px #e6dfd9
}

.news__item-img {
    height: 210px;
    border-radius: 5px;
    box-shadow: 0 5px 5px #f9f9f9;
    margin: 10px 10px 7px
}

.news__item-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    object-position: top;
    border-radius: 5px
}

.news__item-body {
    padding: 0 15px
}

.news__item-title {
    margin-top: 5px;
    font-weight: 450;
    font-size: 20px;
    line-height: 24px;
    color: #4f4f4f
}

.news__item-descr {
    margin-top: 4px;
    font-size: 16px;
    line-height: 20px;
    color: #707070
}

.news__item-bottom {
    padding: 17px 15px 30px;
    margin-top: auto;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.news__item-date {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    line-height: 20px;
    color: #707070
}

.news__item-date-icon {
    background-color: #ede6df;
    width: 32px;
    height: 34px;
    padding: 3px;
    margin-right: 9px
}

.news__item-date-icon img {
    background-color: #f8f3ee;
    width: 24px;
    height: 24px;
    padding: 4px
}

.news__item-btn {
    height: 40px;
    padding: 11px 26px;
    box-shadow: 3px 5px 20px rgba(243, 180, 138, .466)
}

.news__slider-pagination .swiper-pagination-bullet {
    background: #bbb
}

.news__slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active,
.team__slider .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--color-subaccent)
}


.team {
    padding-top: 70px;
    padding-bottom: 60px;
    background-color: #fff;
    overflow: hidden
}

.team__title {
    margin-bottom: 27px
}

.team__slider {
    margin: -40px;
    padding: 40px
}

.team__item {
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(196, 196, 196, .25);
    border-radius: 10px;
    transition: box-shadow .3s ease;
    position: relative
}

.team__item::before {
    position: absolute;
    content: '';
    left: -6px;
    top: 217px;
    width: 12px;
    height: 2px;
    background-color: #e0544e;
    border-radius: 50px
}

.team__item:hover {
    box-shadow: 0 10px 30px rgba(196, 196, 196, .5)
}

.team__item-img {
    height: 192px;
    border-radius: 10px;
    margin: 6px
}

.team__item-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    object-position: top;
    border-radius: 10px
}

.team__item-body {
    padding: 0 10px 17px
}

.team__item-title {
    font-weight: 450;
    font-size: 18px;
    line-height: 30px;
    color: #4f4f4f
}

.team__item-subtitle {
    font-size: 15px;
    line-height: 15px;
    color: #666
}

.team__slider-pagination .swiper-pagination-bullet {
    background: #bbb
}

.team__slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--color-subaccent)
}

.features {
    padding-bottom: 80px;
    background-color: #fff;
    overflow: hidden
}

.features__wrapper {
    background-image: url(../img/background-4.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 15px;
    padding: 40px 50px 54px
}

.features__title {
    font-weight: 450;
    font-size: 45px;
    line-height: 55px;
    color: #4f4f4f
}

.features__descr {
    margin-top: 11px;
    font-size: 20px;
    line-height: 28px;
    color: #707070;
    padding-left: 11px;
    position: relative
}

.features__descr::before {
    position: absolute;
    content: '';
    left: 0;
    top: calc(50% - 90% / 2);
    width: 3px;
    height: 90%;
    border-radius: 50px;
    background-color: #eee8e1
}

.features__inner {
    margin: -11px -8px;
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap
}

.features__item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    padding: 20px 17px 28px 17px;
    margin: 11px 8px;
    flex: 1 0 calc(50% - 16px);
    width: calc(50% - 16px);
    position: relative
}

.features__item::before {
    position: absolute;
    content: '';
    left: 21px;
    top: -7px;
    width: 2px;
    height: 14px;
    background-color: #e0544e;
    border-radius: 50px
}

.features__item-title {
    font-weight: 450;
    font-size: 22px;
    line-height: 22px;
    color: #434343
}

.features__item-text {
    margin-top: 5px;
    font-weight: 450;
    font-size: 16px;
    line-height: 20px;
    color: #5b5b5b
}

.resources {
    padding-top: 70px;
    padding-bottom: 150px;
    text-align: center;
    background-image: url(../img/background-5.jpg);
    background-size: cover;
    background-repeat: no-repeat
}

.resources__title {
    margin-bottom: 14px
}

.resources__inner {
    position: relative
}

.resources__slider {
    margin-top: 14px
}

.resources__item {
    background-color: #f9f4ee;
    border-radius: 5px;
    padding: 5px
}

.resources__item-img {
    background-color: #fff;
    padding: 7px;
    height: 129px;
    border-radius: 5px
}

.resources__item-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain
}

.resources__slider-button-next, .resources__slider-button-prev {
    opacity: 1 !important;
    border-radius: 5px;
    background: var(--color-accent);
    width: 51px;
    height: 51px;
    top: auto;
    left: auto;
    bottom: -70px;
    transition: .3s
}

.resources__slider-button-next::before, .resources__slider-button-prev::before {
    position: absolute;
    content: '';
    top: calc(50% - 25px / 2);
    left: calc(50% - 25px / 2);
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat
}

.resources__slider-button-next.swiper-button-disabled, .resources__slider-button-prev.swiper-button-disabled {
    background: #fff;
    border: 1px solid #e36c1b
}

.resources__slider-button-next:hover, .resources__slider-button-prev:hover {
    filter: contrast(111%)
}

.resources__slider-button-prev {
    right: 60px
}

.resources__slider-button-prev::before {
    background-image: url(../img/icons/arrow-left-white.png)
}

.resources__slider-button-prev.swiper-button-disabled::before {
    background-image: url(../img/icons/arrow-left.png)
}

.resources__slider-button-next {
    right: 0
}

.resources__slider-button-next::before {
    background-image: url(../img/icons/arrow-right-white.png)
}

.resources__slider-button-next.swiper-button-disabled::before {
    background-image: url(../img/icons/arrow-right.png)
}

.article {
    margin-top: 30px
}

.article h2 {
    margin-top: 20px;
    margin-bottom: 16px;
    font-weight: 700;
    font-size: 24px;
    line-height: 25px;
    color: #011d46
}

.article p, .article div,
.article span, .article strong,
.article b, .article i, .article u
{
    /*font-weight: 500;*/
    margin-top: 16px;
    margin-bottom: 20px;
    font-size: 18px !important;
    line-height: 35px !important;
    color: #000 !important;
    font-family: inherit !important;
}

.article q {
    display: block;
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
    background-color: #ede6df;
    border-radius: 10px;
    padding: 22px 29px;
    color: #000;
    margin-top: 15px;
    margin-bottom: 16px;
    position: relative
}

.article q::before {
    position: absolute;
    content: '';
    background-image: url(../img/icons/quotes.png);
    background-size: contain;
    background-repeat: no-repeat;
    top: -10px;
    right: 30px;
    width: 24px;
    height: 24px
}

.article ol, .article ul {
    font-size: 18px;
    line-height: 35px;
    color: #000;
    background: #fff;
    border-radius: 10px;
    margin-top: 9px;
    margin-bottom: 9px;
    padding: 22px 15px
}

.article ol li {
    padding-left: 30px;
    position: relative
}

.article ol li::before {
    position: absolute;
    content: '';
    width: 23px;
    height: 5px;
    background-image: url(../img/icons/decor.png);
    background-repeat: no-repeat;
    background-size: contain;
    top: 16px;
    left: 0
}

.article ul li {
    padding-left: 30px;
    position: relative;
    counter-increment: i
}

.article ul li::before {
    position: absolute;
    /*content: counter(i) ".";*/
    content: "\2022";
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #e0544e;
    top: 5px;
    left: 5px
}

.article__title {
    margin-bottom: 30px
}

.article__header {
    overflow: hidden
}

.article__header img {
    border-radius: 10px;
    max-width: 600px;
    margin-bottom: 20px;
    float: left;
    margin-right: 26px
}

.article__header ol {
    margin-top: 23px;
    margin-bottom: 25px;
    overflow: hidden;
    background-color: transparent;
    margin: 0;
    padding: 0
}

.article__header ol li {
    font-size: 20px;
    line-height: 25px;
    padding-left: 41px;
    font-weight: 500;
    color: #e0544e;
    position: relative
}

.article__header ol li::before {
    position: absolute;
    content: '';
    width: 26px;
    height: 2px;
    background-color: #e0544e;
    top: 10px;
    left: 0
}

.article__header ol li + li {
    margin-top: 8px
}

.article__body {
    clear: both
}

.article__body img {
    max-width: 440px;
    -o-object-fit: contain;
    object-fit: contain;
    margin-right: 20px;
    border-radius: 10px
}

.article__adjunct {
    background-color: rgba(215, 215, 215, .2);
    padding-top: 45px;
    padding-bottom: 60px
}

.article__adjunct h2 {
    color: #e0544e
}

.article__lists {
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    justify-content: space-between
}

.article__lists ol, .article__lists ul {
    flex: 1 0 50%;
    width: 50%
}

.article__bottom {
    background-image: url(../img/decoration-2.png);
    background-size: 1200px;
    background-repeat: no-repeat;
    padding-bottom: 50px
}

.gallery__title {
    margin-top: 30px
}

.gallery__inner {
    margin-top: 34px
}

.gallery__item {
    margin-bottom: 28px;
    display: block
}

.gallery__item-img {
    width: 100%;
    height: 162px
}

.gallery__item-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    object-position: top;
}

.gallery__item-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 28px;
    color: #2e2e2e
}

.gallery__item-descr {
    font-size: 14px;
    line-height: 18px;
    color: #000
}

.videos {
    padding-bottom: 55px
}

.videos__inner {
    margin-top: 32px
}

.videos__item {
    margin-bottom: 25px;
    display: block
}

.videos__item-video {
    height: 162px;
    position: relative;
    z-index: 2;
    display: block
}

.videos__item-video iframe, .videos__item-video img, .videos__item-video video {
    position: absolute;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.videos__item-video img {
    z-index: 3
}

.videos__item-video::before {
    cursor: pointer;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(57, 57, 57, .79);
    z-index: 4;
    transition: .3s
}

.videos__item-video::after {
    cursor: pointer;
    content: '';
    position: absolute;
    top: calc(50% - 26px / 2);
    left: calc(50% - 24px / 2);
    width: 24px;
    height: 26px;
    background-image: url(../img/icons/play.png);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 5;
    transition: .3s
}

.videos__item-video.active::before {
    content: none
}

.videos__item-video.active::after {
    content: none
}

.videos__item-video.active img {
    display: none
}

.videos__item-video:hover::before {
    background: rgba(57, 57, 57, .6)
}

.videos__item-video:hover::after {
    transform: scale(1.2)
}

.videos__item-body {
    margin-top: 5px;
    display: block
}

.videos__item-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #2e2e2e
}

.videos__item-descr {
    font-size: 14px;
    line-height: 18px;
    color: #000
}

.teacher__title {
    margin-top: 22px
}

.teacher__inner {
    margin-top: 34px
}

.teacher__img {
    max-width: 100%;
    max-height: 413px;
    border-radius: 10px
}

.teacher__img img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    max-height: 400px;
    -o-object-fit: cover;
    object-fit: cover;
    object-position: top;
}

.teacher__subtitle {
    margin-bottom: 24px
}

.teacher__table {
    margin-top: 24px;
    margin-bottom: 21px
}

.teacher__table td {
    font-weight: 700;
    font-size: 16px;
    line-height: 36px;
    color: rgba(0, 0, 0, .5)
}

.teacher__table td:nth-child(2) {
    padding-left: 15px;
    color: #e0544e
}

.teacher__definition {
    background-color: #ede6df;
    border-radius: 0 50px 50px 0;
    padding: 14px 44px 17px 30px;
    margin-left: -30px;
    margin-bottom: 21px;
    font-size: 16px;
    line-height: 24px;
    color: #000
}

.teacher__definition b {
    font-weight: 700;
    color: #e0544e
}

.teacher__descr {
    margin-top: 21px;
    font-size: 18px;
    line-height: 33px;
    color: #a0a0a0
}

.staff {
    padding-top: 40px;
    padding-bottom: 70px
}

.staff__title {
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
    text-align: center;
    text-transform: uppercase;
    color: #1d1d1d;
    margin-bottom: 40px
}

.staff__inner {
    margin-top: 40px
}

.staff__item {
    margin-bottom: 49px
}

.staff__item-img {
    border-radius: 20px;
    width: 100%;
    height: 272px
}

.staff__item-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    object-position: top;
    border-radius: 20px
}

.staff__item-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.staff__item-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #011d46
}

.staff__item-subtitle {
    margin-top: 2px;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #0a0a0a
}

.staff__item-list {
    margin-top: 5px;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: #0a0a0a
}

.staff__item-btn {
    margin-top: 14px;
    padding: 11px 26px;
    box-shadow: 3px 5px 20px rgba(243, 180, 138, .466)
}

@media (min-width: 768px) {
    .header__burger {
        display: none
    }

    .menu__btn {
        display: none !important
    }

    .menu ul li:hover > ul {
        display: block
    }
}

@media (max-width: 1199.98px) {
    .first-screen__img {
        width: 500px;
        height: 499px
    }

    .team__item {
        box-shadow: 0 10px 15px rgba(196, 196, 196, .25)
    }

    .team__item:hover {
        box-shadow: 0 10px 15px rgba(196, 196, 196, .5)
    }
}

@media (max-width: 991.98px) {
    .header__btn {
        display: none
    }

    .footer__body {
        /*border-top: none*/
    }

    .footer__inner {
        flex-direction: column;
        height: auto
    }

    .footer__logo {
        margin-right: 0;
        margin-top: 2rem;
        width: 100vw;
        height: 72px;
        /*border-bottom: 1px solid #ede6df;*/
        display: flex;
        align-items: center;
        justify-content: center
    }

    .footer__logo img {
        width: 68px;
        height: 31px
    }

    .footer__tel {
        margin-top: 22px;
        margin-right: 0
    }

    .footer__email {
        margin-top: 12px;
        margin-right: 17px
    }

    .footer__address {
        margin-top: 5px
    }

    .footer__edu {
        margin-top: 19px
    }

    .footer__bottom {
        border-top: none
    }

    .copyright {
        padding-top: 8px;
        padding-bottom: 18px
    }

    .first-screen__img {
        width: 476px;
        height: 399px
    }

    .events__slider {
        padding-bottom: 40px
    }

    .programs__img {
        display: none
    }
}

@media (max-width: 767.98px) {
    .main {
        background-position: 210px 5%;
        background-size: 300px
    }

    .title {
        font-size: 24px;
        line-height: 25px
    }

    .title-rare::after, .title-rare::before {
        content: none
    }

    .title-rare {
        font-size: 24px;
        line-height: 35px
    }

    .title-accent::before {
        content: none
    }

    .title-accent {
        font-size: 24px;
        line-height: 35px
    }

    .subtitle {
        font-size: 24px;
        line-height: 25px
    }

    .breadcrumbs {
        /*display: none*/
    }

    .header__logo {
        order: 1;
        margin-right: 11px
    }

    .header__search {
        width: auto;
        order: 3;
        margin-right: 11px
    }

    .header__search input {
        /*display: none*/
        padding: 10px;
    }

    .header__search-btn {
        position: static
    }

    .header__tel {
        display: none
    }

    .header__lang {
        order: 2;
        margin-right: 11px;
        margin-left: auto
    }

    .menu {
        overflow: auto;
        padding-bottom: 100px
    }

    .menu__inner {
        margin-top: 25px;
        align-items: center
    }

    .menu a {
        font-weight: 400
    }

    .menu ul {
        width: 100%
    }

    .menu ul > li > a {
        font-weight: 450
    }

    .menu ul > li {
        width: 100%
    }

    .menu .menu__inner > ul > li:last-child > ul > li > ul, .menu .menu__inner > ul > li:nth-last-child(2) > ul > li > ul {
        margin-right: 0
    }

    .menu ul ul {
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        margin-top: 20px;
        width: 100%;
        min-width: auto
    }

    .menu ul ul::after, .menu ul ul::before {
        content: none
    }

    .menu ul ul li {
        padding: 4px 0 4px 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center
    }

    .menu ul ul li:hover > a {
        font-weight: 550
    }

    .menu ul ul li:hover > a::after {
        transform: scale(1, -1)
    }

    .menu ul ul ul ~ a::after {
        background-image: url(../img/icons/arrow-down-black.png)
    }

    .menu ul ul ul {
        position: static;
        order: 1;
        margin-top: 9px;
        margin-left: 0;
        padding: 11px 0;
        width: 100%;
        max-width: 100%;
        background: #fd9d5c;
        border-radius: 10px;
        box-shadow: none
    }

    .menu ul ul ul::after, .menu ul ul ul::before {
        content: none
    }

    .menu ul ul ul li {
        color: #fff
    }

    .menu {
        visibility: hidden;
        transform: translateX(100vw);
        position: fixed;
        top: 70px;
        width: 100%;
        height: 100%;
        z-index: 100;
        text-align: center;
        background-color: rgba(244, 244, 244, .95);
        transition: .3s
    }

    .menu.active {
        visibility: visible;
        transform: translate(0)
    }

    .menu .menu__inner > ul {
        font-weight: 450;
        font-size: 18px;
        line-height: 24px;
        color: #000
    }

    .menu .menu__inner > ul > li + li {
        margin-top: 26px
    }

    .menu li.not-active {
        display: none
    }

    .menu li.active {
        display: block;
        position: relative;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        align-items: center
    }

    .menu li.active > span {
        color: #525252;
        padding-right: 0
    }

    .menu li.active > span::after {
        content: none
    }

    .menu li.active > ul {
        display: block;
        position: static;
        order: 1
    }

    .menu ul {
        display: block
    }

    .first-screen {
        padding-top: 34px;
        padding-bottom: 45px;
        background: 0 0
    }

    .first-screen__text::before {
        content: none
    }

    .first-screen__text {
        padding-left: 0;
        margin-top: 15px;
        margin-bottom: 30px
    }

    .first-screen__img {
        width: 100%;
        height: 240px;
        position: static
    }

    .first-screen__actions {
        margin-top: -15px;
        flex-direction: column;
        width: 100%
    }

    .first-screen__action {
        flex: 1 1 100%;
        width: 100%
    }

    .reference {
        padding-top: 45px;
        padding-bottom: 45px
    }

    .reference__img {
        width: 358px;
        height: 358px;
        top: -80px;
        left: 35%
    }

    .events {
        padding-top: 27px;
        padding-bottom: 33px
    }

    .events__title {
        padding: 0 10px;
        margin-bottom: 10px;
        text-align: center;
        line-height: 23px
    }

    .programs {
        padding-top: 15px;
        padding-bottom: 40px
    }

    .programs__title {
        text-align: center;
        margin-bottom: 10px
    }

    .programs__item.active .programs__item-body {
        margin-top: 20px
    }

    .programs__item {
        margin-top: 20px
    }

    .news {
        padding-top: 28px;
        padding-bottom: 42px
    }

    .news__title {
        margin-bottom: 15px
    }

    .news__slider {
        padding-bottom: 50px
    }

    .news__item::before {
        top: 210px
    }

    .news__item-img {
        height: 178px
    }

    .team {
        padding-top: 25px;
        padding-bottom: 57px
    }

    .team__title {
        text-align: center
    }

    .team__slider {
        padding-bottom: 50px
    }

    .team__item::before {
        top: 217px
    }

    .features {
        padding-bottom: 0;
        background-color: transparent
    }

    .features__wrapper {
        border-radius: 0;
        margin: 0 -30px;
        padding: 33px 30px 48px
    }

    .article {
        margin-top: 37px
    }

    .article q {
        padding: 22px 17px;
        margin-bottom: 26px
    }

    .article ol, .article ul {
        font-size: 14px;
        line-height: 24px
    }

    .article ol li::before {
        top: 10px
    }

    .article ul li::before {
        top: -1px
    }

    .article__title {
        margin-bottom: 21px
    }

    .article__header img {
        max-width: 100%
    }

    .article__body img {
        max-width: 100%
    }

    .article__adjunct {
        padding-bottom: 36px
    }

    .article__lists ol, .article__lists ul {
        flex: 1 0 100%;
        width: 100%
    }

    .article__lists {
        background-color: transparent;
        flex-direction: column
    }

    .gallery__title {
        margin-top: 38px
    }

    .gallery__inner {
        margin-top: 20px
    }

    .gallery__item {
        margin-bottom: 17px
    }

    .gallery__item-img {
        height: 150px
    }

    .gallery__item-title {
        margin-top: 5px;
        font-size: 12px;
        line-height: 18px
    }

    .gallery__item-descr {
        font-size: 12px;
        line-height: 14px
    }

    .videos__title {
        margin-top: 15px
    }

    .videos__inner {
        margin-top: 15px
    }

    .videos__item {
        margin-bottom: 17px
    }

    .videos__item-video {
        height: 150px
    }

    .videos__item-title {
        margin-top: 5px;
        font-size: 12px;
        line-height: 18px
    }

    .videos__item-descr {
        font-size: 12px;
        line-height: 14px
    }

    .videos__pagination {
        margin-top: 10px
    }

    .teacher__inner {
        margin-top: 25px
    }

    .teacher__img {
        max-width: 50%;
        max-height: 100%
    }

    .teacher__subtitle {
        margin-top: 22px
    }

    .staff {
        padding-top: 34px;
        padding-bottom: 58px
    }

    .staff__title {
        font-size: 18px;
        line-height: 30px;
        margin-bottom: 30px
    }

    .staff__inner {
        margin-top: 30px
    }

    .staff__item {
        margin-bottom: 38px
    }

    .staff__pagination {
        margin-top: 10px
    }
}

@media (max-width: 767.98px) and (max-width: 767.98px) {
    .menu ul {
        display: flex;
        flex-direction: column;
        align-items: center
    }
}

@media (max-width: 575.98px) {
    .mfp-image-holder .mfp-content {
        width: initial
    }

    .mfp-iframe-holder .mfp-content {
        max-width: 900px
    }

    .first-screen__title {
        font-size: 18px;
        line-height: 1;
    }

    .first-screen__subtitle {
        font-size: 24px;
        line-height: 32px
    }

    .first-screen__descr {
        font-size: 14px;
        line-height: 22px;
        margin-top: 10px
    }

    .programs__item-header {
        padding: 0
    }

    .programs__item-title {
        padding: 11px 0 11px 15px;
        font-size: 14px;
        line-height: 15px
    }

    .programs__item-body {
        font-weight: 400;
        font-size: 12px;
        line-height: 19px
    }

    .news__item-descr {
        font-size: 14px;
        line-height: 20px
    }

    .features__title {
        font-size: 24px;
        line-height: 26px
    }

    .features__descr {
        font-size: 14px;
        line-height: 15px
    }

    .features__inner {
        flex-direction: column;
        margin: 0;
        margin-top: 10px
    }

    .features__item {
        margin: 0;
        margin-top: 25px;
        flex: 1 0 100%;
        width: 100%
    }

    .features__item-title {
        font-size: 18px;
        line-height: 22px
    }

    .features__item-text {
        font-size: 14px;
        line-height: 21px
    }

    .resources {
        padding-top: 30px;
        padding-bottom: 24px
    }

    .resources__slider {
        margin: 0 50px
    }

    .resources__slider-button-next, .resources__slider-button-prev {
        top: 50%;
        bottom: auto
    }

    .resources__slider-button-prev {
        left: 7px;
        right: auto
    }

    .resources__slider-button-next {
        right: 7px;
        left: auto
    }

    .gallery__item-img {
        height: 100px
    }

    .videos__item-video {
        height: 100px
    }

    .teacher__img {
        max-width: 100%
    }

    .teacher__definition b {
        display: block;
        margin-bottom: 8px
    }

    .teacher__definition {
        padding: 21px 30px 29px 15px;
        border-radius: 0;
        margin-left: -15px;
        margin-right: -15px
    }

    .staff__item-img {
        max-width: 350px;
        height: auto
    }

    .staff__item-content {
        margin-top: 28px
    }
}

@media (max-width: 767.98px) and (min-width: 576px) {
    .news__item-btn {
        padding: 5px 10px;
        height: 34px
    }

    .features__wrapper {
        background: 0 0
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
        scroll-behavior: auto !important
    }
}

blockquote {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 40px;
    margin-right: 40px;
    border-left: 5px solid #e0544e;
    font-style: italic;
}
