/*!
Theme Name: Extrenka
Theme URI: http://extrenka
Author: VS
Author URI: https://rocemd.org.ua/
Description: extrenka
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: extrenka

 /*var*/
:root {
  --primary: #e55c5c;
  --secondary-blue: #388fe5;
  --neutral-gray: #acb4bf;
  --neutral-dark: #474f59;
  --neutral-light: #f2f9ff;
  --neutral-red: #fff3f3;
}
.pagination {
	--bs-pagination-color: #388fe5!important;
	--bs-pagination-active-bg: #388fe5!important;
}

html {
  font-family: "e-Ukraine", sans-serif, "Arial";
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border-radius: 5px;
  border: 1px solid var(--primary);
  background: var(--primary);
  line-height: 1;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  opacity: 0.65;
}

button:active:not(.navbar-toggler),
button:focus:not(.navbar-toggler),
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border: 1px solid var(--primary);
  background: var(--primary);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #000;
  border: 1px solid var(--neutral-gray);
  border-radius: 5px;
  padding: 3px;
  min-height: 52px;
  margin-bottom: 10px;
}
#comments textarea {
  width: 100%;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}
input::placeholder {
  text-indent: 10px;
  color: var(--neutral-gray);
  font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

select {
  border: 1px solid #ccc;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.updated:not(.published) {
  display: none;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}
/*------add-------*/

@media (min-width: 1450px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1500px;
  }
}

body {
  font-family: "e-Ukraine", sans-serif, "Arial";
color: var(--neutral-dark);
}
a {
text-decoration: none;
color: var(--neutral-dark);
transition: .3s all;
}
a:hover {
  color: var(--primary);
  transition: .3s all;
}
h1 {
  font-size: 36px;
  font-weight: 700;
}
h2 {
  font-size: 24px;
  font-weight: 700;
}
h3 {
  color: var(--neutral-dark);
}
h4 {
  color: var(--primary);
}
.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4
{
  text-align: center;
}
.top-header {
	font-weight: 400;
    font-size: 0.75em;
    background-color: var(--secondary-blue);
    color: #fff;
}
.top-header i {
 color: #fff;
font-size: 16px;
} 
.top-header a {
	 color: #fff;
}
.site-title a {
  font-size: 0.85em;
  font-weight: 700;
  color: #2b4a9c;
  text-decoration: none;
  line-height: normal;
}
.site-title {
  max-width: 480px;
  line-height: 1em;
}
.site-branding img {
  max-width: fit-content;
}
#primary-menu, .navbar-collapse {
  display: flex;
  justify-content: end;
  margin: 0;
padding: 0;
}
/*main menu*/
@media (min-width: 991px){
#primary-menu li {
  list-style: none;
  margin-left: 2.5rem;
}
#primary-menu li:first-child {
  margin-left: 0em;
}
#primary-menu li a {
  font-size: 0.88em;
  color: var(--neutral-dark);
  transition: .5s all; 
}
#primary-menu li a:hover {
	color: var(--primary);
}
#primary-menu li:not(.active) a::after {
  content: "";
  display: block;
  border-bottom: 3px solid var(--primary);
  width: 0%;
  position: relative;
  top: 10px;
  margin: 0 auto;
  transition: width .3s;
}

#primary-menu li:not(.active) a:hover::after {
  content: "";
  display: block;
  border-bottom: 3px solid var(--primary);
  width: 100%;
  position: relative;
  top: 10px;
  margin: 0 auto;
  transition: width .3s;
}

#primary-menu .active::after {
  content: "";
  display: block;
  border-bottom: 3px solid var(--primary);
  width: 100%;
  position: relative;
  top: 10px;
  margin: 0 auto;
}
.dropdown-menu {
    padding: 5px 25px 20px 20px;
    margin-top: 0;
    transition: 5s;
    transition-delay: 5s;
    min-width: 200px;
    border-radius: 3px;
    border: 1px solid var(--neutral-gray);
}
#primary-menu .dropdown-menu li {
  margin-left: 0em;
	padding: 5px 0;
}
}
#primary-menu li:hover > .dropdown-menu {
	display:block!important;
}
.slider {
  position: relative;
}
.slider__bottom-gradient {
  bottom: 0;
  position: absolute;
  width: 100%;
  height: 20%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
}
.header_bg-gradient {
  bottom: 30px;
  left: 0;
  z-index: 2;
  position: relative;
}
.header_bg-gradient {
  background:  linear-gradient(217deg,  #fdca00,  #007cf7,  #fdca00,  #007cf7 100%);
  background-size: 400% 150%;
  animation: gradientAnimation 20s ease-in-out infinite;
}
@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
main section {
padding:40px 0;
}
main h3, main h4, main h5 {
margin-bottom: 60px;
}
.main-text {
  padding: 15px 85px;
  text-align: center;
  border-radius: 10px;
  width: 90%;
}
.main-text .text {
  color: #fff;
  text-align: center;
  font-size: calc(1.4em + 0.9vw);
  font-style: normal;
  font-weight: 300;
  line-height: 156.422%; /* 56.312px */
}
.statistic-items {
  width: 90%;
  margin: 0 auto;
  justify-content: space-around;
}
.statistic-items .count {
  color: var(--primary);
  text-align: center;
  font-size: 64px;
  font-weight: 100;
}
.statistic-items .count__info {
  color: var(--neutral-dark);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}
.statistic-item {
  background-size: 124px 124px;
  background-position-y: 0px;
  background-size: 124px 124px;
  overflow: visible;
  min-height: 145px;
  display: flex;
  flex-direction: column;
}
.statistic-item:nth-child(1) {
  background: url(../extrenka/img/icon-phone-light.svg) no-repeat center;
}
.statistic-item:nth-child(2) {
  background: url(../extrenka/img/icon-doctor-light.svg) no-repeat center;
}
.statistic-item:nth-child(3) {
  background: url(../extrenka/img/icon-ambulance-light.svg) no-repeat center;
}
.statistic-item:nth-child(4) {
  background: url(../extrenka/img/icon-heart-light.svg) no-repeat center;
}
.bottom-line::after {
  content: "";
  display: block;
  border-bottom: 3px solid var(--primary);
  width: 70px;
  height: 15px;
  margin: 0 auto;
}
.features .features-items {
  min-height: 315px;
  color: var(--neutral-dark);
  border-radius: 5px;
  padding: 20px;
  font-size: 1.5em;
  font-weight: 300;
  line-height: 128.422%; /* 30.821px */
  display: flex;
}

.features .features-items:nth-child(1) {
  background: url(../extrenka/img/1.svg) no-repeat center;
  background-position: 70% 50%;
}
.features .features-items:nth-child(2) {
  background: url(../extrenka/img/2.svg) no-repeat center;
  background-position: 70% 50%;
}
.features .features-items:nth-child(3) {
  background: url(../extrenka/img/3.svg) no-repeat center;
  background-position: 70% 50%;
}
.features .features-items:nth-child(4) {
  background: url(../extrenka/img/4.svg) no-repeat center;
  background-position: 70% 50%;
}
.features .features-items:nth-child(odd) {
  background-color: var(--neutral-red);
  align-items: flex-end;
}
.main-news {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--neutral-light);
}
.main-news .card-date, .category .card-date{
  color: var(--neutral-gray-2);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  margin-bottom: 18px;
}
.main-news .card-title, .category .card-title {
	margin-bottom: 20px;
}
.main-news .card-title a{
  font-size: .8em;
  font-style: normal;
  font-weight: 700;
  text-decoration: none;
}
.main-news .card-body p, .category .card-body p {
  color: var(--neutral-dark);
  font-size: .87em;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 21px */
}
.card {
	border: none;
}
#primary .category {
	margin-top:30px;
}
.category .item, .main-news .item {
	display: flex;
}
.category .card {
	filter: drop-shadow(0px 4px 16px rgba(0, 0, 0, 0.10));
	margin-bottom: 30px;
	flex: 1;
}
.main-news .card {
	flex: 1;
}
.main-events h5 {
	text-align: center!important;
	color: var(--neutral-dark);
	font-size: 1.5em;
	font-style: normal;
	font-weight: 700;
}
.events-date {
	border-radius: 5px;
	background: var(--secondary-blue);
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #fff;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
}
.events-date .event-date-box {
	padding: 15px;
} 
.events-date .event-date-day {
	font-size: 32px;
	line-height: normal;
}
.main-events .events-text h6 a{
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: normal;
text-decoration: none;
}
.main-events .events-text {
	padding-left: 30px;
}
.main-events .events-text p{
	color: var(--neutral-dark);
	font-size: .87em;
	font-style: normal;
	font-weight: 400;
	line-height: 150%; /* 21px */
}
footer {
  background: var(--neutral-dark);
  padding: 50px 0;
}
footer, footer a {
  color: #fff;
  font-size: 1em;
font-style: normal;
font-weight: 400;
}
footer .site-title a {
  color: #fff;
}
footer ul, footer li {
list-style: none;
margin: 0;
padding: 0;
}
footer li {
margin-bottom: 5px;
}
.footer-menu__item .bottom-line {
  margin-bottom: 20px;
}
footer .bottom-line::after {
margin: 0;
}
footer .partners-link {
margin-left: 88px;
}
footer .partners-link a {
padding-right: 10px;
}
footer .social-link__item i {
font-size: 21px;
}

/*search*/
#search-btn {
cursor: pointer;
}
.search-drawer{
  height: 98px;
  position: absolute;
  right: 0px;
  top: 67px;
  display:none;
  z-index:10;
}

.search-tool {
  height: 98px;
  width: 100%;
}

#search-close {
   float: right;
  right: 6px;
  position: relative;
  top: 36px;
}

#search-close i{
  color: #fff;
  position: relative;
  cursor: pointer;
  font-size: 30px;
  display:block;
  vertical-align:middle;
  z-index: 11; 
}

button#search-header {
  color: #fff;
  font-size: 20px;
  position: relative;
  top: 0;
  float: right;
  right: 64px;
  z-index: 11;
  height: 98px;
  text-align: center;
  cursor: pointer;
  background-color: transparent;
  border: none;
}

button#search-header:hover, #ext-menu:hover, #search-btn:hover {
    background-color: rgba(255, 255, 255, 0.45);
}

.s-opened {
  width:100%;
  display:block;
    animation: swiftRight 1s cubic-bezier(.55,0,.1,1) normal;
}


.s-closed {
  width:0px;
  animation: swiftoutRight 1s cubic-bezier(.55,0,.1,1) normal;
  
}


/** SEARCH ELEMENTS **/

.search-drawer form {
  width: 100%;
  height:64px;
  border-radius: 3px;
}

#search-form {
  position: relative;
  z-index: 10;
}
#search-form label {
display: block;
}
.search-drawer input {
  margin: 0px auto;
  height: 50px;
  width: 85%;
  position: relative;
  top: 22px;
  float: left;
  display: flex;
  border: none;
  color: #000;
  font-size: 1.5rem;
  text-indent: 15px;
  align-items: center;
}

.search-drawer input:focus,
.search-drawer input:valid {
  box-shadow: none;
  background-color: #f5f5f5;
  outline: 0px;
}

/* Anything but Firefox and Internet Explorer 8 */
  @-moz-document url-prefix() { 
    .search-drawer input#in-search {
         height: 16px;
         top: 15px;
            }
  }

@-webkit-keyframes autofill {
    to {
        color: #000;
        background: white;
    }
}

.search-drawer input:-webkit-autofill {
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}

/** SHADOW **/

.shadow-bar {
  background-color: #000000b5;
  box-shadow: 0 16px 24px 2px hsla(0, 0%, 0%, 0.14), 0 5px 30px 5px hsla(0, 0%, 0%, 0.12), 0 8px 10px -5px hsla(0, 0%, 0%, 0.4);
}


@media only screen and (max-width: 1410px){
#search-header {
    right: 15px;
}

#search-close {
	right: 10px;
}
}

@media only screen and (max-width: 912px){
#search-header {
	right: 2px!important;
}

#search-close {
	right: 2px;
}

input,input:focus,
input:valid {
    width: 75%;
}
}

@media only screen and (max-width: 580px){
  .search-drawer input, .search-drawer input:focus,
  .search-drawer input:valid {
    width: 68%;
}
}

@media only screen and (max-width: 432px){
  .search-drawer input, .search-drawer input:focus,
  .search-drawer input:valid {
    width: 55%;
}

#search-header {
	right: 14px!important;
	font-size: 17px;
}

#search-close {
	right: 0px;
}
}

@media only screen and (max-width: 280px){

#search-close i {
    font-size: 1.2rem;
}
  
  #search-close {
    right: -4px;
}

#search-header {
    right: 14px!important;
    height: 21.5px;
    font-size: 15px;
}

.search-drawer input, .search-drawer input#in-search:focus, .search-drawer input:valid#in-search {
    width: 50%;
    margin-left: 10px;
  top: 15px;
}

.search-drawer input#in-search {
    font-size: 1.2rem;
    text-indent: 10px;
    line-height: 10px;
}
}

/*Page*/
.entry-header {
  background: url(../extrenka/img/103-bg.png) no-repeat center right;
  background-size: contain;
  background-color: #388FE5;
  height: auto;
  min-height: 120px;
  }
.entry-header h1, .entry-header a, .entry-header #breadcrumbs, .entry-header span {
  color: #fff;
  text-align: left;
}
#breadcrumbs {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}
.bg-title-page {
height: 100%;   
}
.entry-content {
margin-top: 80px;
margin-bottom: 40px;
}
.entry-content h2 {
color: var(--primary);
font-size: 32px;
font-weight: 700;
text-align: left;
margin-bottom: 28px
}
.entry-meta {
  font-size: 12px;
  margin-bottom: 10px;
}
.post-thumbnail {
	margin-bottom: 20px;
    text-align: center;
	width: 100%;
    max-height: 700px;
	overflow: hidden;
}
.post-thumbnail img {
	width: 100%;
}
.manager-image {
    object-fit: cover;
    width: 400px;
    height: 400px;
}
.sidebar {
  background: var(--neutral-light);
  padding: 20px;
  height: fit-content;
}
.sidebar section {
padding: 30px 0;
}
.sidebar li {
margin-bottom: 28px;
}
.sidebar time {
  color: var(--neutral-gray);
  margin-top: 8px;
  font-size: 12px;
}
.sidebar h4 {
  text-align: left;
  color: var(--neutral-dark);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
}
.sidebar h4::after {
  content: "";
  display: block;
  border-bottom: 3px solid var(--primary);
  width: 70px;
  height: 15px;
}
.accordion-button:focus, .accordion-button:active {
	background: #fff!important;
}
.events-items {
	display: flex;
    flex-wrap: wrap;
}

    /*media*/
@media (max-width: 540px){
  .entry-header {
    height: auto;
    min-height: fit-content;
}
  .entry-title {
    font-size: 26px;
  }
  #metaslider_13 {
    overflow: hidden!important;
  }
  .slider ul {
  overflow: hidden!important;
  height: 191px;
  }
  .slider li {
  width: 200%!important;
  right: 50%;
  position:absolute!important;
  top:0!important;
}


  .statistic-item {
    width: auto;
  }
  .bottom-line::after {
    margin: 0 auto!important;
}
  .statistic-items {
    width: auto;
    justify-content: space-around;
  }
  .statistic-items .count {
    font-size: 51px;
}
.statistic-items .count__info {
  color: var(--neutral-dark);
  font-size: 12px;
}
.footer-menu {
  text-align: center;
}
}
@media (max-width: 768px){
 
  .main-text {
    padding: 15px 15px;
}
  .main-text .text {
    font-size: calc(0.8em + 0.9vw);
}
.entry-header {
  background: none;
  background-color: #388FE5;
}
}
@media (max-width: 991px){
	.events-items, .main-news .item {
		margin-bottom: 15px;
	}
	.events-date .event-date-box {
		font-size: 0.8em;
	}
	 .navbar-collapse {
    position: fixed;
    height: 100%;
    background: #fff;
    top: 0;
    left: -100%;
    width: 75%;
    box-shadow: 0px 0px 14px 0px rgb(0 0 0 / 20%);
    padding: 1em 1.5em;
    display: block !important;
    transition: all 0.35s ease;
  }
  .navbar-collapse.show {
      left: 0;
      z-index: 9;
	  background-color: #54b0ff;
	  overflow-y: auto;
  }
  #primary-menu li {
    margin-bottom: 15px;
   }
  #primary-menu li a {
  font-size: 1.1em;
  color: #fff;
  }
	#primary-menu li {
   margin-left: 0rem;
   padding: 10px;
	border-radius: 5px;
  }
	#primary-menu li:not(.active) a::after {
		content:none;
	}
	#primary-menu li:not(.active) a:hover::after {
		content:none;
	}
	#primary-menu .active::after {
		content:none;
	}
	#primary-menu .active {
		background-color: #ffffff54;
	}
	#primary-menu li:not(.active):hover {
		background-color: #ffffff54;
	}
	.dropdown-menu, .dropdown-menu li {
		background-color: transparent;
		margin: 8px 0 0 0;
		border: none;
	}
}
@media screen and (max-width: 360px) {
.top-header {
    font-size: 0.6em;
}
	.top-header i {
    font-size: 1em;
}
}
