/*   
Theme Name: Khocz.com.ua
Theme URI: Khocz.com.ua
Description: Сайт организации "Харьковский обласной центр здоровья"
Author: Andrey Babaryka
Author URI: Khocz.com.ua
Version: 1.0
*/
/*GLOBAL STYLE_____________________________
___________________________________________*/

@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i&subset=cyrillic');
/*font-family: 'Roboto', sans-serif;*/
@import url('https://fonts.googleapis.com/css?family=Lobster&subset=cyrillic,cyrillic-ext');
/*font-family: 'Lobster', cursive;*/
@import url('https://fonts.googleapis.com/css?family=Noto+Serif:400,400i,700,700i&subset=cyrillic,cyrillic-ext');

/*font-family: 'Noto Serif', serif;*/
* {
  box-sizing: border-box;
}

html {

  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: #fdfdfd;
  font: 1.4rem/2rem 'Roboto', sans-serif;
  color: #000000;
  margin: 0;
}

img {
  width: 100%;
  max-width: 100%;
  display: block;
}

html {
  font-size: 62.5%;
}

.grid_container {
  padding: 25px 5vw 0;
}

a {
  text-decoration: none;
  color: #000000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Lobster', cursive;
  margin: 0 0 15px 0;
}

.search_page {
  min-height: 60vh;
}

/*Mobayl_______________________________
    _______________________________________*/

header .top_panel {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

header .top_nav {
  margin: 0 auto 20px;
}

header .top_nav li {
  display: inline-block;
  padding: 0 18px 0 0;
  margin: 0 18px 0 0;
}

header .top_nav li:last-child {
  margin: 0;
  padding: 0;
}

header .top_nav li a {
  color: #1f93f5;
}

header .top_nav .active_link {
  color: #000000;
}

header form {
  display: flex;
  width: 100vw;
  margin: 0 0 5px 0;
}

header form input[type="search"] {
  background: #ededed;
  border: none;
  width: calc(100% - 50px);
  padding: 15px;
}

header form input[type="button"] {
  width: 50px;
  border: none;
  background: #ededed;
  position: relative;
  background: url(images/home/search.png) center no-repeat #ededed;
}

header form input[type="button"]:hover {
  background: url(images/home/search.png) center no-repeat #1f93f5;
}

header .logo a {
  display: block;
  font: 3rem/3.5rem 'Lobster', cursive;
  text-align: center;
  color: #48a7f7;

}

header .logo {
  margin: 0 0 20px 0;
}

header .logo a .span_logo {
  font: 1.9rem/2rem 'Lobster', cursive;
  position: relative;
  color: #000000;
}

header .logo a .span_logo::before {
  position: absolute;
  content: "";
  width: 39px;
  height: 60px;
  background: url(images/home/logo.png) left no-repeat;
  /*    left: -45px;*/
  left: -120px;
  top: 0;
}

header .logo a .span_desctop {
  display: none;
}

header nav,
header form {
  margin: 0 -5vw;
}

header .humb {
  display: block;
  width: 25px;
  height: 20px;
  text-indent: -9999px;
  margin: 0 5vw;
  border-top: 2px solid #1f93f5;
  position: relative;
}

header .humb::before,
header .humb::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  display: block;
  background: #1f93f5;
  bottom: 0;
}

header .humb::after {
  bottom: 9px;
}

/*
* Слайдер______________________________________________
_______________________________________________________*/


[data-am-fadeshow] {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #fff;
  /* Slides */
  /* Quick Navigation */
  /* Prev/Next Navigation */
  /* Base functionality */
  /* Autohide Prev/Next Navigation */
}

[data-am-fadeshow] .fs-slide {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transition: opacity 1s ease;
  transition: opacity 1s ease;
  /* Display first child on load */
}

[data-am-fadeshow] .fs-slide:first-child {
  opacity: 1;
}

[data-am-fadeshow] .fs-quick-nav {
  position: absolute;
  bottom: 15px;
  left: 50%;
  z-index: 1;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

[data-am-fadeshow] .fs-quick-btn {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 2px;
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: opacity 200ms ease;
  transition: opacity 200ms ease;
  background-color: rgba(255, 255, 255, 0.8);
  /* Set active state to first button on load */
}

[data-am-fadeshow] .fs-quick-btn:hover {
  opacity: 0.8;
}

[data-am-fadeshow] .fs-quick-btn:first-child {
  background-color: coral;
}

[data-am-fadeshow] .fs-prev-btn,
[data-am-fadeshow] .fs-next-btn {
  position: absolute;
  display: none;
  top: 0;
  bottom: 0;
  width: 100px;
  cursor: pointer;
  font-family: sans-serif;
  background-color: rgba(255, 255, 255, 0);
  -webkit-tap-highlight-color: transparent;
  -webkit-transition: all 200ms ease;
  transition: all 200ms ease;
}

@media (max-width: 500px) {

  [data-am-fadeshow] .fs-prev-btn,
  [data-am-fadeshow] .fs-next-btn {
    width: 50%;
  }
}

[data-am-fadeshow] .fs-prev-btn:before,
[data-am-fadeshow] .fs-next-btn:before {
  position: absolute;
  top: 50%;
  font-size: 3vw;
  color: rgba(255, 255, 255, 0.5);
}

[data-am-fadeshow] .fs-prev-btn:hover,
[data-am-fadeshow] .fs-next-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 500px) {

  [data-am-fadeshow] .fs-prev-btn:hover,
  [data-am-fadeshow] .fs-next-btn:hover {
    background-color: rgba(255, 255, 255, 0);
  }
}

[data-am-fadeshow] .fs-prev-btn {
  left: 0;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
}

[data-am-fadeshow] .fs-prev-btn:before {
  content: "❮";
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

@media (max-width: 500px) {
  [data-am-fadeshow] .fs-prev-btn:before {
    left: 30px;
  }
}

@media (max-width: 500px) {
  [data-am-fadeshow] .fs-prev-btn {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
}

[data-am-fadeshow] .fs-next-btn {
  right: 0;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}

[data-am-fadeshow] .fs-next-btn:before {
  content: "❯";
  right: 50%;
  -webkit-transform: translate(50%, -50%);
  transform: translate(50%, -50%);
}

@media (max-width: 500px) {
  [data-am-fadeshow] .fs-next-btn:before {
    right: 30px;
  }
}

@media (max-width: 500px) {
  [data-am-fadeshow] .fs-next-btn {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
}

[data-am-fadeshow] input[type="radio"] {
  position: fixed;
  top: -9999px;
}

[data-am-fadeshow] input[type="radio"]:checked {
  /* This loop handles the slide switching and quick navigation active state */
  /* Hide navigation if only one slide */
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(5) {
  /* Show slide */
  /* Add active state to dot */
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(5) ~ .fs-slides .fs-slide {
  opacity: 0;
  -webkit-animation: none !important;
  animation: none !important;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(5) ~ .fs-slides .fs-slide:nth-child(5) {
  opacity: 1;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(5) ~ .fs-quick-nav .fs-quick-btn {
  background-color: rgba(255, 255, 255, 0.8);
  /* Cancel autoplay */
  -webkit-animation: none !important;
  animation: none !important;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(5) ~ .fs-quick-nav .fs-quick-btn:nth-child(5) {
  background-color: coral;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(5) ~ .fs-quick-nav .fs-quick-btn:nth-child(5):hover {
  opacity: 1;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(4) {
  /* Show slide */
  /* Add active state to dot */
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(4) ~ .fs-slides .fs-slide {
  opacity: 0;
  -webkit-animation: none !important;
  animation: none !important;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(4) ~ .fs-slides .fs-slide:nth-child(4) {
  opacity: 1;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(4) ~ .fs-quick-nav .fs-quick-btn {
  background-color: rgba(255, 255, 255, 0.8);
  /* Cancel autoplay */
  -webkit-animation: none !important;
  animation: none !important;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(4) ~ .fs-quick-nav .fs-quick-btn:nth-child(4) {
  background-color: coral;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(4) ~ .fs-quick-nav .fs-quick-btn:nth-child(4):hover {
  opacity: 1;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(3) {
  /* Show slide */
  /* Add active state to dot */
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(3) ~ .fs-slides .fs-slide {
  opacity: 0;
  -webkit-animation: none !important;
  animation: none !important;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(3) ~ .fs-slides .fs-slide:nth-child(3) {
  opacity: 1;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(3) ~ .fs-quick-nav .fs-quick-btn {
  background-color: rgba(255, 255, 255, 0.8);
  /* Cancel autoplay */
  -webkit-animation: none !important;
  animation: none !important;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(3) ~ .fs-quick-nav .fs-quick-btn:nth-child(3) {
  background-color: coral;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(3) ~ .fs-quick-nav .fs-quick-btn:nth-child(3):hover {
  opacity: 1;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(2) {
  /* Show slide */
  /* Add active state to dot */
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(2) ~ .fs-slides .fs-slide {
  opacity: 0;
  -webkit-animation: none !important;
  animation: none !important;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(2) ~ .fs-slides .fs-slide:nth-child(2) {
  opacity: 1;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(2) ~ .fs-quick-nav .fs-quick-btn {
  background-color: rgba(255, 255, 255, 0.8);
  /* Cancel autoplay */
  -webkit-animation: none !important;
  animation: none !important;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(2) ~ .fs-quick-nav .fs-quick-btn:nth-child(2) {
  background-color: coral;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(2) ~ .fs-quick-nav .fs-quick-btn:nth-child(2):hover {
  opacity: 1;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(1) {
  /* Show slide */
  /* Add active state to dot */
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(1) ~ .fs-slides .fs-slide {
  opacity: 0;
  -webkit-animation: none !important;
  animation: none !important;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(1) ~ .fs-slides .fs-slide:nth-child(1) {
  opacity: 1;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(1) ~ .fs-quick-nav .fs-quick-btn {
  background-color: rgba(255, 255, 255, 0.8);
  /* Cancel autoplay */
  -webkit-animation: none !important;
  animation: none !important;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(1) ~ .fs-quick-nav .fs-quick-btn:nth-child(1) {
  background-color: coral;
}

[data-am-fadeshow] input[type="radio"]:checked:nth-of-type(1) ~ .fs-quick-nav .fs-quick-btn:nth-child(1):hover {
  opacity: 1;
}

[data-am-fadeshow] input[type="radio"]:checked:first-of-type:last-of-type ~ .fs-quick-nav,
[data-am-fadeshow] input[type="radio"]:checked:first-of-type:last-of-type ~ .fs-prev-nav,
[data-am-fadeshow] input[type="radio"]:checked:first-of-type:last-of-type ~ .fs-next-nav {
  display: none !important;
}

[data-am-fadeshow]:hover .fs-prev-btn,
[data-am-fadeshow]:hover .fs-next-btn {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

/*
 * ===== PREV/NEXT NAVIGATION =====
 *
 * This section handles the prev/next navigation.
 */
/* Handle Prev/Next buttons */
[data-am-fadeshow ~ ="next-prev-navigation"] {
  /* Display first pair of Prev/Next Buttons on load */
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(5) {
  /* Show previous button */
  /* Show next button */
  /* Show last prev button if first slide */
  /* Show first next button if last slide */
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(5) ~ .fs-prev-nav .fs-prev-btn {
  display: none;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(5) ~ .fs-prev-nav .fs-prev-btn:nth-child(4) {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(5):first-of-type ~ .fs-prev-nav .fs-prev-btn:last-child {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(5):last-of-type ~ .fs-next-nav .fs-next-btn:first-child {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(4) {
  /* Show previous button */
  /* Show next button */
  /* Show last prev button if first slide */
  /* Show first next button if last slide */
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(4) ~ .fs-prev-nav .fs-prev-btn {
  display: none;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(4) ~ .fs-prev-nav .fs-prev-btn:nth-child(3) {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(4) ~ .fs-next-nav .fs-next-btn {
  display: none;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(4) ~ .fs-next-nav .fs-next-btn:nth-child(5) {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(4):first-of-type ~ .fs-prev-nav .fs-prev-btn:last-child {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(4):last-of-type ~ .fs-next-nav .fs-next-btn:first-child {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(3) {
  /* Show previous button */
  /* Show next button */
  /* Show last prev button if first slide */
  /* Show first next button if last slide */
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(3) ~ .fs-prev-nav .fs-prev-btn {
  display: none;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(3) ~ .fs-prev-nav .fs-prev-btn:nth-child(2) {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(3) ~ .fs-next-nav .fs-next-btn {
  display: none;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(3) ~ .fs-next-nav .fs-next-btn:nth-child(4) {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(3):first-of-type ~ .fs-prev-nav .fs-prev-btn:last-child {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(3):last-of-type ~ .fs-next-nav .fs-next-btn:first-child {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(2) {
  /* Show previous button */
  /* Show next button */
  /* Show last prev button if first slide */
  /* Show first next button if last slide */
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(2) ~ .fs-prev-nav .fs-prev-btn {
  display: none;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(2) ~ .fs-prev-nav .fs-prev-btn:nth-child(1) {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(2) ~ .fs-next-nav .fs-next-btn {
  display: none;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(2) ~ .fs-next-nav .fs-next-btn:nth-child(3) {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(2):first-of-type ~ .fs-prev-nav .fs-prev-btn:last-child {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(2):last-of-type ~ .fs-next-nav .fs-next-btn:first-child {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(1) {
  /* Show previous button */
  /* Show next button */
  /* Show last prev button if first slide */
  /* Show first next button if last slide */
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(1) ~ .fs-next-nav .fs-next-btn {
  display: none;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(1) ~ .fs-next-nav .fs-next-btn:nth-child(2) {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(1):first-of-type ~ .fs-prev-nav .fs-prev-btn:last-child {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] input[type="radio"]:checked:nth-of-type(1):last-of-type ~ .fs-next-nav .fs-next-btn:first-child {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] .fs-prev-btn:last-child {
  display: block;
}

[data-am-fadeshow ~ ="next-prev-navigation"] .fs-next-btn:nth-child(2) {
  display: block;
}

/*
 * ===== AUTOPLAY =====
 *
 * Functions to handle autoplay.
 * If you're not going to use autoplay, set $autoplay to false.
 * This part tends to compile into a lot of uneccesary CSS otherwise.
 */
@keyframes quickNavAnimation-5 {
  0% {
    background-color: rgba(255, 255, 255, 0.8);
  }

  4%,
  20% {
    background-color: coral;
  }

  24%,
  100% {
    background-color: rgba(255, 255, 255, 0.8);
  }
}

@-webkit-keyframes quickNavAnimation-5 {
  0% {
    background-color: rgba(255, 255, 255, 0.8);
  }

  4%,
  20% {
    background-color: coral;
  }

  24%,
  100% {
    background-color: rgba(255, 255, 255, 0.8);
  }
}

@keyframes slidesAnimation-5 {
  0% {
    opacity: 0;
  }

  4%,
  20% {
    opacity: 1;
  }

  24%,
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes slidesAnimation-5 {
  0% {
    opacity: 0;
  }

  4%,
  20% {
    opacity: 1;
  }

  24%,
  100% {
    opacity: 0;
  }
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(5):last-of-type {
  /* Slide animation */
  /* Quick navigation animation */
  /* Animation Delay */
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(5):last-of-type ~ .fs-slides .fs-slide {
  -webkit-animation: slidesAnimation-5 25s infinite;
  animation: slidesAnimation-5 25s infinite;
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(5):last-of-type ~ .fs-quick-nav .fs-quick-btn {
  -webkit-animation: quickNavAnimation-5 25s infinite;
  animation: quickNavAnimation-5 25s infinite;
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(5):last-of-type ~ .fs-slides .fs-slide:nth-child(1),
[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(5):last-of-type ~ .fs-quick-nav .fs-quick-btn:nth-child(1) {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(5):last-of-type ~ .fs-slides .fs-slide:nth-child(2),
[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(5):last-of-type ~ .fs-quick-nav .fs-quick-btn:nth-child(2) {
  -webkit-animation-delay: 4s;
  animation-delay: 4s;
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(5):last-of-type ~ .fs-slides .fs-slide:nth-child(3),
[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(5):last-of-type ~ .fs-quick-nav .fs-quick-btn:nth-child(3) {
  -webkit-animation-delay: 9s;
  animation-delay: 9s;
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(5):last-of-type ~ .fs-slides .fs-slide:nth-child(4),
[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(5):last-of-type ~ .fs-quick-nav .fs-quick-btn:nth-child(4) {
  -webkit-animation-delay: 14s;
  animation-delay: 14s;
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(5):last-of-type ~ .fs-slides .fs-slide:nth-child(5),
[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(5):last-of-type ~ .fs-quick-nav .fs-quick-btn:nth-child(5) {
  -webkit-animation-delay: 19s;
  animation-delay: 19s;
}

@keyframes quickNavAnimation-4 {
  0% {
    background-color: rgba(255, 255, 255, 0.8);
  }

  5%,
  25% {
    background-color: coral;
  }

  30%,
  100% {
    background-color: rgba(255, 255, 255, 0.8);
  }
}

@-webkit-keyframes quickNavAnimation-4 {
  0% {
    background-color: rgba(255, 255, 255, 0.8);
  }

  5%,
  25% {
    background-color: coral;
  }

  30%,
  100% {
    background-color: rgba(255, 255, 255, 0.8);
  }
}

@keyframes slidesAnimation-4 {
  0% {
    opacity: 0;
  }

  5%,
  25% {
    opacity: 1;
  }

  30%,
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes slidesAnimation-4 {
  0% {
    opacity: 0;
  }

  5%,
  25% {
    opacity: 1;
  }

  30%,
  100% {
    opacity: 0;
  }
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(4):last-of-type {
  /* Slide animation */
  /* Quick navigation animation */
  /* Animation Delay */
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(4):last-of-type ~ .fs-slides .fs-slide {
  -webkit-animation: slidesAnimation-4 20s infinite;
  animation: slidesAnimation-4 20s infinite;
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(4):last-of-type ~ .fs-quick-nav .fs-quick-btn {
  -webkit-animation: quickNavAnimation-4 20s infinite;
  animation: quickNavAnimation-4 20s infinite;
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(4):last-of-type ~ .fs-slides .fs-slide:nth-child(1),
[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(4):last-of-type ~ .fs-quick-nav .fs-quick-btn:nth-child(1) {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(4):last-of-type ~ .fs-slides .fs-slide:nth-child(2),
[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(4):last-of-type ~ .fs-quick-nav .fs-quick-btn:nth-child(2) {
  -webkit-animation-delay: 4s;
  animation-delay: 4s;
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(4):last-of-type ~ .fs-slides .fs-slide:nth-child(3),
[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(4):last-of-type ~ .fs-quick-nav .fs-quick-btn:nth-child(3) {
  -webkit-animation-delay: 9s;
  animation-delay: 9s;
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(4):last-of-type ~ .fs-slides .fs-slide:nth-child(4),
[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(4):last-of-type ~ .fs-quick-nav .fs-quick-btn:nth-child(4) {
  -webkit-animation-delay: 14s;
  animation-delay: 14s;
}

@keyframes quickNavAnimation-3 {
  0% {
    background-color: rgba(255, 255, 255, 0.8);
  }

  6.66667%,
  33.33333% {
    background-color: coral;
  }

  40%,
  100% {
    background-color: rgba(255, 255, 255, 0.8);
  }
}

@-webkit-keyframes quickNavAnimation-3 {
  0% {
    background-color: rgba(255, 255, 255, 0.8);
  }

  6.66667%,
  33.33333% {
    background-color: coral;
  }

  40%,
  100% {
    background-color: rgba(255, 255, 255, 0.8);
  }
}

@keyframes slidesAnimation-3 {
  0% {
    opacity: 0;
  }

  6.66667%,
  33.33333% {
    opacity: 1;
  }

  40%,
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes slidesAnimation-3 {
  0% {
    opacity: 0;
  }

  6.66667%,
  33.33333% {
    opacity: 1;
  }

  40%,
  100% {
    opacity: 0;
  }
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(3):last-of-type {
  /* Slide animation */
  /* Quick navigation animation */
  /* Animation Delay */
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(3):last-of-type ~ .fs-slides .fs-slide {
  -webkit-animation: slidesAnimation-3 15s infinite;
  animation: slidesAnimation-3 15s infinite;
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(3):last-of-type ~ .fs-quick-nav .fs-quick-btn {
  -webkit-animation: quickNavAnimation-3 15s infinite;
  animation: quickNavAnimation-3 15s infinite;
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(3):last-of-type ~ .fs-slides .fs-slide:nth-child(1),
[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(3):last-of-type ~ .fs-quick-nav .fs-quick-btn:nth-child(1) {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(3):last-of-type ~ .fs-slides .fs-slide:nth-child(2),
[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(3):last-of-type ~ .fs-quick-nav .fs-quick-btn:nth-child(2) {
  -webkit-animation-delay: 4s;
  animation-delay: 4s;
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(3):last-of-type ~ .fs-slides .fs-slide:nth-child(3),
[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(3):last-of-type ~ .fs-quick-nav .fs-quick-btn:nth-child(3) {
  -webkit-animation-delay: 9s;
  animation-delay: 9s;
}

@keyframes quickNavAnimation-2 {
  0% {
    background-color: rgba(255, 255, 255, 0.8);
  }

  10%,
  50% {
    background-color: coral;
  }

  60%,
  100% {
    background-color: rgba(255, 255, 255, 0.8);
  }
}

@-webkit-keyframes quickNavAnimation-2 {
  0% {
    background-color: rgba(255, 255, 255, 0.8);
  }

  10%,
  50% {
    background-color: coral;
  }

  60%,
  100% {
    background-color: rgba(255, 255, 255, 0.8);
  }
}

@keyframes slidesAnimation-2 {
  0% {
    opacity: 0;
  }

  10%,
  50% {
    opacity: 1;
  }

  60%,
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes slidesAnimation-2 {
  0% {
    opacity: 0;
  }

  10%,
  50% {
    opacity: 1;
  }

  60%,
  100% {
    opacity: 0;
  }
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(2):last-of-type {
  /* Slide animation */
  /* Quick navigation animation */
  /* Animation Delay */
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(2):last-of-type ~ .fs-slides .fs-slide {
  -webkit-animation: slidesAnimation-2 10s infinite;
  animation: slidesAnimation-2 10s infinite;
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(2):last-of-type ~ .fs-quick-nav .fs-quick-btn {
  -webkit-animation: quickNavAnimation-2 10s infinite;
  animation: quickNavAnimation-2 10s infinite;
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(2):last-of-type ~ .fs-slides .fs-slide:nth-child(1),
[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(2):last-of-type ~ .fs-quick-nav .fs-quick-btn:nth-child(1) {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(2):last-of-type ~ .fs-slides .fs-slide:nth-child(2),
[data-am-fadeshow ~ ="autoplay"] input[type="radio"]:nth-of-type(2):last-of-type ~ .fs-quick-nav .fs-quick-btn:nth-child(2) {
  -webkit-animation-delay: 4s;
  animation-delay: 4s;
}

.fs-slide {
  position: relative;
}

.fs-slide::before {
  position: absolute;
  content: '';
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 30, 30, 0.18);
  display: block;
}

.fs-slide1 {
  background: url(images/home/dergprom.jpg) no-repeat;
}

.fs-slide2 {
  background: url(images/home/dostupniLiku.jpg) no-repeat;
}

.fs-slide3 {
  background: url(images/home/Dergprom2.jpg) no-repeat;
}

/* Base Styling */
body {
  margin: 0;
}

.container_slider {
  width: 100vw;
  height: calc(100vh - 225px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}




/*
_______________________________________________________
*Конец Слайдера
_______________________________________________________
*/
/*ПОИСК не найдено_____________________________________
_______________________________________________________*/
main .search_nenaydeno {
  background: rgba(201, 201, 201, 1);
  border-radius: 5px;
  padding: 10px;
}

main .search_nenaydeno h4 {
  font-size: 20px;
  margin: 0 0 20px 0;
}

main .search_nenaydeno p {
  margin: 0 0 10px 0;
}

/*/МЕНЮ___________________________________________________
_________________________________________________________*/
.dws-menu * {
  margin: 0;
  padding: 0;
}

.dws-menu ul,
.dws-menu ol {
  list-style: none;
  display: flex;
}

.dws-menu > ul {
  display: flex;
  justify-content: flex-start;
}

.dws-menu > ul li {
  position: relative;
  border-right: 1px solid #c7c8ca;
}

.dws-menu > ul li:first-child {
  border-left: 1px solid #b2b3b5;
}

.dws-menu > ul li:last-child {
  border-right: 1px solid #babbbd;
}

.dws-menu > ul li > a i.fa {
  position: absolute;
  top: 15px;
  left: 12px;
  font-size: 18px;
}

.dws-menu > ul li a {
  display: block;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#c9c9c9+0,f6f6f6+2,c4c5c7+98,757577+100;Custom+3 */
  background: rgb(201, 201, 201);
  /* Old browsers */
  background: -moz-linear-gradient(top, rgba(201, 201, 201, 1) 0%, rgba(246, 246, 246, 1) 2%, rgba(196, 197, 199, 1) 98%, rgba(117, 117, 119, 1) 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(201, 201, 201, 1) 0%, rgba(246, 246, 246, 1) 2%, rgba(196, 197, 199, 1) 98%, rgba(117, 117, 119, 1) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(201, 201, 201, 1) 0%, rgba(246, 246, 246, 1) 2%, rgba(196, 197, 199, 1) 98%, rgba(117, 117, 119, 1) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c9c9c9', endColorstr='#757577', GradientType=0);
  /* IE6-9 */

  padding: 15px 30px 15px 40px;
  font-size: 14px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dws-menu li a:hover {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e0e1e5+0,454547+2,454547+98,e0e1e5+100 */
  background: rgb(224, 225, 229);
  /* Old browsers */
  background: -moz-linear-gradient(top, rgba(224, 225, 229, 1) 0%, rgba(69, 69, 71, 1) 2%, rgba(69, 69, 71, 1) 98%, rgba(224, 225, 229, 1) 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(224, 225, 229, 1) 0%, rgba(69, 69, 71, 1) 2%, rgba(69, 69, 71, 1) 98%, rgba(224, 225, 229, 1) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(224, 225, 229, 1) 0%, rgba(69, 69, 71, 1) 2%, rgba(69, 69, 71, 1) 98%, rgba(224, 225, 229, 1) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e0e1e5', endColorstr='#e0e1e5', GradientType=0);
  /* IE6-9 */

  color: #fff;
  ;
  box-shadow: 1px 5px 10px -5px black;
  transition: all 0.3s ease;
}

/*sub menu*/
.dws-menu li ul {
  position: absolute;
  min-width: 100%;
  display: none;
}

.dws-menu li > ul li {
  border: 1px solid #c7c8ca;
}

.dws-menu li > ul li a {
  padding: 10px;
  text-transform: none;
  background: #e4e4e5;
}

.dws-menu li > ul li ul {
  position: absolute;
  right: -100%;
  top: 0;
}

.dws-menu li:hover > ul {
  display: block;
}

/*==== MEDIA ====*/
.dws-menu [type="checkbox"],
.dws-menu label.toggleSubmenu {
  display: none;
}

.dws-menu label.toggleMenu {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#c9c9c9+0,f6f6f6+2,c4c5c7+98,757577+100;Custom+3 */
  background: rgb(201, 201, 201);
  /* Old browsers */
  background: -moz-linear-gradient(top, rgba(201, 201, 201, 1) 0%, rgba(246, 246, 246, 1) 2%, rgba(196, 197, 199, 1) 98%, rgba(117, 117, 119, 1) 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(201, 201, 201, 1) 0%, rgba(246, 246, 246, 1) 2%, rgba(196, 197, 199, 1) 98%, rgba(117, 117, 119, 1) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(201, 201, 201, 1) 0%, rgba(246, 246, 246, 1) 2%, rgba(196, 197, 199, 1) 98%, rgba(117, 117, 119, 1) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c9c9c9', endColorstr='#757577', GradientType=0);
  /* IE6-9 */

  display: none;
  padding: 15px 40px;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
  position: relative;
}

.dws-menu label.toggleMenu .fa {
  position: absolute;
  top: 15px;
  left: 12px;
  font-size: 18px;
}

@media all and (max-width: 1024px) {

  .dws-menu {
    overflow: hidden;
  }

  .dws-menu ul,
  .dws-menu ol {
    list-style: none;
    display: inline-block;
    width: 100%
  }

  .dws-menu .ul {
    display: block;
    max-height: 0;
  }

  .dws-menu li:hover .sub-menu {
    position: relative;
    min-width: 100%;
    display: block;
  }

  .dws-menu li > .sub-menu li .sub-menu {
    position: relative;
    right: auto;
    top: auto;
  }

  .dws-menu li > ul li a {
    padding: 15px 30px 15px 55px;
  }

  .dws-menu label.toggleMenu {
    display: block;
    color: #1f93f5;
    background: #000000;
  }

  input.toggleMenu:checked + label.toggleMenu {
    background: #000;
    color: #fff;
  }

  header .dws-menu .active {
    display: block;
    position: relative;
    max-height: 5000px;
    transition: max-height 2s ease-in;
  }

  header .dws-menu .active li {
    display: inline-block;
    width: 100%;
  }

  .dws-menu label.toggleSubmenu {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: block;
  }

  input.toggleSubmenu:checked ~ a {
    background: #454547;
    color: #fff;
  }

  .dws-menu label.toggleSubmenu .fa:before {
    content: "\f0d7";
    color: #1f93f5;
  }

  .dws-menu label.toggleSubmenu .fa {
    position: absolute;
    top: 15px;
    right: 30px;
  }

  .dws-menu input.toggleSubmenu:checked ~ label.toggleSubmenu .fa::before {
    content: "\f0d8";
    color: #ffffff;
  }
}

/*МЕНЮ  КОНЕЦ___________________________________________________
_________________________________________________________*/
/*ПОИСК*/



/* Main _______________________________________
        ____________________________________________*/


main .section_top {
  display: flex;
  flex-flow: column;
  margin: 0 0 10px 0;
  padding: 0 0 10px 0;
  border-bottom: 1px solid #cbc6c6;
}

main .section_top .top_news {
  position: relative;
  margin: 0 0 15px 0;
}

main .section_top .top_news .news_items {
  position: absolute;
  width: 100%;
  height: 55%;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  padding: 15px;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  border-radius: 10px 0 0 0;
}

main .section_top .top_news .news_items:hover {
  background: rgba(0, 0, 0, 0.37);
  transition: background 1s;
}

main .section_top .top_news .news_items h2,
main .section_top .top_news .news_items .date {
  font: italic 1.7rem/2rem 'Noto Serif', serif;
  color: #ffffff;
}

main .section_top .top_news .news_items .date {
  font-size: 1.4rem;
  text-align: right;
  font-style: normal;
}

/*КРОХИ_______________________________________
______________________________________________*/
main .krohi .krohi_items {
  display: inline-block;
  margin: 0 0 10px 0;
  color: #000000;
}

main .krohi .krohi_items a {
  color: #1f93f5;
}

/*Content_____________________________________
______________________________________________*/

main .content {
  display: flex;
  flex-flow: column;
  margin: 0 0 20px 0;
}

main .content h1 {
  font: 2.5rem/3rem 'Lobster', cursive;
}

main .content .post {
  margin: 0 0 20px 0;
  padding: 10px 0 0 0;
  border-bottom: 1px solid black;
  position: relative;
}

main .content .post img {
  margin: 0 0 10px 0;
}

main .content .post .post_content {
  padding: 0 0 70px 0;
}

main .single .post .post_content {
  padding: 0 0 70px 0;
  margin: 0 0 20px 0;
  line-height: 1.5;
  text-align: justify;
  font-size: 17px;
}

main .content .post .post_content .onas {
  background: #efefef;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 3px 3px 0 0 #a9a7a7;
  line-height: 1.5;
  font-size: 2rem;
}

main .content .post .post_content .onas ul {
  margin: 20px 0 20px 50px;
}

main .content .post .post_content .onas li {
  list-style-type: circle;
  margin: 0 0 15px 0;
}

main .content .post .post_content .onas li a {
  border-radius: 5px;
  background: linear-gradient(to bottom, rgba(201, 201, 201, 1) 0%, rgba(246, 246, 246, 1) 2%, rgba(196, 197, 199, 1) 98%, rgba(117, 117, 119, 1) 100%);
  padding: 5px 10px;
}

main .content .post .post_content .text-justify {
  padding: 0 0 20px 0;
}

main .content .post .wp-post-image {
  width: 100%;
  height: 100%;
}

main .content .content_link .post_content h3 {
  font-size: 2rem;
  line-height: 3rem;
}

main .content .more-link {
  color: #0031ff !important;
}

main .post .block_info {
  display: flex;
  flex-flow: row;
  justify-content: flex-end;
  position: absolute;
  right: 0;
  bottom: 15px;
}

main .post .block_info .category,
main .post .block_info .post_date {
  text-align: right;
  font-size: 12px;
  font-weight: bold;
  margin: 10px 10px 0 0;

}

main .post .block_info .category a:last-of-type {
  color: #0012ff;
  font-style: italic;
}

/*
    *КАТЕГОРИИ____________________________________
__________________________________________________
*/
main .grid_container .category_page,
main .grid_container .content .search_ {
  padding: 20px 0 20px 45px;
  margin: 15px 0 20px 0;
  background: #f2f2f2;
  border-radius: 5px;
  font-size: 1.8rem;
}

main .grid_container .category_page h2 .fa {
  padding: 0 5px 0 0;
}

main .grid_container .category_page h2 span {
  padding: 0 0 0 2px;
}

main .grid_container .category_page h2 span {}

/* КОНТАКТЫ________________________________________
___________________________________________________*/
main .content .contacts {
  display: flex;
  flex-flow: column;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  padding: 20px;
}

main .content .contacts_items {
  margin: 0 0 20px 0;
}

main .content .contacts_items table th {
  font-weight: bold;
}

main .content .contacts_items table td {
  padding: 5px;
}

main .content .map {
  border: 1px solid #000000;
}

main .content .map,
main .content .map_items {
  width: 100%;
}

/*Странички __________________________________________
______________________________________________________*/

main .wp-pagenavi {
  display: flex;
  flex-flow: row;
  justify-content: center;
  margin: 0 auto 30px;
  ;
  width: 200px;
}

main .wp-pagenavi .current,
main .wp-pagenavi a {
  display: block;
  width: 30px;
  height: 30px;
  background: linear-gradient(to bottom, rgba(201, 201, 201, 1) 0%, rgba(246, 246, 246, 1) 2%, rgba(196, 197, 199, 1) 98%, rgba(117, 117, 119, 1) 100%);
  text-align: center;
  padding: 6px;
  border-radius: 5px;
  color: #585757;
  font-weight: bold;
  margin: 0 5px;
}

main .wp-pagenavi .current {
  color: #000000;
}

main .wp-pagenavi a:hover {
  background: linear-gradient(to bottom, rgba(201, 201, 201, 1) 0%, rgba(246, 246, 246, 1) 2%, rgb(139, 136, 136) 98%, rgba(117, 117, 119, 1) 100%);
}

/*МЕДИЦИНСКИЕ сайты__________________________________
_____________________________________________________*/
main .medical_site {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  position: relative;
}

main .medical_site .items {
  width: calc(50% - 20px);
  margin: 0 0 20px 0;
  padding: 5px;
  border: 1px solid black;
  border-radius: 5px;
  box-shadow: 6px -3px 16px 0px rgba(69, 69, 71, 1);
}

main .medical_site .items:hover {
  box-shadow: 6px -3px 16px 0px #00adff;
}

/*FOOTER____________________________________________
____________________________________________________*/
footer {
  background: #000000;
  color: #ffffff;
  padding: 0 0 20px 0;
}

footer .footer_left {
  margin: 0 0 20px 0;
}

footer .gerb {
  width: 61px;
  height: 75px;
  margin: 0 auto 20px;
}

footer .footer_right address a {
  color: #ffffff;
}

footer .footer_right address a:hover {
  color: #71d3ff;
}

/*Нумерация страничек_______________________________
_____________________________________________________*/

/* iPads (вертикальная) ----------- */
@media only screen and (max-width: 767px){
  main .content .post .post_content .onas{
    padding: 20px;
  }
}
  
@media only screen and (min-width: 768px) {

  /*HEADER________________________________
	____________________________________*/
  header .top_panel {
    flex-flow: row;
    margin: 0 0 10px 0;
    position: relative;
  }

  header .top_panel::after {
    display: none;
  }

  header .top_panel .top_nav {
    margin: 0 0 20px 0;
  }

  header .top_panel .top_nav li {
    padding: 10px 18px 0 0;
  }

  header .top_panel form {
    margin: 0;
  }

  header .top_panel .search {
    width: inherit;
  }

  header form input[type="search"] {
    width: auto;
  }

  /*MAIN_______________________________________
	_________________________________________*/
  main .section_top {
    flex-flow: row;
  }

  main .section_top article:first-of-type {
    width: 66.6666%;
    align-self: flex-start;
    margin: 0 30px 0 0;
  }

  main .section_top .top_news {
    width: 33.3333%;
    align-self: flex-start;
    margin: 0 23px 15px 0;
    overflow: hidden;
  }

  main .section_top article:last-of-type {
    margin: 0 0 0 -33%;
    align-self: flex-end;
  }

  main .section_top article:nth-of-type(2),
  main .section_top article:nth-of-type(3) {
    flex-basis: 29%;
    min-height: 150px;
  }

  /*CONTENT____________________________________
	_________________________________________*/
  main .content {
    flex-flow: row wrap;
    justify-content: space-between;
    overflow: hidden;
  }

  main .content h1 {
    width: 100%;
    margin: 0 0 15px 0;
  }

  main .content .post {
    width: calc(50% - 20px);
  }

  main .content .post img {
    width: 100%;
    height: 59%;
    object-fit: cover;
  }

  /*Single запись отдельно__________________________________
	______________________________________________________*/
  main .single,
  main .page {
    padding: 20px 0 0 0;
  }

  main .single h1,
  main .page h1 {
    text-align: center;
  }

  main .single .post {
    width: auto;
  }

  main .single .post .wp-post-image {
    width: 65% !important;
    /*		width: auto !important;*/
    float: none !important;
    margin: 0 auto 20px !important;
  }

  main .page .post {
    border: none;
  }

  /*Medical_____________________________________
	__________________________________________*/
  main .medical_site {
    justify-content: space-around;
  }

  main .medical_site .items {
    width: calc(20% - 20px);
  }

  .medical_site .items img {
    border-radius: 5px;
  }

  /* КОНТАКТЫ________________________________________
___________________________________________________*/
  main .content .contacts {
    flex-flow: row wrap;
  }

  main .content .contacts_items table th {
    font-weight: bold;
  }

  main .content .contacts_items table td {
    padding: 9px;
  }

  /*FOOTER 	_________________________________
	_____________________________________*/
  footer .grid_container {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
  }

  footer .grid_container .footer_left,
  footer .grid_container .img,
  footer .grid_container .footer_right {
    width: 33.3333%;
    margin: 0;
  }
}
  /* МЕНЮ медиа-запрос_______________________________________________________________
    __________________________________________________________________*/

  @media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio) {

    header .grid_container,
    main .grid_container,
    footer .grid_container {
      max-width: 980px;
    }
  }

  /* iPad Pro**********_________________________
	______________________________________*/
  @media only screen and (min-width: 1024px) {

    header .grid_container,
    main .grid_container,
    footer .grid_container {
      max-width: 1170px;
      margin: 0 auto;
      padding: 0;
    }

    header .logo a .span_logo::before {
      /*    	left: -205px;*/
      left: -495px;
    }

    header .logo a .span_mobile {
      display: none;
    }

    header .logo a .span_desctop {
      display: block;
    }

    header .humb {
      display: none;
    }

    header nav {
      padding: 0;
      position: relative;
      z-index: 1;
      margin: 0;
    }

    header .menu_left {
      flex-flow: inherit;
      position: static;
      top: auto;
      bottom: auto;
      width: inherit;
      left: auto;
      background: none;
      z-index: inherit;
      transition: none;
      box-shadow: none;
    }

    header .menu_left li {
      display: inline-block;
      border: none;
      position: relative;
    }

    header .menu_left li a {
      padding: 15px 15px 15px 15px;
      border-right: 1px solid #333333;
      border-bottom: none;
      color: #ffffff;
      font-size: 1.8rem;
      font-weight: bold;
      transition: color .5s cubic-bezier(0.4, 0, 1, 1);
    }

    /*    header .menu_left li::before{
        position: absolute;
        content: '';
        width: 100%;
        height: 100%;
        background: rgba(202, 202, 202, 0.22);
        top: -100%;
        transition: top .5s cubic-bezier(0.4, 0, 1, 1);
        z-index: -1;
    }
	
    header .menu_left li:hover::before{
        top: 0;
    }*/
    header .menu_left li:hover a {
      color: #48a7f7;
      transition: color .5s cubic-bezier(0.4, 0, 1, 1);
    }

    header .menu_left li:first-child a {
      padding: 15px 15px 15px 0;
      border-right: 1px solid #333333;
      background: none;
    }

    header .menu_left li:hover > .menu_items {
      display: block;
      position: absolute;
      padding: 0;
    }

    header .menu_left .menu_items li:first-child a {
      padding: 15px 15px 15px 15px;
    }

    header .menu_left .menu_items li {
      width: 100%;
      border: none;
      background: #252525;
      padding: 0 0 0 10px;
    }


    .container_slider {
      margin: 0 0 40px 0;
    }



    /*MAIN ______________________________
	___________________________________*/
    main .section_top .top_news {
      margin: 0 35px 15px 0;
    }

    main .section_top .top_news:first-of-type .news_items {
      height: 30%;
    }

    main .section_top .top_news:first-of-type .news_items h2 {
      font-size: 2rem;
    }

    /*Content_________________________________
	_______________________________________*/
    main .content {
      flex-flow: column;
    }

    main .content .post {
      width: 100%;
      padding: 3px 3px 10px;
      position: relative;
      min-height: 160px;
    }

    main .content .post .wp-post-image {
      width: 25%;
      float: left;
      margin: 0 30px 20px 0;
    }

    main .content .post a {
      color: #000000;
    }

    main .content .more-link {
      color: #0031ff !important;
    }

    main .content .post:hover h3 {
      color: rgb(255, 0, 0);
      transition: color 1.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    }

    main .content .post .post_content h3 {
      margin: 0 0 10px 0;
      font-size: 3rem;
      line-height: 3rem;
      text-align: center;
    }

    main .content .post .post_content .text-justify {
      padding: 0 0 20px 0;
    }

    /* ПАМ`ЯТКИ___________________________________________
______________________________________________________*/

    /* КОНТАКТЫ________________________________________
___________________________________________________*/
    main .content .contacts {
      justify-content: space-around;
    }

    main .content .contacts_items {
      max-width: calc(100% - 50px);
    }

    footer {
      padding: 20px 0;
    }
  }

  /* Настольные компьютеры и ноутбуки ----------- */
  @media only screen and (min-width: 1170px) {
    header nav::before {
      width: 5000%;
      height: 100%;
      position: absolute;
      background: rgb(201, 201, 201);
      /* Old browsers */
      background: -moz-linear-gradient(top, rgba(201, 201, 201, 1) 0%, rgba(246, 246, 246, 1) 2%, rgba(196, 197, 199, 1) 98%, rgba(117, 117, 119, 1) 100%);
      /* FF3.6-15 */
      background: -webkit-linear-gradient(top, rgba(201, 201, 201, 1) 0%, rgba(246, 246, 246, 1) 2%, rgba(196, 197, 199, 1) 98%, rgba(117, 117, 119, 1) 100%);
      /* Chrome10-25,Safari5.1-6 */
      background: linear-gradient(to bottom, rgba(201, 201, 201, 1) 0%, rgba(246, 246, 246, 1) 2%, rgba(196, 197, 199, 1) 98%, rgba(117, 117, 119, 1) 100%);
      /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c9c9c9', endColorstr='#757577', GradientType=0);
      /* IE6-9 */
      top: 0;
      left: -2000%;
      content: '';
      display: block;
      z-index: -1;
    }

    header .top_panel::after {
      position: absolute;
      content: '';
      width: 3000%;
      height: 1px;
      background: #e5e5e5;
      bottom: 0;
      left: -100%;
      display: block;
    }
  }
  
    /*---------------------*/
  @media only screen and (min-width: 320px){
    
    
    .title_post_pdf_page {
      padding: 15px 0 25px;
      font-size: 24px;
      line-height: 1.5;
      
    }

    .post_pdf {
      margin: 0 0 20px;
    }

    .download_pdf {
      display: flex;
      flex-flow: row;
      align-items: center;
      margin: 0 0 25px;
    }

    .download_pdf_img {
      width: 60px;
      height: 60px;
      margin: 0 15px 0 0;
      transition: all .3s ease-out;
    }

    .download_pdf_img img {
      width: auto;
    }

    .post_pdf_title {
      width: calc(100% - 75px);
      display: block;
      font-size: 18px;
      line-height: 1.5;
      font-weight: 600;
      transition: all .3s ease-out;
    }

    .download_pdf:hover .download_pdf_img {
      transform: translateY(-5px);
    }

    .download_pdf:hover .post_pdf_title {
      color: #48a7f7;
      text-shadow: 0 0 0.3px #48a7f7;
    }
}
  
  /* Большие экраны ----------- */
  @media only screen and (min-width: 1280px) {
      main .content .post .post_content .onas ul{
        column-count: 2;
      }
  }
