@font-face {
    font-family: 'e-Ukraine';
    src: url("../fonts/e-Ukraine/e-Ukraine-Regular.03612fcfb60c.eot");
    src: url("../fonts/e-Ukraine/e-Ukraine-Regular.03612fcfb60c.eot?#iefix") format('embedded-opentype'), url("../fonts/e-Ukraine/e-Ukraine-Regular.47f455ddb769.woff2") format('woff2'), url("../fonts/e-Ukraine/e-Ukraine-Regular.dfa5b653d591.woff") format('woff'), url("../fonts/e-Ukraine/e-Ukraine-Regular.7b6dc35ac8ae.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'e-Ukraine';
    src: url("../fonts/e-Ukraine/e-Ukraine-Medium.f4f70bdfabd2.eot");
    src: url("../fonts/e-Ukraine/e-Ukraine-Medium.f4f70bdfabd2.eot?#iefix") format('embedded-opentype'), url("../fonts/e-Ukraine/e-Ukraine-Medium.6252e68161c8.woff2") format('woff2'), url("../fonts/e-Ukraine/e-Ukraine-Medium.3f5f631b6e30.woff") format('woff'), url("../fonts/e-Ukraine/e-Ukraine-Medium.19222630c161.ttf") format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'e-Ukraine';
    src: url("../fonts/e-Ukraine/e-Ukraine-Bold.3da4856ea913.eot");
    src: url("../fonts/e-Ukraine/e-Ukraine-Bold.3da4856ea913.eot?#iefix") format('embedded-opentype'), url("../fonts/e-Ukraine/e-Ukraine-Bold.21035d620920.woff2") format('woff2'), url("../fonts/e-Ukraine/e-Ukraine-Bold.5402f72767e9.woff") format('woff'), url("../fonts/e-Ukraine/e-Ukraine-Bold.d28ceca2df38.ttf") format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
}

:after, :before, :hover {
    box-sizing: border-box;
}

html {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    background-color: #F2EBD1;
    font-size: 1em;
    color: #121212;
    min-width: 320px;
    font-weight: normal;
    overflow-x: hidden;
    font-family: 'e-Ukraine', Arial, sans-serif !important;
}

#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}

.fas {
    font-family: "Font Awesome 6 Free" !important;
}

a {
    text-decoration: none;
    outline: none;
    color: #121212;
    display: inline-block;
    line-height: 1.5;
}

a:hover {
    text-decoration: none;
    color: #121212;
}

p {
    line-height: 1.5;
}

hr {
    height: 2px !important;
    opacity: 1;
    background-color: #121212;
}

body .main_wrapper > main {
    background-color: #FFFFFF;
    box-shadow: 0 4px 17px rgba(165, 146, 78, 0.25);
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    flex-grow: 1;
    padding-top: 81px;
}

body .main_wrapper .index-banner-text {
    position: fixed;
    color: white;
    top: 0;
    z-index: 9999;
    width: 100%;
    text-align: center;
    height: 40px;
    font-size: 1rem;
}

body .main_wrapper .index-banner-text a {
    color: #FF6108;
    display: block;
}

.container {
    max-width: 1515px;
}

.btn {
    border-radius: 0;
}

.text-oi {
    color: #FF6108 !important;
}

.btn-primary {
    background-color: #FF6108;
    border-color: #FF6108;
    color: #F2EBD1 !important;
}

.btn-primary:hover {
    background-color: #961200;
    border-color: #961200;
}

form .form-control:focus,
.btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

form .form-control {
    border-color: transparent !important;
    border-radius: 0;
}

.title {
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1.35;
    transition: 0.5s all ease;
    display: block;
    padding: 0 0 1rem 0;
}

a.title:hover {
    color: #E75300;
}

.social a {
    transition: 0.5s all ease;
    width: 15px;
}

.social a:hover {
    color: #E75300;
}

header .navbar-form {
    background-color: #fff;
}

header .header_desktop_nav {
    border-bottom: 2px solid #121212;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

header .header_desktop_nav li {
    padding: 0 20px;
}

header .header_desktop_nav li a {
    transition: 0.5s all ease;
}

header .header_desktop_nav li a:hover {
    color: #E75300;
}

header .desktop_social {
    margin: 0;
}

.select_cities {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0;
    width: auto;
    max-width: 100%;
    cursor: pointer;
}

.select_cities:focus {
    background-color: #121212;
    color: #fff;
    background-image: url("../img/arrow-down.960dbe7ba3e4.svg");
}

header .header_categories .navbar-toggler {
    width: 24px;
    min-width: 24px;
    height: 24px;
    display: block;
    cursor: pointer;
    margin-right: 10px;
    padding: 0;
    box-shadow: none !important;
}

header .header_categories .navbar-toggler span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #121212;
    margin-bottom: 6px;
}

header .header_categories .navbar-toggler span:last-of-type {
    margin-bottom: 0;
}

header .header_categories .dropdown-menu {
    width: 485px;
    background: #121212;
    box-shadow: 16px 4px 26px rgba(165, 146, 78, 0.25);
    padding: 48px 40px 55px 55px;
    border-radius: 0;
}

header .header_categories .dropdown-menu ul li {
    padding-bottom: 10px;
}

header .header_categories .dropdown-menu ul li a {
    color: #fff !important;
    display: block;
    position: relative;
    padding-right: 15px;
}

header .header_categories .dropdown-menu ul li a:hover {
    text-decoration: underline;
}

header .header_categories .dropdown-menu ul li a i {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

footer {
    background-color: #121212;
    color: #fff;
    font-size: 0.9em;
    padding-bottom: 1rem;
}

footer a {
    color: #fff;
    transition: 0.5s all ease;
}

footer a:hover {
    color: #E75300;
}

footer p,
footer ul li {
    padding-bottom: 1rem;
}

footer .ads {
    font-size: 1.1em;
    font-weight: bold;
}

#favorites .blog_list_item .blog_item_img {
    margin-bottom: 0 !important;
}

.blog_list .blog_list_item {
    border-bottom: 1px solid #686866;
}

.blog_list_item {
    padding-top: 1rem;
}

.blog_list_item h1 {
    line-height: 1.5;
}

.blog_list_item:last-of-type {
    border: 0;
}

.blog_list_item .d-inline img {
    width: auto;
    line-height: 1.5;
}

.blog_list_item sup .fs-8{
    font-size: 0.5rem!important;
}

sup{
    top: -.25em!important;
}

.date {
    color: #686866;
    padding-bottom: 1rem;
}

.blog_list_item .date.announcement {
    font-size: .7rem;
}

.blog_list_item .blog_item_img {
    display: block;
    margin-bottom: 1rem;
}

.blog_list_item img {
    display: block;
    width: 100%;
    height: auto;
}

.circle_list li {
    position: relative;
    padding: 0 0 1rem 1rem;
}

.circle_list li:before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #121212;
    top: 8px;
    left: 0;
}

.circle_list li a:hover {
    text-decoration: underline;
}

.author_title {
    position: relative;
    min-height: 44px;
    margin: 1rem auto;
    padding-left: 56px;
}

.author_title .author_photo {
    width: 44px;
    height: 44px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.author_title .author_photo img {
    display: block;
    width: 100%;
}

.author_title a.author_name:hover {
    text-decoration: underline;
}

.author_title .date {
    font-size: 0.8em;
    padding: 0;
}

button[id^="show-more-button"] {
    display: block !important;
    margin: 30px auto !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 10 !important;
    max-width: 300px !important;
    width: auto !important;
    white-space: nowrap !important;
}

button[id^="show-more-button"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
}

button[id^="show-more-button"]:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.text-block p,
.fancybox-popup p,
div[id^="article-text"] p {
    text-indent: 20px;
    padding: 5px 10px;
    text-align: left;
    line-height: 1.3;
}

div[id^="article-text"] h2 {
    margin: .75rem !important;
    font-size: calc(1.325rem + .9vw);
    text-align: center;
}

div[id^="article-text"] h3 {
    margin: .5rem !important;
    font-size: calc(1.3rem + .6vw);
    text-align: center;
}

div[id^="article-text"] span.ratio {
    display: block;
}

.text-block strong,
div[id^="article-text"] strong {
    font-weight: 700;
}

div[id^="article-text"] p img,
div[id^="article-text"] li img {
    max-width: 100%;
    height: auto;
}

div[id^="article-text"] a {
    color: #FF6108;
    display: inline;
    line-height: 1.3;
}

div[id^="article-text"] a:visited {
    color: #961200
}

div[id^="article-text"] blockquote {
    font-size: 1em;
    width: 90%;
    margin: 10px 30px;
    font-style: italic;
    color: #555555;
    padding: 1.2em 30px 1.2em 75px;
    border-left: 8px solid #FF6108;
    line-height: 1.6;
    position: relative;
    background: #EDEDED;
}

div[id^="article-text"] blockquote::before {
    content: "\201C";
    color: #FF6108;
    font-size: 2em;
    position: absolute;
    left: 10px;
    top: -10px;
}

div[id^="article-text"] blockquote::after {
    content: '';
}

div[id^="article-text"] div:not(.lty-playbtn):not(.google-auto-placed):not(.ap_container) {
    background: #F2EBD1;
    border: 1px solid #FF6108;
    padding: 5px 10px;
    margin: 10px;
    border-radius: 10px;
}

lite-youtube > .lty-playbtn {
    filter: none !important;
}

div[id^="article-text"] div p img {
    width: 150px !important;
    height: auto !important;
}

div[id^="article-text"] em {
    font-style: italic;
}

.fancybox-popup ul,
.fancybox-popup ol,
div[id^="article-text"] ul,
div[id^="article-text"] ol {
    padding-left: 20px;
    line-height: 1.3;
}

.fancybox-popup ul li,
div[id^="article-text"] ul li {
    padding: 5px 10px;
    list-style-type: disc;
    list-style-position: inside;
}

.fancybox-popup ol li,
div[id^="article-text"] ol li {
    padding: 10px;
    list-style-position: inside;
    list-style-type: decimal;
}

.fancybox-popup ol,
div[id^="article-text"] ol {
    list-style-type: decimal;
}

.fancybox-popup p a[data-fancybox="gallery"] img,
div[id^="article-text"] p a[data-fancybox="gallery"] img {
    width: 300px !important;
}

.text-block img {
    width: 100%;
}

.text-block h4,
.fancybox-popup h3 {
    text-align: center;
    font-weight: 700;
}

.gallery {
    display: inline-block;
    margin-top: 20px;
}

nav[aria-label="breadcrumb"] {
    top: 5px;
    font-size: smaller;
}

nav[aria-label="breadcrumb"] .breadcrumb a {
    line-height: 1
}

.fa-video, .fa-camera, .fa-file {
    color: #FF6108
}

.sharethis-inline-share-buttons {
    z-index: 1 !important;
}

.mobile-border {
    border-bottom: solid 1px #121212;
}

div[id^="article-text"] ul[id^="hidden-paragraphs-"] {
    display: none;
}

div[id^="article-text"] p[id^="paragraph-show-button-"] {
    text-indent: 0;
    margin: 10px auto;
    text-align: center;
    display: flow;
    width: 50%;
    padding: 5px;
}

#online-switcher label {
    font-size: small;
    cursor: pointer;
}

#online-switcher .form-switch .form-check-input {
    margin-left: -2.15em;
}

#online-switcher .form-switch .form-check-input:focus {
    box-shadow: none;
}

#online-switcher .form-switch .form-check-input:checked {
    background-color: #FF6108;
    border-color: #FF6108;
}

#index_h1 {
    background-color: lightgrey;
    border-bottom: 2px solid #121212;
}

.logo img {
    max-width: 100%;
    height: auto;
    width: 245px;
}

.slider-wrapper-intent {
    display: flex;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    min-height: 136px;
}

.slider-wrapper-intent .slider-images {
    display: flex;
    transition: transform 0.4s ease-in-out;
    height: 128px;
}

.slider-wrapper-intent .slider-image {
    flex: 0 0 auto;
    width: 128px;
    height: 128px;
    margin-right: 8px;
    object-fit: cover;
    cursor: pointer;
    aspect-ratio: 1/1;
}

.slider-controls {
    position: relative;
}

.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 100;
}

.slider-controls .prev {
    left: -20px;
}

.slider-controls .next {
    right: -20px;
}

.slider-controls button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

#modal-intent {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    contain: content;
}

#modal-intent img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    position: relative;
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: translateZ(0);
    will-change: opacity;
}

#modal-intent img.show {
    opacity: 1;
}

#modal-intent .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

#modal-intent .prev,
#modal-intent .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

#modal-intent .prev {
    left: 20px;
}

#modal-intent .next {
    right: 20px;
}

#modal-intent .prev:hover,
#modal-intent .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.ads{
    color: #FF6108;
}

.fs-8{
    font-size: 0.75rem!important;
}

.specprojects-item a{
    width: 100%;
}

.specprojects-item span {
    min-height: 50px;
    display: block;
}

.specprojects-item img{
    width: 100% !important;
    height: auto;
}

.gallery-thumbs {
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.gallery-thumbs .thumbnail-image {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    object-fit: cover;
}

.gallery-thumbs .thumbnail-image:hover {
    opacity: 0.8;
}

.gallery-thumbs .active-thumbnail {
    border-color: var(--bs-primary);
    opacity: 1;
}

#articleGalleryCarousel .carousel-item {
    transition: transform .4s ease-in-out;
}

#articleGalleryCarousel .carousel-item img {
    max-height: 600px;
    object-fit: contain;
}

#modal-gallery-image {
    max-height: 90vh;
    max-width: 90vw; 
    object-fit: contain;
}

.not-ready {
    display: none;
}

@media screen and (max-width: 1200px) {
    header {
        border-bottom: 2px solid #121212;
    }

    header .header_desktop_nav {
        display: none;
    }

    header .header_categories {
        display: none;
    }

    header .header_cities_search {
        display: none !important;
    }

    header .desktop_social {
        display: none;
    }

    #baners .img-fluid {
        height: auto;
        max-width: 50%;
    }
}

@media screen and (max-width: 768px) {
    body .main_wrapper > main {
        padding-top: 90px;
    }

    .logo img {
        width: 125px;
    }

    body .main_wrapper .index-banner-text {
        font-size: .8rem;
        padding-top: 5px;
    }

    button[id^="show-more-button"] {
        min-height: 48px !important;
        padding: 16px 24px !important;
        font-size: 18px !important;
        margin: 25px auto !important;
        border-radius: 12px !important;
    }

    body {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    html, body {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
    
    .blog_list_item {
        transform: translateZ(0);
        will-change: transform;
        padding: 10px 0;
        margin-bottom: 15px;
    }
    
    div[id^="type-cycle-"] {
        min-height: 50px;
    }
    
    .blog_list_item img {
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    button[id^="show-more-button"] {
        min-height: 44px;
        padding: 12px 24px;
        font-size: 16px;
        margin: 20px auto;
        display: block;
        width: auto;
        max-width: 300px;
    }

    .blog_list_item .date {
        font-size: 0.8rem;
    }
    
    div[id^="article-text"] p {
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    div[id^="article-text"] div p img {
        width: 100% !important;
        height: 100% !important;
    }

    img {
        width: auto;
        height: auto;
        aspect-ratio: attr(width) / attr(height);
    }
}

@media screen and (max-width: 767px) {
    header .header_fixed_bar {
        height: 105px;
        font-size: 0.8em;
    }

    header .header_fixed_bar .btn {
        font-size: 10px;
        padding: 0.2rem 0.3rem;
    }

    .select_cities {
        font-size: 0.8em;
    }

    nav[aria-label="breadcrumb"] {
        top: 2px;
    }

    div[id^="article-text"] p, a, ol, li {
        line-height: 1.2;
    }

    .header_desktop_search input[name="search"] {
        font-size: 10px;
        padding: 5px;
    }
}

@media screen and (max-width: 480px) {
    .logo img {
        width: 80px;
    }
}
