.meta-cost:empty {
    display: none !important;
}

.clt-pay-button {
    border: none !important;
    display: inline-block !important;
    text-align: center !important;
    padding: 7px 20px !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: OpenSans, sans-serif;
    cursor: pointer !important;
    border-radius: 2px !important;
    background: #7ab72b !important;
}

.clt-mobile-top-block {
    display: none;
}

.clt-sticky-header__menu-text {
    display: none !important;
    margin-left: auto;
    margin-right: auto;
    width: max-content;
}

.clt-sticky-header__menu-hamburger-icon {
    display: none !important;
}

.--clt-extra-mobile {
    display: none;
}

.clt-ads-handbook {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

@media screen and (max-width: 700px) {
    body {
        max-width: 100% !important;
    }
}

@media screen and (max-width: 700px) {
    html[lang] {
        margin-top: 0 !important;
    }

    nav#top_nav {
        top: initial !important;
        width: 100% !important;
        box-sizing: border-box;
        height: 40px !important;
        position: static !important;
    }

    .top-inner {
        display: flex;
        width: 100%;
        flex-direction: column;
    }

    html {
        margin-top: 0 !important;
    }

    .block-top-logo {
        width: 80%;
        float: none;
        height: max-content;
        padding: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .block-top-logo > a {
        display: flex;
        height: max-content;
        width: 100%;
    }

    .block-top-logo > a > img {
        width: 100%;
        height: auto;
    }

    .date {
        box-sizing: border-box;
        margin-left: auto;
        margin-right: 0;
    }

    img.alignleft.wp-post-image {
        margin: 11px;
    }

    .sidebar .widget .textwidget {
        padding-left: 0;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        padding-left: 6%;
        padding-right: 6%;
    }

    .sidebar .widget a {
        display: flex;
        justify-content: center;
    }

    .sidebar .widget img {
        width: 100%;
    }

    .inner.cf {
        width: 100%;
    }

    footer .about-us {
        padding-left: 0;
        margin-left: 0;
        padding-right: 0;
        margin-top: 20px;
    }

    footer .contact-us {
        margin-left: 0;
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
        box-sizing: border-box;
        margin-top: 20px;
    }

    footer .directions {
        margin-top: 20px;
        margin-left: 0;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }

    footer .about-us > ul {
        width: 100% !important;
        margin-left: 0 !important;
    }

    footer ul li {
        padding-top: 5px;
        padding-bottom: 5px;
        padding: 5px 20px;
    }

    footer h3 {
        padding: 10px 20px !important;
    }

    footer ul li {
        color: lightblue;
    }

    footer .contact-us > * {
        padding-left: 20px;
        margin-left: 0 !important;
        padding-right: 20px !important;
        line-height: 1.8;
    }

    footer a {
        color: lightgray;
    }

    footer .directions > .footer-payments {
        padding-left: 20px;
        padding-right: 20px;
    }

    footer .directions > .footer-payments > p {
        margin-left: 0 !important;
    }

    article.front {
        padding-bottom: 20px;
    }

    h2.first-title {
        text-align: center;
    }

    #doc_time {
        height: max-content;
        margin-top: 0;
        text-align: center;
        margin-top: 10px;
    }

    article.front {
        width: 100%;
        margin-top: 20px;
    }

    article.front > marquee {
        font-size: 26px !important;
    }

    #main-content marquee > img {
        width: 100%;
    }

    ul#menu-menu-1 a {
        display: flex;
        padding-right: 20px !important;
        padding-left: 20px !important;
        text-align: left !important;
        height: max-content;
    }

    .inner-top {
        width: 100% !important;
    }

    #top .block-top, #top .block-top-logo, #top .block-top1 {
        display: none;
    }

    .clt-mobile-top-block {
        display: flex;
        flex-direction: row;
        padding: 0 0;
        flex-wrap: wrap;
        justify-content: space-evenly;
        padding-bottom: 15px;
    }

    .block-top-mobile-contacts-logo {
        order: 1;
    }

    .block-top-mobile-contacts-1 {
        order: 2;
        display: flex;
        width: max-content;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.4;
        box-sizing: border-box;
        font-weight: bold !important;
        text-align: center !important;
    }

    .block-top-mobile-contacts-2 {
        order: 3;
        width: max-content;
        font-size: 13px;
        line-height: 1.4;
        box-sizing: border-box;
        /* padding-right: 20px; */
        text-align: center !important;
    }

    .block-top-mobile-contacts-logo {
        width: 100%;
        /* display: flex; */
        justify-content: center;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
        margin-top: 15px;
        position: relative;
        margin-bottom: 15px;
    }

    .block-top-mobile-contacts-logo > img {
        width: 86%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    #top {
        height: max-content;
    }

    .top-inner {
        height: max-content;
    }

    .block-top-mobile-contacts-logo:after {
        content: '';
        width: 100%;
        border-top: 3px #014B92 solid;
        display: block;
        margin-top: 15px;
    }

    .clt-sticky-header__menu-text {
        color: white;
        display: flex !important;
        font-size: 20px;
    }

    .clt-sticky-header__menu-hamburger-icon {
        display: none !important;
    }

    .clt-sticky-header {
        display: flex !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
        margin-top: 0 !important;
        height: 100% !important;
        align-items: center;
    }

    .navigation-menu > svg {
        display: none !important;
    }

    .clt-sticky-header > svg {
        display: none;
    }

    nav .navigation-menu {
        width: 100% !important;
    }

    nav .navigation-menu {
    }

    nav .navigation-menu {
        height: 39px;
    }

    header .inner-top {
        height: 40px !important;
    }

    header {
        height: 40px !important;
        position: relative;
    }

    .nav-container.responsivemenu li {
        height: max-content !important;
        float: none;
        display: flex;
        align-items: center !important;
        height: max-content;
    }

    .nav-container.responsivemenu li > a {
        display: flex !important;
        height: max-content !important;
        font-size: 16px;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
        min-height: initial !important;
    }

    .responsivemenu ul li a {
        border-bottom: 1px solid white !important;
    }

    .nav-container.responsivemenu li > a {
        background-color: #014B92;
    }

    ul#menu-menu-1 li > ul a {
        display: flex;
    }

    .nav-container.responsivemenu li ul > li > a {
        background-color: rgba(1, 75, 146, 0.6);
        background-color: #3E7CB1;
    }

    .nav-container.responsivemenu li > a {
        padding-right: 20px;
        width: 100%;
    }

    .responsivemenu ul {
        width: 100% !important;
    }

    .nav-container > div > ul > li > a {
        display: none !important;
    }

    .nav-container.responsivemenu > div > ul li a {
        position: relative;
    }

    .nav-container.responsivemenu > div > ul > li > a:after {
        position: absolute;
        content: '';
        display: block;
        width: 5px;
        height: 5px;
        background-color: white;
        top: 50%;
        left: 2%;
        transform: translateY(-50%);
    }

    [data-clt-sticky-mobile-header] {
        z-index: 999;
    }

    [data-clt-sticky-mobile-header][data-clt-status="expanded"] {
        position: fixed !important;
        top: 0 !important;
    }

    [data-clt-nav-menu][data-clt-status="expanded"] {
        height: 100% !important;
        overflow-y: scroll !important;
    }

    div#topcontrol {
        width: 59px;
        height: 59px;
        right: 15px !important;
        bottom: 25px !important;
    }

    div#topcontrol > img {
        width: 100%;
    }

    [data-ctl-sticked-nav-menu-content][data-clt-status="collapsed"] {
        display: none;
    }

    [data-ctl-sticked-nav-menu-content][data-clt-status="expanded"] {
        display: flex;
        flex-direction: row;
    }

    [data-ctl-sticked-nav-menu-content][data-clt-status="expanded"] .clt-sticky-header__menu-text {
        display: none !important;
    }

    [data-clt-nav-hide-on-sticky][data-ctl-is-sticky="true"] {
        display: none !important;
    }

    #sticky-wrapper {
        position: relative;
        z-index: 999;
    }

    #sticky-wrapper:not(.is-sticky) [data-ctl-sticked-nav-menu-content] {
        display: none;
    }

    a.ctl-sticky-header__content-logo {
        height: 60px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        display: flex;
        align-items: center;
        /* top: 50%; */
    }

    a.ctl-sticky-header__content-logo > img {
        height: 63%;
        width: auto;
    }

    #sticky-wrapper.is-sticky header nav .navigation-menu {
        background-color: white;
    }

    #sticky-wrapper.is-sticky > header .clt-sticky-header__menu-text {
        display: none !important;
    }

    .navigation-menu .openresponsivemenu {
        padding-left: 25px;
        padding-right: 25px;
    }

    #sticky-wrapper.is-sticky header nav .navigation-menu {
        height: 60px;
    }

    .ctl-sticky-header__content {
        height: 100%;
        display: flex;
        align-items: center;
    }

    #sticky-wrapper.is-sticky > header .navigation-menu .openresponsivemenu {
        box-shadow: 0 0 5px 1px rgba(1, 75, 146, 0.8);
        background-color: white !important;
    }

    header .navigation-menu .openresponsivemenu {
        -webkit-tap-highlight-color: transparent;
    }

    #sticky-wrapper.is-sticky > header[data-clt-status="expanded"] .ctl-sticky-header__content_theme_ctl > svg {
        fill: #014B92
    }

    footer .directions > a:first-of-type {
        margin: 0 !important;
        margin-left: 20px !important;
    }
}

/*про нас*/
@media screen and (max-width: 700px) {
    article {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 0 !important;
        float: none;
    }

    .page #comments {
        margin-top: 10px !important;
        display: none;
    }

    #main-content .sidebar {
        margin-top: 20px;
    }

    .sidebar .widget:first-child {
        float: none;
    }

    .sidebar .widget .searchform {
        padding-top: 0;
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .sidebar .widget ul li a {
        text-align: left !important;
        width: 89%;
        display: block;
        font-size: 19px;
        line-height: 1.4;
        word-break: break-word;
    }

    #main-content .sidebar ul li + li {
        margin-top: 15px;
    }

    .sidebar .widget .widget-title {
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .calendar_wrap {
        font-size: 20px;
    }

    .calendar_wrap > table {
        border-collapse: collapse;
    }

    .sidebar .widget table td {
        padding: 15px;
    }

    .sidebar .widget table th {
        padding: 10px;
    }

    .sidebar .widget table caption {
        margin-top: 0;
    }

    .widget_calendar > .widget-title {
        margin-top: 20px;
    }

    .textwidget {
        font-size: 18px;
        line-height: 1.6 !important;
    }

    .s2_form_widget {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sidebar .widget table {
        width: 100%;
        box-sizing: border-box !important;
    }

    .widget_recent_entries {
        width: 100%;
        box-sizing: border-box;
    }

    .widget_recent_entries > ul {
        width: 100%;
        box-sizing: border-box;
    }

    .widget_recent_entries > ul > li {
        width: 90% !important;
        margin-left: 5% !important;
        padding-left: 5% !important;
    }

    .widget_nav_menu {
        width: 100%;
        box-sizing: border-box !important;
    }

    .sidebar .widget_nav_menu ul li {
        width: 90% !important;
        box-sizing: border-box !important;
        display: block !important;
        margin-left: 5%;
        padding-left: 5%;
    }

    .s2_form_widget p.s2_message {:;: 1;:;
        line-height: 1.3;
        font-size: 13px;
    }

    .s2_form_widget .subscribe {
        width: 92%;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .sidebar .widget .searchform {
        margin-top: 0;
    }
}


/*категорія (пости)*/
@media screen and (max-width: 700px) {
    article.hentry > .post-entry-all {
        display: flex;
        flex-direction: column;
    }

    article.hentry .post-entry-img {
        width: 100% !important;
        height: 146px;
    }

    article.hentry .post-entry-img a {
        display: flex;
        justify-content: center;
        height: 100%;
        width: 100%;
    }

    article.hentry .post-entry-img a img {
        /* width: 100%; */
        height: 100%;
        border-radius: 5px;
    }

    article.hentry .post-entry-pp {
        width: 100%;
        margin-left: 0;
        display: flex;
        flex-direction: column;
        margin-top: 10px;
    }

    article.hentry .post-entry-pp .post-entry-md {
        margin-right: 0;
        margin-bottom: 0;
        width: 100% !important;
        order: 2;
        font-size: 3.6vw;
        margin-top: 5px;
    }

    article.hentry .post-entry-pp .meta-cost {
        float: none;
        order: 3;
        margin-top: 20px;
        margin-bottom: 20px;
        font-weight: bold;
        width: max-content;
        padding: 10px 25px;
        font-size: 18px;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    article.hentry .post-entry-pp .post-entry-title {
        order: 1;
        font-size: 21px;
        margin-bottom: 5px;
        padding-bottom: 10px;
        width: 100%;
        border-bottom: 1px solid #014B92;
    }

    article.hentry .post-entry-pp > * {
        order: 4;
    }

    article.hentry .meta-zap {
        margin-top: 20px;
        float: none;
        text-align: left;
        font-weight: bold;
    }

    article.hentry .post-tags-ads {
        font-weight: bold !important;
    }

    article.hentry .post-entry-pp > *:nth-child(4n) {
        font-style: italic;
    }

    .cat-all {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        width: 100% !important;
        max-width: 100% !important;
        height: max-content !important;
        margin-top: 30px;
        margin-bottom: 0;
    }

    .cat-all > .cat {
        width: 26%;
        float: none !important;
        margin-bottom: 0 !important;
    }

    .cat-all > .cat > a {
        display: flex;
        flex-direction: column;
        font-size: 17px;
        justify-content: center !important;
        align-items: center !important;
    }

    .cat-all > .cat > a > br {
        display: none;
    }

    .cat-all > .cat > a > img {
        margin-bottom: 10px;
    }

    .cat-all > .cat:nth-child(n + 4) {
        margin-top: 20px;
    }

    .blog-left-title {
        padding-left: 15px;
        float: none !important;
        padding-right: 15px;
        width: 100%;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 700px) {
    .wp-pagenavi {
        padding-left: 15px !important;
        padding-right: 15px !important;
        display: flex;
        justify-content: flex-end;
        font-size: 14px;
    }

    .wp-pagenavi a, .wp-pagenavi span {
        padding: 4px 12px;
    }

    .blog-left .blog-left-title {
        padding-top: 0;
        height: max-content;
        margin-top: 22px;
        float: none !important;
        text-align: center;
        margin-bottom: 22px;
        line-height: 1.2;
    }

    .blog-left .post-title {
        margin-top: 0;
        margin-bottom: 0;
    }

    .wpagen {
        float: none !important;
        display: flex;
        justify-content: flex-end;
        margin-top: 20px;
    }

    #main-content .blog-left {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        float: none;
        box-sizing: border-box;
    }
}

/*оголошення*/
@media screen and (max-width: 700px) {
    .wpcf7 p {
        width: 100%;
    }

    .wpcf7 p label > span {
        display: flex;
        margin-bottom: 5px;
    }

    .wpcf7 p label > br {
        display: none !important;
    }

    .wpcf7 p label {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .wpcf7 p label input {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .wpcf7 p label > span > select {
        width: 100%;
        height: 40px;
    }

    .wpcf7-form .wpcf7-text {
        height: 40px !important;
    }

    div.wpcf7 input[type="file"] {
        margin-top: 15px;
        display: flex;
    }

    .clt-single-page-article .post-title {
        margin-top: 15px;
        text-align: center;
    }

    .clt-single-page-article .post-entry {
        margin-top: 15px;
    }

    .clt-contact-form {
        padding-top: 0;
        padding-bottom: 0;
    }

    .clt-contact-form > p {
        margin-top: 15px !important;
        margin-bottom: 0 !important;
        float: none !important;
    }

    .clt-contact-form label {
        font-size: 16px !important;
    }

    .clt-contact-form p {
        margin-bottom: 0 !important;
    }

    .clt-contact-form .wpcf7-form-control-wrap {
        margin-bottom: 0 !important;
    }

    .wpcf7-form .clt-contact-form .wpcf7-text {
        float: none !important;
    }

    .clt-contact-form .wpcf7-form input[type="email"] {
        margin-bottom: 0 !important;
    }

    .clt-contact-form > p {
        display: flex !important;
    }

    .clt-contact-form p {
        float: none !important;
    }

    .clt-contact-form label span {
        margin-bottom: 10px !important;
    }

    .clt-contact-form select {
        border: 1px solid #e8e8e8 !important;
    }

    .clt-contact-form .wpcf7-form-control {
        margin-top: 0 !important;
    }

    .wpcf7-form .clt-contact-form input[type="email"].wpcf7-email {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .wpcf7-form .clt-contact-form input[type="file"] {
        border: none !important;
        margin-top: 10px !important;
    }

    .clt-contact-form .wpcf7-form-control.g-recaptcha.wpcf7-recaptcha {
        margin-top: 10px !important;
    }

    .spoiler legend input {
        float: left;
        margin-left: 7px;
        margin-right: 7px;
    }

    .spoiler > legend {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .clt-base-margin-top {
        margin-top: 30px !important;
    }

    .spoiler legend input {
        align-self: center;
    }
}

@media screen and (max-width: 700px) {
    .clt-single-page-article .post-entry > p {
        line-height: 1.7 !important;
    }

    .clt-category-prospectus article .name {
        line-height: 1.6 !important;
    }

    .clt-category-prospectus article .post-entry a {
        line-height: 1.2
    }
}

@media screen and (max-width: 700px) {
    .--clt-extra-hide-on-mobile {
        display: none !important;
    }

    .--clt-extra-mobile {
        display: initial;
    }

    .post-meta.--clt-extra-mobile {
        display: flex;
        flex-direction: column;
        margin-bottom: 10px !important;
    }

    .clt-posts-archive article .post-image > img {
        width: 100%;
        margin-bottom: 15px;
    }

    .clt-posts-archive article .post-image {
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .clt-posts-archive article .post-footer {
        display: flex;
        justify-content: flex-end;
    }
}

@media screen and (max-width: 700px) {
    table.clt-act-table-desktop {
        display: none;
    }

    .clt-act-grid-table-mobile {
        height: max-content !important;
        width: 100%;
        max-height: initial !important;
        display: grid;
        grid-template-columns: 10fr 6fr 6fr;
        margin-top: 20px !important;
    }

    .clt-act-grid-table-mobile__cell-1 {
        grid-column: 1;
        padding: 10px 10px;
        align-self: center;
        border-bottom: 1px solid lightgray;
        height: 100% !important;
        box-sizing: border-box;
        display: flex;
        align-items: center;
    }

    .clt-act-grid-table-mobile__cell-2 {
        grid-column: 2;
        padding: 5px 10px;
        align-self: center;
        height: 100% !important;
        box-sizing: border-box;
        border-bottom: 1px solid lightgray;
        display: flex;
        align-items: center;
    }

    .clt-act-grid-table-mobile__cell-3 {
        grid-column: 3;
        align-self: center;
        display: flex;
        align-items: center;
        height: 100% !important;
        box-sizing: border-box;
        border-bottom: 1px solid lightgray;
        padding: 5px 10px;
    }

    .clt-act-grid-table-mobile__cell-1:nth-child(6n + 1) {
        background-color: rgba(1, 75, 146, 0.02);
    }

    .clt-act-grid-table-mobile__cell-2:nth-child(6n + 2) {
        background-color: rgba(1, 75, 146, 0.02);
    }

    .clt-act-grid-table-mobile__cell-3:nth-child(6n + 3) {
        background-color: rgba(1, 75, 146, 0.02);
    }

    .clt-act-grid-table-mobile__cell-2-head {
        color: rgba(1, 75, 146, 1);
        font-weight: bold;
    }

    .clt-act-grid-table-mobile__cell-3-head {
        color: rgba(1, 75, 146, 1);
        font-weight: bold;
    }

    .clt-act-grid-table-mobile-desc {
        height: max-content !important;
        padding: 5px 10px;
    }

    .clt-act-grid-table-mobile-desc__item {
        height: max-content !important;
    }

    .clt-act-grid-table-mobile-desc__item + .clt-act-grid-table-mobile-desc__item {
        margin-top: 20px !important;
    }

    .clt-act-grid-table-mobile-desc {
        display: grid;
        grid-template-columns: 15fr 100fr;
        height: max-content !important;
    }

    .clt-act-grid-table-mobile-desc__item-name {
        grid-column: 1;
        height: 100% !important;
        padding: 5px;
        box-sizing: border-box !important;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    .clt-act-grid-table-mobile-desc__item-value {
        height: 100% !important;
        padding: 5px !important;
        box-sizing: border-box;
        line-height: 1.4;
    }

    .clt-act-grid-table-mobile__cell-1-head {
        border-top: 1px solid lightgray;
    }

    .clt-act-grid-table-mobile__cell-2-head {
        border-top: 1px solid lightgray;
    }

    .clt-act-grid-table-mobile__cell-3-head {
        border-top: 1px solid lightgray;
    }
}

@media screen and (max-width: 700px) {
    .sticky-wrapper.is-sticky header .ctl-sticky-header__content {
        display: flex !important;
    }

    .spoiler legend {
        display: grid;
        width: 100%;
        grid-template-columns: max-content 1fr;
        padding-top: 7px;
        padding-bottom: 7px;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    .spoiler legend > span {
        align-self: center;
    }

    .spoiler {
        line-height: 1.6;
    }

    .spoiler > div > br:first-child {
        display: none !important;
    }

    .blog-left article .post-entry p, .services-entry p {
        line-height: 1.6;
    }

    .spoiler > div > p:not(:empty) {
        margin-top: 0 !important;
    }

    .spoiler > div > p:empty {
        display: none !important;
    }

    div#doc_time {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 15px;
        box-sizing: border-box;
    }

    .nav-container.responsivemenu li {
        display: flex;
        flex-direction: column;
    }

    #top_nav .nav-container.responsivemenu ul li ul li > a {
        padding-left: 30px !important;
    }

    #top_nav .nav-container.responsivemenu ul li ul li ul li a {
        background-color: #224870 !important;
        display: block !important;
        padding-left: 45px !important;
    }

    .cat-all {
        min-width: initial !important;
    }

    .blog-left article .post-title {
        line-height: 1.4 !important;
    }
}

/*single post*/
@media screen and (max-width: 700px) {
    .single-post-imageg {
        width: 100% !important;
        box-sizing: border-box;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .blog-left article .post-meta {
        margin-bottom: 15px;
    }
}



/*calendar*/
@media screen and (max-width: 700px) {
    #wp-calendar {
        display: grid;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box !important;
        overflow: hidden;
    }

    #wp-calendar > caption {
        width: 100%;
        box-sizing: border-box;
    }

    #wp-calendar > thead > tr {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
    }

    #wp-calendar > thead > tr > th {
        width: 100%;
        box-sizing: border-box;
        font-size: 18px;
        padding: 10px 0;
    }

    #wp-calendar > tbody > tr {
        width: 100%;
        box-sizing: border-box;
        display: grid;
        grid-template-columns: repeat(7, 1fr);
    }

    #wp-calendar > tbody > tr > td {
        width: 100%;
        box-sizing: border-box;
        font-size: 18px;
        padding: 15px 0 !important;
    }

    table#wp-calendar > tfoot {
        width: 100%;
        box-sizing: border-box;
        grid-row: 5;
    }

    table#wp-calendar > tfoot > tr {
        display: grid;
        grid-template-columns: max-content 1fr 1fr;
        width: 100%;
        box-sizing: border-box;
    }
}

/*sidebar*/
@media screen and (max-width: 700px) {
    #text-3 .mono > p {
        margin-top: 0;
    }

    #text-6 {
        margin-bottom: 0 !important;
    }

    #recent-posts-2 {
        margin-top: 20px !important;
        margin-bottom: 0 !important;
    }

    #recent-posts-2 > .widget-title {
        margin-top: 0;
    }

    div#text-3 {
        margin-top: 25px;
    }

    #nav_menu-2 {
        margin-top: 25px !important;
        margin-bottom: 0 !important;
    }

    #nav_menu-2 .widget-title {
        margin-top: 0 !important;
    }

    #nav_menu-3 {
        margin-top: 25px !important;
        margin-bottom: 0 !important;
    }

    #nav_menu-3 > .widget-title {
        margin-top: 0 !important;
    }

    #s2_form_widget-2 {
        margin-top: 25px !important;
    }

    #s2_form_widget-2 > .widget-title {
        margin-top: 0 !important;
    }

    #calendar-2 {
        margin-bottom: 0 !important;
    }

    #text-6 {
        margin-top: 25px !important;
    }

    #text-6 .widget-title {
        margin-top: 0 !important;
    }
}


/*сторінка газета*/
@media screen and (max-width: 700px) {
    .gazeta {
        width: 100%;
    }

    .clt-single-page-article .post-entry > h4 {
        font-size: 20px !important;
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .clt-single-page-article .post-entry > h4 > * {
        font-size: 20px !important;
    }

    .post-entry .clt-pay-button {
        width: 100%;
        display: flex !important;
        padding: 10px 15px !important;
        align-items: center !important;
        border-radius: 0 !important;
        width: 100% !important;
        box-sizing: border-box;
        margin-top: 15px !important;
    }

    .clt-pay-button > br {
        display: none;
    }

    .gazeta img {
        width: 100% !important;
    }

    .gazeta {
        height: max-content;
        display: block !important;
        margin-bottom: 10px;
    }

    .gazeta > p {
        margin-bottom: 0 !important;
    }

    .clt-mobile-img {
        width: 100% !important;
    }

    h1.post-title {
        margin-top: 20px !important;
        text-align: center;
    }
}


@media screen and (min-width: 701px) and (max-width: 1120px) {
    body {
        max-width: 100% !important;
    }

    html[lang] {
        margin-top: 0 !important;
    }

    nav#top_nav {
        top: initial !important;
        width: 100% !important;
        box-sizing: border-box;
        height: 40px !important;
        position: static !important;
    }

    .top-inner {
        display: flex;
        width: 100%;
        flex-direction: column;
    }

    html {
        margin-top: 0 !important;
    }

    .block-top-logo {
        width: 80%;
        float: none;
        height: max-content;
        padding: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .block-top-logo > a {
        display: flex;
        height: max-content;
        width: 100%;
    }

    .block-top-logo > a > img {
        width: 100%;
        height: auto;
    }

    .date {
        box-sizing: border-box;
        margin-left: auto;
        margin-right: 0;
    }

    img.alignleft.wp-post-image {
        margin: 11px;
    }

    .sidebar .widget .textwidget {
        padding-left: 0;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        padding-left: 6%;
        padding-right: 6%;
    }

    .sidebar .widget a {
        display: flex;
        justify-content: center;
    }

    .sidebar .widget img {
        width: 100%;
    }

    .inner.cf {
        width: 100%;
    }

    footer .about-us {
        padding-left: 0;
        margin-left: 0;
        padding-right: 0;
        margin-top: 20px;
        width: 30% !important;
        margin-top: 0 !important;
    }

    footer .contact-us {
        margin-left: 0;
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
        box-sizing: border-box;
        margin-top: 0 !important;
        width: 30% !important;
    }

    footer .directions {
        margin-top: 20px;
        margin-left: 0;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
        width: 30% !important;
        margin-top: 0 !important;
    }

    footer .about-us > ul {
        width: 100% !important;
        margin-left: 0 !important;
    }

    footer ul li {
        padding-top: 5px;
        padding-bottom: 5px;
        padding: 5px 20px;
    }

    footer h3 {
        padding: 10px 20px !important;
        line-height: 32px;
    }

    footer ul li {
        color: lightblue;
    }

    footer .contact-us > * {
        padding-left: 20px;
        margin-left: 0 !important;
        padding-right: 20px !important;
        line-height: 1.8;
    }

    footer a {
        color: lightgray;
    }

    footer .directions > .footer-payments {
        padding-left: 20px;
        padding-right: 20px;
    }

    footer .directions > .footer-payments > p {
        margin-left: 0 !important;
    }

    article.front {
        padding-bottom: 20px;
    }

    h2.first-title {
        text-align: center;
    }

    #doc_time {
        height: max-content;
        margin-top: 0;
        text-align: center;
        margin-top: 10px;
    }

    article.front {
        width: 100%;
        margin-top: 20px;
    }

    article.front > marquee {
        font-size: 26px !important;
    }

    #main-content marquee > img {
        width: 100%;
    }

    ul#menu-menu-1 a {
        display: flex;
        padding-right: 30px !important;
        padding-left: 30px !important;
        text-align: left !important;
        height: max-content;
    }

    .inner-top {
        width: 100% !important;
    }

    #top .block-top, #top .block-top-logo, #top .block-top1 {
        display: none;
    }

    .clt-mobile-top-block {
        display: flex;
        flex-direction: row;
        padding: 0 0;
        flex-wrap: wrap;
        justify-content: space-evenly;
        padding-bottom: 10px;
        padding-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }

    .block-top-mobile-contacts-logo {
        order: 1;
    }

    .block-top-mobile-contacts-1 {
        order: 1;
        display: flex;
        width: max-content;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.4;
        box-sizing: border-box;
        font-weight: bold !important;
        text-align: center !important;
    }

    .block-top-mobile-contacts-2 {
        order: 3;
        width: max-content;
        font-size: 13px;
        line-height: 1.4;
        box-sizing: border-box;
        /* padding-right: 20px; */
        text-align: center !important;
    }

    .block-top-mobile-contacts-logo {
        width: 100%;
        /* display: flex; */
        justify-content: center;
        align-items: center;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        position: relative;
        margin-bottom: 0;
        order: 2;
        width: 40%;
        max-width: 250px;
    }

    .block-top-mobile-contacts-logo > img {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
        max-width: 250px;
    }

    #top {
        height: max-content;
    }

    .top-inner {
        height: max-content;
    }

    .block-top-mobile-contacts-logo:after {
        content: '';
        width: 100%;
        border-top: 3px #014B92 solid;
        display: block;
        margin-top: 15px;
        display: none;
    }

    .clt-sticky-header__menu-text {
        color: white;
        display: flex !important;
        font-size: 20px;
    }

    .clt-sticky-header__menu-hamburger-icon {
        display: none !important;
    }

    .clt-sticky-header {
        display: flex !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
        margin-top: 0 !important;
        height: 100% !important;
        align-items: center;
    }

    .navigation-menu > svg {
        display: none !important;
    }

    .clt-sticky-header > svg {
        display: none;
    }

    nav .navigation-menu {
        width: 100% !important;
    }

    nav .navigation-menu {
    }

    nav .navigation-menu {
        height: 39px;
    }

    header .inner-top {
        height: 40px !important;
    }

    header {
        height: 40px !important;
        position: relative;
    }

    .nav-container.responsivemenu li {
        height: max-content !important;
        float: none;
        display: flex;
        align-items: center !important;
        height: max-content;
    }

    .nav-container.responsivemenu li > a {
        display: flex !important;
        height: max-content !important;
        font-size: 16px;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
        min-height: initial !important;
    }

    .responsivemenu ul li a {
        border-bottom: 1px solid white !important;
    }

    .nav-container.responsivemenu li > a {
        background-color: #014B92;
    }

    ul#menu-menu-1 li > ul a {
        display: flex;
    }

    .nav-container.responsivemenu li ul > li > a {
        background-color: rgba(1, 75, 146, 0.6);
        background-color: #3E7CB1;
    }

    .nav-container.responsivemenu li > a {
        padding-right: 20px;
        width: 100%;
        line-height: 45px !important;
    }

    #top_nav .responsivemenu ul li ul {
        display: block !important;
    }

    nav .navigation-menu ul li ul {
        position: initial !important;
    }

    .responsivemenu ul {
        width: 100% !important;
    }

    .nav-container > div > ul > li > a {
        display: none !important;
    }

    .nav-container.responsivemenu > div > ul li a {
        position: relative;
    }

    .nav-container.responsivemenu > div > ul > li > a:after {
        position: absolute;
        content: '';
        display: block;
        width: 5px;
        height: 5px;
        background-color: white;
        top: 50%;
        left: 2%;
        transform: translateY(-50%);
    }

    [data-clt-sticky-mobile-header] {
        z-index: 999;
    }

    [data-clt-nav-menu][data-clt-status="expanded"] {
        height: 100% !important;
        overflow-y: scroll !important;
    }

    div#topcontrol {
        width: 59px;
        height: 59px;
        right: 15px !important;
        bottom: 25px !important;
    }

    div#topcontrol > img {
        width: 100%;
    }

    [data-ctl-sticked-nav-menu-content][data-clt-status="collapsed"] {
        display: none;
    }

    [data-ctl-sticked-nav-menu-content][data-clt-status="expanded"] {
        display: flex;
        flex-direction: row;
    }

    [data-ctl-sticked-nav-menu-content][data-clt-status="expanded"] .clt-sticky-header__menu-text {
        display: none !important;
    }

    [data-clt-nav-hide-on-sticky][data-ctl-is-sticky="true"] {
        display: none !important;
    }

    #sticky-wrapper {
        position: relative;
        z-index: 999;
    }

    #sticky-wrapper:not(.is-sticky) [data-ctl-sticked-nav-menu-content] {
        display: none;
    }

    a.ctl-sticky-header__content-logo {
        height: 60px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        display: flex;
        align-items: center;
        /* top: 50%; */
    }

    a.ctl-sticky-header__content-logo > img {
        height: 63%;
        width: auto;
    }

    #sticky-wrapper.is-sticky header nav .navigation-menu {
        background-color: white;
    }

    #sticky-wrapper.is-sticky > header .clt-sticky-header__menu-text {
        display: none !important;
    }

    .navigation-menu .openresponsivemenu {
        padding-left: 25px;
        padding-right: 25px;
    }

    #sticky-wrapper.is-sticky header nav .navigation-menu {
        height: 60px;
    }

    .ctl-sticky-header__content {
        height: 100%;
        display: flex;
        align-items: center;
    }

    #sticky-wrapper.is-sticky > header .navigation-menu .openresponsivemenu {
        box-shadow: 0 0 5px 1px rgba(1, 75, 146, 0.8);
        background-color: white !important;
    }

    header .navigation-menu .openresponsivemenu {
        -webkit-tap-highlight-color: transparent;
    }

    #sticky-wrapper.is-sticky > header[data-clt-status="expanded"] .ctl-sticky-header__content_theme_ctl > svg {
        fill: #014B92
    }


    article {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 0 !important;
        float: none;
    }

    .page #comments {
        margin-top: 10px !important;
        display: none;
    }

    #main-content .sidebar {
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        float: none;
        width: 100% !important;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .sidebar .widget:first-child {
        float: none;
    }

    .sidebar .widget .searchform {
        padding-top: 0;
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .sidebar .widget ul li a {
        text-align: left !important;
        width: 89%;
        display: block;
        font-size: 19px;
        line-height: 1.4;
        word-break: break-word;
    }

    #main-content .sidebar ul li + li {
        margin-top: 15px;
    }

    .sidebar .widget .widget-title {
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .calendar_wrap {
        font-size: 20px;
    }

    .calendar_wrap > table {
        border-collapse: collapse;
    }

    .sidebar .widget table td {
        padding: 15px;
    }

    .sidebar .widget table th {
        padding: 10px;
    }

    .sidebar .widget table caption {
        margin-top: 0;
    }

    .widget_calendar > .widget-title {
        margin-top: 20px;
    }

    .textwidget {
        font-size: 18px;
        line-height: 1.6 !important;
    }

    .s2_form_widget {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sidebar .widget table {
        width: 100%;
        box-sizing: border-box !important;
    }

    .widget_recent_entries {
        width: 100%;
        box-sizing: border-box;
    }

    .widget_recent_entries > ul {
        width: 100%;
        box-sizing: border-box;
    }

    .widget_recent_entries > ul > li {
        width: 90% !important;
        margin-left: 5% !important;
        padding-left: 5% !important;
    }

    .widget_nav_menu {
        width: 100%;
        box-sizing: border-box !important;
    }

    .sidebar .widget_nav_menu ul li {
        width: 90% !important;
        box-sizing: border-box !important;
        display: block !important;
        margin-left: 5%;
        padding-left: 5%;
    }

    .s2_form_widget p.s2_message {:;: 1;:;
        line-height: 1.3;
        font-size: 13px;
    }

    .s2_form_widget .subscribe {
        width: max-content;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .sidebar .widget .searchform {
        margin-top: 0;
    }

    article.front .column:nth-of-type(2n) {
        grid-column: 1;
        grid-column: 1;
        grid-column: 2 !important;
    }

    #main-content .front {
        display: grid;
        grid-template-columns: 1fr 1fr;
        box-sizing: border-box;
        width: 100% !important;
        float: none;
    }

    #main-content .front > * {
        grid-column: 1/span2;
    }

    article.front .column:nth-of-type(n) {
        grid-column: 1 !important;
    }

    article.front .column:nth-of-type(2n) {
        grid-column: 2 !important;
    }

    #main-content .front .column {
        width: 94%;
        justify-self: center;
    }

    #main-content .front .column .title-col {
        margin-bottom: 15px;
        line-height: 1.4;
    }

    #custom_html-2 {
        grid-column: 1/span2;
    }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    #custom_html-2 .textwidget.custom-html-widget {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
    }

    #custom_html-2 .textwidget.custom-html-widget br {
        display: none !important;
    }

    #custom_html-2 .textwidget.custom-html-widget > a {
        width: 46%;
    }

    #custom_html-2 .textwidget.custom-html-widget > a:nth-of-type(n + 3) {
        margin-top: 25px;
    }


    #custom_html-2 .textwidget.custom-html-widget > a:nth-of-type(n + 3) {
        margin-top: 25px;
    }

    #custom_html-2 .textwidget.custom-html-widget > a:nth-of-type(2n) {
        margin-left: 25px;
    }

    footer .inner.cf {
        display: flex;
        justify-content: space-between;
    }

    footer .directions {
        width: 30%;
    }

    footer {
        padding-top: 10px;
    }

    footer .directions > a:first-of-type {
        margin: 0 !important;
        margin-left: 20px !important;
    }

    #main-content .blog-left {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
        width: 100% !important;
    }

    .blog-left article .post-entry p, .services-entry p {
        line-height: 1.7;
    }

    .sidebar div#search-2 {
        align-self: center;
    }

    div#s2_form_widget-2 {
        grid-column: 1/span 2;
    }

    .s2_form_widget p.s2_message {
        display: flex;
        justify-content: center;
    }

    .blog-left article .post-entry strong, .services-entry strong {
        line-height: 2 !important;
    }

    .wpcf7-form .clt-contact-form input[type="email"].wpcf7-email {
        width: 100% !important;
    }

    .clt-contact-form {
        grid-template-columns: 1fr 1fr;
        width: 100%;
        grid-column-gap: 20px;
        box-sizing: border-box;
        padding-top: 20px;
    }

    .clt-contact-form .wpcf7-form-control {
        width: 100% !important;
    }

    .blog-left article .post-entry .wpcf7 form p {
        float: none;
        clear: both;
        width: 56%;
        max-width: 400px;
    }

    .clt-contact-form select.wpcf7-form-control {
        height: 40px;
        border: 1px solid #e8e8e8;
    }

    #main-content .blog-left article .post-entry .wpcf7-form input[type="email"] {
        margin-left: 0;
        margin-right: 0;
    }

    .clt-contact-form label {
        width: 100% !important;
    }

    .sticky-wrapper.is-sticky header .ctl-sticky-header__content {
        display: flex !important;
    }

    [data-clt-sticky-mobile-header][data-clt-status="expanded"] {
        position: fixed !important;
        top: 0 !important;
    }

    .nav-container.responsivemenu li {
        display: flex;
        flex-direction: column;
    }

    #top_nav .nav-container.responsivemenu ul li ul li ul li a {
        background-color: #224870 !important;
        display: block !important;
        padding-left: 100px !important;
    }

    #top_nav .nav-container.responsivemenu ul li ul li > a {
        padding-left: 60px !important;
    }
}

/*calendar*/
@media screen and (min-width: 701px) and (max-width: 1120px) {
    #wp-calendar {
        display: grid;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box !important;
        overflow: hidden;
    }

    #wp-calendar > caption {
        width: 100%;
        box-sizing: border-box;
    }

    #wp-calendar > thead > tr {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
    }

    #wp-calendar > thead > tr > th {
        width: 100%;
        box-sizing: border-box;
        font-size: 18px;
        padding: 10px 0;
    }

    #wp-calendar > tbody > tr {
        width: 100%;
        box-sizing: border-box;
        display: grid;
        grid-template-columns: repeat(7, 1fr);
    }

    #wp-calendar > tbody > tr > td {
        width: 100%;
        box-sizing: border-box;
        font-size: 18px;
        padding: 15px 0 !important;
    }

    table#wp-calendar > tfoot {
        width: 100%;
        box-sizing: border-box;
        grid-row: 5;
    }

    table#wp-calendar > tfoot > tr {
        display: grid;
        grid-template-columns: max-content 1fr 1fr;
        width: 100%;
        box-sizing: border-box;
    }
}

/*сторінка газета*/
@media screen and (min-width: 701px) and (max-width: 1120px) {
    .gazeta {
        display: flex !important;
        float: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: max-content !important;
        float: left !important;
        margin-right: 20px !important;
        margin-top: 30px !important;
    }

    .gazeta img {
        width: 100% !important;
    }

    .clt-pay-button {
        width: max-content !important;
        display: flex !important;
        padding: 15px 20px !important;
    }
}

/*оголошення*/
@media screen and (min-width: 701px) and (max-width: 1120px) {
    .clt-contact-form p:last-child {
        height: 40px;
        position: relative;
        width: 250px;
        margin-top: 30px !important;
    }

    .clt-contact-form p:last-child > br {
        display: none !important;
    }

    .clt-contact-form p:last-child > input {
        position: absolute;
        top: 0;
        height: 100%;
        width: max-content;
        margin-top: 0 !important;
    }

    .clt-contact-form > p {
        display: flex !important;
    }

    .clt-contact-form > *:not(:first-of-type) {
        margin-top: 20px !important;
    }

    .wpcf7-form-control.wpcf7-file {
        border: none !important;
        margin-top: 15px;
        margin-bottom:15px
    }

    .clt-base-margin-top {
        margin-top: 30px !important;
    }

    .spoiler legend input {
        align-self: center;
    }

    .blog-left article .post-entry-all:after {
        content: '';
        display: block;
        float: none;
        clear: both;
    }

    .blog-left article .post-entry-img {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .wp-pagenavi {
        margin-bottom: 0 !important;
        margin-top: 20px;
    }

    .wp-pagenavi a, .wp-pagenavi span {
        padding: 5px 15px;
        font-size: 18px;
    }

    .blog-left article .post-entry {
        line-height: 1.5;
    }

    .content-text img {
        margin-top: 20px;
    }

    .post-footer {
        display: flex;
        justify-content: flex-end;
    }
}

/*single post*/
@media screen and (min-width: 701px) and (max-width: 1120px) {
    .single-post-imageg {
        width: 50% !important;
        max-width: 500px !important;
        display: flex !important;
        float: none !important;
        margin-left: auto;
        margin-right: auto;
        justify-content: center !important;
    }

    .blog-left article .post-meta {
        margin-bottom: 15px;
    }

    h1.post-title {
        margin-top: 30px !important;
        text-align: center;
    }
}