commit be18346939cb13cf600a958fd35c346ad966d3b7 Author: DekartDev Date: Tue May 5 16:38:37 2026 +0300 Initial commit: dekart-school reference site diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0d51e83 --- /dev/null +++ b/.gitignore @@ -0,0 +1,117 @@ +# ============================================================ +# .gitignore для WordPress (Декарт dev) +# Эталонный сайт: dev.dekart.school +# ============================================================ + +# === WordPress core (обновляется через админку) === +/wp-admin/ +/wp-includes/ +/wp-*.php +/index.php +/index.htm +/license.txt +/readme.html +/xmlrpc.php +/wp-config.php +/wp-config-sample.php +/robots.txt + +# === Серверные файлы (на каждом сайте свои) === +.htaccess +.htaccess.bk +.htaccess.disabled +.htpasswd +.user.ini +.tmb/ + +# === wp-content: общие исключения === +/wp-content/uploads/ +/wp-content/blogs.dir/ +/wp-content/upgrade/ +/wp-content/backup-db/ +/wp-content/backups/ +/wp-content/cache/ +/wp-content/wflogs/ +/wp-content/wflogs-old/ +/wp-content/debug.log +/wp-content/advanced-cache.php* +/wp-content/object-cache.php* +/wp-content/wp-cache-config.php* +/wp-content/advanced-headers.php* +/wp-content/index.php* + +# === Локализации WordPress (обновляются через WP) === +/wp-content/languages/ +/wp-content/languages-old/ + +# === Бэкапы плагинов (UpdraftPlus, All-in-One и др.) === +/wp-content/updraft/ +/wp-content/updraft-pre* +/wp-content/ai1wm-backups/ + +# === LiteSpeed Cache - служебные файлы === +/wp-content/litespeed/ +/wp-content/litespeed-old/ +/wp-content/.litespeed_* + +# === Старые конфиги кеш-плагинов === +/wp-content/w3tc-config/ +/wp-content/w3tc-config-old/ + +# === Сторонние плагины и темы (целиком) === +/wp-content/plugins/ +/wp-content/themes/ + +# === Файлы безопасности === +wordfence-waf.php +*.log + +# === Системное === +.DS_Store +Thumbs.db +*.swp +*~ + +# === Google/Yandex верификация (на каждом домене своя) === +google*.html +yandex_*.html + +# ============================================================ +# ИСКЛЮЧЕНИЯ — ЧТО ВКЛЮЧАЕМ В GIT (несмотря на правила выше) +# ============================================================ +!/wp-content/ +!/wp-content/themes/ +!/wp-content/themes/dekart/ +!/wp-content/themes/dekart/** + +# ============================================================ +# ВАЖНО: эти правила идут ПОСЛЕ исключений выше — они их перекрывают. +# Это нужно потому что !/.../dekart/** включает ВСЕ файлы в теме, +# и нам надо вручную исключить мусор внутри темы. +# ============================================================ + +# === Архивы и бэкапы файлов (даже внутри темы!) === +*.zip +*.rar +*.tar +*.tar.gz +*.gz +*.bak +*.old +*-old* +*.swp + +# === Дампы БД === +*.sql +*.sql.gz +*.db +*.sqlite + +# === Заглушки в служебных папках WP === +/wp-content/themes/index.php +/wp-content/themes/index.html + +# Если в будущем появятся свои плагины — добавь их так: +# !/wp-content/plugins/ +# !/wp-content/plugins/мой-кастомный-плагин/ +# !/wp-content/plugins/мой-кастомный-плагин/** diff --git a/wp-content/themes/dekart/404.php b/wp-content/themes/dekart/404.php new file mode 100644 index 0000000..b72a104 --- /dev/null +++ b/wp-content/themes/dekart/404.php @@ -0,0 +1,27 @@ + +
+ + +
+
+

Упс! Страница потерялась, как ответ на сложный вопрос!

+

Не переживайте — даже отличники иногда делают ошибки.
+ Но не волнуйтесь — мы знаем, как помочь вам вернуться на правильный путь!

+
+
+ + + +
+ + 780px) and (width < 1200px) { + .camp { + gap: 6.25vw; + padding-top: 2.5vw !important; + padding-bottom: 2.5vw !important; + } + + .container_camp { + max-width: 100vw; + padding: 0 1.67vw; + } + + .camp_title { + font-size: 3.75vw; + padding-bottom: 3.75vw; + } + + .camp_text { + font-size: 1.5vw; + } + + .banner { + border-radius: 3.33vw; + } + + .banner_label { + padding: .83vw 1.67vw; + font-size: 1.67vw; + border-radius: 2.5vw; + } + + .banner__left-part { + gap: 2.5vw; + padding: 3.33vw 2.5vw 3.33vw 3.33vw; + } + + .banner_title { + font-size: 3.42vw; + } + + .banner_text { + font-size: 1.5vw; + } + + .banner_text-min { + font-size: 1.25vw; + } + + .banner_btn { + font-size: 1.67vw; + border: .17vw solid #42425c; + border-radius: 4.17vw; + padding: 1.67vw 2.5vw; + } + + .banner__right-part { + border-radius: 3.33vw; + } + + .modal-programs__content { + max-width: 71.67vw; + } + + .suggestions-wrapper { + gap: 4.17vw; + } + + .suggestions__item { + width: calc(33.33% - 2.83vw); + gap: .83vw; + } + + .suggestions__item_img { + border-radius: 2.5vw; + height: 16.67vw; + } + + .suggestions__item_title { + font-size: 2.5vw; + } + + .suggestions__item_text { + font-size: 1.5vw; + } + + .infograph-wrapper { + margin-top: 2.5vw; + gap: 3.33vw; + } + + .infograph__item { + width: calc(25% - 1.67vw); + gap: .83vw; + } + + .infograph__item_img { + border-radius: 2.5vw; + width: 19.5vw; + } + + .infograph__item_title { + font-size: 1.5vw; + } + + .infograph__item_data { + font-size: 2.5vw; + } + + .programs-wrapper { + gap: 2.5vw; + } + + .programs__item { + width: calc(33.33% - 1.67vw); + gap: 1.67vw; + } + + .programs__item_img { + border-radius: 2.5vw; + height: 29.17vw; + } + + .programs__item_title { + font-size: 2.17vw; + } + + .programs__item_date { + font-size: 1.5vw; + } + + .programs__item_text { + font-size: 1.33vw; + } + + .programs__item_price { + font-size: 2.17vw; + } + + .btn-details { + border: .17vw solid #3bb273; + border-radius: 2.5vw; + padding: 1.25vw 2.5vw; + } + + .modal-programs-wrapper { + gap: 2.5vw; + border-radius: 2.5vw; + padding: 3.33vw; + } + + .modal-programs__content p { + margin-bottom: 1.25vw; + } + + .modal-programs__img { + min-width: 21.67vw; + height: 21.67vw; + border-radius: 2.5vw; + } + + .bring-child-wrapper { + gap: 3.33vw; + } + + .part-day { + width: calc(50% - 1.67vw); + padding: 2.5vw; + border-radius: 3.33vw; + border: .17vw solid #e8e8e8; + gap: 2.5vw; + } + + .block-row { + gap: .83vw; + } + + .part-day_title { + gap: .83vw; + } + + .part-day_title-text { + font-size: 2.5vw; + } + + .part-day_text { + font-size: 1.5vw; + } + + .part-day__price { + padding-bottom: 2.5vw; + border-bottom: .08vw solid #e8e8e8; + gap: .83vw; + } + + .part-day__price_price { + font-size: 3.75vw; + } + + .part-day__price_time { + font-size: 1.5vw; + border-radius: 2.5vw; + padding: .42vw .83vw; + margin-left: .83vw; + } + + .camp-left-part .part-day__price_time { + border: .17vw solid #3bb273; + } + + .camp-right-part .part-day__price_time { + border: .17vw solid #ae5fcd; + } + + .part-day__price_text { + font-size: 1.5vw; + } + + .btn-place { + padding: 1.67vw 0; + font-size: 1.67vw; + border-radius: 4.17vw; + } + + .camp-left-part .btn-place { + border: .17vw solid #3bb273; + } + + .camp-right-part .btn-place { + border: .17vw solid #ae5fcd; + } + + .part-day ul { + gap: .83vw; + font-size: 1.5vw; + padding-left: 1.67vw; + } + + .mentors-wrapper { + gap: 3.33vw 2.5vw; + } + + .mentors__item { + width: calc(25% - 1.92vw); + gap: .83vw; + } + + .mentors__item_img { + border-radius: 2.5vw; + } + + .mentors__item_name { + font-size: 2.17vw; + } + + .mentors__item_text { + font-size: 1.5vw; + margin-bottom: .83vw; + } + + .modal-mentors-wrapper { + padding: 4.17vw; + gap: 3.33vw; + } + + .modal-mentors__content { + gap: 1.67vw; + } + + .modal-mentors__content svg { + min-width: 2.5vw; + width: 2.5vw; + height: 2.5vw; + } + + .modal-mentors_name { + font-size: 3.58vw; + } + + .modal-mentors_job { + font-size: 2.17vw; + } + + .modal-mentors__directions { + gap: .83vw; + } + + .modal-mentors__directions span { + padding: .83vw 1.67vw; + font-size: 1.33vw; + border-radius: 2.5vw; + } + + .modal-mentors__about { + gap: 1.67vw; + } + + .about-item { + padding: 1.67vw; + border-radius: 1.67vw; + gap: .83vw; + } + + .mentors__about-col { + gap: 1.33vw; + } + + .mentors__about-col_title { + font-size: 1.67vw; + } + + .mentors__about-col_text { + font-size: 1.33vw; + } + + .modal-additional__education { + padding: 1.67vw; + border-radius: 1.67vw; + border: .17vw solid #f0f0f0; + gap: .83vw; + } + + .modal-additional__education_list ul { + gap: .83vw 2.5vw; + font-size: 1.33vw; + } + + .modal-additional__education_list li { + width: calc(50% - 1.67vw); + padding-left: 1.67vw; + } + + .modal-additional__education_list li::before { + width: .5vw; + height: .5vw; + top: .42vw; + } + + .routine-wrapper { + margin-left: 1.67vw; + gap: 3.33vw; + } + + .routine__item { + gap: 2.5vw; + } + + .routine__item_time { + width: 13.33vw; + font-size: 2vw; + } + + .routine__item_circle { + margin-top: .33vw; + width: 1.83vw; + height: 1.83vw; + border: .33vw solid #fff; + } + + .routine__item::before { + top: 1.67vw; + width: .17vw; + bottom: -4.17vw; + left: 16.67vw; + } + + .routine__item_text { + gap: .83vw; + } + + .routine__item_text-title { + font-size: 2vw; + } + + .routine__item_text-text { + font-size: 1.5vw; + } + + .camp-foto-wrapper { + gap: 1.67vw; + } + + .camp-swiper-foto { + margin-bottom: .42vw; + } + + .swiper-button-next:after, + .swiper-button-prev:after { + font-size: 1.17vw; + padding: .42vw; + height: 2.33vw; + width: 2.33vw; + } + + .swiper-slide { + font-size: 1.5vw; + } + + .camp-swiper-foto { + height: 29.17vw; + } + + .camp-swiper-foto img { + border-radius: 2.5vw; + } + + .camp-swiper-foto-thumbsSlider { + height: 6.67vw; + } + + .camp-swiper-foto-thumbsSlider img { + border-radius: .83vw; + } + + .foto-banner { + margin-top: 3.33vw; + border-radius: 5vw; + padding: 1.67vw; + } + + .foto-banner_text { + padding-left: 1.67vw; + font-size: 2.17vw; + } + + .foto-banner_text svg { + top: -.42vw; + left: .42vw; + width: 1vw; + height: 1vw; + } + + .foto-banner a { + padding: 1.67vw 3.33vw; + font-size: 1.67vw; + border-width: .17vw; + border-radius: 4.17vw; + border: .17vw solid transparent; + } + + .foto-banner a:hover { + border: .17vw solid #fff; + } + + .foto-content { + width: calc(50% - 1.67vw); + } + + .faq-wrapper { + gap: 2.5vw; + } + + .accordion { + gap: .83vw; + border-top: .08vw solid #ccc; + } + + .camp-faq .accordion .box__accordion { + border-bottom: .08vw solid #ccc; + } + + .camp-faq .box__accordion_label { + padding: 1.67vw 0; + gap: 1.67vw; + } + + .camp-faq .box__accordion_label span { + font-size: 2.17vw; + } + + .box__accordion_label svg { + width: 3.33vw; + height: 3.33vw; + padding: .67vw; + } + + .camp-faq .box__accordion_content { + gap: 1.67vw; + } + + .box__accordion_content-text { + gap: .83vw; + font-size: 1.5vw; + padding-bottom: 1.67vw; + } + + .contact-wrapper { + gap: 2.5vw; + } + + .contact-content { + gap: .83vw; + } + + .contact_subtitle { + margin-top: .83vw; + font-size: 1.5vw; + } + + .contact_tel { + font-size: 1.7vw; + } + + .contact_social { + gap: 1.25vw; + } + + .contact-map { + border-radius: 2.5vw; + height: 37.5vw; + } + + .camp-reviews-wrapper .reviews__item-client_name { + font-size: 1.33vw; + } + + .camp-reviews-wrapper .reviews__item-client_text { + font-size: 1.33vw; + } + + .camp-reviews-wrapper .custom-button-next, + .camp-reviews-wrapper .custom-button-prev { + width: 4.5vw; + height: 4.5vw; + margin-top: calc(0vw -(var(--swiper-navigation-size) / 2)); + } + + .camp-reviews-wrapper .custom-button-next:after, + .camp-reviews-wrapper .custom-button-prev:after { + font-size: 2.17vw; + padding: .42vw; + height: 4.5vw; + width: 4.5vw; + } + +} + +@media (width < 780px) { + body { + padding-top: 0; + } + + .camp { + gap: 30px; + } + + .camp_title { + font-size: 30px; + padding-bottom: 25px; + } + + .camp.container_camp { + padding: 0; + } + + .banner { + border-radius: 0 0 40px 40px; + margin-top: 40px; + } + + .banner_title { + font-size: 27px; + width: 100%; + } + + .banner_text { + font-size: 16px; + } + + .banner__right-part { + display: none; + } + + .banner__left-part { + width: 100%; + padding: 30px; + } + + .banner_btn { + margin: 100px auto 0; + } + + .banner_label { + padding: 5px 10px; + font-size: 16px; + } + + .banner_label1 { + top: 62%; + left: 39%; + } + + .banner_label2 { + top: 69%; + left: 10%; + } + + .banner_label3 { + top: 65%; + right: 10%; + left: auto; + rotate: -18deg; + } + + .banner_btn { + font-size: 18px; + } + + section { + padding: 0 15px; + } + + .suggestions-wrapper { + gap: 0; + flex-direction: column; + } + + .suggestions__item { + width: 100%; + } + + .suggestions__item_title { + font-size: 22px; + } + + .suggestions__item_text { + font-size: 16px; + } + + .infograph-wrapper { + margin-top: 0; + gap: 20px 40px; + flex-wrap: wrap; + } + + .infograph__item { + width: calc(50% - 20px); + gap: 10px; + } + + .infograph__item_title { + margin-bottom: 0; + } + + .infograph__item_img { + width: 70%; + height: auto; + } + + .infograph__item_data { + font-size: 22px; + margin-bottom: 0; + } + + .programs { + padding: 0; + } + + .programs .camp_title { + padding: 0 15px 25px 15px; + } + + .scroll-icon-wrapper { + margin-top: -20px; + display: flex; + justify-content: flex-end; + padding-right: 15px; + } + + .programs-wrapper { + width: 100%; + display: flex; + flex-wrap: nowrap; + gap: 30px; + overflow-x: scroll; + padding: 0 15px 20px 15px; + } + + .programs-wrapper::-webkit-scrollbar { + width: 10px; + height: 10px; + } + + .programs-wrapper::-webkit-scrollbar-thumb { + background-color: #ccc; + border-radius: 8px; + border: 1px solid #8b8b8b; + } + + .programs-wrapper::-webkit-scrollbar-track { + border-radius: 5px; + } + + .programs__item { + width: 100%; + gap: 10px; + } + + .programs__item_img { + height: 250px; + } + + .programs__item_title { + font-size: 22px; + } + + .btn-details { + width: 100%; + } + + .banner-add { + border-radius: 40px; + background-color: #3bb273 !important; + background-image: none !important; + } + + .banner-add .banner_title { + width: 100%; + } + + .banner-add .banner__left-part { + gap: 20px; + } + + .banner-add .banner_btn { + margin-top: 0; + width: 100%; + } + + .banner_text-min { + margin: 0; + } + + .bring-child-wrapper { + gap: 20px; + flex-direction: column; + } + + .part-day { + width: 100%; + gap: 15px; + padding: 20px; + } + + .block-row { + flex-wrap: wrap; + } + + .part-day_title-text { + font-size: 26px; + } + + .part-day__price_price { + width: 100%; + order: 2; + font-size: 28px; + } + + .part-day__price_time { + margin: 0; + } + + .part-day__price { + padding-bottom: 20px; + } + + .part-day_text { + font-size: 16px; + } + + .btn-place { + padding: 15px 0; + } + + .mentors__item { + width: calc(50% - 15px); + } + + .mentors__item_name { + font-size: 18px; + } + + .mentors__item_text { + font-size: 16px; + } + + .routine-wrapper { + margin-left: 0; + } + + .routine-wrapper { + gap: 30px; + } + + .routine__item_time { + display: none; + } + + .routine__item_text { + gap: 5px; + } + + .routine__item_time-mobile { + display: block; + font-size: 20px; + line-height: 1.2; + font-weight: 600; + } + + .routine__item_text-title { + font-size: 22px; + } + + .routine__item::before { + left: 10px; + } + + .camp-foto-wrapper { + gap: 10px; + flex-direction: column; + } + + .foto-content, + .foto-left-part { + width: 100%; + } + + .camp-swiper-foto { + height: 250px; + margin-bottom: 5px; + } + + .camp-swiper-foto-thumbsSlider { + height: auto; + } + + .foto-content { + font-size: 16px; + } + + .foto-banner { + margin-top: 20px; + flex-direction: column; + border-radius: 40px; + padding: 15px 25px; + } + + .foto-banner_text { + position: relative; + padding-left: 0; + width: 90%; + font-size: 22px; + margin-bottom: 30px; + font-weight: 600; + } + + .foto-banner_text span { + position: absolute; + top: 0; + left: 100%; + } + + .foto-banner a { + width: 100%; + } + + .more .btn-more { + height: 24px; + background: #fff; + } + + .faq-wrapper { + gap: 0; + flex-direction: column; + } + + .accordion { + width: 100%; + gap: 0; + } + + .accordion-last { + border-top: none; + margin-top: 0; + } + + .accordion .box__accordion .box__accordion_label { + padding: 10px 0; + } + + .camp-faq .box__accordion_label span { + font-size: 20px; + } + + .box__accordion_label svg { + flex-shrink: 0; + } + + .contact-wrapper { + gap: 20px; + flex-direction: column-reverse; + } + + .contact-map { + width: 100%; + height: 250px; + } + + #ya-map { + height: 250px !important; + } + + .contact-content { + width: 100%; + } + + .contact_tel { + font-size: 18px; + } + .mentors__item_img { + max-height: 195px; + } + .camp-reviews-wrapper .custom-button-next { + right: -20px; + top: 40%; + } + .camp-reviews-wrapper .custom-button-prev { + left: -20px; + top: 40%; + } + .modal-programs-wrapper { + gap: 15px; + border-radius: 10px; + padding: 15px; + max-width: 95%; + flex-direction: column; + } + .btn-close-modal, + .btn-close-mentors { + left: auto; + right: 0; + } + .modal-programs__img { + height: auto; + border-radius: 10px; + } + .modal-mentors-wrapper { + position: relative; + padding: 15px; + width: 90%; + gap: 20px; + color: #212121; + height: fit-content; + max-height: 90%; + border-radius: 10px; + flex-direction: column; + } + .modal-mentors_name { + font-size: 20px; + } + .modal-mentors__about { + gap: 10px; + flex-direction: column; + } + .about-item { + width: 100%; + padding: 10px; + border-radius: 10px; + background-color: #e7fff2; + display: flex; + gap: 10px; + flex-direction: column; + } + .mentors__about-col { + gap: 10px; + } + .mentors__about-col_title { + font-size: 18px; + } + .mentors__about-col_text { + font-size: 14px; + } + .mentors__about-col_text section { + padding: 0; + } + .modal-additional__education { + width: 100%; + padding: 10px; + border-radius: 10px; + gap: 10px; + flex-direction: column; + } + + .modal-additional__education_list ul { + padding-left: 0 !important; + } + + .modal-additional__education_list li { + width: 100%; + padding-left: 10px; + } + .camp-reviews-wrapper .custom-button-next:after, .camp-reviews-wrapper .custom-button-prev:after { + font-size: 12px; + height: 27px; + width: 27px; + display: flex; + } +} \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/css/main.css b/wp-content/themes/dekart/assets/css/main.css new file mode 100644 index 0000000..475a19e --- /dev/null +++ b/wp-content/themes/dekart/assets/css/main.css @@ -0,0 +1,9625 @@ +:root { + --main-color: #BF568E; + --main-blue: #006DB7; + --main-yellow: #FFD43E; +} + +html { + height: auto; +} + +body { + color: #000; + font-family: Roboto; + background: #FFF; +} + +p { + font-weight: 400; + /*margin: 0 0 30px 0;*/ + padding: 0; + /* line-height: 1.8; + letter-spacing: .05em; */ +} + +h2 { + font-family: Oswald; +} + +.courses { + background-color: #fff; +} + +.fon-0 { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; +} + +main { + display: flex; + flex-direction: column; + gap: 70px; +} + +.container-max { + max-width: 1920px; + margin: 0 auto; + position: relative; + display: flex; + flex-direction: column; +} + +/* header */ +.header { + width: 100%; + background-color: #303030; +} + +.header-nav { + max-width: 1184px; + margin: 0 auto; + padding: 26px 0 10px; + display: flex; + flex-direction: column; +} + +.header-nav a { + color: #fff; + transition: .3s; +} +.current-menu-item a { + color: var(--main-yellow); +} + +.top-header-row { + display: flex; + align-items: center; + justify-content: space-between; + padding-bottom: 10px; + border-bottom: 1px solid #ffffff82; +} + +.bottom-header-row { + display: flex; + justify-content: space-between; + align-items: center; +} + +.header-logo { + display: flex; +} + +.header-logo img { + width: 136px; + height: 40px; +} + +.header-menu { + display: flex; + gap: 20px; + font-size: 16px; +} + +.header-menu__item_link { + position: relative; + display: flex; + align-items: center; + padding-right: 25px; +} + +.header-menu_link a { + color: #fff; + transition: .3s; +} + +.header-menu_link a:hover { + color: #BBBBBB; +} + + +.list-links_item img { + width: 35px; + height: 35px; + object-fit: contain; +} + +.header-menu .menu-item-has-children { + position: relative; + transition: .3s; + display: flex; + align-items: center; + padding-right: 25px; + z-index: 100; +} + +.header-menu .menu-item-has-children::before { + position: absolute; + width: 20px; + height: 20px; + content: ""; + right: 0; + background-image: url(../images/header-arrow.svg); + background-size: contain; + background-repeat: no-repeat; + transition: .3s; +} + +.inter-lk { + display: flex; + gap: 11px; + font-family: 'Roboto'; + font-weight: 400; + font-size: 16px; + line-height: 33px; + color: #FFFFFF; + align-items: center; + justify-content: center; + border-radius: 15px; +} + +.nav__header-wrapper { + padding: .5rem 0; + display: flex; + align-items: center; + justify-content: space-between; + font-weight: 500; + border-bottom: 1px solid var(--bg-color-light) +} + + +.header-menu .sub-menu { + position: absolute; + top: 100%; + padding: 20px; + visibility: hidden; + opacity: 0; + transition: .3s; + width: max-content; + display: flex; + flex-direction: column; + gap: 20px; + z-index: 1; + background: #303030; + border-radius: 10px; + color: #fff; +} + +.header-menu .menu-item-has-children:hover a::before { + rotate: 180deg; +} + +.sub-menu a { + color: inherit; +} + +.sub-menu a:hover { + color: var(--main-color); +} + +.header-menu .menu-item-has-children:hover .sub-menu { + visibility: visible; + opacity: 1; +} + +.menu-col { + display: flex; + flex-direction: column; + gap: 30px; + min-width: 250px; +} + +.list-links { + display: flex; + flex-direction: column; + gap: 13px; +} + +/* .menu-col_title { + position: relative; + font-family: 'Roboto'; + font-weight: 500; + font-size: 22px; + line-height: 26px; + transition: .3s; + margin-left: 10px; +} */ + +.out-link { + width: fit-content; + padding-right: 40px; + align-self: self-end; + margin: 0; + margin-right: 40px; +} + +.menu-col_title:hover { + color: var(--main-blue); +} + +.list-links_item { + padding: 10px; + border-radius: 15px; + background-color: #fff; + transition: .3s; +} + +.list-links_item:hover { + background-color: #F3F3F3; +} + +.list-links_item a { + display: flex; + gap: 13px; + align-items: center; + font-family: 'Roboto'; + font-weight: 400; + font-size: 18px; + line-height: 20px; + letter-spacing: 0.8px; + color: #000000; +} + +.menu-col_title::after { + position: absolute; + content: ''; + bottom: -6px; + width: 100%; + height: 3px; + background: radial-gradient(97.18% 216.64% at 17.11% 28.58%, #BF568E 0%, #975B97 21%, #006DB7 100%); + border-radius: 2px; + left: 0; +} + +.add-menu { + display: flex; + gap: 30px; + flex: 1; + justify-content: flex-end; + align-items: center; +} + +.add-menu_item { + display: flex; + gap: 8px; + color: #fff; + font-size: 16px; + align-items: center; +} + +.header-location { + font-size: 22px; +} + +.add-menu .btn-free-lesson-header { + width: 200px; + padding: 10px 20px; + font-size: 16px; + font-family: 'Roboto'; + text-transform: none; + font-weight: 400; +} +/* header END */ + +/* banner */ +.banner { + position: relative; + width: 100%; + overflow: hidden; +} + +.banner.container { + max-width: 1920px; + padding: 0; +} +.page-rewiews .banner.container { + height: 450px; +} + +.breadcrumbs { + z-index: 1; + display: flex; + color: #fff; + gap: 30px; + font-weight: 500; + font-size: 14px; + line-height: 100%; + text-transform: uppercase; + align-items: center; + padding: 12px 0 12px 56px !important; +} + +.teacher-page .breadcrumbs { + position: initial !important; +} + +.breadcrumbs li { + position: relative; + display: flex; + align-items: center; + color: var( --main-blue); +} + +.breadcrumbs li::before { + position: absolute; + content: ''; + width: 15px; + height: 1px; + background-color: #AAAAAA; + left: calc(100% + 7px); +} + +.breadcrumbs li:last-child::before { + display: none; +} + +.breadcrumbs .last_item { + /*color: #006DB7;*/ + color: #AAAAAA; +} + +.breadcrumbs a { + color: #AAAAAA; +} + +.fa-home { + width: 20px; +} + +.fa-home svg { + fill: #AAAAAA; +} + +.fa-home path { + fill: #AAAAAA; + stroke: #AAAAAA; +} + +.banner-wrapper { + position: relative; + max-width: 1296px; + margin: 0 auto; + height: 454px; + background: #231919; + border-radius: 20px; + overflow: hidden; + display: flex; + justify-content: center; +} + +.banner-fon { + position: absolute; + width: 100%; + height: 100%; + object-fit: cover; + top: 0; + left: 0; +} + +.page .banner-fon { + position: relative; +} + +.banner-fon img { + width: 100%; + height: 100%; + object-fit: cover; +} + +.banner__content { + position: absolute; + width: 100%; + display: flex; + flex-direction: column; + align-items: center; + bottom: 30px; + width: fit-content; + padding: 30px 50px; + border-radius: 10px; + background: #000000c2; +} + +.page_title { + font-family: 'Oswald'; + font-style: normal; + font-weight: 500; + font-size: 36px; + line-height: 46px; + color: #FFD43E; + text-transform: uppercase; + text-align: center; +} + +.banner_text { + font-family: 'Roboto'; + font-weight: 500; + font-size: 24px; + color: #FFD43E; + margin-top: 10px; + margin-bottom: 10px; + padding: 0 20px; + text-align: center; +} + +.info-block { + margin: 0 auto; + max-width: 1185px !important; + margin-top: -35px !important; + padding: 0 !important; + display: flex; + flex-wrap: wrap; + gap: 2px; + justify-content: center; +} + +.info-block__item { + position: relative; + min-width: 180px; + max-width: 195px; + height: 120px; + display: flex; + align-items: center; + border-radius: 15px; + flex: 1; + flex-wrap: wrap; +} + +.info-block__item-wrapper { + width: calc(100% - 10px); + height: calc(100% - 10px); + border-radius: 10px; + display: flex; + align-items: center; + justify-content: center; + padding: 0 10px; + border: 2px solid #006DB7; +} + +.info-block__item-wrapper span { + text-align: center; + font-family: 'Roboto'; + font-weight: 400; + font-size: 14px; + line-height: 1.2; + color: #000; +} + +/* banner END */ +.main-page { + padding-top: 35px; +} +/* banner-main-page */ +.banner-main-page { + max-width: 1185px; + margin: 0 auto; + border-radius: 20px; + overflow: hidden; +} +.banner-main-page_img img{ + width: 100%; +} +/* banner-main-page END */ + +/* info__block */ +.info__block { +} +.info__block-wrapper { + width: 100%; + background: #FFFDF6; + border: 1px solid #000000; + border-radius: 20px; + padding: 50px 80px 50px 90px +} +.page_h2 { + font-family: 'Oswald'; + font-style: normal; + font-weight: 500; + font-size: 40px; + line-height: 55px; + color: #000; + text-align: center; + margin-bottom: 40px; +} +.info__block-content { + display: flex; + gap: 20px; + font-weight: 400; + font-size: 18px; + line-height: 25px; +} +.info__block-content_text { + display: flex; + flex-direction: column; + gap: 2rem; +} +.info__block-content_text-a { + color: var(--main-blue); + font-weight: 600; + font-size: 16px; + text-align: end; +} +.info__block-content_img { + width: 100%; + max-width: 225px; + display: flex; + align-items: flex-end; +} +.info__block-content_img img { + width: 100%; + height: auto; + object-fit: cover; +} +.info__block-right .info__block-wrapper { + background: transparent; + padding: 20px 60px; + border: 2px solid #000000; +} +.info__block-right .info__block-content { + flex-direction: row-reverse; + gap: 40px; +} + + +.info__block-items-wrapper { + display: flex; + flex-direction: column; + gap: 25px; + margin-left: -40px; +} +.info__block-item { + padding: 14px 25px; + background: #C9DA8F; + border-radius: 20px; + display: flex; + gap: 20px; + align-items: center; +} + +.info__block-item_number { + width: 48px; + height: 48px; + background: #FFFFFF; + border: 2px solid #013051; + display: flex; + color: #000; + font-family: 'Oswald'; + font-weight: 600; + font-size: 22px; + border-radius: 50%; + flex-shrink: 0; + align-items: center; + justify-content: center; +} +.info__block-item-content { + display: flex; + flex-direction: column; + gap: 12px; +} +.info__block-item-text_title { + font-family: 'Roboto'; + font-weight: 500; + font-size: 20px; + line-height: 23px; +} +.info__block-right .page_h2 { + text-align: left; + margin-bottom: 0; +} +/* info__block END */ +.btn-page { + margin: 0 auto; + font-weight: 300 !important; + font-size: 18px !important; +} +/* advantages__block */ +.advantages__block .container { + padding: 20px 50px; + background: #F2F5F7; + border-radius: 20px; +} +.advantages__block-content { + display: flex; + flex-direction: column; + gap: 20px; +} +.advantages__block-row { + display: flex; + gap: 20px; +} +.advantages__block-item { + width: 320px; + padding: 35px; + height: 320px; + background: #FFF; + border-radius: 36px; + color: #000; + display: flex; + flex-direction: column; +} +.advantages__block-item:first-child { + min-width: 504px; +} +.advantages__block-item_title { + min-height: 46px; + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-size: 20px; +} +.advantages__block-item p { + margin-top: 10px; + flex: 1; + font-size: 14px; + line-height: 19px; +} +.advantages__block-item-img { + display: flex; + justify-content: space-between; + align-items: flex-end; +} +.advantages__block-item-img img { + width: 30%; + max-width: 100px; + height: auto; +} +.advantages__block-item a { + color: var(--main-blue); + font-weight: 600; + font-size: 14px; +} +/* advantages__block END*/ +/* page-teachers */ +.page-teachers { + background-color: #fff; +} + +.teachers_title { + font-family: 'Oswald'; + font-style: normal; + font-weight: 600; + font-size: 60px; + line-height: 88px; + text-transform: uppercase; + color: var(--main-blue); + position: relative; + margin-bottom: 60px; + width: fit-content; + z-index: 1; +} + +.teachers_title::after { + content: ''; + position: absolute; + top: -60px; + right: -48px; + border-radius: 50%; + width: 147px; + height: 147px; + background: #FFD43E; + z-index: -1; +} + +.main_content, +.main_content p { + font-family: 'Roboto'; + font-weight: 300 !important; + font-size: 22px; + line-height: 27px; +} + +.main_content h2 { + font-family: 'Oswald'; + font-size: 35px; + line-height: 27px; + margin-bottom: 30px; + margin-top: 40px; +} + +.main_content ul { + padding: inherit; + padding-left: 20px; + margin-left: 16px; + margin-bottom: 30px; +} + +.main_content ul li { + list-style-type: disc; +} + +.list-teachers { + padding: 60px 0; + background-color: #F3F3F3; + position: relative; + z-index: 1; +} + +.page-o-nas { + background-color: #fff; +} + +.foto-slider { + +} +.foto-slider .container { + padding: 20px 100px; + border-radius: 20px; + border: 1px solid #000; +} + +.swiper-foto { + margin-top: 40px; + padding-bottom: 95px; +} +.foto-slider .swiper-pagination { + bottom: 25px; +} + +.foto-slider .swiper-pagination-clickable .swiper-pagination-bullet { + width: 30px; + height: 30px; + background-color: var(--main-blue); + margin: 0 12px; +} + +.swiper-pagination-clickable .swiper-pagination-bullet { + width: 15px; + height: 15px; + background-color: #a4a4a4; +} + +.swiper-pagination-bullet-active { + background-color: #CCCCCC; +} + +.img__item img { + width: 100%; + height: 100%; + object-fit: cover; + aspect-ratio: 16 / 9; +} + +.subject-wrapper { + width: 490px; + margin: 0 auto; + position: relative; + transition: .3s; + padding: 25px 20px; + background: #FFD43E; + border-radius: 15px; + z-index: 1; + cursor: pointer; +} + +.subject-wrapper span { + font-family: 'Oswald'; + font-weight: 500; + font-size: 30px; + line-height: 28px; + align-items: center; + position: relative; + color: #774C8C; + width: 100%; + display: flex; + align-items: center; + text-transform: uppercase; +} + +.subject-wrapper span::after { + position: absolute; + content: ""; + width: 20px; + height: 28px; + background-image: url(../images/slider-arow.svg); + transform: translateY(-50%); + right: 0; + background-repeat: no-repeat; + background-position: center center; + background-attachment: fixed; + -webkit-background-size: 100%; + -moz-background-size: 100%; + -o-background-size: 100%; + background-size: 100%; + transition: all .4s; + rotate: -90deg; + transition: .3s; +} + +.subject__list { + position: absolute; + width: 100%; + max-height: 0; + transition: .3s; + top: 100%; + overflow: hidden; + background: #fff; + border-radius: 15px; + left: 0; + padding: 0 17px; + display: flex; + flex-direction: column; + font-size: 18px; + text-transform: uppercase; + box-shadow: 0 1px 4px rgb(0 0 0), -23px 0 20px -23px rgb(0 0 0 / 80%), 23px 0 20px -23px rgb(0 0 0 / 80%), 0 0 40px rgb(0 0 0 / 10%) inset; +} + +.subject-wrapper.open span::after { + transform: translateY(-50%) rotate(-180deg); +} + +.subject-wrapper.open .subject__list { + max-height: 800px; + padding: 30px 17px; + cursor: pointer; +} + +.subject__list li { + transition: .3s; + padding: 12px 25px; + border-radius: 10px; +} +.subject__list_item a { + color: #000; +} +.subject__list li:hover { + background-color: #F3F3F3; +} + +.teachers-wrapper { + display: flex; + flex-wrap: wrap; + gap: 35px; +} + +.teachers__item { + width: calc(25% - 27px); + border-radius: 15px; + overflow: hidden; + border: 1px solid transparent; + transition: .3s; +} + +.teachers__item:hover { + border: 1px solid #FFD43E; + box-shadow: 0 0 4px #FFD43E; +} +.ourteacher-avatar a{ + display: block; + height: 280px; +} + +.teachers__item img { + width: 100%; + height: 100%; + object-fit: contain; +} + +.page-o-nas .teachers__item img { + object-fit: contain; + max-height: 305px; +} + +@media (max-width: 860px) { + .vacancies__banner-right .b24-form { + margin: 0 auto; + } + + .contetn-main_block { + padding-bottom: 0; + } + + .teachers_title { + font-size: 26px; + line-height: 40px; + margin-bottom: 35px; + } + + .teachers_title::after { + width: 66px; + height: 66px; + top: -25px; + right: -25px; + } + + .main_content, + .main_content p { + font-size: 16px; + line-height: 20px; + margin-bottom: 0; + } + + .main_content h2 { + font-family: 'Oswald'; + font-size: 26px; + line-height: 24px; + margin-bottom: 20px; + margin-top: 20px; + } + + .main_content ul { + padding: inherit; + padding-left: 10px; + margin-left: 8px; + margin-bottom: 0; + } + + .swiper-foto { + margin-top: 15px; + padding-bottom: 40px; + } + + .swiper-pagination-clickable .swiper-pagination-bullet { + width: 10px; + height: 10px; + } + + .list-teachers { + padding: 70px 0; + background-color: #F3F3F3; + position: relative; + z-index: 1; + } + + .list-teachers { + padding: 40px 0; + } + + .subject__list { + font-size: 14px; + } + + .teachers-wrapper { + gap: 15px; + margin-top: 40px; + } + + .subject-wrapper { + width: 100%; + padding: 17px 20px; + } + + .subject-wrapper.open .subject__list { + padding: 20px 17px; + } + + .subject__list li { + padding: 5px 15px; + } + + .subject-wrapper span { + font-size: 26px; + } + + .subject-wrapper span::after { + width: 14px; + height: 20px; + } + + .teachers__item { + width: calc(50% - 8px); + } +} + +/* page-teachers END */ + +/* preparation */ + +.preparation { + padding-top: 20px; + display: flex; + flex-direction: column; + padding-bottom: 62px; +} + +.section-Mntitle-circle { + position: relative; + font-family: 'Oswald'; + font-weight: 500; + font-size: 45px; + line-height: 55px; + display: flex; + align-items: center; + text-align: center; + color: #212121; + justify-content: center; + width: fit-content; + margin: 0 auto; + z-index: 1; +} + +.section-Mntitle-circle::after { + content: ''; + position: absolute; + top: -22px; + right: -48px; + border-radius: 50%; + width: 147px; + height: 147px; + background: #FFD43E; + z-index: -1; +} + +.tabs-container { + margin-top: 60px; + display: flex; + flex-direction: column; + align-items: center; + gap: 60px; +} + +.tabs-btns { + display: flex; + justify-content: center; + width: 90%; + border-radius: 39px; + background-color: #fff; +} + +.tab { + position: relative; + width: 50%; + cursor: pointer; + color: var(--main-blue); + padding: 27px 0; + font-family: 'Roboto'; + font-weight: 500; + font-size: 22px; + line-height: 25px; + display: flex; + align-items: center; + text-align: center; + justify-content: center; + text-transform: uppercase; + transition: .3s; + border-radius: 39px; +} + +.tab-clicked { + position: absolute; + top: 0; + right: 0; + left: 0; + bottom: 0; + z-index: 1; +} + +.tab:hover { + color: var(--main-color); +} + +.tab.active { + background-color: var(--main-yellow); +} + +.page-tab { + display: flex; + justify-content: center; +} + +.tabs-content { + width: 100%; + position: relative; + left: 0; + transition: var(--main-transition); +} + +.page-tab { + display: none !important; +} + +.page-tab.active { + display: flex !important; +} + +.disciplines { + display: flex; + flex-wrap: wrap; + gap: 40px 66px; + justify-content: flex-start; + padding-bottom: 60px; +} + +.disciplines__item { + flex: 1; + max-width: calc(25% - 50px); + min-width: 280px; + height: 300px; + padding: 30px 50px; + background: #FFFFFF; + border-radius: 20px; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 30px; + border: 1px solid transparent; + transition: .3s; +} + +.disciplines__item:hover { + border: 1px solid var(--main-yellow); + box-shadow: 0 0 4px var(--main-yellow); +} + +.disciplines__item_icon { + width: 167px; + height: 167px; + object-fit: contain; +} + +.disciplines__item_name { + font-family: 'Roboto'; + font-weight: 500; + font-size: 22px; + line-height: 25px; + text-transform: uppercase; + color: #000; + margin: 0; + text-align: center; + width: 100%; +} + +.preparation_links { + display: flex; + gap: 80px; + justify-content: center; + font-family: 'Oswald'; + font-weight: 400; + font-size: 30px; + line-height: 22px; + text-transform: uppercase; +} + +.preparation_links a { + width: 490px; + display: flex; + justify-content: center; + gap: .5rem; + padding: 30px; + color: var(--main-color); + background: #FFD43E; + border-radius: 18px; +} + +.preparation_links span { + color: var(--main-blue); +} + +/* preparation END */ +.courses .preparation { + padding-bottom: 0 !important; + +} + +/* popular-subjects & news*/ +.product-warpper { + margin-top: 80px; + display: flex; + flex-wrap: wrap; + gap: 25px 20px; +} + +.course_description { + margin-top: 60px; + font-family: 'Roboto'; + display: flex; + gap: 1em; + flex-direction: column; + font-family: 'Roboto'; + font-weight: 300; + font-size: 18px; + line-height: 23px; + color: #000000; +} + +.course_description p { + + margin: 0; +} + +.product-warpper .popular__subject { + width: calc(33.3% - 20px); +} + +.popular-subjects { + position: relative; +} + +.popular-subjects .container{ + padding: 50px 50px 75px; + background: #C9A7C64D; + border-radius: 20px; + border: 1px solid #000; +} + +.main-subtitle-page { + margin: 10px 0 40px; + font-family: 'Roboto'; + font-weight: 400; + font-size: 19px; + line-height: 22px; +} + +.popular__subject { + display: flex; + flex-direction: column; + gap: 30px; + transition: .3s; + background: #F3F3F3; + border-radius: 20px; + border: 1px solid transparent; + overflow: hidden; + padding-bottom: 50px; +} + +.popular__subject:hover { + border: 1px solid #FFD43E; + box-shadow: 0px 0px 4px #FFD43E; +} + +.popular__subject_img { + position: relative; + display: flex; + width: 100%; + height: 235px; +} + +.popular__subject_label { + position: absolute; + top: 16px; + right: 0; + background: #FFD43E; + padding: 9px 40px; + border-radius: 11px 0px 0px 11px; + color: #fff; + font-family: 'Oswald'; + font-weight: 500; + font-size: 16px; + text-transform: uppercase; +} + +.popular__subject_img img { + width: 100%; + height: auto; + object-fit: cover; +} + +.product-info { + display: flex; + flex-direction: column; + gap: 20px; + padding: 0 30px; + flex: 1; + justify-content: space-between; +} + +.popular__subject_title { + font-family: 'Roboto'; + font-weight: 500; + font-size: 16px; + color: #000; + text-transform: uppercase; + width: 100%; + display: flex; +} + +.popular__subject_text { + font-family: 'Roboto'; + margin: 0; + font-weight: 300; + font-size: 14px; + line-height: 17px; + color: #000; + overflow: hidden; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; +} + +.btn-yellow-link { + padding: 30px 90px; + background: #FFD43E; + border-radius: 18px; + font-family: 'Oswald'; + font-weight: 400; + font-size: 30px; + line-height: 22px; + text-transform: uppercase; + color: var(--main-color); +} +.news .btn-yellow-link { + padding: 15px 130px; + color: #000; + border-radius: 10px; + font-weight: 400; + font-size: 20px; + line-height: 30px; +} +.buttons { + margin-top: 60px; + display: flex; + justify-content: center; + gap: 20px; +} +.buttons .btn-yellow-link { + font-size: 18px; + padding: 15px 40px; +} + +.our-teachers .buttons { + margin-top: 40px; +} +/* popular-subjects END */ +/* price */ + +.price { + padding: 70px 0; + background-color: #fff; +} + +.price-wrapper { + flex-direction: row; + padding: 40px; + background: radial-gradient(48.07% 192.01% at 1.89% 94%, #006DB7 0%, #1F1F1F 100%); + border-radius: 25px; + gap: 60px; + align-items: flex-start; +} + +.price .tabs-btns { + position: relative; + flex-direction: column; + background-color: #fff0; + min-width: 390px; + gap: 18px; + z-index: 1; + width: auto; +} + +.price .tab { + width: 100%; + padding: 22px; + text-transform: none; + background-color: #fff; +} + +.price .tab.active { + background-color: var(--main-yellow); +} + +.price .page-tab { + flex: 1; + display: flex; + flex-direction: column; + gap: 8px; +} + +.price__item { + position: relative; + padding: 35px 28px; + background-color: #fff; + border-radius: 20px; + font-family: 'Roboto'; + font-weight: 500; + font-size: 22px; + line-height: 26px; + color: #000000; + display: flex; + justify-content: space-between; + align-items: center; +} + +.price__item::before { + position: absolute; + content: ''; + width: 1px; + right: 205px; + height: 62px; + background-color: #000; +} + +.price__item_number { + color: var(--main-color); + text-align: end; +} + +.price__item_number span { + color: #000; + font-size: 14px; + +} + +.price__item-content { + line-height: 22px; + font-weight: 400; + font-family: 'Roboto'; +} + +.price__content_title { + margin-top: 40px; + font-family: 'Roboto'; + font-weight: 400; + font-size: 30px; + text-transform: uppercase; + color: var(--main-yellow); +} + +.price__item-content p { + margin-top: 20px; + font-size: 22px; + color: #FFFFFF; +} + +.price__item-content ul { + margin-top: 20px; + display: flex; + flex-direction: column; + gap: 20px; + font-size: 22px; + color: #FFFFFF; +} + +.price__item-content ul li { + position: relative; + display: flex; +} + +.price__item-content ul li::after { + position: absolute; + content: ''; + top: 5px; + right: calc(100% + 12px); + width: 14px; + height: 14px; + border-radius: 3px; + background-color: var(--main-color); +} + +.price__item-content span { + display: contents; + color: var(--main-yellow); + font-size: 24px; + font-weight: 500; + text-transform: uppercase; +} + +/* price END */ + +.our-teachers .buttons { + display: flex; + justify-content: center; +} + +/* preparation-block */ + +.preparation-block { + padding: 70px 0 100px; + background-color: #fff; +} + +.preparation-block-wrapper { + display: flex; + gap: 70px; +} + +.preparation-block_text { + width: calc(72% - 35px); +} + +.preparation-block p { + padding-top: 40px; + font-family: 'Roboto'; + font-weight: 300; + font-size: 18px; + line-height: 21px; + width: 85%; +} + +.preparation-block_img { + width: calc(28% - 35px); + padding-top: 100px; + display: flex; +} + +.preparation-block_img img { + width: 100%; + height: 100%; + object-fit: contain; +} + +/* preparation-block END */ + +/* advertising-block */ +.advertising-block { + padding: 35px 0; + background-color: #1F1F1F; + color: #fff; +} + +.advertising-block-wrapper { + display: flex; +} + +.advertising-block__text { + width: 50%; + display: flex; + flex-direction: column; + justify-content: center; + font-family: 'Roboto'; + padding-right: 20px; +} + +.label-blue { + margin-top: 33px; + width: fit-content; + padding: 12px 38px; + background: var(--main-background); + border-radius: 15px; + text-transform: uppercase; + font-weight: 500; + font-size: 18px; + line-height: 21px; + color: #FFFFFF; + align-self: center; +} + +.advertising-block__text_text { + margin: 34px 0 50px; + font-weight: 400; + font-size: 18px; + line-height: 21px; +} + +.advertising-block__img { + width: 100%; + max-width: 678px; +} + +.advertising-block__img img { + width: 100%; + height: auto; + object-fit: cover; +} + +.advertising-block__text_sub-title { + font-weight: 500; + font-size: 26px; + line-height: 160%; + text-transform: uppercase; +} + +.text-yellow { + color: var(--main-yellow) !important; +} + +/* advertising-block END */ +/* why-us */ +.why-us { + background-color: #fff; +} + +.why-us-wrapper { + margin-top: 40px; + display: grid; + grid-template-columns: repeat(3, 1fr); + grid-template-rows: repeat(3, 1fr); + grid-column-gap: 0px; + grid-row-gap: 0px; + grid-column-gap: 37px; + grid-row-gap: 40px; +} + +.div1 { + grid-area: 1 / 1 / 2 / 2; +} + +.div2 { + grid-area: 1 / 2 / 2 / 3; +} + +.div3 { + grid-area: 1 / 3 / 2 / 4; +} + +.div4 { + grid-area: 2 / 1 / 4 / 2; +} + +.div5 { + grid-area: 2 / 2 / 3 / 3; +} + +.div6 { + grid-area: 2 / 3 / 3 / 4; +} + +.div7 { + grid-area: 3 / 2 / 4 / 3; +} + +.div8 { + grid-area: 3 / 3 / 4 / 4; +} + +.why-us_item { + width: 100%; + display: flex; + gap: 20px; + align-items: center; + padding: 15px 30px; + background: #F3F3F3; + border-radius: 20px; +} + +.why-us_item span { + font-family: 'Roboto'; + font-weight: 400; + font-size: 22px; + line-height: 30px; +} + +.why-us_item-img { + width: 100%; + min-width: 30%; + height: 100%; + display: flex; + flex: 1; + border-radius: 10px; + justify-content: center; + overflow: hidden; +} + +.why-us_item-img img { + height: 100%; + width: 100%; + max-width: 100px; + object-fit: contain; +} + +.div4 .why-us_item-img img { + max-width: 152px; +} + +.div4 { + flex-direction: column; +} + +/* why-us END */ + +/* map */ +.map { + background-color: #fff; + padding-bottom: 70px; +} +.map .container { + padding: 20px 55px; + border: 1px solid; + border-radius: 20px; +} +.map_title { + font-family: 'Oswald'; + font-weight: 600; + font-size: 40px; + line-height: 78px; + margin-bottom: 40px; + text-align: center; +} + +.location__map { + position: relative; + border-radius: 25px; + overflow: hidden; + display: flex; + align-items: center; + justify-content: center; +} + +.map_address { + position: absolute; + top: 26px; + left: 0; + background: rgba(11, 92, 146, 0.69); + border-radius: 0px 21px 20px 0px; + display: flex; + flex-direction: column; + align-items: center; + font-family: 'Roboto'; + font-weight: 400; + font-size: 16px; + line-height: 28px; + color: #FFFFFF; + padding: 16px 46px; + z-index: 1; +} + +.map_address span { + font-weight: 500; + text-transform: uppercase; +} + +/* map END */ +/* ============== */ +@media screen and (max-width: 992px) { + .container.header-mobile-container { + position: relative; + padding: 15px 15px; + } + + header.mobile-header .header-mobile-inner { + height: 50px; + display: flex; + gap: 10px; + } + + header.mobile-header .header-mobile-inner .toggle-icon-wrapper { + position: relative; + } + + header.mobile-header .header-mobile-inner .header-customize { + position: inherit; + display: flex; + flex-shrink: 0; + order: 2; + margin: 0; + align-items: center; + } + + header.header-mobile-1 .header-logo-mobile { + padding-left: 0; + padding-right: 0; + display: flex; + flex: 1; + justify-content: center; + } + + .header-logo-mobile a { + display: flex; + opacity: 0; + } + + .header-logo-mobile img { + max-height: none; + padding-top: 0; + padding-bottom: 0; + } + + header .phone-header a { + font-size: 16px; + } + + a.mobile-whatsap { + height: 100%; + margin-right: 10px; + } + + header .phone-header { + padding-top: 0; + } + + .mobile-header-here { + padding: 0; + } + + .mobile-header-here .container { + padding-top: 6px; + padding-bottom: 6px; + text-align: start; + } +} + +@media screen and (max-width: 992px) { + + .read_div { + color: black !important; + margin: 0 0 10px 0; + font-size: 16px; + font-weight: 300; + letter-spacing: 0; + line-height: 1.5; + } +} + +/* .map-data { + position: absolute; + left: 0; + margin: 0; + top: 0; + width: 100%; + background: #0B5C92B0; + border-radius: 0 0 20px 20px; + color: #fff; + padding: 4px 20px 0; + font-size: 16px; + line-height: 21px; +} + +.map-data span { + font-family: Roboto; + font-size: 16px; + line-height: 34px; + display: block; + font-weight: 600; + margin-top: 0; +} + +.gmap { + position: relative; + padding-bottom: 60px; + background: #fff; +} + +.gmap iframe { + border-radius: 0 0 25px 25px; + overflow: hidden; +} */ + +/* @media (min-width: 640px) { + .map-data { + max-width: 1440px; + left: auto; + margin: 0; + top: 25px; + width: 350px; + background: #0B5C92B0; + border-radius: 0 20px 20px 0; + color: #fff; + padding: 16px 20px; + font-size: 16px; + line-height: 21px; + } +} */ + +/* ======================== */ +:root { + /* --min-midth-content: 768px; */ + --main-transition: .3s; + --main-background: #006DB7; +} + +.section p { + margin: 0; +} + +.teacher-description-wrapper { + display: flex; + flex-direction: column; + align-items: center; +} + +.teacher-description_text { + position: relative; + font-weight: 400; + font-size: 14px; + line-height: 22px; + padding-left: 20px; + padding-right: 20px; +} + +.teacher-description_text::after { + content: ''; + position: absolute; + top: 0; + left: 10px; + height: 100%; + width: 3px; + background: var(--main-background); + border-radius: 5px; +} + +.teacher__rating { + position: relative; + width: 100%; + margin-top: 40px; + display: flex; + flex-direction: column; + align-items: center; +} + +.teacher__rating-img { + position: relative; + top: 6px; + width: 260px; + border-radius: 46px; + overflow: hidden; + height: 260px; + margin-bottom: 16px; + display: flex; + align-items: center; + justify-content: center; +} + +.teacher_stars { + padding-top: 18px; + width: 100%; + display: flex; + justify-content: center; + align-items: center; + gap: 6px; + font-weight: 500; + font-size: 18px; + z-index: 1; + line-height: 28px; + background: #fff; +} + +.teacher__stars_reviews { + color: #A0A0A0; +} + +.teacher_name-wrapper { + position: relative; + margin-top: -14px; + width: 100%; + padding: 12px 0 18px; + background: #FFFFFF; + border-radius: 20px; + margin-bottom: 18px; +} + +.teacher_name { + font-size: 22px; + color: var(--main-background) !important; + text-align: center; + width: 100%; + text-transform: uppercase; + line-height: 22px; + margin-bottom: 0; + justify-content: center; + background: #fff; + padding-top: 12px; + border-radius: 20px 20px 0 0; +} + +.teacher_name::after { + display: none; +} + +.teacher-description_location { + width: 100%; + font-weight: 500; + font-size: 18px; + line-height: 28px; + text-align: center; + color: #A0A0A0; + z-index: 1; + background: #fff; +} + +.conteiner-text { + max-width: 300px; + margin: 0 auto; + margin-top: 8px; +} + +.conteiner-text .box__accordion { + background-color: #FFD43E; + transition: var(--main-transition); +} + +.conteiner-text .box__accordion:hover { + background-color: #FFC806; +} + +.conteiner-text .box__accordion.active { + background-color: #fff; + border: 1px solid #D9D9D9; +} + +.taxonomy-block { + display: flex; + width: 100%; + flex-direction: column; + gap: 4px; + padding: 3px 19px 2px; +} + +.taxonomy-block:last-child { + padding-bottom: 20px; +} + +.taxonomy-block__name { + display: flex; + gap: 8px; + align-items: center; + font-weight: 300; + font-size: 13px; + line-height: 28px; +} + +.taxonomy-block__content { + display: flex; + flex-wrap: wrap; + gap: 6px; + font-weight: 300; + font-size: 13px; + text-align: center; +} + +.taxonomy-block__content span { + padding: 5px 8px; + background: #D9D9D9; + border-radius: 5px; +} +.taxonomy-block__content_item { + padding: 5px 8px; + background: #D9D9D9; + border-radius: 5px; +} + +/* accordion */ +.accordion { + margin-top: 13px; + width: 100%; + display: flex; + flex-direction: column; + gap: 10px; +} +.more-programm { + margin: 20px 0 0; +} +.obrazovanie { + /*border-top: 1px solid #303030; + border-bottom: 1px solid #303030;*/ +} + +.accordion.obrazovanie { + margin-top: 18px; + gap: 0; + overflow: hidden; + transition: .5s; +} + +.programm-course .accordion.obrazovanie { + max-height: 0px; +} +.questions .accordion.obrazovanie { + max-height: none; +} +.accordion.obrazovanie.show { + border-top: 1px solid #303030; + border-bottom: 1px solid #303030; + max-height: 800vh; +} + +.accordion .box__accordion, +.vacancie { + position: relative; + cursor: pointer; + border-radius: 15px; + border: 1px solid transparent; +} + +.questions .accordion.obrazovanie { + border-radius: 0; +} + +.obrazovanie .box__accordion { + border: none; + border-radius: inherit; +} + +.obrazovanie .box__accordion:first-child { + border: none; +} + +.accordion .box__accordion .box__accordion_label { + position: relative; + padding: 12px 19px; + cursor: pointer; + font-weight: 500; + font-size: 16px; + line-height: 28px; +} + +.questions .accordion .box__accordion .box__accordion_label { + line-height: normal; +} +.obrazovanie .box__accordion .box__accordion_label { + font-family: Oswald; + font-size: 26px; + padding: 15px 0px 20px; +} + +.conteiner-text .box__accordion_label { + color: #774C8C; +} + +.conteiner-text .active .box__accordion_label { + color: #000; +} + +.accordion .box__accordion .box__accordion_label::after { + width: 13px; + height: 18px; + content: ""; + background-image: url(../images/slider-arow.svg); + position: absolute; + top: 35%; + transform: translateY(-50%); + right: -8px; + background-repeat: no-repeat; + background-position: center center; + background-attachment: fixed; + -webkit-background-size: 100%; + -moz-background-size: 100%; + -o-background-size: 100%; + background-size: 100%; + transition: all .4s; + rotate: -90deg; +} + +.page-vacancies .accordion .box__accordion .box__accordion_label::after { + display: none; +} + +.obrazovanie .box__accordion .box__accordion_label::after { + display: none; +} + +.accordion .box__accordion.active .box__accordion_label::after { + content: ""; + width: 13px; + height: 18px; + transform: translateY(-50%) rotate(-180deg); + background-image: url(../images/slider-arow.svg); + background-repeat: no-repeat; + background-position: center center; + background-attachment: fixed; +} +.teacher-description .accordion .box__accordion .box__accordion_label::after { + right: 10px; +} +.obrazovanie .box__accordion.active .box__accordion_label::after { + transform: translateY(-50%) rotate(-180deg); + background-image: url(../images/slider-arow.svg); +} + +.box__accordion_content { + display: flex; + flex-direction: column; + position: relative; + overflow: hidden; + max-height: 0; + transition: var(--main-transition); +} + +.box__accordion_content p { + padding: 20px; + width: 70%; +} + +.questions .box__accordion_content p { + width: 100%; +} + .obrazovanie .box__accordion_content { + font-family: 'Roboto'; + font-style: normal; + font-weight: 300; + font-size: 18px; + line-height: 30px; + max-height: none; +} + +.questions .obrazovanie .box__accordion_content { + font-size: 18px; +} + + +.obrazovanie ul { + padding: 0 0 0 20px; + position: relative; +} + +.obrazovanie li { + list-style-type: none; + display: flex; + align-items: center; +} + +.obrazovanie li::after { + content: ""; + position: absolute; + left: 0; + width: 8px; + height: 8px; + border-radius: 2px; + background-color: var(--main-background); +} + +/* accordion END */ +.video { + padding-top: 18px; + padding-bottom: 22px; +} + +/* promo-form */ +.promo-form { + padding-top: 32px; + background-color: #fff; +} + +/* Записаться к преподавателю */ + +.color-lilac { + color: #BF568E; +} + +.promo-form_title { + font-family: 'Oswald'; + font-style: normal; + font-weight: 500; + font-size: 26px; + line-height: 39px; + text-align: left; + text-transform: uppercase; +} + +.promo-form__list { + margin-top: 65px; + display: flex; + flex-direction: column; + gap: 14px; + font-size: 24px; + padding-left: 24px; + font-weight: 700; + list-style-type: none; + flex: 1; +} + +.promo-form__list li { + position: relative; + display: flex; + align-items: center; +} + +.promo-form__list li::before { + content: ''; + position: absolute; + left: -24px; + width: 11px; + height: 11px; + border-radius: 50%; + background-color: #fff; +} + +.black-label { + position: relative; + left: 0; + padding: 14px 55px 14px 46px; + background: #222222; + border-radius: 0px 15px 15px 15px; + font-family: 'Oswald'; + font-weight: 600; + font-size: 30px; + line-height: 38px; + text-transform: uppercase; + color: #FFFFFF; +} + +.text-block_label { + font-weight: 700; + font-size: 16px; + text-align: center; + letter-spacing: 0.9px; + text-transform: uppercase; + color: #FFF !important; + justify-content: center; +} + +.black-label span { + color: var(--main-yellow); +} + +.promo-form .form-data { + width: 100%; + margin-top: 14px; + padding: 21px 17px; + background: #FFFFFF; + border-radius: 15px; + font-family: 'Roboto' !important; + font-style: normal; + font-weight: 500; + font-size: 20px !important; + line-height: 22px !important; + color: #000 !important; + letter-spacing: 0 !important; +} + +.promo-form label { + margin: 20px 0; + font-weight: 300; + font-size: 14px; + text-align: justify; +} + +.promo-form label input { + position: relative; + width: 16px; + height: 16px; + top: 3px; + margin-right: 20px; +} + +.btn-lilac { + width: 280px; + padding: 16px 0; + background: #BF568E; + border-radius: 15px; + font-family: 'Oswald'; + font-style: normal; + font-weight: 500; + font-size: 22px; + line-height: 22px; + display: flex; + text-transform: uppercase; + color: #FFF; + justify-content: center; + border: none; + transition: .3s; +} + +.btn-banner { + width: 190px; + margin-top: 30px; + font-size: 18px; + padding: 5px 33px; + font-weight: 300; + border-radius: 10px; +} +.btn-lilac:hover { + background: #AB3E78; +} + +.violation { + display: block; + margin-top: 10px; + font-weight: 300; + font-size: 14px; + line-height: 22px; + text-decoration-line: underline; + color: #FFFFFF +} + +.promo-form .phone { + margin-top: 10px; + justify-content: center; +} + +.promo-form .phone a { + margin-top: 13px; + font-weight: 900; + font-size: 32px; + line-height: 24px; + text-align: center; + color: #FFE600; +} + +/* promo-form END */ + +/* block-call */ +.block-call { + width: 100%; + display: flex; + justify-content: center; + padding: 22px 0; +} + +.btn-call { + width: 250px; + padding: 10px; + background: #FFE600; + font-weight: 400; + color: #262626; + font-size: 26px; + line-height: 28px; + border: none; +} + +/* block-call END */ + +/* teacher-about */ +.teacher-about { + padding-bottom: 22px; +} + +.teacher-about-wrapper { + display: flex; + flex-direction: column; + padding: 0 10px !important; +} + +.teacher-about_content { + position: relative; + display: flex; + flex-direction: column; + padding-bottom: 20px; +} + + +.teacher-about_text { + font-weight: 300; + font-size: 16px; + line-height: 20px; + display: flex; + flex-direction: column; + overflow: hidden; + transition: 3s; + max-height: 150vh; +} + +.more .teacher-about_text { + max-height: 170px; +} + +.btn-more { + display: none; +} + +.more .btn-more { + width: 100%; + position: absolute; + right: 0; + bottom: 0; + display: flex; + background: linear-gradient(0deg, rgba(243, 243, 243, 1) 50%, rgba(243, 243, 243, 0) 100%); + border: none; + justify-content: flex-end; +} + +.teacher-about_content .btn-more { + width: 100%; + position: absolute; + right: 0; + bottom: 0; + display: flex; + border: none; + justify-content: flex-end; + padding: 20px 0px 10px; +} + +.btn-more span { + color: #C1C1C1; + font-weight: 400; + font-size: 16px; + background: #fff; +} + +.teacher-about_content .btn-more span { + color: var(--main-background); + background: #f3f3f3; +} + +/* teacher-about END */ + +.custom-button-next, +.custom-button-prev { + position: absolute; + top: var(--swiper-navigation-top-offset, 50%); + z-index: 10; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + color: var(--swiper-navigation-color, var(--swiper-theme-color)); + + width: 20px; + height: 30px; + background-image: url(../images/slider-arow.svg); + background-repeat: no-repeat; + background-position: center center; + -webkit-background-size: 100%; + -moz-background-size: 100%; + -o-background-size: 100%; + background-size: 100%; + transition: .3s; + background-color: transparent; +} + +.custom-button-next, +.swiper-rtl .custom-button-prev { + right: var(--swiper-navigation-sides-offset, 20px); + left: auto; + transform: scale(-1, 1); +} + +.custom-button-prev, +.swiper-rtl .swiper-button-next { + left: var(--swiper-navigation-sides-offset, 20px); + right: auto; +} + +.teachers-owl-prev, +.teachers-owl-next { + top: 50% +} +.teachers-owl-next { + right: 0; +} +.subject-next { + right: -50px; +} + +.subject-prev { + left: -50px; +} + +/* certificates */ +.certificates { + display: flex; + flex-wrap: wrap; + gap: 20px; + justify-content: center; +} + +.certificates_title { + margin-top: 18px; + font-size: 20px; + font-weight: 400; + line-height: 28px; + text-transform: uppercase; + color: #000; + text-align: center; +} + +.certificate__img { + display: flex; + width: 100px; + height: 130px; + justify-content: center; +} + +.certificates__item { + display: flex; + width: calc(100vw - 30px); + height: 90vh; + padding: 0 30px; + justify-content: center; +} + +.btn-close-certificates-img { + width: 44px; +} + +.certificates__item .certificates__item_img { + max-height: none !important; + width: 100% !important; + height: 100%; + object-fit: contain; +} + +.screen-certificates { + visibility: hidden; + position: fixed; + background-color: rgb(0 0 0 / 60%); + align-items: center; + justify-content: center; + transition: var(--main-transition); + display: flex; + z-index: 999999; +} + +.certificates-owl .owl-nav { + position: absolute; + width: 100vw; + top: 50%; + left: 50%; + z-index: 1; + transform: translate3d(-50%, -50%, 0); + display: flex; + justify-content: space-between; +} + +.screen-certificates.open { + top: 0; + left: 0; + width: 100%; + height: 100%; + visibility: visible; + transform: translate3d(0%, 0%, 0); +} + +.screen-certificates__img { + transition: var(--main-transition); + width: 100px; + height: 100px; + display: flex; +} + +.open .screen-certificates__img { + width: 80%; + height: 80%; +} + +.open .screen-certificates__img img { + width: 100%; + height: 100%; + object-fit: contain; +} + +.clickRemove { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: 1; +} + +.btn-close-certificates { + position: absolute; + top: 25%; + right: 0; + background: transparent; + border: none; + z-index: 10; +} + +/* certificates END */ +.right-part { + padding: 0 10px; +} + +.questions h3 { + margin: 0; + text-transform: none; +} + +.questions .box__accordion_content p { + padding: 0 0 30px; +} + +/* reviews */ +.reviews { + background: #fff; + overflow: hidden; +} +.teacher-page .reviews { + padding: 40px 0; +} +.page-school .reviews .container{ + background: rgba(254, 223, 111, 0.2); + border-radius: 20px; + padding: 20px 50px; +} + +.container-wrapper { + display: flex; + gap: 30px; +} + +.teacher-about .teacher_title { + margin-bottom: 2px; +} + +.reviews-wrapper { + position: relative; + display: flex; + gap: 30px 1%; + flex-wrap: wrap; + justify-content: space-between; + max-width: 1120px; + margin: 0 auto; +} + +.reviews-owl { + padding: 6px; +} + +.reviews__item { + position: relative; + width: 31%; +} + +.page-rewiews { + background-color: #fff; +} + +.page-rewiews .rewiews-wrapper { + flex: 1; + padding: 30px 0; + display: flex; + gap: 20px; + flex-wrap: wrap; + height: fit-content; +} + +.page-rewiews .reviews__item-wrapper { + min-height: auto; + position: relative; + padding: 20px 40px; + display: flex; + flex-direction: column; + gap: 15px; + border-radius: 19px; + background-color: #fff; + justify-content: flex-start; + align-items: center; +} + +.page-rewiews .reviews__item { + width: calc(50% - 10px); + min-height: auto; +} + +.reviews__item-wrapper { + position: relative; + padding: 30px 40px 60px 70px; + display: flex; + flex-direction: column; + gap: 15px; + border-radius: 19px; + background-color: #fff; + height: 100%; +} + +.reviews__item:before { + content: ""; + position: absolute; + inset: -2px; + z-index: -1; + border-radius: 19px; + background: linear-gradient(90deg, #BF568E, #006DB7); +} + +.page-numbers-wrapper ul { + display: flex; + gap: 10px; + justify-content: center; +} + +.page-numbers-wrapper a.page-numbers { + width: 40px; + height: 40px; + background: #D9D9D9; + border-radius: 5px; + display: flex; + align-items: center; + justify-content: center; + font-family: 'Oswald'; + font-weight: 500; + font-size: 22px; + line-height: 28px; + transition: .3s; + cursor: pointer; + color: #1F1F1F; +} + +.page-numbers-wrapper .current { + background: var(--main-yellow); + color: #1F1F1F; + width: 40px; + height: 40px; + border-radius: 5px; + display: flex; + align-items: center; + justify-content: center; + font-family: 'Oswald'; + font-weight: 500; + font-size: 22px; +} + +.filter { + margin-top: 26px; + width: 330px; + height: fit-content; + padding: 30px; + background: #F5F5F5; + border-radius: 15px; +} + +.filter_title { + font-family: 'Roboto'; + font-weight: 500; + font-size: 22px; + color: #000000; + margin-bottom: 20px; +} + +.filter-wrapper { + display: flex; + flex-direction: column; + gap: 25px; +} + +.filter_item { + position: relative; + display: flex; + align-items: center; + padding-left: 30px; + cursor: pointer; + transition: .3s; +} + +.filter_item::after { + position: absolute; + content: ''; + left: 0; + width: 20px; + height: 20px; + border-radius: 50%; + border: 1px solid #C0C0C0; + transition: .3s; +} + +.filter_item:hover { + color: var(--main-color); +} + +.filter_item:hover::after { + border: 1px solid var(--main-color); +} + +.filter-wrapper .active::after { + border: 7px solid var(--main-color); +} + +.swiper { + width: 100%; +} + +.page-rewiews .reviews__item::before { + content: ''; + position: absolute; + top: -4px; + left: -4px; + width: calc(100% + 8px); + height: calc(100% + 8px); + background: linear-gradient(101.53deg, #BF568E 6.59%, #006DB7 94.96%); + border-radius: 24px; + z-index: 0; +} + +.reviews__item-client { + display: flex; + align-items: center; + gap: 16px; +} + +.reviews__item-client_avatar { + height: 50px; + width: 50px; + border-radius: 50%; + overflow: hidden; + background-color: #D9D9D9; + display: flex; + color: #fff; + align-items: center; + justify-content: center; + font-size: 28px; + font-weight: 500; +} + +.reviews__item-client_avatar-img { + width: 100%; + height: auto; + object-fit: cover; +} + +.reviews__item-client_name{ + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-size: 14px; + line-height: normal; + color: #000000; +} + +.page-rewiews .reviews__item-client_name, +.page-rewiews .reviews__item-client_stars span, +.page-rewiews .reviews__kurs, +.page-rewiews .reviews__item-client_text { + font-size: 18px; +} +.reviews__item-client_lavel { + margin-top: 5px; + opacity: .5; +} + +.reviews__item-client_stars { + margin-top: 6px; + display: flex; + align-items: center; +} + +.reviews__item-client_stars span { + margin-left: 20px; + font-size: 14px; + opacity: .5; +} + +.reviews__kurs { + font-weight: 500; + font-size: 16px; + line-height: 19px; + margin: 0; +} + +.reviews__kurs span { + color: #7C7C7C; +} + +.reviews__kurs a { + color: #000; +} + +.reviews__item-client_text { + position: relative; + overflow: hidden; + font-weight: 300; + font-size: 14px; + color: #000000; + max-height: 100vw; + transition: 1s; +} + +.reviews__item-client_text.more { + max-height: 95px; +} + +.reviews .more .btn-more { + background: transparent; +} + +.reviews_hiden { + max-height: 0px; + transition: 3s; + overflow: hidden; +} + +.btn-show { + width: 100%; + color: var(--main-background); + font-weight: 400; + font-size: 16px; + cursor: pointer; + margin-top: -20px; +} +.frame__popup { + display: none; + position: fixed; + top: 0; + left: 0; + width: 100vw; + height: 100vh; + background: #000000d4; + z-index: 99999; + align-items: center; + justify-content: center; +} +.frame__popup-wrapper { + position: relative; + width: 90%; + height: 90%; +} +.btn-close-frame__popup { + position: absolute; + top: 0; + right: 0; + width: 40px; + height: 40px; + cursor: pointer; +} +.frame_reviews { + width: 100%; + height: 100%; +} +@media screen and (max-width: 991px) { + .reviews-wrapper { + flex-direction: column; + flex-wrap: nowrap; + gap: 30px; + align-items: center; + } + + .page-rewiews .reviews__item { + width: calc(100% - 12px); + } +} + +/* reviews END */ + +.mobile-header-here_a { + display: flex; + flex-direction: column; +} + +.mobile-header-here_a span { + padding-left: 59px; + font-family: 'Roboto'; + font-style: normal; + font-weight: 300; + font-size: 18px; + line-height: 28px; + color: #000000; +} + +.swiper-button-disabled { + display: none; +} + +.page404 .banner-wrapper { + height: 600px; +} +.page404 .container { + max-width: 1296px !important; +} +.page404 .breadcrumbs.container { + max-width: 1190px !important; +} +@media screen and (max-width: 992px) { + .container.header-mobile-container { + padding: 0px 15px !important; + } +} + + +/* promo-block */ +.promo-block .container { + padding: 0 20px; +} + +.promo-block { + padding: 56px 0; + font-family: 'Roboto'; + font-style: normal; + color: #fff; + background-color: #9261AA; +} + +.promo-block .text-block { + display: flex; + flex-direction: column; + gap: 20px; + align-items: center; +} + +.promo-block .title { + font-weight: 800; + font-size: 18px; + line-height: 22px; + text-transform: uppercase; + text-align: center; +} + +.promo-block .bitrix-link-popup { + margin-top: 13px; + background-color: #ffe600; + padding: 14px 28px; + font-weight: 500; + transition: all .3s ease; + text-align: center; +} + +.promo-block .bitrix-link-popup a { + font-family: 'Roboto'; + font-weight: 500; + font-size: 17.7656px; + line-height: 19px; + color: #262626; +} + +.promo-block .bitrix-link-popup:hover { + background-color: #2fa7cb; +} + +.promo-block .bitrix-link-popup:hover a { + color: #fff; +} + +/* promo-block END */ + +/* video */ +.video-wrapper { + margin-top: 15px; + display: flex; + aspect-ratio: 16 / 9; +} + +.video-wrapper iframe { + width: 100%; + height: auto; + min-height: 200px; + border-radius: 6px; +} + +/* video END */ + +.yellow-button { + width: 100%; + padding: 21px 28px; + display: flex; + background: #FFD43E; + border: none; + justify-content: center; + margin: 0 auto; + transition: .3s; + border-radius: 15px; +} + +.yellow-button a { + text-transform: uppercase; + transition: .3s; + font-family: 'Oswald'; + font-style: normal; + font-weight: 400; + font-size: 26px; + line-height: 22px; + color: #BF568E; +} + +.yellow-button:hover { + background: #FFC806 +} + +.our-teachers { + overflow: hidden; +} + +.our-teachers .container { + padding: 20px 90px 40px; + border-radius: 20px; + background-color: #F2F5F7; +} + +.our-teachers_text { + font-family: 'Roboto'; + font-weight: 300; + font-size: 16px; + line-height: 23px; +} + +.teachers-owl { + margin-top: 30px; + overflow: hidden; +} + +.teachers-owl .owl-stage-outer { + width: 100%; +} + +.teachers-owl .owl-stage { + display: flex; +} + +.teachers-owl_item { + overflow: hidden; +} +.ourteacher { + max-width: 236px; + display: flex; + flex-direction: column; + font-family: 'Oswald'; +} +.ourteacher a { + width: 100%; + height: 236px; + border: 2px solid #006DB7; + display: flex; +} +.ourteacher img { + width: 100%; + height: auto; + object-fit: cover; +} +.ourteacher_title { + margin-top: 10px; + font-style: normal; + font-weight: 400; + font-size: 18px; + align-items: center; + text-align: center; + color: #000; +} +.teachers-owl_item img { + display: block; + width: 100%; + -webkit-transform-style: preserve-3d; +} +.ourteacher_name { + margin-top: 10px; + font-weight: 300; + font-size: 18px; + line-height: 20px; + display: flex; + align-items: center; + text-align: center; + justify-content: center; +} +.our-teachers .owl-controls { + position: absolute; + left: 0; + bottom: 50% !important; + width: 100%; +} + +.our-teachers .yellow-button { + margin-top: 22px; +} + +.our-teachers .owl-carousel .owl-item { + display: flex; + justify-content: center; +} + +.teachers-owl_item { + width: 450px; +} + +.teacher-page .owl-next, +.teacher-page .owl-prev { + /*content: "";*/ + width: 15px; + height: 15px; + background-image: url(../images/slider-arow.svg); + /*position: absolute;*/ + top: 50%; + transform: translateY(-50%); + background-repeat: no-repeat; + background-position: center center; + background-attachment: fixed; + -webkit-background-size: 100%; + -moz-background-size: 100%; + -o-background-size: 100%; + background-size: 100%; + transition: .3s; + background-color: transparent; +} + +.our-teachers .owl-next, +.our-teachers .owl-prev { + width: 20px; + height: 30px; +} + +.teacher-page .owl-next { + transform: scale(-1, 1); +} + +.our-teachers .owl-next { + top: calc(50% - 17px); +} + +.certificates-owl .owl-prev { + left: 10px; +} + +.certificates-owl .owl-next { + right: 10px; + top: calc(50% - 10px); +} + +footer .contacts-footer p:first-child+p { + color: #fff !important; +} + +.main-footer-wrapper .bottom-bar-wrapper .textwidget p:last-child { + color: #fff !important; +} + +.accordion-one { + display: flex; + justify-content: space-between; +} + +.teachers-owl { + padding: 0 30px; +} + +@media (max-width:568px) { + .teachers-owl_item { + width: 290px; + } + + .panel-body { + padding: 0px !important; + } + + .panel-body>.row>.row { + margin: 0 !important; + } + + h1 { + line-height: 26px; + font-size: 26px; + } + + #wrapper-content>section:nth-child(4)>div>div>div.col-sm-7>h3 { + text-align: center; + font-size: 18px; + } + + #collapse1>div>div>div:nth-child(1)>div:nth-child(2) { + display: flex; + margin: 10px 0px; + padding: 0px; + align-content: center; + flex-direction: row; + flex-wrap: wrap; + } + + .header-yellow-button { + margin: 0px; + color: black; + font-size: 19px; + } + + .panel-heading { + padding: 5px; + } + + .accordion-one { + display: flex; + flex-direction: row; + align-items: center; + } + + #accordion1 .panel-body { + padding: 15px !important; + padding-left: 30px !important; + } + + .text-start-11 { + width: 91.66666667%; + } + + .text-start-1 { + width: 8.33333333%; + } +} + +.header-map { + padding-top: 32px; + padding-bottom: 18px; + background-color: #fff; +} + +.main-title { + margin: 0; + text-transform: none; +} + +/* contants */ +.contacts { + background-color: #fff; +} +.contacts .page_h2 { + padding-top: 40px; +} +.contacts .container { + max-width: 1296px !important; + padding: 0 !important; +} +.content-main_block .container, +.blocks-address .container { + padding: 0 !important; +} +.contacts .main_content { + display: flex; + gap: 80px; +} + +.contacts-left-part { + width: 50%; + display: flex; + flex-direction: column; + gap: 40px; +} + +.contacts-right-part { + width: 700px; + display: flex; + flex-direction: column; + gap: 40px; +} + +.contacts-block { + position: relative; + padding: 40px 45px; + display: flex; + flex-direction: column; + background-color: #F3F3F3; + border-radius: 30px; + font-family: 'Roboto'; + font-weight: 500; + font-size: 18px; + line-height: 22px; + color: #000; + gap: 40px; + justify-content: space-evenly; +} + +.contacts-block h2 { + margin-top: 0; + font-family: 'Oswald'; + font-weight: 400; + font-size: 26px; + line-height: 27px; + text-transform: uppercase; + color: var(--main-color); + margin-bottom: 15px; +} + +.contacts_block-wrapper { + display: flex; + flex-direction: column; + gap: 15px; + height: 100%; +} + +.contacts-block h3 { + font-family: 'Roboto'; + font-weight: 400; + font-size: 18px; + line-height: 20px; + color: #000; +} + +.contacts-block h4, +.how_h4 { + font-family: 'Oswald'; + font-weight: 400; + font-size: 22px; + line-height: 27px; + text-transform: uppercase; + color: #000; + margin-bottom: 15px; +} + +.contacts-block .social { + margin: 0; +} + +.how_h4 { + margin: 0; +} + +.style-type-non { + margin-left: 0 !important; + padding-left: 0 !important; +} + +.style-type-non li { + list-style-type: none !important; +} + +.contacts-block p { + margin: 0; + font-size: 18px; + line-height: normal; +} + +.contacts-block a { + color: #000; +} + +.contacts-block li { + font-family: 'Roboto'; + font-weight: 300; + font-size: 18px; + line-height: 22px; + color: #000; +} + +.contacts__block_text { + font-family: 'Roboto'; + font-weight: 500; + font-size: 22px; + line-height: 20px; + color: #000; +} + +.btn-WA { + width: fit-content; + display: flex; + padding: 9px 11px 9px 13px; + gap: 12px; + background: #FFF; + border: 1px solid var(--main-color); + border-radius: 10px; + color: var(--main-color) !important; + font-family: 'Roboto'; + font-weight: 500; + font-size: 18px; + line-height: 20px; +} + +.btn-call-me { + position: absolute; + display: flex; + justify-content: center; + align-items: center; + padding: 9px 11px; + gap: 19px; + background: var(--main-color); + border-radius: 10px; + color: #fff; + font-family: 'Roboto'; + font-weight: 600; + font-size: 18px; + line-height: 20px; + top: 32px; + right: 45px; +} + +.contacts-right-part .contacts_block-wrapper { + gap: 0; + margin: 0; +} + +.contacts-right-part h2 { + margin-top: 0; +} + +.blocks-address b { + font-size: 22px; +} + +.litle-text { + margin-bottom: -15px !important; +} + +.blocks-address .contacts-block h2 { + margin: 0; +} + +.img-address { + width: 500px; + height: 100%; + object-fit: cover; + margin: 0 auto; + margin-top: 25px; +} + +.blocks-address .contacts-right-part .contacts_block-wrapper { + gap: 15px; +} + +.contacts_block-wrapper-col { + display: flex; + justify-content: center; + gap: 40px; + align-items: center; +} + +.review-block { + padding: 18px; +} + +.contacts_block-wrapper-col h4 { + margin: 0 !important; +} + +/* contants END */ + +.desktop { + display: flex !important; +} + +.mobile { + display: none !important; +} + +.desktop-span { + display: inline !important; +} + +.mobile-span { + display: none !important; +} + +.header-nav-wrapper { + box-shadow: 0px 0px 5px 2px #0000001A; +} + +.breadcrumbs-teacher-wrapper { + display: flex; + align-items: flex-end; + justify-content: space-between; +} + +.breadcrumbs-teacher .container { + padding: 0; +} + +.about-teacher { + padding: 9px 9px !important; + margin-top: -70px !important; +} + +.about-teacher::before { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: linear-gradient(134.27deg, #BF568E -3.32%, #1B6AB2 96.15%); + border-radius: 25px; +} + +.about-teacher-wrapper { + position: relative; + padding: 54px 75px 50px 90px; + display: flex; + gap: 90px; + background: #fff; + border-radius: 16px; +} + +.left-part { + padding-top: 80px; + width: 300px; +} + +.right-part { + flex: 1; +} + +.teacher-description_text::after { + left: 0px; +} + +.teacher-description { + background: transparent; +} + +.teacher__rating::before { + display: none; +} + +.teacher_stars { + margin-top: 11px; + padding: 0; +} + +.teacher__rating { + margin-top: 0; + height: auto; + background: #FFFFFF; + box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); + border-radius: 90px 90px 0 0; + padding-bottom: 5px; +} + +.teacher__rating-img { + position: unset; + width: 100%; + height: 300px; + margin-bottom: 0; +} + +.teacher__rating-img_foto { + border-radius: 50px; + width: 100%; + height: 100%; + object-fit: cover; +} + +.teacher__rating-img::before { + display: none; +} + +.teacher_name-wrapper { + margin-top: 0; + padding: 0; +} + +.teacher_name { + text-align: left; + font-family: 'Oswald'; + font-style: normal; + font-size: 40px; + line-height: normal; + text-transform: uppercase; + margin-bottom: 40px; + justify-content: flex-start; +} + +.teacher-about-wrapper, +.right-part { + padding: 0 !important; +} + +.teacher_name-wrapper .accordion { + gap: 10px; +} + +.teacher-about { + margin-top: 60px; +} + +.certificates_title { + margin-top: 0px; + font-size: 26px; + margin-bottom: 26px; +} + +.certificate__img { + width: 145px; + height: auto; +} + +.teacher-description_text { + font-family: 'Roboto'; + font-weight: 400; + font-size: 26px; + line-height: 26px; + padding: 10px 0 10px 20px; +} + +.teacher_title { + margin-top: 20px; + font-size: 26px; + font-family: 'Oswald'; + font-weight: 400; + color: #000; + margin-bottom: 15px; +} + +.more .btn-more { + background: linear-gradient(0deg, rgb(255 255 255) 50%, #fff0 100%); +} + +.teacher-about_content .btn-more span { + background: #fff; +} + +.right-part .obrazovanie { + border: none; +} + +.teacher-page .box__accordion_content { + gap: 16px; +} + +.teacher-page .taxonomy-block__name_logo { + width: 34px; +} + +.accordion-0.obrazovanie { + width: 100%; + display: flex; + flex-direction: column; + margin: 30px 0; + gap: 30px; +} + +.obrazovanie li::after { + content: ""; + position: absolute; + left: 0; + width: 8px; + height: 8px; + border-radius: 2px; + background-color: var(--main-background); +} + +.obrazovanie .box__accordion_content-0 { + font-family: 'Roboto'; + font-style: normal; + font-weight: 300; + font-size: 18px; + line-height: 30px; +} + +.obrazovanie ul { + margin-top: 15px; +} + +.box__accordion_content-0 { + font-size: 18px; +} + +.promo-form-wrapper { + padding: 40px 60px 40px 90px; + border-radius: 25px; + background: linear-gradient(180deg, #006DB7 0%, #003051 54.59%); + color: #fff; + display: flex; + justify-content: space-between; +} + +.promo-form-right-part { + max-width: 630px; + display: flex; + align-items: flex-start; + flex-direction: column; +} + +.promo-form-left-part { + width: 490px; + display: flex; + flex-direction: column; + gap: 15px; +} + +.promo-form label input { + margin-right: 8px; +} + +.promo-form label { + font-size: 22px; +} + +.label-wrapper { + position: relative; + margin-top: 34px; + left: -40px; +} + +.label-wrapper .text-block_label { + margin-top: 6px; +} + +.promo-form-left-part a { + color: #fff; + text-decoration: underline; +} + +.promo-form .phone a { + margin-top: 0; + font-size: 48px; + line-height: 1; +} + +.promo-form .form-data:first-child { + margin-top: 0; +} + +.promo-form .form-data { + margin-top: 0px; + padding: 25px 17px; +} + +.promo-form label { + margin: 0 0 5px; +} + +.promo-form .btn-lilac { + padding: 30px 0; +} + +.reviews .owl-item { + padding: 6px; +} + +.teachers-owl-prev{ + left: 0; +} + +.foto-prev { + left: 40px; +} + +.foto-next { + right: 40px; +} +.reviews-owl-next, +.reviews-owl-prev { + top: calc(50% + 30px); +} +.reviews-owl-next { + right: 30px; +} +.reviews-owl-prev { + left: 30px; +} +.reviews__item-client { + gap: 20px; +} + +.reviews__item-client_avatar { + height: 57px; + width: 57px; +} + +.reviews__kurs { + font-weight: 500; + font-size: 14px; + line-height: 19px; + letter-spacing: 0; +} + +.reviews-wrapper .owl-nav, +.our-teachers .owl-nav { + position: absolute; + left: -60px; + bottom: calc(50% - 30px); + width: calc(100% + 120px); +} + +.reviews-wrapper .owl-nav { + display: flex; + justify-content: space-between; +} + +.teacher-page .owl-next, +.teacher-page .owl-prev { + width: 20px; + height: 27px; + position: absolute; + top: 0; +} + +.teacher-page .owl-next { + top: -13px; + right: 0; +} + +.questions .container { + padding: 20px 100px; + background: #F2F5F7; + border: 1px solid #000; + border-radius: 20px; +} +.questions .box__accordion { + border-top: 1px solid #00000080; + border-radius: 0; +} + +.questions .accordion .box__accordion .box__accordion_label { + padding: 12px 0 20px; +} + +.questions .box__accordion_label { + font-size: 18px; +} + +.questions .accordion { + margin-top: 40px; +} + +.our-teachers_text { + margin-top: 40px !important; + font-size: 18px; +} + +.yellow-button { + margin-top: 80px; + width: 490px; +} + +.header-map { + padding: 72px 0 40px !important; +} + +.gmap { + margin: 0 auto; + background: #fff; +} + +.gmap iframe { + border-radius: 25px !important; + height: 630px; + max-width: 1440px; +} + +.btn-free-lesson { + width: 352px; +} + +.certificates__item img { + width: 60% !important; + height: 100%; + object-fit: contain; +} + +.certificates-owl { + width: 1024px; +} + +.certificates__item { + width: 100%; +} + +.certificates-owl .owl-controls { + width: 64vw; +} + +.btn-close-certificates-img { + width: 57px; +} +.teachers-owl-wrapper { + position: relative; + padding: 0 40px +} +.teachers-owl { + padding: 0; +} + + +.container { + width: 100%; + max-width: 1296px; + margin: 0 auto; + position: relative; +} + +/* footer */ + +footer { + background-color: #1F1F1F; + color: #fff; +} + +.footer-wrapper { + max-width: 1184px; + width: 100%; + padding: 60px 20px 80px; +} + + +.footer_logo { + position: absolute; +} + +.footer_logo img { + width: 238px; + height: 70px; +} + +.footer__main-col { + padding-top: 55px; + flex: 1; +} + +.footer-main { + display: flex; + justify-content: space-between; + padding-bottom: 22px; +} + +.footer_links { + margin-top: 50px; + display: flex; + gap: 90px; + font-size: 16px; +} + +.footer_links-col { + display: flex; + gap: 50px; +} + +.footer_links-col__main-link { + margin-bottom: 8px; + text-transform: uppercase; +} + +footer a { + color: #fff; + transition: .3s; +} + +.footer__col { + display: flex; + flex-direction: column; + gap: 25px; +} +.footer__col .btn-lilac { + align-self: self-end; +} + +.footer_links .menu-item-has-children>a { + position: relative; + margin-bottom: 27px; + display: block; + font-size: 18px; + font-family: 'Oswald'; + text-transform: uppercase; +} + +.footer_links .menu-item-has-children>a::before { + position: absolute; + content: ''; + width: 100%; + bottom: -10px; + height: 1px; + background-color: #ffffff78; +} + +.footer_links .sub-menu { + display: flex; + flex-direction: column; + gap: 17px; + +} + +.footer__link-icon { + display: flex; + align-items: center; + gap: 25px; + font-size: 16px; +} + +.footer__col .btn-write { + margin-bottom: 19px; +} + +.footer_links .sub-menu a { + color: #fff; +} + +.social { + display: flex; + gap: 15px; + margin-left: 45px; +} + +.footer-politica { + margin-top: 46px; + font-size: 13px; + display: flex; + gap: 30px; + padding-bottom: 24px; + border-bottom: 1px solid #B0B0B0; +} + +.footer-last-row { + border-top: 1px solid #B0B0B0; + padding-top: 10px; + display: flex; + gap: 20px; + justify-content: space-between; + font-size: 14px; +} + +.footer-last-row a { + color: var(--main-blue); +} + +footer a:hover, +.footer_links .sub-menu a:hover { + color: var(--main-color); +} + +/* footer END */ + +/* page-courses */ +.page-courses, +.page-foto { + background-color: #fff; +} +.foto-section { + margin-top: 110px; +} +.courses-section { + padding-top: 110px; +} +.courses-wrapper { + margin-top: 60px; + display: flex; + flex-wrap: wrap; + gap: 25px; +} + +.course__item { + width: calc(33% - 13px); + border-radius: 15px; + overflow: hidden; + border: 1px solid #fff0; + transition: .3s; + background-color: #F3F3F3; +} + +.course__item:hover { + border: 1px solid #FFD43E; + box-shadow: 0 0 4px #FFD43E; +} + +.course__item .product-info { + padding: 30px; +} + +.course__item .popular__subject_title { + justify-content: center; +} + +/* page-courses END */ +/* page-foto */ +.foto-wrapper { + display: flex; + flex-wrap: wrap; + gap: 30px; +} + +.foto_item { + display: flex; + border-radius: 30px; + overflow: hidden; + cursor: pointer; +} + +.foto_item-1 { + width: calc(70% - 15px); + height: 550px; +} + +.foto_item-2 { + width: calc(30% - 15px); + height: 550px; +} + +.foto_item-3 { + width: calc(50% - 15px); + height: 380px; +} + +.foto_item-4 { + width: calc(50% - 15px); + height: 380px; +} + +.foto_item img { + width: 100%; + height: 100%; + object-fit: cover; +} + +.slider-modal, +.modal-resume-form, +.modal-request-form { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: #000; + display: flex; + align-items: center; + justify-content: center; + z-index: 99999; +} + +.btn-close-slider { + position: absolute; + top: 5%; + right: 0; + background: #fff0; + border: none; + z-index: 10; +} + +.btn-close-slider-img { + width: 50px; +} + +.slider-modal-wrapper { + width: 80%; +} + +.slider-modal-wrapper .img__item img { + object-fit: contain; +} + +.slider-modal-wrapper .swiper { + overflow: visible; +} + +.page-foto .video-wrapper { + position: relative; + margin: 0 auto; + margin-top: 70px; + width: 985px; + height: 550px; + display: flex; + align-items: center; + justify-content: center; + border-radius: 30px; + background-color: #D9D9D9; + overflow: hidden; +} + +.page-foto .video-wrapper iframe { + width: 100%; + height: 100%; +} + +.video_preview { + width: 100%; + object-fit: cover; + height: 100%; +} + +.page-foto .video_play { + position: relative; +} + +.page-foto .btn-play-video { + z-index: 1; +} + +/* page-foto END */ + +/* page-vacancies */ +.page-vacancies { + background-color: #fff; +} + +.page-vacancies .banner-wrapper { + padding: 90px 0 120px; + background: radial-gradient(48.07% 192.01% at 1.89% 94%, #006DB7 0%, #1F1F1F 100%); +} + +.vacancies__banner { + display: flex; +} + +.vacancies__banner-left { + width: 50%; + display: flex; + flex-direction: column; + gap: 80px; +} + + +.btn-resume { + width: 490px; +} + +.vacancies__banner-right { + position: relative; + width: 50%; +} + +.banner-circle { + position: absolute; + border-radius: 50%; + background-color: #fff; + display: flex; + flex-direction: column; + gap: 10px; + font-family: 'Roboto'; + display: flex; + align-items: center; + justify-content: center; + box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.25); +} + +.main-text-color { + font-weight: 900; + font-size: 40px; + background: radial-gradient(97.18% 216.64% at 17.11% 28.58%, #BF568E 0%, #975B97 21%, #006DB7 100%); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + background-clip: text; + text-align: center; + line-height: 30px; +} + +.main-text { + font-size: 18px; + line-height: 22px; + color: #000; + text-align: center; +} + +.vacancies__banner-circle-1 { + top: 0; + left: 160px; + width: 208px; + height: 208px; +} + +.vacancies__banner-circle-2 { + top: 65px; + left: 325px; + width: 285px; + height: 285px; + z-index: 1; +} + +.vacancies__banner-circle-3 { + bottom: 0; + left: 145px; + width: 196px; + height: 196px; +} + +.advantages-wrapper { + margin: 40px 0; + display: flex; + gap: 30px; +} + +.advantages__item { + padding: 20px; + display: flex; + flex-direction: column; + gap: 20px; + color: #fff; + font-family: 'Roboto'; + border-radius: 15px; + background-color: var(--main-color); + width: 100%; + aspect-ratio: 1/1; + justify-content: center; +} + +.advantages__item:nth-child(even) { + background-color: #303030; +} + +.advantages__item_title { + font-weight: 600; + font-size: 35px; + line-height: 40px; + margin: 0; +} + +.advantages__item_text { + font-size: 22px; + line-height: 27px; + margin: 0; +} + +.page-vacancies .accordion { + width: 100%; + margin: 0; + max-width: none; + gap: 15px; +} + +.page-vacancies .box__accordion_content-text { + padding: 30px 20px; + font-size: 22px; +} + +.page-vacancies .box__accordion, +.vacancie { + background-color: #F3F3F3; +} + +.box__accordion .btn-resume { + margin: 0 auto 50px; +} + +.page-vacancies .conteiner-text .box__accordion_label { + color: #000; + padding: 30px 20px; + font-size: 22px; +} + +.page-vacancies .box__accordion:hover { + background-color: #F3F3F3; + box-shadow: 0 0 8px rgb(0 0 0 / .2); + color: #000; +} + +.btn-close-resume-form, +.btn-close-request-form { + position: absolute; + top: -10px; + right: -10px; + background: #fff0; + border: none; + z-index: 10; +} + +.btn-close-resume-form img, +.btn-close-request-form img { + width: 50px; + height: 50px; +} + +.form-wrapper { + position: relative; +} +.form-wrapper .b24-form { + border-radius: 30px; + overflow: hidden; +} + +.b24-form-btn { + background-color: var(--main-color) !important; + border-radius: 10px !important; + font-family: 'Oswald' !important; + font-weight: 500 !important; + font-size: 16px !important; + line-height: 27px !important; + text-transform: uppercase !important; + color: #FFF !important; +} + +.b24-form-wrapper.b24-form-border-bottom { + border-bottom: none !important; +} + +.b24-form-control-file { + border-radius: 10px !important; + border: 1px solid #000 !important; + background-color: #fff !important; +} + +.main_content .b24-form-control-file { + background: #F3F3F3 !important; +} + +.b24-form-control-file .b24-form-control { + background-color: var(--main-background) !important; + color: #fff !important; + border: none !important; + border-radius: 7chpx !important; +} + +.b24-form-control-file .b24-form-control:after, +.b24-form-control-file .b24-form-control:before { + background-color: rgb(255 255 255) !important; +} + +.b24-form-control-icon-after .b24-form-control { + background: #fff !important; + border-radius: 10px !important; + border: 1px solid #000 !important; +} +.main_content .b24-form-control-icon-after .b24-form-control { + background: #F3F3F3 !important; +} +.page-vacancies .buttons { + margin: 40px; +} +.page-vacancies .map { + padding-top: 0 !important; +} +/* page-vacancies END*/ + +/* page-vacancies-news */ +.cat-wrapper { + display: flex; + gap: 15px; + font-family: 'Roboto'; + justify-content: center; +} + +.cat-wrapper_item { + padding: 14px 40px; + font-weight: 400; + font-size: 18px; + line-height: 22px; + color: #000; + background-color: #F3F3F3; + border-radius: 25px; + cursor: pointer; +} + +.cat-wrapper_item.active { + background-color: var(--main-yellow); +} + +.news-wrapper { + margin-top: 60px; + display: flex; + gap: 40px; + flex-wrap: wrap; +} + +.news__item { + position: relative; + width: calc(33% - 23px); + display: none; + flex-direction: column; + gap: 20px; + transition: .3s; + background: #F3F3F3; + border-radius: 20px; + border: 1px solid #fff0; + overflow: hidden; + padding-bottom: 35px; +} + +.news__item a { + display: flex; + flex-direction: column; + gap: 20px; +} + +.news__item.show { + display: flex; +} + +.news__item .popular__subject_img { + height: 250px; +} + +.news_label_cat { + position: absolute; + top: 20px; + left: 20px; + border-radius: 20px; + padding: 10px 25px; + background-color: #F3F3F3; + z-index: 1; + color: #000; + font-size: 18px; + line-height: 22px; +} + +.news__item .product-info { + position: relative; +} + +.news_label { + position: absolute; + top: 0; + right: 30px; + font-weight: 300; + font-size: 18px; + line-height: 25px; + color: #000; +} + +.news__item .popular__subject_title { + width: 75%; + text-align: start; +} + +/* page-vacancies-news END */ + +/* page-single-post */ + +.banner-post { + background-color: #F3F3F3; + position: relative; +} + +.banner-post .banner-wrapper { + height: auto; + padding: 30px 0; + display: flex; + justify-content: space-between; + background: transparent; + font-family: 'Roboto'; +} + +.banner-left-part, +.banner-right-part { + width: 48%; + display: flex; + flex-direction: column; +} + +.banner-left-part time { + font-weight: 300; + font-size: 18px; + line-height: 23px; +} + +.single-post_title { + margin-top: 15px; + font-family: 'Oswald'; + font-weight: 600; + font-size: 32px; +} + +.link_cat { + margin-top: 75px; + padding: 14px 45px; + border: 1px solid #A5A5A5; + border-radius: 25px; + font-size: 18px; + line-height: 22px; + color: #000; + width: fit-content; +} + +.banner-right-part { + display: flex; + border-radius: 44px; + overflow: hidden; +} + +.banner-right-part img { + width: 100%; + height: 100%; + object-fit: cover; +} + +.single-post-content { + background-color: #fff; + padding: 40px 0; +} + +.post-content-wrapper { + display: flex; + justify-content: space-between; +} + +.content-left-part { + width: 60%; + font-size: 18px; +} + +.read-block { + width: 36%; + padding: 45px 20px; + display: flex; + flex-direction: column; + gap: 40px; + align-items: center; + height: fit-content; + background: #F3F3F3; + border-radius: 30px; +} + +.read-block_title { + font-family: 'Oswald'; + font-size: 40px; + line-height: 40px; + text-transform: uppercase; + color: var(--main-blue); +} + +.read-blocks-wrapper { + display: flex; + flex-direction: column; + gap: 15px; +} + +.block-new a { + width: 100%; + display: flex; + border-radius: 10px; + overflow: hidden; + height: 140px; + align-items: center; +} + +.block-new_img { + width: calc(50% - 16px); + height: 100%; +} + +.block-new_img img { + width: 100%; + height: 100%; + object-fit: cover; +} + +.block-new_title { + flex: 1; + height: calc(100% - 16px); + padding: 20px 10px; + font-family: 'Roboto'; + font-size: 16px; + line-height: 18px; + display: flex; + align-items: center; + text-transform: uppercase; + border: 1px solid var(--main-blue); + border-radius: 0 10px 10px 0; + border-left: none; + background-color: #fff; + color: #000; +} + +/* page-single-post END */ +/* organization */ +.organization { + background-color: #fff; +} +.organization .page_h2 { + padding-top: 40px; +} +.organization .wp-block-heading { + margin-top: 20px; +} +.organization p { + margin: 0; +} + +.wp-block-heading { + font-family: 'Oswald'; + font-size: 26px; + line-height: 23px; + color: #000000; + margin-bottom: 20px; +} + +.wp-block-group { + width: 100%; +} + +.wp-block-group__inner-container { + max-width: 1440px; + padding: 20px; + margin: 0 auto; +} + +.wp-block-group:nth-child(odd) { + background-color: #F3F3F3; +} + +.wp-block-list { + font-family: 'Roboto'; + font-size: 18px; + line-height: 24px; + color: #000000; + margin-left: 30px; +} + +.wp-block-list li { + list-style-type: disc; +} + +/* organization END */ + +/* single curse */ +.single-course .single-post-content { + background-color: transparent; +} + +.single-course .read-block { + background-color: #fff; +} + +.courses-block { + width: 36%; + display: flex; + flex-direction: column; + gap: 30px; +} + +.courses-block-wrapper { + padding: 45px 20px; + display: flex; + flex-direction: column; + gap: 40px; + align-items: center; + height: fit-content; + background: #fff; + border-radius: 30px; +} + +.courses-block-social { + display: flex; + flex-direction: column; + align-items: center; + gap: 20px; + padding: 20px; + border-radius: 30px; + background: #fff; + margin: 0; +} + +.courses-block-social .social { + margin: 0; +} + +.social_title { + font-family: 'Oswald'; + font-weight: 400; + font-size: 20px; + line-height: 20px; + text-transform: uppercase; +} + +.programm-course { + padding-bottom: 70px; +} + +.single-course .banner-wrapper { + padding: 170px 0; + background-color: #032D44; +} + +.single-course .b24-form-wrapper { + width: 560px; + border-radius: 25px; + background: radial-gradient(97.18% 216.64% at 17.11% 28.58%, #BF568E 0%, #006DB7 44.1%, #111111 94.23%); + padding: 10px 0px 30px; +} + +.promo-form .b24-form-wrapper { + width: 100%; + background: transparent; +} + +.b24-form-field-agreement .b24-form-field-agreement-link, +.b24-form .b24-form-sign-abuse-link { + font-size: 18px !important; + color: #fff !important; + line-height: 22px !important; +} + +.b24-form-field-agreement .b24-form-field-agreement-link, +.b24-form .b24-form-sign-abuse-link { + font-size: 18px !important; + color: #000 !important; + line-height: 22px !important; +} + + +.main_content .b24-form-field-agreement .b24-form-field-agreement-link, +.main_content .b24-form .b24-form-sign-abuse-link { + color: #000 !important; +} + +.promo-form .b24-form-field-agreement .b24-form-field-agreement-link, +.promo-form .b24-form .b24-form-sign-abuse-link { + color: #fff !important; +} + +.form-wrapper .b24-form-field-agreement .b24-form-field-agreement-link, +.form-wrapper .b24-form .b24-form-sign-abuse-link{ + color: #000 !important; +} + + +.b24-form-control-icon-after .b24-form-control { + border: none !important; +} + +.b24-form-control-icon-after .b24-form-control { + border: 1px solid #000 !important; + background: #e8e8e8 !important; +} + + +.background: #e8e8e8 !important; +.single-course .b24-form-btn { + font-size: 30px !important; +} + +.single-course .b24-form-control-string .b24-form-control { + font-size: 26px; + height: 74px; + border: none !important; +} + +.single-course .banner_text { + text-transform: uppercase; +} + +.course-about-wrapper { + position: relative; + display: flex; + padding: 25px 40px 25px 30px; + background: #FFFFFF; + box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1); + border-radius: 30px; + gap: 30px; + overflow: hidden; +} + +.about_img { + position: relative; + width: 350px; + height: 350px; + background: #D9D9D9; + border-radius: 20px; + overflow: hidden; +} +.about_img img { + width: 100%; + height: 100%; + object-fit: cover; +} + +.about_title { + position: relative; + width: 100%; + text-align: center; + margin-bottom: 20px; + font-family: 'Oswald'; + font-weight: 600; + font-size: 38px; + line-height: 42px; + color: var(--main-blue); +} + +.about-circle { + position: absolute; + width: 510px; + height: 510px; + background-color: #FFD43E; + bottom: -255px; + left: 60px; + border-radius: 50%; +} + +.about-col { + display: flex; + flex-direction: column; + gap: 6px; + flex: 1; + z-index: 1; +} + +.about-col_item { + display: flex; + justify-content: space-between; + align-items: center; + padding: 23px 28px; + background: #FFFFFF; + border-radius: 20px; + box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1); + font-family: 'Roboto'; + font-weight: 500; + font-size: 22px; + line-height: 26px; + color: #000000; +} + +.about-col_item span { + color: var(--main-color) +} + +.expander { + flex: 1; +} + +.btn-separate { + margin: 0 auto; + width: 370px; +} + +.single-post-content .content-left-part { + display: flex; + flex-direction: column; + gap: 20px; +} + +.single-course .questions { + padding-bottom: 0; +} + +.single-course .questions .accordion { + margin-bottom: 40px; +} + +.section-wrap .text { + font-family: 'Roboto'; + font-weight: 300; + font-size: 18px; + line-height: 23px; +} + +.os-item { + position: relative; + padding-left: 40px; + margin: 12px 0; +} + +.os-item::before { + position: absolute; + content: ''; + width: 24px; + height: 24px; + left: 0; + background-image: url(../images/list-check.svg); + background-size: 100%; + background-repeat: no-repeat; +} + +.single-course .box__accordion { + border-radius: 0 !important; +} + +.section-wrap .box__accordion_content { + padding-left: 20px; + gap: 15px; +} + +.section-wrap .active .box__accordion_content { + padding-bottom: 20px; +} + +.cell { + font-family: 'Roboto'; + font-weight: 400; + font-size: 18px; + line-height: 21px; +} + +.single-course .promo-form { + padding-bottom: 40px; +} + +.single-course .price { + background-color: #F3F3F3; +} + +.single-course .our-teachers { + background-color: #fff; +} + +.b24-form .b24-form-sign-abuse-link { + border-bottom: 1px solid #fff !important; +} + +/* single curse END */ + +/*404*/ +.title_404 { + font-family: 'Oswald'; + font-style: normal; + font-weight: 500; + font-size: 60px; + line-height: 67px; +} +.sub-title_404 { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-size: 35px; + line-height: 45px; +} +/*404*/ + +@media (max-width: 578px) { + .product-warpper .popular__subject { + width: 100%; + } + + .page-teachers .banner { + height: 250px; + } + + .courses-wrapper { + gap: 15px; + } + + .course__item { + width: 100%; + } +} + +@media (width > 860px) and (width < 1280px) { + main { + gap: 5.47vw; + } + + .container-max { + max-width: 150vw; + } + + .header-nav { + max-width: 92.5vw; + padding: 2.03vw 0 .78vw; + } + + .top-header-row { + padding-bottom: .78vw; + border-bottom: .08vw solid #ffffff82; + } + + .header-logo img { + width: 10.63vw; + height: 3.13vw; + } + + .header-menu { + gap: 1.56vw; + font-size: 1.25vw; + } + + .header-menu__item_link { + padding-right: 1.95vw; + } + + .list-links_item img { + width: 2.73vw; + height: 2.73vw; + } + + .header-menu .menu-item-has-children { + padding-right: 1.95vw; + } + + .header-menu .menu-item-has-children::before { + width: 1.41vw; + height: 1.09vw; + } + + .inter-lk { + gap: .86vw; + font-size: 1.25vw; + line-height: 2.58vw; + border-radius: 1.17vw; + } + + .nav__header-wrapper { + border-bottom: .08vw solid var(--bg-color-light) + } + + .header-menu .sub-menu { + padding: 3.13vw; + gap: 1.56vw; + border-radius: 2.34vw; + } + + .menu-col { + gap: 2.34vw; + min-width: 19.53vw; + } + + .list-links { + gap: 1.02vw; + } + + .out-link { + padding-right: 3.13vw; + margin-right: 3.13vw; + } + + .list-links_item { + padding: .78vw; + border-radius: 1.17vw; + } + + .list-links_item a { + gap: 1.02vw; + font-size: 1.41vw; + line-height: 1.56vw; + letter-spacing: .06vw; + } + + .menu-col_title::after { + bottom: -.47vw; + height: .23vw; + border-radius: .16vw; + } + + .add-menu { + gap: 2.34vw; + } + + .add-menu_item { + gap: .63vw; + font-size: 1.25vw; + } + + .header-location { + font-size: 1.72vw; + } + + .add-menu .btn-free-lesson-header { + width: 15.63vw; + padding: .78vw 1.56vw; + font-size: 1.25vw; + } + + .banner.container { + max-width: 150vw; + } + + .page-rewiews .banner.container { + height: 35.16vw; + } + + .breadcrumbs { + gap: 2.34vw; + font-size: 1.09vw; + padding: .94vw 0 .94vw 4.38vw !important; + } + + .breadcrumbs li::before { + width: 1.17vw; + height: .08vw; + left: calc(100% + .55vw); + } + + .fa-home { + width: 1.56vw; + } + + .banner-wrapper { + max-width: 101.25vw; + height: 35.47vw; + border-radius: 1.56vw; + } + + .banner__content { + bottom: 2.34vw; + padding: 2.34vw 3.91vw; + border-radius: .78vw; + } + + .page_title { + font-size: 2.81vw; + line-height: 3.59vw; + } + + .banner_text { + font-size: 1.88vw; + margin-top: .78vw; + margin-bottom: .78vw; + padding: 0 1.56vw; + } + + .info-block { + max-width: 92.58vw !important; + margin-top: -2.73vw !important; + gap: .16vw; + } + + .info-block__item { + min-width: 14.06vw; + max-width: 15.23vw; + height: 9.38vw; + border-radius: 1.17vw; + } + + .info-block__item-wrapper { + width: calc(100% - .78vw); + height: calc(100% - .78vw); + border-radius: .78vw; + padding: 0 .78vw; + border: .16vw solid #006DB7; + } + + .info-block__item-wrapper span { + font-size: 1.09vw; + } + + .main-page { + padding-top: 2.73vw; + } + + .banner-main-page { + max-width: 92.58vw; + border-radius: 1.56vw; + } + + .info__block-wrapper { + border: .08vw solid #000000; + border-radius: 1.56vw; + padding: 3.91vw 6.25vw 1.56vw 7.03vw + } + + .page_h2 { + font-size: 3.13vw; + line-height: 4.3vw; + margin-bottom: 3.13vw; + } + + .info__block-content { + gap: 1.56vw; + font-size: 1.41vw; + line-height: 1.95vw; + } + + .info__block-content_img { + max-width: 17.58vw; + } + + .info__block-right .info__block-wrapper { + padding: 1.56vw 4.69vw; + border: .16vw solid #000000; + } + + .info__block-right .info__block-content { + gap: 3.13vw; + } + + .info__block-items-wrapper { + gap: 1.95vw; + margin-left: -3.13vw; + } + + .info__block-item { + padding: 1.09vw 1.95vw; + border-radius: 1.56vw; + gap: 1.56vw; + } + + .info__block-item_number { + width: 3.75vw; + height: 3.75vw; + border: .16vw solid #013051; + font-size: 1.72vw; + } + + .info__block-item-content { + gap: .94vw; + } + + .info__block-item-text_title { + font-size: 1.56vw; + line-height: 1.8vw; + } + + .btn-page { + font-size: 1.41vw !important; + } + + .advantages__block .container { + padding: 1.56vw 3.91vw; + border-radius: 1.56vw; + } + + .advantages__block-content { + gap: 1.56vw; + } + + .advantages__block-row { + gap: 1.56vw; + } + + .advantages__block-item { + width: 25vw; + padding: 2.73vw; + height: auto; + border-radius: 2.81vw; + } + + .advantages__block-item:first-child { + min-width: 39.38vw; + } + + .advantages__block-item_title { + min-height: 3.59vw; + font-size: 1.56vw; + } + + .advantages__block-item p { + margin-top: .78vw; + font-size: 1.09vw; + line-height: 1.48vw; + } + .advantages__block-item-img img { + max-width: 7.81vw; + } + .advantages__block-item a { + font-size: 1.09vw; + } + .teachers_title { + font-size: 4.69vw; + line-height: 6.88vw; + margin-bottom: 4.69vw; + } + + .teachers_title::after { + top: -4.69vw; + right: -3.75vw; + width: 11.48vw; + height: 11.48vw; + } + + .main_content, + .main_content p { + font-size: 1.72vw; + line-height: 2.11vw; + } + + .main_content h2 { + font-size: 2.73vw; + line-height: 2.11vw; + margin-bottom: 2.34vw; + margin-top: 3.13vw; + } + + .main_content ul { + padding-left: 1.56vw; + margin-left: 1.25vw; + margin-bottom: 2.34vw; + } + + .list-teachers { + padding: 4.69vw 0; + } + + .foto-slider .container { + padding: 1.56vw 7.81vw; + border-radius: 1.56vw; + border: .08vw solid #000; + } + + .swiper-foto { + margin-top: 3.13vw; + padding-bottom: 7.42vw; + } + + .foto-slider .swiper-pagination { + bottom: 1.95vw; + } + + .foto-slider .swiper-pagination-clickable .swiper-pagination-bullet { + width: 2.34vw; + height: 2.34vw; + margin: 0 .94vw; + } + + .swiper-foto .swiper-wrapper { + height: 46.88vw; + } + + .swiper-pagination-clickable .swiper-pagination-bullet { + width: 1.17vw; + height: 1.17vw; + } + + .subject-wrapper { + width: 38.28vw; + padding: 1.95vw 1.56vw; + border-radius: 1.17vw; + } + + .subject-wrapper span { + font-size: 2.34vw; + line-height: 2.19vw; + } + + .subject-wrapper span::after { + width: 1.56vw; + height: 2.19vw; + } + + .subject__list { + border-radius: 1.17vw; + padding: 0 1.33vw; + font-size: 1.41vw; + box-shadow: 0 .08vw .31vw rgb(0 0 0), -1.8vw 0 1.56vw -1.8vw rgb(0 0 0 / 80%), 1.8vw 0 1.56vw -1.8vw rgb(0 0 0 / 80%), 0 0 3.13vw rgb(0 0 0 / 10%) inset; + } + + .subject-wrapper.open .subject__list { + max-height: 62.5vw; + padding: 2.34vw 1.33vw; + } + + .subject__list li { + padding: .94vw 1.95vw; + border-radius: .78vw; + } + + .teachers-wrapper { + gap: 2.73vw; + } + + .teachers__item { + width: calc(25% - 2.11vw); + border-radius: 1.17vw; + border: .08vw solid transparent; + } + + .teachers__item:hover { + border: .08vw solid #FFD43E; + box-shadow: 0 0 .31vw #FFD43E; + } + + .ourteacher-avatar a { + height: 21.88vw; + } + + .page-o-nas .teachers__item img { + max-height: 23.83vw; + } + + .preparation { + padding-top: 1.56vw; + padding-bottom: 4.84vw; + } + + .section-Mntitle-circle { + font-size: 3.52vw; + line-height: 4.3vw; + } + + .section-Mntitle-circle::after { + top: -1.72vw; + right: -3.75vw; + width: 11.48vw; + height: 11.48vw; + } + + .tabs-container { + margin-top: 4.69vw; + gap: 4.69vw; + } + + .tabs-btns { + border-radius: 3.05vw; + } + + .tab { + padding: 2.11vw 0; + font-size: 1.72vw; + line-height: 1.95vw; + border-radius: 3.05vw; + } + + .disciplines { + gap: 3.13vw 5.16vw; + padding-bottom: 4.69vw; + } + + .disciplines__item { + max-width: calc(25% - 3.91vw); + min-width: 21.88vw; + height: 23.44vw; + padding: 2.34vw 3.91vw; + border-radius: 1.56vw; + gap: 2.34vw; + border: .08vw solid transparent; + } + + .disciplines__item:hover { + border: .08vw solid var(--main-yellow); + box-shadow: 0 0 .31vw var(--main-yellow); + } + + .disciplines__item_icon { + width: 13.05vw; + height: 13.05vw; + } + + .disciplines__item_name { + font-size: 1.72vw; + line-height: 1.95vw; + } + + .preparation_links { + gap: 6.25vw; + font-size: 2.34vw; + line-height: 1.72vw; + } + + .preparation_links a { + width: 38.28vw; + padding: 2.34vw; + border-radius: 1.41vw; + } + + .product-warpper { + margin-top: 6.25vw; + gap: 1.95vw 1.56vw; + } + + .course_description { + margin-top: 4.69vw; + font-size: 1.41vw; + line-height: 1.8vw; + } + + .product-warpper .popular__subject { + width: calc(33.3% - 1.56vw); + } + + .popular-subjects .container { + padding: 3.91vw 3.91vw 5.86vw; + border-radius: 1.56vw; + border: .08vw solid #000; + } + + .main-subtitle-page { + margin: .78vw 0 3.13vw; + font-size: 1.48vw; + line-height: 1.72vw; + } + + .popular__subject { + gap: 2.34vw; + border-radius: 1.56vw; + border: .08vw solid transparent; + padding-bottom: 3.91vw; + } + + .popular__subject:hover { + border: .08vw solid #FFD43E; + box-shadow: 0vw 0vw .31vw #FFD43E; + } + + .popular__subject_img { + height: 18.36vw; + } + + .popular__subject_label { + top: 1.25vw; + padding: .7vw 3.13vw; + border-radius: .86vw 0vw 0vw .86vw; + font-size: 1.25vw; + } + + .product-info { + gap: 1.56vw; + padding: 0 2.34vw; + } + + .popular__subject_title { + font-size: 1.25vw; + } + + .popular__subject_text { + font-size: 1.09vw; + line-height: 1.33vw; + } + + .btn-yellow-link { + padding: 2.34vw 7.03vw; + border-radius: 1.41vw; + font-size: 2.34vw; + line-height: 1.72vw; + } + + .news .btn-yellow-link { + padding: 1.17vw 10.16vw; + border-radius: .78vw; + font-size: 1.56vw; + line-height: 2.34vw; + } + + .buttons { + margin-top: 4.69vw; + gap: 1.56vw; + } + + .buttons .btn-yellow-link { + font-size: 1.41vw; + padding: 1.17vw 3.13vw; + } + + .our-teachers .buttons { + margin-top: 3.13vw; + } + + .price { + padding: 5.47vw 0; + } + + .price-wrapper { + padding: 3.13vw; + border-radius: 1.95vw; + gap: 4.69vw; + } + + .price .tabs-btns { + min-width: 30.47vw; + gap: 1.41vw; + } + + .price .tab { + padding: 1.72vw; + } + + .price .page-tab { + gap: .63vw; + } + + .price__item { + padding: 2.73vw 2.19vw; + border-radius: 1.56vw; + font-size: 1.72vw; + line-height: 2.03vw; + } + + .price__item::before { + width: .08vw; + right: 16.02vw; + height: 4.84vw; + } + + .price__item_number span { + font-size: 1.09vw; + } + + .price__item-content { + line-height: 1.72vw; + } + + .price__content_title { + margin-top: 3.13vw; + font-size: 2.34vw; + } + + .price__item-content p { + margin-top: 1.56vw; + font-size: 1.72vw; + } + + .price__item-content ul { + margin-top: 1.56vw; + gap: 1.56vw; + font-size: 1.72vw; + } + + .price__item-content ul li::after { + top: .39vw; + right: calc(100% + .94vw); + width: 1.09vw; + height: 1.09vw; + border-radius: .23vw; + } + + .price__item-content span { + font-size: 1.88vw; + } + + .preparation-block { + padding: 5.47vw 0 7.81vw; + } + + .preparation-block-wrapper { + gap: 5.47vw; + } + + .preparation-block_text { + width: calc(72% - 2.73vw); + } + + .preparation-block p { + padding-top: 3.13vw; + font-size: 1.41vw; + line-height: 1.64vw; + } + + .preparation-block_img { + width: calc(28% - 2.73vw); + padding-top: 7.81vw; + } + + .advertising-block { + padding: 2.73vw 0; + } + + .advertising-block__text { + padding-right: 1.56vw; + } + + .label-blue { + margin-top: 2.58vw; + padding: .94vw 2.97vw; + border-radius: 1.17vw; + font-size: 1.41vw; + line-height: 1.64vw; + } + + .advertising-block__text_text { + margin: 2.66vw 0 3.91vw; + font-size: 1.41vw; + line-height: 1.64vw; + } + + .advertising-block__img { + max-width: 52.97vw; + } + + .advertising-block__text_sub-title { + font-size: 2.03vw; + } + + .why-us-wrapper { + margin-top: 3.13vw; + grid-column-gap: 0vw; + grid-row-gap: 0vw; + grid-column-gap: 2.89vw; + grid-row-gap: 3.13vw; + } + + .why-us_item { + gap: 1.56vw; + padding: 1.17vw 2.34vw; + border-radius: 1.56vw; + } + + .why-us_item span { + font-size: 1.72vw; + line-height: 2.34vw; + } + + .why-us_item-img { + border-radius: .78vw; + } + + .why-us_item-img img { + max-width: 7.81vw; + } + + .div4 .why-us_item-img img { + max-width: 11.88vw; + } + + .map { + padding-bottom: 5.47vw; + } + + .map .container { + padding: 1.56vw 4.3vw; + border: .08vw solid; + border-radius: 1.56vw; + } + + .map_title { + font-size: 3.13vw; + line-height: 6.09vw; + margin-bottom: 3.13vw; + } + + .location__map { + border-radius: 1.95vw; + } + + .map_address { + top: 2.03vw; + border-radius: 0vw 1.64vw 1.56vw 0vw; + font-size: 1.25vw; + line-height: 2.19vw; + padding: 1.25vw 3.59vw; + } + + .teacher-description .container { + padding: 2.19vw 0; + } + + .teacher-description_text { + font-size: 1.09vw; + line-height: 1.72vw; + padding-left: 1.56vw; + padding-right: 1.56vw; + } + + .teacher-description_text::after { + left: .78vw; + width: .23vw; + border-radius: .39vw; + } + + .teacher__rating { + margin-top: 3.13vw; + } + + .teacher__rating-img { + border-radius: 3.59vw; + height: 20.31vw; + margin-bottom: 1.25vw; + } + + .teacher_stars { + padding-top: 1.41vw; + gap: .47vw; + font-size: 1.41vw; + line-height: 2.19vw; + } + + .teacher_name { + font-size: 1.72vw; + line-height: 1.72vw; + padding-top: .94vw; + border-radius: 1.56vw 1.56vw 0 0; + } + + .teacher-description_location { + font-size: 1.41vw; + line-height: 2.19vw; + } + + .conteiner-text { + max-width: 23.44vw; + margin-top: .63vw; + } + + .conteiner-text .box__accordion.active { + border: .08vw solid #D9D9D9; + } + + .taxonomy-block { + gap: .31vw; + padding: .23vw 1.48vw .16vw; + } + + .taxonomy-block:last-child { + padding-bottom: 1.56vw; + } + + .taxonomy-block__name { + gap: .63vw; + font-size: 1.02vw; + line-height: 2.19vw; + } + + .taxonomy-block__content { + gap: .47vw; + font-size: 1.02vw; + } + + .taxonomy-block__content span { + padding: .39vw .63vw; + border-radius: .39vw; + } + + .taxonomy-block__content_item { + padding: .39vw .63vw; + border-radius: .39vw; + } + + .accordion { + margin-top: 1.02vw; + gap: .78vw; + } + + .more-programm { + margin: 1.56vw 0 0; + } + + .accordion.obrazovanie { + margin-top: 1.41vw; + } + + .programm-course .accordion.obrazovanie { + max-height: 0vw; + } + + .accordion.obrazovanie.show { + border-top: .08vw solid #303030; + border-bottom: .08vw solid #303030; + } + + .accordion .box__accordion .box__accordion_label { + padding: .94vw 1.48vw; + font-size: 1.25vw; + line-height: 2.19vw; + } + + .obrazovanie .box__accordion .box__accordion_label { + font-size: 2.03vw; + padding: 1.17vw 0vw 1.56vw; + } + + .accordion .box__accordion .box__accordion_label::after { + width: 1.02vw; + height: 1.41vw; + right: -.63vw; + } + + .accordion .box__accordion.active .box__accordion_label::after { + width: 1.02vw; + height: 1.41vw; + } + + .teacher-description .accordion .box__accordion .box__accordion_label::after { + right: .78vw; + } + + .box__accordion_content p { + padding: 1.56vw; + } + + .obrazovanie .box__accordion_content { + font-size: 1.41vw; + line-height: 2.34vw; + } + + .questions.obrazovanie .box__accordion_content { + font-size: 1.41vw; + } + + .obrazovanie ul { + padding: 0 0 0 1.56vw; + } + + .obrazovanie li::after { + width: .63vw; + height: .63vw; + border-radius: .16vw; + } + + .video { + padding-top: 1.41vw; + padding-bottom: 1.72vw; + } + + .promo-form { + padding-top: 2.5vw; + } + + .promo-form_title { + font-size: 2.03vw; + line-height: 3.05vw; + } + + .promo-form__list { + margin-top: 5.08vw; + gap: 1.09vw; + font-size: 1.88vw; + padding-left: 1.88vw; + } + + .promo-form__list li::before { + left: -1.88vw; + width: .86vw; + height: .86vw; + } + + .black-label { + padding: 1.09vw 4.3vw 1.09vw 3.59vw; + border-radius: 0vw 1.17vw 1.17vw 1.17vw; + font-size: 2.34vw; + line-height: 2.97vw; + } + + .text-block_label { + font-size: 1.25vw; + letter-spacing: .07vw; + } + + .promo-form .form-data { + margin-top: 1.09vw; + padding: 1.64vw 1.33vw; + border-radius: 1.17vw; + font-size: 1.56vw !important; + line-height: 1.72vw !important; + } + + .promo-form label { + margin: 1.56vw 0; + font-size: 1.09vw; + } + + .promo-form label input { + width: 1.25vw; + height: 1.25vw; + top: .23vw; + margin-right: 1.56vw; + } + + .btn-lilac { + width: 21.88vw; + padding: 1.25vw 0; + border-radius: 1.17vw; + font-size: 1.72vw; + line-height: 1.72vw; + } + + .btn-banner { + width: 14.84vw; + margin-top: 2.34vw; + font-size: 1.41vw; + padding: .39vw 2.58vw; + border-radius: .78vw; + } + + .violation { + margin-top: .78vw; + font-size: 1.09vw; + line-height: 1.72vw; + } + + .promo-form .phone { + margin-top: .78vw; + } + + .promo-form .phone a { + margin-top: 1.02vw; + font-size: 2.5vw; + line-height: 1.88vw; + } + + .block-call { + padding: 1.72vw 0; + } + + .btn-call { + width: 19.53vw; + padding: .78vw; + font-size: 2.03vw; + line-height: 2.19vw; + } + + .teacher-about { + padding-bottom: 1.72vw; + } + + .teacher-about-wrapper { + padding: 0 .78vw !important; + } + + .teacher-about_content { + padding-bottom: 1.56vw; + } + + .teacher-about_text { + font-size: 1.25vw; + line-height: 1.56vw; + } + + .more .teacher-about_text { + max-height: 13.28vw; + } + + .teacher-about_content .btn-more { + padding: 1.56vw 0vw .78vw; + } + + .btn-more span { + font-size: 1.25vw; + } + + .custom-button-next, + .custom-button-prev { + width: 1.56vw; + height: 2.34vw; + } + + .custom-button-next, + .swiper-rtl .custom-button-prev { + right: var(--swiper-navigation-sides-offset, 1.56vw); + } + + .custom-button-prev, + .swiper-rtl .swiper-button-next { + left: var(--swiper-navigation-sides-offset, 1.56vw); + } + + .teachers-owl-next { + right: 3.13vw; + } + + .subject-next { + right: -3.91vw; + } + + .subject-prev { + left: -3.91vw; + } + + .certificates { + gap: 1.56vw; + } + + .certificates_title { + margin-top: 1.41vw; + font-size: 1.56vw; + line-height: 2.19vw; + } + + .certificate__img { + width: 7.81vw; + height: 10.16vw; + } + + .certificates__item { + width: calc(100vw - 2.34vw); + padding: 0 2.34vw; + } + + .btn-close-certificates-img { + width: 3.44vw; + } + + .certificates-owl .owl-nav { + width: 100vw; + } + + .screen-certificates__img { + width: 7.81vw; + height: 7.81vw; + } + + .right-part { + padding: 0 .78vw; + } + + .questions .box__accordion_content p { + padding: 0 0 2.34vw; + } + + .teacher-page .reviews { + padding: 3.13vw 0; + } + + .page-school .reviews .container { + border-radius: 1.56vw; + padding: 1.56vw 3.91vw; + } + + .container-wrapper { + gap: 2.34vw; + } + + .teacher-about .teacher_title { + margin-bottom: .16vw; + } + + .reviews-wrapper { + gap: 2.34vw 1%; + max-width: 87.5vw; + } + + .reviews-owl { + padding: .47vw; + } + + .page-rewiews .rewiews-wrapper { + padding: 2.34vw 0; + gap: 1.56vw; + } + + .page-rewiews .reviews__item-wrapper { + padding: 1.56vw 3.13vw; + gap: 1.17vw; + } + + .page-rewiews .reviews__item { + width: calc(50% - .78vw); + } + + .reviews__item-wrapper { + padding: 2.34vw 3.13vw 4.69vw 5.47vw; + gap: 1.17vw; + border-radius: 1.48vw; + } + + .reviews__item-wrapper:before { + inset: -.16vw; + border-radius: 1.48vw; + } + + .page-numbers-wrapper ul { + gap: .78vw; + } + + .page-numbers-wrapper a.page-numbers { + width: 3.13vw; + height: 3.13vw; + border-radius: .39vw; + font-size: 1.72vw; + line-height: 2.19vw; + } + + .page-numbers-wrapper .current { + width: 3.13vw; + height: 3.13vw; + border-radius: .39vw; + font-size: 1.72vw; + } + + .filter { + margin-top: 2.03vw; + width: 25.78vw; + padding: 2.34vw; + border-radius: 1.17vw; + } + + .filter_title { + font-size: 1.72vw; + margin-bottom: 1.56vw; + } + + .filter-wrapper { + gap: 1.95vw; + } + + .filter_item { + padding-left: 2.34vw; + } + + .filter_item::after { + width: 1.56vw; + height: 1.56vw; + border: .08vw solid #C0C0C0; + } + + .filter_item:hover::after { + border: .08vw solid var(--main-color); + } + + .filter-wrapper .active::after { + border: .55vw solid var(--main-color); + } + + .reviews__item::before { + top: -.47vw; + left: -.47vw; + width: calc(100% + .94vw); + height: calc(100% + .94vw); + border-radius: 1.95vw; + } + + .reviews__item-client { + gap: 1.25vw; + } + + .reviews__item-client_avatar { + height: 3.91vw; + width: 3.91vw; + font-size: 2.19vw; + } + + .reviews__item-client_name { + font-size: 1.09vw; + } + + .page-rewiews .reviews__item-client_name, + .page-rewiews .reviews__item-client_stars span, + .page-rewiews .reviews__kurs, + .page-rewiews .reviews__item-client_text { + font-size: 1.41vw; + } + + .reviews__item-client_lavel { + margin-top: .39vw; + } + + .reviews__item-client_stars { + margin-top: .47vw; + } + + .reviews__item-client_stars span { + margin-left: 1.56vw; + font-size: 1.09vw; + } + + .reviews__kurs { + font-size: 1.25vw; + line-height: 1.48vw; + } + + .reviews__item-client_text { + font-size: 1.09vw; + max-height: 100vw; + } + + .reviews__item-client_text.more { + max-height: 7.42vw; + } + + .reviews_hiden { + max-height: 0vw; + } + + .btn-show { + font-size: 1.25vw; + margin-top: -1.56vw; + } + + .frame__popup { + width: 100vw; + } + + .btn-close-frame__popup { + width: 3.13vw; + height: 3.13vw; + } + + .mobile-header-here_a span { + padding-left: 4.61vw; + font-size: 1.41vw; + line-height: 2.19vw; + } + + .page404 .banner-wrapper { + height: 46.88vw; + } + + .page404 .container { + max-width: 101.25vw !important; + } + + .page404 .breadcrumbs.container { + max-width: 92.97vw !important; + } + + .promo-block .container { + padding: 0 1.56vw; + } + + .promo-block { + padding: 4.38vw 0; + } + + .promo-block .text-block { + gap: 1.56vw; + } + + .promo-block .title { + font-size: 1.41vw; + line-height: 1.72vw; + } + + .promo-block .bitrix-link-popup { + margin-top: 1.02vw; + padding: 1.09vw 2.19vw; + } + + .promo-block .bitrix-link-popup a { + font-size: 1.39vw; + line-height: 1.48vw; + } + + .video-wrapper { + margin-top: 1.17vw; + } + + .video-wrapper iframe { + min-height: 15.63vw; + border-radius: .47vw; + } + + .yellow-button { + padding: 1.64vw 2.19vw; + border-radius: 1.17vw; + } + + .yellow-button a { + font-size: 2.03vw; + line-height: 1.72vw; + } + + .our-teachers .container { + padding: 1.56vw 7.03vw 3.13vw; + border-radius: 1.56vw; + } + + .our-teachers_text { + font-size: 1.25vw; + line-height: 1.8vw; + } + + .teachers-owl { + margin-top: 2.34vw; + } + + .ourteacher { + max-width: 18.44vw; + } + + .ourteacher a { + height: 18.44vw; + border: .16vw solid #006DB7; + } + + .ourteacher_title { + margin-top: .78vw; + font-size: 1.41vw; + } + + .ourteacher_name { + margin-top: .78vw; + font-size: 1.41vw; + line-height: 1.56vw; + } + + .our-teachers .yellow-button { + margin-top: 1.72vw; + } + + .teachers-owl_item { + width: 35.16vw; + } + + .teacher-page .owl-next, + .teacher-page .owl-prev { + + width: 1.17vw; + height: 1.17vw; + } + + .our-teachers .owl-next, + .our-teachers .owl-prev { + width: 1.56vw; + height: 2.34vw; + } + + .our-teachers .owl-next { + top: calc(50% - 1.33vw); + } + + .certificates-owl .owl-prev { + left: .78vw; + } + + .certificates-owl .owl-next { + right: .78vw; + top: calc(50% - .78vw); + } + + .teachers-owl { + padding: 0 2.34vw; + } + + .header-map { + padding-top: 2.5vw; + padding-bottom: 1.41vw; + } + + .contacts.page_h2 { + padding-top: 3.13vw; + } + + .contacts .container { + max-width: 101.25vw !important; + } + + .contacts .main_content { + gap: 6.25vw; + } + + .contacts-left-part { + gap: 3.13vw; + } + + .contacts-right-part { + width: 54.69vw; + gap: 3.13vw; + } + + .contacts-block { + padding: 3.13vw 3.52vw; + border-radius: 2.34vw; + font-size: 1.41vw; + line-height: 1.72vw; + gap: 3.13vw; + } + + .contacts-block h2 { + font-size: 2.03vw; + line-height: 2.11vw; + margin-bottom: 1.17vw; + } + + .contacts_block-wrapper { + gap: 1.17vw; + } + + .contacts-block h3 { + font-size: 1.41vw; + line-height: 1.56vw; + } + + .contacts-block h4, + .how_h4 { + font-size: 1.72vw; + line-height: 2.11vw; + margin-bottom: 1.17vw; + } + + .contacts-block p { + font-size: 1.41vw; + } + + .contacts-block li { + font-size: 1.41vw; + line-height: 1.72vw; + } + + .contacts__block_text { + font-size: 1.72vw; + line-height: 1.56vw; + } + + .btn-WA { + padding: .7vw .86vw .7vw 1.02vw; + gap: .94vw; + border: .08vw solid var(--main-color); + border-radius: .78vw; + font-size: 1.41vw; + line-height: 1.56vw; + } + + .btn-call-me { + padding: .7vw .86vw; + gap: 1.48vw; + border-radius: .78vw; + font-size: 1.41vw; + line-height: 1.56vw; + top: 2.5vw; + right: 3.52vw; + } + + .blocks-address b { + font-size: 1.72vw; + } + + .litle-text { + margin-bottom: -1.17vw !important; + } + + .img-address { + width: 39.06vw; + margin-top: 1.95vw; + } + + .blocks-address .contacts-right-part .contacts_block-wrapper { + gap: 1.17vw; + } + + .contacts_block-wrapper-col { + gap: 3.13vw; + } + + .review-block { + padding: 1.41vw; + } + + .header-nav-wrapper { + box-shadow: 0vw 0vw .39vw .16vw #0000001A; + } + + .about-teacher { + padding: .7vw .7vw !important; + margin-top: -5.47vw !important; + } + + .about-teacher::before { + border-radius: 1.95vw; + } + + .about-teacher-wrapper { + padding: 4.22vw 5.86vw 3.91vw 7.03vw; + gap: 7.03vw; + border-radius: 1.25vw; + } + + .left-part { + padding-top: 6.25vw; + width: 23.44vw; + } + + .teacher-description_text::after { + left: 0vw; + } + + .teacher_stars { + margin-top: .86vw; + } + + .teacher__rating { + box-shadow: 0vw .31vw .31vw rgba(0, 0, 0, 0.25); + border-radius: 7.03vw 7.03vw 0 0; + padding-bottom: .39vw; + } + + .teacher__rating-img { + height: 23.44vw; + } + + .teacher__rating-img_foto { + border-radius: 3.91vw; + } + + .teacher_name { + font-size: 3.13vw; + margin-bottom: 3.13vw; + } + + .teacher_name-wrapper .accordion { + gap: .78vw; + } + + .teacher-about { + margin-top: 4.69vw; + } + + .certificates_title { + margin-top: 0vw; + font-size: 2.03vw; + margin-bottom: 2.03vw; + } + + .certificate__img { + width: 11.33vw; + } + + .teacher-description_text { + font-size: 2.03vw; + line-height: 2.03vw; + padding: .78vw 0 .78vw 1.56vw; + } + + .teacher_title { + margin-top: 1.56vw; + font-size: 2.03vw; + margin-bottom: 1.17vw; + } + + .teacher-page .box__accordion_content { + gap: 1.25vw; + } + + .teacher-page .taxonomy-block__name_logo { + width: 2.66vw; + } + + .accordion-0.obrazovanie { + margin: 2.34vw 0; + gap: 2.34vw; + } + + .obrazovanie li::after { + width: .63vw; + height: .63vw; + border-radius: .16vw; + } + + .obrazovanie .box__accordion_content-0 { + font-size: 1.41vw; + line-height: 2.34vw; + } + + .obrazovanie ul { + margin-top: 1.17vw; + } + + .box__accordion_content-0 { + font-size: 1.41vw; + } + + .promo-form-wrapper { + padding: 3.13vw 4.69vw 3.13vw 7.03vw; + border-radius: 1.95vw; + } + + .promo-form-right-part { + max-width: 49.22vw; + } + + .promo-form-left-part { + width: 38.28vw; + gap: 1.17vw; + } + + .promo-form label input { + margin-right: .63vw; + } + + .promo-form label { + font-size: 1.72vw; + } + + .label-wrapper { + margin-top: 2.66vw; + left: -3.13vw; + } + + .label-wrapper .text-block_label { + margin-top: .47vw; + } + + .promo-form .phone a { + font-size: 3.75vw; + } + + .promo-form .form-data { + margin-top: 0vw; + padding: 1.95vw 1.33vw; + } + + .promo-form label { + margin: 0 0 .39vw; + } + + .promo-form .btn-lilac { + padding: 2.34vw 0; + } + + .reviews .owl-item { + padding: .47vw; + } + + .teachers-owl-prev { + left: 3.13vw; + } + + .foto-prev { + left: 3.13vw; + } + + .foto-next { + right: 3.13vw; + } + + .reviews-owl-next, + .reviews-owl-prev { + top: calc(50% + 2.34vw); + } + + .reviews-owl-next { + right: 2.34vw; + } + + .reviews-owl-prev { + left: 2.34vw; + } + + .reviews__item-client { + gap: 1.56vw; + } + + .reviews__item-client_avatar { + height: 4.45vw; + width: 4.45vw; + } + + .reviews__kurs { + font-size: 1.09vw; + line-height: 1.48vw; + } + + .reviews-wrapper .owl-nav, + .our-teachers .owl-nav { + left: -4.69vw; + bottom: calc(50% - 2.34vw); + width: calc(100% + 9.38vw); + } + + .teacher-page .owl-next, + .teacher-page .owl-prev { + width: 1.56vw; + height: 2.11vw; + } + + .teacher-page .owl-next { + top: -1.02vw; + } + + .questions .container { + padding: 1.56vw 7.81vw; + border: .08vw solid #000; + border-radius: 1.56vw; + } + + .questions .box__accordion { + border-top: .08vw solid #00000080; + } + + .questions .accordion .box__accordion .box__accordion_label { + padding: .94vw 0 1.56vw; + } + + .questions .box__accordion_label { + font-size: 1.41vw; + } + + .questions .accordion { + margin-top: 3.13vw; + } + + .our-teachers_text { + margin-top: 3.13vw !important; + font-size: 1.41vw; + } + + .yellow-button { + margin-top: 6.25vw; + width: 38.28vw; + } + + .header-map { + padding: 5.63vw 0 3.13vw !important; + } + + .gmap iframe { + border-radius: 1.95vw !important; + height: 49.22vw; + max-width: 112.5vw; + } + + .btn-free-lesson { + width: 27.5vw; + } + + .certificates-owl { + width: 80vw; + } + + .certificates-owl .owl-controls { + width: 64vw; + } + + .btn-close-certificates-img { + width: 4.45vw; + } + + .container { + max-width: 101.25vw; + } + + .footer-wrapper { + max-width: 92.5vw; + padding: 4.69vw 1.56vw 6.25vw; + } + + .footer_logo img { + width: 18.59vw; + height: 5.47vw; + } + + .footer__main-col { + padding-top: 4.3vw; + } + + .footer-main { + padding-bottom: 1.72vw; + } + + .footer_links { + margin-top: 3.91vw; + gap: 7.03vw; + font-size: 1.25vw; + } + + .footer_links-col { + gap: 3.91vw; + } + + .footer_links-col__main-link { + margin-bottom: .63vw; + } + + .footer__col { + gap: 1.95vw; + } + + .footer_links .menu-item-has-children>a { + margin-bottom: 2.11vw; + font-size: 1.41vw; + } + + .footer_links .menu-item-has-children>a::before { + bottom: -.78vw; + height: .08vw; + } + + .footer_links .sub-menu { + gap: 1.33vw; + } + + .footer__link-icon { + gap: 1.95vw; + font-size: 1.25vw; + } + + .footer__col .btn-write { + margin-bottom: 1.48vw; + } + + .social { + gap: 1.17vw; + margin-left: 3.52vw; + } + + .footer-politica { + margin-top: 3.59vw; + font-size: 1.02vw; + gap: 2.34vw; + padding-bottom: 1.88vw; + border-bottom: .08vw solid #B0B0B0; + } + + .footer-last-row { + border-top: .08vw solid #B0B0B0; + padding-top: .78vw; + gap: 1.56vw; + font-size: 1.09vw; + } + + .foto-section { + margin-top: 8.59vw; + } + + .courses-section { + padding-top: 8.59vw; + } + + .courses-wrapper { + margin-top: 4.69vw; + gap: 1.95vw; + } + + .course__item { + width: calc(33% - 1.02vw); + border-radius: 1.17vw; + border: .08vw solid #fff0; + } + + .course__item:hover { + border: .08vw solid #FFD43E; + box-shadow: 0 0 .31vw #FFD43E; + } + + .course__item .product-info { + padding: 2.34vw; + } + + .foto-wrapper { + gap: 2.34vw; + } + + .foto_item { + border-radius: 2.34vw; + } + + .foto_item-1 { + width: calc(70% - 1.17vw); + height: 42.97vw; + } + + .foto_item-2 { + width: calc(30% - 1.17vw); + height: 42.97vw; + } + + .foto_item-3 { + width: calc(50% - 1.17vw); + height: 29.69vw; + } + + .foto_item-4 { + width: calc(50% - 1.17vw); + height: 29.69vw; + } + + .btn-close-slider-img { + width: 3.91vw; + } + + .page-foto .video-wrapper { + margin-top: 5.47vw; + width: 76.95vw; + height: 42.97vw; + border-radius: 2.34vw; + } + + .page-vacancies .banner-wrapper { + padding: 7.03vw 0 9.38vw; + } + + .vacancies__banner-left { + gap: 6.25vw; + } + + .btn-resume { + width: 38.28vw; + } + + .banner-circle { + gap: .78vw; + box-shadow: -.16vw .16vw .16vw rgba(0, 0, 0, 0.25); + } + + .main-text-color { + font-size: 3.13vw; + line-height: 2.34vw; + } + + .main-text { + font-size: 1.41vw; + line-height: 1.72vw; + } + + .vacancies__banner-circle-1 { + left: 12.5vw; + width: 16.25vw; + height: 16.25vw; + } + + .vacancies__banner-circle-2 { + top: 5.08vw; + left: 25.39vw; + width: 22.27vw; + height: 22.27vw; + } + + .vacancies__banner-circle-3 { + left: 11.33vw; + width: 15.31vw; + height: 15.31vw; + } + + .advantages-wrapper { + margin: 3.13vw 0; + gap: 2.34vw; + } + + .advantages__item { + padding: 1.56vw; + gap: 1.56vw; + border-radius: 1.17vw; + } + + .advantages__item_title { + font-size: 2.73vw; + line-height: 3.13vw; + } + + .advantages__item_text { + font-size: 1.72vw; + line-height: 2.11vw; + } + + .page-vacancies .accordion { + gap: 1.17vw; + } + + .page-vacancies .box__accordion_content-text { + padding: 2.34vw 1.56vw; + font-size: 1.72vw; + } + + .box__accordion .btn-resume { + margin: 0 auto 3.91vw; + } + + .page-vacancies .conteiner-text .box__accordion_label { + padding: 2.34vw 1.56vw; + font-size: 1.72vw; + } + + .page-vacancies .box__accordion:hover { + box-shadow: 0 0 .63vw rgb(0 0 0 / .2); + } + + .btn-close-resume-form, + .btn-close-request-form { + top: -.78vw; + right: -.78vw; + } + + .btn-close-resume-form img, + .btn-close-request-form img { + width: 3.91vw; + height: 3.91vw; + } + + .form-wrapper .b24-form { + border-radius: 2.34vw; + } + + .b24-form-btn { + border-radius: .78vw !important; + font-size: 1.25vw !important; + line-height: 2.11vw !important; + } + + .b24-form-control-file { + border-radius: .78vw !important; + border: .08vw solid #000 !important; + } + + .b24-form-control-file .b24-form-control { + border-radius: 7chNaNvw !important; + } + + .b24-form-control-icon-after .b24-form-control { + border-radius: .78vw !important; + border: .08vw solid #000 !important; + } + + .page-vacancies .buttons { + margin: 3.13vw; + } + + .cat-wrapper { + gap: 1.17vw; + } + + .cat-wrapper_item { + padding: 1.09vw 3.13vw; + font-size: 1.41vw; + line-height: 1.72vw; + border-radius: 1.95vw; + } + + .news-wrapper { + margin-top: 4.69vw; + gap: 3.13vw; + } + + .news__item { + width: calc(33% - 1.76vw); + gap: 1.56vw; + border-radius: 1.56vw; + border: .08vw solid #fff0; + padding-bottom: 2.73vw; + } + + .news__item a { + gap: 1.56vw; + } + + .news__item .popular__subject_img { + height: 19.53vw; + } + + .news_label_cat { + top: 1.56vw; + left: 1.56vw; + border-radius: 1.56vw; + padding: .78vw 1.95vw; + font-size: 1.41vw; + line-height: 1.72vw; + } + + .news_label { + right: 2.34vw; + font-size: 1.41vw; + line-height: 1.95vw; + } + + .banner-post .banner-wrapper { + padding: 2.34vw 0; + } + + .banner-left-part time { + font-size: 1.41vw; + line-height: 1.8vw; + } + + .single-post_title { + margin-top: 1.17vw; + font-size: 2.5vw; + } + + .link_cat { + margin-top: 5.86vw; + padding: 1.09vw 3.52vw; + border: .08vw solid #A5A5A5; + border-radius: 1.95vw; + font-size: 1.41vw; + line-height: 1.72vw; + } + + .banner-right-part { + border-radius: 3.44vw; + } + + .single-post-content { + padding: 3.13vw 0; + } + + .content-left-part { + font-size: 1.41vw; + } + + .read-block { + padding: 3.52vw 1.56vw; + gap: 3.13vw; + border-radius: 2.34vw; + } + + .read-block_title { + font-size: 3.13vw; + line-height: 3.13vw; + } + + .read-blocks-wrapper { + gap: 1.17vw; + } + + .block-new a { + border-radius: .78vw; + height: 10.94vw; + } + + .block-new_img { + width: calc(50% - 1.25vw); + } + + .block-new_title { + height: calc(100% - 1.25vw); + padding: 1.56vw .78vw; + font-size: 1.25vw; + line-height: 1.41vw; + border: .08vw solid var(--main-blue); + border-radius: 0 .78vw .78vw 0; + } + + .organization .page_h2 { + padding-top: 3.13vw; + } + + .organization .wp-block-heading { + margin-top: 1.56vw; + } + + .wp-block-heading { + font-size: 2.03vw; + line-height: 1.8vw; + margin-bottom: 1.56vw; + } + + .wp-block-group__inner-container { + max-width: 112.5vw; + padding: 1.56vw; + } + + .wp-block-list { + font-size: 1.41vw; + line-height: 1.88vw; + margin-left: 2.34vw; + } + + .courses-block { + gap: 2.34vw; + } + + .courses-block-wrapper { + padding: 3.52vw 1.56vw; + gap: 3.13vw; + border-radius: 2.34vw; + } + + .courses-block-social { + gap: 1.56vw; + padding: 1.56vw; + border-radius: 2.34vw; + } + + .social_title { + font-size: 1.56vw; + line-height: 1.56vw; + } + + .programm-course { + padding-bottom: 5.47vw; + } + + .single-course .banner-wrapper { + padding: 13.28vw 0; + } + + .single-course .b24-form-wrapper { + width: 43.75vw; + border-radius: 1.95vw; + padding: .78vw 0vw 2.34vw; + } + + .b24-form-field-agreement .b24-form-field-agreement-link, + .b24-form .b24-form-sign-abuse-link { + font-size: 1.41vw !important; + line-height: 1.72vw !important; + } + + .form-wrapper .b24-form-control-icon-after .b24-form-control { + border: .08vw solid #000 !important; + } + + .single-course .b24-form-btn { + font-size: 2.34vw !important; + } + + .single-course .b24-form-control-string .b24-form-control { + font-size: 2.03vw; + height: 5.78vw; + } + + .course-about-wrapper { + padding: 1.95vw 3.13vw 1.95vw 2.34vw; + box-shadow: .23vw .23vw .78vw rgba(0, 0, 0, 0.1); + border-radius: 2.34vw; + gap: 2.34vw; + } + + .about_img { + width: 27.34vw; + height: 27.34vw; + border-radius: 1.56vw; + } + + .about_title { + margin-bottom: 1.56vw; + font-size: 2.97vw; + line-height: 3.28vw; + } + + .about-circle { + width: 39.84vw; + height: 39.84vw; + bottom: -19.92vw; + left: 4.69vw; + } + + .about-col { + gap: .47vw; + } + + .about-col_item { + padding: 1.8vw 2.19vw; + border-radius: 1.56vw; + box-shadow: .23vw .23vw .78vw rgba(0, 0, 0, 0.1); + font-size: 1.72vw; + line-height: 2.03vw; + } + + .btn-separate { + width: 28.91vw; + } + + .single-post-content .content-left-part { + gap: 1.56vw; + } + + .single-course .questions .accordion { + margin-bottom: 3.13vw; + } + + .section-wrap .text { + font-size: 1.41vw; + line-height: 1.8vw; + } + + .os-item { + padding-left: 3.13vw; + margin: .94vw 0; + } + + .os-item::before { + width: 1.88vw; + height: 1.88vw; + } + + .section-wrap .box__accordion_content { + padding-left: 1.56vw; + gap: 1.17vw; + } + + .section-wrap .active .box__accordion_content { + padding-bottom: 1.56vw; + } + + .cell { + font-size: 1.41vw; + line-height: 1.64vw; + } + + .single-course .promo-form { + padding-bottom: 3.13vw; + } + + .b24-form .b24-form-sign-abuse-link { + border-bottom: .08vw solid #fff !important; + } + + .title_404 { + font-size: 4.69vw; + line-height: 5.23vw; + } + + .sub-title_404 { + font-size: 2.73vw; + line-height: 3.52vw; + } +} + +@media (max-width:568px) { + .teachers-wrapper { + justify-content: center; + } + + .teachers__item { + width: 100%; + max-width: 290px; + } + .ourteacher { + margin: 0 auto; + } +} + +@media (max-width: 860px) { + .desktop { + display: none !important; + } + + .mobile { + display: flex !important; + } + + .desktop-span { + display: none !important; + } + + .mobile-span { + display: inline !important; + } + + body { + padding-top: 30px; + } + .header { + position: fixed; + z-index: 100; + top: 0; + } + + main { + gap: 20px; + } + + .container { + padding: 0 10px; + } + + .banner-wrapper { + height: auto; + display: flex; + align-items: flex-end; + padding: 20px; + min-height: 250px; + border-radius: 0; + aspect-ratio: 4 / 2; + } + + .breadcrumbs { + padding: 12px 0 12px 0px !important; + } + + .b24-form-content form { + padding: 0 10px; + } + + .info__block-right .info__block-content { + gap: 10px; + flex-direction: column; + } + .info__block-right .info__block-wrapper { + padding: 20px 15px; + border: 1px solid #000; + } + .info__block-right .info__block-content_img { + width: 100%; + max-width: none; + max-height: 150px; + justify-content: center; + } + + .info__block-right .info__block-content_img img { + width: 100%; + max-width: none; + max-height: 150px; + object-fit: contain; + } + + .banner-fon img { + width: 100%; + height: 100%; + object-fit: cover; + } + + .banner__content { + position: relative; + bottom: auto; + width: fit-content; + max-width: calc(100% - 30px); + background: #000000d1; + border-radius: 10px; + margin: 0 auto; + padding: 10px 20px; + } + + .banner__content_title { + font-size: 26px; + line-height: normal; + font-weight: 500; + } + + .banner__content_title br { + display: none; + } + + .banner__content_sub-title { + font-size: 16px; + line-height: 22px; + } + + .banner__content_text { + font-size: 16px; + line-height: 19px; + gap: 20px; + } + + .banner__content .btn-write { + display: none; + } + + .foto-slider .container, + .questions .container { + padding: 20px 10px; + border-radius: 0; + border: none; + } + + .foto-slider .swiper-pagination-clickable .swiper-pagination-bullet { + width: 20px; + height: 20px; + margin: 0 12px; + } + + .foto-slider .swiper-pagination { + bottom: 0; + } + .info-block { + margin-top: 0 !important; + padding: 0 10px !important; + } + + .info-block__item { + width: 50%; + min-width: 250px; + max-width: none; + border-radius: 10px; + flex: 1; + height: auto; + } + + .banner-main-page { + border-radius: 10px; + } + .page_h2 { + font-size: 28px; + line-height: normal; + margin-bottom: 15px; + } + + .advantages__block .container { + padding: 10px 10px; + border-radius: 20px; + } + + .info-block__item-wrapper { + width: calc(100% - 4px); + height: calc(100% - 4px); + border-radius: 4px; + padding: 6px; + } + + .info-block__item-wrapper span { + font-size: 16px; + line-height: 1.5; + } + + .advantages__block-content { + gap: 15px; + } + + .advantages__block-row { + gap: 15px; + flex-direction: column; + } + + .advantages__block-item { + width: 100%; + min-width: auto !important; + padding: 15px; + height: auto; + border-radius: 20px; + flex-direction: column; + } + + .advantages__block-item-img img { + max-width: 70px; + } + .section-Mntitle-circle { + font-size: 26px; + line-height: 30px; + } + .advantages__block-item_title { + min-height: auto; + } + .section-Mntitle-circle::after { + top: -30px; + right: 0; + width: 95px; + height: 95px; + } + + .section-Mntitle-circle br { + display: none; + } + + .tabs-container { + margin-top: 40px; + gap: 40px; + } + + .tabs-btns { + width: 100%; + } + + .tab { + font-size: 18px; + padding: 12px 0; + } + + .disciplines { + gap: 10px; + padding-bottom: 40px; + } + + .disciplines__item { + flex: 0; + max-width: none; + min-width: auto; + min-width: calc(33% - 6px); + height: auto; + padding: 15px 0px 5px; + gap: 10px; + aspect-ratio: 1/1; + } + + .disciplines__item_icon { + aspect-ratio: 1 / 1; + width: 60%; + height: auto; + } + + .disciplines__item_name { + width: auto; + font-size: 12px; + line-height: normal; + word-break: break-word; + } + + .preparation { + padding-bottom: 30px; + } + + .preparation_links { + gap: 10px; + flex-direction: column; + align-items: center; + font-size: 18px; + line-height: normal; + } + + .preparation_links a { + width: 300px; + padding: 16px; + } + + .promo-form-wrapper { + flex-direction: column; + padding: 20px 15px; + } + + .promo-form .form-data[name=tel] { + margin-bottom: 20px; + } + + .promo-form__list { + margin-top: 20px; + } + + .promo-form_title { + font-size: 20px; + line-height: 1.5; + text-align: center; + width: 100%; + } + .promo-form-left-part { + width: 100%; + } + .b24-form-padding-side { + padding-left: 0 !important; + padding-right: 0 !important; + } + .promo-form__list { + margin-top: 20px; + gap: 8px; + font-size: 18px; + font-weight: 600; + } + + .text-block_label { + margin-bottom: 0; + } + + .promo-form .phone { + margin-top: 0; + } + + .promo-form .phone a { + margin-top: 0; + font-size: 28px; + } + + .swiper-popular-subjects, + .swiper-news { + width: calc(100% - 60px); + } + + .popular__subject { + gap: 5px; + padding-bottom: 10px; + } + + .label-wrapper { + margin-top: 0; + left: -10px; + } + .product-warpper { + margin-top: 60px; + gap: 15px; + } + + .product-warpper .popular__subject { + width: calc(50% - 20px); + } + + .course_description p { + font-weight: 300; + font-size: 16px; + line-height: 20px; + } + + .popular__subject_img { + height: 220px; + } + + .product-info { + gap: 5px; + padding: 0 20px; + } + + .popular__subject_label { + padding: 9px 12px; + font-size: 14px; + line-height: normal; + } + + .subject-next, + .subject-prev { + top: 63%; + } + + .popular__subject_title, + .popular__subject_text { + font-size: 16px; + line-height: normal; + } + + .price { + padding: 60px 0; + } + + .price .container { + padding: 0; + } + + .price-wrapper { + margin-top: 20px; + } + + .price-wrapper { + flex-direction: column; + padding: 35px 10px; + border-radius: 20px; + gap: 30px; + } + + .price .tabs-btns { + flex-direction: row; + background-color: #ffffff; + min-width: auto; + gap: 0; + width: auto; + margin: 0 auto; + } + + .price .tab { + padding: 6px 20px; + font-size: 16px; + line-height: normal; + } + + .price__item { + padding: 10px; + background-color: #fff; + border-radius: 10px; + font-size: 16px; + line-height: normal; + flex-direction: column; + display: flex; + align-items: center; + gap: 10px; + font-weight: 600; + } + + .price__item::before { + display: none; + } + + .price__item-content { + line-height: normal; + padding-left: 20px; + } + + .price__content_title { + margin-top: 25px; + font-size: 18px; + } + + .price__item-content p { + margin: 15px 0 0; + font-size: 16px; + } + + .price__item-content ul { + margin-top: 15px; + gap: 15px; + font-size: 16px; + } + + .price__item-content ul li::after { + top: 4px; + right: calc(100% + 6px); + width: 10px; + height: 10px; + } + + .price__item-content span { + font-size: 16px; + } + + .our-teachers_text { + margin-top: 20px !important; + font-size: 15px; + } + + .our-teachers .container { + padding: 20px 15px 30px; + border-radius: 0; + background-color: #F2F5F7; + } + + .info__block-wrapper { + padding: 20px 15px; + } + + .info__block-content_text { + gap: 1rem; + font-size: 14px; + line-height: 1.4; + } + .info__block-items-wrapper { + margin-left: 0; + gap: 10px; + } + .info__block-item { + padding: 8px 15px; + border-radius: 20px; + gap: 10px; + } + .info__block-item-text_title { + font-size: 18px; + } + .info__block-item-text_text { + font-size: 16px; + line-height: 1.4; + } + .info__block-item-content { + gap: 6px; + } + .info__block-item_number { + width: 35px; + height: 35px; + font-size: 16px; + } + .buttons, + .our-teachers .buttons { + margin-top: 30px; + } + .buttons { + flex-direction: column; + } + + .info__block-content_img { + max-width: 15%; + } + + .buttons .btn-yellow-link { + width: 100%; + padding: 15px; + font-size: 22px; + text-align: center; + } + + .black-label { + margin: 0 auto; + width: 90%; + padding: 13px 16px; + margin-top: 25px; + margin-bottom: 5px; + border-radius: 15px; + font-size: 22px; + line-height: 26px; + } + + .preparation-block { + padding: 60px 0; + } + + .preparation-block_text { + width: 100%; + } + + .preparation-block p { + padding-top: 20px; + font-family: 'Roboto'; + font-size: 16px; + line-height: normal; + width: 100%; + margin: 0; + } + + .advertising-block-wrapper { + flex-direction: column; + align-items: center; + gap: 10px; + } + + .advertising-block__text { + width: 100%; + padding-right: 0; + } + + .label-blue { + width: 100%; + text-align: center; + padding: 12px; + font-size: 16px; + line-height: normal; + color: #FFF; + } + + .advertising-block { + position: relative; + padding: 35px 0 85px; + } + + .advertising-block__text_text { + margin: 18px 0; + font-size: 16px; + line-height: normal; + text-align: center; + } + + .advertising-block__text_sub-title { + font-size: 14px; + line-height: 145%; + text-align: center; + } + + .advertising-block__img { + max-width: 400px; + } + + .advertising-label { + position: absolute; + bottom: 40px; + padding: 10px 40px; + display: flex; + flex-direction: column; + gap: 6px; + background-color: #303030; + border-radius: 15px; + align-items: center; + } + + .advertising-label span { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-size: 14px; + line-height: 20px; + text-transform: uppercase; + color: #FFFFFF; + } + + .advertising-label .advertising-label_yellow { + font-size: 20px; + color: var(--main-yellow); + } + + .why-us { + padding: 60px 0 0; + } + + .why-us-wrapper { + margin-top: 18px; + display: flex; + flex-direction: column; + gap: 7px; + } + + .why-us_item { + gap: 50px; + align-items: center; + padding: 15px 15px 15px 40px; + } + + .why-us_item-img { + width: 57px; + min-width: auto; + display: flex; + flex: 0; + overflow: revert; + } + + .why-us_item-img img { + width: auto; + } + + .why-us_item span { + font-size: 18px; + line-height: 22px; + } + + .div4 { + flex-direction: row; + } + + .reviews-wrapper-more { + margin-top: 0; + } + + .reviews__item-wrapper { + padding: 20px 30px; + } + + .reviews-owl-next, .reviews-owl-prev { + top: 50%; + } + + .page-school .reviews .container { + padding: 20px 35px; + } + + .btn-show { + margin-top: -35px; + } + + .news-next { + right: 10px; + } + + .news-prev { + left: 10px; + } + + .reviews-owl-next { + right: 10px; + } + .reviews-owl-prev { + left: 10px; + } + .news .buttons { + margin: 18px auto 0; + width: calc(100% - 64px); + } + + .popular-subjects .container { + padding: 20px 10px 30px; + border: 0; + border-radius: 0; + } + + .promo-form { + padding-top: 0; + } + + .map { + padding-bottom: 20px; + } + + .map .container { + padding: 20px 10px; + border: none; + } + + .map_title { + font-size: 28px; + font-weight: 500; + line-height: normal; + } + + .location__map { + border-radius: 0 0 25px 25px; + height: 420px; + } + + .map_address { + top: 0; + border-radius: 0 0 20px 20px; + padding: 3px; + width: 100%; + } + + .header-nav { + position: relative; + padding: 23px 10px; + } + + .top-header-row { + padding: 0; + border-bottom: none; + } + + .header-logo img { + width: 158px; + height: 30px; + margin-left: -10px; + } + + .icon-links { + display: flex; + gap: 25px; + align-items: center; + } + + .burger-btn { + margin-left: 5px; + display: flex; + flex-direction: column; + gap: 6px; + width: 24px; + height: 18px; + } + + .burger-btn span { + width: 100%; + height: 2px; + background-color: #fff; + border-radius: 1px; + } + + .bottom-header-row { + position: absolute; + padding-top: 0; + right: 10px; + top: 30px; + } + + .menu-wrapper { + display: none; + position: fixed; + left: 0; + top: 120px; + z-index: 1; + background: #fff; + width: 100%; + height: 100vh; + z-index: 999999; + overflow: auto; + height: calc(100vh - 130px); + padding-bottom: 100px; + } + + .bottom-header-row.open .menu-wrapper { + display: flex; + flex-direction: column; + } + .hover-effect{ + position: relative; + } + .hover-effect::after { + position: absolute; + content: ''; + top: 0; + right: 0; + width: 50px; + height: 100%; + z-index: 100; + } + + .header-menu { + width: 100%; + display: block; + font-size: 16px; + padding: 70px 10px 0; + } + + .header-nav a { + color: #000; + transition: .3s; + } + + .header-menu .menu-item { + padding: 10px 0; + padding-right: 25px; + border-bottom: 1px solid #8c8c8c75; + } + + .header-menu .menu-item:last-child { + border-bottom: none; + } + + .header-menu .menu-item-has-children { + flex-direction: column; + align-items: flex-start; + } + + .header-menu .menu-item-has-children::before { + width: 14px; + height: 18px; + right: 17px; + background-image: url(../images/slider-arow.svg); + rotate: -90deg; + } + + .header-menu .sub-menu { + position: relative; + top: 100%; + padding: 0; + visibility: hidden; + opacity: 1; + width: max-content; + gap: 0; + border-radius: 0; + overflow: hidden; + max-height: 0; + background: #ffffff; + } + + .header-menu .menu-item-has-children:hover .sub-menu, + .hover-effect .sub-menu{ + visibility: visible; + max-height: 100vh; + } + + .header-menu .menu-item-has-children:hover::before { + rotate: 90deg; + } + + .menu-item-has-children .menu-item { + padding: 8px 0; + border-bottom: none; + } + + .btn-free-lesson-header { + display: none; + } + + .btn-free-lesson-header { + width: 286px; + margin: 0 auto; + margin-top: 30px; + } + + .btn-close-menu { + width: 286px; + margin: 0 auto; + margin-top: 10px; + background: #ffd43e; + border-radius: 10px; + padding: 10px; + font-family: 'Oswald'; + font-weight: 500; + font-size: 22px; + line-height: 22px; + display: flex; + justify-content: center; + text-transform: uppercase; + color: var(--main-color); + } + + .icon-close-menu { + position: absolute; + top: 6px; + right: 10px; + } + + .footer-wrapper { + padding: 45px 0 30px; + } + + .footer-main { + flex-direction: column; + align-items: center; + padding-bottom: 0; + } + + .footer_logo img { + width: 250px; + } + + .footer__col { + margin-top: 35px; + align-items: center; + gap: 0; + } + + .social { + margin-left: 0; + order: 1; + } + + .footer__link-icon img { + display: none; + } + + .footer__link-icon { + gap: 0; + font-size: 18px; + text-align: center; + line-height: 32px; + } + + .footer_logo { + position: relative; + } + + .footer_mobile { + margin: 10px 0; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + } + + .footer_mobile_title { + width: 180px; + text-align: center; + font-family: 'Oswald'; + font-weight: 400; + font-size: 18px; + line-height: 36px; + letter-spacing: 1.2px; + text-transform: uppercase; + border-bottom: 1px solid #FFFFFF; + } + + .footer_mobile ul { + margin: 20px; + display: flex; + flex-direction: column; + justify-content: center; + gap: 14px; + align-items: center; + } + + + .footer_mobile ul li { + font-family: 'Roboto'; + font-weight: 400; + font-size: 14px; + line-height: 20px; + letter-spacing: 0.7px; + } + + .footer__col .btn-write { + width: 185px; + margin: 20px 0 30px; + padding: 9px 0; + order: 5; + border-radius: 10px; + font-size: 16px; + line-height: normal; + } + + .footer__link-icon:nth-child(3) { + order: 4; + } + + .footer__link-icon:nth-child(4) { + order: 4; + } + + .footer_mobile { + order: 2; + } + + .footer-last-row { + width: calc(100% - 20px); + margin: 0 10px; + padding: 0 0 30px; + gap: 14px; + font-size: 16px; + flex-direction: column; + align-items: center; + } + + .footer-last-row a { + text-align: center; + line-height: 30px; + } + + .subject-next { + right: 10px; + } + + .subject-prev { + left: 10px; + } + + .contacts .main_content { + flex-direction: column; + gap: 15px; + } + + .contacts-left-part { + gap: 15px; + width: 100%; + } + + .contacts-right-part { + width: 100%; + gap: 15px; + } + + .contacts-right-part .contacts-block { + gap: 20px !important; + } + .contacts .teachers_title { + font-size: 40px; + margin-bottom: 20px; + } + + .contacts-block { + padding: 20px 25px; + gap: 20px; + } + + .btn-call-me { + position: sticky; + width: fit-content; + } + + .contacts_block-wrapper { + gap: 10px; + } + + .contacts-block h2 { + font-size: 20px; + margin-bottom: 0; + } + + .contacts-block h3 { + font-size: 16px; + } + + .contacts__block_text { + font-size: 18px; + } + + .contacts-block h4, + .how_h4 { + font-size: 20px; + margin-bottom: 10px; + } + + .contacts-block p, + .contacts-block li { + font-size: 16px; + } + + .contacts-right-part .contacts-block h2 { + margin-bottom: 10px; + } + + .QR-code, + .logos-payment { + margin-top: 10px; + width: 100%; + height: auto; + } + + .contacts .foto-slider { + padding-bottom: 0; + } + + .blocks-address b { + font-size: 18px; + } + + .litle-text { + margin-bottom: -6px !important; + margin-top: 10px !important; + } + + .img-address { + width: 100%; + margin-top: 0; + } + + .contacts_block-wrapper-col { + gap: 0px; + flex-direction: column; + } + + .review-block { + padding: 10px; + } + + .page-rewiews .info-block { + padding-bottom: 10px !important; + } + + .container-wrapper { + flex-direction: column-reverse; + gap: 10px; + } + + .filter { + position: relative; + width: 100%; + background: #F3F3F3; + border: 1px solid #ACACAC; + border-radius: 10px; + padding: 15px 20px; + } + + .filter-wrapper { + max-height: 0; + overflow: hidden; + transition: .3s; + position: absolute; + background: #ffffff; + width: 100%; + left: 0; + padding: 0 20px; + top: 102%; + z-index: 1; + } + + .tiltle-mobile { + font-family: 'Roboto'; + font-weight: 500; + font-size: 16px; + line-height: 17px; + width: calc(100% - 30px); + } + + .tiltle-mobile::after { + width: 13px; + height: 18px; + content: ""; + background-image: url(../images/slider-arow.svg); + position: absolute; + transform: translateY(-50%); + right: 20px; + background-repeat: no-repeat; + background-position: center center; + background-attachment: fixed; + -webkit-background-size: 100%; + -moz-background-size: 100%; + -o-background-size: 100%; + background-size: 100%; + transition: all .4s; + rotate: -90deg; + } + + .open .tiltle-mobile::after { + transform: translateY(-50%) rotate(-180deg); + } + + .open.filter .filter-wrapper { + max-height: 100vh; + padding: 20px; + } + + .filter_title { + font-size: 18px; + margin-bottom: 0; + text-align: center; + } + + .reviews__item-client_avatar { + height: 40px; + width: 40px; + } + + .reviews__item-client_avatar { + font-size: 20px; + } + .page-rewiews .reviews__item-client_name, .page-rewiews .reviews__item-client_stars span, .page-rewiews .reviews__kurs, .page-rewiews .reviews__item-client_text { + font-size: 16px; + } + + .page-rewiews .rewiews-wrapper { + gap: 10px; + flex-direction: column; + } + + .page-rewiews .reviews__item-client_name { + font-weight: 500; + } + + .page-rewiews .reviews__item::before { + top: -3px; + left: -3px; + width: calc(100% + 6px); + height: calc(100% + 6px); + } + + .page-rewiews .reviews__item-wrapper { + padding: 10px; + gap: 5px; + border-radius: 22px; + } + + .page-rewiews .reviews__kurs { + margin: 0; + } + + .page-rewiews .more .btn-more { + background: none; + } + + .page-rewiews .btn-more span { + color: var(--main-blue) + } + + .reviews__item-client_stars span { + font-size: 16px; + } + + .page-numbers-wrapper { + margin: 0; + } + + .page-numbers-wrapper .current, + .page-numbers-wrapper a.page-numbers { + width: 30px; + height: 30px; + font-size: 18px; + font-weight: 600; + } + + .page-rewiews .buttons .btn-yellow-link { + width: calc(100% - 20px); + padding: 16px 20px; + font-size: 16px; + text-align: center; + margin: 0 auto; + } + + .page-rewiews .banner-fon { + position: relative; + } + + .page_title { + font-size: 24px; + line-height: normal; + } + + .page-rewiews .banner__content_title { + font-size: 26px; + line-height: 30px; + font-weight: 600; + } + + .page-rewiews .banner__content_title span { + width: 100%; + display: block; + } + + .page-rewiews .banner__content_sub-title { + font-size: 16px; + line-height: 23px; + margin: 15px 0 30px; + } + + .foto-section { + margin-top: 40px; + } + .courses-section { + padding-top: 40px; + } + .courses-wrapper { + margin-bottom: 20px; + } + + .course__item { + width: calc(50% - 13px); + } + + .slider-modal-wrapper { + width: 100%; + } + + .foto-wrapper { + gap: 10px; + } + + .foto_item { + height: 225px; + width: 100%; + border-radius: 15px; + } + + .page-foto .video-wrapper { + margin-top: 30px; + width: 100%; + height: auto; + border-radius: 15px; + } + + .page-foto .video_play svg { + width: 60px; + } + + .vacancies__banner { + flex-direction: column; + gap: 30px; + } + + .page-vacancies .banner-wrapper { + padding: 40px 0 30px; + } + + .page-vacancies .buttons { + margin: 20px; + } + + .vacancies__banner-left { + width: 100%; + flex-direction: column; + gap: 15px; + } + + .banner_title { + font-size: 26px; + line-height: 30px; + } + + .banner_text { + font-size: 16px; + line-height: 22px; + } + + .vacancies__banner-right { + width: 100%; + display: flex; + justify-content: space-between; + } + + .banner-circle { + position: initial; + width: calc(33% - 10px); + height: auto; + aspect-ratio: 1/1; + } + + .main-text-color { + font-size: 22px; + line-height: 18px; + } + + .main-text { + font-size: 12px; + line-height: 16px; + padding: 0 20px; + } + + .advantages-wrapper { + margin: 30px 0; + gap: 20px; + overflow-x: auto; + padding-bottom: 20px; + } + + .advantages__item { + min-width: 225px; + } + + .advantages__item_title { + font-size: 25px; + line-height: 30px; + } + + .advantages__item_text { + font-size: 18px; + line-height: 22px; + } + + .page-vacancies .main_content p { + margin-bottom: 16px; + } + + .page-vacancies .conteiner-text .box__accordion_label { + padding: 15px 20px; + font-size: 16px; + } + + .page-vacancies .box__accordion_content-text { + padding: 15px 20px; + font-size: 16px; + } + + .box__accordion .btn-resume { + margin: 0 0 20px; + width: 100%; + font-size: 22px; + } + + .page-vacancies .conteiner-text .box__accordion.active { + background-color: #f3f3f3; + border: 1px solid transparent; + } + + .cat-wrapper { + width: 100%; + margin-top: 40px; + gap: 10px; + justify-content: flex-start; + overflow-x: auto; + padding-bottom: 20px; + } + + .cat-wrapper_item { + padding: 9px 24px; + font-size: 16px; + flex-shrink: 0; + } + + .news-wrapper { + margin-top: 30px; + gap: 15px; + flex-direction: column; + align-items: center; + padding: 0 10px; + } + + .news__item { + width: 100%; + padding-bottom: 20px; + max-width: 400px; + } + + .news__item .popular__subject_img { + height: 210px; + } + + .news_label_cat { + padding: 5px 25px; + font-size: 16px; + } + + .news__item a { + gap: 10px; + } + + .news__item .popular__subject_title { + width: 70%; + } + + .news_label { + right: 15px; + font-size: 16px; + line-height: 19px; + } + + .single-post-content { + padding: 40px 0 0; + } + + .banner-post .banner-wrapper { + padding: 40px 0; + flex-direction: column; + gap: 20px; + } + + .banner-left-part, + .banner-right-part { + width: 100%; + } + + .banner-left-part time { + font-weight: 300; + font-size: 16px; + } + + .single-post_title { + margin-top: 0; + font-size: 40px; + line-height: 1; + } + + .link_cat { + margin-top: 10px; + padding: 9px 40px; + font-size: 16px; + line-height: 1; + } + + .banner-right-part { + border-radius: 20px; + } + + .post-content-wrapper { + flex-direction: column; + gap: 40px; + } + + .content-left-part { + width: 100%; + font-size: 16px; + } + + .read-block { + width: 100%; + padding: 15px 20px 25px; + gap: 10px; + } + + .read-block_title { + font-size: 25px; + } + + .block-new a { + height: auto; + align-items: stretch; + } + + .block-new_img { + width: 50%; + display: flex; + flex: 1; + height: auto; + } + + .block-new_img img { + width: 100%; + height: 100%; + object-fit: cover; + } + + .block-new_title { + margin: 8px 0; + padding: 10px; + font-size: 12px; + } + + .organization .teachers_title::after { + right: 50%; + } + + .organization .teachers_title { + margin-bottom: 20px; + } + + .wp-block-heading { + font-size: 20px; + margin-bottom: 10px; + } + + .wp-block-list { + font-size: 16px; + line-height: 21px; + margin-left: 25px; + } + + .single-course .banner-wrapper .container { + padding: 0; + } + + .single-course .vacancies__banner-left { + padding: 0 10px; + } + + .single-course .banner-wrapper { + padding: 30px 0; + } + + .title_form-bt24 { + font-family: 'Oswald'; + font-weight: 600; + font-size: 28px; + line-height: 40px; + text-transform: uppercase; + color: #FFF; + } + + .single-course .b24-form-wrapper { + width: 100%; + padding: 0px 0 10px; + } + + .b24-form-field-agreement .b24-form-field-agreement-link, + .b24-form .b24-form-sign-abuse-link { + font-size: 14px !important; + } + + .single-course .b24-form-btn { + font-size: 26px !important; + } + + .single-course .b24-form-control-string .b24-form-control { + height: 65px; + } + + .course-about-wrapper { + flex-direction: column; + align-items: center; + gap: 15px; + padding: 10px 15px 30px; + } + + .about_title { + order: 1; + width: 100%; + font-size: 30px; + text-align: center; + line-height: 37px; + justify-content: center; + margin-bottom: 0; + } + + .about_img { + order: 2; + width: 260px; + height: 260px; + } + + .about-col { + position: relative; + order: 3; + width: 100%; + } + + .about-circle { + width: 376px; + height: 376px; + bottom: 140px; + left: auto; + right: -188px; + } + + .about-col_item { + position: relative; + padding: 10px 28px; + font-size: 18px; + line-height: normal; + flex-direction: column; + align-items: center; + gap: 5px; + } + + .about-col_item::before { + content: ''; + top: 50%; + position: absolute; + height: 1px; + width: 50%; + background-color: #D9D9D9; + } + + .btn-separate { + width: 100%; + } + + .section-wrap .text { + font-size: 16px; + } + + .os-item { + position: relative; + padding-left: 25px; + margin: 8px 0; + font-weight: 400; + } + + .cell { + font-size: 16px; + } + + .os-item::before { + width: 17px; + height: 16px; + } + + .programm-course { + margin-top: 70px; + padding-bottom: 50px; + } + + .obrazovanie .box__accordion .box__accordion_label { + font-size: 20px; + padding: 10px 0; + padding-right: 10%; + } + + .obrazovanie .box__accordion .box__accordion_label::after { + display: block; + background-image: url(../images/slider-arow.svg); + right: -5px; + } + + .about-teacher.container{ + padding: 0 !important; + } + + .teacher-about { + padding-bottom: 0; + } + + .teacher-about { + padding-bottom: 0; + margin-top: 0; + } + + .teacher-about-wrapper, .right-part { + padding: 0 10px !important; + } + + .obrazovanie .box__accordion { + border: none; + border-top: 1px solid #303030; + border-bottom: 1px solid #303030; + } + + .obrazovanie .box__accordion_content { + font-size: 16px; + max-height: 0px; + } + + .questions .box__accordion_content p { + width: 100%; + padding: 0 0 14px; + font-size: 16px; + line-height: 1.4; + } + + .breadcrumbs-teacher .container { + padding: 0 10px 0; + } + + .breadcrumbs-teacher { + padding: 0px 0 30px; + } + + .teacher-page .breadcrumbs { + gap: 10px 30px; + flex-wrap: wrap; + padding: 10px 0 30px !important; + } + +.teacher-description-wrapper { + display: flex; + flex-direction: column; + align-items: center; +} + +.about-teacher-wrapper { + position: relative; + padding: 0; + display: flex; + gap: 20px; + background: #fff; + border-radius: 0; + flex-direction: column; +} + +.teacher-description { + padding: 10px; + background: #F3F3F3; +} +.about-teacher::before { + display: none; +} +.left-part { + padding-top: 0; + width: 100%; +} +.teacher-description-wrapper { + display: flex; + flex-direction: column; + align-items: center; +} + +.teacher-description_text { + position: relative; + font-weight: 400; + font-size: 14px; + line-height: 22px; + padding-left: 20px; + padding-right: 20px; +} + +.teacher-description_text::after { + content: ''; + position: absolute; + top: 0; + left: 10px; + height: 100%; + width: 3px; + background: var(--main-background); + border-radius: 5px; +} + +.teacher__rating { + position: relative; + width: 100%; + margin-top: 10px; + display: flex; + flex-direction: column; + align-items: center; + background: transparent; + border-radius: 0; + box-shadow: none; +} + +.teacher__rating-img { + position: relative; + top: 6px; + width: 260px; + border-radius: 50px; + overflow: hidden; + height: 260px; + margin-bottom: 16px; + display: flex; + align-items: center; + justify-content: center; +} + +.teacher__rating-img:before { + display: flex; + content: ""; + position: absolute; + inset: -2px; + z-index: 0; + border-radius: 19px; + background: linear-gradient(134.27deg, #BF568E -3.32%, #1B6AB2 96.15%); +} + +.teacher__rating-img_foto { + position: relative; + width: calc(100% - 12px); + height: calc(100% - 12px); + object-fit: cover; + border-radius: 45px; +} + +.teacher_stars { + padding-top: 18px; + width: 100%; + display: flex; + justify-content: center; + align-items: center; + gap: 6px; + font-weight: 500; + font-size: 18px; + z-index: 1; + line-height: 28px; + background: #fff; + margin-top: 0; +} + +.teacher__stars_reviews { + color: #A0A0A0; +} + +.teacher_name-wrapper { + position: relative; + margin-top: -14px; + width: 100%; + padding: 12px 0 18px; + background: #FFFFFF; + border-radius: 20px; + margin-bottom: 18px; +} + +.teacher_name { + font-size: 22px; + color: var(--main-background) !important; + text-align: center; + width: 100%; + text-transform: uppercase; + line-height: 22px; + margin-bottom: 0; + justify-content: center; + background: #fff; + padding-top: 12px; + border-radius: 20px 20px 0 0; +} + +.teacher_name::after { + display: none; +} + +.teacher-description_location { + width: 100%; + font-weight: 500; + font-size: 18px; + line-height: 28px; + text-align: center; + color: #A0A0A0; + z-index: 1; + background: #fff; +} + +.conteiner-text { + max-width: 300px; + margin: 0 auto; + margin-top: 8px; +} + +.conteiner-text .box__accordion { + background-color: #FFD43E; + transition: var(--main-transition); +} + +.conteiner-text .box__accordion:hover { + background-color: #FFC806; +} + +.conteiner-text .box__accordion.active { + background-color: #fff; + border: 1px solid #D9D9D9; +} + +.taxonomy-block { + display: flex; + width: 100%; + flex-direction: column; + gap: 4px; + padding: 3px 19px 2px; +} + +.taxonomy-block:last-child { + padding-bottom: 20px; +} + +.taxonomy-block__name { + display: flex; + gap: 8px; + align-items: center; + font-weight: 300; + font-size: 13px; + line-height: 28px; +} + +.taxonomy-block__content { + display: flex; + flex-wrap: wrap; + gap: 6px; + font-weight: 300; + font-size: 13px; + text-align: center; +} + +.taxonomy-block__content_item { + padding: 5px 8px; + background: #D9D9D9; + border-radius: 5px; +} + +/* accordion */ +.accordion { + margin-top: 13px; + width: 100%; + display: flex; + flex-direction: column; + gap: 10px; +} +.more-programm { + margin: 20px 0 0; +} + + .teacher-about .teacher_title { + margin-bottom: 9px; + } + + .box__accordion_content p { + padding: 0; + width: 100%; + } + + .certificates { + margin: 20px; + } + + .teacher-page .certificates_title { + margin-top: 20px; + justify-content: center; + } + + .teacher-about_text { + max-height: 300vh; + } + .banner_expander { + height: 0; + } + .page-rewiews .banner.container { + height: 250px; + } + .reviews__item { + width: 100%; + } + + .page404 .breadcrumbs { + position: initial !important; + } + .title_404 { + font-size: 16px; + line-height: 18px; + margin-bottom: 10px; + } + .sub-title_404 { + font-size: 12px; + line-height: 16px; + margin-bottom: 0; + } +} + +/* end mobile= */ diff --git a/wp-content/themes/dekart/assets/css/reset.css b/wp-content/themes/dekart/assets/css/reset.css new file mode 100644 index 0000000..4eb6b9f --- /dev/null +++ b/wp-content/themes/dekart/assets/css/reset.css @@ -0,0 +1,89 @@ +/*Обнуление*/ +* { + padding: 0; + margin: 0; + border: 0; +} + +*, +*:before, +*:after { + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +:focus, +:active { + outline: none; +} + +a:focus, +a:active { + outline: none; +} + +nav, +footer, +header, +aside { + display: block; +} + +html, +body { + height: 100%; + width: 100%; + font-size: 100%; + font-size: 14px; + -ms-text-size-adjust: 100%; + -moz-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; + overflow-x: hidden; +} + +input::-ms-clear { + display: none; +} + +button { + cursor: pointer; + background: transparent; +} + +button::-moz-focus-inner { + padding: 0; + border: 0; +} + +a, +a:visited { + text-decoration: none; +} + +a:hover { + text-decoration: none; +} + +ul li { + list-style: none; +} + +img { + vertical-align: top; +} + +p { + margin: 0; + padding: 0; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + font-size: inherit; + font-weight: 400; +} \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/images/06945baa588ba69c212cf79ba922a8dd79ae62f7.webp b/wp-content/themes/dekart/assets/images/06945baa588ba69c212cf79ba922a8dd79ae62f7.webp new file mode 100644 index 0000000..24f2b6d Binary files /dev/null and b/wp-content/themes/dekart/assets/images/06945baa588ba69c212cf79ba922a8dd79ae62f7.webp differ diff --git a/wp-content/themes/dekart/assets/images/350761753bfc001c4108be499b96be4eb6114a74.webp b/wp-content/themes/dekart/assets/images/350761753bfc001c4108be499b96be4eb6114a74.webp new file mode 100644 index 0000000..3a8cbda Binary files /dev/null and b/wp-content/themes/dekart/assets/images/350761753bfc001c4108be499b96be4eb6114a74.webp differ diff --git a/wp-content/themes/dekart/assets/images/404.webp b/wp-content/themes/dekart/assets/images/404.webp new file mode 100644 index 0000000..fb73d4b Binary files /dev/null and b/wp-content/themes/dekart/assets/images/404.webp differ diff --git a/wp-content/themes/dekart/assets/images/45060977e7ba4589b733a6e93d888e6729a4aa3a.webp b/wp-content/themes/dekart/assets/images/45060977e7ba4589b733a6e93d888e6729a4aa3a.webp new file mode 100644 index 0000000..541a5e7 Binary files /dev/null and b/wp-content/themes/dekart/assets/images/45060977e7ba4589b733a6e93d888e6729a4aa3a.webp differ diff --git a/wp-content/themes/dekart/assets/images/666-1.webp b/wp-content/themes/dekart/assets/images/666-1.webp new file mode 100644 index 0000000..e5ccf28 Binary files /dev/null and b/wp-content/themes/dekart/assets/images/666-1.webp differ diff --git a/wp-content/themes/dekart/assets/images/a86e2bc9b936c8708f1fc4769cc9e82560ffd2ed.webp b/wp-content/themes/dekart/assets/images/a86e2bc9b936c8708f1fc4769cc9e82560ffd2ed.webp new file mode 100644 index 0000000..e9ee227 Binary files /dev/null and b/wp-content/themes/dekart/assets/images/a86e2bc9b936c8708f1fc4769cc9e82560ffd2ed.webp differ diff --git a/wp-content/themes/dekart/assets/images/advantages__block-1.png b/wp-content/themes/dekart/assets/images/advantages__block-1.png new file mode 100644 index 0000000..3a56cf8 Binary files /dev/null and b/wp-content/themes/dekart/assets/images/advantages__block-1.png differ diff --git a/wp-content/themes/dekart/assets/images/advantages__block-2.png b/wp-content/themes/dekart/assets/images/advantages__block-2.png new file mode 100644 index 0000000..1775174 Binary files /dev/null and b/wp-content/themes/dekart/assets/images/advantages__block-2.png differ diff --git a/wp-content/themes/dekart/assets/images/advantages__block-3.png b/wp-content/themes/dekart/assets/images/advantages__block-3.png new file mode 100644 index 0000000..f971cac Binary files /dev/null and b/wp-content/themes/dekart/assets/images/advantages__block-3.png differ diff --git a/wp-content/themes/dekart/assets/images/advantages__block-4.png b/wp-content/themes/dekart/assets/images/advantages__block-4.png new file mode 100644 index 0000000..20b4c73 Binary files /dev/null and b/wp-content/themes/dekart/assets/images/advantages__block-4.png differ diff --git a/wp-content/themes/dekart/assets/images/advantages__block-5.png b/wp-content/themes/dekart/assets/images/advantages__block-5.png new file mode 100644 index 0000000..125f7f9 Binary files /dev/null and b/wp-content/themes/dekart/assets/images/advantages__block-5.png differ diff --git a/wp-content/themes/dekart/assets/images/advantages__block-6.png b/wp-content/themes/dekart/assets/images/advantages__block-6.png new file mode 100644 index 0000000..3eccf5d Binary files /dev/null and b/wp-content/themes/dekart/assets/images/advantages__block-6.png differ diff --git a/wp-content/themes/dekart/assets/images/age.svg b/wp-content/themes/dekart/assets/images/age.svg new file mode 100644 index 0000000..4e5bfe2 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/age.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/images/arrow-menu.svg b/wp-content/themes/dekart/assets/images/arrow-menu.svg new file mode 100644 index 0000000..f290b16 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/arrow-menu.svg @@ -0,0 +1,3 @@ + + + diff --git a/wp-content/themes/dekart/assets/images/arrow_accordion.svg b/wp-content/themes/dekart/assets/images/arrow_accordion.svg new file mode 100644 index 0000000..9796a65 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/arrow_accordion.svg @@ -0,0 +1,3 @@ + + + diff --git a/wp-content/themes/dekart/assets/images/arrow_accordion_.svg b/wp-content/themes/dekart/assets/images/arrow_accordion_.svg new file mode 100644 index 0000000..3931d9a --- /dev/null +++ b/wp-content/themes/dekart/assets/images/arrow_accordion_.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/wp-content/themes/dekart/assets/images/arrow_accordion_lilac.svg b/wp-content/themes/dekart/assets/images/arrow_accordion_lilac.svg new file mode 100644 index 0000000..613b9a4 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/arrow_accordion_lilac.svg @@ -0,0 +1,3 @@ + + + diff --git a/wp-content/themes/dekart/assets/images/btn-close-modal.svg b/wp-content/themes/dekart/assets/images/btn-close-modal.svg new file mode 100644 index 0000000..5814b53 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/btn-close-modal.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/wp-content/themes/dekart/assets/images/btn-close-modal_.svg b/wp-content/themes/dekart/assets/images/btn-close-modal_.svg new file mode 100644 index 0000000..a9b7ba9 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/btn-close-modal_.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/wp-content/themes/dekart/assets/images/calendar+.png b/wp-content/themes/dekart/assets/images/calendar+.png new file mode 100644 index 0000000..1e5e082 Binary files /dev/null and b/wp-content/themes/dekart/assets/images/calendar+.png differ diff --git a/wp-content/themes/dekart/assets/images/calendar.png b/wp-content/themes/dekart/assets/images/calendar.png new file mode 100644 index 0000000..95ec996 Binary files /dev/null and b/wp-content/themes/dekart/assets/images/calendar.png differ diff --git a/wp-content/themes/dekart/assets/images/dcb8dd0b50095e09a7ea19f6f08fa3828566cf46.webp b/wp-content/themes/dekart/assets/images/dcb8dd0b50095e09a7ea19f6f08fa3828566cf46.webp new file mode 100644 index 0000000..cc80d7d Binary files /dev/null and b/wp-content/themes/dekart/assets/images/dcb8dd0b50095e09a7ea19f6f08fa3828566cf46.webp differ diff --git a/wp-content/themes/dekart/assets/images/fon.svg b/wp-content/themes/dekart/assets/images/fon.svg new file mode 100644 index 0000000..344578c --- /dev/null +++ b/wp-content/themes/dekart/assets/images/fon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/images/girl_and_a_boy.webp b/wp-content/themes/dekart/assets/images/girl_and_a_boy.webp new file mode 100644 index 0000000..a86dd9b Binary files /dev/null and b/wp-content/themes/dekart/assets/images/girl_and_a_boy.webp differ diff --git a/wp-content/themes/dekart/assets/images/graduation-cap-icon.webp b/wp-content/themes/dekart/assets/images/graduation-cap-icon.webp new file mode 100644 index 0000000..0925940 Binary files /dev/null and b/wp-content/themes/dekart/assets/images/graduation-cap-icon.webp differ diff --git a/wp-content/themes/dekart/assets/images/green-star.svg b/wp-content/themes/dekart/assets/images/green-star.svg new file mode 100644 index 0000000..b85c900 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/green-star.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/images/group.svg b/wp-content/themes/dekart/assets/images/group.svg new file mode 100644 index 0000000..f7c490f --- /dev/null +++ b/wp-content/themes/dekart/assets/images/group.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/images/header-arrow.svg b/wp-content/themes/dekart/assets/images/header-arrow.svg new file mode 100644 index 0000000..37ff664 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/header-arrow.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/images/header-arrow_.svg b/wp-content/themes/dekart/assets/images/header-arrow_.svg new file mode 100644 index 0000000..e54a505 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/header-arrow_.svg @@ -0,0 +1,4 @@ + + + + diff --git a/wp-content/themes/dekart/assets/images/icon-category.svg b/wp-content/themes/dekart/assets/images/icon-category.svg new file mode 100644 index 0000000..c5c8fef --- /dev/null +++ b/wp-content/themes/dekart/assets/images/icon-category.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/wp-content/themes/dekart/assets/images/icon-direction.svg b/wp-content/themes/dekart/assets/images/icon-direction.svg new file mode 100644 index 0000000..589cc24 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/icon-direction.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/wp-content/themes/dekart/assets/images/icon-home.svg b/wp-content/themes/dekart/assets/images/icon-home.svg new file mode 100644 index 0000000..34ebca1 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/icon-home.svg @@ -0,0 +1,3 @@ + + + diff --git a/wp-content/themes/dekart/assets/images/icon-location.svg b/wp-content/themes/dekart/assets/images/icon-location.svg new file mode 100644 index 0000000..d0ff8af --- /dev/null +++ b/wp-content/themes/dekart/assets/images/icon-location.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/wp-content/themes/dekart/assets/images/icon-phone-w.svg b/wp-content/themes/dekart/assets/images/icon-phone-w.svg new file mode 100644 index 0000000..527c680 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/icon-phone-w.svg @@ -0,0 +1,3 @@ + + + diff --git a/wp-content/themes/dekart/assets/images/icon-phone.svg b/wp-content/themes/dekart/assets/images/icon-phone.svg new file mode 100644 index 0000000..f472c7f --- /dev/null +++ b/wp-content/themes/dekart/assets/images/icon-phone.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/wp-content/themes/dekart/assets/images/icon-price.svg b/wp-content/themes/dekart/assets/images/icon-price.svg new file mode 100644 index 0000000..eee8580 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/icon-price.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/wp-content/themes/dekart/assets/images/icon-user-w.svg b/wp-content/themes/dekart/assets/images/icon-user-w.svg new file mode 100644 index 0000000..e892c7b --- /dev/null +++ b/wp-content/themes/dekart/assets/images/icon-user-w.svg @@ -0,0 +1,3 @@ + + + diff --git a/wp-content/themes/dekart/assets/images/icon-user.svg b/wp-content/themes/dekart/assets/images/icon-user.svg new file mode 100644 index 0000000..87f93a8 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/icon-user.svg @@ -0,0 +1,3 @@ + + + diff --git a/wp-content/themes/dekart/assets/images/icon-whatsap.svg b/wp-content/themes/dekart/assets/images/icon-whatsap.svg new file mode 100644 index 0000000..f468a9a --- /dev/null +++ b/wp-content/themes/dekart/assets/images/icon-whatsap.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/wp-content/themes/dekart/assets/images/icon-whatsapp-w.svg b/wp-content/themes/dekart/assets/images/icon-whatsapp-w.svg new file mode 100644 index 0000000..80b71df --- /dev/null +++ b/wp-content/themes/dekart/assets/images/icon-whatsapp-w.svg @@ -0,0 +1,3 @@ + + + diff --git a/wp-content/themes/dekart/assets/images/image-18.webp b/wp-content/themes/dekart/assets/images/image-18.webp new file mode 100644 index 0000000..d48c479 Binary files /dev/null and b/wp-content/themes/dekart/assets/images/image-18.webp differ diff --git a/wp-content/themes/dekart/assets/images/image-19.webp b/wp-content/themes/dekart/assets/images/image-19.webp new file mode 100644 index 0000000..11a1e25 Binary files /dev/null and b/wp-content/themes/dekart/assets/images/image-19.webp differ diff --git a/wp-content/themes/dekart/assets/images/image-20.webp b/wp-content/themes/dekart/assets/images/image-20.webp new file mode 100644 index 0000000..111f6ea Binary files /dev/null and b/wp-content/themes/dekart/assets/images/image-20.webp differ diff --git a/wp-content/themes/dekart/assets/images/img-for-course.jpg b/wp-content/themes/dekart/assets/images/img-for-course.jpg new file mode 100644 index 0000000..cb7c10e Binary files /dev/null and b/wp-content/themes/dekart/assets/images/img-for-course.jpg differ diff --git a/wp-content/themes/dekart/assets/images/list-check.svg b/wp-content/themes/dekart/assets/images/list-check.svg new file mode 100644 index 0000000..f6bf733 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/list-check.svg @@ -0,0 +1,4 @@ + + + + diff --git a/wp-content/themes/dekart/assets/images/logo-big.svg b/wp-content/themes/dekart/assets/images/logo-big.svg new file mode 100644 index 0000000..386469e --- /dev/null +++ b/wp-content/themes/dekart/assets/images/logo-big.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/wp-content/themes/dekart/assets/images/logo-f.svg b/wp-content/themes/dekart/assets/images/logo-f.svg new file mode 100644 index 0000000..ff5e3d6 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/logo-f.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/wp-content/themes/dekart/assets/images/logo-olnoklas.svg b/wp-content/themes/dekart/assets/images/logo-olnoklas.svg new file mode 100644 index 0000000..f894ff2 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/logo-olnoklas.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/wp-content/themes/dekart/assets/images/logo-social(2).svg b/wp-content/themes/dekart/assets/images/logo-social(2).svg new file mode 100644 index 0000000..e8ee266 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/logo-social(2).svg @@ -0,0 +1,4 @@ + + + + diff --git a/wp-content/themes/dekart/assets/images/logo-social.svg b/wp-content/themes/dekart/assets/images/logo-social.svg new file mode 100644 index 0000000..bc08fd2 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/logo-social.svg @@ -0,0 +1,4 @@ + + + + diff --git a/wp-content/themes/dekart/assets/images/logo-svg.svg b/wp-content/themes/dekart/assets/images/logo-svg.svg new file mode 100644 index 0000000..8c874ec --- /dev/null +++ b/wp-content/themes/dekart/assets/images/logo-svg.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/wp-content/themes/dekart/assets/images/logo3h-1.png b/wp-content/themes/dekart/assets/images/logo3h-1.png new file mode 100644 index 0000000..292105c Binary files /dev/null and b/wp-content/themes/dekart/assets/images/logo3h-1.png differ diff --git a/wp-content/themes/dekart/assets/images/logo_VK.svg.svg b/wp-content/themes/dekart/assets/images/logo_VK.svg.svg new file mode 100644 index 0000000..95174a1 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/logo_VK.svg.svg @@ -0,0 +1,4 @@ + + + + diff --git a/wp-content/themes/dekart/assets/images/no-img.jpg b/wp-content/themes/dekart/assets/images/no-img.jpg new file mode 100644 index 0000000..b95b881 Binary files /dev/null and b/wp-content/themes/dekart/assets/images/no-img.jpg differ diff --git a/wp-content/themes/dekart/assets/images/no-photo.png b/wp-content/themes/dekart/assets/images/no-photo.png new file mode 100644 index 0000000..93c93e4 Binary files /dev/null and b/wp-content/themes/dekart/assets/images/no-photo.png differ diff --git a/wp-content/themes/dekart/assets/images/page-teachers-mobile.webp b/wp-content/themes/dekart/assets/images/page-teachers-mobile.webp new file mode 100644 index 0000000..b520fac Binary files /dev/null and b/wp-content/themes/dekart/assets/images/page-teachers-mobile.webp differ diff --git a/wp-content/themes/dekart/assets/images/page-teachers.webp b/wp-content/themes/dekart/assets/images/page-teachers.webp new file mode 100644 index 0000000..663f3cf Binary files /dev/null and b/wp-content/themes/dekart/assets/images/page-teachers.webp differ diff --git a/wp-content/themes/dekart/assets/images/phone-volume.svg b/wp-content/themes/dekart/assets/images/phone-volume.svg new file mode 100644 index 0000000..ff33202 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/phone-volume.svg @@ -0,0 +1,16 @@ + + + + + + \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/images/phone.webp b/wp-content/themes/dekart/assets/images/phone.webp new file mode 100644 index 0000000..295fd34 Binary files /dev/null and b/wp-content/themes/dekart/assets/images/phone.webp differ diff --git a/wp-content/themes/dekart/assets/images/preparation-block-img.svg b/wp-content/themes/dekart/assets/images/preparation-block-img.svg new file mode 100644 index 0000000..4c82e84 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/preparation-block-img.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/wp-content/themes/dekart/assets/images/price.svg b/wp-content/themes/dekart/assets/images/price.svg new file mode 100644 index 0000000..ee6935c --- /dev/null +++ b/wp-content/themes/dekart/assets/images/price.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/images/sertificats.png b/wp-content/themes/dekart/assets/images/sertificats.png new file mode 100644 index 0000000..e5eb12f Binary files /dev/null and b/wp-content/themes/dekart/assets/images/sertificats.png differ diff --git a/wp-content/themes/dekart/assets/images/slider-arow.svg b/wp-content/themes/dekart/assets/images/slider-arow.svg new file mode 100644 index 0000000..1a05ac6 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/slider-arow.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/wp-content/themes/dekart/assets/images/star-02.svg b/wp-content/themes/dekart/assets/images/star-02.svg new file mode 100644 index 0000000..b528325 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/star-02.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/images/svg/1.svg b/wp-content/themes/dekart/assets/images/svg/1.svg new file mode 100644 index 0000000..1f11802 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/svg/1.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/images/svg/2.svg b/wp-content/themes/dekart/assets/images/svg/2.svg new file mode 100644 index 0000000..b1942ef --- /dev/null +++ b/wp-content/themes/dekart/assets/images/svg/2.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/images/svg/3.svg b/wp-content/themes/dekart/assets/images/svg/3.svg new file mode 100644 index 0000000..ed8506d --- /dev/null +++ b/wp-content/themes/dekart/assets/images/svg/3.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/images/svg/4.svg b/wp-content/themes/dekart/assets/images/svg/4.svg new file mode 100644 index 0000000..b03b652 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/svg/4.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/images/svg/5.svg b/wp-content/themes/dekart/assets/images/svg/5.svg new file mode 100644 index 0000000..d0725d2 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/svg/5.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/images/svg/6.svg b/wp-content/themes/dekart/assets/images/svg/6.svg new file mode 100644 index 0000000..9910365 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/svg/6.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/images/svg/7.svg b/wp-content/themes/dekart/assets/images/svg/7.svg new file mode 100644 index 0000000..fd26bbc --- /dev/null +++ b/wp-content/themes/dekart/assets/images/svg/7.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/images/svg/8.svg b/wp-content/themes/dekart/assets/images/svg/8.svg new file mode 100644 index 0000000..18806e2 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/svg/8.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/wp-content/themes/dekart/assets/images/time.svg b/wp-content/themes/dekart/assets/images/time.svg new file mode 100644 index 0000000..9a731d9 --- /dev/null +++ b/wp-content/themes/dekart/assets/images/time.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/js/add.js b/wp-content/themes/dekart/assets/js/add.js new file mode 100644 index 0000000..bf58329 --- /dev/null +++ b/wp-content/themes/dekart/assets/js/add.js @@ -0,0 +1,233 @@ +const btnOpenMenu = document.querySelector('.burger-btn'); +const headerMenu = document.querySelector('.bottom-header-row'); + +btnOpenMenu.addEventListener('click', ()=> { + document.querySelector('html').style = "overflow: hidden;" + headerMenu.classList.add('open'); + btnOpenMenu.style="opacity: 0;"; +}); + +const boxes = Array.from(document.querySelectorAll(".box__accordion")); +boxes.forEach((box) => { + box.addEventListener("click", boxHandler); +}); + +function boxHandler(e) { + e.preventDefault(); + let currentBox = e.target.closest(".box__accordion"); + let currentContent = currentBox.querySelector(".box__accordion_content");; + + currentBox.classList.toggle("active"); + if (currentBox.classList.contains("active")) { + currentContent.style.maxHeight = currentContent.scrollHeight + 20 + "px"; + } else { + currentContent.style.maxHeight = 0; + } +} + +const modalRequestForm = document.querySelector('.modal-request-form'); + +document.addEventListener("click", function (event) { + + const target = event.target; + + if (target.classList.contains("certificates__item_img")) { + const screen = document.querySelector('.screen-certificates'); + //screen.querySelector('.screen-certificates__img').innerHTML = event.target.outerHTML; + document.querySelector('html').style = "overflow: hidden;" + screen.classList.add('open'); + return; + } + if (target.classList.contains("clickRemove") || event.target.classList.contains("btn-close-certificates-img")) { + document.querySelector('.screen-certificates').classList.remove('open'); + document.querySelector('html').style = ""; + return; + } + + if (target.classList.contains("btn-close-header-menu")) { + headerMenu.classList.remove('open'); + btnOpenMenu.style=""; + document.querySelector('html').style = ""; + return; + } + if (target.classList.contains("btn-write")) { + modalRequestForm.style=""; + return; + } + if (target.classList.contains("btn-close-request-form-img")) { + modalRequestForm.style="display: none;"; + return; + } + + if(target.classList.contains("hover-effect")) { + target.classList.remove("hover-effect"); + return; + } + + if (target.classList.contains("menu-item-has-children")) { + target.parentNode.classList.add("hover-effect"); + return; + } +}); + +/*(function ($) { + $(document).ready(function () { + $(".teachers-owl").owlCarousel({ + //autoplay: true, + loop: false, + center: true, + margin: 30, + autoplayHoverPause: true, + autoplayTimeout: 4000, + items: 2, + dots: false, + nav: true, + navText: ['', ''], + //navText: ['', ''], + responsive: { + 0: { items: 1, + center: true, + }, + 768: { + items: 2, + center: false, + }, + 992: { + items: 4, + center: false, + margin: 36, + }, + } + }); + + }); +})(jQuery);*/ + +let swiperPopularSubjects = new Swiper(".swiper-popular-subjects", { + spaceBetween: 10, + slidesPerView: 1, + speed: 400, + preventInteractionOnTransition: true, // запрет смены слайдов + keyboard: true, + breakpoints: { + 680: { + slidesPerView: 2, + speed: 400, + }, + 860: { + slidesPerView: 3, + speed: 400, + } + }, + navigation: { + nextEl: ".subject-next", + prevEl: ".subject-prev", + } +}); + +let swiperFoto = new Swiper(".swiper-foto", { + spaceBetween: 10, + slidesPerView: 1, + speed: 400, + preventInteractionOnTransition: true, // запрет смены слайдов + keyboard: true, + navigation: { + nextEl: ".foto-next", + prevEl: ".foto-prev", + }, + pagination: { + el: ".swiper-pagination", + clickable: true, + }, +}); + +let swiperNews = new Swiper(".swiper-news", { + spaceBetween: 10, + slidesPerView: 1, + speed: 400, + preventInteractionOnTransition: true, // запрет смены слайдов + keyboard: true, + breakpoints: { + 680: { + slidesPerView: 2, + speed: 400, + }, + 860: { + slidesPerView: 3, + speed: 400, + } + }, + navigation: { + nextEl: ".news-next", + prevEl: ".news-prev", + } +}); + +let swiperCertificates = new Swiper(".certificates-owl", { + spaceBetween: 10, + slidesPerView: 1, + speed: 400, + loop: true, + preventInteractionOnTransition: true, // запрет смены слайдов + keyboard: true, + navigation: { + nextEl: ".certificates-owl-next", + prevEl: ".certificates-owl-prev", + } +}); + +let swiperReviews = new Swiper(".reviews-owl", { + spaceBetween: 40, + speed: 400, + slidesPerView: 1, + /*slidesPerGroup: 2, + centeredSlidesBounds: true, + freeMode: true, + followFinger: true, + loop: false,*/ + //preventInteractionOnTransition: true, // запрет смены слайдов + keyboard: true, + breakpoints: { + 860: { + slidesPerView: 2, + speed: 400, + } + }, + navigation: { + nextEl: ".reviews-owl-next", + prevEl: ".reviews-owl-prev", + } +}); + +let swiperTeachers = new Swiper(".teachers-owl", { + spaceBetween: 30, + speed: 400, + slidesPerView: 1, + keyboard: true, + breakpoints: { + 540: { + slidesPerView: 2, + }, + 860: { + slidesPerView: 4, + }, + 992: { + slidesPerView: 4, + spaceBetween: 36, + }, + }, + navigation: { + nextEl: ".teachers-owl-next", + prevEl: ".teachers-owl-prev", + } +}); + +setTimeout(() => { + document.querySelectorAll('.b24-form-content .b24-form-btn').forEach(btn => { + btn.textContent = 'записаться'; + }); + }, 1000); + +document.querySelectorAll('.header-menu').forEach(item => { + item.classList.add('hover-effect'); +}) \ No newline at end of file diff --git a/wp-content/themes/dekart/assets/js/camp.js b/wp-content/themes/dekart/assets/js/camp.js new file mode 100644 index 0000000..bab28be --- /dev/null +++ b/wp-content/themes/dekart/assets/js/camp.js @@ -0,0 +1,69 @@ +document.querySelector('body').style='background: #FFF;'; + +var swiper = new Swiper(".camp-swiper-foto-thumbsSlider", { + spaceBetween: 10, + slidesPerView: 7, + freeMode: true, + watchSlidesVisibility: true, + watchSlidesProgress: true, +}); +var swiper2 = new Swiper(".camp-swiper-foto", { + spaceBetween: 10, + slidesPerView: 1, + navigation: { + nextEl: ".swiper-button-next", + prevEl: ".swiper-button-prev", + }, + thumbs: { + swiper: swiper, + }, +}); + +const btnCloseModalPrograms = document.querySelector('.btn-close-programs'); +const btnCloseModalMentors = document.querySelector('.btn-close-mentors'); +const modalPrograms = document.querySelector('.modal-programs'); +const modalMentors = document.querySelector('.modal-mentors'); + +const modalCampRequestForm = document.querySelector('.modal-camp-request-form'); + +btnCloseModalPrograms.addEventListener("click", function (event) { + modalPrograms.classList.remove('open'); +}); +btnCloseModalMentors.addEventListener("click", function (event) { + modalMentors.classList.remove('open'); +}); + +document.addEventListener("click", function (event) { + const target = event.target; + + if (target.classList.contains("btn-close-request-form-camp")) { + modalCampRequestForm.style="display: none;"; + return; + } + + if (target.classList.contains("btn-write-camp")) { + modalCampRequestForm.style=""; + return; + } + + if (target.classList.contains("btn-program")) { + modalPrograms.querySelector('.modal-programs__img').innerHTML = target.parentNode.querySelector('.programs__item_img').outerHTML; + modalPrograms.querySelector('.programs__item_title').innerHTML = target.parentNode.querySelector('.programs__item_title').innerHTML; + modalPrograms.querySelector('.programs__item_price').innerHTML = target.parentNode.querySelector('.programs__item_price').innerHTML; + modalPrograms.querySelector('.programs__content').innerHTML = target.parentNode.querySelector('.programs_content').innerHTML; + modalPrograms.classList.add('open'); + return; + } + if (target.classList.contains("btn-mentors")) { + modalMentors.querySelector('.modal-programs__img').innerHTML = target.parentNode.querySelector('.mentors__item_img').outerHTML; + modalMentors.querySelector('.modal-mentors_name').innerHTML = target.parentNode.querySelector('.mentors__item_name').innerHTML; + modalMentors.querySelector('.modal-mentors_job').innerHTML = target.parentNode.querySelector('.mentors__item_text').innerHTML; + modalMentors.querySelector('.mentors__about-col_text').innerHTML = target.parentNode.querySelector('.mentor_education').innerHTML; + + modalMentors.querySelector('.modal-mentors__directions').innerHTML = target.parentNode.querySelector('.HTMLdirection').innerHTML; + modalMentors.querySelector('.mentors__experience-col_text').innerHTML = target.parentNode.querySelector('.mentor_experience').innerHTML; + modalMentors.querySelector('.modal-additional__education_list').innerHTML = target.parentNode.querySelector('.mentor_add_experience').innerHTML; + modalMentors.classList.add('open'); + return; + } +}); diff --git a/wp-content/themes/dekart/assets/js/owl.carousel.min.js b/wp-content/themes/dekart/assets/js/owl.carousel.min.js new file mode 100644 index 0000000..6a8bfa9 --- /dev/null +++ b/wp-content/themes/dekart/assets/js/owl.carousel.min.js @@ -0,0 +1,7 @@ +/** + * Owl Carousel v2.3.4 + * Copyright 2013-2018 David Deutsch + * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE + */ +!function(a,b,c,d){function e(b,c){this.settings=null,this.options=a.extend({},e.Defaults,c),this.$element=a(b),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},a.each(["onResize","onThrottledResize"],a.proxy(function(b,c){this._handlers[c]=a.proxy(this[c],this)},this)),a.each(e.Plugins,a.proxy(function(a,b){this._plugins[a.charAt(0).toLowerCase()+a.slice(1)]=new b(this)},this)),a.each(e.Workers,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}e.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:b,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},e.Width={Default:"default",Inner:"inner",Outer:"outer"},e.Type={Event:"event",State:"state"},e.Plugins={},e.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(a){var b=this.settings.margin||"",c=!this.settings.autoWidth,d=this.settings.rtl,e={width:"auto","margin-left":d?b:"","margin-right":d?"":b};!c&&this.$stage.children().css(e),a.css=e}},{filter:["width","items","settings"],run:function(a){var b=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,c=null,d=this._items.length,e=!this.settings.autoWidth,f=[];for(a.items={merge:!1,width:b};d--;)c=this._mergers[d],c=this.settings.mergeFit&&Math.min(c,this.settings.items)||c,a.items.merge=c>1||a.items.merge,f[d]=e?b*c:this._items[d].width();this._widths=f}},{filter:["items","settings"],run:function(){var b=[],c=this._items,d=this.settings,e=Math.max(2*d.items,4),f=2*Math.ceil(c.length/2),g=d.loop&&c.length?d.rewind?e:Math.max(e,f):0,h="",i="";for(g/=2;g>0;)b.push(this.normalize(b.length/2,!0)),h+=c[b[b.length-1]][0].outerHTML,b.push(this.normalize(c.length-1-(b.length-1)/2,!0)),i=c[b[b.length-1]][0].outerHTML+i,g-=1;this._clones=b,a(h).addClass("cloned").appendTo(this.$stage),a(i).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var a=this.settings.rtl?1:-1,b=this._clones.length+this._items.length,c=-1,d=0,e=0,f=[];++c",h)||this.op(b,"<",g)&&this.op(b,">",h))&&i.push(c);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+i.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],e.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=a("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(a("
",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},e.prototype.initializeItems=function(){var b=this.$element.find(".owl-item");if(b.length)return this._items=b.get().map(function(b){return a(b)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},e.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var a,b,c;a=this.$element.find("img"),b=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:d,c=this.$element.children(b).width(),a.length&&c<=0&&this.preloadAutoWidthImages(a)}this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},e.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){a<=b&&a>d&&(d=Number(a))}),e=a.extend({},this.options,c[d]),"function"==typeof e.stagePadding&&(e.stagePadding=e.stagePadding()),delete e.responsive,e.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+d))):e=a.extend({},this.options),this.trigger("change",{property:{name:"settings",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},e.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},e.prototype.prepare=function(b){var c=this.trigger("prepare",{content:b});return c.data||(c.data=a("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(b)),this.trigger("prepared",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};b0)&&this._pipe[b].run(e),b++;this._invalidated={},!this.is("valid")&&this.enter("valid")},e.prototype.width=function(a){switch(a=a||e.Width.Default){case e.Width.Inner:case e.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},e.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},e.prototype.onThrottledResize=function(){b.clearTimeout(this.resizeTimer),this.resizeTimer=b.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},e.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},e.prototype.registerEventHandlers=function(){a.support.transition&&this.$stage.on(a.support.transition.end+".owl.core",a.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(b,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",a.proxy(this.onDragEnd,this)))},e.prototype.onDragStart=function(b){var d=null;3!==b.which&&(a.support.transform?(d=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),d={x:d[16===d.length?12:4],y:d[16===d.length?13:5]}):(d=this.$stage.position(),d={x:this.settings.rtl?d.left+this.$stage.width()-this.width()+this.settings.margin:d.left,y:d.top}),this.is("animating")&&(a.support.transform?this.animate(d.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===b.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=a(b.target),this._drag.stage.start=d,this._drag.stage.current=d,this._drag.pointer=this.pointer(b),a(c).on("mouseup.owl.core touchend.owl.core",a.proxy(this.onDragEnd,this)),a(c).one("mousemove.owl.core touchmove.owl.core",a.proxy(function(b){var d=this.difference(this._drag.pointer,this.pointer(b));a(c).on("mousemove.owl.core touchmove.owl.core",a.proxy(this.onDragMove,this)),Math.abs(d.x)0^this.settings.rtl?"left":"right";a(c).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==d.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(e.x,0!==d.x?f:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=f,(Math.abs(d.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},e.prototype.closest=function(b,c){var e=-1,f=30,g=this.width(),h=this.coordinates();return this.settings.freeDrag||a.each(h,a.proxy(function(a,i){return"left"===c&&b>i-f&&bi-g-f&&b",h[a+1]!==d?h[a+1]:i-g)&&(e="left"===c?a+1:a),-1===e},this)),this.settings.loop||(this.op(b,">",h[this.minimum()])?e=b=this.minimum():this.op(b,"<",h[this.maximum()])&&(e=b=this.maximum())),e},e.prototype.animate=function(b){var c=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),c&&(this.enter("animating"),this.trigger("translate")),a.support.transform3d&&a.support.transition?this.$stage.css({transform:"translate3d("+b+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):c?this.$stage.animate({left:b+"px"},this.speed(),this.settings.fallbackEasing,a.proxy(this.onTransitionEnd,this)):this.$stage.css({left:b+"px"})},e.prototype.is=function(a){return this._states.current[a]&&this._states.current[a]>0},e.prototype.current=function(a){if(a===d)return this._current;if(0===this._items.length)return d;if(a=this.normalize(a),this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},e.prototype.invalidate=function(b){return"string"===a.type(b)&&(this._invalidated[b]=!0,this.is("valid")&&this.leave("valid")),a.map(this._invalidated,function(a,b){return b})},e.prototype.reset=function(a){(a=this.normalize(a))!==d&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},e.prototype.normalize=function(a,b){var c=this._items.length,e=b?0:this._clones.length;return!this.isNumeric(a)||c<1?a=d:(a<0||a>=c+e)&&(a=((a-e/2)%c+c)%c+e/2),a},e.prototype.relative=function(a){return a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=this.settings,f=this._coordinates.length;if(e.loop)f=this._clones.length/2+this._items.length-1;else if(e.autoWidth||e.merge){if(b=this._items.length)for(c=this._items[--b].width(),d=this.$element.width();b--&&!((c+=this._items[b].width()+this.settings.margin)>d););f=b+1}else f=e.center?this._items.length-1:this._items.length-e.items;return a&&(f-=this._clones.length/2),Math.max(f,0)},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){var c=this._clones.length/2,e=c+this._items.length,f=function(a){return a%2==0?e+a/2:c-(a+1)/2};return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c,e=1,f=b-1;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(this.settings.rtl&&(e=-1,f=b+1),c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[f]||0))/2*e):c=this._coordinates[f]||0,c=Math.ceil(c))},e.prototype.duration=function(a,b,c){return 0===c?0:Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)},e.prototype.to=function(a,b){var c=this.current(),d=null,e=a-this.relative(c),f=(e>0)-(e<0),g=this._items.length,h=this.minimum(),i=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(e)>g/2&&(e+=-1*f*g),a=c+e,(d=((a-h)%g+g)%g+h)!==a&&d-e<=i&&d-e>0&&(c=d-e,a=d,this.reset(c))):this.settings.rewind?(i+=1,a=(a%i+i)%i):a=Math.max(h,Math.min(i,a)),this.speed(this.duration(c,a,b)),this.current(a),this.isVisible()&&this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.onTransitionEnd=function(a){if(a!==d&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},e.prototype.viewport=function(){var d;return this.options.responsiveBaseElement!==b?d=a(this.options.responsiveBaseElement).width():b.innerWidth?d=b.innerWidth:c.documentElement&&c.documentElement.clientWidth?d=c.documentElement.clientWidth:console.warn("Can not detect viewport width."),d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b&&(b=b instanceof jQuery?b:a(b)),this.settings.nestedItemSelector&&(b=b.find("."+this.settings.nestedItemSelector)),b.filter(function(){return 1===this.nodeType}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},e.prototype.add=function(b,c){var e=this.relative(this._current);c=c===d?this._items.length:this.normalize(c,!0),b=b instanceof jQuery?b:a(b),this.trigger("add",{content:b,position:c}),b=this.prepare(b),0===this._items.length||c===this._items.length?(0===this._items.length&&this.$stage.append(b),0!==this._items.length&&this._items[c-1].after(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[c].before(b),this._items.splice(c,0,b),this._mergers.splice(c,0,1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[e]&&this.reset(this._items[e].index()),this.invalidate("items"),this.trigger("added",{content:b,position:c})},e.prototype.remove=function(a){(a=this.normalize(a,!0))!==d&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",{content:null,position:a}))},e.prototype.preloadAutoWidthImages=function(b){b.each(a.proxy(function(b,c){this.enter("pre-loading"),c=a(c),a(new Image).one("load",a.proxy(function(a){c.attr("src",a.target.src),c.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",c.attr("src")||c.attr("data-src")||c.attr("data-src-retina"))},this))},e.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),a(c).off(".owl.core"),!1!==this.settings.responsive&&(b.clearTimeout(this.resizeTimer),this.off(b,"resize",this._handlers.onThrottledResize));for(var d in this._plugins)this._plugins[d].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case"<":return d?a>c:a":return d?ac;case">=":return d?a<=c:a>=c;case"<=":return d?a>=c:a<=c}},e.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)},e.prototype.trigger=function(b,c,d,f,g){var h={item:{count:this._items.length,index:this.current()}},i=a.camelCase(a.grep(["on",b,d],function(a){return a}).join("-").toLowerCase()),j=a.Event([b,"owl",d||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},h,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.onTrigger&&b.onTrigger(j)}),this.register({type:e.Type.Event,name:b}),this.$element.trigger(j),this.settings&&"function"==typeof this.settings[i]&&this.settings[i].call(this,j)),j},e.prototype.enter=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]===d&&(this._states.current[b]=0),this._states.current[b]++},this))},e.prototype.leave=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]--},this))},e.prototype.register=function(b){if(b.type===e.Type.Event){if(a.event.special[b.name]||(a.event.special[b.name]={}),!a.event.special[b.name].owl){var c=a.event.special[b.name]._default;a.event.special[b.name]._default=function(a){return!c||!c.apply||a.namespace&&-1!==a.namespace.indexOf("owl")?a.namespace&&a.namespace.indexOf("owl")>-1:c.apply(this,arguments)},a.event.special[b.name].owl=!0}}else b.type===e.Type.State&&(this._states.tags[b.name]?this._states.tags[b.name]=this._states.tags[b.name].concat(b.tags):this._states.tags[b.name]=b.tags,this._states.tags[b.name]=a.grep(this._states.tags[b.name],a.proxy(function(c,d){return a.inArray(c,this._states.tags[b.name])===d},this)))},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.pointer=function(a){var c={x:null,y:null};return a=a.originalEvent||a||b.event,a=a.touches&&a.touches.length?a.touches[0]:a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a,a.pageX?(c.x=a.pageX,c.y=a.pageY):(c.x=a.clientX,c.y=a.clientY),c},e.prototype.isNumeric=function(a){return!isNaN(parseFloat(a))},e.prototype.difference=function(a,b){return{x:a.x-b.x,y:a.y-b.y}},a.fn.owlCarousel=function(b){var c=Array.prototype.slice.call(arguments,1);return this.each(function(){var d=a(this),f=d.data("owl.carousel");f||(f=new e(this,"object"==typeof b&&b),d.data("owl.carousel",f),a.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(b,c){f.register({type:e.Type.Event,name:c}),f.$element.on(c+".owl.carousel.core",a.proxy(function(a){a.namespace&&a.relatedTarget!==this&&(this.suppress([c]),f[c].apply(this,[].slice.call(arguments,1)),this.release([c]))},f))})),"string"==typeof b&&"_"!==b.charAt(0)&&f[b].apply(f,c)})},a.fn.owlCarousel.Constructor=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoRefresh:!0,autoRefreshInterval:500},e.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=b.setInterval(a.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},e.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},e.prototype.destroy=function(){var a,c;b.clearInterval(this._interval);for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoRefresh=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&"position"==b.property.name||"initialized"==b.type)){var c=this._core.settings,e=c.center&&Math.ceil(c.items/2)||c.items,f=c.center&&-1*e||0,g=(b.property&&b.property.value!==d?b.property.value:this._core.current())+f,h=this._core.clones().length,i=a.proxy(function(a,b){this.load(b)},this);for(c.lazyLoadEager>0&&(e+=c.lazyLoadEager,c.loop&&(g-=c.lazyLoadEager,e++));f++-1||(e.each(a.proxy(function(c,d){var e,f=a(d),g=b.devicePixelRatio>1&&f.attr("data-src-retina")||f.attr("data-src")||f.attr("data-srcset");this._core.trigger("load",{element:f,url:g},"lazy"),f.is("img")?f.one("load.owl.lazy",a.proxy(function(){f.css("opacity",1),this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("src",g):f.is("source")?f.one("load.owl.lazy",a.proxy(function(){this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("srcset",g):(e=new Image,e.onload=a.proxy(function(){f.css({"background-image":'url("'+g+'")',opacity:"1"}),this._core.trigger("loaded",{element:f,url:g},"lazy")},this),e.src=g)},this)),this._loaded.push(d.get(0)))},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(c){this._core=c,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&"position"===a.property.name&&this.update()},this),"loaded.owl.lazy":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&a.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var d=this;a(b).on("load",function(){d._core.settings.autoHeight&&d.update()}),a(b).resize(function(){d._core.settings.autoHeight&&(null!=d._intervalId&&clearTimeout(d._intervalId),d._intervalId=setTimeout(function(){d.update()},250))})};e.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},e.prototype.update=function(){var b=this._core._current,c=b+this._core.settings.items,d=this._core.settings.lazyLoad,e=this._core.$stage.children().toArray().slice(b,c),f=[],g=0;a.each(e,function(b,c){f.push(a(c).height())}),g=Math.max.apply(null,f),g<=1&&d&&this._previousHeight&&(g=this._previousHeight),this._previousHeight=g,this._core.$stage.parent().height(g).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.video&&this.isInFullScreen()&&a.preventDefault()},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"===a.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find(".owl-video");c.length&&(c.css("display","none"),this.fetch(c,a(b.content)))}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",a.proxy(function(a){this.play(a)},this))};e.Defaults={video:!1,videoHeight:!1,videoWidth:!1},e.prototype.fetch=function(a,b){var c=function(){return a.attr("data-vimeo-id")?"vimeo":a.attr("data-vzaar-id")?"vzaar":"youtube"}(),d=a.attr("data-vimeo-id")||a.attr("data-youtube-id")||a.attr("data-vzaar-id"),e=a.attr("data-width")||this._core.settings.videoWidth,f=a.attr("data-height")||this._core.settings.videoHeight,g=a.attr("href");if(!g)throw new Error("Missing video URL.");if(d=g.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),d[3].indexOf("youtu")>-1)c="youtube";else if(d[3].indexOf("vimeo")>-1)c="vimeo";else{if(!(d[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");c="vzaar"}d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr("data-video",g),this.thumbnail(a,this._videos[g])},e.prototype.thumbnail=function(b,c){var d,e,f,g=c.width&&c.height?"width:"+c.width+"px;height:"+c.height+"px;":"",h=b.find("img"),i="src",j="",k=this._core.settings,l=function(c){e='
',d=k.lazyLoad?a("
",{class:"owl-video-tn "+j,srcType:c}):a("
",{class:"owl-video-tn",style:"opacity:1;background-image:url("+c+")"}),b.after(d),b.after(e)};if(b.wrap(a("
",{class:"owl-video-wrapper",style:g})),this._core.settings.lazyLoad&&(i="data-src",j="owl-lazy"),h.length)return l(h.attr(i)),h.remove(),!1;"youtube"===c.type?(f="//img.youtube.com/vi/"+c.id+"/hqdefault.jpg",l(f)):"vimeo"===c.type?a.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a[0].thumbnail_large,l(f)}}):"vzaar"===c.type&&a.ajax({type:"GET",url:"//vzaar.com/api/videos/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a.framegrab_url,l(f)}})},e.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},e.prototype.play=function(b){var c,d=a(b.target),e=d.closest("."+this._core.settings.itemClass),f=this._videos[e.attr("data-video")],g=f.width||"100%",h=f.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),c=a(''),c.attr("height",h),c.attr("width",g),"youtube"===f.type?c.attr("src","//www.youtube.com/embed/"+f.id+"?autoplay=1&rel=0&v="+f.id):"vimeo"===f.type?c.attr("src","//player.vimeo.com/video/"+f.id+"?autoplay=1"):"vzaar"===f.type&&c.attr("src","//view.vzaar.com/"+f.id+"/player?autoplay=true"),a(c).wrap('
').insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},e.prototype.isInFullScreen=function(){var b=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;return b&&a(b).parent().hasClass("owl-video-frame")},e.prototype.destroy=function(){var a,b;this._core.$element.off("click.owl.video");for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Video=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={"change.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(a){a.namespace&&(this.swapping="translated"==a.type)},this),"translate.owl.carousel":a.proxy(function(a){a.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1, +animateIn:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&a.support.animation&&a.support.transition){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.one(a.support.animation.end,c).css({left:b+"px"}).addClass("animated owl-animated-out").addClass(g)),f&&e.one(a.support.animation.end,c).addClass("animated owl-animated-in").addClass(f))}},e.prototype.clear=function(b){a(b.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":a.proxy(function(a){a.namespace&&"settings"===a.property.name?this._core.settings.autoplay?this.play():this.stop():a.namespace&&"position"===a.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":a.proxy(function(a,b,c){a.namespace&&this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(a){a.namespace&&this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=a.extend({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype._next=function(d){this._call=b.setTimeout(a.proxy(this._next,this,d),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||c.hidden||this._core.next(d||this._core.settings.autoplaySpeed)},e.prototype.read=function(){return(new Date).getTime()-this._time},e.prototype.play=function(c,d){var e;this._core.is("rotating")||this._core.enter("rotating"),c=c||this._core.settings.autoplayTimeout,e=Math.min(this._time%(this._timeout||c),c),this._paused?(this._time=this.read(),this._paused=!1):b.clearTimeout(this._call),this._time+=this.read()%c-e,this._timeout=c,this._call=b.setTimeout(a.proxy(this._next,this,d),c-e)},e.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,b.clearTimeout(this._call),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,b.clearTimeout(this._call))},e.prototype.destroy=function(){var a,b;this.stop();for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(b){this._core=b,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":a.proxy(function(b){b.namespace&&this._core.settings.dotsData&&this._templates.push('
'+a(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")},this),"added.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,0,this._templates.pop())},this),"remove.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&this.draw()},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:['',''],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var b,c=this._core.settings;this._controls.$relative=(c.navContainer?a(c.navContainer):a("
").addClass(c.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=a("<"+c.navElement+">").addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on("click",a.proxy(function(a){this.prev(c.navSpeed)},this)),this._controls.$next=a("<"+c.navElement+">").addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on("click",a.proxy(function(a){this.next(c.navSpeed)},this)),c.dotsData||(this._templates=[a(' + + + + Телефон + + + + +
+
+ +
+ + + + + + + + \ No newline at end of file diff --git a/wp-content/themes/dekart/front-page.php b/wp-content/themes/dekart/front-page.php new file mode 100644 index 0000000..ac5ef03 --- /dev/null +++ b/wp-content/themes/dekart/front-page.php @@ -0,0 +1,323 @@ + +
+ + + + + + + + + + + +
+
+
+

Наши услуги

+
+
+
+
Начальная школа
+

Обучение ведётся по программе «Перспектива» и методике Занкова в соответствии с ФГОС, включая изучение английского языка с 1 класса.

+ +
+
+ +
Подготовка к школе
+

Программа для будущих первоклассников: развитие базовых навыков, логики и речи через игровые задания.

+ +
+
+
Группы продлённого дня
+

Помощь с домашними заданиями, творческие и развивающие занятия.

+ +
+
+
+
+
Подготовка к экзаменам ОГЭ, ЕГЭ и ВПР
+

Интенсивная подготовка к экзаменам ВПР, ОГЭ и ЕГЭ по всем предметам школьной программы.

+ +
+
+
Летний городской лагерь
+

Образование, творчество и наука в тематических сменах.

+ +
+
+
Кружки и секции
+

Творческие студии, спортивные секции и развивающие занятия для детей всех возрастов.

+
+
+
+
+
+
+
+ + В нашей частной школе в Щелково мы знаем каждого ученика по имени. Небольшие классы до 12 человек, педагоги с опытом от 10 лет и углублённый английский с 1 класса. Работаем по программе «Перспектива» и методике Занкова. Принимаем детей из Щелково, Фрязино и Ивантеевки. Лицензия Министерства образования Московской области.

'; + } + ?> +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+

Запишитесь на бесплатную экскурсию по школе и познакомьтесь с нашей программой!

+

Получите персональную консультацию и узнайте стоимость обучения прямо сейчас.

+ +
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/wp-content/themes/dekart/functions.php b/wp-content/themes/dekart/functions.php new file mode 100644 index 0000000..bd91c90 --- /dev/null +++ b/wp-content/themes/dekart/functions.php @@ -0,0 +1,896 @@ + _x( 'Категории курсов', 'taxonomy general name' ), + 'singular_name' => _x( 'Категория курсов', 'taxonomy singular name' ), + 'search_items' => __( 'Поиск курсов по категории' ), + 'all_items' => __( 'Все категории курсов' ), + 'parent_item' => __( 'Родительская категория курсов' ), + 'parent_item_colon' => __( 'Родителькая категория курсов:' ), + 'edit_item' => __( 'Редактировать категорию' ), + 'update_item' => __( 'Обновить категорию' ), + 'add_new_item' => __( 'Добавить новую категорию' ), + 'new_item_name' => __( 'Новая категория' ), + 'menu_name' => __( 'Категории курсов' ), + ); + register_taxonomy('courses', array('course'), array( + 'hierarchical' => true, + 'labels' => $labels, + 'show_ui' => true, + 'show_admin_column' => true, + 'query_var' => true, + 'rewrite' => array( 'slug' => 'courses' ), + )); +} +add_action( 'init', 'create_course' ); +function create_course() { + register_post_type( 'course', + array( + 'labels' => array( + 'name' => 'Курсы', + 'singular_name' => 'Курс', + 'add_new' => 'Добавить курс', + 'add_new_item' => 'Добавить курс', + 'edit' => 'Редактировать курс', + 'edit_item' => 'Редактировать курс', + 'new_item' => 'Новый курс', + 'view' => 'Смотреть курс', + 'view_item' => 'Смотреть курс', + 'search_items' => 'Поиск курсов', + 'not_found' => 'Курсы не найдены', + 'not_found_in_trash' => 'В корзине нет курсов', + 'parent' => 'Родительский курс' + ), + 'public' => true, + 'exclude_from_search'=> false, + 'menu_position' => 12, + 'supports' => array( 'title' ), + 'publicly_queryable' => true, + 'menu_icon' => 'dashicons-welcome-learn-more', + 'taxonomies' => array( 'courses' ), + 'has_archive' => false + ) + ); +} +/* --- ##Cources## --- */ + +/* --- trainingCategory --- */ +add_action( 'init', 'create_trainingCategory_hierarchical_taxonomy', 0 ); +function create_trainingCategory_hierarchical_taxonomy() { + $labels = array( + 'name' => _x( 'Категории', 'Категория обучения учителя' ), + 'singular_name' => _x( 'Категория', 'Категория' ), + 'search_items' => __( 'Поиск категории' ), + 'all_items' => __( 'Все категории' ), + 'parent_item' => __( 'Родительская категория' ), + 'parent_item_colon' => __( 'Родительская категория:' ), + 'edit_item' => __( 'Редактировать категорию' ), + 'update_item' => __( 'Обновить категорию' ), + 'add_new_item' => __( 'Добавить новую категорию' ), + 'new_item_name' => __( 'Новая категория' ), + 'menu_name' => __( 'Категории' ), + ); + register_taxonomy('trainingCategory', array('teacher'), array( + 'hierarchical' => true, + 'labels' => $labels, + 'show_ui' => true, + 'show_admin_column' => true, + 'query_var' => true, + 'rewrite' => false, // Отключаем перезапись URL + )); +} + +// ✅ Приоритет 5 — регистрация CPT teacher ДО инициализации Carbon Fields +add_action( 'init', 'create_teacher', 5 ); +function create_teacher() { + register_post_type( 'teacher', + array( + 'labels' => array( + 'name' => 'Преподаватели', + 'singular_name' => 'Преподаватель', + 'add_new' => 'Добавить преподавателя', + 'add_new_item' => 'Добавить преподавателя', + 'edit' => 'Редактировать преподавателя', + 'edit_item' => 'Редактировать преподавателя', + 'new_item' => 'Новый преподаватель', + 'view' => 'Смотреть преподавателя', + 'view_item' => 'Смотреть преподавателя', + 'search_items' => 'Поиск преподавателей', + 'not_found' => 'Преподаватели не найдены', + 'not_found_in_trash' => 'В корзине нет преподавателей', + 'parent' => 'Родительский преподаватель' + ), + 'public' => true, + 'exclude_from_search'=> false, + 'menu_position' => 12, + 'show_in_rest' => true, + 'supports' => array( 'title', 'thumbnail' ), + 'publicly_queryable' => true, + 'menu_icon' => 'dashicons-admin-users', + 'taxonomies' => array( 'subject' ), + 'has_archive' => false + ) + ); +} +/* --- ##Teacher## --- */ + +/* --- Reviews --- */ +add_action( 'init', 'create_reviews' ); +function create_reviews() { + register_post_type( 'reviews', + array( + 'labels' => array( + 'name' => 'Отзывы', + 'singular_name' => 'Отзыв', + 'add_new' => 'Добавить отзыв', + 'add_new_item' => 'Добавить отзыв', + 'edit' => 'Редактировать отзыв', + 'edit_item' => 'Редактировать отзыв', + 'new_item' => 'Новый отзыв', + 'view' => 'Смотреть отзыв', + 'view_item' => 'Смотреть отзыв', + 'search_items' => 'Поиск отзывов', + 'not_found' => 'Отзывы не найдены', + 'not_found_in_trash' => 'В корзине нет отзывов', + 'parent' => 'Родительский отзыв' + ), + 'public' => true, + 'exclude_from_search'=> true, + 'menu_position' => 13, + 'supports' => array( 'title' ), + 'publicly_queryable' => false, + 'menu_icon' => 'dashicons-format-status', + 'has_archive' => false + ) + ); +} + +use Carbon_Fields\Container; +use Carbon_Fields\Field; + +add_action( 'carbon_fields_register_fields', 'add_carbon' ); +function add_carbon() { + + // ==================================================== + // Настройки темы + // ==================================================== + Container::make( 'theme_options', 'Настройка темы ДЕКАРТ' ) + ->add_tab('Основные', array( + Field::make( 'text', 'site_name', 'Название учебного центра: (используйте в названии только одинарный кавычки)' ), + Field::make( 'text', 'site_phone', 'Телефон:' ), + Field::make( 'text', 'site_phone_multi', 'Телефон (многоканальный):' ), + Field::make( 'text', 'site_mail', 'Почта для связи:' ), + Field::make( 'text', 'site_index', 'Почтовый индекс:' ), + Field::make( 'text', 'site_region', 'Область:' ), + Field::make( 'text', 'site_city', 'Город:' ), + Field::make( 'text', 'site_address', 'Адрес:' ), + Field::make( 'text', 'site_map_link', 'Ссылка на карту:' ), + Field::make( 'text', 'site_location', 'Координаты адреса (для яндекc карт):' ), + Field::make( 'text', 'site_frame_reviews', 'Ссылка на страницу с отзывами:' ), + Field::make( 'textarea', 'site_bitrix_script', 'script (формы) БИТРИКС24:' ), + Field::make( 'textarea', 'site_bitrix_vacancies', 'script (для формы связаться с нами) БИТРИКС24:' ), + Field::make( 'checkbox', 'check_banner', 'Отображать плашку со скидкой на формах "Запись на бесплатное пробное занятие"' ) + ->set_option_value( 'yes' ), + Field::make( 'checkbox', 'check_btn_discont', 'Не показывать кнопку "Стоимость ак. часа со скидкой"' ) + ->set_option_value( 'yes' ), + Field::make( 'text', 'text_banner', 'Текст в плашке:' ) + ->set_default_value('Всем записавшимся до 10 сентября
скидка 10% на весь учебный год!'), + )) + ->add_tab('Контент', array( + Field::make( 'textarea', 'teachers_block', 'Текст в блоке "Наша команда":' ), + )) + ->add_tab('Цены и скидки', array( + Field::make( 'checkbox', 'early_bird_discount', 'Выводить строку "Скидка за раннюю запись.' ) + ->set_option_value( 'yes' ), + Field::make( 'text', 'price_hour1', 'Стоимость ак. часа один предмет:' ) + ->set_attribute( 'type', 'number' ), + Field::make( 'text', 'price_hour2', 'Стоимость ак. часа два предмета:' ) + ->set_attribute( 'type', 'number' ), + Field::make( 'text', 'price_hour3', 'Стоимость ак. часа три предмета:' ) + ->set_attribute( 'type', 'number' ), + Field::make( 'text', 'price_hour4', 'Стоимость ак. часа четыре и более предметов:' ) + ->set_attribute( 'type', 'number' ), + Field::make( 'text', 'price_hour_discount1', 'Стоимость ак. часа один предмет со скидкой:' ) + ->set_attribute( 'type', 'number' ), + Field::make( 'text', 'price_hour_discount2', 'Стоимость ак. часа два предмета со скидкой:' ) + ->set_attribute( 'type', 'number' ), + Field::make( 'text', 'price_hour_discount3', 'Стоимость ак. часа три предмета со скидкой:' ) + ->set_attribute( 'type', 'number' ), + Field::make( 'text', 'price_hour_discount4', 'Стоимость ак. часа четыре и более предметов со скидкой:' ) + ->set_attribute( 'type', 'number' ), + )) + ->add_tab('Социальные сети:', array( + Field::make( 'text', 'social_header_wt', 'ссылка на WhatsApp в шапке сайта' ), + Field::make( 'text', 'social_wt', 'ссылка на WhatsApp на странице "Контакты"' ), + Field::make( 'complex', 'social_media', 'Социальная сеть' ) + ->add_fields( array( + Field::make( 'text', 'social_media_name', 'Название:' ) + ->set_width( 100 ), + Field::make( 'image', 'social_media_img', 'Логотип:' ) + ->set_width( 20 ), + Field::make( 'text', 'social_media_link', 'Cсылка:' ) + ->set_width( 80 ), + )), + )) + ->add_tab('Галерея', array( + Field::make( 'complex', 'slider_img', 'Галерея изображений учебного центра' ) + ->set_layout( 'tabbed-horizontal' ) + ->add_fields( array( + Field::make( 'image', 'img', 'Фотография:' ), + )), + )); + + // ==================================================== + // Доп поля для всех страниц + // ==================================================== + Container::make('post_meta', 'Дополнительные поля') + ->where('post_type', '=', 'page') + ->where('post_id', '!=', 64) + ->add_fields(array( + Field::make( 'image', 'banner_img_desktop', 'Изображение для баннера (десктопная версия)' ) + ->help_text( 'Размер изображения (желательно) 1295px на 454px' ) + ->set_width( 15 ), + Field::make( 'image', 'banner_img_mobile', 'Изображение для баннера (мобильная версия)' ) + ->help_text( 'Размер изображения (желательно) 450px на 225px' ) + ->set_width( 15 ), + Field::make( 'text', 'banner_h1', 'текст для H1' ) + ->set_width( 100 ), + Field::make( 'text', 'banner_text', 'Дополнительный текст под H1' ) + ->set_width( 100 ), + Field::make( 'complex', 'page_breadcrumbs', 'Хлебные крошки' ) + ->set_layout( 'tabbed-horizontal' ) + ->add_fields( array( + Field::make( 'text', 'breadcrumbs_name', 'Название крошки:' ) + ->set_width( 50 ), + Field::make( 'text', 'breadcrumbs_link', 'Ссылка крошки:' ) + ->set_width( 50 ) + ->set_default_value('#'), + )), + )); + + // ==================================================== + // Доп поля для категории Курсов + // ==================================================== + Container::make( 'term_meta', 'Дополнительные поля к Курсам' ) + ->where( 'term_taxonomy', '=', 'courses' ) + ->show_on_level(1) + ->where( 'term_level', '=', 1 ) + ->add_fields( array( + Field::make( 'image', 'snippet', 'Изображение для сниппета:' ) + ->set_width( 100 ), + Field::make( 'image', 'banner_img_desktop', 'Изображение для баннера (десктопная версия)' ) + ->help_text( 'Размер изображения (желательно) 1920px на 1030px' ) + ->set_width( 15 ), + Field::make( 'image', 'banner_img_mobile', 'Изображение для баннера (мобильная версия)' ) + ->help_text( 'Размер изображения (желательно) 390px на 550px' ) + ->set_width( 15 ), + Field::make( 'textarea', 'banner_content', 'Текстовый контент баннера' ) + ->set_width( 70 ), + Field::make( 'text', 'title_product', 'Заголовок блока курсов:' ) + ->set_width( 100 ), + )); + + // ==================================================== + // Уникальное имя контейнера Главной Страницы + // ==================================================== + Container::make('post_meta', 'Настройки Главной Страницы') + ->where('post_template', '=', 'front-page.php') + ->add_fields(array( + Field::make( 'textarea', 'block_text_1', 'Текст для блока Частная школа в Щелково "Декарт"' ), + Field::make( 'image', 'main_banner_img_desktop', 'Изображение рекламного баннера (десктопная версия)' ) + ->help_text( 'Размер изображения (желательно) 1185px на 190px' ) + ->set_width( 15 ), + Field::make( 'image', 'main_banner_img_mobile', 'Изображение рекламного баннера (мобильная версия)' ) + ->help_text( 'Размер изображения (желательно) 390px на 550px' ) + ->set_width( 15 ), + Field::make( 'text', 'main_banner_link', 'УРЛ баннера:' ) + ->set_default_value('#'), + )); + + // ==================================================== + // Доп поля для страницы начальной школы + // ==================================================== + Container::make('post_meta', 'Настройки Начальной Школы') + ->where('post_template', '=', 'page-school.php') + ->add_fields(array( + Field::make( 'textarea', 'teachers_block', 'Текст в блоке "Наша команда":' ), + Field::make( 'image', 'main_banner_img_desktop', 'Изображение рекламного баннера (десктопная версия)' ) + ->help_text( 'Размер изображения (желательно) 1185px на 190px' ) + ->set_width( 15 ), + Field::make( 'image', 'main_banner_img_mobile', 'Изображение рекламного баннера (мобильная версия)' ) + ->help_text( 'Размер изображения (желательно) 390px на 550px' ) + ->set_width( 15 ), + Field::make( 'text', 'main_banner_link', 'УРЛ баннера:' ) + ->set_default_value('#'), + Field::make( 'textarea', 'block_text_1', 'Текст для блока "Персональный план развития для каждого ученика"' ), + Field::make( 'textarea', 'block_text_2', 'Текст для блока - Почему начальная частная школа "Декарт", ‌а не государственная?' ), + Field::make( 'textarea', 'block_text_3', 'Текст для блока "Семейные классы в Щелково"' ), + Field::make( 'complex', 'questions', 'Блок вопросы и ответы' ) + ->set_layout( 'tabbed-horizontal' ) + ->add_fields( array( + Field::make( 'textarea', 'questions_question', 'Текст вопроса' ) + ->set_width( 30 ), + Field::make( 'textarea', 'questions_answer', 'Текст ответа' ) + ->set_width( 70 ), + )), + )); + + // ==================================================== + // Доп поля для страницы "ВСЕ КУРСЫ" + // ==================================================== + Container::make('post_meta', 'Настройки Страницы Все Курсы') + ->where('post_template', '=', 'page-course.php') + ->add_fields(array( + Field::make( 'image', 'banner_img_desktop', 'Изображение для баннера (десктопная версия)' ) + ->help_text( 'Размер изображения (желательно) 1920px на 440px' ) + ->set_width( 15 ), + Field::make( 'image', 'banner_img_mobile', 'Изображение для баннера (мобильная версия)' ) + ->help_text( 'Размер изображения (желательно) 450px на 225px' ) + ->set_width( 15 ), + )); + + // ==================================================== + // Доп поля для страницы "ВАКАНСИИ" + // ==================================================== + Container::make('post_meta', 'Настройки Страницы ВАКАНСИИ') + ->where('post_template', '=', 'page-vacancies.php') + ->add_fields(array( + Field::make( 'complex', 'vacancies', 'Вакансии учебного центра:' ) + ->add_fields( array( + Field::make( 'text', 'vacancie_name', 'Название вакансии:' ), + Field::make( 'text', 'vacancie_link', 'Ссылка на страницу вакансии:' ), + )) + )); + + // ==================================================== + // Доп поля для страницы "КОНТАКТЫ" + // ==================================================== + Container::make('post_meta', 'Настройки Страницы Контакты') + ->where('post_template', '=', 'page-contacts.php') + ->add_fields(array( + Field::make( 'image', 'img_school', 'Изображение школы:' ) + )); + + // ==================================================== + // Доп поля для категории (ПРЕДМЕТ) + // ==================================================== + Container::make('term_meta', 'Category Properties') + ->where('term_taxonomy', '=', 'subject') + ->show_on_level(1) + ->where('term_level', '=', 1) + ->add_fields(array( + Field::make('text', 'subject_h1', 'Заголовок H1:') + ->set_width( 100 ) + )); + + // ==================================================== + // Доп поля для сущностей reviews (ОТЗЫВ) + // ==================================================== + Container::make('post_meta', 'Поля для отзыва') + ->where('post_type', '=', 'reviews') + ->add_fields(array( + Field::make( 'radio', 'review_type', 'Тип отзыва' ) + ->set_options( [ + 'camp' => 'О лагере', + 'school' => 'О школе', + 'primary' => 'О начальной школе', + ] ) + ->set_default_value( 'school' ) + ->set_help_text( 'Выберите тип отзыва' ), + Field::make( 'image', 'review_avatar', 'Автар:' ) + ->set_width( 15 ), + Field::make( 'text', 'review_star', 'Оценка:' ) + ->set_attribute( 'type', 'number' ), + Field::make( 'textarea', 'review_text', 'Текст отзыва:' ) + ->set_width( 100 ), + Field::make('association', 'review_teacher', 'Выберите преподавателя:') + ->set_width( 32 ) + ->set_types(array( + array( + 'type' => 'post', + 'post_type' => 'teacher', + ) + )) + ->set_required(true) + ->set_max(1) + ->help_text( 'выбирается только один' ), + )); + + // ==================================================== + // Доп поля для записей teacher + // ==================================================== + Container::make( 'post_meta', 'Поля для преподавателя' ) + ->where( 'post_type', '=', 'teacher' ) + ->add_fields( array( + Field::make( 'text', 'teacher_direction', 'Направление преподавателя (текст в под фото):' ), + Field::make( 'image', 'teacher_avatar', 'Автар:' ) + ->set_width( 15 ), + Field::make( 'textarea', 'teacher_description', 'Дескрипшн преподавателя' ) + ->set_width( 75 ), + Field::make( 'textarea', 'teacher_about', 'О себе:' ), + Field::make( 'textarea', 'teacher_education', 'Образование:' ), + Field::make( 'textarea', 'teacher_add_education', 'Дополнительное образование:' ), + Field::make( 'text', 'teacher_rating', 'Оценка преподавателя' ) + ->set_width( 10 ) + ->set_default_value('5'), + Field::make( 'complex', 'teacher_subjects', 'Предметы обучения' ) + ->set_layout( 'tabbed-horizontal' ) + ->add_fields( array( + Field::make( 'text', 'teacher_subjects_title', 'Укажите заголовок предмета' ) + ->set_width( 50 ) + ->set_required(true) + ->help_text( 'Например: Репетитор по математике' ), + Field::make( 'textarea', 'select_direction', 'Укажите все направления преподавателя:' ) + ->help_text( 'Пример: <span>Математика</span><span>Русский язык</span>'), + Field::make('association', 'select_category', 'Укажите категрии') + ->set_width( 100 ) + ->set_types(array( + array( + 'type' => 'term', + 'taxonomy' => 'trainingCategory', + ) + )) + ->help_text( 'В списке указаны все возможные категрии в обучении, выберите необходимые' ), + )), + Field::make( 'complex', 'certificates', 'Дипломы и сертификаты' ) + ->set_layout( 'tabbed-horizontal' ) + ->add_fields( array( + Field::make( 'image', 'certificates_foto', 'Изображение' ) + )) + ->help_text( 'Добавьте изображение дипломов и сертификатов преподавателя' ), + Field::make( 'text', 'teacher_video', 'Ссылка на видеопрезентацию' ) + ->set_width( 100 ) + ->help_text( 'Укажите ссылку на видео в youtube. Пример: <iframe src="https://vk.com/video_ext.php?oid=-43228812&id=456240170hd=2" width="853" height="480" allow="autoplay; encrypted-media; fullscreen; picture-in-picture;" frameborder="0" allowfullscreen></iframe>' ), + Field::make( 'complex', 'questions', 'Блок вопросы и ответы' ) + ->set_layout( 'tabbed-horizontal' ) + ->add_fields( array( + Field::make( 'textarea', 'questions_question', 'Текст вопроса' ) + ->set_width( 30 ), + Field::make( 'textarea', 'questions_answer', 'Текст ответа' ) + ->set_width( 70 ), + )), + )); + + // ==================================================== + // Уникальное имя контейнера Продлёнки + // ==================================================== + Container::make('post_meta', 'Настройки Продлёнки') + ->where('post_template', '=', 'page-after-school.php') + ->add_tab('Общие', array( + Field::make( 'text', 'as_address', 'Наш адрес:' ), + Field::make( 'text', 'as_price', 'Цена:' ), + )) + ->add_tab('Педагоги', array( + Field::make( 'complex', 'as_mentors', 'Педагоги' ) + ->set_layout( 'tabbed-horizontal' ) + ->add_fields( array( + Field::make( 'image', 'mentor_foto', 'Фотография:' ) + ->set_width( 15 ), + Field::make( 'text', 'mentor_name', 'ФИО:' ) + ->set_width( 30 ), + Field::make( 'text', 'mentor_directions', 'Описание:' ) + ->set_width( 55 ), + )) + )) + ->add_tab('Распорядок дня', array( + Field::make( 'textarea', 'as_routine', 'Блок "Распорядок дня":' ), + )) + ->add_tab('Отзывы', array( + Field::make( 'complex', 'as_reviews', 'Отзывы клиентов:' ) + ->set_layout( 'tabbed-horizontal' ) + ->add_fields( array( + Field::make( 'image', 'review_avatar', 'Автар:' ) + ->set_width( 15 ), + Field::make( 'text', 'review_name', 'Имя:' ) + ->set_width( 30 ), + Field::make( 'text', 'review_star', 'Оценка:' ) + ->set_width( 15 ) + ->set_attribute( 'type', 'number' ), + Field::make( 'textarea', 'review_text', 'Текст отзыва:' ) + ->set_width( 100 ), + )), + )) + ->add_tab('Вопросы-Ответы', array( + Field::make( 'complex', 'as_questions', 'Блок вопросы и ответы' ) + ->set_layout( 'tabbed-horizontal' ) + ->add_fields( array( + Field::make( 'textarea', 'questions_question', 'Текст вопроса' ) + ->set_width( 30 ), + Field::make( 'textarea', 'questions_answer', 'Текст ответа' ) + ->set_width( 70 ), + )), + )) + ->add_tab('Фото', array( + Field::make( 'complex', 'as_fotos', 'Фотографии:' ) + ->set_layout( 'tabbed-horizontal' ) + ->add_fields( array( + Field::make( 'image', 'foto', 'Фото' ) + )), + )) + ->add_tab('Битрикс', array( + Field::make( 'textarea', 'as_bitrix_script', 'script (формы) БИТРИКС24:' ), + )); + + // ==================================================== + // Доп поля для страницы "ГОРОДСКОЙ ЛАГЕРЬ" + // ==================================================== + Container::make('post_meta', 'Настройки Городской Лагерь') + ->where('post_template', '=', 'page-camp.php') + ->add_tab('Баннер', array( + Field::make( 'image', 'banner_img', 'Изображение для баннера' ), + Field::make( 'text', 'banner_title', 'Текст заголовка H1:' ), + Field::make( 'textarea', 'banner_text', 'Текст под заголовком:' ), + Field::make( 'text', 'banner_label1', 'Тестовая метка:' ) + ->set_default_value('6,5–11 лет'), + Field::make( 'text', 'banner_label2', 'Тестовая метка:' ) + ->set_default_value('мастер-классы'), + Field::make( 'text', 'banner_label3', 'Тестовая метка:' ) + ->set_default_value('коммуникация'), + )) + ->add_tab('Дополнительный баннер', array( + Field::make( 'image', 'banner_add_img', 'Фоновое изображение баннера' ), + Field::make( 'text', 'banner_add_title', 'Текст заголовка:' ), + Field::make( 'textarea', 'banner_add_text', 'Текст под заголовком:' ), + Field::make( 'text', 'banner_add_text_min', 'Сноска (под кнопкой):' ) + )) + ->add_tab('Дополнительный баннер-2', array( + Field::make( 'image', 'banner_add_img2', 'Фоновое изображение баннера' ), + Field::make( 'text', 'banner_add_title2', 'Текст заголовка:' ), + Field::make( 'textarea', 'banner_add_text2', 'Текст под заголовком:' ), + Field::make( 'text', 'banner_add_text_min2', 'Сноска (под кнопкой):' ) + )) + ->add_tab('Мы предлагаем', array( + Field::make( 'complex', 'suggestions', 'Блок "Что мы предлагаем"' ) + ->set_layout( 'tabbed-horizontal' ) + ->add_fields( array( + Field::make( 'image', 'suggestions_img', 'Изображение для баннера (десктопная версия)' ), + Field::make( 'text', 'suggestions_title', 'Текст заголовка:' ), + Field::make( 'textarea', 'suggestions_text', 'Текст под заголовком:' ) + )), + )) + ->add_tab('Программы', array( + Field::make( 'text', 'price_half_day', 'Стоимость за половину дня:' ) + ->set_attribute( 'type', 'number' ), + Field::make( 'text', 'price_full_day', 'Стоимость за весь день:' ) + ->set_attribute( 'type', 'number' ), + Field::make( 'complex', 'programs', 'Блок "Весенние и летние программы"' ) + ->set_layout( 'tabbed-horizontal' ) + ->add_fields( array( + Field::make( 'image', 'programs_img', 'Изображение для баннера (десктопная версия)' ), + Field::make( 'text', 'programs_title', 'Текст заголовка:' ), + Field::make( 'text', 'programs_date', 'Даты проведения:' ), + Field::make( 'textarea', 'programs_text', 'Описание в карточке:' ), + Field::make( 'text', 'programs_price', 'Стоимость:' ) + ->set_attribute( 'type', 'number' ) + ->set_width( 30 ), + Field::make( 'text', 'programs_days', 'Количество дней:' ) + ->set_width( 30 ), + Field::make( 'rich_text', 'programs_content', 'Описание для всплывающего окна:' ), + )), + )) + ->add_tab('Наставники', array( + Field::make( 'complex', 'mentors', 'Наставники' ) + ->set_layout( 'tabbed-horizontal' ) + ->add_fields( array( + Field::make('association', 'mentor', 'Выберите наставника') + ->set_width( 32 ) + ->set_types(array( + array( + 'type' => 'post', + 'post_type' => 'teacher', + ) + )) + ->set_max(1) + ->help_text( 'выбирается только один наставник для вкладки' ), + Field::make( 'text', 'mentor_job', 'Должность:' ), + Field::make( 'complex', 'mentor_directions', 'Направления наставника:' ) + ->add_fields( array( + Field::make( 'text', 'direction_name', 'Название направления:' ), + )), + Field::make( 'text', 'mentor_experience', 'Опыт работы в сфере образования:' ), + )) + )) + ->add_tab('Распорядок дня', array( + Field::make( 'complex', 'routine', 'Блок "Распорядок дня"' ) + ->add_fields( array( + Field::make( 'text', 'routine_time', 'Время:' ) + ->set_width( 15 ), + Field::make( 'text', 'routine_title', 'Название мероприятия:' ) + ->set_width( 40 ), + Field::make( 'textarea', 'routine_text', 'Описание мероприятия:' ) + ->set_width( 45 ), + )) + )) + ->add_tab('Фотографии', array( + Field::make( 'complex', 'fotos', 'Блок с фотографиями' ) + ->set_layout( 'tabbed-horizontal' ) + ->add_fields( array( + Field::make( 'image', 'foto', 'Фотография:' ) + )), + Field::make( 'rich_text', 'fotos_content', 'Текстовый контент:' ), + Field::make( 'text', 'fotos_link_vk', 'Ссылка на ВК:' ) + ->set_default_value('#') + )) + ->add_tab('Вопросы-Ответы', array( + Field::make( 'complex', 'questions', 'Блок вопросы и ответы' ) + ->set_layout( 'tabbed-horizontal' ) + ->add_fields( array( + Field::make( 'textarea', 'questions_question', 'Текст вопроса' ) + ->set_width( 30 ), + Field::make( 'textarea', 'questions_answer', 'Текст ответа' ) + ->set_width( 70 ), + )), + )) + ->add_tab('Контакты', array( + Field::make( 'text', 'contact_address', 'Адрес:' ), + Field::make( 'text', 'contact_location', 'Координаты адреса (для яндекc карт):' ), + Field::make( 'text', 'contact_location_text', 'Название метки на карте' ), + Field::make( 'text', 'contact_tel', 'Телефон' ), + Field::make( 'text', 'contact_mail', 'Електронная почта:' ), + Field::make( 'complex', 'social_media', 'Социальная сеть' ) + ->add_fields( array( + Field::make( 'text', 'social_media_name', 'Название:' ) + ->set_width( 100 ), + Field::make( 'image', 'social_media_img', 'Логотип:' ) + ->set_width( 20 ), + Field::make( 'text', 'social_media_link', 'Cсылка:' ) + ->set_width( 80 ), + )), + )) + ->add_tab('Битрикс', array( + Field::make( 'textarea', 'camp_bitrix_script', 'script (формы) БИТРИКС24:' ), + )); +} + +// функция получения id курса по его названию +function get_post_by_title($page_title) { + $query = new WP_Query( + [ + 'post_type' => 'course', + 'title' => $page_title, + 'post_status' => 'publish', + 'posts_per_page' => 1, + 'update_post_term_cache' => false, + 'update_post_meta_cache' => false, + 'orderby' => 'post_date ID', + 'order' => 'ASC', + 'no_found_rows' => true, + 'ignore_sticky_posts' => true, + ]); + wp_reset_postdata(); + if ( $query->post ) return $query->post->ID; + else return null; +} + +// функция случайного цвета +function rand_color() { + return sprintf('#%06X', mt_rand(0, 0xFFFFFF)); +} + +add_theme_support( 'post-thumbnails' ); + +add_action('pre_get_posts', 'exclude_custom_taxonomy_posts'); +function exclude_custom_taxonomy_posts($query) { + if (!is_admin() && $query->is_main_query() && ($query->is_tax('trainingCategory') || $query->is_tax('direction'))) { + $query->set_404(); + } +} + +function add_og_image() { + $term = get_queried_object(); + if ($term->term_id) { + $snippet = carbon_get_term_meta( $term->term_id, 'snippet' ); + if ($snippet != '') echo '' . "\n"; + } +} +add_action( 'wp_head', 'add_og_image' ); + +function yoastVariableToTitle($post_id) { + $yoast_title = get_post_meta($post_id, '_yoast_wpseo_title', true); + $title = strstr($yoast_title, '%%', true); + if (empty($title)) { + $title = get_the_title($post_id); + } + $wpseo_titles = get_option('wpseo_titles'); + $sep_options = WPSEO_Option_Titles::get_instance()->get_separator_options(); + if (isset($wpseo_titles['separator']) && isset($sep_options[$wpseo_titles['separator']])) { + $sep = $sep_options[$wpseo_titles['separator']]; + } else { + $sep = '-'; + } + $site_title = get_bloginfo('name'); + $meta_title = $title . ' ' . $sep . ' ' . $site_title; + return $meta_title; +} + +function replaceQuotes($text) { + $text = str_replace(['"'], "'", $text); + return $text; +} + +function enqueue_template_specific_styles() { + if ( is_page_template('page-camp.php') ) { + wp_enqueue_style( + 'template-specific-style', + get_template_directory_uri() . '/assets/css/camp.css', + array(), + '1.0' + ); + wp_enqueue_script( + 'camp-script', + get_template_directory_uri() . '/assets/js/camp.js', + NULL, + '1.0.0', + true + ); + } + if ( is_page_template('page-after-school.php') ) { + wp_enqueue_style( + 'template-after-style', + get_template_directory_uri() . '/assets/css/after-school.css', + array(), + '1.0' + ); + } +} +add_action('wp_enqueue_scripts', 'enqueue_template_specific_styles'); + +add_shortcode( 'get_form_bitrix', 'form_bitrix' ); +function form_bitrix( $atts, $content = null ) { + return carbon_get_theme_option( 'site_bitrix_script' ); +} + +add_shortcode( 'get_reviews', 'sc_reviews' ); +function sc_reviews( $atts ) { + $atts = shortcode_atts( [ + 'type' => 'school', + ], $atts ); + set_query_var( 'type', $atts['type'] ); + ob_start(); + load_template( locate_template( '/template-parts/reviews.php' ), false ); + return ob_get_clean(); +} + +add_shortcode( 'get_teachers', 'sc_teachers' ); +function sc_teachers( $atts, $content = null ) { + ob_start(); + set_query_var( 'sc_teachers', '1' ); + load_template( locate_template( '/template-parts/teachers.php' ), false ); + return ob_get_clean(); +} + +function fix_page_1_in_pagination( $link ) { + $reviews_page_id = 91; + $root_url = get_permalink( $reviews_page_id ); + if ( substr( $root_url, -1 ) !== '/' ) { + $root_url .= '/'; + } + if ( isset($_GET['filter']) ) { + $root_url = add_query_arg('filter', esc_attr($_GET['filter']), $root_url); + } + $page_1_url_full = get_pagenum_link(1); + if (substr($page_1_url_full, -1) !== '/') { + $page_1_url_full .= '/'; + } + $canonical_root_url = get_permalink($reviews_page_id); + if (substr($canonical_root_url, -1) !== '/') { + $canonical_root_url .= '/'; + } + if (isset($_GET['filter'])) { + $canonical_root_url = add_query_arg('filter', esc_attr($_GET['filter']), $canonical_root_url); + } + $link = str_replace( + 'href="' . esc_url($page_1_url_full) . '"', + 'href="' . esc_url($canonical_root_url) . '"', + $link + ); + $link = str_replace( + 'href="' . esc_url(get_pagenum_link(1)) . '"', + 'href="' . esc_url($canonical_root_url) . '"', + $link + ); + return $link; +} +add_filter( 'paginate_links', 'fix_page_1_in_pagination' ); + +remove_action('wp_head', 'wp_generator'); +remove_action('wp_head', 'rest_output_link_wp_head'); +remove_action('wp_head', 'wp_oembed_add_discovery_links'); +remove_action('wp_head', 'wp_shortlink_wp_head'); +remove_action('wp_head', 'adjacent_posts_rel_link_wp_head'); +remove_action('template_redirect', 'rest_output_link_header', 11); + +function dekart_disable_emojis() { + remove_action('wp_head', 'print_emoji_detection_script', 7); + remove_action('admin_print_scripts', 'print_emoji_detection_script'); + remove_action('wp_print_styles', 'print_emoji_styles'); + remove_action('admin_print_styles', 'print_emoji_styles'); + remove_filter('the_content_feed', 'wp_staticize_emoji'); + remove_filter('comment_text_rss', 'wp_staticize_emoji'); + remove_filter('wp_mail', 'wp_staticize_emoji_for_email'); + add_filter('tiny_mce_plugins', 'dekart_disable_emojis_tinymce'); + add_filter('wp_resource_hints', 'dekart_disable_emojis_remove_dns_prefetch', 10, 2); +} +add_action('init', 'dekart_disable_emojis'); + +function dekart_disable_emojis_tinymce($plugins) { + if (is_array($plugins)) { + return array_diff($plugins, array('wpemoji')); + } + return array(); +} + +function dekart_disable_emojis_remove_dns_prefetch($urls, $relation_type) { + if ('dns-prefetch' === $relation_type) { + $emoji_svg_url = apply_filters('emoji_svg_url', 'https://s.w.org/images/core/emoji/'); + $urls = array_diff($urls, array($emoji_svg_url)); + } + return $urls; +} + +// ==================================================== +// ✅ Оптимизация скриптов — defer только на фронтенде +// ==================================================== +function dekart_add_defer_to_scripts($tag, $handle, $src) { + // Не деферим скрипты в админке, AJAX и REST запросах + if ( is_admin() || wp_doing_ajax() || ( defined('REST_REQUEST') && REST_REQUEST ) ) { + return $tag; + } + $no_defer = array( + 'jquery-core', + 'jquery', + 'carbon-fields-script', + 'wp-api-request', + 'wp-element', + 'wp-components', + ); + if (in_array($handle, $no_defer)) { + return $tag; + } + if (strpos($tag, 'defer') !== false || strpos($tag, 'async') !== false) { + return $tag; + } + return str_replace(' + + + + + + + + + + + + + + + + + + +' . "\n"; + } + if ( $banner_mob && $banner_mob !== $banner_desk ) { + echo '' . "\n"; + } +} +?> + + + + + + + + + + + + + для корректной работы, +// но j.async=true — не блокирует парсинг HTML +// ───────────────────────────────────────────────────────────────────── +?> + + + + + + + + + + + +> + +, требование Google Tag Manager +// ───────────────────────────────────────────────────────────────────── +?> + + +
+ +
\ No newline at end of file diff --git a/wp-content/themes/dekart/index.php b/wp-content/themes/dekart/index.php new file mode 100644 index 0000000..3db7422 --- /dev/null +++ b/wp-content/themes/dekart/index.php @@ -0,0 +1,17 @@ + +
+
+
+

+
+ +
+
+
+
+ + + + +
+ + +
+ +

+
+
Выполнение домашних заданий, маленькие группы и забота о детях.
Для 1–4 + классов.Освободите время для своих дел!
+
Забираем детей от школы №3, Гимназии №2, Гимназии №2 корпус "Солнечный"
+
+

Наш адрес:

+ +
+
+
+ + + +
+
+
+

В образовательном центре "Декарт" в Щёлково мы предлагаем больше, чем просто продленку – это полноценная программа обучения и развития для школьников. Мы гарантируем полную безопасность каждого ребенка, уделяя особое внимание созданию комфортной и поддерживающей среды. Наши высококвалифицированные педагоги профессионально помогают с домашними заданиями, объясняя сложные темы и закрепляя пройденный материал, чтобы у вас больше не возникало сложностей по вечерам. Помимо академической успеваемости, мы активно вовлекаем детей в увлекательные внеурочные занятия и мастер-классы, способствующие всестороннему развитию личности. Через творчество и участие в разнообразных активностях в нашем центре дети смогут раскрыть свой потенциал. Присоединяйтесь к нам, чтобы каждый день вашего ребенка был наполнен смыслом и пользой!

+
+
+
+ + +
+
+

Запишитесь на бесплатный пробный день продленки!

+ +

Узнайте стоимость и наличие мест за 2 минуты

+
+
+ + +
+

Почему родители доверяют нам своих детей?

+

Преимущества нашей продленки в Щёлково

+ +
    +
  • Профессиональный присмотр и помощь с уроками.
  • +
  • Развивающие активности и кружки.
  • +
  • Комфортная и дружелюбная атмосфера.
  • +
  • Гибкий график и удобное расположение.
  • +
+ +
+
+ +

Помощь с уроками

+

Опытные педагоги гарантируют безопасное нахождение и эффективную помощь в выполнении домашних заданий.

+
+
+ +

Развитие и досуг

+

После уроков дети занимаются творчеством, посещают интеллектуальные игры и развивающие занятия.

+
+
+ +

Добрая атмосфера

+

Мы создаем среду, где каждый ребенок чувствует себя частью коллектива и находит друзей.

+
+
+ +

Удобный график

+

Выбирайте удобное время посещения. Наше расположение в центре Щёлково удобно для всех.

+
+
+
+ + +
+

Наши активности

+

Интересный день в дружественной среде с выполненными уроками и без гаджетов!

+
+
+ +

Научные эксперименты

+

Наука своими руками

+
+
+ +

Творческая мастерская

+

Рисуем, лепим, мастерим

+
+
+ +

Домашнее задание

+

Выполняем домашнее задание

+
+
+ +

Спорт и игры

+

Физическая активность

+
+
+
+ + + + +
+

Встречайте наших педагогов

+
+ +
+ +

+

+
+ +
+
+ +
+

Расписание

+
+ +
+
+ +
+

Цены

+
+

+ за неделю +
+
+

Условия оплаты

+ Оплата производится до дня начала недельной смены. Можно оплатить сразу за месяц. Мы принимаем карты, СБП, наличные. +
+ Оплата +
+ +
+

Узнайте больше о продлёнке — приходите на встречу!Осталось 8 мест!

+ +
+ + +
+

Отзывы наших клиентов

+
+
+
+ +
+
+
+
+ + avatar + +
+
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+
+ + +
+

Вопросы и ответы

+
+ +
$q
+
+
$a
+
+
"; + } endif; + echo "
$HTMcol
"; + ?> +
+ + + +
+
+

Осталось всего 8 свободных мест!

+

Запишитесь на встречу сегодня, чтобы закрепить место за вашим ребенком

+ +
+
+ +
+

Наш адрес

+
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/wp-content/themes/dekart/page-camp.php b/wp-content/themes/dekart/page-camp.php new file mode 100644 index 0000000..8aad65b --- /dev/null +++ b/wp-content/themes/dekart/page-camp.php @@ -0,0 +1,650 @@ + + $priceMax) $priceMax = $price; + if ($price < $priceMin) $priceMin = $price; +} +?> + + + +
+ + + +
+

Что мы предлагаем

+
+ +
+ <?php echo get_post_meta( $suggestions_img, '_wp_attachment_image_alt', true ); ?> +

+

+
+ +
+
+

С любовью и заботой о каждом

+

Мы обеспечиваем безопасную и поддерживающую среду, где дети могут раскрывать свой + потенциал, исследовать мир и развивать дружбу под присмотром заботливых наставников.

+
+
+ инфографика возраста +

возраст

+

6,5−11 лет

+
+
+ инфографика группы +

каждая группа

+

до 10 детей

+
+
+ инфографика времени +

время посещения

+

на выбор

+
+
+ инфографика стоимости +

стоимость недели

+

от

+
+
+
+ +
+

Летние программы

+
+
+ +
+ <?php echo get_post_meta( $programs_img, '_wp_attachment_image_alt', true ); ?> +

+

+

+

от ₽ /

+ + +
+ +
+
+ + + +
+ +

Приводите ребёнка, когда вам удобно

+
+
+
+
+

Половина дня

+ +
+

Время пребывания — на выбор (до обеда или до вечера)

+
+
+
+
+
с 8:30 до 13:30
+
+

за 5 дней пребывания

+
+
+
+
+
+
с 13:30 до 18:30
+
+

за 5 дней пребывания

+
+
+ +

Тематическая неделя на выбор

+
+ +
    +
  • 5 дней пребывания в клубе
  • +
  • творческие занятия и мастер-классы 1 раз в день
  • +
  • умные прогулки 1 раз в день (в зависимости от погодных условий)
  • +
+
+
+
+
+

Полный день

+ +
+

Пребывание в клубе с утра до вечера, дополнительные активности

+
+
+
+
+
+
с 8:30 до 18:30
+
+

за 5 дней пребывания

+
+
+ +

Тематическая неделя на выбор

+
+ +
    +
  • 5 дней пребывания в клубе
  • +
  • творческие занятия и мастер-классы 2 раза в день
  • +
  • умные прогулки 2 раза в день (в зависимости от погодных условий)
  • +
  • тематические экскурсии каждую неделю
  • +
+
+
+
+ +
+

Наши наставники и ведущие мастер-классов

+
+ " . $direction['direction_name']."";} + $teacher_foto = carbon_get_post_meta($mentor[0]['id'] , 'teacher_avatar'); + ?> +
+ + + + <?php echo get_post_meta( $teacher_foto, '_wp_attachment_image_alt', true ); ?> + + + + + +
+ +
+ +
+ +
+

Распорядок дня в клубе

+
+ +
+
+
+
+

+

+

+
+
+ +
+
+ +
+

Наши фотографии

+
+ + $alt +
"; + } ?> +
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ + + +
+

Что говорят о нас родители

+ 'review_type', + 'value' => 'camp', + 'compare' => '=' + ] + ]; + + ?> +
+
+
+
+ -1, + 'post_type' => 'reviews', + 'orderby' => 'date', + 'order' => 'DESC', + 'suppress_filters' => true, + 'meta_query' => $key, + ); + $the_query = new WP_Query($args); + if ($the_query->have_posts()) : + while ($the_query->have_posts()) : $the_query->the_post(); + + $post_id = get_the_ID(); + + $review_date = get_the_date( 'd.m.Y'); + $review_level = carbon_get_post_meta( $post_id, 'review_level' ); + + $avatar = carbon_get_post_meta( $post_id, 'review_avatar' ); + + $stars = carbon_get_post_meta( $post_id, 'review_star' ); + $tekst_otzyva = carbon_get_post_meta( $post_id, 'review_text' ); + $prepodavatel = carbon_get_post_meta( $post_id, 'review_teacher' ); + + $add_class= "more"; + + if ( strlen($tekst_otzyva) < 350 ) $add_class= ""; + + if ( $tekst_otzyva ) : ?> +
+
+
+
+ + <?php echo get_post_meta( $avatar, '_wp_attachment_image_alt', true ); ?> + +
+
+
+
+
+
+
+ + + + + + +
+
+ + +
+
+
+ +
+
+ +
+
+
+ +
+
+ + + +
+

Часто задаваемые вопросы

+
+ + +
+ $questions_question + + + + + + + + +
+
+
$questions_answer
+
+
"; + } else { + $HTMcol2 .= "
+
+ $questions_question + + + + + + + + +
+
+
$questions_answer
+
+
"; + } + $count++; + } + echo "
$HTMcol1
"; + echo "
$HTMcol2
"; + ?> +
+ + +
+ +

Контакты

+
+
+
Телефон:
+ +
Почта:
+ +
Адрес:
+
+
Наши соцсети:
+
+ + + + +
+
+
+
+ +
+
+
+ + + + + + + + + + + + "; +} +?> + + + + + + +
+
+
+

+
+
+
+
+

связаться с нами

+

Телефон:

+ (Прямой) + + (Многоканальный) +
+
+

Поста для связи:

+ +
+
+

Написать в WhatsApp:

+ + + + + +
+
+ +
+

СТОИМОСТЬ УСЛУГ И ПОРЯДОК ИХ ПРЕДОСТАВЛЕНИЯ

+

Лицензия на образовательную деятельность № Л035-01255-50/01447911

+

Длительность одного занятия зависит от экзамена и предмета. Базовая длительность занятия 2-3 + академических + часа. Стоимость ак. часа от 680 рублей. Услуги оказываются очно, в офисе в соответствии с расписанием + проведения занятий.

+
+ Сведения об образовательной организации +
+ +
+

Мы в социальных сетях

+ +
+
+
+
+
+

Платежные реквизиты

+
    +
  • Российская Федерация, Московская область, г. Щелково
  • +
  • Банк-получатель: ФИЛИАЛ «ЦЕНТРАЛЬНЫЙ» БАНКА ВТБ (ПАО)
  • +
  • Расчётный счёт: 40802810822850001618
  • +
  • Корреспондентский счёт: 30101810145250000411
  • +
  • БИК банка: 044525411
  • +
    + QR код с реквизитами +
+
+
+

Способы оплаты

+
    +
  • — Наличными в офисе центра
  • +
  • — Банковской картой
  • +
  • — Оплата по реквизитам
  • +
  • — Оплата через СБП
  • +
  • — Через личный кабинет ученика во вкладке «Финансы»
  • +
  • Платите через QR-код или ссылку. Вводить реквизиты карты не понадобится! Нужен только смартфон с + приложением банка и интернетом. По QR-коду: Откройте приложение банка и выберите пункт с оплатой + через + QR-код.C помощью камеры распознайте QR-код и подтвердите оплату. По ссылке: Перейдите по ссылке на + оплату + и выберите приложение вашего банка. Затем перейдите в него и подтвердите оплату.
  • +
+ способы оплаты +
+
+

ВОЗВРАТ ДЕНЕЖНЫХ СРЕДСТВ

+
    +
  • Возврат в следующих случаях:
  • +
  • — если совершен ошибочный платеж, при условии если денежные средства уже пришли на расчетный счет; +
  • +
  • — если вы передумали у нас учиться и хотите приостановить доступ, и не приступили к оплаченным + занятиям.
  • +
+
+
+
+
+
+
+ + + +
+
+

Режим работы и адреса

+
+
+
+
+

Режим работы

+

с 14:00 до 19:00 без выходных

+

Отвечаем по телефону

+

с 10:00 до 21:00 без выходных

+
+
+
+
+

Как добраться

+

Мы находимся в офисном центре «Сбербанк» рядом с гипермаркетом «Глобус» — ссылка на карту

+ По городу Щелково до остановки «Новый мост»: Автобусы или маршрутные такси 2, 25, 29, 35, 37, 40, 50, 361.

+ Из города Фрязино до остановки «Новый мост»: Автобусы или маршрутное такси 49К, 20, 23, 29, 33, 35, 361, 37, 39, 50, 54

+ Адрес для координат GPS: +

+
+
+
+
+
+
+

Юридический и почтовый адрес

+

141109, Щелково, ул. Комсомольская, дом 11,
строение 1, офис 3

+ + <?php echo get_post_meta( $image, '_wp_attachment_image_alt', true ); ?> + +
+
+
+
+
Как добраться
+

Мы находимся в офисном центре «Сбербанк» рядом с гипермаркетом «Глобус» — ссылка на карту

+ По городу Щелково до остановки «Новый мост»: Автобусы или маршрутные такси 2, 25, 29, 35, 37, 40, 50, 361.

+ Из города Фрязино до остановки «Новый мост»: Автобусы или маршрутное такси 49К, 20, 23, 29, 33, 35, 361, 37, 39, 50, 54

+ Адрес для координат GPS: 55.928461, 38.000991 +

+
+
+
+
+
+

Оставить отзыв:

+ Оставить отзыв +
+
+
+
+
+
+
+ + + +
+ + + + + + +
+ + +'; ?> +
+
+

+ +
+ +
+ + 'date', + 'order' => 'DESC', + 'post_type' => 'course', + 'posts_per_page' => 9, + 'paged' => $currentPage, + ); + $query = new WP_Query($args); ?> +
+ have_posts()) { + + $query->the_post(); + $post_id = get_the_ID();?> + + + +
+ + +
+
+ +
+
+ str_replace(999999999, "%#%", get_pagenum_link(999999999)), + "format" => "", + "current" => max(1, $currentPage), + "total" => $query->max_num_pages, + "prev_text" => ' + + + ', // анкор ссылки на предыдущую страницу + "next_text" => ' + + + ', // анкор ссылки на следующую страницу + "type" => "list" + ]);?> +
+
+
+ + + + + + +
+ + + + + +
+ + + + +
+
+

+
+ +
+ <?php echo get_post_meta( $img['img'], '_wp_attachment_image_alt', true ); ?> +
+ 4) $count = 1; + } ?> +
+ +
+ + <?php echo get_post_meta( $page_video_preview, '_wp_attachment_image_alt', true ); ?> + +
+ +
+
+ + + + + + + + +
+ + + + +
+ +
+
+

+ + -1, + 'offset' => 0, + 'orderby' => 'date', + 'order' => 'DESC', + 'post_type' => 'post', + ); + $query = new WP_Query($args); ?> + +
+ have_posts()) { + + $query->the_post(); + $post_id = get_the_ID(); + $cat = get_the_category($post_id); + ?> + + +
+
+
+ + + +
+ + + +
+ + +
+
+
+ +
+
+
+ +
+
+

Фото нашей школы

+
+
+ +
+ <?php echo get_post_meta( $img['img'], '_wp_attachment_image_alt', true ); ?> +
+ +
+
+
+
+
+
+
+ + + + + + + + + +
+ + + +
+
+
+

+ +
+
+ + +
+ + 'course', + 'title' => $filterQuery, + 'post_status' => 'publish', + 'posts_per_page' => 1, + 'update_post_term_cache' => false, + 'update_post_meta_cache' => false, + 'orderby' => 'post_date ID', + 'order' => 'ASC', + 'no_found_rows' => true, + 'ignore_sticky_posts' => true, + ] + ); + + if ( $query->post ) { + $page_got_by_title = $query->post; + $compare = "LIKE"; + } + else { + $page_got_by_title = null; + $compare = "!="; + } + $filterID = $page_got_by_title->ID; + + wp_reset_postdata(); // Сброс глобального состояния +} else { + $filter = "Все отзывы"; + $page_got_by_title = null; + $compare = "!="; +} + + // Повторная установка переменных, вероятно, ошибка логики, но оставлено как было в оригинале + $filter = "Все отзывы"; + $page_got_by_title = null; + $compare = "!="; + +?> + +
+ + +
+
+
+
+ 'reviews', + 'orderby' => 'date', + 'order' => 'DESC', + 'posts_per_page' => 10, + 'paged' => $currentPage, + ); + + $query = new WP_Query($args); + + $schema_reviews = ''; + + if ($query->have_posts()) { + $count = 0; + while ($query->have_posts()) { + $query->the_post(); + + $post_id_review = get_the_ID(); + + $review_date = get_the_date( 'd.m.Y'); + $review_level = carbon_get_post_meta( $post_id_review, 'review_level' ); + + $avatar = carbon_get_post_meta( $post_id_review, 'review_avatar' ); + + $stars = carbon_get_post_meta( $post_id_review, 'review_star' ); + $tekst_otzyva = carbon_get_post_meta( $post_id_review, 'review_text' ); + $prepodavatel = carbon_get_post_meta( $post_id_review, 'review_teacher' ); + + $add_class= "more"; + + if ( strlen($tekst_otzyva) < 350 ) $add_class= ""; + + $count++; + + $schema_reviews .='{ + "@type": "Review", + "reviewBody": "' . replaceQuotes($tekst_otzyva) .'", + "author": { + "@type": "Person", + "name": "' . get_the_title() .'" + }, + "datePublished": "' . $review_date . '", + "itemReviewed": { + "@type": "Person", + "name": "' . get_the_title($prepodavatel[0]['id']) . '", + "url": "' . get_permalink( $prepodavatel[0]['id']) . '"}},'; + ?> +
+
+
+
+ + <?php echo get_post_meta( $avatar, '_wp_attachment_image_alt', true ); ?> + +
+
+
+
+
+
+
+ + + + + + +
+ +

Преподаватель:

+ +
+ + +
+
+
+ +

Отзывы по данному курсу отсутствуют.

+ +
+
+
+ +
+ +
+ + +
+
+ кнопка закрыть окно + +
+
+
+ + + + + + + + + +
+ + + + + + + +
+ + + + + +
+
+
+

Наши преимущества

+
+
+
+
Мини-классы до 10 учеников
+

Учитель не просто видит ученика — он слышит его сомнения, чувствует его ритм, выверяет каждый шаг. В мини-группах до 10 человек мы создаем тепличные условия, где даже самые робкие таланты расцветают яркими красками. Никакой «массовки»: только индивидуальные траектории роста, где ошибки становятся ступеньками, а маленькие победы — стартом для новых свершений. Мы не учим «всех одинаково» — мы помогаем каждому ученику уверенно расправить крылья, чтобы его потенциал засиял во всей полноте!

+
+

+ +
+
+
+
Обучение по программе
«Перспектива»
+

Учебный процесс построен на активных методах: дети не просто получают знания, а открывают их самостоятельно.

+ +
+
+
Английский язык
с 1 класса
+

Английский язык Cambridge English. Подготовка по международной методике, дающей базу для сдачи международных экзаменов.

+ +
+
+
+
+
Официальное прикрепление
к московской школе
+

Мы берем на себя все формальности, связанные с официальным зачислением вашего ребенка. Для получения аттестата государственного образца по окончании школы, каждый ученик прикрепляется к одной из наших партнерских московских школ, имеющей государственную аккредитацию. Этот процесс полностью курируется нашей администрацией.

+ +
+
+
Система обучения
Л. В. Занкова
+

Здесь нет скучной зубрежки — только живые задачи, где каждая ошибка становится ступенькой к открытию. Дети учатся спорить, искать истину и видеть необычное в обычном. Результат? Ученики с огнем в глазах, которые думают смело и творят без границ!

+ +
+
+
Индивидуальный подход
к каждому ученику
+

Индивидуальные планы и регулярная диагностика помогают каждому ребенку учиться в своём темпе. Гарантия опережения государственной программы начальной школы на 6 месяцев.

+
+

+ +
+
+
+
+
+
+
+ + + +
+
+
+

Персональный план развития для каждого ученика

+
+
+ +
+
+ +
+
+
+
+
+ +
+
+
+

Решаем главные проблемы родителей и учеников в начальной школы

+
+
+
+
1
+
+
Официальное прикрепление к московской школе
+
Все наши ученики официально прикрепляются к Государственному бюджетному образовательному учреждению города Москвы «Школа Дмитровский» имени Героя Советского Союза В.П. Кислякова.
+
+
+
+
2
+
+
Готовность к школе и адаптация
+
В школе внедрена программа «Мягкий старт» и постоянное сопровождение нейропсихологом. Мы обеспечиваем мягкую адаптацию и поддержку на протяжении всей начальной школы. Результат: 98% детей успешно адаптируются и сохраняют любовь к обучению до окончания школы.
+
+
+
+
3
+
+
Безопасность и буллинг
+
В начальных классах участились случаи травли. Мы создали безопасную среду на все 4 года обучения. Внедрена система «Нулевой толерантности к буллингу и развитию эмоционального интеллекта».
+
+
+
+
4
+
+
Учебная нагрузка в начальных классах
+
Оптимизирована нагрузка для учеников с 1 по 4 класс. Внедрена программа «Эффективное обучение в начальной школе». Результат: 1 час продуктивных занятий вместо 2−3 часов зубрежки.
+
+
+
+
5
+
+
Качество образования в начальной школе
+
Стандартная программа не учитывает индивидуальности детей 7−10 лет. Мы обеспечили персонализированное обучение на протяжении всей начальной школы. Используя авторскую методику «Перспектива» для 1−4 классов. Наши выпускники начальной школы опережают сверстников на 6−12 месяцев.
+
+
+
+
+ +
+
+
+
+
+ + + +
+
+
+
+
+

Почему начальная частная школа «Декарт»,
а не государственная?

+ +
+
+ +
+
+
+
+
+ + + +
+
+
+ +
+
+
+ +
+
+
+

Семейные классы в Щелково

+ +
+
+
+ + + + + + 0) : ?> +
+
+

Вопрос-ответ

+
+ +
+

+
+

+
+
+ +
+
+
+ + + + + + +
+ + + + + + + +
+ + +
+
+
+ +
+
+
+ + + + + + + +
+ + + +
+ + +
+
+
+

Гибкий график

+

Работай, как удобно тебе

+
+
+

Современное оборудование и хорошая материальная база

+
+
+

Достойные условия оплаты труда

+

возможность подработки

+
+
+

Поддержка от администраторов

+

Поможем с расписанием и учебными группами. Вам останется только преподавать!

+
+
+ +
+ +
+ +
+ + $vacancie_name"; else $str = "
$vacancie_name
" + ?> +
+ +
+ + + +
+ +
+ + + + + +
+ + + +
+ + + + + +
+
+
+ +
+
+
+ + + +
+ + +
+ + + + +
+
+
+ +
+
+ + + +
+
+
+
Длительность
+
Предмет
+
Стоимость от за ак. час
+
+ +
+
+
+ +
+
+
+
+
+

+ О наших + занятиях +

+
+ +
+
+ + + +
+

+ Особенности + курса +

+
+ +
+ +
+
+ +
+
+
+

Популярные курсы

+
+ 0) { + foreach( $select_popular_course as $item ) { + $post = get_post( $item['id'] ); + $gallery = get_field('gallery'); ?> + + + + +
+

+
+ + +
+
+
+
+
+ +
+
+

+ Программа + курса +

+
+ +
+ + +
+ + + +
+
+
+ + + +
+ + + +
+
+ +
+ + +
+
+ + + + + +
+
+

+ Наши
+ преподаватели +

+

+ +

+ -1, + 'orderby' => 'date', + 'order' => 'DESC', + 'post_type' => 'teacher', + 'meta_query' => array( + array( + 'key' => 'select_courses', + 'carbon_field_property' => 'id', //Ключевое в условии meta_query указать этот параметр + 'compare' => '==', + 'value' => $post_id, + ), + ), + ); + // Получение списка преподавателей + $teachers = get_posts( $teachers_args ); + ?> +
+
+ ID, 'select_courses' )); + ?> + + +
+ +
+
+
+ + +
+
+ +
+
+ name == ) + $name = $current_term->name; + $name = preg_replace('~[^А-Я]~u', '', $name); + $name = mb_substr($name , 1); + $name = mb_substr($name, 0, -1); + ?> +

+ Предметы + для подготовки к +

+ +
+ +
+
+
+ 12, + 'category' => 0, + 'orderby' => 'date', + 'order' => 'DESC', + 'include' => array(), + 'exclude' => array(), + 'meta_key' => '', + 'meta_value' => '', + 'post_type' => 'course', + 'suppress_filters' => true, + 'tax_query' => array( + array( + 'taxonomy' => 'courses', + 'field' => 'term_id', + 'terms' => $current_term->term_id, /// Where term_id of Term 1 is "1". + 'include_children' => false + ) + ) + ) ); + foreach( $posts as $post ){ + setup_postdata($post); + $kratkoe_naimenovanie = get_field('kratkoe_naimenovanie'); + $ikonka_svg = get_field('ikonka_svg'); ?> + + + <?php the_title(); ?> + +

+
+ +
+
+
+
+ +
+
+ + + + + + 0) : ?> +
+
+

+ Вопрос - + Ответ +

+
+ + +
+

+
+

+
+
+ + +
+ +
+
+ + + + +
+ +request)); +$home_url = get_site_url(); + +$social_media = carbon_get_theme_option( 'social_media' ); +$schema_social = ''; +foreach( $social_media as $item ) { + if ($item['social_media_link'] != '') { + $schema_social .= '"' . $item['social_media_link'] . '",'; + } +} +if ( $schema_social != '' ) $schema_social = substr($schema_social, 0, -1); // Удаляем последний символ + +$site_index = carbon_get_theme_option( 'site_index' ); +$site_region = carbon_get_theme_option( 'site_region' ); +$site_address = carbon_get_theme_option( 'site_address' ); +$site_city = carbon_get_theme_option( 'site_city' ); +$site_phone = carbon_get_theme_option( 'site_phone' ); +$schema_certificate = replaceQuotes(carbon_get_post_meta( $post_id, 'schema_certificate' )); +$schema_age = replaceQuotes(carbon_get_post_meta( $post_id, 'schema_age' )); +$price_hour_discount4 = carbon_get_theme_option( 'price_hour_discount4' ); +$schema_age = replaceQuotes(carbon_get_post_meta( $post_id, 'schema_age' )); +$schema_keywords = carbon_get_post_meta( $post_id, 'schema_keywords' ); + +$schema_sections = carbon_get_post_meta( $post_id, 'schema_section' ); +$sectionsHTML = ''; +foreach( $schema_sections as $item ) { + $schema_section_name = $item['schema_section_name']; + $schema_section_description = $item['schema_section_description']; + $sectionsHTML .=' + { + "@type": "DefinedTerm", + "name": "' . $schema_section_name .'", + "description": "' . $schema_section_description . '" + },'; +} +if ( $sectionsHTML != '' ) $sectionsHTML = substr($sectionsHTML, 0, -1); // Удаляем последний символ + +?> + + + + + + + + +
+ + +
+
+
+
+
+
+

+ +

+ +
+ +
+ + <?php echo get_post_meta( $foto, '_wp_attachment_image_alt', true ); ?> + + + +
+ + +

+ "; else $change_name .= $word . " "; + $count++; + } + echo $change_name; + ?> +

+ +
+ + + + + -1, + 'post_type' => 'reviews', + 'meta_query' => array( + array( + 'key' => 'prepodavatel', // name of custom field + 'value' => '"' . get_the_id() . '"', + 'compare' => 'LIKE' + ) + ) + ); + + $the_query = new WP_Query($args); + ?> + + (оценок: found_posts; ?>) +
+ +
Щелково
+ +
+
+ +
+
+ +
+
+
+
+
+
+ + Направления: +
+
+ +
+
+ +
+
+ + Категория: +
+
+ +
name; ?>
+ +
+
+ +
+
+ + +
+
+ +
+
+ +
+
+ 0 ) { + ?> +

Дипломы и сертификаты

+
+ +
+ сертификаты +
+ +
+ +
+
+ + +
+
+ +
+ <?php echo get_post_meta( $certificat['certificates_foto'], '_wp_attachment_image_alt', true ); ?> +
+ + +
+
+
+
+ +
+ + +
+
+
+
+
+ +
+

+ +

+ +
+

О себе

+
+ +
+ +
+
+
Образование
+
+ +
+
+
+
Повышение квалификации
+
+ +
+
+
+ 0 ) { ?> +
Дипломы и сертификаты
+
+
+ сертификаты +
+
+ + + +
+
+

Видеопрезентация

+
+ +
+
+
+ +
+
+
+ + + + get_the_id()]; + get_template_part( 'template-parts/reviews', null, $params ); + ?> + + 0) : ?> +
+
+

Вопрос-ответ

+
+ +
+

+
+

+
+
+ +
+
+
+ + + 4] ); ?> + + + +
+ +request)); +$site_name = carbon_get_theme_option( 'site_name' ); + +$site_person = get_the_title();; + +$site_index = carbon_get_theme_option( 'site_index' ); +$site_region = carbon_get_theme_option( 'site_region' ); +$site_address = carbon_get_theme_option( 'site_address' ); +$site_city = carbon_get_theme_option( 'site_city' ); +$site_phone = carbon_get_theme_option( 'site_phone' ); +$site_mail = carbon_get_theme_option( 'site_mail' ); + +$listSubjects_title = substr($listSubjects_title, 0, -2); // Удаляем последний символ + +$teacher_description = replaceQuotes(carbon_get_post_meta( get_the_id(), 'teacher_description' )); + +$foto = carbon_get_post_meta( get_the_id(), 'teacher_foto' ); +$foto = wp_get_attachment_url($foto); +?> + + + + + + \ No newline at end of file diff --git a/wp-content/themes/dekart/single.php b/wp-content/themes/dekart/single.php new file mode 100644 index 0000000..52d25f3 --- /dev/null +++ b/wp-content/themes/dekart/single.php @@ -0,0 +1,76 @@ + +
+ + +
+
+
+
+ +
+ +
+
+
+ + + +
+ + + + 'courses', + 'hide_empty' => false, +) ); +$current_term_id = get_queried_object_id(); + +$current_term = get_queried_object(); +$foto = carbon_get_term_meta( $current_term_id, 'banner_img_desktop' ); +$foto_mobile = carbon_get_term_meta( $current_term_id, 'banner_img_mobile' ); + +if ($foto != '') {?> +
+ + + + + + + + +
+
+ +

+ + +
+ 'course', + 'posts_per_page' => -1, + 'tax_query' => array( + array( + 'taxonomy' => 'courses', + 'field' => 'term_id', + 'terms' => $current_term_id + ) + ) + ); + query_posts($args); ?> + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+
+
+ + + + '_select_courses|||0|id', + 'value' => $current_term_id, + ) +); ?> + + + + + + +
+ + + + +
+term_id, 'subject_h1' ); +?> +
+
+

+
+ description; ?> +
+
+
+
+ + + +
+
+ 0, + 'orderby' => 'name', + 'order' => 'ASC', + 'taxonomy' => 'subject', + 'pad_counts' => 1, + 'hide_empty' => true, + ) ); + // оставим только термины с parent=0 + $terms = wp_list_filter( $terms, array('parent'=>0) ); + //var_dump($terms); + $list = ""; + ?> +
+ Наши преподаватели + +
+
+ term_id; // ID термина + $taxonomy = 'subject'; // Название кастомной таксономии + $count = 1; + $args = array( + 'post_type' => 'teacher', // Кастомный тип записи + 'tax_query' => array( + array( + 'taxonomy' => $taxonomy, + 'field' => 'term_id', // Ищем по ID термина + 'terms' => $term_id, + ), + ), + 'posts_per_page' => -1, // Количество записей (-1 = все записи) + ); + + $query = new WP_Query($args); + + if ($query->have_posts()) { + while ($query->have_posts()) { + $query->the_post(); + $teacher_subjects = carbon_get_post_meta( $post->ID, 'teacher_subjects' ); + if ( $count > $count_teachers ) { + $style = 'display: none; scale: 0;'; + } else { + $style = ''; + } + ?> + + + +
+ $count_teachers ) { ?> +
+ +
+ +
+
+ + + + + + + + + +
+ + + \ No newline at end of file diff --git a/wp-content/themes/dekart/template-parts/block-all-teachers.php b/wp-content/themes/dekart/template-parts/block-all-teachers.php new file mode 100644 index 0000000..b821286 --- /dev/null +++ b/wp-content/themes/dekart/template-parts/block-all-teachers.php @@ -0,0 +1,52 @@ + + +
+
+ -1, + 'orderby' => 'date', + 'order' => 'DESC', + 'post_type' => 'teacher', + ); + // Получение списка преподавателей + $teachers = get_posts( $teachers_args ); ?> +
+ ID, 'teacher_subjects' ); + + if ( count($teacher_subjects) > 0 ) { + $term_name = ''; + foreach( $teacher_subjects as $subject ) $term_name .= '|' . get_term( $subject['select_subjects'][0]['id'] )->name; + } + if ( $count > $count_teachers ) { + $style = 'display: none; scale: 0;'; + } else { + $style = ''; + } + ?> + + + +
+
+
\ No newline at end of file diff --git a/wp-content/themes/dekart/template-parts/block-banner-info.php b/wp-content/themes/dekart/template-parts/block-banner-info.php new file mode 100644 index 0000000..844f323 --- /dev/null +++ b/wp-content/themes/dekart/template-parts/block-banner-info.php @@ -0,0 +1,37 @@ +
+
+
+ Лицензия министерства образования Московской области +
+
+
+
+ Небольшие классы до 12 человек +
+
+
+
+ Прикрепление к московской школе +
+
+
+
+ Широкий спектр дополнительных услуг +
+
+
+
+ Углубленная программа "Перспектива" +
+
+
+
+ Английский язык с первого класса +
+
+
+
+ Система обучения Занкова Л.В. +
+
+
\ No newline at end of file diff --git a/wp-content/themes/dekart/template-parts/block-banner.php b/wp-content/themes/dekart/template-parts/block-banner.php new file mode 100644 index 0000000..5cca066 --- /dev/null +++ b/wp-content/themes/dekart/template-parts/block-banner.php @@ -0,0 +1,67 @@ + + + + + + \ No newline at end of file diff --git a/wp-content/themes/dekart/template-parts/block-foto.php b/wp-content/themes/dekart/template-parts/block-foto.php new file mode 100644 index 0000000..842e0af --- /dev/null +++ b/wp-content/themes/dekart/template-parts/block-foto.php @@ -0,0 +1,19 @@ +
+
+

Фотографии нашей школы

+
+
+ +
+ <?php echo get_post_meta( $img['img'], '_wp_attachment_image_alt', true ); ?> +
+ +
+
+
+
+
+
+
\ No newline at end of file diff --git a/wp-content/themes/dekart/template-parts/block-price.php b/wp-content/themes/dekart/template-parts/block-price.php new file mode 100644 index 0000000..c7a1eb3 --- /dev/null +++ b/wp-content/themes/dekart/template-parts/block-price.php @@ -0,0 +1,120 @@ + +
+
+

+ Стоимость
+ обучения +

+
+
    +
  • Cтоимость академ. часа + +
  • + +
  • Стоимость ак. часа со скидкой + +
  • + +
+ +
+
+
+ 1 предмет + рублей +
+
+ 2 предмета + рублей +
+
+ 3 предмета + рублей +
+
+ 4 предмета и более + рублей +
+
+
пример расчета стоимости
+

Занятия проходят 1 или 2 раза в неделю по 2 или 3 академических часа в зависимости от курса.

+

Например, вы ходите на курсы подготовки к ОГЭ в 9 классе по математике (3 ак. часа один раз в + неделю) и информатике (2 ак. часа один раз в неделю). Общая стоимость за 4 недели за 2 предмета + получится рублей.

+
Оплата
+
    +
  • Оплата производится авансом на месяц вперед.
  • +
  • Вы можете вернуть 13% от стоимости обучения благодаря налоговому вычету (необходимые документы + мы предоставляем).
  • +
  • Возможна оплата обучения материнским капиталом!
  • +
+
+
+ +
+
+ 1 предмет + рублей +
+
+ 2 предмета + рублей +
+
+ 3 предмета + рублей +
+
+ 4 предмета и более + рублей +
+
+
Условия скидки
+
    +
  • Дополнительная скидка предоставляется детям из многодетных и неполных семей.
  • + +
  • Скидка за раннюю запись.
  • + +
+

*скидки не суммируются

+
пример расчета стоимости
+

Занятия проходят 1 или 2 раза в неделю по 2 или 3 академических часа в зависимости от курса.

+

Например, вы ходите на курсы подготовки к ОГЭ в 9 классе по математике (3 ак. часа один раз в неделю) и информатике (2 ак. часа один раз в неделю). Общая стоимость за 4 недели за 2 предмета получится рублей.

+
Оплата
+
    +
  • Оплата производится авансом на месяц вперед.
  • +
  • Вы можете вернуть 13% от стоимости обучения благодаря налоговому вычету (необходимые документы + мы предоставляем).
  • +
  • Возможна оплата обучения материнским капиталом!
  • +
+
+
+ +
+
+
+
\ No newline at end of file diff --git a/wp-content/themes/dekart/template-parts/block-read-also.php b/wp-content/themes/dekart/template-parts/block-read-also.php new file mode 100644 index 0000000..384b471 --- /dev/null +++ b/wp-content/themes/dekart/template-parts/block-read-also.php @@ -0,0 +1,35 @@ + +
+

Читать также

+
+ 3, + 'post_type' => 'post', + 'category' => [$cat_1_ID, $cat_2_ID], + 'orderby' => 'date', + 'order' => 'DESC', + 'post__not_in' => [ $post_id ], + ); + $query = new WP_Query($args); ?> + + have_posts()) { + $query->the_post(); ?> + + +
+

\ No newline at end of file diff --git a/wp-content/themes/dekart/template-parts/block-social.php b/wp-content/themes/dekart/template-parts/block-social.php new file mode 100644 index 0000000..07e532b --- /dev/null +++ b/wp-content/themes/dekart/template-parts/block-social.php @@ -0,0 +1,11 @@ + + + + \ No newline at end of file diff --git a/wp-content/themes/dekart/template-parts/block-why-us.php b/wp-content/themes/dekart/template-parts/block-why-us.php new file mode 100644 index 0000000..55544f9 --- /dev/null +++ b/wp-content/themes/dekart/template-parts/block-why-us.php @@ -0,0 +1,55 @@ +
+
+

Почему стоит выбрать нас

+
+
+
+ +
+ Профессиональные преподаватели с большым опытом +
+
+
+ +
+ Группы 2-6 человек с формированием по уровню подготовки +
+
+
+ +
+ Постоянная обратная связь с родителями, личный кабинет +
+
+
+ +
+ Регулярный контроль
успеваемости и выполнения домашних заданий
+
+
+
+ +
+ Программы обучения, соответствующие требованиям ЕГЭ +
+
+
+ +
+ Комфортные условия обучения +
+
+
+ +
+ Удобное расположение центра рядом с домом +
+
+
+ +
+ Постоянное взаимодействие с учениками во внеучебное время +
+
+
+
\ No newline at end of file diff --git a/wp-content/themes/dekart/template-parts/map.php b/wp-content/themes/dekart/template-parts/map.php new file mode 100644 index 0000000..9083ea5 --- /dev/null +++ b/wp-content/themes/dekart/template-parts/map.php @@ -0,0 +1,73 @@ +
+
+

Наш адрес

+
+
+ + +
+
+
+
+
+ + \ No newline at end of file diff --git a/wp-content/themes/dekart/template-parts/news.php b/wp-content/themes/dekart/template-parts/news.php new file mode 100644 index 0000000..fb9867c --- /dev/null +++ b/wp-content/themes/dekart/template-parts/news.php @@ -0,0 +1,41 @@ + \ No newline at end of file diff --git a/wp-content/themes/dekart/template-parts/popular-subjects.php b/wp-content/themes/dekart/template-parts/popular-subjects.php new file mode 100644 index 0000000..6150c1b --- /dev/null +++ b/wp-content/themes/dekart/template-parts/popular-subjects.php @@ -0,0 +1,56 @@ + \ No newline at end of file diff --git a/wp-content/themes/dekart/template-parts/promo-form.php b/wp-content/themes/dekart/template-parts/promo-form.php new file mode 100644 index 0000000..4637da8 --- /dev/null +++ b/wp-content/themes/dekart/template-parts/promo-form.php @@ -0,0 +1,36 @@ +
+
+

Записаться на день открытых дверей

+
+
+
Хотите убедиться, что наша школа
идеально подойдёт вашему ребенку?
+
    +
  • Индивидуальный формат встречи
  • +
  • Экскурсия по школе
  • +
  • Знакомство с Вашим преподавателем
  • +
  • Тестирование ребенка
  • +
+ +
+
+ +
+

Заполните форму или позвоните по телефону

+
+ +

Заполните форму или позвоните по телефону

+ +
+ +
+
+
+ +

Заполните форму
или позвоните по телефону

+
+ +
+
+
+
+
\ No newline at end of file diff --git a/wp-content/themes/dekart/template-parts/reviews.php b/wp-content/themes/dekart/template-parts/reviews.php new file mode 100644 index 0000000..afc1cfc --- /dev/null +++ b/wp-content/themes/dekart/template-parts/reviews.php @@ -0,0 +1,138 @@ + 'AND', + [ + 'key' => 'review_teacher', // Имя кастомного поля + 'value' => $teacher, + 'compare' => 'LIKE' + ], + [ + 'key' => 'review_type', + 'value' => ['school', 'primary'], + 'compare' => 'IN' + ] + ]; +} else { + $type = get_query_var('type'); + + if ($type !== '') { + $title_map = [ + 'camp' => 'Отзывы о лагере', + 'school' => 'Отзывы о школе', + 'primary' => 'Отзывы о начальной школе', + 'all' => 'Отзывы' + ]; + $title = $title_map[$type] ?? $title; + $key = ($type === 'all') ? [] : [ + [ + 'key' => 'review_type', + 'value' => $type, + 'compare' => '=' + ] + ]; + } +} + +// Подготовка аргументов для запроса отзывов +$query_args = [ + 'posts_per_page' => -1, + 'post_type' => 'reviews', + 'orderby' => 'date', + 'order' => 'DESC', + 'suppress_filters' => true, + 'meta_query' => $key +]; + +$the_query = new WP_Query($query_args); + +if ($the_query->have_posts()) : +?> +
+
+

+
+
+
+ have_posts()) : $the_query->the_post(); ?> + = 350) ? 'more' : ''; + ?> + + +
+
+
+
+ + 'reviews__item-client_avatar-img', + 'loading' => 'lazy', + 'alt' => '' + ]); ?> + + + +
+
+
+ +
+ +
+
+ +
+ + + + + + +
+ + +

+ Преподаватель: + + + +

+ + +
+ + + + +
+
+
+ + +
+
+
+
+
+
+
+ + +
+
+ +

Наша команда

+

+ + + $count, + 'orderby' => 'date', + 'order' => 'DESC', + 'post_type' => 'teacher', + 'no_found_rows' => true, + 'update_post_meta_cache' => false, + 'update_post_term_cache' => false, + ); + + // Получение списка преподавателей + $teachers = get_posts( $teachers_args ); + ?> + +
+
+
+ ID, 'teacher_avatar' ); + $avatar_url = $avatar_id ? wp_get_attachment_url( $avatar_id ) : ''; + $alt_text = $avatar_id ? get_post_meta( $avatar_id, '_wp_attachment_image_alt', true ) : ''; + + // Разбиваем имя на части + $full_name = get_the_title( $teacher->ID ); + $name_parts = explode( ' ', $full_name, 3 ); + if ( count( $name_parts ) >= 3 ) { + $name_text = $name_parts[0] . '
' . $name_parts[1] . ' ' . $name_parts[2]; + } else { + $name_text = esc_html( $full_name ); + } + ?> +
+
+ + + <?php echo esc_attr( $alt_text ); ?> + + +

ID, 'teacher_direction' ) ); ?>

+
+
+
+ + +
+
+ + + +
+
+
+ + + + +
+
\ No newline at end of file