/*
=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶
╔═══╦╗╔═╦═══╗───────╔╗─────╔╗
║╔═╗║║║╔╣╔═╗║──────╔╝╚╗────║║
║║─║║╚╝╝║╚══╗────╔═╩╗╔╬╗╔╦═╝╠╦══╗
║╚═╝║╔╗║╚══╗║╔══╗║══╣║║║║║╔╗╠╣╔╗║
║╔═╗║║║╚╣╚═╝║╚══╝╠══║╚╣╚╝║╚╝║║╚╝║
╚╝─╚╩╝╚═╩═══╝────╚══╩═╩══╩══╩╩══╝
=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶
contact tgm: +375 29 324 37 33h2.site-title a
web-dev: Anton Aksenov
=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶=̶
*/
/* This stylesheet generated by Transfonter (https://transfonter.org) on October 3, 2017 10:08 PM */
.block-1.home-page-container {
  gap: 15px;
}
article.main-post__big-content {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 15px;
}

article.main-post__big-content .post-image {
  width: 60%;
}
article.main-post__big-content .post-image img {
  width: 100%;
}

article.main-post__big-content .main-post__wrappre-content {
  width: 40%;
}

@media screen and (max-width: 1400px) {
  article.main-post__big-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  article.main-post__big-content .post-image {
    width: 100%;
  }

  article.main-post__big-content .main-post__wrappre-content {
    width: 100%;
  }
  article.main-post__big-content .main-post__wrappre-content .title-post {
    margin-top: 0;
  }
  article.main-post__big-content
    .main-post__wrappre-content
    .post-description
    p {
    margin: 0;
  }
}

@media screen and (max-width: 850px) {
  section.block-1.home-page-container {
    flex-direction: column;
  }
  .main-post__wrapper {
    width: 100%;
    max-width: 100% !important;
  }
  .timeline__wrapper {
    max-width: 100% !important;
  }
  .main-post__wrapper {
    width: 100% !important;
  }
}
.archive .container,
.single .container {
  margin: 0 auto !important;
}
.archive .timeline__wrapper li,
.single .timeline__wrapper li {
  text-align: justify;
}
.archive .container,
.single .container {
  max-width: 1400px;
}
@media (max-width: 1199px) {
  .archive .timeline__wrapper,
  .single .timeline__wrapper {
    max-width: 100%;
    width: 100%;
  }
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans/OpenSans-SemiBoldItalic.eot");
  src: local("Open Sans SemiBold Italic"), local("OpenSans-SemiBoldItalic"),
    url("/assets/fonts/open-sans/OpenSans-SemiBoldItalic.eot?#iefix")
      format("embedded-opentype"),
    url("/assets/fonts/open-sans/OpenSans-SemiBoldItalic.woff") format("woff"),
    url("/assets/fonts/open-sans/OpenSans-SemiBoldItalic.ttf")
      format("truetype");
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans/OpenSans-LightItalic.eot");
  src: local("Open Sans Light Italic"), local("OpenSans-LightItalic"),
    url("/assets/fonts/open-sans/OpenSans-LightItalic.eot?#iefix")
      format("embedded-opentype"),
    url("/assets/fonts/open-sans/OpenSans-LightItalic.woff") format("woff"),
    url("/assets/fonts/open-sans/OpenSans-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans/OpenSans-Bold.eot");
  src: local("Open Sans Bold"), local("OpenSans-Bold"),
    url("/assets/fonts/open-sans/OpenSans-Bold.eot?#iefix")
      format("embedded-opentype"),
    url("/assets/fonts/open-sans/OpenSans-Bold.woff") format("woff"),
    url("/assets/fonts/open-sans/OpenSans-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans/OpenSans-ExtraBoldItalic.eot");
  src: local("Open Sans ExtraBold Italic"), local("OpenSans-ExtraBoldItalic"),
    url("/assets/fonts/open-sans/OpenSans-ExtraBoldItalic.eot?#iefix")
      format("embedded-opentype"),
    url("/assets/fonts/open-sans/OpenSans-ExtraBoldItalic.woff") format("woff"),
    url("/assets/fonts/open-sans/OpenSans-ExtraBoldItalic.ttf")
      format("truetype");
  font-weight: 800;
  font-style: italic;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans/OpenSans-Light.eot");
  src: local("Open Sans Light"), local("OpenSans-Light"),
    url("/assets/fonts/open-sans/OpenSans-Light.eot?#iefix")
      format("embedded-opentype"),
    url("/assets/fonts/open-sans/OpenSans-Light.woff") format("woff"),
    url("/assets/fonts/open-sans/OpenSans-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans/OpenSans-Italic.eot");
  src: local("Open Sans Italic"), local("OpenSans-Italic"),
    url("/assets/fonts/open-sans/OpenSans-Italic.eot?#iefix")
      format("embedded-opentype"),
    url("/assets/fonts/open-sans/OpenSans-Italic.woff") format("woff"),
    url("/assets/fonts/open-sans/OpenSans-Italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans/OpenSans-Regular.eot");
  src: local("Open Sans Regular"), local("OpenSans-Regular"),
    url("/assets/fonts/open-sans/OpenSans-Regular.eot?#iefix")
      format("embedded-opentype"),
    url("/assets/fonts/open-sans/OpenSans-Regular.woff") format("woff"),
    url("/assets/fonts/open-sans/OpenSans-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans/OpenSans-SemiBold.eot");
  src: local("Open Sans SemiBold"), local("OpenSans-SemiBold"),
    url("/assets/fonts/open-sans/OpenSans-SemiBold.eot?#iefix")
      format("embedded-opentype"),
    url("/assets/fonts/open-sans/OpenSans-SemiBold.woff") format("woff"),
    url("/assets/fonts/open-sans/OpenSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}e

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans/OpenSans-ExtraBold.eot");
  src: local("Open Sans ExtraBold"), local("OpenSans-ExtraBold"),
    url("/assets/fonts/open-sans/OpenSans-ExtraBold.eot?#iefix")
      format("embedded-opentype"),
    url("/assets/fonts/open-sans/OpenSans-ExtraBold.woff") format("woff"),
    url("/assets/fonts/open-sans/OpenSans-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans/OpenSans-BoldItalic.eot");
  src: local("Open Sans Bold Italic"), local("OpenSans-BoldItalic"),
    url("/assets/fonts/open-sans/OpenSans-BoldItalic.eot?#iefix")
      format("embedded-opentype"),
    url("/assets/fonts/open-sans/OpenSans-BoldItalic.woff") format("woff"),
    url("/assets/fonts/open-sans/OpenSans-BoldItalic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
}

/* 
@font-face {
	font-family: "Merriweather";
	src: local("Merriweather Light"), local("Merriweather-Light"), 
		url("/assets/fonts/merriweather-font/merriweatherlight.woff2") format("woff2"),
		url("/assets/fonts/merriweather-font/merriweatherlight.woff") format("woff"), 
		url("/assets/fonts/merriweather-font/merriweatherlight.ttf") format("truetype");
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: "Merriweather";
	src: local("Merriweather Light Italic"), local("Merriweather-LightIt"),
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatherlightitalic.woff2") format("woff2"), 
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatherlightitalic.woff") format("woff"),
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatherlightitalic.ttf") format("truetype");
	font-weight: 300;
	font-style: italic;
}

@font-face {
	font-family: "Merriweather";
	src: local("Merriweather Regular"), local("Merriweather-Regular"), 
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatherregular.woff2") format("woff2"),
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatherregular.woff") format("woff"), 
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatherregular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Merriweather";
	src: local("Merriweather Italic"), local("Merriweather-Italic"), 
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatheritalic.woff2") format("woff2"),
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatheritalic.woff") format("woff"), 
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatheritalic.ttf") format("truetype");
	font-weight: 400;
	font-style: italic;
}

@font-face {
	font-family: "Merriweather";
	src: local("Merriweather Bold"), local("Merriweather-Bold"), 
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatherbold.woff2") format("woff2"),
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatherbold.woff") format("woff"), 
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatherbold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: "Merriweather";
	src: local("Merriweather Bold Italic"), local("Merriweather-BoldItalic"),
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatherbolditalic.woff2") format("woff2"), 
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatherbolditalic.woff") format("woff"),
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatherbolditalic.ttf") format("truetype");
	font-weight: 700;
	font-style: italic;
}

@font-face {
	font-family: "Merriweather";
	src: local("Merriweather UltraBold"), local("Merriweather-UltraBold"),
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatherultrabold.woff2") format("woff2"), 
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatherultrabold.woff") format("woff"),
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatherultrabold.ttf") format("truetype");
	font-weight: 900;
	font-style: normal;
}

@font-face {
	font-family: "Merriweather";
	src: local("Merriweather UltraBold Italic"), local("Merriweather-UltraBdIt"),
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatherultrabolditalic.woff2") format("woff2"), 
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatherultrabolditalic.woff") format("woff"),
		url("/wp-content/themes/mega-magazine_redizine/assets/fonts/merriweather-font/merriweatherultrabolditalic.ttf") format("truetype");
	font-weight: 900;
	font-style: italic;
} */

body a,
body p,
body ul,
body li,
body span,
body div,
body h1,
body h2,
body h3,
body h4,
body h5 {
  font-family: "Open Sans";
}

.title {
  font-size: 22px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.33;
  letter-spacing: normal;
  text-align: left;
  color: #fff;
  text-transform: uppercase;
}

/* value */
:root {
  --height-header: 230px;
  --value-header: 160px;
}

::selection {
  background: #363636;
  color: #1f4c9a;
}
a {
  transition: 300ms ease-in;
  -webkit-transition: 300ms ease-in;
  -moz-transition: 300ms ease-in;
  -ms-transition: 300ms ease-in;
  -o-transition: 300ms ease-in;
}

.flex-box {
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}

.image__before-header {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: auto;
  width: 100vw;
  min-width: 100vw;
  object-fit: cover;
}
.flex-box-important {
  display: -webkit-flex !important;
  display: -webkit-box !important;
  display: -moz-flex !important;
  display: -moz-box !important;
  display: -ms-flexbox !important;
  display: -ms-flex !important;
  display: -o-flex !important;
  display: flex !important;
}
.flex-box-inline {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
}
.flex-jc-spaceB {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.flex-jc-spaceA {
  -webkit-justify-content: space-around;
  justify-content: space-around;
}

.flex-jc-spaceE {
  -webkit-justify-content: space-evenly;
  justify-content: space-evenly;
}

.flex-jc-center {
  -webkit-justify-content: center;
  justify-content: center;
}

.flex-jc-start {
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
}

.flex-jc-end {
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
}

.flex-ai-center {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.flex-ai-end {
  -webkit-box-align: flex-end;
  -webkit-align-items: flex-end;
  -ms-flex-align: flex-end;
  align-items: flex-end;
}

.flex-ai-start {
  -webkit-box-align: flex-start;
  -webkit-align-items: flex-start;
  -ms-flex-align: flex-start;
  align-items: flex-start;
}
.flex-ai-base {
  -webkit-box-align: baseline;
  -webkit-align-items: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
}
.flex-fd-rowR {
  -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.flex-fd-row {
  -webkit-flex-direction: row;
  flex-direction: row;
}

.flex-fd-columnR {
  -webkit-flex-direction: column-reverse;
  flex-direction: column-reverse;
}

.flex-fd-column {
  -webkit-flex-direction: column;
  flex-direction: column;
}

.flex-wrap {
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.flex-center {
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.flex-row {
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* No border focus object */

a:-webkit-any-link:focus {
  outline-offset: 0 !important;
}
:focus {
  outline: -webkit-focus-ring-color auto 0px !important;
}

/* scroll */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  border-radius: 1px;
  background: #363636;
  max-height: 20px;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  -ms-border-radius: 1px;
  -o-border-radius: 1px;
}
::-webkit-scrollbar-track {
  border-radius: 0;
  background: #eeeeee;
  border-radius: 4px;
}
::-webkit-scrollbar {
  width: 10px;
}
/* end scroll */
.flex-row-md {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* header style  */

.header__content {
  width: /* min(100%, 1920px) */ 100%;
  height: var(--height-header);
  /*   margin: 0 0 55px; */
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  background-color: #f6f6f6;
  padding: 0 min(25px, 3vw, 5%) 0 0;
  gap: min(3vw, 25px, 5%);
  /*  max-width: 1500px;
  margin-left: auto;
  margin-right: auto; */
}
.header__content *,
.header__content .site-description {
  color: #161616;
}
.header__content a {
  transition: 300ms ease-out;
  -webkit-transition: 300ms ease-out;
  -moz-transition: 300ms ease-out;
  -ms-transition: 300ms ease-out;
  -o-transition: 300ms ease-out;
}
.header__content a:hover {
  color: #363636 !important;
}
.header__logo {
  width: var(--value-header);
  max-width: var(--value-header);
  min-width: var(--value-header);
}
.header__logo img {
  width: var(--height-header);
  max-width: var(--height-header);

  position: relative;
  right: -65px;
  z-index: 0;
}
.header__container {
  width: 100%;
  padding: 1vh 0;
}
.header__menu-top {
  margin-right: auto;
}
.header__menu-top #top-menu {
  display: flex;
  list-style-type: none;
  gap: 15px;
  margin: 0;
}
.header__menu-top #top-menu a,
.header__social span,
.header__phone a,
.header__login {
  color: #161616;
  font-family: "Open Sans";
  font-size: 12px;
  font-weight: 400;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
  text-align: left;
  text-transform: uppercase;
}
.header__social a:hover {
  transform: scale(0.9);
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  -o-transform: scale(0.9);
}
.header__social img {
  width: 20px;
}
.header__social {
  margin-right: 15px;
}
.header__bvi {
  margin-right: 15px;
}
.header__bvi a.bvi-link-shortcode {
  background-color: transparent !important;
}
.header__bvi a {
  padding: 0 !important;
}
.header__bvi svg {
  width: 20px !important;
  height: 20px !important;
}
.site-title a {
  color: #363636 !important;
}
.header__container-middle,
.header__container-top {
  width: 100%;
}
.header__serch .search-field {
  border: 1px solid transparent;
  transition: 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
  -webkit-transition: 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
  -moz-transition: 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
  -ms-transition: 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
  -o-transition: 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
  color: transparent;
  background: transparent;
  border-bottom: 1.5px solid #363636;
  width: 25vw;
}
h3.site-description {
  font-size: 16px;
  font-weight: 400;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
  text-align: left;
  color: #fff;
  opacity: 0.65;
}

/* @font-face { font-family: 'Impact';  src: local('Impact'), url('https://nomail.com.ua/files/woff/9f55a26d868843e465aeeb10dd59d64c.woff') format('woff'); } */

h2.site-title a {
  /* font-family: 'Impact'; */
  font-family: "Open Sans";
  font-size: 40px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.22;
  letter-spacing: normal;
  text-align: left;
  color: #192d2b;
  margin-bottom: 10px;
  text-shadow: 2px 0 2px #fff, 0 2px 2px #fff, -2px 0 2px #fff, 0 -2px 2px #fff;
  position: relative;
  z-index: 1;
}
.header__serch .search-field::-webkit-input-placeholder {
  color: transparent;
}

.header__serch .search-field:-moz-placeholder {
  /* Firefox 18- */
  color: transparent;
}

.header__serch .search-field::-moz-placeholder {
  /* Firefox 19+ */
  color: transparent;
}

.header__serch .search-field:-ms-input-placeholder {
  color: transparent;
}

.header__serch .search-field:focus {
  color: #161616;
}
.header__serch .search-submit {
  border: none;
  background: transparent !important;
  padding: 0;
  margin-left: 5px;
  vertical-align: bottom;
  margin-bottom: 5px;
  transition: transform 0.3s ease-out;
  -webkit-transition: transform 0.3s ease-out;
  -moz-transition: transform 0.3s ease-out;
  -ms-transition: transform 0.3s ease-out;
  -o-transition: transform 0.3s ease-out;
}
.header__serch .search-submit:focus {
  box-shadow: none;
  transform: scale(0.9);
}
.header__content .fa-search:before {
  content: url("/wp-content/themes/mega-magazine_redizine/aks-theme/header/icons/serch.svg") !important;
}
@media (min-width: 1900px) {
  .header__container-top {
    gap: 35px;
    justify-content: left;
  }
  .header__container-middle,
  .header__container-top {
    max-width: 100%;
  }
}
/* menu  */
.header__container-bottom #primary-menu {
  margin: 0;
  list-style-type: none;
  display: flex;
  gap: 2vw;
}
.header__container-bottom .menu-item {
}
.header__container-bottom .menu-item a {
  font-size: 15px;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.33;
  letter-spacing: normal;
  text-align: left;
  color: #161616;
  text-transform: uppercase;
}
.header__container-bottom .menu-item:hover > .sub-menu {
  max-height: 4000px;
  background: #fff;
  box-shadow: 0 0 10px 0px rgb(54 54 54 / 10%);
  opacity: 1;
  width: auto;
  z-index: 1000;
  left: 0;
  right: 0;
  margin: 0 2em !important;
  min-height: 300px;
  padding: 25px 50px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.sub-menu {
  position: absolute;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 300ms ease-out;
  -webkit-transition: opacity 300ms ease-out;
  -moz-transition: opacity 300ms ease-out;
  -ms-transition: opacity 300ms ease-out;
  -o-transition: opacity 300ms ease-out;
  columns: 4;
  vertical-align: baseline;
  visibility: visible;
  pointer-events: all;
}
.header__container-bottom #primary-menu .menu-item .sub-menu > li > ul {
  max-height: initial;
  position: initial;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  columns: auto !important;
  vertical-align: inherit !important;
  visibility: visible;
  pointer-events: all;
  min-height: auto !important;
  opacity: 1;
  padding: 0;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}
.header__container-bottom
  #primary-menu
  .menu-item
  .sub-menu
  > li
  > ul
  li:first-child {
  margin-top: 10px;
}
.header__container-bottom
  #primary-menu
  .menu-item
  .sub-menu
  > li
  > ul
  li:last-child {
  margin-bottom: 10px;
}
.header__container-bottom #primary-menu .menu-item .sub-menu > li {
  padding: 0 !important;
  line-height: 1.4;
}
.header__container-bottom
  #primary-menu
  .menu-item
  .sub-menu
  > li
  > ul
  > li
  > ul {
  display: none;
}
.sub-menu > li > a {
  border-bottom: 1px solid rgb(54 54 54 / 10%);
  padding-bottom: 5px !important;
  margin-bottom: 5px;
  width: 100%;
  display: block;
}
.sub-menu > li > a:hover {
  color: #1f4c9a !important;
  border-color: #1f4c9a;
}
.sub-menu > li > ul a {
  font-size: 14px !important;
  color: rgb(54, 54, 54, 70%) !important;
  text-transform: inherit !important;
  font-weight: 400 !important;

  border-bottom: none;
  padding-bottom: 0 !important;
  margin-bottom: 0;
}
.sub-menu .menu-item {
  padding: 0 15px;
  break-inside: avoid;
}

.sub-menu .menu-item a {
  color: rgb(54 54 54 / 85%);
  font-size: 13px;
  font-family: "Open Sans";
}
a.menu-open {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 40px !important;
}
a.menu-open:hover {
  transform: scale(0.9);
}
a.menu-open {
  margin-bottom: 10px !important;
}
a.menu-open span {
  color: #1f4c9a;
  font-weight: 500;
  cursor: pointer;
}
.burger-menu {
  display: none;
}
.header_mobile {
  display: none;
}
@media (min-width: 1401px) {
  .header__serch_open,
  .header__serch_close {
    display: none;
  }
}
@media (max-width: 768px) {
  .header__serch_open,
  .header__serch_close {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1400px) {
  .header__container-middle .header__serch {
    position: relative;
    margin-left: auto;

    min-width: 35px;
    min-height: 35px;
    padding-left: 10px;
    display: flex;
  }
  .header__container-top {
    flex-wrap: wrap;
  }
  .header__container-top .header__menu-top {
    width: calc(100% - 170px);
    order: 0;
  }
  .header__container-top .header__bvi {
    order: 4;
    margin-right: 0;
    height: 26px;
  }
  .header__container-top .header__social {
    margin-right: 15px;
    order: 3;
  }
  .header__container-top .header__phone {
    margin-left: 15px;
    margin-right: auto;
    order: 1;
  }
  .header__serch .search-field {
    padding: 5px 0;
    height: 10px;
  }
  .header__serch,
  .header__serch_open,
  .header__serch_close {
    transition: 0.3s ease-out;
    -webkit-transition: 0.3s ease-out;
    -moz-transition: 0.3s ease-out;
    -ms-transition: 0.3s ease-out;
    -o-transition: 0.3s ease-out;
  }
  .header__serch .search-form {
    display: flex;
    max-width: 300px;
    position: absolute;
    right: 22px;
    top: 11px;
  }
  .header__serch_open {
    margin-top: 10px;
    margin-left: auto;
  }
  .header__serch.open .search-form {
    width: auto;
    height: auto;

    background: #1f4c9a;
    box-shadow: -19px 0 0px 10px #1f4c9a;
  }
  .header__serch_close {
    width: 0;
    height: 0;
    overflow: hidden;
    margin-top: 10px;
  }
  .header__serch_open {
    overflow: hidden;
  }
  .header__serch_open.open {
    width: 0;
    height: 0;
  }
  .header__serch_close.open {
    width: auto;
    height: auto;
  }
  .header__serch .search-form {
    overflow: hidden;
    width: 0;
    height: 0;
  }
}

@media (min-width: 900px) and (max-width: 1080px) {
  .header__container-bottom .menu-item a {
    font-size: 1.3vw;
  }
  .header__container-bottom #primary-menu {
    gap: 1.2vw;
  }
  h3.site-description {
    font-size: 1.3vw;
  }
  .header__menu-top #top-menu a,
  .header__social span,
  .header__phone a,
  .header__login {
    font-size: 1.05vw;
  }
}
@media (min-width: 767px) and (max-width: 899px) {
  h2.site-title a {
    font-size: 30px;
  }
  .header__container-bottom .menu-item a,
  h3.site-description {
    font-size: 14px;
  }
  .header__container-bottom #primary-menu {
    gap: 1vw;
  }
  .header__menu-top #top-menu a,
  .header__social span,
  .header__phone a,
  .header__login {
    font-size: 10px;
  }
  .header__container-top .header__menu-top {
    width: 100%;
    order: 0;
  }
  .header__container-top .header__phone {
    order: 5;
  }
}
@media (max-width: 767px) {
  .layout-right-sidebar #primary,
  .layout-left-sidebar #sidebar-primary {
    float: none !important;
  }
  .breaking-news-wrap ul.slick-slider .slick-prev,
  .breaking-news-wrap ul.slick-slider .slick-next {
    z-index: 0;
  }
  .mobile-serch {
    margin-left: auto;
  }
  .mobile-serch,
  .mobile-serch svg,
  .user-account-mobile,
  .user-account-mobile svg {
    height: 20px;
  }
  h2.site-title a {
    font-size: 20px;
    font-weight: 900;
  }
  .header__content .header__login {
    display: none !important;
  }
  .header__content.open {
    left: 0;
  }
  .header__content {
    transition: left 800ms cubic-bezier(0.8, 0, 0.33, 1);
    -webkit-transition: left 800ms cubic-bezier(0.8, 0, 0.33, 1);
    -moz-transition: left 800ms cubic-bezier(0.8, 0, 0.33, 1);
    -ms-transition: left 800ms cubic-bezier(0.8, 0, 0.33, 1);
    -o-transition: left 800ms cubic-bezier(0.8, 0, 0.33, 1);
    height: 100vh;
    align-items: flex-start;
    padding: 10px;
    border: 1px dotted #1f4c9a;
    background-color: #ffffff;
    position: fixed;
    left: -100%;
    top: 76px;
    bottom: 0;
    background: #fff;
    z-index: 2;
  }
  #masthead {
    min-height: 76px;
  }
  .header__bvi {
    display: none;
  }
  .header__social {
    margin-right: auto;
  }
  /* menu */
  .header__container-top {
    order: 2;
    flex-direction: column;
  }
  .header__container-bottom {
    order: 1;
  }

  .header__container-bottom #primary-menu,
  .header__menu-top #top-menu {
    gap: 0vw;
    flex-direction: column;
  }
  .header__container-bottom .menu-item a {
    font-size: 14px;
    font-weight: 400;
    font-family: "Open Sans";
    color: #363636;
  }
  .header__menu-top #top-menu a,
  .header__social span,
  .header__phone a,
  .header__login {
    color: #363636;
  }
  .header__social {
    margin-top: 15px;
    flex-wrap: wrap;
    padding-bottom: 10px;
    border-bottom: 1px solid #363636;
    margin-bottom: 10px;
  }
  .header__social span {
    width: 100%;
    border-top: 1px solid #363636;
    padding-top: 10px;
  }
  .header__phone {
    margin-right: auto;
  }
  .header__phone a {
    font-weight: 600;
    font-size: 14px;
  }
  /* menu */
  .header__content .header__site-name {
    display: none !important;
  }
  .header__serch {
    display: none;
  }
  .header_mobile {
    display: flex;
    padding: 2vh;
    gap: 1.5vw;
    background: #1f4c9a;

    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 20;
  }
  .burger-menu {
    gap: 4px;
    width: 28px;
    height: 40px;
    padding: 9px 0 !important;
    padding-top: 14px !important;

    /* style open */
    position: relative;
  }
  .burger-menu__1,
  .burger-menu__2,
  .burger-menu__3 {
    transition: 0.3s ease-out;
  }
  .burger-menu.open {
    padding-top: 22px !important;
  }
  .burger-menu.open .burger-menu__1 {
    position: absolute;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
  }
  .burger-menu.open .burger-menu__2 {
    opacity: 0;
  }
  .burger-menu.open .burger-menu__3 {
    transform: rotate(-45deg);
    position: absolute;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
  }
  .burger-menu__item {
    width: 20px;
    height: 2px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    background: #363636;
  }
  .burger-mene .burger-menu__1 {
  }
  .burger-mene .burger-menu__2 {
  }
  .burger-mene .burger-menu__3 {
  }
  .header__logo {
    display: none;
  }

  /* serch open */
  .header__serch.open {
    position: fixed;
    display: block;
    left: 0;
    right: 0;
    top: 77px;
    bottom: 0;
    height: 100vh;
    background: #fff;
  }
  .burger-menu,
  .user-account-mobile {
    transition: 0.3s ease-out;
    -webkit-transition: 0.3s ease-out;
    -moz-transition: 0.3s ease-out;
    -ms-transition: 0.3s ease-out;
    -o-transition: 0.3s ease-out;
  }

  .header_mobile.opener-for-serch .burger-menu {
    margin-left: -100%;
  }
  .header_mobile.opener-for-serch .user-account-mobile {
    margin-right: -48px;
  }
  .closer-serch-icon {
    display: none;
  }
  .mobile-serch.open .opener-serch-icon {
    display: none;
  }
  .mobile-serch.open .closer-serch-icon {
    display: block;
  }
  .header__serch.open .search-field {
    width: calc(100% - 60px) !important;
    margin-left: 10px !important;
    color: #363636;
  }

  /* serch open end */
  .header__container-bottom .menu-item > .sub-menu {
    display: none;
  }
  .header__container-bottom .menu-item:hover > .sub-menu {
    display: none;
  }
}

/* menu */

/* =========== FOOTER ========== */

.footer {
  background: #0b4c84;
}
.footer__wrapper *,
.footer__wrapper a {
  color: #fff !important;
}
.footer__wrapper {
  gap: 3%;
  padding: 35px 0;
  max-width: 1800px;
  margin: auto;
}
.footer__wrapper a:hover {
  color: #1f4c9a !important;
}
.footer-title {
  width: 100%;

  font-size: 30px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.23;
  letter-spacing: normal;
  text-align: left;
  color: #fff;
  margin-bottom: 15px;
}
.footer__content {
  width: calc((100% - 9%) / 4);
}

.footer__social {
  column-gap: 10px;
  justify-content: center;
  min-width: 405px;
}
.footer__contact {
  flex-direction: column;
  max-width: 315px;
}
.footer__font-style {
  font-stretch: normal;
  font-style: normal;
  line-height: 1.35;
  letter-spacing: normal;
  text-align: left;
  color: #fff;
}
.footer__phone {
  font-size: 20px;
}
.footer__mail {
  margin-top: 20px;
  font-size: 30px;
}
.footer__site-link {
  font-size: 16px;
  line-height: 1.2;
}
.footer__site {
  min-width: 440px;
}

.footer__content #top-menu {
  list-style-type: none;
}
.footer__content #top-menu li {
  font-size: 30px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.23;
  letter-spacing: normal;
  text-align: left;
  color: #fff;
}

.footer__content [href="http://localhost/testng/"]
{
  display: none;
}

@media (max-width: 1860px) {
  .footer__wrapper .footer-title {
    font-size: max(1.1vw, 14px);
  }
  .footer__content #top-menu li {
    font-size: max(1.6vw, 14px);
  }
  .footer__phone {
    font-size: max(0.9vw, 12px);
  }
  .footer__mail {
    font-size: max(1.6vw, 14px);
  }
  .footer__site-link {
    font-size: max(0.9vw, 10px);
  }

  .footer__contact {
    max-width: 16%;
  }
  .footer__site {
    min-width: 26%;
  }
  .footer__social {
    max-width: none;
    min-width: auto;
  }
  .footer__wrapper {
    max-width: 95vw;
  }
}

@media (max-width: 767px) {
  .footer__wrapper {
    justify-content: center;
    padding: 10px 0;
  }
  .footer__social {
    max-width: 200px;
    text-align: center;
  }
  .footer__social {
    width: 100%;
  }
  .header_mobile {
    padding: 0.5vh;
  }
  .header__content {
    top: 46px;
  }
  .header__serch.open {
    top: 46px;
  }
}

/* POPUP */

.popup-open {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(54, 54, 54, 0%);
  z-index: -1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 800ms cubic-bezier(0.8, 0, 0.33, 1);
  -webkit-transition: 800ms cubic-bezier(0.8, 0, 0.33, 1);
  -moz-transition: 800ms cubic-bezier(0.8, 0, 0.33, 1);
  -ms-transition: 800ms cubic-bezier(0.8, 0, 0.33, 1);
  -o-transition: 800ms cubic-bezier(0.8, 0, 0.33, 1);
}
.popup-open.open {
  z-index: 30;
  background: rgb(54, 54, 54, 80%);
  opacity: 1;
}
.popup-content {
  width: 520px;
  height: auto;
  background: #fff;
  padding: 25px 15px;
  border-radius: 5px;
  position: relative;
}
.popup-title {
  padding: 0;
  font-size: 24px;
  font-weight: 700;
  color: #363636;

  padding-right: 30px;
}
.popup-close {
  position: absolute;
  right: 15px;
  top: 25px;
  cursor: pointer;
}

/* END POPUP */

.is_home_page .container {
  max-width: 1720px;
}

.home-page-container {
  margin: min(40px, 5vh) 0;
}
/* block-1 */
.block-1.home-page-container {
  margin-top: 0;
}
.main-post__wrapper {
  width: 100%;
  max-width: 1200px;
}
.main-post__wrapper,
.main-post__container {
  gap: min(25px, 5vw);
}

/* block-1  big post*/

.post-description {
  margin-top: 2vh;
}
.post-description,
.post-description * {
  font-size: 16px;
  color: #000 !important;
  font-weight: 400;
}
.title-post {
  margin-top: 1vh;
}
.title-post a {
  font-size: 20px;
  color: #363636;
  font-weight: 600;
}
/* end block-1  big post*/

/* block-1 small-post */
.main-post__small-content .post-image {
  width: 100%;
  max-width: 440px;
  height: 215px;
}
.main-post__small-content .post-image img {
  width: 100%;
  height: 215px;
  object-fit: cover;
}

/* end block-1 small-post */
.timeline__wrapper {
  max-width: 450px;
}
.timeline__wrapper h2 {
  text-align: right;
}
.timeline__wrapper ul {
  list-style-type: none;
  margin: 0;
}
.timeline__wrapper li {
  gap: min(10px, 2vw);
}

.timeline__all-post {
  font-size: 17px;
  color: #363636;
  text-align: right;
  display: block;
  margin: 1vh 0;
}
/* end block-1 */

/* block-3 */
.post-newspaper__content {
  max-width: 470px;
  width: 470px;
}
.post-newspaper {
  gap: min(3vw, 25px, 5%);
}
.title-post_color_white,
.title-post_color_white a,
.title-post_color_white span,
.title-post_color_white p {
  color: #fff !important;
}
.full-width-back {
  padding: 3vh min(5vh, 30px) 6vh;
}
.full-width-back_color_black {
  background: #0c1a33;
}
.full-width-back_color_blue {
  background: #0b4c84;
}
.img_width {
  width: 35rem;
  height: 15rem;
}

.full-width-back_color_gray {
  background: #939ba5;
}
.title__block-3 {
  margin-bottom: 3vh;
}
.post-newspaper__link_color_green {
  background: #1f4c9a;
}
.post-newspaper__link_color_red {
  background: #f00;
}
.link-open {
  text-transform: none !important;
  gap: min(6%, 30px, 5vw);
  cursor: pointer;
}
.post-newspaper__link {
  display: block;
  padding: 10px;
  border-radius: 1px;
  box-shadow: 0 0 3px 0 rgb(54, 54, 54, 40%);
  transition: 300ms ease-in;
  -webkit-transition: 300ms ease-in;
  -moz-transition: 300ms ease-in;
  -ms-transition: 300ms ease-in;
  -o-transition: 300ms ease-in;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  -ms-border-radius: 1px;
  -o-border-radius: 1px;
  margin-top: 2.5vh;
  min-width: 250px;
  text-align: center;
}
.post-newspaper__link a,
.post-newspaper__link {
  color: #fff !important;
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 500;
}
.post-newspaper__link:hover {
  box-shadow: 0 0 14px 0 rgb(54, 54, 54, 50%);
}
.post-newspaper__date span {
  text-align: center;
}
.post-newspaper {
  max-width: 1000px;
}
.post-newspaper__date {
  text-align: center;
  margin-bottom: 3vh;
}
@media (min-width: 1780px) {
  .block-3 .container {
    padding: 0;
    margin: auto !important;
  }
}
@media (min-width: 601px) and (max-width: 1000px) {
  .block-3 .container {
    padding: 0 5px;
    margin: auto !important;
  }
}

/* end block-3 */
/* block-4 */
.grid-post__cat-name.title {
  font-size: 20px;
  color: #363636;
  margin-bottom: 2vh;
  min-height: 52px;
  max-height: 52px;
  overflow: hidden;
}
.backgroundblue {
  background-color: #f6f6f6;
  padding: 25px;
}
/* end block-4 */
#menu-menu-right-sidebar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 10px;
  list-style-type: none;
}
/* block-5 */
.team-title__auth.title,
.team-title__rewriter.title {
  margin-bottom: 5vh;
  color: #363636;
}
.title.team__title {
  font-size: 20px;
  color: #363636;
  margin-top: 3vh;
}
/* end block-5 */
.separator {
}
.separator::before {
  /*  width: 100vw !important;    
    left: 50%;     
    transform: translateX(-50%);     
    background: #d1d1d1 !important;
    height: 1.2px !important;
    position: absolute; */
}
/* block-7 */
.post-newspaper__download {
  min-height: 350px;
  justify-content: space-between;
}
/* end block-7 */
.grid-post {
  gap: 30px;
}
.grid-post__image a img {
  height: 18vw;
  width: 100%;
  object-fit: cover;
}

.grid-post__image_n a img {
  height: 15vw;
  width: 15%;
}
.post-newspaper__image a img {
  height: 16vw;
  width: 100%;
  object-fit: cover;
}
.grid-post .grid-post__content {
  width: calc((100% - 60px) / 3);
  flex-grow: 1;
}
/*new style*/
/* Новые стили для контейнера с блоками */
.grid-container_n {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}

/* Новые стили для каждого блока */
.grid-item_n {
  width: calc((100% - 20px) / 3); /* Равномерное распределение на три блока с отступами */
   /* Расстояние между блоками */
}

.grid-post__title_n {
  text-align: center;
}

.grid-post__image_n a img {
  width: 60%; /* Растягиваем изображение на всю ширину блока */
  height: auto; /* Автоматическая высота, чтобы сохранить пропорции */
  display: block; /* Убираем пустые пространства под изображением */
  margin: 0 auto; /* Центрируем изображение внутри блока */
}

/*end*/
.team__wrapper {
  gap: 20px;
}
.team__wrapper .team__item {
  width: calc((100% - 60px) / 4);
}

@media (max-width: 1740px) {
  .container {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
}

@media (max-width: 1620px) {
  .block-1 {
    gap: 30px;
  }
  .main-post__wrapper {
    width: calc(100% - 30px - 450px);
  }

  .main-post__container {
    width: 40%;
    overflow: hidden;
  }
  .main-post__small-content .post-image {
    width: auto;
  }
}
@media (max-width: 1300px) {
  .post-newspaper {
    max-width: calc(100% - 30px - 350px);
  }
}
@media (max-width: 1400px) {
  .timeline__wrapper {
    max-width: 400px;
  }
  .main-post__wrapper {
    width: calc(100% - 30px - 400px);
  }
}

@media (min-width: 1450px) {
  .post-newspaper__wrapper {
    justify-content: space-evenly;
  }
}
@media (min-width: 767px) and (max-width: 1200px) {
  .main-post__small-post {
    width: 50%;
  }

  .main-post__wrapper {
    flex-direction: column;
    max-width: 650px;
  }

  .main-post__container {
    width: 100%;
    flex-direction: row;
  }
  .title-post a {
    font-size: 18px;
  }
  .timeline__wrapper h2 {
    font-size: 20px;
  }
  .timeline__all-post {
    font-size: 16px;
  }
  .post-description,
  .post-description * {
    font-size: 15px;
  }
  .title,
  .post-newspaper__link a,
  .post-newspaper__link {
    font-size: 20px;
  }
  .grid-post__description.post-description {
    max-height: 80px;
    overflow: hidden;
  }
  .title-post a {
    max-height: 50px;
    overflow: hidden;
    display: block;
  }
  .post-newspaper__download .post-newspaper__image img {
    max-height: 150px;
  }
  .post-newspaper__download {
    min-height: 300px;
  }
  .title.team__title {
    font-size: 17px;
  }
}
@media (max-width: 1000px) {
  .title,
  .post-newspaper__link a,
  .post-newspaper__link {
    font-size: 17px;
  }
  .grid-post__cat-name.title {
    font-size: 17px;
  }
  .post-description,
  .post-description * {
    font-size: 14px;
  }
  .title-post a {
    max-height: 41px;
    font-size: 15px;
  }
  .grid-post__cat-name.title {
    min-height: 40px;
    max-height: 40px;
  }
  .team__wrapper .team__item {
    gap: inherit;
    width: calc((90% - 60px) / 4);
  }
  .team__wrapper {
    justify-content: space-between;
  }
  .title.team__title {
    font-size: 14px;
  }
  .post-newspaper {
    max-width: calc(100% - 30px - 200px);
  }
  .post-newspaper__link {
    min-width: 200px;
  }
  .post-newspaper__wrapper,
  .grid-post,
  .post-newspaper,
  .main-post__wrapper,
  .main-post__container {
    gap: 20px;
  }
}
@media (max-width: 850px) {
  .timeline__wrapper {
    max-width: 300px;
  }
  .post-description,
  .post-description * {
    font-size: 14px;
    line-height: 1.2;
  }
  .post-description {
    margin-top: 1vh;
  }
  .main-post__wrapper {
    width: calc(100% - 30px - 300px);
  }
}
.closer-serch-text {
  display: none;
}
@media (max-width: 767px) {
  .main-post__small-content .post-image {
    width: 100% !important;
    max-width: 100%;
  }
  .main-post__small-post {
    width: 50%;
  }

  .block-1.home-page-container {
    justify-content: center;
  }

  .main-post__container.flex-box.flex-fd-column {
    flex-direction: row;
  }
  .main-post__container {
    width: 100%;
  }
  .main-post__wrapper {
    flex-wrap: wrap;
    width: 100%;
  }
  .block-1.home-page-container {
    flex-wrap: wrap;
  }

  .main-post__small-post .main-post__small-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .timeline__wrapper {
    max-width: 100%;
    width: 100%;
  }
  .closer-serch-text {
    display: block;
    position: absolute;
    left: 10px;
    top: 15px;
    color: #fff;
    opacity: 0;
    transition: 300ms ease-out;
    z-index: -1;
  }
  .mobile-serch.open .closer-serch-text {
    opacity: 1;
    z-index: inherit;
  }
  .grid-post__image a img {
    height: auto;
    max-height: 150px;
    min-height: 150px;
  }
}

@media (max-width: 600px) {
  .main-post__small-post {
    width: 100%;
  }
  .grid-post__cat-name.title {
    font-size: 14px;
  }
  .grid-post__cat-name.title {
    min-height: 35px;
    max-height: 35px;
  }
  .title-post a {
    overflow: hidden;
    display: block;
  }
  .post-description {
    margin-top: 1vh;
    max-height: 47px;
    overflow: hidden;
  }
  .post-newspaper__download .post-newspaper__image img {
    max-height: 150px;
  }
  .post-newspaper__download {
    min-height: 290px;
  }
  .block-1.home-page-container {
    flex-direction: column;
    gap: 15px;
  }
  .main-post__wrapper {
    width: 100%;
  }
  .main-post__container.flex-box.flex-fd-column {
    flex-direction: row;
  }
  .timeline__wrapper {
    max-width: 100%;
  }
  .header_mobile {
    padding-left: 20px;
    padding-right: 20px;
  }
  .popup-content {
    width: 95%;
  }
  .grid-post.flex-box {
    justify-content: space-between;
  }
  .grid-post .grid-post__content {
    /*  width: calc((100% - 20px) / 2); */
    width: 100% !important;
  }
  .post-newspaper__download {
    min-height: 200px;
  }
  .post-newspaper__download .post-newspaper__image img {
    max-height: 100px;
  }
  .main-post__container.flex-box.flex-fd-column {
    flex-direction: column;
  }
}
@media (max-width: 520px) {
  .grid-post__image a img {
    max-height: inherit;
    min-height: inherit;
  }
}
@media (max-height: 800px) {
  .popup-open {
    bottom: auto;
  }
  .popup-open {
    position: absolute;
  }
}

/* @media (min-width: 1400px) {
  .header__container-bottom .menu > li.menu-item > a{
    font-size: min(33px,2vw);
  }
  h3.site-description {
    font-size: 1.0vw;
  }
  h2.site-title a {
    font-size: min(45px,3.1vw);
  }
  .header__menu-top #top-menu a, .header__social span, .header__phone a, .header__login{
    font-size: 0.9vw;
  }
} */

/* studio AKS: Custom change */
#nav_menu-2 #menu-menu-right-sidebar li.menu-item-has-children {
  /* 		background: transparent;
        border-radius: 2px; */
  cursor: pointer;
}

#nav_menu-2 #menu-menu-right-sidebar li > a {
  width: auto;
  transition: 0.3s;
  /* 		font-weight: bold; */
}
#nav_menu-2 #menu-menu-right-sidebar li > a:hover {
  color: #1f4c9a;
}
#nav_menu-2 #menu-menu-right-sidebar li.menu-item-has-children::after {
  content: "\f107";
  font-family: FontAwesome;
  margin-left: 10px;
  margin-right: 0;
  position: absolute;
  right: 10px;
  top: 16px;
  font-weight: bold;
  color: #000;
}

#nav_menu-2 #menu-menu-right-sidebar .sub-menu {
  max-height: 0px;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0, 0, 0.2, 1);
}

/* 	#nav_menu-2 #menu-menu-right-sidebar li.open-menu-items>a {
        font-weight: bold;
        color: #2ab391;
      }
    
      #nav_menu-2 #menu-menu-right-sidebar li.open-menu-items {
        background: #eee;
        border-radius: 2px;
      }
     */
#nav_menu-2 #menu-menu-right-sidebar li.open-menu-items > .sub-menu {
  max-height: 1000000000px;
  overflow: visible;
  opacity: 1;
  transition: all 0.3s cubic-bezier(0, 0, 0.2, 1);
}

ul#menu-menu-right-sidebar {
  /*    border-left: 2px solid #2ab391; */
  padding-left: 0;
  padding-top: 0;
}
.menu-image-title-after.menu-image-not-hovered img,
.menu-image-hovered.menu-image-title-after .menu-image-hover-wrapper,
.menu-image-title-before.menu-image-title {
  padding-right: 4px;
}
ul#menu-menu-right-sidebar li > a {
  font-size: 20px;
  font-weight: 500;
  font-variant: all-petite-caps;
  letter-spacing: -0.4px;
  color: #313131;
  display: inline-flex;
  align-items: center;
  font-family: "Open Sans";
}
.sidebar #menu-menu-right-sidebar li {
  padding: 6px 0px;
  border-bottom: none;
}
.sidebar #menu-menu-right-sidebar li::before {
  display: none;
}
#nav_menu-2 #menu-menu-right-sidebar li > .sub-menu {
  padding-left: 12px;
}
aside#recent-posts-3 {
  border-bottom: 2px solid #000;
  padding-bottom: 20px;
}
/* END studio AKS: Custom change */

/* ====================> sidebar */
#content .container {
  max-width: 1720px;
}
.sidebar ul li {
  width: 100%;
  margin-bottom: 0px;
  padding: 0px 0px;
  position: relative;
  padding-left: 0px;
  border-bottom: 0px solid #ddd;
  list-style-type: none;
  margin-top: 7px;
}

.post .content-wrap .entry-header h2.entry-title a,
.search-results #primary article h2.entry-title a,
.post .content-wrap .entry-header h3.entry-title a,
.search-results #primary article h3.entry-title a {
  color: #161616;
}
/* Комментарии */
/*  #about-author,
    #comments {
      display: none !important;
    } */
/* END Комментарии */
.posted-date,
.cat-links {
  margin-bottom: 10px;
}

.archive .post .content-wrap,
.search-results .post .content-wrap {
  display: flex;
  gap: 10px;
}
.archive .post .content-wrap .entry-header,
.search-results .post .content-wrap .entry-header {
  width: 50%;
  min-width: 50%;
}
.archive .post .content-wrap .entry-content .read-more,
.search-results .post .content-wrap .entry-content .read-more {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 1px;
  box-shadow: 0 0 3px 0 rgb(54 54 54 / 40%);
  transition: 300ms ease-in;
  -webkit-transition: 300ms ease-in;
  -moz-transition: 300ms ease-in;
  -ms-transition: 300ms ease-in;
  -o-transition: 300ms ease-in;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  -ms-border-radius: 1px;
  -o-border-radius: 1px;
  margin-top: 2.5vh;
  text-align: center;
  background: #1f4c9a;
  color: #fff;
}
.archive .post .content-wrap .entry-content .read-more:hover,
.search-results .post .content-wrap .entry-content .read-more:hover {
  box-shadow: 0 0 14px 0 rgb(54 54 54 / 50%);
}
.archive .post .content-wrap .entry-content,
.search-results .post .content-wrap .entry-content {
  width: -webkit-fill-available;
  margin-top: 0;
}
.archive .post .content-wrap .entry-content .entry-title,
.search-results .post .content-wrap .entry-content .entry-title {
  margin-top: 0;
}

.archive .post:nth-child(odd),
.search-results .post:nth-child(odd) {
  background: #eee;
  border-radius: 2px;
}
.archive .post .content-wrap,
.search-results .post .content-wrap {
  padding-top: 0;
}
@media (max-width: 767px) {
  .archive .post .content-wrap,
  .search-results .post .content-wrap {
    flex-direction: column;
  }
  .archive .post .content-wrap .entry-header,
  .search-results .post .content-wrap .entry-header {
    width: 100%;
  }
  .archive .post .content-wrap .entry-header,
  .search-results .post .content-wrap .entry-header {
    width: 100%;
  }
  .archive .post .content-wrap .entry-content,
  .search-results .post .content-wrap .entry-content {
    width: 100%;
  }
}

.post-template-default .entry-img {
  margin-top: 15px;
}
.post-template-default .post .content-wrap {
  padding-top: 0;
}
.post-template-default .post .content-wrap .entry-title {
  margin-top: 0;
}

header.entry-header:empty {
  display: none;
}
.footer-copyrite {
  text-align: center;
  color: #595959;
  padding: 10px 0 25px 0;
}

.post-template-default .entry-img {
  display: none;
}

/* .header__login {
  display: none;
} */

@media (min-width: 767px) {
  .post .content-wrap p:last-child {
    text-align: right;
    padding-right: 20px;
  }

  section.block-5 {
    margin-bottom: 150px;
  }
  .header__menu-top #top-menu {
    z-index: 2;
    position: relative;
  }
}

.post-newspaper.post-newspaper__three-post {
  width: calc((100% - 60px));
  max-width: 100%;
}

@media (max-width: 767px) {
  .post-newspaper.post-newspaper__three-post {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
  }
  .post-newspaper.post-newspaper__three-post .post-newspaper__content {
    width: 100%;
  }
  /*   .title__block-3 + .post-newspaper__wrapper {
  
  } */
}
.team__item img {
  width: min(110px, 50%);
}

@media (max-width: 1400px) {
  .header__logo img {
    right: -88px;
    z-index: 0;
    max-width: 189px;
    bottom: -31px;
  }
}

/* АВТОРИЗАЦИЯ  */
.login-popup-open.eror-logins .login-popup-content {
  box-shadow: 0 0 10px 0px red;
}
.login-popup-open.eror-logins .login-popup-content:before {
  content: "Ошибка: Неверно заполнены поля авторизации! ";
  padding: 10px 0;
  display: block;
  color: red;
}
.login-popup-open .login-popup-content form {
  margin-top: 1rem;
}
.login-popup-open .login-popup-content .login-username input,
.login-popup-open .login-popup-content .login-password input {
  width: min(100%, 400px);
  border-radius: 2px;
  border-color: #eee;
  color: #363636;
}
.login-popup-open .login-popup-content .login-remember label {
  text-transform: initial;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #eee;
  width: min(100%, 400px);
  padding: 11px 0 11px 9px;
  color: #777;
}
.login-popup-open .login-popup-content .login-submit input {
  border-radius: 3px;
  font-size: 16px;
  width: min(100%, 400px);
}
.login-popup-open .login-popup-content .forgot-password {
  color: #b9b9b9 !important;
  text-transform: lowercase;
  letter-spacing: 1px;
  text-decoration: underline;
}
/* АВТОРИЗАЦИЯ  */

.content-tags {
  margin-bottom: 15px;
}

body #primary {
  width: calc(100% - 480px);
}
body #sidebar-primary {
  width: 480px;
}

@media (max-width: 1250px) {
  body #primary {
    width: 100%;
  }
  body #sidebar-primary {
    width: auto;

    margin-right: auto;
    float: none !important;
  }
}

div.wpforms-container-full .wpforms-form .wpforms-field-label {
  word-break: break-word !important;
}
.header__container-top .header__bvi {
  height: 26px;
}

/* Gallery css */

:root {
  --one-column: calc(33% - 13px);
}
.main > .container > .row {
  max-width: 100%;
  margin: auto;
  justify-content: center;
}
.main > .container .col-12 {
  padding: 0;
}
.single__description {
  flex-shrink: inherit;
  padding: 0;
  margin: 0;
}

.wp-block-gallery {
  padding: 0;
  margin: 0 0 40px;
}

.wp-block-image img {
  max-width: 100%;
  width: 100%;
  height: 300px;
  min-height: 300px;
  object-fit: cover;
}
figure {
  margin: 0;
}
.wp-block-gallery {
  display: grid;
  grid-template-columns: var(--one-column) var(--one-column) var(--one-column);
  gap: 20px;
}
.wp-block-gallery a {
  display: flex;
  width: 100%;
  height: 100%;
}

.gallery__wrapper {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(0, 0, 0, 80%);
  opacity: 0;
  transition: 300ms ease-in;
  -webkit-transition: 300ms ease-in;
  -moz-transition: 300ms ease-in;
  -ms-transition: 300ms ease-in;
  -o-transition: 300ms ease-in;
  z-index: 999;
}
.gallery__controls {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  padding: 20px;
  display: flex;
  justify-content: flex-end;
}
.gallery__controls svg {
  cursor: pointer;
}
.gallery__wrapper.open {
  opacity: 1;
}

.gallery__swipe {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#gallery__swipe--left {
  cursor: pointer;
}

#gallery__swipe--right {
  cursor: pointer;
}

.gallery__list-wrapper {
  position: absolute;
  background: transparent;
  left: 80px;
  right: 80px;
  bottom: 80px;
  top: 80px;
  border-radius: 8px;
  overflow: hidden;
}
.gallery__list {
  display: flex;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  padding: 0;
  margin: 0;
  position: absolute;
}
.galery__swipe-item {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  height: 100%;
  width: 0;
  list-style-type: none;
  transition: 0.5s ease-in-out;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -ms-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
}
li.galery__swipe-item.active {
  width: 100%;
}

@media screen and (max-width: 991.9px) {
  .gallery__swipe {
    padding: 5px;
  }
  .gallery__controls {
    padding: 20px 10px;
  }
  .gallery__list-wrapper {
    left: 60px;
    right: 60px;
    bottom: 60px;
    top: 60px;
  }
}

@media screen and (max-width: 766.9px) {
  :root {
    --one-column: calc(50% - 10px);
  }
  .gallery__list-wrapper {
    left: 0;
    right: 0;
  }
  .gallery__swipe {
    z-index: 1;
    opacity: 0;
  }
  #gallery__swipe--left,
  #gallery__swipe--right {
    height: 50vh;
    width: 20vw;
  }
  .wp-block-gallery {
    grid-template-columns: var(--one-column) var(--one-column);
    gap: 15px;
  }
  .wp-block-image img {
    height: 40vw;
    min-height: 40vw;
  }
}
.gallery {
  display: flex;
  flex-wrap: wrap;
}
.gallery .gallery-caption {
  display: none !important;
}
.gallery-icon a,
.gallery-icon {
  height: 100%;
  display: flex;
  width: 100%;
}
.gallery-icon a img {
  object-fit: cover;
}
.gallery-columns-3 .gallery-item {
  padding: 0 10px;
}

.bvi-shortcode {
  padding: 0 !important;
  background: transparent !important;
  margin-top: -2px;
}

.banerhistoru { 
  display:flex;
  justify-content: center;
}
.banerhistoru img { 
  margin-right: 0px;
    padding-right: 15px;
    padding-left: 15px;
}

/* NEw header banner */
