.owl-carousel {
  display: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  /* position relative and z-index fix webkit rendering fonts issue */
  position: relative;
  z-index: 1;
}

.owl-carousel .owl-stage {
  position: relative;
  -ms-touch-action: pan-Y;
  touch-action: manipulation;
  -moz-backface-visibility: hidden;
  /* fix firefox animation glitch */
}

.owl-carousel .owl-stage:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  /* fix for flashing background */
  -webkit-transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
}

.owl-carousel .owl-item {
  position: relative;
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

.owl-carousel .owl-item img {
  display: block;
  width: 100%;
}

.owl-carousel .owl-nav.disabled,
.owl-carousel .owl-dots.disabled {
  display: none;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-dot {
  cursor: pointer;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next,
.owl-carousel button.owl-dot {
  color: inherit;
  border: none;
  padding: 0 !important;
  font: inherit;
}

.owl-carousel.owl-loaded {
  display: block;
}

.owl-carousel.owl-loading {
  opacity: 0;
  display: block;
}

.owl-carousel.owl-hidden {
  opacity: 0;
}

.owl-carousel.owl-refresh .owl-item {
  visibility: hidden;
}

.owl-carousel.owl-drag .owl-item {
  touch-action: pan-y;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.owl-carousel.owl-grab {
  cursor: move;
  cursor: grab;
}

.owl-carousel.owl-rtl {
  direction: rtl;
}

.owl-carousel.owl-rtl .owl-item {
  float: right;
}

/* No Js */
.no-js .owl-carousel {
  display: block;
}

/*
 *  Owl Carousel - Animate Plugin
 */
.owl-carousel .animated {
  animation-duration: 1000ms;
  animation-fill-mode: both;
}

.owl-carousel .owl-animated-in {
  z-index: 0;
}

.owl-carousel .owl-animated-out {
  z-index: 1;
}

.owl-carousel .fadeOut {
  animation-name: fadeOut;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/*
 * 	Owl Carousel - Auto Height Plugin
 */
.owl-height {
  transition: height 500ms ease-in-out;
}

/*
 * 	Owl Carousel - Lazy Load Plugin
 */
.owl-carousel .owl-item {
  /**
			This is introduced due to a bug in IE11 where lazy loading combined with autoheight plugin causes a wrong
			calculation of the height of the owl-item that breaks page layouts
		 */
}

.owl-carousel .owl-item .owl-lazy {
  opacity: 0;
  transition: opacity 400ms ease;
}

.owl-carousel .owl-item .owl-lazy[src^=""],
.owl-carousel .owl-item .owl-lazy:not([src]) {
  max-height: 0;
}

.owl-carousel .owl-item img.owl-lazy {
  transform-style: preserve-3d;
}

/*
 * 	Owl Carousel - Video Plugin
 */
.owl-carousel .owl-video-wrapper {
  position: relative;
  height: 100%;
  background: #000;
}

.owl-carousel .owl-video-play-icon {
  position: absolute;
  height: 80px;
  width: 80px;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  background: url("#{@owl-image-path}owl.video.play.png") no-repeat;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  transition: transform 100ms ease;
}

.owl-carousel .owl-video-play-icon:hover {
  transform: scale(1.3, 1.3);
}

.owl-carousel .owl-video-playing .owl-video-tn,
.owl-carousel .owl-video-playing .owl-video-play-icon {
  display: none;
}

.owl-carousel .owl-video-tn {
  opacity: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 400ms ease;
}

.owl-carousel .owl-video-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
}

/*
 * 	Default theme - Owl Carousel CSS File
 */
.owl-theme .owl-nav {
  margin-top: 10px;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.owl-theme .owl-nav [class*='owl-'] {
  color: #FFF;
  font-size: 14px;
  margin: 5px;
  padding: 4px 7px;
  background: #D6D6D6;
  display: inline-block;
  cursor: pointer;
  border-radius: 3px;
}

.owl-theme .owl-nav [class*='owl-']:hover {
  background: #869791;
  color: #FFF;
  text-decoration: none;
}

.owl-theme .owl-nav .disabled {
  opacity: 0.5;
  cursor: default;
}

.owl-theme .owl-nav.disabled+.owl-dots {
  margin-top: 10px;
}

.owl-theme .owl-dots {
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.owl-theme .owl-dots .owl-dot {
  display: inline-block;
  zoom: 1;
  *display: inline;
}

.owl-theme .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 5px 7px;
  background: #D6D6D6;
  display: block;
  -webkit-backface-visibility: visible;
  transition: opacity 200ms ease;
  border-radius: 30px;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #869791;
}

@media (min-width: 641px) {
  .container {
    width: calc(100% - 30px);
  }
}

@media (min-width: 992px) {
  .container {
    width: 962px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1140px;
  }
}

#fixed-offer-title>span:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0em;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)) no-repeat -2em 0%;
  background-size: 2em 100%;
  -moz-transform: skewX(-50deg);
  -o-transform: skewX(-50deg);
  -webkit-transform: skewX(-50deg);
  transform: skewX(-50deg);
}

#fixed-offer-title>span.blink_on:after {
  transition: 1.5s linear;
  background-position: 130% 0%;
}

#recommendation {
  margin-bottom: 60px;
}

#recommendation h2 {
  margin-bottom: 40px;
}

#recommendation ul {
  margin-bottom: 0;
}

#recommendation ul li {
  margin-bottom: 7px;
}

.y-video {
  background-size: cover;
  position: relative;
  background-position: center;
}

#request-callback {
  margin-bottom: 50px;
  margin-top: 30px;
}

.y-video-preview:after {
  background-image: url(img/youtube-play.png);
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background-position: center center;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-size: 70px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.3);
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
}

.y-video-preview:hover::after {
  box-shadow: initial;
}

body {
  font-family: 'arial' !important;
  overflow-y: scroll;
  color: #666 !important;
}

.custom-form-191 {
  max-width: 500px;
  margin: 0 auto;
}

.custom-form-191 .form_zanyatie * {
  width: 100% !important;
}

[type=text]::placeholder,
[type=tel]::placeholder,
textarea::placeholder,
select::placeholder {
  color: #333;
}

.my-form {
  padding-left: 60px;
}

.form_zanyatie {
  margin: 0 auto;
}

.form_zanyatie input,
.form_zanyatie select,
.form_zanyatie textarea {
  max-width: unset !important;
  border: 2px solid #efefef !important;
  border-radius: 23px !important;
  padding: 0 20px !important;
  font-size: 17px !important;
  outline: 0 !important;
}

.form_zanyatie select::placeholder,
.form_zanyatie input::placeholder {
  color: #000;
}


.form_zanyatie select, .form_zanyatie input:not([type="checkbox"]):not([type="radio"])  {
  height: 41px;
  margin-bottom: 10px;
}

.form_zanyatie textarea {
  padding: 20px !important;
}

.form_zanyatie input[type=submit],
.violet-button.grey11 {
  width: auto !important;
  background: #3d3d3d !important;
  color: white;
  border: 0 !important;
}

.form_zanyatie input[type=submit]:hover,
.violet-button.grey11:hover {
  background: #7b7b7b !important;
}

#alert {
  background: #bd34a7;
  text-align: center;
  width: 100%;
  color: white;
  font-size: 15px;
  padding: 5px;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
  display: none;
  position: relative;
  z-index: 10000000000;
}

#alert .close-alert {
  background: none;
  border: 0;
  color: white;
  position: absolute;
  right: 0;
  font-size: 26px;
  top: -2px;
  right: 2px;
  cursor: pointer;
}

.alignright {
  float: right;
}

.vertical-divider {
  background: url("../img/left-shadow.png") no-repeat;
  background-size: contain;
}

input:focus,
input:active {
  outline: 0;
}

[type=submit] {
  cursor: pointer;
  font-size: 22px;
  background: #efefef;
  border: 0;
  border-radius: 100px;
  color: #333;
  padding: 10px 30px;
  line-height: 1;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

[type=submit]:active,
[type=submit]:focus,
[type=submit]:hover {
  background: #fff;
}

a {
  color: #333;
  text-decoration: none;
  outline: none;
}

a:active,
a:focus,
a:hover {
  text-decoration: underline;
  color: #000;
  outline: none;
}

a:focus,
a:active {
  text-decoration: none;
}

button:focus,
button:active,
button:hover {
  outline: 0;
}

p {
  font-size: 15px;
}

h2 {
  color: black;
  margin-bottom: 30px;
  text-align: center;
  font-size: 26px;
}

h2 a {
  color: black;
  text-decoration: underline;
}

h3 {
  font-size: 18px;
}

em {
  font-style: normal !important;
}

#left-vertical-menu {
  display: none;
}

#left-vertical-menu .logo {
  height: 132px;
  margin-top: 20px;
}

.item-50 {
  float: left;
  width: 50%;
  padding-left: 15px;
  padding-right: 15px;
}

.item-50 img {
  width: 100%;
  height: auto;
}

.item-50 iframe {
  width: 100% !important;
}

.a-button {
  width: 100%;
  float: left;
  margin-bottom: 20px;
}

.current-link {
  cursor: auto;
}

.post-content ul {
  padding-left: 20px;
}

.post-content ul li {
  margin-left: 15px;
  margin-bottom: 15px;
  font-size: 15px;
}

.post-content h3 {
  color: black;
  font-weight: bold;
  margin-top: 30px;
}

.post-content p {
  font-size: 15px;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.violet-button {
  line-height: 1;
  border: 2px solid white;
  z-index: 184;
  transition: 0.4s;
  background-color: #fff;
  border-radius: 100px;
  text-align: center;
  padding: 10px 30px;
  font-size: 22px;
  margin-bottom: 20px;
  display: inline-block;
  color: #333;
  margin-top: 30px;
  cursor: pointer;
}

.violet-button:active,
.violet-button:focus,
.violet-button:hover {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.2);
}

#mobifitness_main_cont {
  width: 100%;
}

.bootstrap-select>.dropdown-toggle {
  border-radius: 50px;
  border: 0;
  background-color: #efefef;
  font-family: arial;
  font-size: 15px
}

.bootstrap-select .dropdown-item {
  font-size: 15px
}

.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select>select.mobile-device:focus+.dropdown-toggle {
  outline: none !important;
}

.dropdown-item.active,
.dropdown-item:active {
  color: black;
  background-color: #efefef;
}

.btn-light:not(:disabled):not(.disabled).active,
.btn-light:not(:disabled):not(.disabled):active,
.show>.btn-light.dropdown-toggle {
  color: #212529;
  background-color: #d4d4d4;
  border-color: #d3d9df;
}

.btn-light:not(:disabled):not(.disabled).active:focus,
.btn-light:not(:disabled):not(.disabled):active:focus,
.show>.btn-light.dropdown-toggle:focus {
  box-shadow: none;
  -webkit-box-shadow: none;
}

.btn.focus,
.btn:focus {
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.fixed-mobile-menu {
  display: none;
  left: 0;
}

.fixed-mobile-menu .bootstrap-select .dropdown-toggle {
  margin-left: 45px;
  height: 31px;
  line-height: 1;
}

.socials {
  float: right;
  margin-top: -8px;
}

.socials .fa {
  color: inherit !important;
  width: initial;
}

.socials a {
  font-size: 27px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

.socials a:active,
.socials a:focus,
.socials a:hover {
  text-decoration: none;
  color: #888 !important;
}

.social a {
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

.social a:active,
.social a:focus,
.social a:hover {
  text-decoration: none;
  color: #949494 !important;
}

.header-phone {
  margin-bottom: 0;
}

header {
  position: relative;
  z-index: 200;
}

header a {
  color: #333;
}

header a:hover {
  color: #333;
}

header .dance-shop {
  top: 49px;
  height: 34px;
}

header .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
  width: 310px;
}

header .metro {
  display: block;
  font-size: 13px;
  position: relative;
  padding-left: 23px;
}

header .metro:before {
  padding-left: 20px;
  content: ' ';
  width: 13px;
  height: 13px;
  background: url(/img/metro.svg);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: 0px;
  top: 2px;
}

header .dance-shop {
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
  position: absolute;
  right: 15px;
  top: 49px;
  height: 34px;
  background: #efefef;
  color: #333;
  padding: 6px 20px;
  font-size: 15px;
  border-radius: 100px;
}

header .dance-shop:hover {
  text-decoration: none;
  background: #d4d4d4;
}

header .dance-shop:active,
header .dance-shop:focus {
  background: #e3e3e3;
}

header .bootstrap-select .dropdown-toggle {
  height: 34px;
}

header .bootstrap-select .dropdown-toggle:focus,
header .bootstrap-select>select.mobile-device:focus+.dropdown-toggle {
  outline: 5px auto #c4c4c4 !important;
  box-shadow: none;
}

header .selectpicker-wrapper {
  margin-top: 5px;
  margin-bottom: 5px;
  height: 34px;
}

header .container {
  padding-top: 15px;
  position: relative;
  padding-bottom: 10px;
}

header .col-sm-6 {
  position: initial;
}

header address {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 15px;
}

header address.active {
  background: #efefef;
  border-radius: 15px;
  padding: 2px 7px;
  margin-left: -7px;
  padding-bottom: 2px;
  padding-top: 2px;
  width: fit-content;
  display: flex;
  align-items: center;
}

header .logo>a>img {
  width: 115px;
  position: absolute;
  left: 50%;
  height: auto;
  margin-left: -55px;
  margin-top: -5px;
}

header .fa,
header .fas {
  font-size: 24px;
  margin-right: 6px;
}

header .fa-home {
  margin-right: 0;
}

header a[href^=tel] {
  font-family: arial;
  font-size: 16px;
  letter-spacing: -0.5px !important;
  color: black;
}

header a[href^=tel]:hover {
  text-decoration: none;
}

header .link a {
  float: right;
  text-align: right;
  line-height: 1;
  text-transform: uppercase;
  padding-right: 21px;
  font-size: 14px;
}

header #left-part-menu {
  float: left;
  padding: 0 !important;
  margin-top: -5px;
  margin-bottom: 5px !important;
}

header #left-part-menu>li:first-child {
  padding-left: 0;
  margin-left: -3px;
  margin-right: -5px;
  cursor: pointer;
}

header #right-part-menu {
  float: right;
  text-align: right;
  padding: 0 !important;
  margin-bottom: 5px !important;
}

header .fixed-menu {
  display: none;
  position: fixed;
  top: 0;
  width: 1140px;
  background: white;
  margin-left: -15px;
  margin-right: -15px;
  padding-top: 10px;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
}

header .fixed-menu .col-sm-6 {
  width: 49%;
  display: inline-block;
  z-index: 1;
  position: relative;
}

header .fixed-menu .logo {
  width: 100%;
  text-align: center;
  position: absolute;
  top: 0;
  z-index: 0;
  left: 50%;
  margin-left: -22px;
  width: initial;
  z-index: 100;
}

header .fixed-menu .logo a>img {
  position: initial;
  width: 44px;
  margin: 0;
  margin-top: 3px;
}

header .menu {
  width: 100%;
}

header .menu .to-sub-arrow {
  font-size: 13px;
  padding-left: 3px;
  margin: 0;
  width: 10px;
}

header .menu .to-sub-sub-arrow {
  font-size: 15px;
  padding-left: 5px;
  color: inherit;
  position: relative;
  top: 2px;
}

header .menu li {
  list-style-type: none;
  display: inline-block;
  padding: 5px;
}

header .menu li:hover>.sub-menu {
  display: block;
}

header .menu li:hover>.sub-menu>li:hover>.sub-sub-menu {
  display: block;
}

header .menu li a {
  color: black;
  padding-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

header .menu li a:active,
header .menu li a:focus,
header .menu li a:hover {
  text-decoration: none;
  border-bottom: 2px solid #333;
}

header .menu li .sub-menu,
header .menu li .sub-sub-menu {
  width: 185px;
  display: none;
  position: absolute;
  -webkit-box-shadow: 15px 15px 22px -13px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 15px 15px 22px -13px rgba(0, 0, 0, 0.75);
  box-shadow: 15px 15px 22px -13px rgba(0, 0, 0, 0.75);
  padding: 0;
  background: white;
  border-bottom-right-radius: 17px;
  border-bottom-left-radius: 17px;
  border-top: 1px solid #efefef;
}

header .menu li .sub-menu li,
header .menu li .sub-sub-menu li {
  display: inline-block;
  width: 100%;
  border-bottom: 1px solid #d2d2d2;
  padding: 0;
  position: relative;
}

header .menu li .sub-menu li a,
header .menu li .sub-sub-menu li a {
  display: inline-block;
  width: 100%;
  text-align: left;
  text-transform: initial;
  line-height: 2.1;
  letter-spacing: 0;
  font-size: 13px;
  padding-left: 15px;
  padding-right: 10px;
  line-height: 18px;
  padding-top: 6px;
}

header .menu li .sub-menu li a:active,
header .menu li .sub-sub-menu li a:active,
header .menu li .sub-menu li a:focus,
header .menu li .sub-sub-menu li a:focus,
header .menu li .sub-menu li a:hover,
header .menu li .sub-sub-menu li a:hover {
  color: #333;
  background: #efefef;
  border-bottom: none;
}

header .menu li .sub-menu li a:focus,
header .menu li .sub-sub-menu li a:focus,
header .menu li .sub-menu li a:active,
header .menu li .sub-sub-menu li a:active,
header .menu li .sub-menu li a:hover,
header .menu li .sub-sub-menu li a:hover {
  text-decoration: none;
}

header .menu li .sub-menu li:last-child,
header .menu li .sub-sub-menu li:last-child {
  border-bottom: 0;
}

header .menu li .sub-menu li:last-child a,
header .menu li .sub-sub-menu li:last-child a {
  border-bottom-right-radius: 17px;
  border-bottom-left-radius: 17px;
}

header .menu li .sub-sub-menu {
  left: 180px;
  margin-top: 0;
  top: -1px;
  -webkit-box-shadow: inset 8px -1px 24px -12px rgba(0, 0, 0, 0.51);
  -moz-box-shadow: inset 8px -1px 24px -12px rgba(0, 0, 0, 0.51);
  box-shadow: inset 8px -1px 24px -12px rgba(0, 0, 0, 0.51);
}

@media (max-width: 550px) {

  header .mec-fa-facebook-square,
  header .mec-fa-youtube {
    display: none;
  }
}

.logo>a>img:focus,
.logo>a>img:active {
  background: rgba(0, 0, 0, 0.07);
  border-radius: 5px;
}

.post-image__content a:focus,
.post-image__content a:active {
  text-decoration: underline;
}

.breadcrumb {
  width: 100%;
  font-size: 90%;
  background-color: #f3f3f3;
  margin-bottom: 0;
}

.breadcrumb li {
  float: left;
}

.breadcrumb li:after {
  content: "/";
  padding-left: 8px;
  padding-right: 8px;
  color: black;
}

.breadcrumb li:last-child a {
  pointer-events: none;
}

.breadcrumb li:last-child:after {
  content: none;
}

.breadcrumb li a {
  color: black;
}

.breadcrumb li a:hover {
  color: black;
}

.breadcrumb li a:active,
.breadcrumb li a:focus {
  text-decoration: underline;
}

.page .col-sm-6 {
  float: left;
}

.page h2 {
  font-size: 21px !important;
}

.page h4 {
  color: gray;
  line-height: 1.4;
  margin-bottom: 50px;
}

.page ol {
  margin-top: 5px;
}

#schedule .back {
  min-height: 264px;
  background-repeat: no-repeat;
}

#schedule p {
  color: white;
  font-size: 18px;
  margin-bottom: 0;
}

#schedule a[href^=tel] {
  font-size: 30px;
  color: white;
  font-weight: bold;
  margin-top: 10px;
  display: block;
  margin-bottom: 10px;
}

#schedule a[href^=tel]:active,
#schedule a[href^=tel]:focus,
#schedule a[href^=tel]:hover {
  color: white;
  text-decoration: none;
}

#schedule .violet-button:focus {
  color: white;
}

.slider {
  padding: 0;
  margin-top: 3px;
  height: 100%;
}

.slider .slides {
  padding: 0;
}

.slider .slides img {
  width: 100%;
  height: auto;
}

.slider .slides li {
  width: 100%;
  padding: 0;
  margin: 0;
  list-style-type: none;
  position: absolute;
  background-repeat: no-repeat;
  background-position-x: 50%;
  background-size: contain;
}

.slider .slider-content {
  position: absolute;
  top: 25%;
  left: 30px;
  z-index: 41;
}

.slider .slider-content b,
.slider .slider-content p {
  color: white;
  text-align: left;
}

.slider .slider-content h1 {
  text-shadow: 2px 2px 1px #000000;
  font-size: 14px;
  width: 50%;
  color: white;
  line-height: 1.5;
  margin-top: 10px;
}

.slider .slider-content b {
  text-decoration: none;
  font-size: 38px;
}

.slider .make-it-darker {
  background-color: #000000;
  opacity: 0.54;
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: 40;
}

#slider-header {
  margin-bottom: 60px;
  height: 460px;
}

#slider-header li {
  height: 100% !important;
}

#slider-offers {
  margin-bottom: 50px;
}

#slider-offers .slides {
  min-height: 343px;
}

#advantages {
  margin-bottom: 50px;
}

#advantages ul {
  margin-top: 30px;
  margin-bottom: 0;
}

#advantages ul li:last-child {
  margin-bottom: 0;
}

.advantages {
  margin-top: 10px;
  float: left;
  min-height: 400px;
  width: 100%;
}

.advantages h2 {
  font-weight: normal !important;
  color: black !important;
  text-align: center !important;
  margin-top: 30px !important;
  margin-bottom: 40px !important;
  margin-bottom: 10px !important;
}

.advantages .item-full {
  border-top: 72px solid black;
  border: 0;
  width: 16.66%;
  float: left;
  padding-left: 15px;
  padding-right: 15px;
  text-align: center;
}

.advantages .item-full img {
  width: 100%;
  height: auto;
  margin-top: 30px;
  opacity: .7;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
}

.advantages .item-full:hover>img {
  opacity: 1;
}

.advantages .item-full h3 {
  margin-top: -64px;
  font-size: 20px;
  margin-left: -10px;
  margin-right: -10px;
  min-height: 39px;
  margin-top: 0;
  font-size: 15px;
  margin-left: 0;
  margin-right: 0;
  min-height: initial;
  color: black;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: -5px;
}

.advantages .item-short {
  border-top: 0;
  width: 33.33%;
  float: left;
  padding-left: 15px;
  padding-right: 15px;
  text-align: center;
}

.advantages .item-short img {
  width: 40%;
  height: auto;
}

.advantages .item-short p {
  padding-left: 15px;
  padding-right: 15px;
}

.advantages .item-short h6 {
  color: #6d0659;
  font-size: 20px;
  margin-left: -10px;
  margin-right: -10px;
  margin-top: 10px;
  font-weight: bold;
}

.advantages .item-additional {
  float: left;
  padding-left: 15px;
  padding-right: 15px;
  text-align: center;
  width: 25%;
}

.advantages .item-additional img {
  width: 50%;
  height: auto;
}

.advantages .item-additional h2 {
  margin-bottom: 0 !important;
  font-size: 19px !important;
}

.advantages .item-additional:last-child img {
  width: 70%;
  margin-top: -30px;
  margin-bottom: -30px;
}

.advantages .item-additional p {
  margin-bottom: 0;
}

.advantages p {
  font-size: 14px;
  line-height: 1.2;
  margin-top: 10px;
  text-align: center !important;
  margin-bottom: 0;
}

.advantages.additional {
  margin-bottom: 0;
}

.y-video {
  margin-bottom: 30px;
}

#about {
  margin-bottom: 30px;
  margin-top: 30px;
}

#about .post-content {
  margin-top: 0;
}

#about .col-sm-12 {
  padding: 0;
}

#feedback {
  margin-top: 0;
}

#feedback iframe {
  margin-top: 40px;
  margin-bottom: 40px;
  float: left;
}

#feedback h2 {
  margin-bottom: 20px;
}

#feedback .item {
  padding: 20px 15px;
  max-width: 25% !important;
  text-align: center;
  background: #ccc;
  display: inline-block;
}

#feedback .item:nth-child(2n) {
  background: #ddd;
}

#feedback .button {
  display: none;
  color: #fff;
  border-radius: 7px;
  font-size: 14px;
  background: #6d0659;
  margin-top: 20px;
  padding: 8px 16px;
}

#feedback .button:hover {
  text-decoration: none;
}

#feedback .wrap {
  text-align: center;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

#feedback .wrap img {
  width: 80%;
  height: auto;
  margin: 0 auto;
  margin-bottom: 20px;
  align-self: flex-start;
}

#feedback .wrap:after {
  content: 'Смотреть';
  color: #333;
  text-decoration: underline;
  display: block;
  width: 100%;
  font-size: 14px;
}

#fixed-offer-title {
  z-index: 1210;
  width: 300px;
  -webkit-transform: matrix(0, 1, -1, 0, 380, -117);
  -ms-transform: matrix(0, 1, -1, 0, 380, -117);
  transform: matrix(0, 1, -1, 0, 380, -117);
  position: fixed;
  top: 500px;
  right: 241px;
  background: #3d3d3d;
  color: white;
  text-align: center;
  padding: 10px;
  padding-top: 30px;
  font-size: 18px;
  cursor: pointer;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

#fixed-offer {
  position: fixed;
  background: #3e3b3be6;
  top: 267px;
  right: -430px;
  width: 430px;
  height: 385px;
  z-index: 1209;
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
  background: rgba(0, 0, 0, 0.8);
}

#fixed-offer .sidebar-content {
  position: absolute;
  right: 36px;
  padding: 20px 30px 15px 24px;
}

#fixed-offer .sidebar-content p.agreement {
  font-size: 11px;
  margin-top: -10px;
  color: white;
}

#fixed-offer .sidebar-content p.agreement a {
  color: white;
}

#fixed-offer .sidebar-content [type=tel],
#fixed-offer .sidebar-content [type=text] {
  height: 40px;
  margin-bottom: 0;
  padding: 10px;
  margin-top: 23px;
  width: 100%;
}

#fixed-offer .sidebar-content [type=tel]::placeholder,
#fixed-offer .sidebar-content [type=text]::placeholder {
  color: #333;
}

#fixed-offer .sidebar-content [type=text] {
  margin-top: 10px;
}

#fixed-offer .sidebar-content [type=text],
#fixed-offer .sidebar-content [type=tel] {
  margin-top: 10px;
  border-radius: 100px;
  border: 0;
}

#fixed-offer .sidebar-content [type=submit] {
  padding: 6px 23px;
  font-size: 16px;
  margin-top: 23px;
  margin-bottom: 10px;
  background-color: #fff;
}

#fixed-offer .sidebar-content [type=submit]:active,
#fixed-offer .sidebar-content [type=submit]:focus,
#fixed-offer .sidebar-content [type=submit]:hover {
  color: #333;
}

#fixed-offer .sidebar-content .title {
  color: white;
}

#fixed-offer .sidebar-content span.wpcf7-not-valid-tip {
  color: #a4fd88;
  font-size: 12px;
  display: contents;
  width: 300px;
}

#fixed-offer .sidebar-content div.wpcf7-validation-errors,
#fixed-offer .sidebar-content div.wpcf7-acceptance-missing,
#fixed-offer .sidebar-content div.wpcf7-mail-sent-ok {
  border: 0;
  margin: 0;
  display: block;
  font-size: 12px;
  color: #a4fd88;
  background: #252222;
  padding: 10px;
}

#request-callback .bg {
  min-height: 265px;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 28px 80px 25px 45px;
}

#request-callback .bg>img {
  width: 100%;
  height: auto;
}

#request-callback .content {
  color: white;
  width: 100%;
  position: relative;
}

#request-callback .col-left {
  float: left;
  width: calc(100% - 320px - 40px);
}

#request-callback .col-right {
  float: right;
  width: 320px;
}

#request-callback .desc {
  text-align: center;
}

#request-callback .desc p {
  font-size: 27px;
  font-family: 'arial';
  line-height: 1.15;
}

#request-callback .desc .agreement {
  position: absolute;
  bottom: 0;
  font-size: 14px;
  font-family: 'arial';
  color: #bfbfbf;
  margin-bottom: 0;
}

#request-callback .desc .agreement a {
  color: #bfbfbf;
}

#request-callback h3 {
  font-size: 52px;
  font-family: 'arial';
  margin-bottom: 15px;
}

#request-callback form p {
  margin-bottom: 0;
}

#request-callback form br {
  display: none;
}

#request-callback form input:not([type="checkbox"]):not([type="radio"]) {
  width: 100%;
  border-radius: 100px;
}


#request-callback form [type=tel],
#request-callback form [type=text] {
  margin: 0 0 8px;
  height: 40px;
  padding: 10px;
  border: 0;
  background: #f2f2f2;
}

#request-callback form [type=tel]:active,
#request-callback form [type=text]:active,
#request-callback form [type=tel]:focus,
#request-callback form [type=text]:focus,
#request-callback form [type=tel]:hover,
#request-callback form [type=text]:hover {
  background: white;
}

#request-callback form [type=submit] {
    margin: 0;
    margin-top: 8px;
    border: 2px solid #f2f2f2;
    padding: 6px 21px 6px;
    background: #f2f2f2;
    font-size: 18px;
}

#request-callback form [type=submit]:hover {
  background: #fff;
  border: 2px solid #fff;
  color: #333;
}

#request-callback form .wpcf7-mail-sent-ok {
  border: 2px solid white;
  margin: 10px 0 0;
  font-size: 12px;
  border-radius: 12px;
}

#request-callback form div.wpcf7-validation-errors,
#request-callback form div.wpcf7-acceptance-missing {
  border: 2px solid red;
  margin: 5px 0 0;
  font-size: 12px;
  color: black;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
}

#request-callback form span.wpcf7-not-valid-tip {
  font-size: 12px;
  margin-bottom: 2px;
  margin-left: 15px;
}

#request-callback form .ajax-loader {
  display: none;
}

#request-callback form .ajax-loader.is-active {
  display: block;
}

#p-footer .container {
  border-top: 2px solid #333;
  padding: 20px 0;
}

#p-footer .logo>a>img {
  width: 100px;
  margin-bottom: 20px;
}

#p-footer .fa,
#p-footer .fas {
  color: black;
  font-size: 30px;
  margin-right: 6px;
  width: 30px;
  float: left;
}

#p-footer .fa-home {
  margin-right: 0;
}

#p-footer .fa-envelope {
  font-size: 27px;
}

#p-footer a {
  font-size: 14px;
  color: black;
  display: block;
}

#p-footer a:focus,
#p-footer a:active {
  text-decoration: underline;
}

#p-footer h4 {
  font-size: 15px;
  margin-bottom: 17px;
  margin-top: 15px;
  font-weight: bold;
}

#p-footer .socials {
  float: left;
  width: 100%;
}

#p-footer .socials>a img {
  font-size: 14px;
  width: 45px;
  float: left;
  margin-right: 7px;
  filter: grayscale(1);
}

.common-footer .directions a {
  font-size: 14px;
  color: black;
  display: block;
  margin-top: 4px;
  margin-top: 8px;
  line-height: 1.2;
}

.common-footer .directions a span {
  font-size: 12px;
  color: gray;
}

.common-footer .subscribe ins {
  font-size: 14px;
  text-decoration: none;
  font-style: italic;
  line-height: 1.3;
  display: block;
}

.common-footer input {
  color: white;
}

.common-footer [type=email] {
  width: 100%;
  background: #3a3a3a;
  font-style: italic;
  border: 0;
  padding: 8px;
  font-size: 16px;
  color: black;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

.common-footer [type=email]:active,
.common-footer [type=email]:focus,
.common-footer [type=email]:hover {
  background: #ececec;
}

.common-footer [type=submit] {
  margin-top: 10px;
}

.common-footer p.agreement,
.common-footer .agreement>a {
  font-size: 12px !important;
}

.common-footer .agreement>a {
  color: black;
}

.common-footer .wpcf7-mail-sent-ok {
  border: 2px solid black;
  margin: 0;
  font-size: 12px;
}

.common-footer div.wpcf7-validation-errors,
.common-footer div.wpcf7-acceptance-missing {
  border: 2px solid red;
  margin: 0;
  font-size: 12px;
}

.common-footer span.wpcf7-not-valid-tip {
  font-size: 14px;
}

footer {
  overflow: hidden;
}

footer .container {
  border-top: 2px solid #333;
  padding: 20px 0;
}

footer .container a {
  color: #000;
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
}

footer .container a:focus,
footer .container a:active {
  text-decoration: underline;
}

.footer .container a {
  color: white !important;
}

.modal {
  top: 5%;
}

.modal-dialog {
  position: fixed;
  left: 50%;
  margin-left: -250px !important;
  background-color: #DEDEDE;
  border-radius: 15px;
  margin-top: 0;

}

.modal-content {
  background-color: #DEDEDE;
  border-radius: 15px;
}

.modal-backdrop {
  background: rgba(255, 255, 255, 0.8);
}

.modal-header {
  border-bottom: 1px solid #d1d1d1;
}

.modal-header .modal-title {
  font-size: 19px;
}

.modal-header .close {
  right: 17px;
  position: absolute;
  font-size: 32px;
}

.modal-body label {
  width: 100%;
  font-size: 14px;
  margin-bottom: 0;
}

.modal-body [type=tel],
.modal-body [type=text],
.modal-body [type=email],
.modal-body textarea {
  background: #ffffff87;
  width: 100%;
  height: 41px;
  padding: 5px;
  border: 1px solid gray;
}

.modal-body [type=email]:focus,
.modal-body [type=tel]:focus,
.modal-body [type=text]:focus,
.modal-body textarea:focus {
  background: white;
}

.modal-body textarea {
  height: 70px;
}

.modal-body p.agreement {
  font-size: 13px;
  text-align: center;
}

.modal-body .wpcf7-not-valid-tip {
  font-size: 12px;
}

.modal-body .wpcf7-validation-errors {
  border: 2px solid #ff0000;
  font-size: 13px;
  text-align: center;
  color: red;
  background: white;
}

.modal-body .wpcf7-mail-sent-ok {
  border: 2px solid #6d0659;
  background: white;
  font-size: 14px;
  text-align: center;
  padding: 10px;
}

.about-video {
  width: 100%;
}

#single-post {
  min-height: 80vh;
  padding-top: 60px;
  padding-bottom: 60px;
}

#single-post iframe {
  width: 100%;
}

#single-post h1 {
  text-align: left;
  margin: 0;
  font-size: 26px;
  margin-bottom: 30px;
  color: black;
}

#single-post h2 {
  font-size: 24px;
  font-weight: 100;
  text-align: left;
  color: black;
  font-size: 20px;
  margin-bottom: 10px;
}

#single-post h2.book-lesson {
  line-height: 1.2 !important;
  font-weight: bold !important;
}

#single-post.master h1,
#single-post.page h1,
#single-post.master h2,
#single-post.page h2 {
  text-align: center;
  width: 100%;
}

#single-post h3 {
  color: black;
  line-height: 1.5;
  font-weight: 100;
  font-size: 19px;
}

#single-post h4 {
  font-size: 17px;
  font-family: arial;
  font-weight: 600;
}

#single-post p,
#single-post li {
  text-align: justify;
  font-size: 15px;
  line-height: 1.6em;
  margin-bottom: 0.7rem;
  line-height: 1.4em;
  color: black;
}

#single-post li {
  margin-bottom: 5px;
}

#single-post .banner-single img {
  width: 100%;
  height: auto;
  align-self: flex-start;
}

#single-post .banner-single .banner-advantages {
  height: 100%;
  background: rgba(109, 6, 89, 0.85);
  position: absolute;
  padding: 40px;
  color: white;
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}

#single-post .banner-single .banner-advantages h2 {
  color: #d79ad8;
  font-size: 1.6em;
}

#single-post .banner-single .banner-advantages ul {
  padding-left: 0;
  list-style-type: none;
  font-size: 125%;
}

#single-post .banner-single .banner-advantages ul li {
  margin-bottom: 10px;
  text-align: left;
  padding-bottom: 5px;
  line-height: 1.4;
  font-size: 15px;
}

#single-post .single-right-column h2 {
  font-size: 18px;
}

#single-post .wpcf7-form-control-wrap {
  width: 50%;
  float: left;
}

#single-post .book-form {
  margin-top: 0;
  margin-bottom: 0;
}

#single-post .book-form .wpcf7-form-control-wrap {
  width: auto;
  float: none;
}

#single-post input[type=text] {
  height: 45px;
  padding: 15px;
  max-width: 300px;
  font-size: 23px;
  border: 1px solid #e4e5e6;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  float: left;
  letter-spacing: 0.5px;
  border: 0;
}

#single-post .wpcf7 form .violet-button {
  border-radius: 8px;
  font-size: 17px;
  padding: 10px 20px;
  margin: 0;
  height: 45px;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  float: right;
  z-index: 2;
  position: relative;
  background: #3d3d3d;
  color: #fff;
}

#single-post .wpcf7 form .violet-button:hover {
  color: #fff;
  background: #7b7b7b;
}

#single-post .wpcf7 form p {
  float: left;
  width: 100%;
}

#single-post .subtext {
  font-weight: bold;
  font-style: italic;
  font-size: 12px;
  width: 300px;
}

#single-post .schedule {
  margin-bottom: 40px;
}

#single-post .information {
  overflow: hidden;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  background: #f3f3f3;
}

#single-post .information .wpcf7-form-control-wrap {
  width: 100%;
  float: left;
  margin-bottom: 10px;
}

#single-post .information .left-column {
  padding-right: 60px;
  padding-top: 50px;
  padding-bottom: 30px;
}

#single-post .information .right-column {
  padding: 30px;
  padding-top: 50px;
}

#single-post .information .right-column .y-video {
  height: 335px !important;
}

#single-post .information .right-column .y-video iframe {
  height: 335px !important;
}

#single-post .information h2,
#single-post .information .h2 {
  padding-left: 60px;
  font-weight: 100;
  font-size: 1em;
  line-height: 1.3;
  color: black;
  text-align: left;
  margin-top: 0;
}

#single-post .information h2 span,
#single-post .information .h2 span {
  display: block;
  font-size: 12px;
}

#single-post .information h2 {
  border-bottom: 1px solid #c9c9c9;
  margin-bottom: 10px;
}

#single-post .information .icon {
  width: 45px;
  height: 45px;
  display: block;
  margin-bottom: 10px;
  float: left;
  filter: grayscale(1);
}

#single-post .information .ajax-loader {
  position: absolute;
}

#single-post .information a {
  text-decoration: underline;
  font-weight: bold;
  font-weight: 100;
}

#single-post .information .info-h2 {
  line-height: initial;
  height: 45px;
  padding-left: 0;
  font-size: 18px;
  border-bottom: 1px solid #c9c9c9;
  font-weight: 700;
  display: flex;
  align-items: center;
  margin-right: 20px;
  margin-top: 0;
  padding-left: 15px;
  padding-bottom: 0;
}

#single-post .information .wpcf7-not-valid-tip {
  font-size: 12px;
  line-height: initial;
  margin-top: 5px;
}

#single-post .information div.wpcf7-response-output,
.custom-response div.wpcf7-response-output {
  border: 0;
  margin: 0;
  display: inline-block;
  border-radius: 100px;
  line-height: 1.3;
  font-size: 0.8em;
  padding: 10px 20px;
  color: white;
  background: #46b450;
}

#single-post .information .init div.wpcf7-response-output,
.custom-response .init div.wpcf7-response-output {
  display: none;
}

#single-post .content {
  padding-top: 50px;
  padding-bottom: 30px;
  margin-left: -15px;
  margin-right: -15px;
}

#single-post .question {
  position: relative;
}

#single-post .question h3 {
  text-align: left;
  color: #333;
  padding: 7px 20px;
  display: block;
  display: inline-block;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  padding-left: 60px;
  background: #e4e4e4;
  height: 40px;
  cursor: pointer;
  margin-bottom: 16px;
}

#single-post .question h3:before {
  font-weight: normal;
  font-family: 'fontawesome';
  content: '\f067';
  float: left;
  padding: 10px 12px;
  position: absolute;
  left: 0;
  top: 0;
  background: #3d3d3d;
  font-size: 20px;
  color: white;
  line-height: 1;
  min-width: 40px;
  max-width: 40px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

#single-post .question h3.opened:before {
  content: '\f068';
}

#single-post .answer {
  display: none;
  background: #e4e4e4;
  padding: 20px;
  margin-top: -16px;
  margin-bottom: 20px;
  border-top: 3px solid #ffffff;
  border-radius: 8px;
  border-top-left-radius: 0;
}

#single-post #about-section {
  background: initial;
  border-radius: 8px;
  padding-top: 20px;
  padding-bottom: 30px;
}

#single-post #about-section .socials {
  font-size: 200%;
  float: left;
}

#single-post .advantages {
  float: left;
}

#single-post .about-video {
  float: left;
  margin-top: 20px;
  margin-bottom: 20px;
}

#single-post h2.legend {
  text-align: center;
  font-size: 16px;
  margin-top: -55px;
  margin-bottom: 70px;
  font-style: italic;
  color: gray;
  margin-top: -20px;
}

#single-post h2.h1 {
  margin-top: 20px !important;
}

#single-post .col-sm-12 {
  float: left;
}

#single-post .post-image img {
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  -webkit-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.23);
  -moz-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.23);
  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.23);
  border-radius: 40px;
}

#single-post .post-image .post-image__img-float {
  display: none;
}

#single-post .discount {
  font-size: 17px;
  line-height: 1.4;
  display: block;
  color: #6a0658;
  line-height: 1.2;
  font-weight: bold;
  font-family: sans-serif;
}

#single-post .item-row-icon {
  float: left;
  width: 10%;
  height: 60px;
  font-size: 40px;
  color: black;
  margin-right: 13px;
  font-style: normal;
}

#single-post .teachers {
  margin: 0;
  padding-left: 60px;
  margin-bottom: 30px;
}

#single-post .teachers li {
  line-height: 1.2;
  list-style-type: none;
  font-size: 1em;
  font-weight: bold;
}

#single-post .item-row {
  float: left;
  width: 100%;
  margin-bottom: 20px;
}

#single-post .item-row p {
  text-align: left !important;
}

#single-post .tab-content .metaslider {
  clear: left;
}

#single-post .nav-tabs {
  align-items: flex-end;
}

@media (max-width: 1140px) {
  #single-post {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.categories-nav .col-sm-4 {
  text-align: center;
}

.categories-nav img {
  width: 150px;
  border: 4px solid white;
  border-radius: 75px;
}

.categories-nav .chapter-block-title {
  background: #f3f3f3;
  margin-top: -27px;
  display: block;
  font-size: 16px;
  border-radius: 10px;
  color: #333;
  padding: 30px 0 10px 0;
  min-width: 100%;
  float: left;
  line-height: 1.2;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
}

.chapter-block-links {
  margin-bottom: -10px;
  margin-top: 10px;
}

.categories-nav .chapter-block-links a {
  color: black;
  padding: 0;
  text-decoration: underline;
  font-size: 14px;
}

.categories-nav .chapter-block-title span {
  display: block;
  font-size: 0.8em;
}

.chapter-card:hover .chapter-block-title {
  background: #d3d3d3 !important;
}

.categories-nav .chapter-block-text {
  width: 100%;
}

.categories-nav .chapter-block-text h3,
.categories-nav .chapter-block-text h2,
.categories-nav .chapter-block-text h4,
.categories-nav .chapter-block-text ul,
.categories-nav .chapter-block-text a {
  display: none !important;
}

.categories-nav .chapter-block-text p {
  font-size: 12.5px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  color: black;
  float: left;
  margin-top: 20px;
}

.categories-nav a {
  display: inline-block;
  padding: 5px 20px;
  line-height: 2;
  border-radius: 20px;
  color: white;
  width: 100%;
  padding-top: 20px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

.categories-nav a:active,
.categories-nav a:focus,
.categories-nav a:hover {
  text-decoration: none;
  border-radius: 10px;
}

.nav-tabs li {
  display: block;
  margin-bottom: 0 !important;
}

.tab-pane {
  padding-top: 30px;
  font-size: 120%;
}

.tab-pane .violet-button {
  margin-top: 0;
  font-size: 16px;
  background: #3d3d3d;
  color: white;
}

.tab-pane .violet-button:active,
.tab-pane .violet-button:focus,
.tab-pane .violet-button:hover {
  background: #7b7b7b;
}

.tabs a {
  background: #efefef;
  padding: 10px 19px;
  color: #333;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  margin-right: 2px;
  font-size: 110%;
  display: block;
}

.tabs a:active,
.tabs a:focus,
.tabs a:hover {
  text-decoration: none;
  opacity: 0.8;
}

.nav-tabs {
  border-bottom: 2px solid #ccc;
}

.banner {
  float: right;
  width: 300px;
}

.banner .violet-button {
  float: initial !important;
}

.banner p {
  text-align: center !important;
  font-size: 14.5px !important;
  color: #333;
}

.banner .banner-title {
  border-style: solid;
  border-width: 1px;
  border-color: #E1E1E1;
  background-color: #3d3d3d;
  border-radius: 10px 10px 0px 0px;
  position: relative;
  height: 63px;
  color: #fff;
  text-align: center;
  font-size: 23px;
  padding-top: 15px;
}

.banner .banner-subtitle {
  border-left: 1px solid #E1E1E1;
  border-right: 1px solid #E1E1E1;
  height: 49px;
  display: table-cell;
  width: 466px;
  vertical-align: middle;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #000;
}

.banner .banner-content {
  font-size: 14px;
  padding: 10px;
  border: 1px solid #E1E1E1;
  border-bottom: 0;
  color: #333;
}

.banner .banner-footer {
  font-size: 14px;
  padding: 10px;
  border: 1px solid #E1E1E1;
  border-top: 0;
}

.education-plans {
  float: left;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.education-plans .banner {
  float: initial;
  display: inline-block;
  margin: 15px;
  vertical-align: top;
}

.education-plans .banner .banner-subtitle {
  font-size: 18px;
}

.education-plans .banner p:last-child {
  margin-bottom: 0;
}

.education-plans .a-button {
  width: 100%;
  float: initial !important;
  padding-bottom: 15px;
  margin-bottom: 0;
}

.education-plans .violet-button {
  background: #3d3d3d;
  color: white;
  font-size: 18px;
}

.education-plans .violet-button:hover {
  background: #7b7b7b;
}

.book-form {
  background: #f3f3f3;
  float: left;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  width: 100%;
  margin-bottom: 50px;
}

.book-form h2 {
  font-size: 18px !important;
  text-align: center !important;
}

.book-form input[type=text],
.book-form .violet-button {
  float: initial !important;
}

.book-form .wpcf7 form p {
  text-align: center !important;
  width: 100% !important;
}

.my-form .wpcf7-validates-as-tel {
  width: 100%;
  height: 45px;
  border-radius: 100px;
  border: 0;
  padding: 0 20px;
}

.my-form .violet-button {
  width: 100%;
  border-radius: 100px !important;
  border: 0;
}

.my-form.book-form {
  margin-bottom: 30px !important;
}

.my-form.book-form form p {
  display: flex;
  justify-content: center;
  padding: 20px 0 0;
}

.my-form.book-form input[type=tel] {
  height: 45px;
  padding: 0 10px;
  border: 0;
  margin: auto 0 !important;
}

.my-form.book-form .violet-button {
  height: 45px;
  padding: 0 10px;
  border: 0;
  border-radius: 0 100px 100px 0 !important;
  background: #3d3d3d;
  color: white;
  margin: auto 0 !important;
  width: 30% !important;
}

.my-form.book-form .violet-button:hover {
  background: #7b7b7b;
}

.my-form.book-form .wpcf7-not-valid-tip {
  padding-bottom: 10px;
  font-size: 0.8em;
  width: 100%;
}

.master .book-form .wpcf7-form-control-wrap {
  width: initial !important;
  float: initial !important;
}

.switcher {
  float: left;
  margin-bottom: 60px;
}

.switcher .h-hover {
  background: #ad529d !important;
}

.switcher .violet-button {
  width: 100%;
  font-size: 22px !important;
  margin-bottom: 15px !important;
}

.switcher .violet-button:active,
.switcher .violet-button:focus,
.switcher .violet-button:hover,
.switcher .violet-button h-hover {
  background: #ad529d !important;
}

.switcher .info-area {
  min-height: 373px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  border-style: solid;
  border-width: 1px;
  border-color: #6D0659;
  background-color: transparent;
  border-radius: 15px;
  display: table;
  width: 100%;
}

.switcher .h-slide {
  display: none;
  height: 374px;
  vertical-align: middle;
  padding: 20px;
}

.switcher .image-area {
  float: left;
  width: 55%;
}

.switcher .image-area img {
  border-radius: 15px;
  width: 100%;
  height: auto;
  -webkit-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.23);
  -moz-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.23);
  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.23);
}

.switcher .slide-0 {
  display: table-cell;
}

.switcher .content-sep {
  border-top: 2px solid #E1E1E1;
  margin-top: 80px;
  padding-top: 40px;
}

.contacts {
  text-align: center;
  margin-bottom: 60px;
  float: left;
}

.contacts h2 {
  font-size: 23px !important;
  font-weight: normal;
  letter-spacing: 1px;
  text-align: center !important;
}

.contacts .fa,
.contacts .fas {
  color: #6d0659;
  font-size: 55px;
  margin-bottom: 10px;
}

.contacts hr {
  margin-top: 1rem;
  margin-bottom: 0;
  border: 0;
  border-top: 4px solid rgba(1, 0, 0, 0.1);
  margin-left: 35px;
  margin-right: 35px;
}

.contacts b {
  font-size: 15px;
  color: black;
}

.contacts p {
  width: 100%;
  text-align: center !important;
}

.contacts.fix {
  height: 375px;
}

.contacts.fix h2 {
  text-align: left !important;
}

.contacts.fix p {
  float: left;
  text-align: left !important;
}

.party {
  margin-bottom: 60px;
  display: inline-block;
}

.party p {
  font-size: 17px;
  padding-left: 230px;
  color: black;
}

.party img {
  margin-bottom: 20px;
  float: left;
  margin-right: 10px;
  width: 210px;
  height: auto;
}

.party .fab {
  font-size: 22px;
  margin-right: 5px;
  color: #222;
}

.price {
  margin: 50px auto;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 80%;
  min-width: 420px;
  font-family: verdana;
  line-height: 1.3;
}

.price td,
.price th {
  padding: 10px;
  border: 3px solid white;
  background: #EEEEEE;
  text-align: center;
}

.price td:first-child,
.price th:first-child {
  width: 30%;
  background: #e5e5e5;
  color: #666;
}

.price td:nth-child(2),
.price th:nth-child(2) {
  width: 30%;
}

ol>li {
  display: block;
}

ol>li:before {
  counter-increment: item;
  content: counters(item, ".") ". ";
}

ol {
  counter-reset: item;
  padding: 0;
}

ol ol {
  padding-left: 30px;
}

ol ol li {
  font-weight: normal;
}

ol ol ol {
  padding-left: 60px;
}

ol ol ol li {
  font-weight: normal;
}

.not-bold li {
  font-weight: normal;
}

.a-button.text-center button {
  margin: 15px !important;
  margin-top: 0 !important;
  background: #3d3d3d;
  color: #fff;
  font-size: 18px;
}

.a-button.text-center button:hover {
  background: #7b7b7b;
}

h2.h1 {
  text-align: center !important;
  margin: 0 !important;
  font-size: 26px !important;
  margin-bottom: 60px !important;
  font-weight: normal !important;
  color: black !important;
  margin-bottom: 30px !important;
}

#p-footer-mobile {
  display: none;
}

.mobile-extra {
  display: none;
}

.reviews {
  margin-top: 60px;
  background: #f3f3f3;
  padding-top: 30px;
  border-radius: 8px;
  background: url("../img/top-shadow.png") center 0 no-repeat #f3f3f3;
}

.reviews .violet-loader {
  background: url("../img/v-loader.gif") center 0 no-repeat #f3f3f3;
  width: 100px;
  height: 100px;
  background-size: 400%;
  background-position: center;
}

.reviews .violet-button {
  background: transparent;
  color: black;
  border: 2px solid black;
  font-size: 15px;
  font-weight: bold;
  margin: 0 auto;
  margin-bottom: 40px;
  display: none;
}

.reviews h2 {
  margin-bottom: 0;
}

.reviews .review-item {
  padding: 15px;
  width: 100%;
}

.reviews .review-name {
  color: #6b6b6b;
  margin-bottom: 5px;
  font-weight: bold;
}

.reviews .review-value {
  float: left;
}

.reviews .review-value i {
  color: #e74940;
  margin-right: 2px;
  font-size: 12px;
}

.reviews .review-date {
  color: gray;
  font-size: 12px;
  display: inline-block;
  padding-top: 7px;
  margin-left: 10px;
}

.reviews .review-content {
  font-size: 13px;
  margin-top: 10px;
  margin-bottom: 5px;
}

.reviews .review-link {
  font-size: 13px;
  color: black;
}

.reviews .review-link i {
  color: #e74940;
  margin-right: 10px;
  font-size: 16px;
}

.justify-content-center {
  width: 100%;
  text-align: center;
}

.mosaicflow__item {
  padding: 2px;
}

.mosaicflow__item p {
  display: none !important;
}

.mosaicflow {
  margin-left: -17px;
  margin-right: -17px;
}

#swipebox-overlay {
  background: rgba(255, 255, 255, 0.8) !important;
}

#more-40401229235683067 a {
  background: black;
  color: white;
  padding: 10px 30px;
  border-radius: 25px;
  font-size: 14px;
}

#more-40401229235683067 a:hover {
  text-decoration: none;
}

#vk_groups {
  width: 100% !important;
}

#in_instagram iframe {
  margin-bottom: 60px;
}

#in_instagram .title {
  margin-bottom: 30px;
}

#in_instagram .title img {
  width: 40px;
  height: 40px;
  display: inline-block;
  margin-top: -25px;
}

#in_instagram .title h2 {
  display: inline-block;
  margin: 0;
}

#in_instagram .title h2 span {
  padding-top: 20px;
  float: left;
  height: 50px;
  line-height: 2;
}

.e404 #content {
  padding-top: 40px;
  padding-bottom: 100px;
}

.swipebox img {
  border-radius: 5px;
}

input[type=text] {
  font-size: 17px;
  /* padding-left: 10px; */
}

#vk_widget {
  max-width: 100vw;
  overflow: hidden;
}

.animate {
  -o-transform: translate(230px);
  -ms-transform: translate(230px);
  -moz-transform: translate(230px);
  -webkit-transform: translate(230px);
  transform: translate(230px);
}

.post-ratings {
  text-align: center;
  margin-bottom: 20px;
  font-size: 90%;
}

#popup__toggle {
  zoom: 1;
  -ms-zoom: 1;
  bottom: 25px;
  right: -10px;
  position: fixed;
  z-index: 199;
}

#popup__toggle .img-circle {
  background-color: black;
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
}

#popup__toggle .circlephone {
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
  border: 2px solid black;
  width: 150px;
  height: 150px;
  bottom: -25px;
  right: 10px;
  position: absolute;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  opacity: 0.5;
  -webkit-animation: circle-anim 2.4s infinite ease-in-out !important;
  -moz-animation: circle-anim 2.4s infinite ease-in-out !important;
  -ms-animation: circle-anim 2.4s infinite ease-in-out !important;
  -o-animation: circle-anim 2.4s infinite ease-in-out !important;
  animation: circle-anim 2.4s infinite ease-in-out !important;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

#popup__toggle .circle-fill {
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
  background-color: black;
  width: 100px;
  height: 100px;
  bottom: 0px;
  right: 35px;
  position: absolute;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  border: 2px solid transparent;
  -webkit-animation: circle-fill-anim 2.3s infinite ease-in-out;
  -moz-animation: circle-fill-anim 2.3s infinite ease-in-out;
  -ms-animation: circle-fill-anim 2.3s infinite ease-in-out;
  -o-animation: circle-fill-anim 2.3s infinite ease-in-out;
  animation: circle-fill-anim 2.3s infinite ease-in-out;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

#popup__toggle .img-circle {
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
  width: 72px;
  height: 72px;
  bottom: 14px;
  right: 49px;
  position: absolute;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  border: 2px solid transparent;
  opacity: 0.7;
}

#popup__toggle .img-circleblock {
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
  width: 72px;
  height: 72px;
}

#popup__toggle .img-circleblock span {
  color: white;
  font-size: 9px;
  line-height: 1.2;
  display: inline-block;
  margin-top: 25px;
  text-align: center;
  letter-spacing: 0.3px;
}

#popup__toggle .img-circleblock i {
  animation-name: tossing;
  -webkit-animation-name: tossing;
  animation-duration: 1.5s;
  -webkit-animation-duration: 1.5s;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  color: white;
  font-size: 19px;
  text-align: center;
  width: 100%;
  margin-top: 10px;
}

.img-circle:hover {
  opacity: 1;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 1;
  }
}

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(0.95);
    opacity: 1;
  }

  50% {
    -webkit-transform: scale(1);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(0.95);
    opacity: 1;
  }
}

@keyframes tossing {
  0% {
    transform: rotate(-8deg);
  }

  50% {
    transform: rotate(8deg);
  }

  100% {
    transform: rotate(-8deg);
  }
}

@-webkit-keyframes tossing {
  0% {
    -webkit-transform: rotate(-8deg);
  }

  50% {
    -webkit-transform: rotate(8deg);
  }

  100% {
    -webkit-transform: rotate(-8deg);
  }
}

@-moz-keyframes circle-anim {
  0% {
    -moz-transform: rotate(0deg) scale(0.5) skew(1deg);
    opacity: 0.1;
    -moz-opacity: 0.1;
    -webkit-opacity: 0.1;
    -o-opacity: 0.1;
  }

  30% {
    -moz-transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.5;
    -moz-opacity: 0.5;
    -webkit-opacity: 0.5;
    -o-opacity: 0.5;
  }

  100% {
    -moz-transform: rotate(0deg) scale(1) skew(1deg);
    opacity: 0.6;
    -moz-opacity: 0.6;
    -webkit-opacity: 0.6;
    -o-opacity: 0.1;
  }
}

@-webkit-keyframes circle-anim {
  0% {
    -webkit-transform: rotate(0deg) scale(0.5) skew(1deg);
    -webkit-opacity: 0.1;
  }

  30% {
    -webkit-transform: rotate(0deg) scale(0.7) skew(1deg);
    -webkit-opacity: 0.5;
  }

  100% {
    -webkit-transform: rotate(0deg) scale(1) skew(1deg);
    -webkit-opacity: 0.1;
  }
}

@-o-keyframes circle-anim {
  0% {
    -o-transform: rotate(0deg) kscale(0.5) skew(1deg);
    -o-opacity: 0.1;
  }

  30% {
    -o-transform: rotate(0deg) scale(0.7) skew(1deg);
    -o-opacity: 0.5;
  }

  100% {
    -o-transform: rotate(0deg) scale(1) skew(1deg);
    -o-opacity: 0.1;
  }
}

@keyframes circle-anim {
  0% {
    transform: rotate(0deg) scale(0.5) skew(1deg);
    opacity: 0.1;
  }

  30% {
    transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.5;
  }

  100% {
    transform: rotate(0deg) scale(1) skew(1deg);
    opacity: 0.1;
  }
}

@-moz-keyframes circle-fill-anim {
  0% {
    -moz-transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.2;
  }

  50% {
    -moz-transform: rotate(0deg) -moz-scale(1) skew(1deg);
    opacity: 0.2;
  }

  100% {
    -moz-transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.2;
  }
}

@-webkit-keyframes circle-fill-anim {
  0% {
    -webkit-transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.2;
  }

  50% {
    -webkit-transform: rotate(0deg) scale(1) skew(1deg);
    opacity: 0.2;
  }

  100% {
    -webkit-transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.2;
  }
}

@-o-keyframes circle-fill-anim {
  0% {
    -o-transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.2;
  }

  50% {
    -o-transform: rotate(0deg) scale(1) skew(1deg);
    opacity: 0.2;
  }

  100% {
    -o-transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.2;
  }
}

@keyframes circle-fill-anim {
  0% {
    transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.2;
  }

  50% {
    transform: rotate(0deg) scale(1) skew(1deg);
    opacity: 0.2;
  }

  100% {
    transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.2;
  }
}

.swipebox-html body {
  pointer-events: none;
}

.swipebox-html body #swipebox-overlay {
  pointer-events: initial;
}

.image--hover-effect {
  position: relative;
}

.image--hover-effect:before {
  content: '';
  background-image: linear-gradient(to left, transparent, transparent 50%, rgba(107, 15, 92, 0.3) 50%, rgba(107, 15, 92, 0.3));
  width: 100%;
  height: calc(100% + 1px);
  background-position: 100% 0;
  background-size: 200% 100%;
  transition: all 0.15s ease-in;
  background-image: linear-gradient(to left, transparent, transparent 50%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.3));
}

.image--hover-effect:active:before,
.image--hover-effect:focus:before,
.image--hover-effect:hover:before {
  content: '';
  background-position: 0 0;
  color: #333;
}

.news-list-section {
  padding-top: 60px;
  padding-bottom: 60px;
  width: 100%;
  max-width: 100%;
}

@media screen and (max-width: 640px) {
  .news-list-section {
    margin-top: 15px;
  }

  /* марджин был слишком большим, решили уменьшить, июнь 22, гук
  .news-list-section.__page-section {
    margin-top: 80px;
  }
*/
}

.news-list-block .more-link {
  display: block;
  text-align: center;
  color: black;
  font-size: 12px;
}

.news-list-block .more-link:active,
.news-list-block .more-link:focus {
  text-decoration: underline;
}

.news-list {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 40px;
  width: 100%;
}

.news-list.long-list {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  padding-left: 15px;
  padding-right: 15px;
  width: 100% !important;
}

.news-list-block__header h1 {
  font-size: 26px;
  margin-bottom: 30px;
  color: black;
}

.news-list-block__header label {
  font-weight: bold;
  font-size: 14px;
}

.news-list-block__header ul {
  padding-left: 0;
  margin-bottom: 40px;
}

.news-list-block__header li {
  display: inline-block;
  background: #efefef;
  color: white;
  padding: 0px 10px;
  border-radius: 10px;
  margin-right: 10px;
  margin-bottom: 5px;
}

.news-list-block__header li a {
  font-size: 14px;
}

.news-list-block__header li.active {
  background: #6a6a6a;
}

.news-list-block__header li.active a {
  color: white;
}


.news-list__item {
  text-decoration: none;
}

.news-list__item:hover {
  text-decoration: none;
}

.news-list__item-image {
  background-color: #efefef;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  margin-bottom: 10px;
  max-height: 220px;
  overflow: hidden;
}

.news-list__item-image:before {
  content: '';
  display: block;
  padding: 50%;
  width: 100%;
}

.news-list__item-image.big-height {
  max-height: 340px;
}

.news-list__item-date {
  font-size: 10px;
  color: #414141;
  margin-bottom: 12px;
}

.news-list__item-title {
  font-family: arial;
  font-weight: 600;
  margin-bottom: 22px;
  color: #000000;
}

.news-list__item-title:active,
.news-list__item-title:focus,
.news-list__item-title:hover {
  text-decoration: underline;
}

.news-list__item-anounce {
  line-height: 1.2;
  color: #333;
  padding-bottom: 20px;
}

.news-list__item-anounce,
.news-list__item-anounce p {
  font-size: 13px;
  text-align: justify;
}

@media screen and (max-width: 780px) {
  .news-list {
    padding-left: 15px;
    padding-right: 15px;
    grid-gap: 15px;
    grid-row-gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
  }

  .news-list.long-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .news-list.news-list--max-3 .news-list__item:nth-of-type(3n+1) {
    grid-column-start: 1;
    grid-column-end: 3;
  }

  .news-list__item-image {
    margin-bottom: 7px;
    max-height: 220px;
  }

  .news-list__item-image:before {
    content: '';
    padding: 30%;
  }

  .news-list__item-date {
    margin-bottom: 8px;
  }

  .news-list__item-title {
    margin-bottom: 7px;
  }

  .news-list__item-anounce {
    font-size: 13px;
  }
}

@media screen and (max-width: 640px) {
  .news-list {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .news-list.long-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .news-list.news-list--max-3 .news-list__item:nth-of-type(3n+1) {
    grid-column-start: 1;
    grid-column-end: 3;
  }
}

@media screen and (max-width: 450px) {
  .news-list {
    grid-gap: 30px;
    grid-template-columns: repeat(1, 1fr);
  }

  .news-list.news-list--max-3 .news-list__item:nth-of-type(3n+1) {
    grid-column-start: initial;
    grid-column-end: initial;
  }

  .news-list__item-image {
    margin-bottom: 3px;
  }

  .news-list__item-date {
    margin-bottom: 3px;
  }

  .news-list__item-title {
    margin-bottom: 3px;
  }

  .news-list__item-title h3 {
    margin-bottom: 0;
  }
}

.share>span {
  vertical-align: bottom;
}

.share ul {
  padding-left: 5px;
}

.share li {
  margin-bottom: 0 !important;
}

.pagination {
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.5rem;
  border-top: 1px solid #6b105cad;
  border-radius: 0;
  width: 60%;
  margin: 30px auto;
  padding-top: 20px;
}

.pagination a {
  margin: 0 5px;
}

@media screen and (max-width: 640px) {
  .pagination {
    width: 85%;
  }
}

@media screen and (max-width: 450px) {
  .pagination {
    width: 100%;
    border-top: 0 solid transparent;
    margin: 20px auto;
    padding-top: 0;
    font-size: 1.2rem;
  }
}

.carousel-section {
  margin-bottom: 50px;
}

.teachers-carousel .carousel-hidden {
  display: none;
}

.teachers-carousel .item {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.teachers-carousel .item .col-left {
  flex: 1;
  flex-basis: 50%;
}

.teachers-carousel .item .col-right {
  flex: 1;
  flex-basis: 50%;
}

.teachers-carousel .item .img {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top;
  min-height: 400px;
}

.teachers-carousel .item .img img {
  display: none;
  opacity: 0;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.teachers-carousel .item .content {
  color: #333;
  background: 00;
  padding: 1rem 0;
}

.teachers-carousel .item .title {
  font-size: 24px;
  font-family: 'arial';
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.teachers-carousel .item .title a {
  color: #333;
}

.teachers-carousel .item .title a:hover,
.teachers-carousel .item .title a:focus,
.teachers-carousel .item .title a:active {
  text-decoration: underline;
}

.teachers-carousel .item .legend {
  font-size: 16px;
  font-style: italic;
}

.teachers-carousel .item .text {
  margin-top: 20px;
  font-size: 14px;
}

.teachers-carousel .item .text br+br {
  display: none;
}

.teachers-carousel .item .text p,
.teachers-carousel .item .text ul,
.teachers-carousel .item .text ol,
.teachers-carousel .item .text li,
.teachers-carousel .item .text a {
  color: #333;
  font-size: 14px;
}

.teachers-carousel .item .text a {
  text-decoration: underline;
}

.teachers-carousel .item .text b,
.teachers-carousel .item .text strong {
  font-family: 'arial';
  font-weight: inherit;
}

.teachers-carousel .item .more-link {
  display: inline-block;
  font-size: 14px;
  background: #3d3d3d;
  color: white;
  padding: 6px 30px;
  border-radius: 20px;
  text-decoration: none;
  font-family: 'arial';
  font-weight: 600;
  margin-top: 1rem;
}

.teachers-carousel .item .more-link:active,
.teachers-carousel .item .more-link:focus,
.teachers-carousel .item .more-link:hover {
  background: #7b7b7b;
}

.teachers-carousel .owl-prev,
.teachers-carousel .owl-next {
  position: absolute;
  top: 40%;
  display: block;
  width: 60px;
  height: 60px;
}

.teachers-carousel .owl-prev span,
.teachers-carousel .owl-next span {
  font-size: 0;
}

.teachers-carousel .owl-prev:hover,
.teachers-carousel .owl-next:hover {
  opacity: 0.85;
}

.teachers-carousel .owl-prev {
  background: url(../img/arr-left.png) center no-repeat;
  background-size: contain;
  left: 5px;
}

.teachers-carousel .owl-next {
  background: url(../img/arr-right.png) center no-repeat;
  background-size: contain;
  right: 5px;
}

@media screen and (max-width: 1199px) {
  .teachers-carousel .item .img {
    min-height: 500px;
  }
}

@media screen and (min-width: 881px) and (max-width: 980px) {

  /*
	.teachers-carousel .item {
    background-image: linear-gradient(to right, #6f0a5b, #48033a);
  }
  .teachers-carousel .item .col-left {
    flex-basis: 40%;
  }
  .teachers-carousel .item .col-right {
    flex-basis: 60%;
  }
    */
  .teachers-carousel .item .img {
    min-height: 500px;
    background-size: 0;
    /* background-color: #6e0a5a; */
  }

  .teachers-carousel .item .img img {
    display: block;
    opacity: 1;
  }
}

@media screen and (max-width: 880px) {
  .teachers-carousel .item .img {
    min-height: initial;
  }
}

@media screen and (max-width: 640px),
screen and (max-width: 880px) {
  .teachers-carousel .item {
    display: flex;
    flex-direction: column;
  }

  .teachers-carousel .item .img {
    min-height: initial;
    width: 100%;
    background-size: contain;
  }

  .teachers-carousel .item .img img {
    display: block;
  }

  .teachers-carousel .item .content {
    background: none;
    padding: 1rem 0;
  }

  .teachers-carousel .item .content ul {
    list-style-type: none;
  }

  .teachers-carousel .item .title {
    font-size: 18px;
  }

  .teachers-carousel .item .legend {
    font-size: 14px;
    line-height: 1.3;
    margin-top: 10px;
  }

  .teachers-carousel .item .text {
    margin-top: 15px;
    font-size: 13px;
  }

  .teachers-carousel .item .text p,
  .teachers-carousel .item .text ul,
  .teachers-carousel .item .text ol,
  .teachers-carousel .item .text li,
  .teachers-carousel .item .text a {
    font-size: 13px;
    padding: 0;
  }

  .teachers-carousel .item .more-link {
    font-size: 13px;
  }

  .teachers-carousel .owl-stage {
    background: #fff;
  }

  .teachers-carousel .owl-prev,
  .teachers-carousel .owl-next {
    top: 30%;
    width: 42px;
    height: 42px;
  }
}

@media screen and (max-width: 450px) {
  .teachers-carousel .item .img {
    width: 100%;
    padding: 15px;
    margin: 0;
    background: none !important;
  }

  .teachers-carousel .item .img img {
    display: block;
    opacity: 1;
  }

  .teachers-carousel .item .content {
    padding: 11px 50px 15px 15px;
  }

  .teachers-carousel .owl-prev {
    display: none;
  }
}

.vkphotogallery div {
  display: inline-block !important;
  float: initial !important;
}

.post-170 .content-container {
  text-align: center;
}

@media screen and (max-height: 740px) {
  .modal {
    top: 5%;
  }
}

a.offers-list__item {
  margin-bottom: 30px;
  display: block;
}

a.offers-list__item img {
  width: 100%;
}

.about-ajax {
  margin-top: 30px;
}

.about-ajax h3 {
  width: 100%;
}

.about-ajax #yellrank {
  margin-bottom: 10px;
}

.about-ajax .wpac {
  margin-top: 30px !important;
}

#mec_skin_1478 {
  display: none;
}

.owl-dots {
  text-align: center;
  margin-top: 10px;
}

.owl-dots .owl-dot {
  width: 5px;
  height: 5px;
  margin-left: 3px;
  margin-right: 3px;
  background: gray;
}

.owl-dots .owl-dot.active {
  background: #000;
}

.single-offers .single-article-image img {
  margin-bottom: 20px;
  height: auto;
  width: 100%;
}

@media (max-width: 1199px) {
  #single-post .information .info-h2 {
    font-size: 17px;
  }

  #single-post .information .item-row.h2 ul {
    padding-left: 15px;
  }

  #single-post .wpcf7-form-control-wrap {
    width: 100%;
  }


  #single-post .information .my-form .violet-button {
    padding: 10px 20px;
    height: 40px;
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
    margin-top: 10px;
    float: left;
  }

  .instagram-conainer iframe {
    height: 300px !important;
  }
}

@media screen and (max-width: 960px) {
  #mec_skin_1478 {
    display: block;
  }

  #mec_skin_events_1489 {
    display: none;
  }
}

@media screen and (max-width: 900px) {
  .col-sm-offer {
    flex: 100%;
    max-width: 100%;
    height: auto;
  }

  .instagram-conainer iframe {
    height: 260px !important;
  }
}

@media screen and (max-width: 800px) {
  .advantages.additional {
    margin-bottom: 40px;
  }

  #single-post {
    padding-bottom: 40px;
  }

  #single-post input[type=text] {
    font-size: 18px;
    padding: 5px;
  }
}

@media screen and (max-width: 800px) {
  .advantages .item-additional {
    padding-left: 15px;
    padding-right: 15px;
    width: 50%;
  }
}

@media screen and (max-width: 768px) {
  .instagram-conainer iframe {
    height: 200px !important;
  }
}

@media (min-width: 641px) and (max-width: 1199px) {
  header address {
    font-size: 90%;
  }

  header .link a {
    font-size: 80%;
  }

  header .menu li {
    padding: 3px;
  }

  header .menu li a {
    letter-spacing: 0.25px;
    font-size: 80%;
  }

  header .fixed-menu {
    width: 100%;
    left: 15px;
    padding-top: 14px;
  }

  #slider-header {
    margin-bottom: 30px;
    height: 390px;
  }

  #slider-header .slides li {
    background-size: cover;
  }

  .advantages p {
    font-size: 13px;
    line-height: 1.1;
  }

  .advantages .item-additional {
    padding-left: 10px;
    padding-right: 10px;
    width: 25%;
  }

  #request-callback .desc .agreement {
    width: 50%;
    text-align: left;
  }

  #feedback {
    margin-bottom: 30px;
  }

  #slider-offers .slides {
    position: relative;
    min-height: 200px;
    padding-top: 30%;
  }

  #slider-offers .slides li {
    top: 0;
    left: 0;
  }

  .categories-nav a {
    padding: 5px 0px;
  }

  #single-post p,
  #single-post li {
    line-height: 1.3;
  }

  #single-post .banner-single .banner-advantages {
    position: static;
  }

  #single-post .information a:focus,
  #single-post .information a:active {
    text-decoration: none;
    color: #000;
  }

  #p-footer address {
    overflow: hidden;
  }

  #p-footer address a {
    overflow: hidden;
  }

  #p-footer .socials>a img {
    font-size: 14px;
    width: 30px;
  }

  .education-plans {
    margin-top: 30px;
  }

  .education-plans .banner {
    width: calc(33% - 30px);
  }

  .education-plans .banner .banner-subtitle {
    font-size: 16px;
  }

  .education-plans .banner .a-button.text-center button {
    margin: 0px !important;
    padding: 10px 25px;
  }

  .education-plans .banner p:last-child {
    margin-bottom: 0;
  }

  .education-plans .banner .banner-content {
    min-height: 100px;
  }

  .party {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 70%;
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
    max-width: 70%;
  }

  /*-----------------max width 1199-------------------------*/
}

@media (min-width: 641px) and (max-width: 991px) {
  header address {
    font-size: 14px;
  }

  header .header-phone .fa {
    margin-right: 10px;
  }

  header .socials a {
    font-size: 24px;
  }

  header .not-fixed-menu #left-part-menu {
    width: 80%;
    position: relative;
    padding-top: 4px !important;
    padding-bottom: 7px !important;
    padding-left: 24px !important;
  }

  header .not-fixed-menu #left-part-menu>li:first-child {
    position: absolute;
    left: 0;
    top: 0;
  }

  header .not-fixed-menu #left-part-menu>li:not(:first-child) {
    float: left;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0 5px;
    line-height: 1.1;
    vertical-align: bottom;
  }

  header .not-fixed-menu #left-part-menu>li:not(:first-child)>a {
    vertical-align: bottom;
    padding-bottom: 0;
  }

  header .not-fixed-menu #right-part-menu {
    width: 80%;
    line-height: 12px;
  }

  header .not-fixed-menu #right-part-menu>li {
    padding-bottom: 0;
  }

  header .header-b-top-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  header .header-b-top-right .header__elem {
    position: static;
    float: right;
    clear: right;
    margin-bottom: 5px;
  }

  header .header-b-top-right .header__elem a {
    padding: 0;
  }

  header .header-b-top-right .header__elem:nth-child(2) {
    order: 3;
    margin-bottom: 4px;
    padding: 4px 10px;
  }

  header .dance-shop.header__elem {
    background: none;
    margin: 0;
    padding-right: 0 !important;
    font-size: 13px;
    text-decoration: underline;
  }

  header .header-b-top-right .header__elem:nth-child(3) {
    order: 1;
  }

  #slider-header .slider-content {
    top: 17%;
  }

  #request-callback h3 {
    font-size: 44px;
  }

  #request-callback .desc p {
    font-size: 22px;
  }

  #request-callback .col-left {
    width: calc(100% - 270px - 30px);
  }

  #request-callback .col-right {
    width: 270px;
  }

  #single-post h2.legend {
    margin-bottom: 30px;
  }

  #single-post .banner-single .banner-advantages {
    flex: 0 0 50%;
    max-width: 50%;
  }

  #single-post .information .left-column {
    padding-right: 30px;
    padding-top: 30px;
    padding-bottom: 30px;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 50%;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  #single-post .information .right-column {
    padding: 30px;
    padding-top: 30px;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 50%;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  #single-post .post-image.post-image__img {
    display: none;
  }

  #single-post .post-image.post-image__content {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 23px;
  }

  #single-post .post-image .post-image__img-float {
    display: block;
    float: left;
    width: 30%;
    margin: 0 25px 15px 0;
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.23);
    border-radius: 15px;
  }

  #feedback .item {
    padding-left: 10px;
    padding-right: 10px;
  }

  #feedback .wrap img {
    width: 100%;
  }

  #feedback .button {
    padding: 8px 8px;
  }

  .price {
    width: 100%;
    font-size: 90%;
  }

  .education-plans {
    margin-top: 0;
  }

  .education-plans .banner {
    width: calc(49% - 30px);
    margin: 10px;
  }

  .education-plans .banner .a-button.text-center button {
    font-size: 19px;
    padding: 10px 15px;
  }

  .education-plans .banner p:last-child {
    margin-bottom: 0;
  }

  .education-plans .banner .banner-content {
    min-height: 120px;
  }

  .education-plans .banner .banner-subtitle {
    width: 100%;
    display: block;
    line-height: 49px;
  }

  /* --------------/max width 991--------------------- */
}

@media (max-width: 880px) {
  .fixed-mobile-menu {
    display: block;
    height: 58px;
    position: fixed !important;
    top: 0;
    background: white;
    width: 100%;
  }

  .fixed-mobile-menu a.branch {
    float: left;
    font-size: 16px;
    line-height: 0;
    display: block;
    clear: both;
    margin: 0;
    line-height: 1;
    margin-top: 6px;
    margin-left: 40px;
    margin-top: -6px;
    margin-bottom: 8px;
    padding-left: 10px;
  }

  .fixed-mobile-menu a.branch.active {
    background: #efefef;
    padding: 5px 10px;
    border-radius: 50px;
  }

  .fixed-mobile-menu .social {
    position: absolute;
    right: 15px;
  }

  .fixed-mobile-menu .social i {
    font-size: 23px;
    margin-right: 2px;
  }

  .fixed-mobile-menu .social i.mec-fa-vk {
    font-size: 29px;
    line-height: 0;
  }

  .fixed-mobile-menu .mobile-menu-button {
    padding-right: 6px;
    position: absolute;
    padding: 10px;
    left: 0;
    top: 0;
    z-index: 10000000000000;
  }

  .fixed-mobile-menu .mobile-menu-button i {
    width: initial;
    font-size: 38px;
  }
}

@media (min-width: 641px) and (max-width: 880px) {
  body {
    padding-top: 62px;
  }

  .desktop-menu {
    display: none;
  }

  #fixed-offer-title {
    width: 200px;
    top: 312px;
    right: 280px;
    padding: 1px;
    padding-top: 25px;
    font-size: 16px;
  }

  #left-vertical-menu {
    display: block;
    transition: 0.5s linear;
    width: 220px;
    position: fixed;
    left: -245px;
    top: 50px;
    height: 510px;
    z-index: 100;
    background: #fff;
    -webkit-box-shadow: 10px 12px 5px -7px rgba(0, 0, 0, 0.13);
    -moz-box-shadow: 10px 12px 5px -7px rgba(0, 0, 0, 0.13);
    box-shadow: 10px 12px 5px -7px rgba(0, 0, 0, 0.13);
    border-bottom-right-radius: 21px;
    padding: 0;
    margin: 0;
  }

  #left-vertical-menu .close {
    padding-right: 10px;
    margin-top: 15px;
    font-size: 160%;
    opacity: 0.6;
  }

  #left-vertical-menu ul {
    padding-left: 0;
    margin-bottom: 0;
  }

  #left-vertical-menu li {
    list-style-type: none;
    font-size: 14px;
    border-bottom: 1px solid #ececec;
  }

  #left-vertical-menu li:first-child {
    border-top: 1px solid #ececec;
  }

  #left-vertical-menu li:last-child {
    border-bottom: 0;
  }

  #left-vertical-menu li a {
    padding: 7px 15px 7px 40px;
    width: 100%;
    display: block;
    line-height: 1.3;
  }

  #left-vertical-menu li a:focus,
  #left-vertical-menu li a:active {
    color: #000;
  }

  #left-vertical-menu .logo {
    width: 200px;
    padding: 15px;
  }

  #left-vertical-menu .logo img {
    width: 60%;
    margin-left: 25px;
    margin-top: 10px;
  }

  #slider-header {
    margin-top: 15px;
    margin-bottom: 15px;
    height: 390px;
  }

  #slider-header .slider-content {
    top: 12%;
  }

  #schedule .back {
    min-height: 285px;
  }

  #schedule .violet-button {
    margin-top: 30px;
    margin-bottom: 25px;
  }

  #advantages {
    margin-top: 0;
  }

  #advantages .advantages {
    text-align: center;
  }

  #advantages .advantages .item-full {
    vertical-align: top;
    float: none;
    width: 30%;
    font-size: 0;
    display: inline-block;
  }

  #request-callback h3 {
    font-size: 36px;
  }

  #request-callback .desc p {
    font-size: 18px;
  }

  #request-callback .desc .agreement {
    width: 40%;
    font-size: 11px;
  }

  #request-callback .col-left {
    width: calc(100% - 220px - 30px);
  }

  #request-callback .col-right {
    width: 220px;
  }

  .col-sm-4.categories-nav__item {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 50%;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  #single-post .banner-single .banner-advantages {
    flex: 0 0 100%;
    max-width: 100%;
    background: rgba(109, 6, 89, 0.5);
    padding: 25px;
  }

  #single-post .information .left-column {
    padding-right: 30px;
    padding-top: 30px;
    padding-bottom: 15px;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  #single-post .information .right-column {
    padding: 15px;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  #single-post .information .right-column iframe {
    margin-bottom: 0;
  }

  #single-post .information .item-row {
    width: 50%;
    margin-bottom: 15px;
  }

  #single-post .information .item-row:first-child {
    padding-right: 15px;
  }

  #single-post .information .info-h2.book-lesson {
    border-bottom: 0px solid #c7a0c1;
  }

  #single-post .information .teachers {
    margin: 0;
  }

  #single-post .post-image .post-image__img-float {
    width: 45%;
  }

  #single-post .item-50 {
    width: 100%;
  }

  .party {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 90%;
    -ms-flex: 0 0 90%;
    flex: 0 0 90%;
    max-width: 90%;
    margin-bottom: 30px;
  }

  .party br+br {
    display: none;
  }

  /* ---------------/max width 880----------------------- */
}

#p-footer-mobile .socials {
  width: 100%;
  margin-top: 10px;
  float: initial;
  margin-top: 15px;
}

#p-footer-mobile .socials a {
  font-size: 25px !important;
}

@media (min-width: 641px) and (max-width: 740px) {
  .price {
    font-size: 84%;
  }

  .price td,
  .price th {
    padding: 10px 6px;
  }

  #p-footer {
    display: none;
  }

  #p-footer-mobile {
    width: 100%;
    display: table;
    padding-top: 30px;
    padding-bottom: 10px;
    border-style: solid;
    border-color: #e4d0e1;
    border-width: 2px 0px 0px;
  }

  #p-footer-mobile .directions {
    padding: 30px 0;
  }

  #p-footer-mobile .col-sm-6 {
    width: 50% !important;
  }

  #p-footer-mobile .container {
    line-height: 1.2;
  }

  #p-footer-mobile .logo {
    width: 25%;
    padding-left: 15px;
    padding-right: 10px;
    padding-top: 10px;
  }

  #p-footer-mobile p {
    font-size: initial !important;
  }

  #p-footer-mobile address i {
    float: left;
  }

  #p-footer-mobile address a {
    display: inline-block;
    width: 90%;
  }

  #p-footer-mobile .info {
    width: 75%;
    margin-top: 10px;
  }

  #p-footer-mobile .info i {
    color: black;
    margin-right: 5px;
  }

  #p-footer-mobile .info p {
    margin: 0;
    display: inline-block;
    margin-right: 10px;
  }

  #p-footer-mobile .agreement {
    display: none;
  }

  #p-footer-mobile [type=email] {
    font-size: 15px;
  }

  #p-footer-mobile .subscribe ins {
    font-size: 15px !important;
  }

  #p-footer-mobile .wpcf7-mail-sent-ok,
  #p-footer-mobile div.wpcf7-validation-errors,
  #p-footer-mobile div.wpcf7-acceptance-missing,
  #p-footer-mobile span.wpcf7-not-valid-tip {
    font-size: 0.75em !important;
  }

  #p-footer-mobile a:focus,
  #p-footer-mobile a:active {
    text-decoration: underline;
  }

  .education-plans .banner {
    width: 100%;
    margin: 10px 0;
  }

  .education-plans .banner .banner-content {
    min-height: 0;
  }

  .party {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* ----------------/max width 740---------------------- */
}

@media screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 640px),
screen and (max-width: 640px) {
  .my-form.book-form form p {
    flex-wrap: wrap;
  }

  .my-form.book-form input[type=tel] {
    width: 100%;
    margin-bottom: 10px !important;
    border-radius: 100px;
  }

  .my-form.book-form .violet-button {
    border-radius: 100px !important;
    width: 100% !important;
  }

  .advantages .item-full img {
    width: 60%;
  }

  #breadcrumb {
    display: none;
  }

  #single-post {
    padding-left: 0;
    padding-right: 0;
  }

  #single-post p,
  #single-post li {
    line-height: 1.3em;
  }

  #single-post h2.book-lesson {
    height: auto !important;
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  #single-post h3 {
    border-left: 0 solid #fff;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 1;
    height: auto !important;
    margin-bottom: 20px;
    padding-left: 0 !important;
    min-height: initial;
    padding-left: initial !important;
    margin-top: 20px;
  }

  #single-post .schedule {
    margin-bottom: 20px;
  }

  #single-post .post-image img {
    border-radius: 20px;
  }

  #single-post .book-form input[type=text] {
    max-width: 200px !important;
    padding: 10px !important;
  }

  #single-post .book-form .violet-button {
    margin: 0 !important;
  }

  #single-post .banner-single .banner-advantages {
    flex: 0 0 47%;
    max-width: 47%;
    padding: 15px;
    padding-right: 10px;
  }

  #single-post .banner-single .banner-advantages h2 {
    font-size: 19px;
    margin-bottom: 10px;
  }

  #single-post .banner-single .banner-advantages ul {
    padding: 0;
  }

  #single-post .banner-single .banner-advantages ul li {
    padding-bottom: 10px;
    font-size: 12px;
    margin-bottom: 0;
    line-height: 1.3;
  }

  #single-post .information {
    border-radius: 0;
  }

  #single-post .information .left-column,
  #single-post .information .right-column {
    flex: 100%;
    max-width: 100%;
    padding: 0;
  }

  #single-post .information .item-row {
    margin-bottom: 0;
    width: 49%;
    float: left;
    padding: 15px;
    font-size: 90%;
  }

  #single-post .information .item-row.h2 {
    padding-left: 75px;
  }

  #single-post .information .item-row .subtext {
    line-height: 1.1;
    margin-bottom: 0;
  }

  #single-post .information .item-row:last-child {
    width: 100%;
    padding-top: 0;
  }

  #single-post .information iframe {
    margin-bottom: 20px;
  }

  #single-post .information iframe:last-child {
    margin: 0;
  }

  #single-post .information a:focus,
  #single-post .information a:active {
    text-decoration: none;
    color: #000;
  }

  #single-post .content {
    margin: 0;
  }

  #single-post input[type=text] {
    max-width: 150px;
    font-size: 15px;
  }

  #single-post .violet-button {
    padding: 7px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 15px;
  }

  #single-post .advantages {
    height: initial;
  }

  #single-post h1,
  #single-post h2.legend {
    font-size: 20px;
    padding: 15px 0 0;
  }

  #single-post ul {
    padding-right: 0;
  }

  #single-post .post-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  #single-post .teachers li {
    list-style-type: none;
    font-size: 1em;
    font-weight: bold;
    font-weight: 100;
  }

  #single-post h3 :before {
    font-weight: bold;
  }

  #single-post h4 {
    font-size: 18px;
    line-height: 1.3;
  }

  #single-post h5 {
    margin-top: -25px;
  }

  #single-post iframe {
    width: 100%;
  }

  #single-post .a-button {
    text-align: center;
  }

  #single-post .item-short {
    width: 100%;
    margin-bottom: 50px;
  }

  #single-post .item-short img {
    width: 25%;
  }

  #single-post .single-right-column ul li {
    font-weight: bold;
    font-size: 16px;
  }

  #single-post .single-right-column h2 {
    font-size: 18px;
  }

  #single-post .categories-nav .col-sm-4 {
    width: 50% !important;
    max-width: 50% !important;
    min-width: 50% !important;
    margin-bottom: 40px;
  }

  #single-post .categories-nav .col-sm-4 a {
    background: white;
    margin-bottom: 0;
    padding: 0;
  }

  #single-post .categories-nav .col-sm-4 a img {
    width: 100%;
    max-width: 150px;
    display: inline-block;
    border-radius: 150px;
  }

  #single-post .categories-nav .col-sm-4 a:focus .chapter-block-title,
  #single-post .categories-nav .col-sm-4 a:active .chapter-block-title,
  #single-post .categories-nav .col-sm-4 a:focus .chapter-block-title span,
  #single-post .categories-nav .col-sm-4 a:active .chapter-block-title span {
    text-decoration: underline;
    color: #333;
  }

  #single-post .categories-nav .col-sm-4 a:focus img,
  #single-post .categories-nav .col-sm-4 a:active img {
    border: 3px solid #333;
  }

  #single-post .categories-nav .chapter-block-text {
    display: none;
  }

  #single-post .categories-nav .chapter-block-title {
    line-height: 1.2;
    background: white;
    margin-top: 0;
    padding: 0;
    font-size: 15px;
    min-height: initial;
    color: black;
    font-weight: bold;
  }

  #single-post .categories-nav span {
    display: inline-block;
  }

  #single-post .categories-nav .read-more {
    display: none !important;
  }

  #single-post .party {
    text-align: center;
  }

  #single-post .party p {
    font-size: 17px;
    padding: 0;
    display: block;
    float: left;
    text-align: center !important;
    width: 100%;
  }

  #single-post .party img {
    float: initial;
  }

  #single-post .switcher {
    float: left;
    margin-bottom: 60px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    padding: 0;
  }

  #single-post .switcher .image-area {
    width: 100%;
  }

  #single-post .switcher .banner {
    width: 100%;
    margin-top: 20px;
  }

  #single-post .switcher .banner .violet-button {
    width: 90%;
    margin: 0;
    margin-left: 5% !important;
  }

  #single-post .switch-button.violet-button {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #single-post .post-184 .violet-button,
  #single-post .post-168 .violet-button {
    margin-top: 20px !important;
    width: 80% !important;
    margin-left: 10% !important;
    margin-right: 10% !important;
  }
}

@media (max-width: 755px) {
  #single-post .item-row .wpcf7 form .violet-button {
    border-radius: 5px;
    padding: 10px;
    padding: 10px 16px !important;
    height: auto;
    margin-top: 10px;
  }

  #single-post .item-row .wpcf7 form .wpcf7-form-control-wrap {
    width: 100%;
  }

}

@media (max-width: 576px) {
  #single-post input[type=text] {
    max-width: 100%;
    font-size: 17px;
    border-radius: 5px;
  }

  #single-post .information div.wpcf7-response-output,
  .custom-response div.wpcf7-response-output {
    margin-top: 10px !important;
  }

  #single-post .information .item-row {
    padding-left: 10px;
    padding-right: 10px;
  }

  #single-post #about-section iframe {
    margin-top: 20px;
  }

  #single-post .violet-button {
    margin-top: 10px;
    float: left;
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 400px),
screen and (max-width: 490px) {
  #single-post .banner-single .banner-advantages {
    flex: 0 0 55%;
    max-width: 56%;
    padding: 15px;
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 400px),
screen and (max-width: 400px) {
  #single-post .teachers {
    height: initial;
  }
}

@media (max-width: 400px) {
  #single-post .banner-single {
    min-height: 249px;
  }

  #single-post .banner-single img {
    position: relative;
    width: 100%;
    height: auto;
  }

  #single-post .banner-single .banner-advantages {
    flex: 100%;
    max-width: 100%;
    position: relative;
    border-top: 2px solid #5f1751;
    margin-top: -2px;
  }

  #single-post .teachers {
    margin-bottom: 0;
  }

  #single-post .wpcf7 form p {
    margin-bottom: 0;
  }


  #single-post .item-row .wpcf7 form .subtext {
    margin-top: 10px;
  }

  #single-post .book-form {
    border-radius: 5px;
    width: 100%;
  }

  #single-post .book-form input[type=submit] {
    margin-top: 0 !important;
    padding: 0;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 5px;
  }

  #single-post .ajax-loader {
    display: block;
    margin: 0 auto;
    margin-top: 5px;
  }

  #single-post .wpcf7-form-control-wrap {
    width: 50%;
    float: initial;
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 768px),
screen and (max-width: 768px) {

  #p-footer-mobile .logo a,
  #p-footer-mobile .logo img {
    width: 100%;
  }

  #p-footer-mobile {
    width: 100%;
    display: table;
    padding-top: 30px;
    padding-bottom: 10px;
    border-style: solid;
    border-color: #333;
    border-width: 2px 0px 0px;
  }

  #p-footer-mobile .directions {
    padding: 30px 0;
  }

  #p-footer-mobile .col-sm-6 {
    width: 50% !important;
  }

  #p-footer-mobile .container {
    line-height: 1.2;
  }

  #p-footer-mobile .logo {
    width: 100px;
    margin: 0 auto;
  }

  #p-footer-mobile p {
    font-size: initial !important;
  }

  #p-footer-mobile .info {
    text-align: center;
    width: 100%;
    margin-top: 20px;
  }

  #p-footer-mobile .info i {
    color: black;
    margin-right: 5px;
    font-size: 0.9em;
  }

  #p-footer-mobile .info p {
    margin: 0;
    display: inline-block;
    margin-right: 10px;
  }

  #p-footer-mobile .agreement {
    display: none;
  }

  #p-footer-mobile [type=email] {
    font-size: 0.9em;
  }

  #p-footer-mobile .subscribe ins {
    font-size: 0.9em !important;
  }

  #p-footer-mobile .wpcf7-mail-sent-ok,
  #p-footer-mobile div.wpcf7-validation-errors,
  #p-footer-mobile div.wpcf7-acceptance-missing,
  #p-footer-mobile span.wpcf7-not-valid-tip {
    font-size: 0.75em !important;
  }

  #p-footer-mobile a:focus,
  #p-footer-mobile a:active {
    text-decoration: underline;
  }

}

@media screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 640px),
screen and (max-width: 640px) {
  .advantages .item-additional {
    padding-left: 7px;
    padding-right: 7px;
  }

  .advantages .item-additional h2 {
    font-size: 14px !important;
    font-weight: bold !important;
  }

  .advantages .item-additional:last-child img {
    width: 70%;
    margin-top: 0px;
  }

  #breadcrumb {
    top: 60px;
    position: relative;
    font-size: 80%;
  }

  .breadcrumb li:after {
    padding-left: 4px;
    padding-right: 4px;
  }

  #alert {
    padding: 5% 10%;
    position: fixed;
  }

  #popup__toggle {
    display: block;
  }

  .modal {
    top: 20vw;
  }

  .modal-dialog {
    left: 3vw;
    margin-left: 0;
    width: 94vw;
    margin: 0 !important;
    top: 5vh;
  }

  .container {
    width: 100% !important;
  }

  #left-vertical-menu {
    display: block;
  }

  .desktop-menu,
  #fixed-offer-title {
    display: none;
  }

  .responsive {
    width: 100vw;
    max-width: 100vw;
    overflow: auto;
    max-width: 100%;
  }

  header .fas {
    margin-right: 0;
  }

  .fixed-mobile-menu {
    display: block;
    height: 58px;
    position: fixed !important;
    background: white;
    width: 100%;
  }

  .fixed-mobile-menu h2 {
    float: left;
    font-size: 15px;
    margin-top: 4px;
    margin-left: 30px;
    line-height: 0;
  }

  .fixed-mobile-menu .social {
    float: right;
  }

  .fixed-mobile-menu .social i {
    font-size: 21px;
  }

  .fixed-mobile-menu .social i.mec-fa-vk {
    font-size: 26px;
  }

  .fixed-mobile-menu .mobile-menu-button {
    padding-right: 6px;
    position: absolute;
    padding: 10px;
    left: 0;
    top: 0;
    z-index: 10000000000000;
  }

  .fixed-mobile-menu .mobile-menu-button i {
    width: initial;
    font-size: 34px;
  }

  .violet-button {
    font-size: 20px;
  }

  #schedule .back {
    min-height: 310px;
  }

  #schedule a[href^=tel] {
    font-size: 35px;
    margin-bottom: 0;
  }

  #slider-header {
    height: 240px;
    margin-bottom: 230px;
  }

  #slider-header .violet-button {
    margin: 0;
  }

  #slider-header li {
    background-position-y: 56px;
  }

  #slider-header .mobile-extra {
    display: block;
    padding-left: 130px;
    text-align: initial;
  }

  #slider-header .mobile-extra b {
    display: none;
  }

  #slider-header .mobile-extra h2 {
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
    margin-top: 28px;
  }

  #slider-header .mobile-extra img {
    width: 100px;
    position: absolute;
    left: 15px;
  }

  #slider-header .mobile-extra p {
    margin-top: 30px;
    font-size: 14px;
    padding-left: 32%;
  }

  #slider-header .mobile-extra .violet-button {
    float: left;
    font-size: 17px;
    margin-top: -20px;
    background: #3d3d3d;
    color: white;
  }

  #slider-header .mobile-extra .violet-button:hover {
    background: #7b7b7b;
  }

  #slider-header .mobile-extra ins {
    float: left;
    width: 100%;
    font-size: 24px;
    text-decoration: none;
    color: #fff !important;
    margin-bottom: 10px;
    font-weight: bold;
  }

  #slider-header .mobile-extra ins i {
    margin-right: 5px;
  }

  #slider-offers {
    height: 230px;
  }

  #slider-offers li {
    background-size: contain;
  }

  .slider {
    overflow: hidden;
  }

  .slider .slider-content {
    width: 100%;
    left: 0;
  }

  .slider .slider-content h1 {
    display: none;
  }

  .slider .slider-content b {
    font-size: 25px;
    padding: 5px;
    bottom: -166px;
    position: absolute;
  }

  .slider .slider-content .violet-button {
    display: none;
  }

  .container.slider {
    padding: 0;
  }

  #slider-offers>.slider>.col-sm-12 {
    padding: 0;
  }

  #slider-offers h2 {
    padding-left: 15px;
    padding-right: 15px;
  }

  #advantages .advantages {
    float: initial;
    height: initial;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
  }

  #advantages p {
    font-size: 12px;
    line-height: 1.2;
    margin-top: 0;
    text-align: center !important;
    float: left;
    padding: 10px;
    margin-bottom: 0;
    font-size: 14px;
  }

  #advantages h3 {
    margin-top: 0;
  }

  #advantages .item-full {
    width: 49%;
    padding: 0;
    display: inline-block;
    float: initial !important;
    margin-left: 0.5%;
    margin-right: 0.5%;
  }

  #advantages .item-full h3 {
    font-size: 0.9em;
    margin-top: -47px;
    margin-bottom: -8px;
    font-size: 1em;
    padding: 0 10px;
    margin-top: 10px;
    margin-bottom: 0;
  }

  #advantages .post-content {
    display: none;
  }

  s #p-footer form {
    display: none;
  }

  #feedback .wrap {
    height: initial !important;
  }

  #feedback .wrap img {
    margin-bottom: 10px;
  }

  #feedback .item {
    padding-left: 10px;
    padding-right: 10px;
    max-width: initial !important;
    text-align: center;
    width: 50% !important;
    min-height: 160px;
    border-bottom: 0;
  }

  #feedback .button {
    clear: both;
    float: initial;
    display: none;
    margin: 0 auto;
    line-height: 1.2;
  }

  h3 {
    font-size: 14px;
    font-weight: bold;
  }

  p {
    font-size: 13px;
  }

  #request-callback {
    display: none;
  }

  #about {
    margin-bottom: 50px;
  }

  #p-footer {
    display: none;
  }

  .post-image {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  #about .col-sm-12 {
    padding: 15px;
  }

  footer .col-sm-6 {
    text-align: center !important;
  }

  .modal-header .modal-title {
    font-size: 14px;
  }

  .post-content .col-sm-12.col-sm-12 {
    float: left;
  }

  .post-content h2.h1 {
    margin-top: 30px !important;
  }

  .post-content .item-50 {
    width: 100%;
    padding: 0;
  }

  .page .item-50 {
    width: 100%;
  }

  footer .container {
    margin: 0 !important;
    width: 100%;
  }

  .col-sm-12.post-content>.col-sm-12 {
    padding: 0;
  }

  .contacts.fix {
    margin-top: 20px;
    height: 150px;
    text-align: center;
  }

  .contacts.fix h2 {
    text-align: center !important;
  }

  .contacts.fix p {
    float: left;
    margin-top: 20px;
  }

  .contacts.fix a {
    display: inline-block;
    float: initial !important;
  }

  .education-plans .banner {
    float: right;
    width: 80%;
    margin: 0 10% 30px;
  }

  .price {
    font-size: 80%;
    width: 100%;
  }

  .price td:nth-child(1),
  .price th:nth-child(1),
  .price td:nth-child(2),
  .price th:nth-child(2) {
    width: initial;
  }

  .price td,
  .price th {
    padding: 10px 5px;
  }

  ol ol {
    padding-left: 20px;
  }

  ol ol ol {
    padding-left: 20px;
  }

  body {
    position: relative;
  }

  #left-vertical-menu {
    transition: 0.5s linear;
    width: 220px;
    position: fixed;
    left: -245px;
    z-index: 100;
    background: #fff;
    -webkit-box-shadow: 10px 12px 5px -7px rgba(0, 0, 0, 0.13);
    -moz-box-shadow: 10px 12px 5px -7px rgba(0, 0, 0, 0.13);
    box-shadow: 10px 12px 5px -7px rgba(0, 0, 0, 0.13);
    border-bottom-right-radius: 21px;
    overflow: auto;
    top: 0;
    padding-top: 50px;
    padding-bottom: 10px;
    max-height: 100vh;
  }

  #left-vertical-menu .close {
    padding-right: 10px;
    margin-top: 15px;
    font-size: 160%;
    opacity: 0.6;
  }

  #left-vertical-menu ul {
    padding-left: 0;
    margin-bottom: 0;
  }

  #left-vertical-menu li {
    list-style-type: none;
    font-size: 14px;
    border-bottom: 1px solid #ececec;
  }

  #left-vertical-menu li:first-child {
    border-top: 1px solid #ececec;
  }

  #left-vertical-menu li:last-child {
    border-bottom: 0;
  }

  #left-vertical-menu li a {
    padding: 7px 15px 7px 40px;
    width: 100%;
    display: block;
    line-height: 1.3;
  }

  #left-vertical-menu li a:focus,
  #left-vertical-menu li a:active {
    color: #fff;
    background-color: #333;
  }

  #left-vertical-menu .logo {
    width: 200px;
    height: 117px;
    margin-top: 30px;
  }
}

@media (max-width: 640px) and (min-width: 400px) {
  #feedback .item:nth-child(3) {
    background: #ddd;
  }

  #feedback .item:nth-child(4) {
    background: #ccc;
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 510px),
screen and (max-width: 510px) {
  .mobile-extra {
    text-align: center;
  }

  .mobile-extra p {
    text-align: left;
  }

  .mobile-extra .violet-button {
    margin: 0 auto;
    font-size: 17px;
  }

  .advantages .item-additional {
    padding-left: 15px;
    padding-right: 15px;
    width: 50%;
  }

  .advantages .item-additional:last-child img {
    width: 60%;
    margin-top: 0px;
    margin-bottom: -18px;
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 400px),
screen and (max-width: 490px) {
  .contacts h2 {
    font-size: 20px !important;
  }

  .fixed-mobile-menu h2 {
    float: left;
    font-size: 15px;
    text-align: -webkit-auto;
    margin-left: 35px;
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 400px),
screen and (max-width: 400px) {
  .mobile-extra p {
    font-size: 13px !important;
  }

  .mobile-extra .violet-button {
    font-size: 14px;
  }

  ins {
    font-size: 18px !important;
    margin-top: 10px;
  }

  header .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 480px) {
  #single-post .nav-tabs {
    display: block;
    border-bottom: 0;
  }

  #single-post .nav-tabs .tabs a {
    margin-bottom: 10px;
    border-radius: 100px;
  }

  #single-post .nav-tabs .tabs.active a {
    background: #f2f2f2;
    color: #333;
  }

  #single-post .information .item-row {
    width: 48%;
  }
}

@media (max-width: 400px) {
  #feedback .item {
    width: 100% !important;
    min-height: initial;
  }
}

@media (max-width: 319px) {
  #feedback .item {
    width: 100% !important;
    min-height: initial;
  }

  #in_instagram iframe {
    margin-bottom: 0;
  }

  .fixed-mobile-menu h2 {
    width: 100%;
    margin-bottom: 0;
  }

  #slider-header {
    margin-bottom: 380px;
  }

  #slider-header li {
    background-position-y: 70px;
    -webkit-background-size: cover;
    background-size: cover;
  }

  #slider-header .mobile-extra h2 {
    margin-top: 10px;
    padding-left: 5px;
  }

  .advantages {
    font-size: 0;
  }

  .advantages p {
    width: 100%;
    font-size: 12px;
    word-break: break-word;
  }

  h2 {
    font-size: 20px;
    word-break: break-word;
  }

  .teachers-carousel .item .text {
    display: none;
  }

  #single-post .party img {
    width: 100%;
  }

  #single-post .party p {
    width: 100%;
    word-break: break-word;
  }

  #single-post .book-form {
    border-radius: 5px;
    width: 100%;
    padding: 10px 5px;
  }

  #single-post .book-form input[type=text] {
    width: 100%;
  }

  #single-post h3 {
    border-left: 0px solid white;
    padding-left: 0 !important;
  }
}

@media screen and (max-width: 600px) {
  .instagram-conainer iframe {
    height: 160px !important;
  }

  #feedback {
    margin-top: 20px !important;
  }
}

@media (max-width: 576px) {
  .information .item-row {
    width: 100% !important;
  }
}

@media screen and (max-width: 450px) {
  .instagram-conainer iframe {
    height: 120px !important;
  }

  #single-post {
    padding-bottom: 40px;
  }

  #single-post .banner-single {
    min-height: auto;
  }

  #single-post .book-form input[type=text] {
    max-width: initial !important;
    margin-bottom: 10px;
    width: 100%;
  }

  #single-post .book-form input[type=submit] {
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
  }

  #slider-header {
    height: 210px;
  }
}

@media screen and (max-width: 400px) {
  .information .item-row {
    width: 100% !important;
  }

  .instagram-conainer iframe {
    height: 110px !important;
  }
}

@media screen and (max-width: 370px) {
  .advantages .item-additional {
    width: 100%;
  }

  #single-post .information .icon {
    width: 35px;
    height: 35px;
  }

  #single-post .information .info-h2 {
    padding-left: 10px;
  }

  #single-post .information .h2,
  #single-post .information h2 {
    padding-left: 45px;
  }

  #single-post .information .teachers {
    padding-left: 45px;
  }

  #single-post .information .item-row.h2 {
    padding-left: 55px !important;
  }

  #single-post .information .my-form {
    padding-left: 45px !important;
  }
}

@media screen and (max-width: 320px) {
  .instagram-conainer iframe {
    height: 100px !important;
  }
}

.ajax-loader {
  background-repeat: no-repeat;
  background-position: 50%;
}



/* серый цвет шрифта в статьях блога */

#single-post p,
#single-post li {
  color: #666 !important;
}

/* подчеркнутые ссылки статьях блога */

#single-post.single-article a {
  text-decoration: underline;
}


/* Адаптивный контейнер для видео в статьях */

#single-post.single-article .video-container {
  position: relative;
  padding-bottom: 56.25%;
  /*16:9*/
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

#single-post.single-article .video-container iframe,
#single-post.single-article .video-container object,
#single-post.single-article .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-bottom: 0px;
  margin-top: 0px;
}

/* Оформление цитаты */
blockquote.bubble:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 20px solid transparent;
  border-right: 20px solid #f4f4f4;
  border-top: 20px solid #f4f4f4;
  border-bottom: 20px solid transparent;
  left: -45px;
  top: 1rem;
}

blockquote.bubble {
  border: solid .85rem #f4f4f4;
  position: relative;
  border-radius: .3rem;
  padding: 1.2rem;
  margin-left: 2rem;
  background: #f4f4f4;
  min-height: 370px;
}

.bubbles .owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-nav .owl-prev {
  margin-top: -50px;
}

blockquote.bubble p {
  color: black;
  font-style: italic;
  margin: 0 0 10px 0;
  font-size: 1rem !important;
  text-align: unset !important;
}

cite.with-img span {
  font-size: 0.8rem;
}

blockquote.bubble cite {
  color: #666;
}

/* цитата с фотографией */

blockquote img.img-author,
blockquote.bubble img.img-author {
  display: inline-block;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  max-width: unset;
  float: unset;
  margin-right: 20px;
}

cite.with-img {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

@media (max-width: 600px) {
  cite.with-img span {
    font-size: 0.7rem;
  }

  blockquote.bubble p {
    font-size: 0.9rem !important;
  }
}

/* стили для карусели с отзывами */

.reviews-carousel .item {
  padding: 0 60px 0 30px;
}

.reviews-carousel .owl-prev,
.reviews-carousel .owl-next {
  position: absolute;
  top: 40%;
  display: block;
  width: 60px;
  height: 60px;
}

.reviews-carousel .owl-prev span,
.reviews-carousel .owl-next span {
  font-size: 0;
}

.reviews-carousel .owl-prev:hover,
.reviews-carousel .owl-next:hover {
  opacity: 0.85;
}

.reviews-carousel .owl-prev {
  background: url(../img/arr-left.png) center no-repeat;
  background-size: contain;
  left: 5px;
}

.reviews-carousel .owl-next {
  background: url(../img/arr-right.png) center no-repeat;
  background-size: contain;
  right: 5px;
}

@media (max-width: 600px) {
  .reviews-carousel .item {
    padding: 0 30px 0 0;
  }
}

.single-article iframe {
  margin-top: 30px;
  margin-bottom: 30px;
}

.single-article .share {
  margin-top: 50px;
  display: flex;
  align-items: center;
}

.single-article blockquote:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 20px solid transparent;
  border-right: 20px solid #f4f4f4;
  border-top: 20px solid #f4f4f4;
  border-bottom: 20px solid transparent;
  left: -45px;
  top: 1rem;
}

.single-article blockquote {
  border: solid .85rem #f4f4f4;
  position: relative;
  border-radius: .3rem;
  padding: 1.2rem;
  margin-left: 2rem;
  background: #f4f4f4;
  margin-top: 30px;
  margin-bottom: 30px;
}

.single-article blockquote+h3 {
  margin-top: 0;
}

.single-article blockquote strong {
  color: black;
  margin: 0 0 10px 0;
  font-size: 1rem !important;
  text-align: unset !important;
}

.single-article li {
  /* font-size: 16px !important; шрифт получался больше, чем сам текст, отключил, гук июнь 22 */
  padding-left: 15px;
  /* margin-bottom: 20px !important; этот параметр уже задан, отключили, гук июнь 22*/
}

.single-article ul br,
.single-article ol br,
.single-article h3+br,
.single-article blockquote+br {
  display: none;
}

.single-article ul,
.single-article ol {
  white-space: initial;
}

.single-article blockquote em {
  font-style: italic !important;
}

.single-article .post-content {
  /* white-space: pre-line; отключили, чтобы нормально использовать теги и отступы , гук, июнь 22*/
}

.certificates-images {
  margin-bottom: 20px;
}

.certificates-images .owl-carousel .owl-nav .owl-prev,
.certificates-images .owl-carousel .owl-nav .owl-next {
  width: 25px;
  height: 40px;
  margin-top: -37px;
  opacity: 1;
}

.certificates-images .owl-nav span,
.certificates-images .owl-nav {
  display: none;
}

.certificates-images:hover .owl-nav {
  display: initial;
}

.certificates-text {
  font-size: 16px;
}

@media (min-width: 991px) {
  .certificates-text {
    font-size: 14px;
  }
}

@media (min-width: 576px) {
  .certificates-images {
    margin-bottom: 0;
  }

  .certificates-text {
    font-size: 15px;
  }
}

@media (max-width: 880px) {
  .fixed-mobile-menu .social {
    top: 22px;
  }
}

@media (max-width: 500px) {
  .fixed-mobile-menu .bootstrap-select .dropdown-toggle {
    margin-left: 30px;
    height: 30px;
    line-height: 1;
    font-size: 12px;
    padding: 9px;
  }

  .bootstrap-select .dropdown-item {
    font-size: 12px
  }

  header .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 238px;
  }

  header metro {
    font-size: 11px;
  }

  .fixed-mobile-menu .social {
    right: 5px;
  }
}

@media (max-width: 430px) {
  .fixed-mobile-menu .social i {
    margin-right: 0;
  }

  .fixed-mobile-menu .mobile-menu-button {
    padding-left: 0;
  }
}

@media (max-width: 370px) {
  .fixed-mobile-menu .bootstrap-select .dropdown-toggle {
    font-size: 11px;
  }

  .bootstrap-select .dropdown-item {
    font-size: 11px
  }

  header .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 219px;
  }
}

@media (max-height: 720px) {
  #left-vertical-menu .logo {
    width: 180px;
    height: 103px;
    margin-top: 20px;
  }
}

@media (max-height: 700px) {
  #left-vertical-menu li a {
    padding: 5px 15px 5px 40px;
  }
}

@media (max-height: 640px) {
  #left-vertical-menu {
    border-bottom-right-radius: 0;
  }
}

#left-vertical-menu::-webkit-scrollbar {
  background: #fff;
  width: 6px;
  height: 6px;
}

#left-vertical-menu::-webkit-scrollbar-thumb {
  background: #c5c5c5;
}

#loader {
  display: none;
}

#single-post.single-article h2 {
  margin-top: 20px;
  margin-bottom: 30px;
}

.lb-loader,
.lightbox {
  text-align: center;
  line-height: 0;
  position: absolute;
  left: 0
}

body.lb-disable-scrolling {
  overflow: hidden
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: #000;
  filter: alpha(Opacity=80);
  opacity: .8;
  display: none
}

.lightbox {
  width: 100%;
  z-index: 10000;
  font-weight: 400;
  outline: 0
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
  border-radius: 3px;
  border: 4px solid #fff
}

.lightbox a img {
  border: none
}

.lb-outerContainer {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 4px;
  background-color: #fff
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both
}

.lb-loader {
  top: 43%;
  height: 25%;
  width: 100%
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../images/loading.gif) no-repeat
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10
}

.lb-container>.nav {
  left: 0
}

.lb-nav a {
  outline: 0;
  background-image: url(data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==)
}

.lb-next,
.lb-prev {
  height: 100%;
  cursor: pointer;
  display: block
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url(../images/prev.png) left 48% no-repeat;
  filter: alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity .6s;
  -moz-transition: opacity .6s;
  -o-transition: opacity .6s;
  transition: opacity .6s
}

.lb-nav a.lb-prev:hover {
  filter: alpha(Opacity=100);
  opacity: 1
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(../images/next.png) right 48% no-repeat;
  filter: alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity .6s;
  -moz-transition: opacity .6s;
  -o-transition: opacity .6s;
  transition: opacity .6s
}

.lb-nav a.lb-next:hover {
  filter: alpha(Opacity=100);
  opacity: 1
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  width: 100%;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both
}

.lb-data {
  padding: 0 4px;
  color: #ccc
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em
}

.lb-data .lb-caption {
  font-size: 13px;
  font-weight: 700;
  line-height: 1em
}

.lb-data .lb-caption a {
  color: #4ae
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(../images/close.png) top right no-repeat;
  text-align: right;
  outline: 0;
  filter: alpha(Opacity=70);
  opacity: .7;
  -webkit-transition: opacity .2s;
  -moz-transition: opacity .2s;
  -o-transition: opacity .2s;
  transition: opacity .2s
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: alpha(Opacity=100);
  opacity: 1
}

.block-video-el {
  position: relative;
  height: 0;
  padding-bottom: 56%;
  display: block;
  width: 100%;
}

.block-video-el__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
}

.block-video-el::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: url('img/youtube-play.png') no-repeat center;
  background-size: 50px;
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, .3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-video-el__dec svg {
  width: 50px;
  height: 50px;
}

.block-video-el__dec svg g {
  fill: #fff;
}

.owl-def .owl-nav button {
  margin: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  transition: .3s;
}

.owl-def .owl-dots {
  position: absolute;
  bottom: -34px;
  left: 0;
  width: 100%;
}


.block-img-slider__el {
  display: block;
  font-size: 0;
}

.block-img-slider__img {
  display: block;
  width: 100%;
  height: 182px;
  object-fit: cover;
}

.block-video-slider .owl-nav button,
.block-img-slider .owl-nav button {
  background: #fff;
  font-size: 35px !important;
  line-height: 50% !important;
  width: 35px !important;
  height: 40px !important;
  opacity: 1 !important;
  background-image: initial !important;
}

/* инфоблок на странице направления, когда набор закрыт */
.no-classes {
  border-radius: 8px;
  background: #f3f3f3;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/*Кнопка согласия на принятия куки*/
a.cn-set-cookie.cn-button {
  background-color: #fff;
  color: #3d3d3d;
  padding: 5px 20px;
  border-radius: 100px;
}

a.cn-set-cookie.cn-button:hover {
  text-decoration: none;
}


div.wpcf7 form.wpcf7-form p.agreement {
  display: block;
}


section#request-callback div.content.clearfix.custom-response p.agreement {
  position: unset;
}


/*Фикс виджета вк*/
div#vk_widget {
  width: 100%;
}


div#vk_widget {
  width: 100%;
}

div#vk_widget iframe {
  width: 100%;
}




#vk_groups div.wcommunity_wrap div {
  width: 100% !important;
}

/*фикс размера слайдов*/
#slider-offers .slides {
  min-height: 579px;
}

@media (max-width: 1180px) {
  #slider-offers .slides {
    min-height: 490px;
  }
}

@media (max-width: 992px) {
  #slider-offers .slides {
    min-height: 390px;
  }
}

@media (max-width: 765px) {
  #slider-offers .slides {
    min-height: 290px;
  }
}


#single-post .book-form .wpcf7-form-control-wrap {
    display: inline-block;
}

@media screen and (-webkit-min-device-pixel-ratio: 3) and (max-width:640px), screen and (max-width:640px) {
  .slider {
    overflow: visible;
  }

  #slider-offers {
    margin-bottom: 25%;
  }
}

.consent span.wpcf7-form-control.wpcf7-acceptance span {
    font-size: .85em;
    line-height: 1.2em;
    padding-top: 15px;
    padding-bottom: 15px;
}

.my-form.book-form .consent span.wpcf7-form-control.wpcf7-acceptance span {
    padding-top: 0;
    padding-bottom: 0;
}

#request-callback .wpcf7-list-item-label span, #request-callback .wpcf7-list-item-label a, .sidebar-content .consent span, .sidebar-content .consent a {
    color: white;
}


#request-callback span.wpcf7-not-valid-tip {
    color: #a4fd88;
    font-size: 12px;
}

.custom-response p{
   padding: 0 !important;
    margin: 0 !important;
}

.custom-response .subtext {
    padding-top: 15px !important;
}

.sidebar-content span.wpcf7-form-control-wrap.no-telegram {
    color: white;
    font-size: 14px;
    padding-top: 5px;
    display: block;
    margin-left: -2px;
}

.wpcf7 form.spam .wpcf7-response-output {
    border-color: none;
    background: #f44848;
}