@font-face {
    font-family: 'Museo500';
    src: url('../fonts/Museo/MuseoCyrillic-500.woff2') format('woff2'),
        url('../fonts/Museo/MuseoCyrillic-500.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

body {
    font-family: "Museo500", "Trebuchet MS", "Open Sans", Helvetica, Arial, sans-serif;
    position: relative;
}
body.page {
    margin: 0;
}
/* Pagination */
.pagination > a {
    margin: 0 10px;
    color: #e71600;
}
.pagination > a:hover {
    color: #000;
}
.pagination > span {
    margin-right: 10px;
}
/* End pagination */
.language_switcher {
    position: absolute;
    top: 0;
    right: 150px;
    background-color: #DC1F26;
    padding: 2px 10px;
}
.language_switcher > ul {
    display: flex;
}
.language_switcher > ul > li {
    display: flex;
    align-items: center;
}
.language_switcher > ul > li.current-lang > a {
    text-decoration: underline;
}
.language_switcher > ul > li > a {
    color: #fff;
}
.language_switcher > ul > li > a:hover {
    text-decoration: underline;
}
.language_switcher > ul > li:first-child {
    margin-right: 8px;
}
.language_switcher > ul > li::before {
    content: "/";
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 8px;
}
.language_switcher > ul > li:first-child::before {
    display: none;
}

img {
    max-width: 100%;
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

.container {
    max-width: 95%;
}

header > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px;
}
header .header_menu > ul {
    display: flex;
    align-items: center;
}
header .header_menu > ul > li {
    text-transform: uppercase;
    font-size: 14px;
    padding: 0px 15px;
    transition: all .3s ease;
}
header .header_menu > ul > li > a {
    outline: none;
}
header .header_menu > ul > li:first-child {
    padding: 0 15px 0 0;
}
header .header_menu > ul > li:last-child {
    padding: 0 0 0 15px;
}
header .header_menu > ul > li.current-menu-item > a {
    border-top: 2px solid #DC1F26;
    padding: 10px 0px;
    transition: all .3s ease;
}
header .header_menu > ul > li > a:hover {
    color: #000;
}

header .header_menu > ul > li > a {
    color: #434343;
}

.mobile_icon {
    display: none;
    margin-right: 1rem;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
}

.mobile_icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile_icon.open span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.mobile_icon.open span:nth-child(2) {
    opacity: 0;
}

.mobile_icon.open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.mobile-menu {
    position: absolute;
    top: 120px;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding: 25px;
    transition: left 0.3s ease;
    z-index: 1000;
}
.mobile-menu > ul > li {
    margin-bottom: 1rem;
}
.mobile-menu > ul > li > a {
    font-weight: 600;
    font-size: 25px;
    color: #000;
    transition: all .3s ease;
}
.mobile-menu > ul > li > a:hover {
    color: #812f38;
}

body.open {
    overflow: hidden;
}

/* Home page */

.home_slider .home_slide img {
    height: 450px;
    width: 100%;
    object-fit: cover;
}

.page_slider .home_slide img {
    height: 550px;
    width: 100%;
    object-fit: cover;
}

.home_slider .slick-dots, .page_slider .slick-dots {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, -50%);
}
.home_slider .slick-dots > li, .page_slider .slick-dots > li {
    display: flex;
    justify-content: center;
    width: 25px;
    height: 25px;
    margin: 0 15px;
    border-radius: 100px;
}
.home_slider .slick-dots > li > button, .page_slider .slick-dots > li > button {
    width: 25px;
    height: 25px;
    padding: 0;
    color: transparent;
    background-color: transparent;
    border-radius: 100px;
    border: 1px solid;
    border-color: #fff;
}
.home_slider .slick-dots > li.slick-active > button, .page_slider .slick-dots > li.slick-active > button {
    background-color: #fff;
}

/* Home page blocks info consul and news */

.homepage_content {
    padding: 4rem 25px;
}
.homepage_content .consul_content .consul_content_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.homepage_content .consul_content .consul_content_head > span {
    font-size: 30px;
    color: #444;
    border-bottom: 1px solid;
    border-color: #DC1F26;
}
.homepage_content .consul_content .consul_content_middle {
    text-align: right;
}

.homepage_content .homepage_news {
    padding-left: 50px;
}
.homepage_content .homepage_news > .hp_news_head {
    min-height: 223px;
    display: flex;
    align-items: center;
    justify-content: end;
}
.homepage_content .homepage_news > .hp_news_head > span {
    font-size: 30px;
    color: #444;
    border-bottom: 1px solid;
    border-color: #DC1F26;
}
.homepage_content .homepage_news > .hp_block_news .col-sm-6 {
    margin-bottom: 25px;
}
.news-item {
    min-height: 250px;
    background-color: #fafafa;
    border: 1px solid #e2e2e2;
    padding: 20px;
}
.news-item > h2 {
    font-size: 13px;
    text-transform: uppercase;
    min-height: 50px;
}
.news-item > h2 > a {
    color: #717171;
}
.news-item > .news_item_content {
    display: flex;
    margin-bottom: 20px;
}
.news-item > .news_item_content > .news-thumbnail {
    width: 30%;
    margin-right: 10px;
}
.news-item > .news_item_content > p {
    width: 70%;
    font-size: 12px;
}
.news-item > a {
    width: 100%;
    margin-top: 20px;
    color: #e71600;
    border-bottom: 1px solid;
    border-color: #e71600;
}
.homepage_content .homepage_news > .all-news-wrapper > a {
    display: flex;
    width: 100%;
    justify-content: center;
    color: #e71600;
    font-size: 20px;
}

/* End home page */

footer {
    background-color: #f4f4f4;
    padding: 25px;
}
footer .footer_head {
    display: flex;
    margin-bottom: 2rem;
}
footer .footer_head > .footer_logos {
    display: flex;
    width: 50%;
    justify-content: space-between;
    align-items: center;
}
footer .footer_head > .footer_search {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer .footer_head > .footer_search span {
    margin-right: 20px;
}
footer .footer_head > .footer_search input {
    outline: none;
}
footer .footer_head > .footer_search input[type="submit"] {
    display: none;
}

footer .footer_middle {
    margin-bottom: 2rem;
}
footer .footer_middle > ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
footer .footer_middle > ul > li {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    width: 25%;
    text-align: center;
    border-right: 1px solid;
    border-color: #adadad;
}
footer .footer_middle > ul > li > a {
    color: #444;
    transition: all .3s ease;
}
footer .footer_middle > ul > li > a:hover {
    color: #000;
    text-decoration: underline;
}
footer .footer_middle > ul > li:last-child {
    border-right: 0;
}
footer .footer_middle ul.footer_socials img {
    max-width: 30%;
}

/* footer .footer_bottom {
    padding: 0 4rem;
} */
footer .footer_bottom > ul {
    display: flex;
    justify-content: space-between;
}
footer .footer_bottom > ul > li {
    display: flex;
    align-items: center;
    font-size: 12px;
    text-transform: uppercase;
    transition: all .3s ease;
}
footer .footer_bottom > ul > li::before {
    display: flex;
    content: "•";
    align-items: center;
    justify-content: center;
    color: #DC1F26;
    margin-right: 7px;
}
footer .footer_bottom > ul > li > a {
    color: #444;
    transition: all .3s ease;
}
footer .footer_bottom > ul > li:hover a {
    color: #000;
}

/* Template Left Image */

.page_left_image {
    padding: 100px 0;
}
.page_left_image .col-sm-5 {
    display: flex;
    align-items: start;
    justify-content: center;
}
.page_left_image .col-sm-7 > h1 {
    font-size: 66px;
    color: #666;
    margin-bottom: 20px;
    line-height: 58px;
}
.page_left_image .col-sm-7 > h1::after {
    display: flex;
    content: "";
    border-bottom: 1px solid;
    border-color: #ee0000;
    margin-top: 20px;
    width: 20%;
}
.page_left_image .col-sm-7 > p {
    margin-bottom: 20px;
}

/* End Template Left Image */

/* Template Page Gallery */

.gallery_content_page .text_block {
    padding: 4rem 0;
}
.gallery_content_page .text_block > p {
    margin-bottom: 20px;
}
.gallery_content_page .text_block .wp-block-media-text {
    margin-bottom: 20px;
}
.gallery_content_page h2 {
    font-size: 42px;
    text-transform: uppercase;
    color: #666;
    font-weight: bold;
    margin-bottom: 20px;
}
.gallery_content_page h2::after {
    content: "";
    display: flex;
    border-bottom: 1px solid;
    border-color: #ee0000;
    width: 20%;
    margin-top: 10px;
}
.gallery_content_page .text_block h4 {
    font-size: 20px;
    color: #666;
    margin: 20px 0;
}

.gallery_block {
    display: flex;
    gap: 20px;
    margin-bottom: 4rem;
}
.gallery_block_item {
    transition: all .3s ease;
    border: 2px solid;
    border-color: transparent;
}
.gallery_block_item:hover {
    border-color: #ee0000;
}
.gallery_block_item img {
    height: 100%;
    object-fit: cover;
}

.page_added_block > .container {
    padding: 4rem 0;
}
.page_added_block > .container > .added_block_text {
    margin-bottom: 4rem;
}
.page_added_block > .container > .added_block_text > p {
    margin-bottom: 20px;
}

/* End Template Page Gallery */

/* Page News */

.news-container {
    padding-bottom: 4rem;
}

.news_head {
    background: url("../images/news_bg_large.jpg");
    background-repeat: no-repeat;
    background-position: top left;
    min-height: 182px;
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
}
.news_head h2 {
    color: #444;
    font-size: 46px;
}

.news-post {
    min-height: 250px;
    background-color: #fafafa;
    border: 1px solid #e2e2e2;
    padding: 20px;
    margin-bottom: 20px;
}
.news-post .news-content {
    display: flex;
    margin-bottom: 20px;
}
.news-post h2 {
    min-height: 65px;
}
.news-post h2 > a {
    display: flex;
    font-size: 14px;
    line-height: 21px;
    text-transform: uppercase;
    color: #717171;
    text-decoration: none;
}
.news-post .news-content .news_thumbnail {
    width: 30%;
    margin-right: 10px;
}
.news-post .news-content .news-excerpt {
    width: 70%;
    font-size: 12px;
    display: flex;
    align-items: center;
}
.news-post > a {
    margin-top: 20px;
    color: #e71600;
    border-bottom: 1px solid;
    border-color: #e71600;
}

figure.wp-block-gallery {
    margin-top: 20px;
}

/* End page news */

/* Contact page */

.contact_content {
    padding: 4rem 0;
}
.contact_content .col-sm-6 h2 {
    margin-bottom: 40px;
    font-size: 30px;
    color: #666;
}
.contact_content .col-sm-6 h2::after {
    display: flex;
    content: "";
    width: 20%;
    border-bottom: 1px solid;
    border-color: #ee0000;
}
ul.contact_info > li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
}
ul.contact_info > li:last-child {
    margin-bottom: 0;
}
ul.contact_info > li > a {
    color: #404040;
}
ul.contact_info > li > a:hover {
    color: red;
}
ul.contact_info > li > span {
    width: 100%;
    margin-bottom: 10px;
    font-size: 18px;
}
ul.contact_info > li > img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 15px;
}

ul.links_list > li {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
ul.links_list > li:last-child {
    margin-bottom: 0;
}
ul.links_list > li > span, ul.links_list > li > a {
    width: 100%;
    color: #404040;
}
ul.links_list > li > a {
    text-decoration: underline;
}
ul.links_list > li > a:hover {
    color: red;
}

/* End contact page */

/* Post page */

.post_page {
    padding: 4rem 0;
}

.post_page .entry-title {
    font-size: 48px;
    color: #444;
    padding-bottom: 10px;
    border-bottom: 1px solid #BDBDBD;
    margin-bottom: 30px;
}

.post_page .entry-content {
    display: flex;
}
.post_page .post-thumbnail {
    width: 50%;
    padding-right: 2rem;
}
.post_page .post-thumbnail > img {
    width: 100%;
}
.post_page .entry-content > .post_content {
    width: 50%;
}

/* End post page */

/* Page not found */

.page_not_found {
    padding: 4rem 0;
}
.page_not_found .page-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.page_not_found .page-header > img {
    width: 300px;
}
.page_not_found .page-header .page-title {
    text-align: center;
    margin-top: 20px;
    margin-left: 50px;
    font-size: 30px;
    color: #666;
}
.page_not_found .page_not_found_info > a {
    display: flex;
    justify-content: center;
    margin-left: 50px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: #666;
    color: #fff;
    cursor: pointer;
}
.page_not_found .page_not_found_info > a:hover {
    background-color: #ee0000;
}

/* End page not found */

/* Search page */

.search_page {
    padding: 30px 0px;
}
.search_page .col-sm-6 {
    margin-bottom: 1.5rem;
}
.search_page .news-item {
    min-height: 300px;
}