/*!
Theme Name: avrora-theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
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: avrora-theme
Tags:
*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* 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;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 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;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* 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;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * 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;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * 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;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  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;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * 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;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * 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;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * 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;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* 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;
}

/* Slider */

.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slick-list:focus {
  outline: none;
}

.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.slick-track:before,
.slick-track:after {
  display: table;
  content: '';
}

.slick-track:after {
  clear: both;
}

.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}

[dir='rtl'] .slick-slide {
  float: right;
}

.slick-slide img {
  display: block;
}

.slick-slide.slick-loading img {
  display: none;
}

.slick-slide.dragging img {
  pointer-events: none;
}

.slick-initialized .slick-slide {
  display: block;
}

.slick-loading .slick-slide {
  visibility: hidden;
}

.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
  display: none;
}

* {
  -webkit-locale: auto;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
}

body.lock {
  overflow: hidden;
}

div, a, span, li {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.container {
  margin: 0 auto;
  max-width: 1470px;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.button {
  display: inline-block;
  background-color: #1030B4;
  color: #ffffff;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all .2s ease-in-out;
  white-space: nowrap;
  text-decoration: none;

  position: relative;
  z-index: 9;
}

.button:hover {
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.button-outline {
  background-color: transparent;
  color: #1030B4;
  border: 1px solid #1030B4;
}

.button-outline:hover {
  box-shadow: none;
}

.button-lg {
  padding: 0 40px;
  line-height: 60px;
}

.button-sm {
  padding: 0 30px;
  line-height: 40px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 140px;
}

.logo {
  display: flex;
  max-width: 106px;
}

.logo-img {
  width: 100%;
}

@media (max-width: 767.98px) {
  .logo-img {
    height: 70px;
  }
}

.menu {
  z-index: 10;
}

.menu>ul {
  display: flex;
  list-style: none;
  font-size: 16px;
  font-weight: 500;
  padding: 0;
  margin: 0;
}

.menu>ul>li:first-child {
  margin-left: 0;
}

.menu a {
  display: block;
  text-decoration: none;
  color: #1030B4;
}

.menu a:hover {
  text-decoration: underline;
}

.menu>ul>li>a {
  line-height: 50px;
  padding: 0 20px;
}

@media (max-width: 1400px) {
  .menu>ul>li>a {
    padding: 0 10px;
  }
}

.menu .menu-item-has-children {
  position: relative;
}

.menu .menu-item-has-children>a {
  position: relative;
}

.menu .menu-item-has-children>a::after {
  content: '';
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  background: url(/assets/img/sub-menu-arrow.svg) center/contain no-repeat;
}

.menu .sub-menu {
  position: absolute;
  top: 70px;
  left: 0;
  width: 360px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(13, 53, 142, 0.2);
  list-style: none;
  padding: 18px 20px;
  margin: 0;
  box-sizing: border-box;
  pointer-events: none;
  transition: all .2s ease-in-out;
  opacity: 0;
  z-index: 60;
}

.menu .sub-menu.active {
  opacity: 1;
  pointer-events: auto;
  top: 100%;
}

.menu .menu-item-has-children:hover .sub-menu {
  opacity: 1;
  pointer-events: auto;
  top: 100%;
}

.menu .sub-menu>li>a {
  display: block;
  font-weight: 400;
  color: #333333;
  font-size: 16px;
  transition: all .1s ease;
  padding: 7px 0;
}

.menu .sub-menu>li>a:hover {
  text-decoration: none;
}

@media (min-width: 768px) {
  .menu .sub-menu>li>a:hover {
    color: #1030B4;
  }
}

.menu .has-mega-menu {
  position: relative;
}

.menu .has-mega-menu>a::after {
  content: '';
  display: block;
  position: absolute;
  background-color: #000;
  width: 20px;
  height: 20px;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  background: url(/assets/img/mega.svg) center/14px 14px no-repeat;
}

/* mega-menu START */

.mega-menu {
  position: fixed;
  top: 240px;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition: all .2s ease-in-out;
}

.mega-menu.active {
  opacity: 1;
  pointer-events: auto;
  top: 140px;
}

.admin-bar .mega-menu.active {
  top: 172px;
}

@media (max-width: 1200px) {
  .mega-menu.active {
    top: 156px;
  }

  .admin-bar .mega-menu.active {
    top: 188px;
  }
}

.mega-menu.active>.container {
  overflow: auto;
  height: calc(100vh - 140px) !important;
}

.mega-menu-inner {
  padding: 50px 0 80px;
  list-style: none;
}

.mega-menu .mega-menu-inner>li {
  width: calc((100% - 90px) / 4);
  margin-bottom: 30px;
}

.mega-menu .mega-menu-inner>li>a {
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  color: #1030B4;
  padding: 7px 0;
  text-decoration: none;
}

.mega-menu .mega-menu-inner>li>a:hover {
  text-decoration: underline;
}

.mega-menu .sub-menu {
  list-style: none;
  padding: 0;
}

.mega-menu .sub-menu li {}

.mega-menu .sub-menu a {
  display: inline-block;
  text-decoration: none;
  color: #333333;
  font-size: 14px;
  padding: 7px 0;
}

.mega-menu .sub-menu a:hover {
  text-decoration: underline;
}

.menu-open {
  display: none;
  background: url(/assets/img/menu.svg) center/contain no-repeat;
  width: 40px;
  height: 40px;
  border: none;
  outline: none;
}

.menu-open.active {
  background-image: url(/assets/img/close.svg);
  background-size: 35px 35px;
}

.menu-close-block {
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.menu-close-block .logo {
  max-width: 70px;
}

.menu-close {
  background: url(/assets/img/close.svg) center/contain no-repeat;
  width: 35px;
  height: 35px;
  border: none;
  outline: none;
}

/* mega-menu END */

.header-right {
  display: flex;
  align-items: center;
}

.header-info-address {
  font-size: 14px;
  color: #1030B4;
  margin-bottom: 5px;
  font-weight: 500;
}

.header-info-tel {
  color: #1030B4;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.header-button {
  margin-left: 25px;
}

.slider {
  margin-left: -10px;
  margin-right: -10px;
}

.slider-item {
  padding: 170px 120px;
  box-sizing: border-box;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.title {
  color: #1030B4;
  max-width: 780px;
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 0 20px;
}

.sub-title {
  max-width: 680px;
  color: #1030B4;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 60px;
}

.slider .slick-dots {
  list-style: none;
  padding: 0;
  display: flex;
  margin: 0;
  position: absolute;
  bottom: 70px;
  left: 130px;
  font-size: 0;
}

.slider .slick-dots>li {
  margin-left: 10px;
}

.slider .slick-dots>li:first-child {
  margin-left: 0;
}

.slider .slick-dots>li button {
  border: none;
  background-color: #1030B4;
  height: 6px;
  width: 20px;
  border-radius: 50px;
  opacity: .5;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.slider .slick-dots>li.slick-active button {
  width: 40px;
  opacity: 1;
}

.slider .slick-slide {
  margin: 0 10px;
  border-radius: 5px;
  opacity: .3;
  transition: opacity .2s ease-in-out;
  cursor: pointer;
}

.slider .slick-slide:hover {
  opacity: 1;
}

.slider .slick-slide.slick-current {
  opacity: 1;
  cursor: auto;
}

.main-banner {
  overflow: hidden;
}

.slider .slick-list {
  overflow: visible;
}

.banner-buttons .button:last-child {
  margin-left: 19px;
}

.av-block {
  padding: 90px 0;
  overflow: hidden;
}

.av-block-inner {
  display: flex;
  margin: 0 -30px;
  position: relative;
}

.av-block-image {
  flex: 0 1 50%;
  box-sizing: border-box;
  padding: 0 30px;
  position: relative;
}

.av-block-image>img {
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(13, 53, 142, 0.2);
  max-width: 100%;
}

.av-block-content {
  flex: 0 0 50%;
  box-sizing: border-box;
  padding: 0 30px;
}

.av-block-title-top {
  font-size: 24px;
  color: #333333;
}

.av-block-title-top span {
  color: #1030B4;
}

.av-block-title {
  font-weight: 500;
  font-size: 36px;
  text-transform: uppercase;
  color: #333333;
  margin: 15px 0 30px;
}

.av-block-title-alt {
  color: #1030B4;
}

.av-block-text {
  color: #333333;
  line-height: 1.5;
}

.av-block-main .button {
  margin-top: 30px;
}

.av-block-main .av-images-top {
  margin-bottom: -58%;
}

.av-block-main .av-images-top .av-images-img {
  width: 88%;
}

.av-block-main .av-images-bottom .av-images-img {
  width: 58%;
}

.av-block-main .av-block-content {
  padding-top: 40px;
}

.av-block-about-top .av-block-image {
  text-align: right;
}

.av-block-about-top .av-images-img {
  width: 86%;
}

.av-block-about-bottom .av-images-top {
  margin-bottom: -32%;
}

.av-block-about-bottom .av-images-top .av-images-img {
  width: 84%;
}

.av-block-about-bottom .av-images-bottom .av-images-img {
  width: 84%;
}

.av-block-servises .av-images-top .av-images-img {
  width: 84%;
}

.appointment {
  background: url(/assets/img/bg/cta-bg2.jpg) center/cover no-repeat;
}

.appointment-inner {
  position: relative;
  padding: 90px 0;
}

.appointment-main .appointment-inner::before {
  content: '';
  position: absolute;
  display: block;
  bottom: 0;
  right: 0;
  width: 445px;
  height: 641px;
  background: url(/assets/img/cta-image-min.png) center/contain no-repeat;
  z-index: 2;
}

.appointment-alt .appointment-inner::before {
  content: '';
  position: absolute;
  display: block;
  bottom: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background-image: url(/assets/img/appointment-image-alt_1.png);
  background-size: cover;
  z-index: 2;
}

.appointment-title {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 48px;
  max-width: 670px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.appointment-title span {
  font-weight: 700;
}

.appointment-sub-title {
  color: #F2F2F2;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  max-width: 520px;
  margin-bottom: 50px;
}

.appointment-form {
  display: inline-block;
}

.appointment-form-line {
  display: flex;
  margin-bottom: 23px;
  /* flex-wrap: wrap; */

  max-width: 700px;
}


.appointment-form-cell {
  flex-basis: 50%;
}

.appointment-form-cell .wpcf7-form-control-wrap {
  display: block;
}

.appointment-form-cell .ajax-loader {
  display: none !important;
}

.appointment-form input {
  display: block;
  width: 330px;
  height: 60px;
  outline: none;
  border: 1px solid #828282;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 0 24px;
  box-sizing: border-box;
  font-size: 16px;
}

.appointment-form-cell input[type="submit"] {
  margin-left: 0;
  width: 100%;
  max-width: 337px;
  margin: 0 20px;
}

.appointment-form-line select {
  display: block;
  width: 330px;
  height: 60px;
  outline: none;
  border: 1px solid #828282;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 0 24px;
  box-sizing: border-box;
  margin-left: 20px;
  font-size: 16px;
  color: #333333;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url(/assets/img/chevron-down.svg);
  background-position: right 14px top 50%;
  background-size: 20px 20px;
  background-repeat: no-repeat;
}

.appointment-form button {
  margin-left: 40px;
}

.appointment-agreement,
.appointment-agreement a {
  color: #E0E0E0;
  font-size: 12px;
}

.appointment-form input::-webkit-input-placeholder {
  color: #333333;
  font-size: 16px;
}

.appointment-form input::-moz-placeholder {
  color: #333333;
  font-size: 16px;
}

/* Firefox 19+ */

.appointment-form input:-moz-placeholder {
  color: #333333;
  font-size: 16px;
}

/* Firefox 18- */

.appointment-form input:-ms-input-placeholder {
  color: #333333;
  font-size: 16px;
}

.services-inner {
  padding: 90px 0;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.services-inner::before {
  content: '';
  display: block;
  width: 555px;
  height: 171px;
  position: absolute;
  top: 40px;
  right: 360px;
  background: url(/assets/img/decor-01.svg) center/contain no-repeat;
}

.services-left {
  flex: 0 0 585px;
}

.av-title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: #333333;
}

.av-title>span {
  font-weight: 700;
  color: #1030B4;
}

.services-text {
  color: #4F4F4F;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 60px;
}

.services-right {
  padding-left: 40px;
}

.services-categories {
  box-shadow: 0 0 20px rgba(13, 53, 142, 0.2);
  padding: 20px 0;
  border-radius: 10px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  background-color: #ffffff;

  /*width: 100%; /* для слайдера по 8шт (искать комментарий) - чанк services_our_clinic tpl_n8 и tpl_n9 */
  width: 570px;
  /* для слайдера по 6шт (искать комментарий) - чанк services_our_clinic tpl_n6 и tpl_n7 */
  max-width: 800px;
}

.services-categories-row {
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 1390px) {
  .services-categories {
    width: 480px;
  }
}

@media (max-width: 768px) {
  .services .services-right {
    justify-content: center;
    padding-top: 0;
  }
}

@media (max-width: 510px) {
  .services-categories {
    width: 320px;
  }
}

@media (max-width: 450px) {
  .services-categories {
    width: 290px;
  }
}

.services-categories-row.slick-slide {
  display: flex;
  width: 100%;
}

.services-categories-col {
  /*flex: 1 1 25%; /* для слайдера по 8шт (искать комментарий) - чанк services_our_clinic tpl_n8 и tpl_n9 */
  /*flex: 1 1 33%;
  /* для слайдера по 6шт (искать комментарий) - чанк services_our_clinic tpl_n6 и tpl_n7 */
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  outline: none;
}

.services-categories-item {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  border-radius: 10px;
  width: 150px;
  height: 150px;
  box-sizing: border-box;
  text-decoration: none;
  transition: all .2s ease-in-out;
}

.services-categories-icon {
  display: flex;
  margin-bottom: 20px;
}

.services-categories-title {
  font-weight: 600;
  font-size: 12px;
  color: #1030B4;
}

.services-categories-item:hover {
  box-shadow: 0 0 20px rgba(13, 53, 142, 0.2);
  text-decoration: underline;
}

.team {
  padding: 90px 0;
  background: url(/assets/img/team-bg-min.jpg) center/cover no-repeat;
}

.team-text {
  margin-bottom: 50px;
}

.team-row {
  display: flex;
  justify-content: space-between;
}

.team-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.team-center img {
  width: 100%;
  max-width: 700px;
}

.team-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.team-item {
  margin-bottom: 40px;
}

.team-item:last-child {
  margin-bottom: 0;
}

.team-name {
  color: #333333;
  font-weight: 500;
  font-size: 24px;
  max-width: 280px;
  line-height: 1.2;
  margin-bottom: 30px;
}

.team-position {
  font-size: 16px;
  line-height: 1.5;
}

.team-links {
  font-size: 16px;
  line-height: 1.5;
}

.team-links a {
  color: #1030B4;
}

.team-button {
  padding-top: 20px;
  text-align: center;
}

.features-inner {
  padding: 90px 0;
  display: flex;
  position: relative;
}

.features-inner::before {
  content: '';
  display: block;
  width: 555px;
  height: 171px;
  position: absolute;
  top: 103px;
  right: 172px;
  background: url(/assets/img/decor-01.svg) center/contain no-repeat;
}

.features-left {
  flex: 0 0 800px;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -50px;
}

.features-item {
  flex: 0 0 50%;
  display: flex;
  margin-bottom: 50px;
  padding: 15px;
  box-sizing: border-box;
}

.features-title {
  font-size: 18px;
  font-weight: 600;
  color: #1030B4;
  margin-bottom: 10px;
}

.features-text {
  margin-bottom: 80px;
  max-width: 710px;
}

.features-description {
  font-size: 14px;
  color: #333333;
}

.features-info {
  padding-left: 27px;
  max-width: 240px;
}

.features-right {
  flex-grow: 1;
}

.features-img-top {
  box-shadow: 0 0 20px rgba(13, 53, 142, 0.2);
  position: absolute;
  top: 80px;
  left: 40px;
}

.features-img-bottom {
  box-shadow: 0 0 20px rgba(13, 53, 142, 0.2);
}

.reviews-inner {
  padding: 90px 0;
  position: relative;
}

.reviews-inner::before {
  content: '';
  display: block;
  width: 555px;
  height: 171px;
  position: absolute;
  top: 70px;
  left: -206px;
  background: url(/assets/img/decor-01.svg) center/contain no-repeat;
}

.reviews-text {
  max-width: 710px;
  margin-bottom: 40px;
}

.reviews-row {
  display: flex;
  margin-left: -15px;
  margin-right: -15px;
  margin-bottom: 30px;
}

.reviews-col {
  flex: 0 0 33.333%;
  padding: 0 15px;
  box-sizing: border-box;
}

.reviews-item {
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.reviews-content {
  background-color: rgba(4, 33, 99, 0.4);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  padding: 30px 20px 0;
  min-height: 130px;
  box-sizing: border-box;
}

.reviews-info {
  text-align: right;
}

.reviews-name {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}

.reviews-date {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
}

.reviews-source {
  font-weight: 500;
  font-size: 14px;
  color: #E0E0E0;
}

.reviews-button {
  text-align: center;
}

.contacts-inner {
  padding: 90px 0;
}

.contacts-text {
  margin-bottom: 50px;
}

.contacts-row {
  display: flex;
  margin-bottom: 40px;
}

.contacts-col {
  flex: 0 0 25%;
}

.contacts-title {
  color: #333333;
  font-size: 32px;
  margin-bottom: 20px;
}

.contacts-info {
  color: #333333;
  font-size: 18px;
}

.contacts-info>a {
  display: block;
  font-weight: 700;
  text-decoration: none;
  color: #333333;
  margin-top: 4px;
}

.contacts-info>span {
  display: block;
  font-weight: 700;
  margin-top: 4px;
}

.contacts-map {
  display: flex;
  box-shadow: 0 0 20px rgba(13, 53, 142, 0.2);
  border-radius: 10px;
  overflow: hidden;
  background: url('/assets/img/map-placeholder-min.jpg') center / cover no-repeat;

  min-height: 540px;
}

.contacts-map>img {
  max-width: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.footer {
  padding: 40px 0 10px;
  background-color: #E4F4FE;
}

.footer-row {
  /* display: flex; */
  margin-bottom: 40px;
}

.footer-col {
  /* flex: 0 0 25%; */
}

.footer-logo {
  display: flex;
  margin-bottom: 25px;
}

.footer-info {
  margin-bottom: 40px;
}

.footer-address {
  font-size: 14px;
  font-weight: 500;
  color: #1030B4;
  margin-bottom: 4px;
}

.footer-phone {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: #1030B4;
  text-decoration: none;
}

.social {
  margin-top: 25px;
}

.social-item {
  margin-left: 20px;
}

.social-item:first-child {
  margin-left: 0;
}

.footer-title {
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 600;
  color: #1030B4;
  margin-bottom: 20px;
  margin-top: 30px;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin-bottom: 4px;
}

.footer-menu a {
  color: #4F4F4F;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
}

.footer-menu a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
}

.footer-bottom>span {
  font-size: 16px;
  font-weight: 500;
  color: #333333;
}

.footer-bottom>a {
  font-size: 16px;
  font-weight: 500;
  color: #333333;
  text-decoration: none;
}

.main {
  overflow: hidden;
}

.page-header {
  background-color: #E4F4FE;
  text-align: center;
  display: flex;
  align-items: center;
  min-height: 100px;
}

.breadcrumbs {
  color: #1030B4;
  font-size: 14px;
  margin-bottom: 8px;
}

.breadcrumbs a {
  color: #1030B4;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.page-title {
  font-weight: 600;
  font-size: 24px;
  color: #1030B4;
  text-transform: uppercase;
  margin: 0;
}

@media (max-width: 767.98px) {
  .page-title {
    font-size: 20px;
  }
}

.features-about-page .features-left {
  flex: 0 0 100%;
}

.features-about-page .features-text {
  max-width: 1080px;
}

.features-about-page .features-item {
  flex: 0 0 33.333%;
}

.staff {
  background: url(/assets/img/bg/staff-bg2.jpg) center/cover no-repeat;
  padding: 90px 0;
  overflow: hidden;
}

.staff-text {
  max-width: 1320px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.staff-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.staff-col {
  flex: 0 0 25%;
  padding: 0 15px;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.staff-item {
  position: relative;
  border-radius: 5px;
  transition: all .2s ease-in-out;
}

.staff-item:hover {
  box-shadow: 0 0 20px rgba(13, 53, 142, 0.2);
}

@media (max-width: 767.98px) {
  .staff-item {
    box-shadow: 0 0 20px rgba(13, 53, 142, 0.2);
  }
}

.staff-photo {
  display: flex;
}

.staff-photo img,
.staff-photo .stub-img {
  border-radius: 5px 5px 0 0;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  max-height: 400px;

}

.staff-photo .stub-img {
  height: 400px;
  background: #CBCED3;
}

.staff-content {
  background-color: #fff;
  border-radius: 5px;
  margin-top: -5px;
  position: relative;
  z-index: 1;
  padding: 25px 18px 25px;
  box-sizing: border-box;
  position: relative;
}

.staff-name {
  display: block;
  position: relative;
  z-index: 2;
  color: #333333;
  font-size: 16px;
  font-weight: 600;
  min-height: 50px;
  text-decoration: none;
}

.staff-description {
  font-size: 14px;
  color: #333333;
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

.staff-content>.button {
  margin-top: 20px;
  position: absolute;
  visibility: hidden;
  z-index: 1;
  transition: opacity .4s ease-in-out;
  opacity: 0;
}

.staff-item .staff-content::before {
  content: '';
  display: block;
  background-color: #fff;
  width: 100%;
  height: 70px;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 5px;
  transition: bottom .2s ease-in-out;
  z-index: 1;
}

.staff-item:hover .staff-content::before {
  bottom: -60px;
  box-shadow: 0 10px 14px 0 rgba(13, 53, 142, 0.12);
}

@media (max-width: 767.98px) {
  .staff-item .staff-content::before {
    display: none;
  }
}

.staff-item:hover .staff-content>.button {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 767.98px) {
  .staff-item .staff-content>.button {
    visibility: visible;
    opacity: 1;
    position: static;
  }
}

.staff-item:hover .staff-name {
  color: #1030B4;
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .staff-item:hover .staff-name {
    color: #333333;
    text-decoration: none;
  }
}

.staff-button {
  text-align: center;
}

.process {
  padding: 70px 0;
  overflow: hidden;
}

.process .av-title {
  font-size: 36px;
}

.av-title-top {
  font-size: 24px;
}

.av-title-top>span {
  color: #1030B4;
}

.process-text {
  max-width: 1070px;
  color: #333333;
  line-height: 1.5;
  margin-bottom: 40px;
}

.process-services .process-text {
  max-width: none;
}

.process-row {
  display: flex;
  margin: 0 -15px -30px;
  flex-wrap: wrap;
}

.process-col {
  flex: 0 0 33.333%;
  padding: 0 15px;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.process-item {
  padding: 25px 20px;
  box-sizing: border-box;
  transition: all .3s ease-in-out;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.process-item:hover {
  box-shadow: 0 0 20px rgba(13, 53, 142, 0.2);
}

.process-icon {
  width: 75px;
  display: flex;
  margin-bottom: 18px;
}

.process-icon>img {
  width: 100%;
}

.process-title {
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 18px;
  color: #1030B4;
}

.process-content {
  font-size: 14px;
  color: #333333;
}

.price {
  overflow: hidden;
}

.price-row {
  display: flex;
  justify-content: center;
  margin: 0 -15px;
  flex-wrap: wrap;
}

.price-col {
  flex: 0 1 580px;
  padding: 0 15px;
  margin-bottom: 15px;
}

.price-table {
  border-collapse: collapse;
  width: 100%;
}

.price-table th {
  text-align: left;
  font-weight: 700;
  font-size: 24px;
  color: #1030B4;
  height: 50px;
}

.price-table td {
  color: #4F4F4F;
  font-size: 18px;
  height: 60px;
  padding: 0 20px;
}

.price-table td:last-child {
  width: 180px;
  text-align: right;
}

.price-table tr:nth-child(2n-1) td {
  background-color: #F7FCFF;
}

.staff-specialists {
  background-image: none;
}

.staff-filter {
  margin: 0;
  padding: 0;
  list-style: none;
}

.staff-filter-item {
  display: inline-block;
  white-space: nowrap;
}

.staff-filter-item a {
  text-decoration: none;
  color: #1030B4;
  font-size: 14px;
  line-height: 40px;
  border: 1px solid #1030B4;
  border-radius: 5px;
  display: block;
  box-sizing: border-box;
  padding: 0 30px;
  margin-bottom: 20px;
  margin-right: 20px;
  transition: all .2s ease-in-out;
  font-weight: 500;
}

.staff-filter-item.active a {
  background-color: #1030B4;
  color: #ffffff;
}

.staff-filter-item a:hover {
  background-color: #DEE3F4;
}

.staff-filter-item.active a:hover {
  background-color: #1030B4;
}

.av-block-reviews {
  padding: 30px 0;
  background: url(/assets/img/bg/reviews-page-bg2.jpg) center/cover no-repeat;
}

.av-block-reviews .av-block-content {
  flex-basis: 640px;
}

.av-block-reviews .av-block-image {
  flex-grow: 1;
}

.av-block-reviews .av-block-image>img:nth-child(2) {
  position: absolute;
  top: -167px;
  left: 318px;
}

.av-block-reviews .av-block-image>img:nth-child(3) {
  position: absolute;
  top: 153px;
  right: 0;
}

.masonry {
  padding: 60px 0 140px;
}

.masonry-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.masonry-item {
  background-color: #ffffff;
  width: calc((100% - 60px)/3);
  margin-bottom: 30px;
  box-shadow: 0 0 20px rgba(13, 53, 142, 0.2);
  padding: 20px;
  box-sizing: border-box;
}

.masonry-item-2 {
  height: 250px;
}

.masonry-item-4 {
  height: 100px;
}

.review-header {
  display: flex;
  margin-bottom: 30px;
  font-weight: 500;
}

.review-rating {
  flex-basis: 50%;
}

.review-info {
  flex-basis: 50%;
  text-align: right;
  color: #4F4F4F;
}

.review-name {
  font-size: 18px;
  margin-bottom: 4px;
}

.review-date {
  font-size: 14px;
  margin-bottom: 12px;
}

.review-source {
  font-size: 14px;
}

.review-tags {
  color: #1030B4;
  margin-bottom: 20px;
  font-weight: 500;
}

.review-tags a {
  color: #1030B4;
  font-size: 14px;
  text-decoration: none;
}

.review-tags a:hover {
  text-decoration: underline;
}

.review-content {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: #333333;
  margin-bottom: 46px;
}

.review-specialist {
  display: flex;
  align-items: center;
}

.review-specialist-photo {
  display: flex;
  height: 100%;
  align-items: center;
}

.review-specialist-photo img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.review-specialist-info {
  padding-left: 10px;
  font-size: 14px;
  color: #1030B4;
}

.review-specialist-position {
  font-weight: 600;
  line-height: 1.5;
}

.review-specialist-name {
  display: inline-block;
  max-width: 230px;
  line-height: 1.2;
  text-decoration: none;
  color: #1030B4;
}

.review-specialist-name:hover {
  text-decoration: underline;
}

.masonry-button {
  text-align: center;
}

.av-block-prices {
  padding: 0;
  background: url(/assets/img/prices-bg.jpg) center/cover no-repeat;
}

.av-block-prices .av-block-title {
  font-weight: 700;
}

.av-block-prices .av-block-image {
  display: flex;
  justify-content: center;
}

.av-block-prices .av-block-image>img {
  box-shadow: none;
  border-radius: 0;
}

.av-block-prices .av-block-inner {
  align-items: center;
}

.spoiler {
  padding-bottom: 200px;
}

.spoiler-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spoiler-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 180px;
}

.spoiler-item:nth-child(2n) .spoiler-header {
  background-color: #E4F4FE;
}

/*.spoiler-item:nth-child(2n) .spoiler-content {
  background-color: #E4F4FE;
}*/

.spoiler-title {
  font-size: 36px;
  font-weight: 700;
  color: #1030B4;
  text-decoration: none;
  text-transform: uppercase;
}

.spoiler-button {
  width: 40px;
  height: 40px;
  cursor: pointer;
  border: none;
  background: url(/assets/img/spoiler-arrow.svg) center/30px no-repeat;
  transition: all .2s ease-in-out;
}

.spoiler-item.active .spoiler-button {
  transform: rotate(-90deg);
}

.spoiler-content {
  display: none;
  padding-bottom: 90px;
}

.spoiler-text {
  padding: 25px 0;
}

.spoiler .price-row {
  justify-content: flex-start;
}

.av-block-specialists-single .av-block-image {
  text-align: right;
}

.specialists-single-info {
  margin-top: 45px;
}

.specialists-single-info-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: #1030B4;
  margin-bottom: 15px;
}

.specialists-single-specialization {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 45px;
}

.specialists-single-education {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 510px;
}

@media (max-width: 767.98px) {
  .specialists-single-education {
    max-width: 100%;
  }
}

.specialists-single-education li {
  margin-bottom: 25px;
}

.specialists-single-education-year {
  font-weight: 700;
  font-size: 36px;
  margin-bottom: 15px;
  color: #ffffff;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #000000;
}

.specialists-single-education-autor {
  color: #333333;
  font-size: 14px;
}

.specialists-single-education-more {
  font-size: 14px;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

.masonry-specialist {
  padding: 0 0 60px;
}

.awards {
  padding: 90px 0;
  overflow: hidden;
}

.awards .av-title {
  margin-bottom: 100px;
}

.awards-row {
  display: flex;
  margin: 0 -15px;
  flex-wrap: wrap;
}

.awards-col {
  flex: 0 0 25%;
  padding: 0 15px;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.awards-item>img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.av-block-main .av-block-inner::before {
  content: '';
  display: block;
  position: absolute;
  width: 555px;
  height: 171px;
  background: url(/assets/img/decor-01.svg) center/contain no-repeat;
  top: -51px;
  left: 322px;
}

.av-block-main .av-block-inner::after {
  content: '';
  display: block;
  position: absolute;
  width: 555px;
  height: 171px;
  background: url(/assets/img/decor-01.svg) center/contain no-repeat;
  bottom: -60px;
  right: 36px;
}

.av-block-about-top .av-block-inner::before {
  content: '';
  display: block;
  position: absolute;
  width: 555px;
  height: 171px;
  background: url(/assets/img/decor-01.svg) center/contain no-repeat;
  top: 140px;
  left: -152px;
  transform: rotate(-90deg);
}

.av-block-about-bottom .av-block-inner::before {
  content: '';
  display: block;
  position: absolute;
  width: 555px;
  height: 171px;
  background: url(/assets/img/decor-01.svg) center/contain no-repeat;
  top: 140px;
  right: 382px;
  transform: rotate(-90deg);
}

.av-block-servises .av-block-inner::before {
  content: '';
  display: block;
  position: absolute;
  width: 555px;
  height: 171px;
  background: url(/assets/img/decor-01.svg) center/contain no-repeat;
  top: 140px;
  right: 345px;
  transform: rotate(-90deg);
}

.av-block-specialists-single .av-block-inner::before {
  content: '';
  display: block;
  position: absolute;
  width: 555px;
  height: 171px;
  background: url(/assets/img/decor-01.svg) center/contain no-repeat;
  top: 140px;
  right: 345px;
  transform: rotate(-90deg);
}

.av-block-reviews .av-block-inner::before {
  content: '';
  display: block;
  position: absolute;
  width: 555px;
  height: 171px;
  background: url(/assets/img/decor-01.svg) center/contain no-repeat;
  top: 14px;
  right: 345px;
  transform: rotate(-90deg);
}

.av-block-prices .av-block-inner::before {
  content: '';
  display: block;
  position: absolute;
  width: 555px;
  height: 171px;
  background: url(/assets/img/decor-01.svg) center/contain no-repeat;
  top: 55px;
  left: -73px;
}

.av-images {
  text-align: left;
}

.av-images-img {
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(13, 53, 142, 0.2);
}

.av-images-left {
  text-align: left;
}

.av-images-right {
  text-align: right;
}

.features .av-images-top {
  padding-top: 70px;
  position: relative;
  z-index: 1;
  margin-bottom: -30%;
}

.features .av-images-top>img {
  width: 70%;
}

.features .av-images-bottom>img {
  width: 70%;
}

.av-block-reviews .av-images-top {
  margin-bottom: -41%;
  position: relative;
  z-index: 2;
}

.av-block-reviews .av-images-top .av-images-img {
  width: 47%;
  margin-left: 35%;
}

.av-block-reviews .av-images-center {
  margin-bottom: -31%;
  position: relative;
  z-index: 1;
}

.av-block-reviews .av-images-center .av-images-img {
  width: 40%;
}

.av-block-reviews .av-images-bottom {
  position: relative;
  z-index: 3;
}

.av-block-reviews .av-images-bottom .av-images-img {
  width: 40%;
}

.av-block-reviews .av-block-inner {
  align-items: center;
}

.av-block-specialists-single .av-images-top .av-images-img {
  width: 84%;
}

.appointment-single .appointment-inner::before {
  display: none !important;
}

.appointment-single .appointment-title {
  max-width: 740px;
}

@media (max-width: 1470px) {
  .services-left {
    flex-basis: 510px;
  }
}

@media (max-width: 1450px) {
  .slider .slick-slide {
    opacity: 1;
  }
}

@media (max-width: 1390px) {
  .services-right {
    display: flex;
    align-items: center;
  }

  .services-categories-col {
    padding: 5px;
  }

  .services-categories-item {
    margin: 0 auto;
  }
}

@media (max-width: 1350px) {
  .menu .has-mega-menu>a::after {
    left: -10px;
  }
}

@media (max-width: 1320px) {
  .appointment-alt .appointment-inner::before {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    width: 500px;
  }
}

@media (max-width: 1270px) {
  .menu>ul>li>a {
    padding: 0 8px;
  }

  .menu .has-mega-menu>a::after {
    left: -17px;
  }
}

@media (max-width: 1240px) {
  .services-inner {
    flex-wrap: wrap;
  }

  .services-left {
    flex-basis: 100%;
  }

  .services-right {
    flex-basis: 100%;
    padding-left: 0;
    padding-top: 60px;
    width: 100%;
  }
}

@media (max-width: 1240px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .logo {
    max-width: 95px;
    padding: 5px 0;
  }

  .menu {
    order: 1;
    flex-basis: 100%;
  }

  .menu>ul {
    justify-content: space-around;
  }

  .menu .has-mega-menu>a::after {
    left: -17px;
  }

  .header-right {
    flex-basis: 70%;
    justify-content: space-between;
  }

  .team-row {
    flex-wrap: wrap;
  }

  .team-left {
    order: 1;
    flex-basis: 50%;
  }

  .team-center {
    flex-basis: 100%;
    text-align: center;
  }

  .team-right {
    order: 2;
    flex-basis: 50%;
  }

  .features-left {
    flex-basis: 100%;
  }

  .features-text {
    max-width: 100%;
  }

  .features-right {
    display: none;
  }

  .reviews-item {
    min-height: 500px;
  }

  .reviews-content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .footer-row {
    flex-wrap: wrap;
  }

  .footer-col {
    flex-basis: 50%;
  }
}

@media (max-width: 1130px) {
  .appointment-main .appointment-inner::before {
    right: -50px;
  }
}

@media (max-width: 1120px) {
  .appointment-alt .appointment-inner::before {
    width: 642px;
  }

  .appointment-alt .appointment-form-line {
    display: flex;
    flex-direction: column;
  }

  .appointment-alt .appointment-form-line input {
    margin-bottom: 15px;
  }

  .appointment-alt .appointment-form-line select {
    margin-left: 0;
    margin-bottom: 15px;
  }

  .appointment-alt .appointment-form-line button {
    margin-left: 0;
    max-width: 330px;
  }
}

@media (max-width: 1100px) {
  .contacts-row {
    flex-wrap: wrap;
  }

  .contacts-col {
    flex-basis: 50%;
    margin-bottom: 20px;
  }

  .staff-col {
    flex-basis: 33.333%;
  }

  .staff-name {
    font-size: 14px;
  }

  .av-block-reviews .av-block-content {
    flex-basis: 50%;
  }
}

@media (max-width: 1080px) {
  .reviews-content {
    flex-wrap: wrap;
    padding-bottom: 20px;
  }

  .reviews-rating {
    flex-basis: 100%;
  }

  .reviews-info {
    flex-basis: 100%;
    text-align: left;
  }

  .staff-filter {
    display: flex;
    overflow-x: auto;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
  }
}

@media (max-width: 1000px) {
  .appointment-main .appointment-inner::before {
    width: 388px;
    height: 560px;
  }

  .appointment-alt .appointment-inner::before {
    display: none;
  }

  .features-about-page .features-item {
    flex-direction: column;
    align-items: center;
  }

  .features-about-page .features-info {
    padding-left: 0;
    max-width: 100%;
  }
}

@media (max-width: 920px) {
  .reviews-item {
    min-height: 400px;
  }
}

@media (max-width: 900px) {
  .appointment-main .appointment-inner::before {
    right: -130px;
  }

  .appointment-main .appointment-form {
    max-width: 400px;
    width: 100%;
  }

  .appointment-main .appointment-form-line {
    display: flex;
    flex-direction: column;
  }

  .appointment-main .appointment-form-line input {
    margin-bottom: 15px;
    width: 100%;
  }

  .appointment-main .appointment-form-line .button {
    margin-left: 0;
  }

  .appointment-main .appointment-title {
    font-size: 36px;
  }

  .masonry-item {
    width: calc((100% - 30px)/2);
  }
}

@media (max-width: 800px) {
  .staff-col {
    flex-basis: 50%;
  }

  .staff-item {
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .header-inner {
    min-height: 0;
  }

  .logo {
    padding: 10px 0;
    max-width: 70px;
  }

  .menu {
    position: fixed;
    top: 85px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding: 0 15px 15px;
    box-sizing: border-box;
    transition: opacity .3s ease-in-out;
    opacity: 0;
    pointer-events: none;
  }

  .admin-bar .menu {
    top: 131px;
  }

  .menu.active {
    opacity: 1;
    pointer-events: auto;
    overflow: auto;
    padding-bottom: 70px
  }

  .menu>ul {
    display: block;
  }

  .menu>ul>li>a {
    font-size: 20px;
  }

  .menu>ul>li>a:hover {
    text-decoration: none
  }

  .menu-item-has-children>a {
    padding-right: 0 !important;
  }

  .menu-item-has-children>a::after {
    right: 0px;
    width: 30px;
    height: 30px;
  }

  .menu .has-mega-menu>a::after {
    background: url(/assets/img/sub-menu-arrow.svg) center/contain no-repeat;
    left: auto;
    right: 0;
    width: 30px;
    height: 30px;
  }

  .menu-open {
    display: block;
  }

  .menu-close-block {
    display: flex;
  }

  .header-right {
    display: none;
  }

  .slider-item {
    padding: 135px 15px 150px;
  }

  .title {
    font-size: 34px;
  }

  .slider .slick-dots {
    left: 30px;
  }

  .banner-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .banner-buttons>.button {
    margin-bottom: 15px;
    margin-left: 0 !important;
  }

  .av-block-inner {
    flex-wrap: wrap;
  }

  .av-block-image {
    flex: 0 0 100%;
  }

  .av-block-content {
    flex: 0 0 100%;
  }

  .av-block-title {
    font-size: 26px;
  }

  .av-block-main .av-images {
    max-width: 400px;
    margin: 0 auto;
  }

  .av-block-about-top .av-block-image {
    margin-bottom: 25px;
  }

  .av-block-about-top .av-images-img {
    width: 100%;
  }

  .av-block-about-top .av-images {
    max-width: 400px;
    margin: 0 auto;
  }

  .av-block-about-bottom .av-images {
    max-width: 400px;
    margin: 0 auto 40px;
  }

  .av-block-about-bottom .av-block-content {
    order: 1;
  }

  .av-block-servises {
    padding: 25px 0 0;
  }

  .av-block-servises .av-images-top .av-images-img {
    width: 100%;
  }

  .av-block-servises .av-block-content {
    order: 1;
  }

  .av-block-servises .av-block-image {
    margin-bottom: 25px;
  }

  .av-block-servises .av-images {
    max-width: 400px;
    margin: 0 auto;
  }

  .appointment-main .appointment-inner::before {
    display: none;
  }

  .appointment-title {
    font-size: 26px;
  }

  .appointment-main .appointment-title {
    font-size: 26px;
  }

  .appointment-alt .appointment-form-line input {
    max-width: 400px;
    width: 100%;
  }

  .appointment-alt .appointment-form-line select {
    max-width: 400px;
    width: 100%;
  }

  .appointment-alt .appointment-form-line button {
    max-width: 400px;
    width: 100%;
  }

  .av-title {
    font-size: 26px;
  }

  .services-categories-item {
    padding: 10px;
  }

  .team-left {
    flex-basis: 100%;
  }

  .team-right {
    flex-basis: 100%;
  }

  .features-inner {
    padding-bottom: 0;
  }

  .features-item {
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
  }

  .features-icon {
    margin-bottom: 10px;
  }

  .features-info {
    padding-left: 0;
  }

  .reviews-row {
    flex-wrap: wrap;
  }

  .reviews-col {
    flex-basis: 100%;
    margin-bottom: 20px;
  }

  .reviews-item {
    max-width: 300px;
    margin: 0 auto;
  }

  .contacts-title {
    font-size: 24px;
  }

  .contacts-map>img {
    height: 300px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom>span {
    margin-bottom: 10px;
  }

  .features-about-page .features-list {
    margin-bottom: 0;
    padding-bottom: 50px;
  }

  .features-about-page .features-title {
    font-size: 16px;
  }

  .staff {
    padding-top: 30px;
  }

  .staff-row {
    margin-left: -7px;
    margin-right: -7px;
  }

  .staff-col {
    padding: 0 7px;
    margin-bottom: 15px;
  }

  .staff-item:hover {
    box-shadow: none;
  }

  .staff-content {
    padding-left: 6px;
    padding-right: 6px;
  }

  .staff-item:hover .staff-content::before {
    display: none;
  }

  .staff-item:hover .staff-content>button {
    display: none;
  }

  .staff-item:hover .staff-name {
    color: #333333;
    text-decoration: none;
  }

  .process {
    padding-bottom: 0;
  }

  .process-services {
    padding-bottom: 30px;
  }

  .process-col {
    flex-basis: 50%;
  }

  .process-item {
    padding: 0;
  }

  .process-item:hover {
    box-shadow: none;
  }

  .price-row {
    flex-wrap: wrap;
  }

  .price-col {
    flex-basis: 100%;
    margin-bottom: 25px;
  }

  .price-table th {
    font-size: 20px;
  }

  .price-table td {
    font-size: 16px;
    padding: 5px;
  }

  .av-block-reviews .av-block-content {
    flex-basis: 100%;
    order: 1;
  }

  .av-block-reviews .av-block-image {
    margin: 0 auto 25px;
    max-width: 400px;
  }

  .masonry-item {
    width: 100%;
  }

  .av-block-prices .av-block-title {
    font-size: 20px;
  }

  .av-block-prices .av-block-image {
    flex-basis: 50%;
  }

  .av-block-prices .av-block-content {
    flex-basis: 50%;
    flex-shrink: 1;
  }

  .av-block-prices button {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 330px;
  }

  .spoiler {
    padding-bottom: 0;
  }

  .spoiler-header-inner {
    min-height: 100px;
  }

  .spoiler-title {
    font-size: 26px;
  }

  .spoiler-content {
    margin-top: 0;
    padding-top: 20px;
    padding-bottom: 0;
  }

  .awards {
    padding-top: 40px;
    padding-bottom: 0;
  }

  .awards .av-title {
    margin-bottom: 30px;
  }

  .awards-row {
    flex-wrap: wrap;
  }

  .awards-col {
    flex-basis: 50%;
    margin-bottom: 30px;
  }

  .av-block-about-top {
    padding-bottom: 0;
  }

  .av-block-prices .av-block-inner::before {
    display: none;
  }

  .mega-menu {
    display: none !important;
  }

  .sub-menu {
    display: none;
  }

  .av-block-specialists-single {
    padding: 30px;
  }

  .av-block-specialists-single .av-images-top .av-images-img {
    width: 100%;
  }

  .av-block-specialists-single .av-block-content {
    order: 1;
  }

  .av-block-specialists-single .av-images {
    max-width: 400px;
    margin: 0 auto 25px;
  }
}

@media (max-width: 580px) {
  .features-about-page .features-item {
    flex-basis: 50%;
  }
}

@media (max-width: 570px) {
  .spoiler-title {
    font-size: 22px;
  }

  .staff-col {
    flex-basis: 100%;
  }
}

@media (max-width: 560px) {
  .footer-col {
    flex-basis: 100%;
  }
}

@media (max-width: 490px) {
  .av-block-prices .av-block-image {
    display: none;
  }

  .av-block-prices .av-block-content {
    flex-basis: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media (max-width: 480px) {
  .features-about-page .features-item {
    flex-basis: 100%;
    flex-direction: row;
  }

  .features-about-page .features-info {
    padding-left: 15px;
  }

  .process-col {
    flex-basis: 100%;
  }
}

@media (max-width: 460px) {
  .features-item {
    flex-direction: row;
    flex-basis: 100%;
  }

  .features-info {
    padding-left: 27px;
    max-width: 100%;
  }

  .contacts-col {
    flex-basis: 100%;
    margin-bottom: 40px;
  }
}

@media (max-width: 450px) {
  .services-categories-row {
    padding: 15px;
  }

  .services-categories-item {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 440px) {
  .title {
    font-size: 26px;
  }
}

@media (max-width: 400px) {
  .features-about-page .features-item {
    padding-left: 0;
    padding-right: 0;
  }
}

.menu .wide-menu>a::after {
  content: '';
  display: block;
  position: absolute;
  background-color: #000;
  width: 20px;
  height: 20px;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  background: url(/assets/img/mega.svg) center/14px 14px no-repeat;
}

@media (max-width: 1400px) {
  .menu .wide-menu>a::after {
    left: -14px;
  }
}

@media (max-width: 767.98px) {
  .menu .wide-menu>a::after {
    left: auto;
    right: 15px;
    width: 34px;
    height: 34px;
    background: url(/assets/img/sub-menu-arrow.svg) center/contain no-repeat;
  }
}

.menu .wide-menu>.sub-menu {
  position: fixed !important;
  left: 50%;
  top: 240px !important;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1470px;
  box-sizing: border-box;
  background-color: #fff;
  opacity: 0 !important;
  box-shadow: none;
  border-radius: 0;
  z-index: 10;
  pointer-events: none !important;
  transition: all .2s ease-in-out;
  padding: 50px 15px 80px;

  overflow-y: auto;
  height: calc(100vh - 140px) !important;
}

.menu .wide-menu::before {
  content: '';
  display: block;
  position: fixed;
  left: 0;
  width: 100vw;
  height: 100%;
  background-color: #fff;
  top: 240px;
  pointer-events: none;
  opacity: 0;
  transition: all .2s ease-in-out;
}

.menu .wide-menu.active::before {
  top: 140px;
  pointer-events: auto;
  opacity: 1;
}

.admin-bar .menu .wide-menu.active::before {
  top: 156px;
  pointer-events: auto;
  opacity: 1;
}

.admin-bar .wide-menu>.sub-menu {
  top: 156px;
}

.menu .wide-menu.active>.sub-menu {
  opacity: 1 !important;
  pointer-events: auto !important;
  top: 140px !important;
}

.admin-bar .menu .wide-menu.active>.sub-menu {
  top: 156px !important;
}

.wide-menu>.sub-menu>li {
  width: calc((100% - 120px) / 4);
  margin-bottom: 30px;
}

.menu .wide-menu .sub-menu a {
  font-weight: 600;
  font-size: 16px;
  color: #1030B4;
  display: inline-block;
}

.menu .wide-menu .sub-menu a:hover {
  text-decoration: underline;
}

.menu .wide-menu .menu-item-has-children .sub-menu {
  opacity: 1;
  pointer-events: auto;
  position: static;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  padding: 0;
}

.menu .wide-menu .menu-item-has-children>a::after {
  display: none;
}

.menu .wide-menu .menu-item-has-children>a {
  padding-right: 0 !important;
}

.menu .wide-menu .menu-item-has-children .sub-menu .menu-item a {
  display: inline-block;
  color: #333333;
  font-size: 14px;
  line-height: 1.5;
  padding: 7px 0;
  font-weight: 400;
}

@media (max-width: 767.98px) {
  .menu .menu-item-has-children>a::after {
    width: 34px;
    height: 34px;
    right: 15px;
    transition: all .4s ease-in-out;
  }

  .menu .menu-item-has-children.active>a::after {
    transform: scale(1, -1) translateY(15px);
  }

  .menu .menu-item-has-children .sub-menu {
    opacity: 1;
    pointer-events: auto;
    position: static;
    width: 100%;
    height: auto;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0 25px;
  }

}

.appointment-form .wpcf7-submit {
  display: inline-block;
  background-color: #1030B4;
  color: #ffffff;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all .2s ease-in-out;
  white-space: nowrap;
  text-decoration: none;
  line-height: 40px;
  padding: 0 40px;

  margin-left: 40px;
  width: auto;
}

@media (max-width: 900px) {
  .appointment-form .wpcf7-submit {
    margin-left: 0;
  }
}

.appointment-form .wpcf7-submit:hover {
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.wpcf7-response-output {
  display: none !important;
}

.wpcf7-not-valid-tip {
  top: 5px;
  position: absolute;
  left: 25px;
  font-size: 14px;
}

.popup {
  display: none;
  position: fixed;
  background-color: rgba(0, 0, 0, .6);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
}

#popup-cf7 {
  z-index: 200;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  width: calc(100% - 20px);
  box-sizing: border-box;
}

#popup-cf7 .popup-content {
  max-width: 380px;
  padding: 25px;
  text-align: center;
  border-radius: 10px;
}

.size-large {
  overflow: auto;
}

.size-large .popup-content {
  max-width: 950px;
  padding: 77px 120px;
  transform: translate(-50%, 0);
  top: 100px;
}

.popup-response {
  margin-bottom: 25px;
  font-weight: 600;
  font-size: 20px;
}

.appointment-form input.wpcf7-not-valid {
  border-color: red;
}

.specialists-single-education>li {
  display: none;
}

.specialists-single-education>li.visible {
  display: block;
}

.popup-title {
  font-size: 36px;
  color: #333333;
  margin-bottom: 25px;
}

.popup-text {
  font-size: 18px;
  color: #4F4F4F;
  margin-bottom: 50px;
}

.appointment-form-large {
  display: flex;
  margin: 0 -15px;
}

.appointment-form-col {
  flex-basis: 50%;
  padding: 0 15px;
}

.appointment-form-large input {
  height: 60px;
  width: 337px;
  border: 1px solid #828282;
  border-radius: 5px;
  box-sizing: border-box;
  padding: 0 25px;
  color: #000;
  font-size: 16px;
  outline: none;
  margin-bottom: 30px;
}

.appointment-form-large input::placeholder {
  color: #4F4F4F;
}

.appointment-form-large .button {
  color: #fff;
}

.appointment-form-large .wpcf7-select {
  display: inline-block;
  width: 337px;
  height: 60px;
  border-radius: 5px;
  border: 1px solid #828282;
  outline: none;
  margin-bottom: 30px;
  padding: 0 25px;
  font-size: 16px;
  box-sizing: border-box;
  color: #4F4F4F;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url(/assets/img/chevron-down.svg);
  background-position: right 14px top 50%;
  background-size: 20px 20px;
  background-repeat: no-repeat;
}

.appointment-form-large .wpcf7-textarea {
  display: inline-block;
  width: 337px;
  border-radius: 5px;
  border: 1px solid #828282;
  outline: none;
  margin-bottom: 30px;
  padding: 23px 25px;
  font-size: 16px;
  box-sizing: border-box;
  color: #000;
  resize: vertical;
  min-height: 240px;
  max-height: 330px;
}

.appointment-form-large .wpcf7-textarea::placeholder {
  color: #4F4F4F;
}

.appointment-form-large .wpcf7-form-control-wrap {
  display: inline-flex;
}

.appointment-form-large .ui-selectmenu-button.ui-button {
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid #828282;
  display: inline-flex;
  width: 337px;
  margin-bottom: 30px;
  box-sizing: border-box;
  padding: 0 25px;
  height: 60px;
  align-items: center;
}

.appointment-form .ui-selectmenu-button.ui-button {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  border: 1px solid #828282;
  display: inline-flex;
  width: 337px;
  margin-bottom: 22px;
  box-sizing: border-box;
  padding: 0 25px;
  height: 60px;
  align-items: center;
}

@media (max-width: 767.98px) {
  .appointment-form .ui-selectmenu-button.ui-button {
    width: 100%;
    max-width: 400px;
    margin: 0 0 15px;
  }
}

.appointment-form .ui-selectmenu-button.ui-button .ui-selectmenu-icon {
  display: none;
}

.appointment-form-large .ui-selectmenu-button.ui-button .ui-selectmenu-text {
  font-size: 16px;
  color: #4F4F4F;
}

.appointment-form .ui-selectmenu-button.ui-button .ui-selectmenu-text {
  font-size: 16px;
  color: #4F4F4F;
}

.appointment-form-large .ui-selectmenu-button.ui-button .ui-selectmenu-icon {
  display: none;
}

.ui-widget {
  font-family: 'Montserrat', sans-serif !important;
}

.ui-selectmenu-menu .ui-menu .ui-menu-item {
  border: none;
}

.ui-selectmenu-menu .ui-menu-item-wrapper {
  padding: 10px 25px;
  color: #00226C;
  font-size: 16px;

}

.ui-selectmenu-menu .ui-state-active {
  background-color: #BCC5E7;
  border: none;
}

.ui-selectmenu-menu .ui-state-active .ui-menu-item-wrapper {
  text-decoration: underline !important;
}

.ui-menu .ui-state-focus, .ui-menu .ui-state-active {
  margin: 0;
}

.appointment-form-large .wpcf7-submit {
  margin-bottom: 0;
}

.appointment-form-large .ajax-loader {
  display: none;
}

@media (max-width: 1000px) {
  .size-large .popup-content {
    padding: 50px 30px;
  }
}

@media (max-width: 767.98px) {
  .appointment-form-large {
    flex-wrap: wrap;
  }

  .appointment-form-col {
    flex-basis: 100%;
    text-align: center
  }
}

@media (max-width: 480px) {
  .appointment-form-large input {
    width: 100%;
    margin-bottom: 15px
  }

  .appointment-form-large .wpcf7-textarea {
    width: 100%;
    margin-bottom: 15px
  }

  .appointment-form-large .ui-selectmenu-button.ui-button {
    width: 100%;
    margin-bottom: 15px
  }

  .appointment-form-large .wpcf7-form-control-wrap {
    width: 100%;
  }
}

/* DATEPICKER */

.ui-datepicker .ui-state-default {
  background-color: transparent !important;
  border: none !important;
  font-size: 14px;
  color: #4F4F4F !important;
  font-weight: 600 !important;
  height: 25px !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  border-radius: 4px !important;
}

.ui-datepicker .ui-state-default:hover {
  background-color: #BCC5E7 !important;
}

.ui-datepicker .ui-datepicker-today .ui-state-default {
  background-color: #BCC5E7 !important;
  border-radius: 4px !important;
}

.ui-datepicker .ui-widget-header {
  border: none;
  background-color: transparent;
}

.ui-datepicker .ui-datepicker-calendar td.zero a:before {
  content: "0";
}

.ui-datepicker .ui-state-active {
  box-shadow: 0 0 0 2px #1030B4 !important;
  /*border: 2px solid #1030B4 !important;*/
  border-radius: 4px !important;
}

.staff-row {
  position: relative;
  z-index: 20;
}

.staff-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.staff-content {
  flex-grow: 1;
}

.staff-content>.button {
  bottom: -35px;
}

.popup-close {
  cursor: pointer;
  width: 40px;
  height: 40px;
  border: none;
  background-color: transparent;
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 0;
}

.popup-close::before,
.popup-close::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: #1030B4;
  position: absolute;
  top: 50%;
  left: 50%;
  transition: .2s;
}

.popup-close:hover::before,
.popup-close:hover::after {
  background-color: #3B5EE8;
}

.popup-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.popup-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 767.98px) {
  .popup-close {
    top: 10px;
    right: 10px;
  }
}

.appointment-form-large .wpcf7-textarea.textarea-review {
  height: 370px;
  max-height: 370px;
}

.select-overflow {
  height: 150px;
}

.ui-selectmenu-menu {}

.datepicker-div {
  position: relative;
}

.datepicker-div input {}

.datepicker-div .ui-datepicker {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 337px;
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  .datepicker-div .ui-datepicker {
    width: 100%;
  }

  .select-overflow {
    height: 250px;
  }
}