@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: local(''),
    url('fonts/Roboto/Roboto-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('fonts/Roboto/Roboto-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 900;
    src: local(''),
    url('fonts/Nunito/Nunito-900.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('fonts/Nunito/Nunito-900.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    font-display: swap;
}

/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
    border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1; /* 1 */
    margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
    display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
    display: none;
}


/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
    content: " ";
    display: table;
}

.clearfix::after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        /* Black prints faster */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }

    abbr[title]::after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* ==========================================================================
   Main
   ========================================================================== */

html, body {
    min-width: 320px;
    min-height: 100dvh;
    color: #333;
    font: 18px/1.4 'Roboto', sans-serif;
    box-sizing: border-box;
    scrollbar-gutter: stable;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

p {
    margin-bottom: 1em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
    margin-top: 1.2em;
    margin-bottom: .6em;
    letter-spacing: .02em;
}

h1 {
    font-size: 2.44rem;
    text-transform: uppercase;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.66rem;
}

h4 {
    font-size: 1.22rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1.1rem;
}

.page-h1 {
    margin-top: 0;
    text-transform: uppercase;
}

a, a:hover {
    color: #56BAEA;
    text-decoration: none;
}

.btn {
    display: inline-block;
    padding: .7rem 1.2rem;
    font-size: 1rem;
    line-height: 1em;
    text-decoration: none !important;
    text-shadow: none !important;
    white-space: nowrap;
    border: 1px solid transparent !important;
    border-radius: 6px;
    outline: none !important;
}

.btn:hover, .btn:focus, .btn:active {
    opacity: .85;
}

.btn-primary {
    color: #fff !important;
    background: #d90375 !important;
}

.btn-info {
    color: #fff !important;
    background: #56baea !important;
}

.btn-success {
    color: #000 !important;
    background: #a3cd39 !important;
}

.btn-success2 {
    color: #000 !important;
    border: 2px solid #a3cd39 !important;
}

.btn-white {
    color: #d90375 !important;
    font-weight: bold;
    background: #fff !important;
}

.btn-yellow {
    color: #000 !important;
    font-weight: bold;
    background: #fcb81f !important;
}

.btn-default {
    color: #333 !important;
    background: #fff !important;
    border-color: #ccc;
}

.btn-active {
    color: #d80374 !important;
}

.btn-small {
    padding: .2rem 1rem;
    font-size: .75rem;
}

.pagination {
    border-radius: 0.5rem !important;
}

.pagination > li > * {
    margin-right: 0.2rem;
    border: none !important;
    border-radius: 0.5rem !important;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #56baea;
}

.pagination > li > a, .pagination > li > span {
    color: #56baea;
}

.modal-content {
    background: #fff;
    border: 0;
    border-radius: 1rem;
    box-shadow: 2px 2px 1rem rgb(0 0 0 / 10%);
}

.modal-header {
    height: 0;
    border-bottom: 0;
}

.modal-title {
    display: none;
}

.modal-body {
    padding: 1.5rem 2rem;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* ==========================================================================
   Site
   ========================================================================== */

.width-wrap {
    margin: 0 auto;
    padding-left: 2.22rem;
    padding-right: 2.22rem;
    max-width: 1260px;
}

body {
    display: flex;
    flex-direction: column;
}

header {
    background-color: #fff;
}

.header {
    display: grid;
    grid-template-areas:
        "h-logo h-contacts h-menu";
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    grid-area: h-logo;
}

.header-contacts {
    grid-area: h-contacts;

    text-align: center;
}

.header-menu, .header-menu li, .header-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-menu {
    grid-area: h-menu;

    display: flex;
    align-items: stretch;
}

.header-menu > li {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 0 .7rem 0 0;
}

.header-menu > li:last-child {
    margin-right: 0;
}

.header-menu, .header-menu > li > a, .header-menu > li > span {
    font-size: 0.88rem;
    line-height: 1em;
}

.header-menu > li > a, .header-menu > li > span {
    display: block;
    color: #000;
    text-transform: uppercase;
}

.header-menu > li > ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.66rem;

    padding: 1.66rem;
    font-size: .8rem;
}

.header-menu .courses-menu {
    grid-template-columns: 1fr 1fr;
}

.header-menu > li > ul ul {
    margin-top: .5rem;
}

.header-menu > li > ul ul li {
    margin: 1.66em 0;
}

.header-menu > li > ul a {
    display: flex;
    align-items: center;
    gap: .5rem;

    color: #000;
    font-size: .95rem;
    line-height: 1em;
}

.header-menu > li > ul a:hover {
    opacity: .85;
}

.main {
    flex: auto;
}

.footer-logo {
    max-width: 200px;
}

.footer1 {
    display: flex;
    justify-content: space-between;
    gap: .5rem;

    padding: 2.22rem 0;
    color: #828282;
    font-size: .77rem;
}

.footer1-menu, .footer1-menu li, .footer1-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer1-menu li {
    margin-bottom: 1em;
}

.footer1-menu ul {
    margin-top: 1em;
}

.footer1-menu > li:first-child > span {
    text-transform: uppercase;
}

.footer1-menu a, .footer1-menu span {
    display: flex;
    align-items: center;
    gap: .35rem;

    color: #4F4F4F;
}

.footer1-menu a:hover {
    text-decoration: underline;
}

.footer1-menu .menu-icon {
    font-size: .7em;
    max-height: 21px;
}

.footer2 {
    display: flex;
    justify-content: space-between;
    gap: .5rem;

    padding: 2.22rem 0;
    font-size: .66rem;
    border-top: 1px solid #e0e0e0;
}

.footer2-menu, .footer2-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer2-menu li {
    display: inline-block;
}

.footer2-menu li:after {
    display: inline-block;
    margin: 0 6px;
    content: '•';
}

.footer2-menu li:last-child:after {
    display: none;
}

.footer2-menu, .footer2-menu a {
    color: #828282;
}

.footer2-menu a {
    white-space: nowrap;
}

.footer2-menu a:hover {
    text-decoration: underline;
}

.start-block-07 {
    overflow-x: clip;
}

.start-block-07 > .width-wrap {
    position: relative;
}

.start-block-07 .start-list-white li {
    font-size: 1.22rem;
    font-weight: bold;
}

.footer-pegasus {
    position: absolute;
    top: 0;
    left: calc(100% - 80px);
    pointer-events: none;
}

.btn-icon {
    color: #666;
    text-align: center;
}

.btn-icon > i {
    display: block;
    margin-bottom: 5px;
    font-size: 1.5em;
}

.menu span {
    cursor: default;
}

.menu-icon {
    color: #f47e28;
    font-size: 1.4em;
    vertical-align: middle;
    max-height: 42px;
}

.menu-icon-mobile {
    display: none;
}

.sitemap-items, .sitemap-items ul, .sitemap-items li {
    list-style: none;
}

.sitemap-items, .sitemap-items > li {
    margin: 0;
    padding: 0;
}

.sitemap-items li {
    margin: 1.25em 0;
}

/* ==========================================================================
   Form
   ========================================================================== */

label {
    display: inline-block;
    margin-bottom: 0;
    max-width: 100%;
    color: #999;
    font-size: 14px;
    font-weight: normal;
}

.form-box {
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 2px 2px 1rem rgba(0, 0, 0, .1);
}

.form-input, .select2-container--bootstrap .select2-selection--single {
    padding: .55rem .75rem;
    width: 100%;
    height: auto;
    color: #555;
    font-size: .75rem;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.form-box .select2-selection img, .select2-results__option img {
    margin-top: -2px;
    margin-right: .25em;
    max-height: 1.75em;
}

.form-header {
    margin-top: 0;
    font-size: 1.1rem;
    font-family: 'Nunito', sans-serif;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.form-slide:not(.active) {
    display: none;
}

.form-slide .form-control, input[type="date"].form-control, .form-slide .select2-container--bootstrap .select2-selection--single {
    padding: .4em .8em;
    height: auto;
    font-size: 1rem;
    line-height: 1.42857143;
}

.js-form-submit.loading {
    position: relative;
    filter: blur(1px);
}

.js-form-submit.loading:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    background: rgba(255, 255, 255, .7);
}

/* ==========================================================================
   Start
   ========================================================================== */

.start-block {
    padding: 3.33rem 0;
}

.start-h1 {
    margin-top: 0;
    font-size: 3.88rem;
    text-transform: uppercase;
}

.start-h2 {
    margin-top: 0;
    font-size: 2.44rem;
    font-family: 'Nunito', sans-serif;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.start-h3 {
    margin-top: 0;
    font-size: 2.1rem;
    font-family: 'Nunito', sans-serif;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.start-h4 {
    margin-top: 0;
    font-size: 1.66rem;
    font-family: 'Nunito', sans-serif;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.start-h5 {
    margin-top: 0;
    font-size: 1.1rem;
    font-family: 'Nunito', sans-serif;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.start-h6 {
    margin-top: 0;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.start-text1 {
    font-size: 1.22rem;
}

.start-text2 {
    font-size: .66rem;
}

.start-text3 {
    font-size: .8rem;
}

.start-list li, .start-list-white li {
    margin: 0 0 1rem;
    padding: 0 0 0 .5rem;
    font-size: 1.1rem;
    list-style-image: url(/files/site/check-black.svg);
}

.start-list-white li {
    list-style-image: url(/files/site/check-yellow.svg);
}

.start-block-00 {
    padding: 5rem 0;
    color: #fff;
    background: #12aee1 url(/files/site/start/block00-bg.webp) 30% 100% no-repeat;
    background-size: contain;
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.review-courses {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-family: 'Nunito', sans-serif;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.review-courses a {
    display: inline-block;
    margin: 0 1rem 1rem 0;
    color: #333;
}

.review-courses a.selected {
    color: #d90375;
}

.review {
    margin: 0 1rem .75rem 0;
    padding: 1rem;
    width: 30%;
    border-radius: 1rem;
    background-color: #e7f4d4;
}

.review__header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;

    margin-bottom: 1rem;
}

.review__avatar img {
    width: 72px;
    height: 72px;
    background: rgba(0, 0, 0, .1);
}

.review__name {
    font-size: 1.2rem;
    line-height: 1em;
    font-family: 'Nunito', sans-serif;
    letter-spacing: .02em;
}

.review__course {
    color: #d90375;
    font-size: .85rem;
    line-height: 1em;
    font-family: 'Nunito', sans-serif;
    letter-spacing: .02em;
}

.review__city {
    font-size: .65rem;
}

.review__rating {
    float: right;
    font-size: .65rem;
}

.review__photo {
    margin-bottom: .5rem;
}

.review__photo img {
    width: 100%;
    height: auto;
}

.review__text {
    margin-top: 1rem;
    font-size: .72rem;
}

.course-helpers {
    font-size: .75rem;
}

/* ==========================================================================
   Articles
   ========================================================================== */

.article-index {
    padding: .5rem 0 4rem;
    background: left top url(/files/page/reading/bg-stars.webp) #8ec647;
}

.article-orders {
    margin: 0 0 2em;
}

.article-orders a {
    padding: .5em 1em;
    font-weight: normal;
    border: 2px solid #fff !important;
}

.article-orders a.btn-default {
    background: transparent !important;
}

a.article-item {
    display: flex;
    flex-direction: column;
    gap: .5em;

    padding: 1.2rem;
    color: #303030;
    font-size: .8em;
    background: #fff;
    border-radius: 1rem;
}

.article-item__title {
    font-size: 1.33em;
    line-height: 1.2em;
    font-weight: bold;
}

.article-item__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5em;

    margin-bottom: .25em;
}

.article-item__tags span[data-link] {
    color: #d90375;
    cursor: pointer;
}

.article-item__tags span[data-link]:hover, .article-item__tags span[data-link].active {
    text-decoration: underline;
}

.article-item__img img {
    width: 100%;
}

/* ==========================================================================
   Video reviews
   ========================================================================== */

.video-review__header {
    margin-top: 0;
    text-transform: uppercase;
}

.video-review__header a {
    font-size: 1.1rem;
}

.video-reviews {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;

    margin-bottom: 3rem;
}

.video-review__video {
    margin-bottom: 1rem;
    width: 100%;
    height: auto;
    border: 0;
    aspect-ratio: 16 / 9;
}

.video-review__title {
    margin-bottom: .8rem;
    font-size: 1.2rem;
    line-height: 1em;
    font-family: 'Nunito', sans-serif;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.video-review__text {
    font-size: .65rem;
}

/* ==========================================================================
   Teachers
   ========================================================================== */

.teacher-items a {
    color: #fff;
}

.teacher-items .start-h4 {
    margin-bottom: .4em;
    color: #fff;
}

/* ==========================================================================
   Prices
   ========================================================================== */

.block-inline {
    margin-bottom: 1.5em;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.2em;
    font-weight: normal;
    font-family: 'Nunito', sans-serif;
    text-align: center;
}

.block-inline > div {
    display: inline-block;
    padding: 1rem 1.5rem;
    min-width: 50%;
    border-radius: .4375rem;
}

.block-inline-red > div {
    background: #d80374;
}

.block-inline-green > div {
    color: #000;
    background: #a3cd39;
}

.block-inline-yellow > div {
    color: #000;
    background: #fcb81f;
}

.price-block {
    position: relative;
    height: 100%;
    text-align: center;
    background: #fff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    border-radius: .75rem;
}

.price-block-head {
    padding: .75rem 1.5rem;
    color: #fff;
    font-size: 1.8em;
    background: #D80374;
    border-radius: .75rem .75rem 0 0;
}

.price-block-price {
    padding: 1.5rem 1.5rem;
    font-size: 2.1em;
}

.price-block-price-tip {
    padding: 0 1.5rem 1rem;
    color: #787878;
    font-size: 1.1em;
    line-height: 1.2em;
}

.price-block-text {
    padding: 1.5rem 1.5rem;
    font-size: 1.4em;
    text-align: left;
}

.price-block-tip, .price-block-tip2 {
    position: absolute;
    top: -1.3em;
    right: -.65em;
    padding: .3em .75em;
    font-size: .9em;
    background: #ffc645;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    border-radius: 1rem;
}

.price-block-tip {
    color: #fff;
    background: #d80374;
}

.price-block-blue .price-block-head {
    background: #249dd6;
}

.price-block-yellow .price-block-head {
    color: #000;
    background: #fcb81f;
}

.price-block-green .price-block-head {
    color: #000;
    background: #a3cd39;
}

.price-block-purple .price-block-head {
    background: #e8509e;
}

/* ==========================================================================
   Widgets
   ========================================================================== */

.site-widgets {
    padding: 2em;
}

.widget-order-form {
    padding: 2em;
    background: linear-gradient(270.39deg, #00A3FF 17.08%, #00C0E8 98.45%);
    border-radius: 1.5em;
}

.widget-order-form, .widget-order-form a {
    color: #fff;
}

.widget-order-form h2 {
    margin-top: 0;
}

.widget-share > div {
    display: inline-block;
    padding: 1.2em;
    color: #959595;
    border: 5px solid #00A3FF;
    border-radius: 1em;
}

.widget-share img {
    margin: .5em 1em 0 0;
}

.widget-test > div {
    display: inline-block;
    padding: 1.2em;
    font-size: 1.2em;
    background: rgba(124, 197, 29, .4);
    border-radius: 1em;
}

.widget-test p:last-child {
    margin-bottom: 0;
}

.widget-test .btn {
    background: #8FCE1D !important;
}

.widget-test-english > div {
    background: rgba(250, 203, 96, .8);
}

.widget-test-english .btn {
    background: #FCB81F !important;
}

.widget-test-math > div {
    background: rgba(235, 136, 183, .8);
}

.widget-test-math .btn {
    background: #E54B94 !important;
}

.widget-testing img {
    border-radius: 1.5em;
}

/* ==========================================================================
   Other
   ========================================================================== */

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

.text-bold {
    font-weight: bold;
}

.text-blue {
    color: #249DD6;
}

.text-green {
    color: #76B61A;
}

.text-purple {
    color: #D90375;
}

.text-orange {
    color: #FF8616;
}

.transparent-block, .white-block, .yellow-block, .yellow2-block, .orange-block, .blue-block, .light-blue-block, .green-block, .light-green-block, .light-red-block {
    padding: 3.6rem 2.88rem;
    border-radius: 1rem;
}

.white-block {
    background-color: #fff;
}

.yellow-block {
    background-color: #fcebd6;
}

.yellow2-block {
    background-color: #ffd983;
}

.orange-block {
    background-color: #ffbc7e;
}

.blue-block {
    background-color: #89e3ff;
}

.light-blue-block {
    background-color: #def1fb;
}

.green-block {
    background-color: #bbe480;
}

.light-green-block {
    background-color: #e7f4d4;
}

.light-red-block {
    background-color: #fecce4;
}

.block-sm {
    padding: 1.1rem;
}

.block-sm2 {
    padding: 1.8rem;
}

.w100 {
    width: 100%;
    height: auto;
}

.h100 {
    width: auto;
    height: 100%;
}

.image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

.shadow {
    width: 100%;
    height: auto;
    border-radius: 11px;
    box-shadow: 1px 1px 15px rgb(0 0 0 / 30%);
}

.circle {
    border-radius: 50%;
}

.video {
    padding: 1rem;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 2px 2px 1rem rgba(0, 0, 0, .1);
}

.iframe {
    width: 100%;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 2px 2px 1rem rgb(0 0 0 / 10%);
    border: 0;
}

.js-simple-carousel > img {
    display: none;
}

.js-simple-carousel > img:first-child {
    display: inline;
}

.user-cookie-consent {
    display: none;
    position: fixed;
    right: 0;
    bottom: 0;
    margin: 1.5rem;
    padding: 1.5rem;
    width: 30%;
    min-width: 320px;
    max-width: 400px;
    font-size: .9rem;
    hyphens: auto;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-shadow: 0 0 8px #adadad;
    z-index: 15;
}

.user-cookie-consent > :last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Grid
   ========================================================================== */

.g {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.g-gap-1 {
    gap: 1rem;
}

.g-gap-0 {
    gap: 0;
}

.g-gap-h {
    gap: 0 1.5rem !important;
}

.g-h2 {
    grid-column: span 2;
}

.g-h3 {
    grid-column: span 3;
}

.g-h4 {
    grid-column: span 4;
}

.g-h5 {
    grid-column: span 5;
}

.g-h6 {
    grid-column: span 6;
}

.g-h7 {
    grid-column: span 7;
}

.g-h8 {
    grid-column: span 8;
}

.g-h9 {
    grid-column: span 9;
}

.g-h10 {
    grid-column: span 10;
}

.g-h11 {
    grid-column: span 11;
}

.g-h12 {
    grid-column: span 12;
}

.g-v2 {
    grid-row: span 2;
}

.g-v3 {
    grid-row: span 3;
}

.g-v4 {
    grid-row: span 4;
}

.g-v5 {
    grid-row: span 5;
}

.g-v6 {
    grid-row: span 6;
}

.g-v7 {
    grid-row: span 7;
}

.g-v8 {
    grid-row: span 8;
}

.g-v9 {
    grid-row: span 9;
}

.g-v10 {
    grid-row: span 10;
}

.g-v11 {
    grid-row: span 11;
}

.g-v12 {
    grid-row: span 12;
}

.g-ha1 {
    justify-content: center;
}

.g-ha2 {
    justify-content: flex-end;
}

.g-va-c {
    align-items: center;
}

@media (min-width: 993px) {
    .g-hide:not(.g-show) {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .g-h2, .g-h3 {
        grid-column: span 6;
    }

    .g-h4, .g-h5, .g-h6, .g-h7, .g-h8, .g-h9, .g-h10, .g-h11 {
        grid-column: span 12;
    }

    .gm-h2 {
        grid-column: span 2;
    }

    .gm-h3 {
        grid-column: span 3;
    }

    .gm-h4 {
        grid-column: span 4;
    }

    .gm-h5 {
        grid-column: span 5;
    }

    .gm-h6 {
        grid-column: span 6;
    }

    .gm-h7 {
        grid-column: span 7;
    }

    .gm-h8 {
        grid-column: span 8;
    }

    .gm-h9 {
        grid-column: span 9;
    }

    .gm-h10 {
        grid-column: span 10;
    }

    .gm-h11 {
        grid-column: span 11;
    }

    .gm-h12 {
        grid-column: span 12;
    }

    .gm-v1 {
        grid-row: span 1;
    }

    .gm-hide {
        display: none !important;
    }
}

@media (max-width: 539px) {
    .g {
        gap: 1rem;
    }

    .g-gap-1 {
        gap: .5rem;
    }

    .g-h2, .g-h3, .g-h4, .g-h5, .g-h6, .g-h7, .g-h8, .g-h9, .g-h10, .g-h11 {
        grid-column: span 12;
    }

    .gs-h2 {
        grid-column: span 2;
    }

    .gs-h3 {
        grid-column: span 3;
    }

    .gs-h4 {
        grid-column: span 4;
    }

    .gs-h5 {
        grid-column: span 5;
    }

    .gs-h6 {
        grid-column: span 6;
    }

    .gs-h7 {
        grid-column: span 7;
    }

    .gs-h8 {
        grid-column: span 8;
    }

    .gs-h9 {
        grid-column: span 9;
    }

    .gs-h10 {
        grid-column: span 10;
    }

    .gs-h11 {
        grid-column: span 11;
    }

    .gs-h12 {
        grid-column: span 12;
    }

    .gs-v1 {
        grid-row: span 1;
    }

    .gs-hide {
        display: none !important;
    }
}

/* ==========================================================================
   Media queries
   ========================================================================== */

@media (min-width: 1201px) {
    .header-menu > li > ul {
        position: absolute;
        top: 100%;
        left: -2rem;
        min-width: 320px;
        background: rgba(255, 255, 255, .9);
        backdrop-filter: blur(1rem);
        border-radius: 1rem;
        box-shadow: 2px 2px 1rem rgba(0, 0, 0, .1);
        z-index: 2;

        visibility: hidden;
        opacity: 0;
        transition: opacity .2s;
    }

    .header-menu > li:hover > ul {
        visibility: visible;
        opacity: 1;
        transition: opacity .3s .2s;
    }

    .header-menu > li > ul li {
        margin: 0;
    }

    .header-menu .courses-menu {
        width: 540px;
    }
}

@media (max-width: 1200px) {
    header {
        position: fixed;
        width: 100%;
        max-height: 100%;
        overflow: auto;
        z-index: 2;
    }

    .header {
        grid-template-areas:
            "h-logo h-contacts"
            "h-menu h-menu";
    }

    .header-logo img {
        max-width: 200px;
        height: auto;
    }

    .main {
        padding-top: 82px;
    }

    footer {
        padding-bottom: 80px;
    }

    .header-menu {
        position: fixed;
        left: 0;
        bottom: 0;

        display: flex;
        justify-content: space-evenly;
        align-items: stretch;

        width: 100%;
        height: 80px;
        font-size: .8rem;
        background: rgba(255, 255, 255, .8);
        backdrop-filter: blur(1rem);
        z-index: 2;
    }

    .header-menu > li {
        flex: 1;

        display: flex;
        flex-direction: column;
        justify-content: center;

        margin: 0;
        padding: .5rem 2px;
    }

    .header-menu > li > ul {
        bottom: 80px;
    }

    .header-menu > li > a, .header-menu > li > span {
        line-height: 1.2em;
        text-align: center;
        text-transform: none;
    }

    .header-menu > li > a.btn {
        padding: 0;
        color: #000 !important;
        white-space: normal;
        background: none !important;
        border: none !important;
        border-radius: 0;
    }

    .header-menu > li > ul {
        display: none;

        position: fixed;
        top: auto;
        left: 0;

        padding: 1rem;
        width: 100%;
        max-height: calc(100dvh - 82px - 72px);
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 -5px 15px rgba(0, 0, 0, .1);

        overflow-y: auto;
        overscroll-behavior-y: contain;
    }

    .header-menu > li:hover > ul, .header-menu > li:focus > ul {
        display: grid;
    }

    .header-menu, .header-menu > li > a, .header-menu > li > span {
        font-size: 0.75rem;
    }

    .header-menu {
        align-items: flex-start;
        height: auto;
    }

    .menu-icon-mobile {
        display: block;
        margin: 0 auto;
        width: auto;
        height: 36px;
    }

    .footer1 > .menu:nth-child(2) {
        display: none;
    }

    .start-block-00 {
        background-size: cover;
    }
}

@media (max-width: 1023px) {
    html {
        font-size: 17px;
    }

    .start-block-00 {
        padding: 0.8rem 0 60%;
        background-position: 0 100%;
        background-size: 150%;
    }
}

@media (max-width: 767px) {
    .modal-body {
        padding: 1rem 1.5rem;
    }

    html {
        font-size: 16px;
    }

    .width-wrap {
        padding-left: .8rem;
        padding-right: .8rem;
    }

    .header-menu .courses-menu {
        gap: 0.8rem;
    }

    .header-menu > li > ul a {
        font-size: .8rem;
    }

    .footer1, .footer2 {
        padding: 1.66rem 0;
    }

    .footer1 {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer1-menu li {
        display: inline-block;
        margin-right: .5rem;
        vertical-align: top;
    }

    .footer2 {
        flex-direction: column;
        align-items: flex-start;
    }

    .transparent-block, .white-block {
        padding: 2.2rem 1.4rem;
    }

    .block-sm {
        padding: 1rem;
    }

    .block-sm2 {
        padding: 1.1rem;
    }

    .start-h1 {
        font-size: 2.1rem;
    }

    .start-h2 {
        font-size: 1.6rem;
    }

    .start-h3 {
        font-size: 1.44rem;
    }

    .start-h4 {
        font-size: 1.14rem;
    }

    .start-text1 {
        font-size: 1rem;
    }

    .g-h1:empty {
        display: none;
    }

    .review {
        width: 100%;
    }

    .review__avatar img {
        width: 58px;
        height: 58px;
    }

    .video-reviews {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .block-inline > div {
        display: block;
    }

    .user-cookie-consent {
        bottom: 5rem;
    }
}

@media (max-width: 539px) {
    .main {
        hyphens: auto;
    }

    .btn {
        white-space: normal;
    }

    .header-contacts {
        font-size: .9rem;
    }
}
