header {
  background: white;
  box-shadow: 1px 1px 5px 0px #afafaf;
}

.secondary_line {
  align-items: center;
  padding: 8px 0;
  justify-content: flex-end;
}
.secondary_line > div {
  padding: 0 10px;
}
@media (max-width: 1024px) {
  .secondary_line {
    display: none;
  }
}

.social_block {
  display: flex;
  align-items: center;
}
.social_block .social_icon:not(:last-child) {
  margin-right: 15px;
}
.social_block .social_icon {
  font-size: 0;
}

.text_block p {
  margin-bottom: 0;
}
.text_block span {
  font-size: 14px;
}
.text_block a {
  color: black;
}
.text_block > * {
  margin-right: 7px;
}
.text_block.mobile {
  display: none;
}
@media (max-width: 1024px) {
  .text_block {
    padding-top: 60px;
  }
  .text_block.mobile {
    display: block;
  }
  .text_block a {
    color: white;
  }
  .text_block > * {
    color: white;
  }
}

.search_block .search_form_wrap {
  border-bottom: 2px solid;
}
.search_block .search-form {
  display: flex;
  align-items: center;
}
.search_block .search-field {
  border: none;
  margin-bottom: 0;
  padding: 0;
  font-size: 14px;
  font-style: italic;
  outline: none;
  border-style: none;
  box-shadow: none;
  height: 35px;
  margin-left: 9px;
  background: transparent;
}
.search_block .search-submit {
  background-color: transparent;
  border: none;
  font-size: 0;
  background-size: 12px 14px;
  width: 20px;
  height: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../icons/search.svg");
}

.main_line {
  /*background-image: url('../img/header_bg_min.jpg');*/
  padding: 5px 0;
  /*max-height: 78px;*/
}

.logo_block {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: -50px;
}
@media (max-width: 1024px) {
  .logo_block {
    margin-top: 0px;
    justify-content: center;
  }
}
.logo_block img {
  max-width: 175px;
  max-height: 68px;
}

.menu_block {
  align-items: center;
  display: flex;
  width: 100%;
}
.menu_block nav#site-navigation {
  width: 100%;
}
@media (max-width: 1024px) {
  .menu_block {
    display: none;
    position: fixed;
    left: 0;
    background-color: rgba(0, 43, 96, 0.95);
    height: 100%;
    width: 100%;
    max-width: 100%;
    align-items: self-start;
    top: 0;
    text-align: center;
  }
  .menu_block nav#site-navigation #primary-menu-list {
    display: flex;
    flex-direction: column;
    padding-top: 54px;
  }
  .menu_block nav#site-navigation #primary-menu-list li {
    margin-bottom: 15px;
  }
  .menu_block nav#site-navigation #primary-menu-list li a {
    color: white;
  }
}
.menu_block .menu_close {
  display: none;
}
.menu_block.show_menu {
  display: block;
}
.menu_block.show_menu .menu_close {
  display: inline-block;
  position: absolute;
  width: 20px;
  height: 20px;
  top: 10px;
  right: 10px;
}
.menu_block.show_menu .menu_close:after, .menu_block.show_menu .menu_close:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: white;
  top: 8px;
  left: 0;
}
.menu_block.show_menu .menu_close:after {
  transform: rotate(45deg);
}
.menu_block.show_menu .menu_close:before {
  transform: rotate(-45deg);
}

.admin-bar .menu_close {
  top: 50px !important;
}

.menu-wrapper {
  margin: 0;
  display: flex;
  justify-content: space-around;
}
.menu-wrapper li a {
  color: black;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
  padding: 0 2px 3px;
  position: relative;
  text-transform: uppercase;
}
.menu-wrapper li a:after {
  position: absolute;
  content: "";
  width: 0;
  height: 2px;
  background-color: black;
  bottom: 0;
  left: 0;
  transition: background-color 0.3s, width 0.3s;
}
.menu-wrapper li a:focus, .menu-wrapper li a:hover {
  color: #f10033;
}
.menu-wrapper li a:focus:after, .menu-wrapper li a:hover:after {
  background-color: #f10033;
  width: 100%;
}
.menu-wrapper li.current-menu-item a {
  color: #f10033;
}
.menu-wrapper li.current-menu-item a:after {
  width: 100%;
  background-color: #f10033;
}

.site_translate_block {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.site_translate {
  /*margin-left: 50px;*/
  /*background-color: $main-color;*/
  border: 2px solid #f10033;
  display: inline-block;
  color: #f10033;
  font-size: 12px;
  line-height: 1;
  padding: 4px 10px 6px 10px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.site_translate > * {
  vertical-align: middle;
}
.site_translate span {
  /*margin-left: 5px;*/
}
.site_translate:hover {
  color: white;
  background-color: #f10033;
}

@media (max-width: 1024px) {
  .latest_news_list {
    display: none;
  }
}

.footer_second_line {
  /*background-image: url('../img/header_bg_min.jpg');*/
  padding: 20px 0;
}
.footer_second_line .row {
  align-items: center;
}
.footer_second_line .text_block {
  text-align: center;
  font-size: 15px;
}
.footer_second_line .text_block p {
  line-height: 14px;
}
.footer_second_line .email_footer_wrap {
  background-color: #f10033;
  border-radius: 12px;
  width: 100%;
  padding: 8px 10px;
}
.footer_second_line .email_footer_wrap .form_title {
  text-align: center;
  display: block;
  color: white;
  font-size: 18px;
  font-weight: bold;
  line-height: 18px;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}
.footer_second_line .email_footer_wrap .form_title.subtitle {
  font-size: 14px;
  font-weight: 600;
  text-shadow: none;
}
.footer_second_line .email_footer_wrap form {
  margin-top: 8px;
}
.footer_second_line .email_footer_wrap form [type=email] {
  background-color: transparent;
  margin: 0;
  padding: 5px 5px;
  border: 2px solid white;
  border-radius: 5px;
  font-size: 12px;
  height: auto;
  color: white;
  font-weight: 800;
}
.footer_second_line .email_footer_wrap form [type=submit] {
  background-color: #072f60;
  text-transform: uppercase;
  color: #fff;
  font-size: 13px;
  width: 100%;
  border: none;
  padding: 6px 5px 5px;
  display: inline-block;
  margin-top: 8px;
  cursor: pointer;
}

.footer_second_line {
  padding: 20px 0;
}

.logo_column_footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo_column_footer > *:not(:last-child) {
  margin-bottom: 10px;
}

.logo_block_footer img {
  max-height: 68px;
  max-width: 175px;
}

.social_block_footer .social_icon:not(:last-child) {
  margin-right: 15px;
}

.email_footer a {
  color: #072f60;
  font-size: 20px;
}

.text_footer {
  font-size: 15px;
}
@media (max-width: 1024px) {
  .text_footer {
    text-align: center;
  }
}

.menu_footer ul {
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.menu_footer ul li a {
  color: black;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}
.menu_footer ul li a:hover {
  color: #f10033;
}
@media (max-width: 1024px) {
  .menu_footer {
    display: none;
  }
}

.footer-navigation {
  margin-bottom: 10px;
}

.elm-nlbox__form {
  border-radius: 4px;
  position: relative;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
}

button.elm-nlbox__submit.btn--rounded {
  background-color: #f10033;
  color: white;
  text-align: center;
  width: 100%;
  padding: 12px;
}

body {
  /*font-family: 'Didact Gothic', sans-serif;*/
  background-color: #f5f5f5;
}
body.show_menu_wrap {
  height: 100vh;
  overflow: hidden;
}

ul {
  list-style: none;
}

div#content {
  min-height: calc(100vh - 131px - 392px);
  margin-top: 30px;
  margin-bottom: 30px;
}

.row {
  max-width: 1300px;
}

.social_icon svg {
  transition: fill 0.2s;
}
.social_icon:hover svg {
  fill: #f10033;
}

.load_more_wrap {
  text-align: center;
}

.load_more {
  display: inline-block;
  border: 1px solid #f10033;
  color: #f10033;
  border-radius: 3px;
  font-size: 16px;
  padding: 7px 15px 6px;
  line-height: 1;
  background-color: transparent;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.load_more:focus {
  color: #f10033;
}
.load_more:hover {
  color: white;
  background-color: #f10033;
}

.mobile_btn_wrap {
  display: none;
  align-items: center;
}
.mobile_btn_wrap a {
  display: inline-block;
  width: 32px;
  height: 25px;
  position: relative;
}
.mobile_btn_wrap a span {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #f10033;
  left: 0;
  transform: translateY(-50%);
  top: 50%;
}
.mobile_btn_wrap a:after, .mobile_btn_wrap a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #f10033;
  left: 0;
}
.mobile_btn_wrap a:after {
  top: 0;
}
.mobile_btn_wrap a:before {
  bottom: 0;
}
@media (max-width: 1024px) {
  .mobile_btn_wrap {
    display: flex;
  }
}

.menu_block {
  z-index: 10;
}

.error404-content {
  margin: 20px auto;
  text-align: center;
  line-height: 1;
}

.error404-content-title {
  font-weight: 700;
  font-size: 260px;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 28px rgba(35, 35, 35, 0.5);
  text-transform: uppercase;
  margin: 20px 0;
  color: transparent;
}

.error404-content-msg {
  font-size: 30px;
  text-align: center;
  opacity: 0.2;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

img {
  max-width: 100%;
}

.wp-caption {
  max-width: 100%;
}

.post_preview_img,
.bg_thumb,
.post_block {
  position: relative;
}
.post_preview_img:after,
.bg_thumb:after,
.post_block:after {
  content: attr(data-content);
  position: absolute;
  bottom: 0;
  right: 7px;
  font-size: 23px;
  color: #f10033;
  z-index: 1;
}

.manas_slider .slick-dots {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  margin-top: 10px;
}
.manas_slider .slick-dots li {
  margin-right: 5px;
}
.manas_slider .slick-dots li button {
  font-size: 0;
  width: 15px;
  height: 15px;
  display: block;
  border-radius: 50px;
  border: 1px solid gray;
}
.manas_slider .slick-dots li.slick-active button {
  background-color: #f2e400;
}

.text_block h2 {
  font-size: 16px;
}

.firebase_modal {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 15px 18px;
  max-width: 450px;
  z-index: 12;
}
@media (max-width: 640px) {
  .firebase_modal {
    padding: 10px;
  }
}
.firebase_modal .firebase_modal_header {
  display: flex;
  align-items: center;
}
.firebase_modal .firebase_modal_header p {
  margin-left: 35px;
  font-size: 15px;
}
@media (max-width: 640px) {
  .firebase_modal .firebase_modal_header {
    flex-wrap: wrap;
    justify-content: center;
  }
  .firebase_modal .firebase_modal_header p {
    font-size: 12px;
    margin-left: 0px;
  }
  .firebase_modal .firebase_modal_header img {
    max-width: 50px;
  }
}
.firebase_modal .firebase_btn_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.firebase_modal .firebase_btn {
  font-size: 15px;
  color: red;
  cursor: pointer;
}
.firebase_modal .firebase_btn.active {
  padding: 8px 20px;
  background-color: red;
  color: white;
}

.admin-bar .firebase_modal {
  top: 32px;
}

.post_content h2, .post_content h3, .post_content h4, .post_content h5, .post_content h6 {
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: inherit;
  text-rendering: optimizeLegibility;
  font-size: 20px;
}