/*
Theme Name: BBars Redesign 2026
Theme URI:
Author: Petrova M., Biryuzov D.
Author URI: http://cmedia.tech/
Description: Redesign copy of BBars Theme for site b-bars.ru. Safe to iterate; original BBars Theme (bbarscmedia) stays untouched.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bbarsredesign

This theme, like WordPress, is licensed under the GPL.
Demidov Theme (C) 2018 cmedia.tech, LLC.
*/

@import url('https://fonts.googleapis.com/css?family=Fira+Sans+Condensed:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i|Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&subset=cyrillic');
*,
:after,
:before {
  margin: 0;
  padding: 0;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  border: none;
}
::-moz-selection {
  background: #3e3636;
  color: #fff;
}
::selection {
  background: #3e3636;
  color: #fff;
}
html {
  margin: 0 auto;
  background: #fff;
  height: 100%;
  font-size: 18px;
}
body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.2;
  margin: 0 auto;
  padding: 0;
  color: #111;
  min-height: 100%;
  height: 100%;
}
.no_scroll {
  overflow: hidden;
}
a {
  text-decoration: none;
  color: #ae2424;
  -webkit-transition: 0.3s cubic-bezier(0.57, 0.21, 0.41, 1.01);
  transition: 0.3s cubic-bezier(0.57, 0.21, 0.41, 1.01);
}
a:hover {
  color: #d72323;
}
article,
aside,
div,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}
.clearfix::after,
.clearfix::before {
  content: '';
  display: table;
  clear: both;
}
input,
select,
textarea {
  border: none;
  outline: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Fira Sans Condensed', serif;
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: .1rem;
}
h1 {
  font-size: 2.6667rem;
  margin-bottom: 0;
}
h2 {
  font-size: 1.8889rem;
}
img {
  display: block;
  max-width: 100%;
}
li {
  list-style: none;
}
th,
td {
  padding: .8rem;
}
th {
  font-family: 'Fira Sans Condensed', serif;
  letter-spacing: .1rem;
  background-color: #e5e5e5;
  color: #777;
  font-weight: 500;
}
td {
  background-color: #f1f1f1;
  color: #3e3636;
  font-size: .8rem;
}
.wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 100vh;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 0;
  margin: 0;
}
main {
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
}
footer {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}
.content {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding-left: .8333rem;
  padding-right: .8333rem;
}
.header {
  font-family: 'Fira Sans Condensed', serif;
  padding: 0.8333rem 0;
  width: 100%;
  -webkit-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.1);
}
.header__block {
  float: right;
  width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 0.4rem 0;
}
.header__block a {
  color: #111;
}
.header__block a:hover {
  opacity: .7;
}
.header__contacts {
  width: 100%;
  font-size: 1rem;
  letter-spacing: .1rem;
  padding-bottom: .5rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.header__mail {
  margin: 0 2rem;
}
.header__social__item {
  height: 2.3rem;
  width: 2.3rem;
  position: relative;
  background-position: center;
  background-size: 60%;
  background-repeat: no-repeat;
  opacity: .9;
  display: inline-block;
  border: 1px #222 solid;
}

.header__social_vk {
  background-image: url(img/vk_d.png);
}
.header__social_fb {
  background-image: url(img/fb_d.png);
}
.header__social_inst {
  background-image: url(img/inst_d.png);
}
.header .menu {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  font-size: 1.3333rem;
  font-weight: 500;
  letter-spacing: .1rem;
}
.mobile_menu {
  display: none;
  font-size: 1.3333rem;
  font-weight: 500;
}
.mobile_menu__wrap {
  display: none;
  position: absolute;
  background: #fff;
  right: 0;
  width: 70%;
  top: 0;
  z-index: 10;
  padding: 5rem 2rem 2rem;
  bottom: 0;
  min-height: 100vh;
  -webkit-transition: 0.3s cubic-bezier(0.57, 0.21, 0.41, 1.01);
  transition: 0.3s cubic-bezier(0.57, 0.21, 0.41, 1.01);
}
.mobile_menu__item {
  margin-bottom: 1.5rem;
}
.mobile_menu__link {
  padding: .5rem;
}
.burger {
  position: relative;
  z-index: 15;
}
.burger__block {
  width: 2.6rem;
  height: 2.2rem;
  cursor: pointer;
  position: relative;
}
.burger__line {
  width: 100%;
  height: 3px;
  background-color: #3e3636;
  display: block;
  -webkit-transition: 0.3s cubic-bezier(0.57, 0.21, 0.41, 1.01);
  transition: 0.3s cubic-bezier(0.57, 0.21, 0.41, 1.01);
}
.burger__line:nth-child(1) {
  margin-top: 0;
}
.burger__line:nth-child(2) {
  margin-top: .8rem;
}
.burger__line:nth-child(3) {
  margin-top: .8rem;
}
.active .burger__line:nth-child(1) {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 50%;
  position: absolute;
  margin: 0;
}
.active .burger__line:nth-child(2) {
  display: none;
}
.active .burger__line:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 50%;
  position: absolute;
  margin: 0;
}
.logo {
  width: 5rem;
  float: left;
  margin-right: 2rem;
}
.banner {
  width: 100%;
  margin: 0;
  padding: 0;
}
.main_title {
  font-family: 'Fira Sans Condensed', serif;
  font-weight: 900;
  font-size: 5.5rem;
  text-align: center;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.1rem;
  color: #d72323;
}
.index {
  padding-bottom: 5rem;
}
.index__title {
  text-align: center;
  font-size: 1.8889rem;
  letter-spacing: .1rem;
  padding-bottom: 1.5rem;
  margin: 0 0 1.5rem;
  position: relative;
}
.index__title::after {
  content: '';
  height: 0.2rem;
  background-color: #d72323;
  width: 8rem;
  display: block;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  margin-left: 50%;
  position: absolute;
  bottom: 0;
}
.index__text {
  font-size: 1.2222rem;
  text-align: center;
  line-height: 1.5;
  padding: 0 7rem 5rem;
  letter-spacing: .1rem;
  width: 100%;
}
.footer {
  width: 100%;
  background-color: #3e3636;
  padding: 4rem 0;
  color: #ccc;
  font-family: 'Fira Sans Condensed', serif;
  letter-spacing: .1rem;
}
.footer a {
  color: #ccc;
}
.footer a:hover {
  color: #fff;
}
.footer__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.footer__block {
  width: 50%;
  margin: 0;
}
.footer__menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 91.66666%;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  font-weight: 500;
  font-size: 1.1111rem;
}
.footer__item {
  text-align: right;
  width: 33.3333%;
  float: left;
  font-size: 0.8889rem;
}
.footer__social {
  border: 1px #ccc solid;
  height: 2.3rem;
  width: 2.3rem;
  position: relative;
  background-position: center;
  background-size: 60%;
  background-repeat: no-repeat;
  opacity: .7;
  margin-left: .5rem;
  display: inline-block;
}
.footer__social:first-child {
  margin-left: 0;
}
.footer__contacts {
  display: block;
}
.footer__social_vk {
  background-image: url(img/vk.png);
}
.footer__social_fb {
  background-image: url(img/fb.png);
}
.footer__social_inst {
  background-image: url(img/inst.png);
}
.footer__social:hover {
  opacity: 1;
}
.breadcrumbs {
  font-size: 0.6667rem;
  color: #d72323;
  letter-spacing: .05rem;
  margin-bottom: 1rem;
}
.breadcrumbs a {
  color: #3e3636;
}
.breadcrumbs .separator {
  padding: 0 .2rem;
  color: #3e3636;
}
.page {
  padding: 5rem 0;
  background-image: url(img/logo_bg.png);
  background-repeat: no-repeat;
  background-position: 110% 80%;
}
.page__form {
  background: #f1f1f1;
  padding: 2.6667rem;
}
.page__form__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  width: 100%;
}
.page__form_body {
  width: 100%;
  max-width: 80%;
}
.page__form_title {
  color: #d72323;
  letter-spacing: .1rem;
  font-family: 'Fira Sans Condensed', serif;
  font-size: 1.4444rem;
  font-weight: 500;
  width: 20%;
}
.page__form__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.page__form__block input {
  height: 3.125rem;
  padding: .5rem 1rem;
  max-width: 100%;

}
div.wpcf7 .ajax-loader {
  display: none;
}
.form__name, .form__phone, .form__btn {
  width: 30%;
}
.form__btn {
  cursor: pointer;
  background-color: #d72323;
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.25rem;
  font-family: 'Fira Sans Condensed', serif;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}
.form__btn:hover {
  background-color: #ae2424;
}
span.wpcf7-not-valid-tip {
  font-size: .8rem;
}
div.wpcf7-response-output {
  margin: 1rem 0rem 0rem;
}
.page__header {
  padding-bottom: 4rem;
}
.page__content {
  line-height: 1.5;
}
.page_wide {
  width: 100%;
  background-color: #f1f1f1;
}
.page p {
  margin-bottom: 1rem;
}
.page ul {
  padding-left: 2rem;
  margin: 1rem 0;
}
.page li {
  position: relative;
}
.page li::before {
  content: '';
  position: absolute;
  left: -1.8rem;
  top: 0.3rem;
  width: 1rem;
  height: 1rem;
  background-image: url(img/brush.png);
  background-repeat: no-repeat;
  background-position: center;
}
.page__block {
  margin: 4rem 0;
  width: 100%;
}
.page__block_wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  padding-top: 2.6667rem;
}
.page__block_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}
.page__block_elem {
  width: 60%;
  position: relative;
}
.page__block_elem:nth-child(odd) {
  margin-right: -1.6667rem;
  margin-top: -2.6667rem;
  margin-bottom: 2.6667rem;
}
.page__block_elem:nth-child(even) {
  margin-left: -1.6667rem;
}
.page__block_text {
  padding: 2.6667rem;
  background-color: #f1f1f1;
  z-index: 2;
  font-size: 1.1111rem;
}
.page__block_text hr {
  height: 0.2rem;
  background: #fff;
  border-left: 6rem solid #d72323;
  margin: 2rem 0;
}
.page__block_list {
  padding: 2.6667rem;
  background-color: #f1f1f1;
}
.page__block_title {
  font-family: 'Fira Sans Condensed', serif;
  font-weight: 500;
  letter-spacing: .1rem;
  width: 25%;
  color: #d72323;
  font-size: 1.4444rem;
}
.page__block_item {
  padding-left: 1.1111rem;
  width: 37.5%;
}
.dojo__info {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.dojo__text_left {
  width: 58.3333%;
  padding: 0 3rem 3rem;
  font-size: 1.3333rem;
}
.dojo__img_right {
  width: 41.66666%;
  padding-right: 3rem;
  margin-bottom: -3rem;
}
.dojo__block {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.dojo__block_white {
  background-color: #fff;
  padding: 3rem;
}
.dojo__price {
  padding: 6rem 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.dojo__price_block {
  width: 33.33333%;
  padding: 2.6667rem 8.3333rem 2.6667rem 4rem;
  font-size: 1.3333rem;
  font-family: 'Fira Sans Condensed', serif;
  letter-spacing: .1rem;
  line-height: 1;
  background-image: url(img/circle.png);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}
.dojo__price_item {
  font-size: 1.6667rem;
  color: #d72323;
  font-weight: 600;
  margin-bottom: 1rem;
}
.dojo__price_item span {
  font-size: 3.3333rem;
}
.dojo__table {
  width: 100%;
  text-align: center;
}
.dojo__table th {
  font-size: 1.8rem;
}
.dojo__table_title {
  font-family: 'Fira Sans Condensed', serif;
  font-weight: 500;
  letter-spacing: .1rem;
  font-size: 1.2rem;
  color: #777;
  width: 20%;
  background-color: #e5e5e5;
  line-height: 1.2;
}
.teachers__info {
  background-color: #f1f1f1;
  padding: 2.7778rem 5rem;
  font-size: 1.4444rem;
  margin-bottom: 4rem;
}
.teachers__info p {
  margin-bottom: 0;
}
.teachers__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.teachers__item {
  width: 26%;
  line-height: 1.2;
  margin-bottom: 2rem;
}
.teachers__title {
  text-align: center;
  font-family: 'Fira Sans Condensed', serif;
  font-weight: 500;
  padding: 1.5556rem;
  font-size: 1.1111rem;
}
.teachers__title_big {
  display: block;
  width: 100%;
  color: #d72323;
  text-transform: uppercase;
  font-size: 1.6667rem;
}
.contact__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  position: relative;
  margin-bottom: 4rem;
  padding: 1.6667rem 0;
  font-family: 'Fira Sans Condensed', serif;
  letter-spacing: .1rem;
  font-size: 1.6667rem;
  text-align: center;
}
.contact__block::before {
  position: absolute;
  content: '';
  display: block;
  width: 0.2rem;
  height: 100%;
  margin-left: 50%;
  background-color: #d72323;
  top: 0;
  bottom: 0;
  left: 0;
}
.contact__link {
  color: #111;
}
.contact__link:hover {
  color: #ae2424;
}
.contact__map {
  width: 100%;
  height: 32rem;
  margin-top: 4rem;
}
.contact__map iframe {
  height: 100%;
  width: 100%;
}
.contact__map figure {
  height: 100%;
}
@media only screen and (max-width: 1100px) {
  .main_title {
    font-size: 4.5rem;
  }
  .header__block {
    width: 70%;
  }
  .header .menu {
    font-size: 1.1333rem;
  }
  .index__title {
    font-size: 1.6889rem;
  }
  .index__text {
    font-size: 1rem;
    padding: 0 3rem 3rem;
  }
  .page__form_title {
    font-size: 1.2444rem;
  }
  .footer__menu {
    font-size: 1rem;
    width: 100%;
    margin-bottom: 1.5rem;
  }
  .footer__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .footer__block {
    width: 100%;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .footer__item {
    text-align: left;
    width: auto;
    float: none;
    font-size: 0.8889rem;
  }
  .dojo__text_left {
    padding: 0 1rem 2rem;
    font-size: 1.2333rem;
  }
  .dojo__block_white {
    padding: 2rem;
  }
  .dojo__price_block {
    padding: 1.6667rem 1.3333rem 1.6667rem 3rem;
    font-size: 1.1333rem;
  }
  .dojo__img_right {
    padding-right: 1rem;
    margin-bottom: -2rem;
  }
  .dojo__price {
    padding: 5rem 0;
  }
  .dojo__price_item {
    margin-bottom: 0.7rem;
  }
  .dojo__price_item span {
    font-size: 2.3333rem;
  }
  .dojo__table th {
    font-size: 1.3rem;
  }
  .dojo__table_title {
    font-size: 1.1rem;
  }
  th,
  td {
    padding: 0.6rem;
  }
  .teachers__item {
    width: 30%;
  }
  .form__name, .form__phone, .form__btn {
    width: 32%;
  }
  .page__form_title {
    width: 23%;
  }
  .page__form_body {
    max-width: 77%;
  }
}
@media only screen and (max-width: 900px) {
  .page__form_title {
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }
  .page__form__wrap {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .page__form_body {
    max-width: 100%;
  }
  .dojo__time_wrap {
    width: 100%;
    overflow-x: auto;
  }
  td {
    min-width: 5rem;
  }
}
@media only screen and (max-width: 780px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  th,
  td {
    padding: 0.4rem;
  }
  .header {
    padding: 0.6333rem 0;
  }
  .header__block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    align-items: center;
  }
  .header__phone {
    opacity: .9;
  }
  .header__phone a {
    background-image: url(img/call.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: block;
    font-size: 0;
    width: 2.3rem;
    height: 2.3rem;
  }
  .header .menu {
    display: none;
  }
  .header__mail {
    margin: 0 10%;
    opacity: .9;
  }
  .header__mail a {
    background-image: url(img/email.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: block;
    font-size: 0;
    width: 2.3rem;
    height: 2.3rem;
  }
  .header__contacts {
    padding-bottom: 0;
    align-items: normal;
  }
  .logo {
    width: 4rem;
    margin-right: 1rem;
  }
  .header__social {
    display: none;
  }
  .mobile_menu {
    display: block;
  }
  .opened .mobile_menu__wrap {
    display: block;
  }
  .main_title {
    font-size: 3.5rem;
    letter-spacing: 0.7rem;
  }
  .index {
    padding-bottom: 3rem;
  }
  .index__title {
    font-size: 1.3889rem;
    padding-bottom: 1rem;
    margin: 0 0 1rem;
  }
  .index__text {
    font-size: 1rem;
    padding: 0 0rem 2rem;
    text-align: left;
  }
  .footer {
    padding: 2rem 0;
  }
  .page {
    padding: 3rem 0;
    background-size: 80%;
  }
  .page ul {
    padding-left: 1.5rem;
  }
  .page li:before {
    left: -1.4rem;
  }
  .page__form {
    padding: 1.5rem;
  }
  .page__form_title {
    font-size: 1.1rem;
  }
  .page__header {
    padding-bottom: 2rem;
  }
  .page__block {
    margin: 3rem 0;
    width: 100%;
  }
  .page__block_wrap {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    padding-top: 0;
  }
  .page__block_elem {
    width: 100%;
  }
  .page__block_elem:nth-child(odd) {
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 2rem;
  }
  .page__block_elem:nth-child(even) {
    margin-left: 0;
  }
  .page__block_text {
    padding: 2rem;
  }
  .page__block_title {
    line-height: 1.2;
    font-size: 1.1rem;
  }
  .page__block_list {
    padding: 1.5rem;
  }
  .page__block_item {
    padding-left: 0.5rem;
  }
  .page__block_item ul {
    margin: 0;
  }
  .dojo__time_wrap {
    width: 100%;
    overflow-x: auto;
  }
  .dojo__info {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .dojo__block {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .dojo__text_left {
    width: 100%;
    font-size: 1.1333rem;
  }
  .dojo__img_right {
    width: 100%;
    margin-bottom: 2rem;
    padding-right: 0;
  }
  .dojo__block_white {
    padding: 1.5rem;
  }
  .dojo__price {
    padding: 3rem 0;
  }
  .dojo__price_block {
    letter-spacing: 0rem;
    padding: 1.3667rem 1rem 1.2667rem 2.3rem;
    font-size: 1rem;
  }
  .dojo__price_item {
    margin-bottom: 0.4rem;
    font-size: 1.1667rem;
  }
  .dojo__price_item span {
    font-size: 1.5rem;
  }
  .dojo__table {
    min-width: 600px;
  }
  .dojo__table td {
    font-size: .8rem;
  }
  .dojo__table th {
    font-size: 1rem;
  }
  .dojo__table_title {
    font-size: 1rem;
  }
  .teachers__info {
    padding: 2rem;
    font-size: 1.2444rem;
    margin-bottom: 3rem;
  }
  .contact__map {
    height: 18rem;
    margin-top: 3rem;
  }
  .contact__block {
    margin-bottom: 3rem;
    font-size: 1.2667rem;
  }
}
@media only screen and (max-width: 600px) {
  .teachers__block {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .teachers__item {
    width: 80%;
    margin: 0 auto 2rem;
  }
  .page__block_list {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .page__block_title {
    width: 100%;
    margin-bottom: 1rem;
  }
  .page__block_item {
    width: 100%;
    padding-left: 0;
  }
  .page__form__block {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .form__name, .form__phone, .form__btn {
    width: 100%;
  }
  .form__name, .form__phone {
    margin-bottom: 1rem;
  }
  .page__form__block input {
    width: 100%;
  }
}
@media only screen and (max-width: 520px) {
  .content {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .main_title {
    font-size: 2.3rem;
    letter-spacing: 0.3rem;
  }
  .logo {
    width: 3.5rem;
    margin-right: 0.5rem;
  }
  .header__block {
    padding: 0.3rem 0;
  }

  .header__contacts a {
    width: 2.3rem;
    height: 2.3rem;
  }
  .footer__menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin-bottom: 0;
  }
  .footer__menu div {
    width: 100%;
  }
  .footer__social {
    float: left;
  }
  .footer__block {
    width: 50%;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .footer__item {
    width: 100%;
    margin-bottom: 1rem;
    font-size: .7rem;
  }
  .page__form {
    padding: 1rem;
  }
  .page__block {
    margin: 2rem 0;
  }
  .page__block_text {
    padding: 1.5rem;
  }
  .page__block_text hr {
    margin: 1.5rem 0;
  }
  .dojo__price {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .dojo__price_block {
    background-image: none;
    padding: 1rem;
    text-align: center;
    width: 100%;
  }
  .dojo__text_left {
    font-size: 1rem;
  }
  .dojo__text_left {
    padding: 0 0rem 2rem;
  }
  .dojo__block_white {
    padding: 1rem;
  }
  .teachers__info {
    padding: 1.5rem 1rem;
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  .contact__block {
    margin-bottom: 2rem;
    font-size: 1.2667rem;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .contact__block::before {
    display: none;
  }
  .contact__item {
    width: 100%;
    padding: 1rem;
  }
}
@media only screen and (max-width: 460px) {
  .teachers__item {
    width: 100%;
  }
  .teachers__img img {
    width: 100%;
  }
}
