    h1,
    h2,
    h3,
    h4 {
        text-align: center;
    }
    
    @media (min-width:960px) {
        .uk-h1,
        h1 {
            margin: 40px 0;
            font-size: 36px;
        }
    }
    
    h4 {
        font-size: 18px;
        line-height: 20px;
    }
    
    em {
        color: #40485e;
    }
    
    .uk-panel>h3 {
        text-transform: uppercase;
        margin: 40px 0px 40px;
    }
    
    .news_mfp_title {
        text-transform: uppercase;
        margin: 40px 15px 0px;
        color: #3f4e70;
    }
    
    .announces_jun_title {
        text-transform: uppercase;
        margin: 40px 0px 25px;
        color: #3f4e70;
    }
    
    .announces .uk-panel>h4, .news_minifrontpage .uk-panel>h4 {
        text-transform: uppercase;
        margin: 1.2rem auto 5rem  auto;
        box-shadow: 0 4px 15px rgba(0, 0, 0, .07);
        padding: 7px;
    }
    
    .announces .uk-panel>h4:hover, .news_minifrontpage .uk-panel>h4:hover {
        box-shadow: 0 4px 15px rgba(0, 0, 0, .35);
    }
    
    .announces .uk-panel>h4 a, .news_minifrontpage .uk-panel>h4 a {
        color: #3f4e70;
        display: block;
        padding: .5rem;
    }
    
    .announces .uk-panel>h4:hover a, .news_minifrontpage .uk-panel>h4:hover a {
        color: #212529;
    }

    .junewsultra.all_announces .jn .jn-right {
        float: none;
        width: 100%;
        margin-top: 20px;
    }
    
    nav.navbar {
        padding: 0;
    }
    
    .add_menu>li {
        display: inline-block;
    }
    
    .add_menu>li>a {
        justify-content: center;
    }
    
    .add_menu li>a {
        font-family: 'Rubik', sans-serif;
        font-size: 16px;
        text-decoration: none;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        padding: 0 10px;
        color: #3f4e70;
    }
    
    .add_menu>li:last-child>a {
        color: #f70000;
    }
    
    .add_menu>li:nth-last-child(2)>a {
        color: #3d804e;
    }
    
    .add_menu li>a:hover {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        color: #3f4e70 !important;
    }
    
    .add_menu li.uk-active>a {
        font-weight: 500;
        color: #3f4e70 !important;
    }
    
    .add_menu .uk-parent {
        position: relative;
    }
    
    .add_menu .uk-parent .uk-nav-sub {
        display: none;
        width: 390px;
        background-color: white;
        position: absolute;
        z-index: 10;
        box-shadow: 2px 2px 20px rgba(53, 53, 53, 0.2);
        padding: 0px;
    }
    
    .add_menu .uk-parent:hover .uk-nav-sub {
        display: block;
        animation: spFadeIn 600ms;
    }
    
    .add_menu .uk-parent:hover .uk-nav-sub a {
        line-height: var(--bs-body-line-height);
        display: flex;
        padding: 10px 20px 10px 20px;
    }
    
    .add_menu .uk-parent:hover .uk-nav-sub li {
        border-bottom: 1px solid #f6f6f7;
    }
    
    .sp-menu-item>a:hover {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .sp-menu-item a.abitur_menu_item {
        background-color: lightgreen;
    }
    /* поднимаем кнопку поиска */
    
    .uk-navbar-item {
        padding: 0;
        position: relative;
    }
    
    .uk-navbar-item a.uk-search-toggle {
        position: absolute;
        width: 20px;
        top: -10px;
        left: 10px;
    }
    /* задаем высоту строк меню */
    
    .sp-megamenu-parent>li>a,
    .uk-navbar-item,
    .uk-navbar-nav>li>a {
        line-height: 52px;
        min-height: 50px;
    }
    
    #sp-custom-bottom {
        background-color: #3f4e70;
    }
    
    .uk-button-primary,
    .uk-button-secondary {
        background-color: #3f4e70;
    }
    
    .uk-button-primary:hover,
    .uk-button-secondary:hover {
        background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
        color: #3f4e70;
        font-weight: bold;
    }
    
    .uk-button-primary a:hover,
    .uk-button-secondary a:hover {
        color: #667;
    }
    
    @media (min-width:992px) {
        .uk-card-body {
            padding: 22px 22px;
        }
        .sp-megamenu-parent>li>a,
        .sp-megamenu-parent>li>span,
        .add_menu li>a {
            padding: 0 6px;
            font-size: 14px !important;
        }
    }
    
    @media (min-width:1200px) {
        .uk-card-body {
            padding: 35px 35px;
        }
        .sp-megamenu-parent>li>a,
        .sp-megamenu-parent>li>span,
        .add_menu li>a {
            padding: 0 8px;
            font-size: 16px !important;
        }
    }
    
    .uk-logo {
        width: 100%;
    }
    
    .uk-logo img:last-child {
        width: 99%;
        margin-top: .5rem;
    }
    /* drop button accordion style */
    
    .drop-button {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 1rem;
        text-align: left;
        background-color: #fff;
        border: 0;
        border-radius: 0;
        overflow-anchor: none;
        transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;
        background-color: #f8f9fa;
        border-bottom: 3px solid white;
    }
    
    .drop-button a {
        color: #212529 !important;
        font-weight: 500;
        max-width: 97%;
    }
    
    .drop-button:hover {
        background-color: #5c636a;
        border-color: #565e64;
    }
    
    .drop-button:hover a {
        color: white !important;
    }
    
    .drop-button:hover::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='3 3 10 10' fill='%23f8f9fa'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    }
    
    .drop-button::after {
        width: 1.25rem;
        height: 1.25rem;
        margin-left: auto;
        content: "";
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='3 3 10 10' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-size: 1.25rem;
        transition: transform .2s ease-in-out;
    }
    
    .drop-button:not(.collapsed) {
        background-color: #5c636a;
        font-weight: bold;
        border: none;
    }
    
    .drop-button:not(.collapsed) a {
        color: white !important;
    }
    
    .drop-button:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='3 3 10 10' fill='%23f8f9fa'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        transform: rotate(-180deg);
        color: white;
    }
    /* bootstrap accordion style */
    
    .accordion-button {
        background-color: #f8f9fa;
        border-bottom: 3px solid white;
    }
    
    .accordion-button:not(.collapsed) {
        background-color: #5c636a;
        font-weight: bold;
        color: white;
        border: none;
    }
    
    .accordion-button:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f8f9fa'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        transform: rotate(-180deg);
        color: white;
    }
    
    .accordion-button:focus {
        border: none;
        box-shadow: 0 0 0 .25rem rgba(130, 138, 145, .5);
    }
    /* --- кнопка версии для слабовидящих --- */
    
    #jTemplateRolling.btn {
        color: white;
        font-weight: 700;
    }
    /*For tables*/
    
    .even-odd tbody tr:nth-child(even) {
        background: #eaeaea
    }
    
    .even-odd tbody tr:nth-child(odd) {
        background: #FFF
    }
    
    .with-border td,
    .with-border th {
        border: 1px solid #dadada
    }
    
    .without-border td,
    .without-border th {
        border: none
    }
    
    table {
        width: 100%;
    }
    
    table tbody p {
        margin: 0
    }
    
    table tbody ul {
        margin: .5rem 0 .5rem 0
    }
    
    table tbody tr td {
        padding: .5rem
    }
    
    table thead tr,
    .blog thead tr {
        background-color: #999999;
        color: #ffffff;
        text-align: center;
        vertical-align: middle;
        font-weight: bold;
    }
    
    table thead tr td,
    table thead tr th,
    .blog thead tr td,
    .blog thead tr th {
        padding: 1rem 0 1rem 0;
    }
    
    #content table thead tr td p {
        color: #ffffff
    }
    /* For visit card of emloyees */
    
    .employee>h4 {
        text-align: left;
        min-height: 2.5rem;
    }
    
    .employee p img {
        float: left;
        margin: 0 10px 0 0;
        border: 1px solid;
        width: 105px;
        height: 160px;
    }
    
    .employee {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .employee .employee-contact {
        background-color: #e9edee;
        margin-left: -10px;
    }
    
    .employee .employee-contact>div {
        padding-left: 150px;
    }
    
    .employee details,
    .pub-activity details {
        margin-top: 7px;
        background-color: #e9edee;
        padding: 10px;
        margin-left: -10px;
        hyphens: auto;
    }
    
    .pub-activity details {
        padding: 7px 1px 7px 1px;
        background-clip: padding-box;
        border-right: 20px solid transparent;
    }
    
    .pub-activity details.ruk-tvo {
        background-color: #cad9dd;
    }
    
    .pub-activity details summary {
        padding-left: 10px;
    }
    
    .pub-activity details ol {
        background-color: white;
        padding: 5px 5px 5px 25px;
        height: calc(100% - 45px);
    }
    
    .slideplus-navigation>a,
    .slideplus-paging>a {
        width: 1.8rem;
        height: 1.8rem;
    }
    /* Forms */
    
    form p,
    .qf3form.default * {
        line-height: 2rem;
        margin: .5rem 0;
    }
    
    .qf3form.default h4 {
        margin: 1.5rem 0;
        font-size: 1.4rem;
    }
    
    .qf3form.default .qf3label {
        font-size: 100%;
        line-height: 1.5rem;
    }
    
    .qf3form.default .qf3txt input,
    .qf3form.default select,
    .qf3form.default textarea {
        width: 62%;
        border-radius: 0.3em;
        font-size: 92%;
        padding: .3rem;
    }
    
    .qf3form.default select {
        padding: 0.6rem;
    }
    
    input[type="button"],
    .qf3form.default .qf3btn input[type="button"] {
        min-width: 200px;
        background: #586273;
        border-radius: 0;
        font-size: 1rem;
    }
    
    input:hover,
    .qf3form.default .qf3btn input:hover {
        color: #40485e;
    }
    
    .qf3form.default .qf3btn {
        padding: 1.2rem 0 1.2em 0;
    }
    
    .qf3form.default {
        padding: 2em 0;
        background: none;
    }
    
    main a,
    main a:visited {
        color: #196bc1;
    }
    
    main a:hover {
        color: #d5451a;
    }
    
    .drop-button-wrapper+ul,
    .drop-button-wrapper+ol,
    .drop-button-wrapper+div {
        margin: 0px 0 1rem;
        background: url('https://mebik.ru/images/crosslist.png') repeat !important;
        padding: 1rem 5rem !important;
    }
    
    .row {
        --bs-gutter-x: 1.875rem
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px
    }
    
    .junewsultra .title {
        min-height: 3.5rem;
    }
    
    .blog .items-leading .item-image {
        text-align: center;
    }
    
    .blog .items-leading .icons {
        display: none;
    }
    
    .blog .items-leading div[class^="leading-"] {
        margin-top: 3rem;
    }
    
    p.readmore {
        text-align: right;
    }
    
    p.readmore .btn {
        color: #196bc1;
    }
    
    #categorylist_header_title,
    #categorylist_header_date,
    .category td.list-date {
        text-align: center;
        vertical-align: middle;
        border-left: 1px solid #fff;
    }
    
    .category-list thead tr a,
    .content-category thead tr a {
        color: #fff !important;
        font-weight: bold;
    }
    
    .content-category .list-title {
        padding-left: .5rem !important;
    }
    
    .content-category .list-date {
        text-align: center;
    }
    /*--- Сведения об образовательной организации --- */
    
    #about-menu li li {
        margin: .5rem 0 0 15px;
        list-style-type: square;
    }
    
    #about-menu li li a {
        color: #555;
    }
    
    #about-menu li li a:hover {
        color: #087dd1;
        background: #e0e0e0
    }
    
    #about-menu>div>ul>li>a {
        display: none
    }
    
    #contact-list td {
        border: 1px solid #dadada;
    }
    
    #contact-list tbody .subheader {
        background-color: #cacaca;
        text-align: center;
    }
    
    #contact-list tbody .subsubheader {
        background-color: #dedede;
        text-align: center;
    }
    
    #contact-list thead tr td:first-child {
        width: 130px;
    }

    #search-results .term {
        font-weight: bold;
        font-style: italic;
    }

    #search-results .result-title {
        text-align: justify;
        margin: 1rem 0;
    }

    #search-results #search-result-list li {
        text-align: justify;
        margin: 3rem 0;
        border-bottom: 1px solid black;
    }

    #search-results #search-result-list li figure {
        text-align: center;
    }

    .tm-price-table_featured {
        position: absolute;
        top: 0;
        left: auto;
        right: 0;
        z-index: 9;
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
        width: 150px;
        overflow: hidden;
        height: 150px
    }
    
    .tm-price-table_featured-inner {
        text-align: center;
        text-transform: uppercase;
        left: 0;
        width: 200%;
        -webkit-transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
        -ms-transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
        transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
        margin-top: 35px;
        font-size: 12px;
        line-height: 2;
        color: #fff
    }
    
    .tm-social-list .uk-icon-button {
        line-height: 36px
    }
    
    .price-wrapper {
        display: inline-block;
        position: relative;
        padding-left: 25px
    }
    
    .price-wrapper .currency {
        position: absolute;
        left: 0;
        top: 0;
        font-size: 40px;
        line-height: 46px
    }
    
    .price-wrapper .figure {
        font-size: 72px;
        line-height: 72px;
        font-weight: 700;
        position: relative
    }
    
    .heading-highlighted-wrapper .uk-margin-small-right {
        margin-right: 6px !important
    }
    
    .heading-highlighted-wrapper .uk-margin-small-left {
        margin-left: 6px !important
    }
    
    .uk-card-muted {
        background: #f7f8fa;
        box-shadow: none
    }
    
    @media (min-width:1400px) {
        .container {
            max-width: 1320px
        }
        .body-wrapper .tm-page {
            max-width: 1320px
        }
        .tm-page-width {
            max-width: 1320px
        }
        .tm-page-margin-top {
            margin-top: 60px
        }
        .tm-page-margin-bottom {
            margin-bottom: 60px
        }
        .tm-outside .tm-page-width {
            padding: 0
        }
    }
    
    .sp-megamenu-parent>li.active>a {
        font-weight: 500
    }
    
    .uk-navbar-nav .sp-dropdown-mega .sp-dropdown-inner {
        padding: 20
    }
    
    .uk-navbar-right {
        gap: 0;
    }
    
    .uk-list.uk-list-divider li a.uk-link-reset {
        font-family: 'Titillium Web', sans-serif;
        font-size: 24px;
        line-height: 1.4;
        text-align: center;
        display: block;
        margin-bottom: 20px;
    }
    /* arrow image for parent item */
    
    ul.sp-dropdown-items li.sp-has-child>a:after {
        content: "";
        display: block;
        position: absolute;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 6px 0 6px 7px;
        border-color: transparent transparent transparent #3f4e70;
        top: 7px;
        right: 0px;
        margin: 10px 4px;
    }
    /*----- BEGIN Частично сворачиваемый текст -----*/
    
    .partCollapse .collapse:not(.show) {
        display: block;
        max-height: 195px;
        overflow: hidden;
    }
    
    .partCollapse p.collapsing {
        min-height: 195px;
    }
    
    .partCollapse p.collapse.show {
        display: block;
    }
    
    .partCollapse a.collapsed:after {
        content: '+ Показать все';
    }
    
    .partCollapse a:not(.collapsed):after {
        content: '- Скрыть';
    }
    
    .partCollapse a:active,
    .partCollapse a:focus {
        color: #196bc1;
    }
    /*----- END -----*/

    /*----- BEGIN Форма контакта -----*/
    .contact-form #jform_captcha {
        margin-bottom: 2rem;
    }

    input.priem-form-phone {
        margin-bottom: 2rem;
    }

    .com-contact__thumbnail {
        text-align: center;
        padding-top: 2rem;
    }
    /*----- END -----*/
