/*!
Theme Name: fiveplus
Theme URI: https://jam-it.ru/
Author: JamIT
Author URI: https: //jam-it.ru/
Description: Тема разработана специально для автошколы 5+
Version: 1.0.0
*/
@font-face {
  /* название шрифта(чтобы не запутаться лучше указать название папки со шрифтом) */
  font-family: "WebFont";
  /* адрес шрифта и тип */
  src: url("/wp-content/themes/fiveplus/assets/fonts/ofont.ru_VerbenaC.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}

@font-face {
  /* название шрифта(чтобы не запутаться лучше указать название папки со шрифтом) */
  font-family: "Montserrat", sans-serif;
  /* адрес шрифта и тип */
  src: url("/wp-content/themes/fiveplus/assets/fonts/Montserrat/static/Montserrat-SemiBold.ttf") format("truetype");
}

h1,
h2,
h3,
h4,
h5,
p,
span,
li,
a {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 1px;
  text-decoration: none;
}

body {
  margin: 0;
}

header.site-header {
  background: url("/wp-content/themes/fiveplus/img/headeravto.png");
  background-size: cover;
}

span.d440 {
  font-family: "webFont" !important;
  color: red;
}

span.d440sevice {
  font-family: "webFont" !important;
  color: red;
  font-weight: 600;
  font-size: 36px;
}
.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
	margin-bottom: 1.5rem;
	width: 95%;
}

.wpcf7-form label {
	font-weight: 700;
}
.wpcf7-form input, textarea {
	padding: 10px 0px 10px 20px;
	width: 95%;
}
.wpcf7-form .after {
    font-size: .9em;
    font-style: italic;
}
.wpcf7-form .required.symbol:after {
	 content: '*';
    color: #FF0000;
    font-size: 1.5em;
    font-weight: 400;
    margin: 0 5px;
    position: relative;
    top: 5px;
}
div.site-header {
  width: 100%;
  max-width: 1344px;
  display: flex;
  margin: auto;
  justify-content: space-between;
  height: 170px;
  align-items: center;
}

div.logo-header {
  width: 100%;
  max-width: 230px;
}

div.logo-header>a>img {
  max-width: 197px;
  width: 100%;
}

div.organization-info>ul.top_info {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 24px;
  line-height: 2em;
  font-weight: 500;
  color: #2c2b2b;
}

div.contacts-block>p {
  margin: 0;
}

div.contacts-block>p>span {
  color: #2c2b2b;
  font-weight: bold;
  font-size: 19px;
}

div.contacts-block>p>a {
  font-size: 24px;
  color: red;
  text-decoration: none;
  font-weight: bold;
}

div.contacts-block>p.social {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

div.contacts-block {
  display: flex;
  flex-direction: column;
}

.block-info-btn__wrapp {
  max-width: 375px;
  position: absolute;
  top: 40%;
  right: 0%;
  font-weight: 700;
  border-radius: 15px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  padding: 15px;
  text-align: center;
  width: 100%;
  cursor: pointer;
}

.block-info-btn__wrapp .start_learning_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
}

.block-info-btn__wrapp .start_learning_btn a {
  cursor: pointer;
  transition: all 0.3s ease-out 0s;
  padding: 17px 65px;
  font-size: 21px;
  font-weight: 700;
  border-radius: 15px;
  background-color: #f08e91;
  margin-top: 1em;
  color: #fff;
  text-decoration: none;
}

.block-info-btn__wrapp .start_learning_btn a:hover,.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
  transition: all 0.3s ease-out 0s;
  background-color: red;
}

div.contacts-block>p.social>span {
  font-weight: 400;
  font-size: 16px;
}

div.contacts-block>p.social>a>img {
  width: 100%;
  max-width: 30px;
}

div.contacts-block>a.btn-red {
  font-weight: 700;
  border-radius: 15px;
  background-color: rgba(255, 53, 60, 0.73);
  color: #fff;
  text-decoration: none;
  padding: 15px;
  text-align: center;
}

.text-categories-prava {
  width: 100%;
  max-width: 1344px;
  margin: 45px auto;
}

div.contacts-block>a.btn-red:hover {
  transition: all 0.3s ease-out 0s;
  background-color: red;
}

nav.top-menu {
  width: 100%;
  display: flex;
  margin: auto;
  justify-content: space-between;
  border-bottom: 1px solid black;
  border-top: 1px solid;
  align-items: center;
  position: relative;
  text-transform: uppercase;
  height: 75px;
}

nav.top-menu>div.menu-menu-up-container {
  display: flex;
  width: 100%;
  max-width: 1332.1px;
  margin: auto;
}

nav.top-menu>div.menu-menu-up-container>ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

nav.top-menu>div.menu-menu-up-container>ul>li>a {
  text-decoration: none;
  color: black;
  font-weight: 700;
}

nav.top-menu>div.menu-menu-up-container>ul>li>a:hover {
  transition: all 0.3s ease-out 0s;
  color: red;
  text-decoration: underline;
}

.footer-block {
  display: flex;
  width: 100%;
  align-items: center;
  height: auto;
  flex-direction: column;
  background: #065f89;
  padding-bottom: 15px;
}

.main-footer {
  display: flex;
  max-width: 1344px;
  padding-top: 30px;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}

.footer-text>div>ul {
  list-style: none;
}

.main-footer>ul {
  margin-top: 0;
  padding-left: 0;
}

.bottom-footer {
  display: flex;
  width: 100%;
}

.footer-text>div>ul>li>a {
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  transition: all 0.3s ease-out 0s;
  text-decoration: none;
}

.footer-text>div>ul>li>a:hover {
  text-decoration: underline;
  color: #20aef0a8;
}

.footer-text>div>ul>li {
  padding: 7px;
}

.logo-footer {
  margin-top: 45px;
  min-width: 153px;
}

.footer-social-text {
  display: flex;
  flex-direction: column;
  max-width: 352px;
  align-items: flex-start;
}

.social-footer {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.social-footer>span {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.social-footer>a {
  width: 30px;
  height: 30px;
}

.social-footer>a>img {
  width: 30px;
}

.unified-reference-footer {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.phone-number-footer {
  margin-top: 1em;
}

.phone-number-footer>a {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  margin-left: 0.01em;
}

.phone-number-footer>a:hover {
  text-decoration: underline;
  color: #20aef0a8;
}

.email-footer {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.email-footer>a {
  text-decoration: none;
  margin-left: 0.01em;
}

.email-footer>a:hover {
  text-decoration: underline;
  color: #20aef0a8;
}

.main-block-avto {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.block-info {
  display: flex;
  width: 100%;
  height: 755px;
  align-items: center;
  justify-content: center;
}

.image {
  background: url(/wp-content/themes/fiveplus/img/main-banner.webp) 100% 100% no-repeat;
  background-size: cover;
}

.content-container {
  position: relative;
  display: flex;
  max-width: 1344px;
  width: 100%;
  height: 70%;
  justify-content: space-between;
}

.conten-text {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.conten-text>ul {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 70%;
  justify-content: space-between;
  list-style: none;
  padding: 0;
}

.conten-text>ul>li>h1 {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
  font-size: 24px;
  color: #2c2b2b;
}

.conten-text>ul>li>span {
  position: relative;
  bottom: 10px;
  left: 10px;
  font-weight: 700;
  font-size: 23px;
  letter-spacing: 0.01em;
  color: #2c2b2b;
}

.block-title-service {
  display: flex;
  padding: 40px;
  color: #2c2b2b;
  justify-content: center;
  max-width: 1344px;
  margin: auto;
}

.OurServices-Wrapper {
  display: flex;
  width: 100%;
  height: auto;
  align-items: center;
  justify-content: center;
  padding-top: 44px;
  padding-bottom: 44px;
}

.image2 {
  background: url(/wp-content/themes/fiveplus/img/Our-services-layer.0327f476.png) 100% 100% no-repeat;
  background-size: cover;
}

.content-service-block {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 500;
  max-width: 1344px;
  width: 100%;
}

.price-block {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.OurServices-Span-Text3 {
  font-style: italic;
  font-size: 45px;
  color: #008fd2;
}

.OurServices-Span-Text3>span {
  color: #e31e25;
  font-size: 50px;
  letter-spacing: 0;
  font-weight: 700;
}

.price-block>p {
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 30px;
  color: #2c2b2b;
}

.OurServices-CategoryOfRights {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 15px;
  font-size: 20px;
}

.OurServices-CategoryOfRights>span {
  margin-right: 10px;
}

.OurServices-CategoryOfRights>a {
  text-align: center;
  line-height: 45px;
  width: 50px;
  border-radius: 50%;
  font-size: 29px;
  border: 2px solid #008fd2;
  background-color: #fff;
  color: #008fd2;
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.2s ease-out 0s;
  text-decoration: none;
}

.OurServices-CategoryOfRights>a:hover {
  border: 2px solid #fff;
  background-color: #008fd2;
  color: #fcfcfc;
}

.OurServices-Container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: baseline;
  list-style: none;
  padding: 0;
}

.OurServices-Container>li {
  margin: 0 20px;
  font-size: 18px;
}

.OurServices-Container>li>div {
  display: flex;
  align-items: baseline;
  color: #2c2b2b;
  margin-bottom: 5px;
}

.OurServices-Container>li>div>span {
  border-bottom: 2px solid #ff5757;
  font-size: 30px;
  padding-right: 6px;
  color: #2c2b2b;
  letter-spacing: 0.1em;
}

.OurServices-Container>li>div>img {
  position: relative;
  top: 8px;
  left: 10px;
}



.OurServices-Container-Transport {
  margin-top: 30px;
  display: flex;
  justify-content: space-evenly;
  align-items: baseline;
  width: 100%;
}

.OurServices-Container-Transport>div>a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.OurServices-Container-Transport>div> a >img:first-child {
  max-width: 100%;
  margin-bottom: 15px;
}

.OurServices-StartTraining {
  cursor: pointer;
  transition: all 0.3s ease-out 0s;
  padding: 17px 65px;
  font-size: 21px;
  font-weight: 700;
  border-radius: 15px;
  background-color: #f08e91;
  margin-top: 1em;
  color: #fff;
  text-decoration: none;
}

.OurServices-StartTraining:hover {
  background-color: #f54b51;
}

.OurServices-RedText {
  margin-top: 35px;
  color: red;
  font-family: "WebFont";
  font-size: 27px;
}

.OurServices-Bottom {
  width: 100%;
  display: flex;
  justify-content: center;
  max-width: 1344px;
  margin: auto;
  padding: 0;
}

.OurServices-Bottom-Wrapper {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.OurServices-Bottom-Wrapper>a {
  cursor: pointer;
  text-align: center;
  max-width: 175px;
  text-decoration: none;
  width: 100%;
}

.OurServices-Bottom-Wrapper>a>img {
  transition: all 0.3s ease-out 0s;
  opacity: 0.5;
}

.OurServices-Bottom-Wrapper>a>img:hover {
  opacity: 100%;
}

.OurServices-Bottom-Wrapper>a>li {
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: #2c2b2b;
  list-style: none;
  text-decoration: none;
}

.OurServices-Bottom-Wrapper>a>li:hover {
  color: #7ec6e8;
}

.OnNote {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  min-height: 710px;
  align-items: center;
  justify-content: center;
  margin-bottom: 2em;
}

.OnNote-Top {
  display: flex;
  width: 100%;
  justify-content: center;
  color: #2c2b2b;
  font-size: 24px;
  max-width: 1344px;
}

.OnNote-Wrapper-container {
  display: flex;
  max-width: 1344px;
  width: 100%;
  justify-content: space-around;
  flex-wrap: wrap;
}

.video {
  display: flex;
  max-width: 700px;
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.OnNote_Container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.OnNote_TextAlignCenter {
  text-align: center;
  font-size: 23px;
}

.OnNote_TextAlignCenter>h3 {
  text-align: center;
  margin: 0;
}

.OnNote_TextAlignCenter>img {
  border: 1px solid #000;
}

.OnNote_TextAlignCenter>a>img {
  border: 1px solid #000;
}

.OnNote_Contacts_Logo {
  width: 100%;
  max-width: 450px;
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: space-evenly;
}

.filials-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  background-color: #d9eef8;
}

.filials-wrapper>h2 {
  width: 100%;
  margin: auto;
  text-align: center;
  margin-top: 1em;
  margin-bottom: 2em;
  max-width: 1344px;
}

.filials-wrapper>h2>span {
  cursor: pointer;
}

.filials-wrapper>h2>span.link-city-c.active {
  color: #008fd2;
}

.filials-wrapper>h2>span.link-region-c.active {
  color: #008fd2;
}

.filials-wrapper>.filials-container {
  width: 100%;
  margin: auto;
  max-width: 1344px;
  display: flex;
  margin-bottom: 2em;
  justify-content: space-between;
}

.filials-container>ul {
  list-style: none;
  padding-left: 0;
  width: 15%;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.filials-container>ul:hover {
  background-color: #aee3fc;
}

.filials-container>ul:hover>a.filials_Button {
  opacity: 1 !important;
}

.filials-container>ul:hover>h3 {
  color: #008fd2;
}

.filials-container>ul>a.filials_Button {
  cursor: pointer;
  overflow: hidden;
  align-self: center;
  transition: all 0.3s ease-out 0s;
  font-size: 15px;
  text-align: center;
  font-weight: 700;
  border-radius: 15px;
  border: 1px solid #008fd2;
  width: 84%;
  padding: 10px 0;
  background-color: #fff;
  color: #008fd2;
  opacity: 0;
  margin-bottom: 1em;
}

.filials-container>ul>a.filials_Button:hover {
  background-color: #008fd2;
  color: white;
}

.filials-container>ul>h3 {
  font-size: 1rem;
  text-align: center;
}

.filials-container>ul>li {
  font-weight: 500;
  padding: 0px 0px 0px 15px;
}

.filials-container>ul>li>p {
  font-weight: 500;
  line-height: 24px;
  color: #2c2b2b;
}

.filials-container>ul>li>p a {
  font-weight: 500;
  line-height: 24px;
  color: #2c2b2b;
  text-decoration: none;
}

.filials-container>ul>li>p a:hover {
  color: #fff;
  text-decoration: underline;
}

.filials-container>hr {
  border: 2px solid #fff;
  margin: 0 3px;
}

/* #region.filials-container.region {
  display: none;
} */

.filials-wrapp-content {
    width: 100%;
    display:flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
}
.filials-container.city {
  max-width: 1367px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}


.filials-wrapper>h2>span>a {
  color: #000;
  text-decoration: none;
}

.main-footer>ul>div>ul {
  padding: 0;
}

a.category_link {
  border: 2px solid #008ad1;
  display: flex;
  width: 396px;
  height: 226px;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  font-size: 20px;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  transition: all 0.2s ease-out 0s;
  background-image: url("/wp-content/themes/fiveplus/img/small-kletka.png");
  text-decoration: none;
}

a.category_link:hover {
  background: #008bd5;
}

.service-container {
  width: 100%;
  max-width: 1344px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.service-container>h1 {
  text-align: center;
}

.service-container>.category-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

a.category_link>img {
  height: 100%;
}

.moto {
  background-image: url("/wp-content/themes/fiveplus/img/category/moto.png");
  background-repeat: no-repeat;
  width: 160px;
  height: 96px;
}

a.category_link:hover>.block-text-picture>.moto {
  background-image: url("/wp-content/themes/fiveplus/img/category/moto-white.png");
}

.block-text-picture {
  text-align: center;
  display: flex;
  flex-direction: column;
  margin: auto;
  color: black;
}

a.category_link:hover>.block-text-picture>span {
  color: white;
}

.car-b {
  background-image: url("/wp-content/themes/fiveplus/img/category/car_b.png");
  background-repeat: no-repeat;
  width: 220px;
  height: 90px;
}

a.category_link:hover>.block-text-picture>.car-b {
  background-image: url("/wp-content/themes/fiveplus/img/category/car_b-white.png");
}

.car-c {
  background-image: url("/wp-content/themes/fiveplus/img/category/car_c.png");
  background-repeat: no-repeat;
  width: 130px;
  height: 90px;
}

a.category_link:hover>.block-text-picture>.car-c {
  background-image: url("/wp-content/themes/fiveplus/img/category/car_c-white.png");
}

.car-d {
  background-image: url("/wp-content/themes/fiveplus/img/category/car_d.png");
  background-repeat: no-repeat;
  width: 200px;
  height: 90px;
}

a.category_link:hover>.block-text-picture>.car-d {
  background-image: url("/wp-content/themes/fiveplus/img/category/car_d-white.png");
}

.car-be {
  background-image: url("/wp-content/themes/fiveplus/img/category/car_be.png");
  background-repeat: no-repeat;
  width: 245px;
  height: 76px;
}

a.category_link:hover>.block-text-picture>.car-be {
  background-image: url("/wp-content/themes/fiveplus/img/category/car_be-white.png");
}

.car-ce {
  background-image: url("/wp-content/themes/fiveplus/img/category/car_ce.png");
  background-repeat: no-repeat;
  width: 205px;
  height: 94px;
}

a.category_link:hover>.block-text-picture>.car-ce {
  background-image: url("/wp-content/themes/fiveplus/img/category/car_ce-white.png");
}

.stock-studing {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.stock {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.stock>a {
  border: 0;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease-out 0s;
  padding: 16px 0;
  width: 343px;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  border-radius: 15px;
  background-color: rgba(255, 53, 60, 0.73);
  color: #fff;
  margin-top: 15px;
  margin-bottom: 30px;
  opacity: 0.8;
  cursor: pointer;
}

.stock>table.action_table {
  background: url("/wp-content/themes/fiveplus/img/table.png");
  border-collapse: collapse;
  border-spacing: unset;
}

.stock>table.action_table>tbody>tr>td {
  line-height: 32px;
  padding: 15px 15px 25px;
  font-size: 18px;
  width: 275px;
  border: 3px solid red;
  font-family: "Montserrat", sans-serif;
}

.stock>a:hover {
  opacity: 1;
  background-color: red;
}

.stock-studing>.studing>a:hover {
  opacity: 1;
  background-color: red;
}

.stock>table.action_table>tbody>tr>td>strong>span.textRed {
  color: red;
}

.stock-studing>.studing {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stock-studing>.studing>p {
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  width: 575px;
  margin-top: 15px;
}

.stock-studing>.studing>a {
  border: 0;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease-out 0s;
  padding: 16px 0;
  width: 343px;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  border-radius: 15px;
  background-color: rgba(255, 53, 60, 0.73);
  color: #fff;
  margin-top: 15px;
  margin-bottom: 30px;
  opacity: 0.8;
  cursor: pointer;
}

.map_block_wrapper {
  background: url("/wp-content/themes/fiveplus/img/Our-services-layer.0327f476.png"),
    url("/wp-content/themes/fiveplus/img/background_car.c3d86505.png");
  display: flex;
  flex-direction: column;
  align-items: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.map_block_wrapper>.map_container.container {
  width: 100%;
  max-width: 1344px;
  justify-content: space-around;
  display: flex;
  margin-bottom: 2em;
  margin-top: 1em;
}

.information-container {
  width: 100%;
  max-width: 1344px;
  display: flex;
  justify-content: space-between;
  margin: 5em auto;
  flex-wrap: wrap;
}


.data {
  display: flex;
  flex-direction: column;
}

.data>.data_container {
  width: 100%;
  justify-content: space-between;
  display: flex;
}

.data>.data_container>ul {
  list-style: none;
  text-decoration: none;
  padding: 0;
}

.data_hr {
  margin: 5px 0;
  color: #b1dbf1;
  background-color: #b1dbf1;
  border-color: #b1dbf1;
}

.information_block_bottom {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.information_block_bottom>h2 {
  width: 100%;
  text-align: center;
}

.margin_top_25px {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.margin_top_25px>img {
  margin: 0 20px;
  width: 180px;
  height: 240px;
}

.formOnStuding_block {
  background: url("/wp-content/themes/fiveplus/img/Our-services-layer.0327f476.png"),
    url("/wp-content/themes/fiveplus/img/girl-car.png");
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
}

.formOnStuding_block>h2 {
  text-align: center;
}

.formOnStuding_block>p {
  color: red;
  font-size: 24px;
  font-family: "WebFont";
  text-align: center;
}

.formOnStuding_block>div>form>div>p>label>span>input {
  text-decoration: underline;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 20px 0;
  border: 2px solid #008ad1;
  width: 100%;
  padding: 15px 33px;
  max-width: 460px;
}

.formOnStuding_block>div>form>div>label>span>input {
  text-decoration: underline;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: auto;
  border: 2px solid #008ad1;
  width: 100%;
  padding: 15px 33px;
  max-width: 460px;
  background: white;
}

.formOnStuding_block>div>form>div>label>span>.wpcf7-not-valid-tip {
  margin: auto;
}

.formOnStuding_block>div>form>div>p>label>span>select {
  text-decoration: underline;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 20px 0;
  border: 2px solid #008ad1;
  width: 100%;
  padding: 15px 33px;
  max-width: 530px;
  background: white;
}

.formOnStuding_block>div>form>div>p {
  width: 100%;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: center;
}

.formOnStuding_block>div>form>div>p>input {
  border: 0;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease-out 0s;
  padding: 16px 0;
  max-width: 343px;
  font-weight: 700;
  font-size: 20px;
  border-radius: 15px;
  background-color: rgba(255, 53, 60, 0.73);
  color: #fff;
  opacity: 0.8;
  cursor: pointer;
  width: 100%;
}

.formOnStuding_block>div>form>div>p>input:hover {
  background-color: red;
  opacity: 1;
}

.formOnStuding_block>div>form>div>p>label {
  width: 100%;
}

.formOnStuding_block>div>form>div>p>label>span {
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.formOnStuding_block>div>form>div>label {
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.formOnStuding_block>div>form>div>label>span {
  width: 100%;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}

div#region>ul>li {
  text-align: center;
}

.formOnStuding_block>div {
  margin: auto;
}

form>.form-call-back-static>div {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

form>.form-call-back-static>div>p {
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.formOnStuding_block>div>form {
  margin: 1em auto;
}

.form-call-back-static>p>span>span>span {
  width: 100%;
  max-width: 530px;
  margin: 0;
  text-align: center;
}

.form-call-back-static>p>span>span>span>label {
  text-align: center;
}

.form-call-back-static>p>span>span>span>label>span {
  font-size: 16px;
  font-weight: bold;
}

a.privacy-policy-link {
  font-size: 18px;
  font-weight: bold;
  color: #008fd2;
}

.h1-driver-category {
  text-align: center;
}

.bigFont {
  font-weight: 900;
  font-size: 150px;
  margin-top: -23px;
}

.textblock {
  display: block;
  text-align: left;
  margin-top: 25px;
  font-size: 18px;
  font-weight: 500;
  padding-bottom: 5px;
  border-bottom: 3px solid red;
  font-family: "Montserrat", sans-serif;
}

.all-information-aboyt-category {
  width: 100%;
  max-width: 1344px;
  margin: 2em auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.all-information-aboyt-category>div {
  width: 100%;
  font-family: "Montserrat", sans-serif;
  max-width: 343px;
}

.variation-category {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img-letter {
  display: flex;
  align-items: flex-start;
}

.Category_File_container {
  display: flex;
  justify-content: space-evenly;
  margin-top: 10px;
}

.Category_File_container>a.file {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #62b9e7;
  border-radius: 50%;
  width: 80px;
  height: 75px;
  margin: auto;
  background-image: url("/wp-content/themes/fiveplus/img/circle-cletka.png");
}

.Category_File_container>a.file:hover {
  background: #62b9e7;
}

.variation-category>h3 {
  text-align: center;
}

p.text-cost {
  font-size: 1.1em;
  font-weight: 500;
}

td.bor.cost {
  border: 3px solid red;
  font-size: 36px;
}

td.bor {
  font-weight: 700;
  padding: 5px;
  border: 3px solid red;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
}

table.cost_box_table {
  margin-top: 10px;
  margin-bottom: 25px;
  text-align: center;
  width: 340px;
  border-collapse: collapse;
  border-spacing: unset;
}

a.Category_Button {
  border: 0;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease-out 0s;
  padding: 16px;
  width: 343px;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  border-radius: 15px;
  background-color: rgba(255, 53, 60, 0.73);
  color: #fff;
  margin-top: 15px;
  margin-bottom: 30px;
  opacity: 0.8;
  cursor: pointer;
}

a.Category_Button:hover {
  opacity: 1;
  background-color: red;
}

div.border-blue {
  border: 2px solid #008ad1;
  padding: 10px 7px;
  line-height: 23px;
  background-image: url("/wp-content/themes/fiveplus/img/cletka-uslugi.png");
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

.textRed {
  color: red;
}

.cost_box {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.lessons_box {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: space-around;
}

.redBox {
  background-color: red;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  width: 305px;
  padding: 20px;
}

a.AdditionalLessons_Url {
  font-size: 15px;
  color: #000;
  font-weight: 700;
}

.category_Links {
  max-width: 1334px;
  margin: 1em auto;
}

.category_Links>span>a>span {
  color: #000;
}

.category_Links>a {
  color: #000;
  text-decoration: none;
}

.category_Links>a.active {
  color: #065f89;
}

a.auto-category-d {
  margin-top: 1em;
}

a.auto-category-d>img {
  width: 100%;
  max-width: 250px;
}

.our-service-llc {
  display: flex;
  max-width: 1334px;
  margin: auto;
  justify-content: space-between;
}

.our-service-llc>div {
  background-color: #d9eef8;
  height: 50px;
  padding: 10px 25px;
  min-width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  cursor: pointer;
}

.our-service-llc>div:hover {
  color: #008fd2;
}

.element-llc-content-one {
  display: none;
  max-width: 1334px;
  margin: auto;
}

.element-llc-content-two {
  display: none;
  width: 100%;
  max-width: 1334px;
  margin: auto;
}

.element-llc-content-three {
  display: none;
  width: 100%;
  max-width: 1334px;
  margin: auto;
}

.element-llc-content-one.active {
  display: flex;
}

.element-llc-content-two.active {
  display: flex;
}

.element-llc-content-three.active {
  display: flex;
}

.our-service-llc>div {
  color: black;
}

.our-service-llc>div.active {
  color: #008fd2;
}

div.margin {
  margin-bottom: 1em;
}

p.emodal {
  padding: 0.4em 0.8em;
  background: #d3d4da;
  cursor: pointer;
  color: #444;
  font-size: 12pt;
  text-shadow: 0 1px 0 hsla(0, 0%, 100%, 0.5);
  margin: 0;
}

div.margin>p {
  padding: 0.4em 0.8em;
  background: #d3d4da;
  cursor: pointer;
  color: #444;
  font-size: 12pt;
  text-shadow: 0 1px 0 hsla(0, 0%, 100%, 0.5);
  margin: 0;
}

div.margin>p:hover {
  background-color: #47bffc;
}

.services_h {
  margin-bottom: 20px;
  text-align: center;
}

.margin>div {
  display: none;
  background: url("/wp-content/themes/fiveplus/img/cletka-uslugi.png");
  padding: 0.4em 0.8em;
  border: 2px solid #47bffc;
  font-family: "Montserrat", sans-serif;
}

.margin>div>table {
  margin-top: 10px;
  color: #666;
  text-shadow: 1px 1px 0 #fff;
  background: #eaebec;
  margin: auto;
  border: 1px solid #ccc;
  border-collapse: separate;
  text-align: center;
  border-spacing: unset;
  font-family: "Montserrat", sans-serif;
}

.margin>div>table>tbody>tr>td {
  padding: 18px;
  border-color: #fff #fff #e0e0e0 #e0e0e0;
  border-style: solid;
  border-width: 1px;
  background: -moz-linear-gradient(top, #fbfbfb, #fafafa);
  text-align: center;
}

section.docs {
  display: flex;
  flex-direction: column;
}

.docs a {
  display: flex;
  align-items: center;
  padding: 5px;
  margin: 10px 0;
  text-decoration: none;
  color: #000;
}

.docs a:hover {
  background-color: #47bffc;
  opacity: 0.8;
}

.docs img {
  margin-right: 10px;
  min-width: 30px;
}

.noLink {
  pointer-events: none;
}

.docs div {
  border-left: 1px solid #000;
  background: 0;
  margin: 1em;
  display: flex;
  flex-direction: column;
}

.education {
  padding: 0.4em 2.4em !important;
}

.margin>div>h2 {
  text-align: center;
}

.education p:nth-child(6) strong {
  color: #47bffc;
}

.education p {
  line-height: 25px;
  margin-bottom: 15px;
  text-align: justify;
}

.section_costs.container tr:nth-child(2n + 1) {
  background-image: url("/wp-content/themes/fiveplus/img/cletka-uslugi.png");
}

.section_costs.container td:first-child {
  text-align: center;
  min-width: 100px;
  font-family: "webFont";
}

.section_costs.container td:nth-child(2) {
  font-size: 20px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  min-width: 215px;
  width: 100%;
  padding-left: 25px;
}

.section_costs.container td:nth-child(3) {
  text-align: center;
  color: red;
  min-width: 200px;
}

.section_costs.container td {
  border-color: #008fd2;
  border-style: solid;
  border-width: 3px 4px;
  padding: 10px;
}

.section_costs.container table {
  font-size: 36px;
  font-family: "webFont";
}

table {
  border-collapse: collapse;
  border-spacing: unset;
}

.table_top,
.table_top span {
  font-family: "webFont" !important;
  color: red;
}

.table_top {
  border-top: 4px solid #008fd2;
  border-bottom: 5px solid #008fd2;
  text-align: center;
  line-height: 27px;
  font-size: 36px !important;
}

.section_costs {
  margin-top: 90px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1334px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.flex-container-between {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1em;
}

.flex-container-between a {
  font-size: 14px;
}

.calendar_container {
  display: flex;
  font-weight: 700;
  height: 70px;
  margin-top: 10px;
}

.calendar_container_p {
  margin-left: 15px;
  display: flex;
  height: 75px;
  flex-direction: column;
  justify-content: space-around;
}

.file {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #62b9e7;
  border-radius: 50%;
  width: 80px;
  height: 75px;
  margin: auto;
  background-image: url("/wp-content/themes/fiveplus/img/circle-cletka.png");
}

.calendar_container_p>p {
  margin: 0;
}

.file:hover {
  background-color: #62b9e7;
}

.cost_p {
  font-size: 24px;
  font-weight: 700;
}

.margin-top-40px {
  margin-top: 40px;
  margin-bottom: 0;
}

.margin-bottom-50px {
  margin-bottom: 50px;
  margin-top: 0;
}

.OurServices_StartTraining {
  cursor: pointer;
  transition: all 0.3s ease-out 0s;
  padding: 17px 65px;
  font-size: 21px;
  font-weight: 700;
  border-radius: 15px;
  background-color: #f08e91;
  color: #fff;
  text-decoration: none;
}

.OurServices_StartTraining:hover {
  background: red;
}

.special-disc {
  background: url("/wp-content/themes/fiveplus/img/cletka-uslugi.png");
  display: flex;
}

.special-disc>div {
  margin: 1em auto;
  font-size: 18px;
  font-weight: 500;
  line-height: 40px;
  width: 100%;
  max-width: 1140px;
  padding: 10px;
}

.special-disc>div>p {
  margin: 0;
}

h2.red-title {
  color: red;
  font-family: "webFont";
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 36px;
}

p.collapse {
  cursor: pointer;
  /* background-color: rgba(107, 213, 255, 0.705); */
  padding: 10px;
  margin-top: 5px;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

div.collapse_text {
  padding: 10px;
  /* background-color: rgba(107, 213, 255, 0.705); */
}

p.collapse.active div {
  display: block;
}

.collapse_text h2 {
  color: #000;
  text-align: center;
  font-family: "webFont";
}

div.maps-filials#zavolga {
  display: none;
}

div.maps-filials#zasviaga {
  display: none;
}

div.maps-filials#kindyakovka {
  display: none;
}

div.maps-filials#silikatny {
  display: none;
}

div.maps-filials#dimitrovgrad {
  display: none;
}

.filials-container.city>ul.active {
  background-color: #aee3fc;
}

.filials_h2 {
  color: red;
  font-family: "webFont";
  text-align: center;
  margin-top: 45px;
  margin-bottom: 30px;
  font-size: 36px;
}

.OurServices_Bottom_Wrapper {
  max-width: 1344px;
  margin: auto;
  display: flex;
  justify-content: space-around;
  align-items: baseline;
}

.OurServices_Bottom_Wrapper div {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-align: center;
  max-width: 200px;
  transition: all 0.3s ease-out 0s;
  opacity: 0.5;
  margin-bottom: 0.8em;
}

.OurServices_Bottom_Wrapper div:hover {
  opacity: 1;
}

.OurServices_Bottom_Wrapper a {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  text-decoration: none;
  color: black;
}

.OurServices_Bottom_Wrapper span {
  font-weight: 500;
  font-size: 18px;
  line-height: 20px;
  margin-top: 0.3em;
}

.OurServices_Bottom_Wrapper img {
  width: 100%;
  max-width: 95px;
  margin: auto;
}

h2.services_h {
  width: 100%;
  max-width: 1344px;
}

.advice li:nth-child(2n + 1) {
  background-image: url("/wp-content/themes/fiveplus/img/cletka-uslugi.png");
}

ul.advice {
  padding: 0;
}

.advice .container {
  margin: 0 20%;
}

.advice h2 {
  color: red;
  font-family: "webFont";
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 36px;
}

.advice span {
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  background-color: #008ad1;
  width: 25px;
  display: block;
  height: 25px;
  margin-right: 1em;
}

.advice span:before {
  content: "\2714";
  display: block;
  text-align: center;
}

.container.divflex div {
  display: flex;
  align-items: center;
}

.advice li {
  padding: 10px 0 35px;
}

.advice li p {
  margin-left: 10px;
  font-size: 18px;
  font-weight: 500;
  line-height: 40px;
}

.width630 img {
  width: auto;
  height: 45px;
}

.bg-azure {
  padding: 10px 30px;
  background-color: #008ad1;
}

.width630 {
  margin: 25px 0;
  border: 3px solid #008ad1;
  display: flex;
  align-items: center;
  width: 630px;
  text-decoration: none;
  color: black;
}

.width630:hover {
  color: white;
  background: #008ad1;
}

.flex-between,
.flex-between-doc {
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  width: 100%;
  max-width: 1344px;
  margin: auto;
}

.height135 .bg-azure {
  padding: 43px 30px;
}

.width630 p {
  width: 100%;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  padding-left: 10px;
  margin: 0;
}

.marching-cards-block {
  width: 100%;
  max-width: 1344px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.marching-cards-block a {
  width: 29.33%;
  margin: 1% 2%;
  height: 290px;
}

.marching-cards-block img {
  width: 100%;
}

.photo-block {
  width: 100%;
  max-width: 1046px;
  margin: auto;
}

.awards {
  height: auto;
  width: 100%;
  background-color: #0089d2;
}

.awards-img {
  display: flex;
  align-items: baseline;
  justify-content: space-around;
  align-items: center;
  margin: auto;
}

.awards-img img {
  margin-top: 25px;
  width: auto;
  height: 150px;
  margin-bottom: 20px;
}

.strong-content.strong-paginated.strong-normal {
  width: 100%;
  max-width: 915px;
  background: url("/wp-content/themes/fiveplus/img/Our-services-layer.0327f476.png");
  border-radius: 40px;
  background-color: #cdf0ff;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: auto;
}

.strong-content.strong-paginated.strong-normal>div {
  display: block;
  box-shadow: 0 13px 20px 0 rgba(50, 50, 50, 0.31);
  width: 90%;
  margin: 1em auto;
  background-color: #d9eef8;
  border: 4px inset transparent;
}

.strong-content.strong-paginated.strong-normal>div>div {
  border: none;
  text-align: center;
}

.strong-content.strong-paginated.strong-normal h3 {
  font-size: 21px;
}

.strong-view.wpmtst-default .strong-content {
  padding: 20px;
}

.strong-content.strong-paginated.strong-normal>div:hover {
  border-left-color: beige;
  border-top-color: beige;
}

.wpmtst-testimonial-field.testimonial-field {
  font-weight: bold;
}

.strong-view.wpmtst-default .wpmtst-testimonial-content p:last-of-type {
  font-weight: 500;
  font-size: 20px;
}

.content.text_18px {
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
}
.strong-view ul.simplePagerNav {
  overflow: hidden;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  white-space: nowrap;
  display: flex;
  justify-content: flex-start;
  overflow-x: scroll;
}

.strong-view ul.simplePagerNav::-webkit-scrollbar {
  display: none;
}

.strong-view ul.simplePagerNav a {
  font-size: 30px;
  cursor: pointer;
  margin: 25px 10px;
  transition: all 0.3s ease-out 0s;
  border-bottom: 2px solid transparent;
  background: none;
  color: black;
}

.strong-form-inner {
  max-width: 915px;
  margin: auto;
}

form#wpmtst-submission-form>div>input {
  border: 3px solid #008ad1;
  font-weight: 500;
  font-size: 18px;
  padding: 17px;
}

form#wpmtst-submission-form>div>textarea {
  resize: none;
  padding: 10px;
  border: 3px solid #008ad1;
  font-size: 18px;
  font-weight: 500;
}

div.form-field.wpmtst-submit {
  text-align: center;
}

div.form-field.wpmtst-submit input, .wpcf7-form-control.wpcf7-submit.has-spinner  {
  border: 0;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease-out 0s;
  padding: 16px 0;
	 width: 100%;
  max-width: 343px;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  border-radius: 15px;
  background-color: rgba(255, 53, 60, 0.73);
  color: #fff;
  opacity: 0.8;
  cursor: pointer;
  margin: auto;
}

.bigText {
  font-size: 36px;
  font-weight: 700;
  text-decoration: none;
}

.space-around div {
  text-align: center;
}

.space-around h2 {
  font-family: "WebFont";
  font-size: 40px;
  text-align: center;
  margin-bottom: 20px;
}

div.form-field.wpmtst-submit input:hover {
  opacity: 1;
  background: red;
}

.privacy-policy>p,
h2 {
  width: 100%;
  max-width: 1344px;
  margin: auto;
  text-align: center;
  margin-bottom: 1em;
}

a.all-button {
  display: none;
}

.block-all-button {
  display: none;
  width: 100%;
  justify-content: space-around;
  margin-top: 1em;
}

.error-404.not-found {
  background: url("/wp-content/themes/fiveplus/img/cletka-uslugi.png");
  height: auto;
}

.error-404.not-found>div {
  max-width: 1334px;
  margin: auto;
}

.error-404.not-found>div h1 {
  margin-top: 35px;
  color: red;
  font-family: "WebFont";
  font-size: 27px;
  padding-top: 2em;
}

.error-404.not-found>div p {
  padding-bottom: 2em;
  color: #008fd2;
  font-style: initial;
  font-size: 19px;
  font-weight: 500;
}

.error-404.not-found>div a {
  color: red;
  font-family: "WebFont";
  font-size: 29px;
}

div#popmake-266 {
  background-image: url("/wp-content/themes/fiveplus/img/Our-services-layer.0327f476.png"),
    url("/wp-content/themes/fiveplus/img/girl-car.png");
  background-size: cover;
  background-repeat: no-repeat;
}

#pum_popup_title_266 {
  text-align: center;
}

div#popmake-266 form>div.form-call-back-static {
  text-align: center;
}

div#popmake-266 form>div>label>span>input {
  text-decoration: underline;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 20px 0;
  border: 2px solid #008ad1;
  width: 100%;
  padding: 15px 33px;
  background: white;
  max-width: 530px;
}

div#popmake-266 form>div>p>label>span>select {
  text-decoration: underline;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 20px 0;
  border: 2px solid #008ad1;
  width: 100%;
  padding: 15px 33px;
  max-width: 530px;
  background: white;
}

div#popmake-266 form>div>p>label>span>input {
  text-decoration: underline;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 20px 0;
  border: 2px solid #008ad1;
  width: 100%;
  padding: 15px 33px;
  max-width: 530px;
}

.onlinestuding-content {
  width: 100%;
  max-width: 1334px;
  margin: auto;
}

div#popmake-266 form>div>p>input {
  border: 0;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease-out 0s;
  padding: 16px 0;
  max-width: 343px;
  font-weight: 700;
  font-size: 20px;
  border-radius: 15px;
  background-color: rgba(255, 53, 60, 0.73);
  color: #fff;
  opacity: 0.8;
  width: 100%;
  margin: auto;
}

p.popup-text-p {
  color: red;
  margin: 37px 0;
  font-size: 24px;
  font-family: "WebFont";
  text-align: center;
}

.messangare-footer {
  display: flex;
  flex-wrap: wrap;
}

.messangare-footer>a.whatsapp-icon {
  margin-left: 1em;
}

.messangare-footer>a>i {
  color: white;
  font-size: 32px;
}

.messangare-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.messangare-contacts>a>i {
  font-size: 32px;
}

.messangare-contacts>a.telegram-icon>i {
  color: #36acf2;
}

.messangare-contacts>a.whatsapp-icon>i {
  color: #43d854;
  margin-left: 1em;
}

.working_mode {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.working_mode p {
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  padding: 0;
  margin: 0;
}

.working_mode p:nth-child(2) {
  padding-top: 5px;
  padding-bottom: 5px;
}


.form-contacts-page {
  width: 100%;
  max-width: 1344px;
  margin: auto;
}

.form-contacts-page>div>form>p {
  text-align: center;
}

.form-contacts-page>div>form>p>span>input {
  text-decoration: underline;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: auto;
  border: 2px solid #008ad1;
  width: 100%;
  padding: 15px 33px;
  max-width: 320px;
  background: white;
  margin-bottom: 1em;
}

.form-contacts-page>div>form>p>input.wpcf7-form-control {
  border: 0;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease-out 0s;
  padding: 16px 0;
  max-width: 343px;
  font-weight: 700;
  font-size: 20px;
  border-radius: 15px;
  background-color: rgba(255, 53, 60, 0.73);
  color: #fff;
  opacity: 0.8;
  cursor: point;
  margin: auto;
  width: 100%;
}

.form-contacts-page>div>form>p>input.wpcf7-form-control:hover {
  background-color: red;
  opacity: 1;
}



@media only screen and (max-width: 1380px) {
  .content-container {
    width: 95%;
  }
  .filials-container>ul {
    width: 25%;
  }
  .filials-container>hr {
    display: none;
  }
  
}

@media only screen and (max-width: 1320px) {
  .video {
    display: flex;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
  }
  .margin_top_25px>img {
    margin: 15px 70px;
 }
 .form-contacts-page {
  max-width: 80%;
 }
 
}


@media only screen and (max-width: 1024px) {
  .footer-social-text {
    margin-bottom: 0em;
   }
  .redBox {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  a.AdditionalLessons_Url {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .block-info-btn__wrapp {
    position: absolute;
    margin: 0;
    top: 95%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }

  .block-all-button {
    display: flex;
  }

  .map_block_wrapper>.map_container.container iframe {
    margin-bottom: 2em;
  }

  .map_block_wrapper>.map_container.container {
    flex-wrap: wrap;
  }

  .margin_top_25px>img {
    margin-bottom: 1em;
  }
  .data>.data_container {
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .information-container {
    justify-content: space-around;
  }

  .all-information-aboyt-category {
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .category_Links {
    padding: 10px;
  }

  .section_costs {
    padding: 10px;
  }

  .OurServices-Bottom-Wrapper>a>li {
    font-size: 16px;
  }

  .content-container {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: flex-end;
  }

  .conten-text {
    display: flex;
    text-align: center;
    margin-top: 2em;
  }

  .conten-img {
    display: flex;
  }

  .block-info.image {
    background-size: cover;
    background-position: center center;
    height: 450px;
    margin-top: 3px;
  }

  .OurServices-Span-Text3 {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .OurServices-Container {
    width: 100%;
    padding: 0;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  .OurServices-Container>li {
    max-width: 221px;
  }

  .OurServices-Container-Transport {
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .OurServices-Container>li>div>span {
    font-size: 22px;
  }

  .OurServices-Bottom-Wrapper {
    width: 67%;
    flex-wrap: wrap;
  }

  .OurServices-Bottom-Wrapper>a {
    margin-bottom: 1em;
  }

  .OnNote-Wrapper-container {
    flex-direction: column;
    align-items: center;
  }

  .filials-wrapper>.filials-container {
    flex-wrap: wrap;
  }

 

  .filials-container>ul {
    width: 48%;
    border-right: 2px solid #fff;
    justify-content: space-between;
  }

  /* .filials-container>ul>a {
    display: none;
  } */

  .filials-container>ul>a.filials_Button {
    opacity: 1;
  }
  .all-button {
    display: block !important;
    cursor: pointer;
    overflow: hidden;
    align-self: center;
    transition: all 0.3s ease-out 0s;
    font-size: 17px;
    text-align: center;
    font-weight: 700;
    border-radius: 15px;
    border: 1px solid #008fd2;
    width: 100%;
    padding: 10px 0;
    background-color: #fff;
    color: #008fd2;
    max-width: 350px;
  }
  #city > div.block-all-button {
    display: none;
  }

  .main-footer {
    width: 90%;
  }

  .footer-social-text {
    margin: 0;
    flex-direction: row;
    margin-bottom: 3em;
    max-width: 1024px;
    width: 100%;
    justify-content: space-between;
  }

  .our-service-llc {
    padding: 10px;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .element-llc-content-one {
    padding: 10px;
  }

  .our-service-llc>div {
    margin-bottom: 1em;
  }

  .service-container>.category-container {
    justify-content: space-around;
  }

  .stock-studing {
    justify-content: space-around;
    padding: 10px;
  }

  .OurServices_Bottom_Wrapper {
    flex-wrap: wrap;
    padding: 1em;
  }
  .OurServices-Container-Transport {
    justify-content: center;
}
  .OurServices-Container-Transport > div {
    margin: 20px;
  }
  

  h2.services_h {
    font-size: 18px;
    margin-top: 1em;
  }

  .OurServices-CategoryOfRights>span {
    margin-right: 10px;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .OurServices-CategoryOfRights {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
    font-size: 20px;
    flex-wrap: wrap;
  }

  .working_mode {
    align-items: flex-end;
  }

  .footer-social-text_inner {
    width: 50%;
  }

  .working_mode {
    width: 50%;
    align-items: flex-end;
  }

  .working_mode p {
    padding: 5px 0;
  }

  .social-footer {
    flex-wrap: wrap;
    margin-top: 7px;
  }

  .OurServices-Wrapper.image2 > div > ul > li:nth-child(1) > div > img {
    top: -6px;
  }
 .OurServices-Wrapper.image2 > div > ul > li:nth-child(2) > div > img {
   left: -35px;
 }

 .OurServices_Bottom_Wrapper div {
  max-width: 27%;
  width: 100%;
 }


}



@media(max-width:980px){
  .information_block_bottom .margin_top_25px {
    flex-wrap: nowrap;
    overflow: hidden;
    overflow-x: scroll;
    justify-content: flex-start;
  }
}

@media only screen and (max-width: 780px) {
  .OurServices-Bottom-Wrapper>a>li {
    font-size: 15px;
  }

  .video {
    width: 90%;
  }

  .OnNote_TextAlignCenter {
    flex-direction: column;
  }

  .working_mode p {
    font-size: 14px;
  }

  .social-footer>span {
    font-size: 14px;
  }

  .main-footer {
    width: 96%;
  }
  .footer-block {
    padding-bottom:0;
  }
  .footer-social-text {
    margin-bottom: 1em;
  }
}

@media only screen and (max-width: 650px) {
  .footer-social-text {
    width: 100%;
  }

  .footer-social-text_inner p {
    font-size: 12px;
  }

  .footer-social-text_inner span {
    font-size: 12px;
  }

  .footer-social-text_inner a {
    font-size: 12px;
  }

  .messangare-footer p {
    font-size: 12px;
  }

  .working_mode {
    width: 45%;
  }

  .working_mode p {
    font-size: 12px;
    text-align: right;
  }

  .footer-social-text {
    width: 97%;
    margin: 0 auto;
  }
  .margin_top_25px>img {
    margin: 15px 15px;
  }
}

@media only screen and (max-width: 600px) {
  .OurServices-Container {
    width: 57%;
    padding: 0;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto;
  }

  .OnNote_TextAlignCenter>img {
    width: 90%;
  }

  .OnNote_TextAlignCenter>a>img {
    width: 90%;
  }

  .formOnStuding_block>div>form>div>label>span>input {
    max-width: 575px;
    width: 100%;
    margin: 0 5px;
  }

  .formOnStuding_block>div>form>div>label {
    max-width: 575px;
    width: 100%;
    margin: 0 5px;
  }
}

@media only screen and (max-width: 520px) {
  .OurServices-Bottom-Wrapper {
    justify-content: space-around;
    width: 100%;
  }

  .filials-wrapper>.filials-container {
    flex-direction: column;
    align-items: center;
  }

  .filials-container>ul {
    width: 100%;
  }

  .OnNote_Contacts_Logo {
    width: 100%;
    max-width: 265px;
    flex-wrap: wrap;
  }

  .OnNote_Container {
    align-items: center;
  }

  .filials-container>ul {
    border-right: 0;
  }

  .form-call-back-static {
    margin: 0 10px;
  }

  section.docs.special-discipline div {
    border: none;
    width: 100%;
    margin: auto;
    text-align: center;
  }

  .docs a {
    flex-direction: column;
    width: 100%;
  }
  .OurServices_Bottom_Wrapper div {
    max-width: 35%;
    width: 100%;
 }
 .form-contacts-page {
    max-width: 90%;
  }
  .OurServices-Container>li {
    position: relative;
    max-width: 85%;
    width: 100%;
    margin-bottom: 15px;
 }
 .OurServices-Wrapper.image2 > div > ul > li:nth-child(1) > div > img {
  top: 0px;
  right: -4px;
  position: absolute;
  left: auto;
}
.OurServices-Wrapper.image2 > div > ul > li:nth-child(2) > div > img {
  left: auto;
  right: -10px;
}
.OurServices-Container>li>div>img {
  position: absolute;
  top: 8px;
  left: auto;
  right: -5px;
}
.OurServices-Container {
  width: 80%;
}

}

@media only screen and (max-width: 480px) {
 
  .social-footer {
    justify-content: flex-start;
  }

  .footer-social-text_inner a {
    width: 60px;
  }
  .margin_top_25px>img {
    margin: 5px 5px;
  }
  .footer-text>div>ul>li>a {
    font-size: 8px;
  }

  .logo-footer {
    width: 100%;
    margin-bottom: 1em;
    text-align: center;
  }

  .section_costs.container td:first-child {
    min-width: 50px;
    max-width: 50px;
    width: 30px;
    padding: 0;
  }

  .section_costs.container td:nth-child(2) {
    min-width: 184px;
    max-width: 184px;
    font-size: 10px;
  }

  .section_costs.container td:nth-child(3) {
    min-width: 80px;
    max-width: 80px;
    font-size: 16px;
    padding: 0;
  }

  .margin>div>table {
    font-size: 12px;
  }

  .bigText {
    font-size: 30px;
  }

  .block-info-btn__wrapp {
    width: 100%;
  }

  .footer-social-text_inner span {
    font-size: 8px;
  }

  .working_mode p {
    font-size: 8px;
  }

  .footer-social-text_inner p {
    font-size: 8px;
    width: 89%;
  }

  .social-footer>a>img {
    width: 25px;
  }

  .messangare-footer>a>i {
    font-size: 25px;
  }

  .footer-social-text_inner a {
    width: 42px;
    padding-top: 5px;
    font-size: 8px;
  }

  .footer-social-text_inner {
    width: 48%;
  }
  .form-contacts-page {
    max-width: 90%;
    margin: 0;
    margin-left: 10px;
}
}

@media only screen and (max-width: 440px) {
  ul.simplePagerNav {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: space-around;
  }

  .formOnStuding_block>div>form {
    padding: 10px;
  }

  .advice h2 {
    font-size: 32px;
  }

  .advice .container {
    margin: 0px 8%;
  }

  .advice li p {
    font-size: 12px;
  }

  .OurServices_Bottom_Wrapper {
    align-content: space-around;
  }

  .OurServices_Bottom_Wrapper div {
    max-width: 170px;
    width: 100%;
    margin-bottom: 1em;
  }

  .cost_p {
    font-size: 18px;
  }

  .OurServices_StartTraining {
    padding: 15px;
  }

  .section_costs.container td:nth-child(2) {
    padding: 0;
  }

  .section_costs.container td:first-child {
    font-size: 26px;
  }

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

  .d440 {
    display: none;
  }

  .stock-studing>.studing>a {
    padding: 6px;
    width: 96%;
  }

  a.Category_Button {
    padding: 6px;
    width: 96%;
  }

  .stock>table.action_table tr {
    display: flex;
    flex-direction: column;
  }

  .block-text-picture {
    text-align: justify;
    font-size: 16px;
  }

  a.category_link {
    width: 100%;
  }

  .block-text-picture>div {
    width: 100%;
    background-size: contain;
  }

  .service-container>.category-container {
    padding: 10px;
  }

  .stock-studing>.studing>p {
    width: 100%;
  }

  .stock-studing>.studing {
    width: 100%;
  }

  .block-info.image {
    background: url(/wp-content/themes/fiveplus/img/contentbg-mobile.14f7e2be.webp) no-repeat;
    background-size: 100% 100%;
  }

  .OurServices-CategoryOfRights>span {
    margin-right: 0;
    width: 100%;
    text-align: center;
    margin-bottom: 1em;
  }

  .OurServices-CategoryOfRights {
    flex-wrap: wrap;
    margin-bottom: 1em;
  }

  .OurServices-CategoryOfRights>a {
    margin-bottom: 1em;
  }

  .OurServices-Container {
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .OurServices-Container>li {
    width: 100%;
  }

  .OurServices-Container>li>div>span {
    font-size: 18px;
  }

  .OurServices-Container-Transport {
    width: 85%;
  }

  p.OurServices-RedText {
    text-align: center;
  }



  .OurServices-Bottom-Wrapper {
    width: 78%;
  }

  .OurServices-Bottom-Wrapper>a>li {
    font-size: 15px;
  }

  .OurServices-Bottom-Wrapper>a {
    width: 49%;
  }

  .conten-img>img {
    width: 82%;
    margin: auto;
  }



}

@media only screen and (max-width: 428px) {
  .form-contacts-page>div>form>p>span>input {
    max-width: 80%;
  }
  .OurServices-Bottom-Wrapper {
    width: 90%;
  }

  section.docs.special-discipline {
    flex-direction: column !important;
  }

  section.docs.special-discipline>a {
    width: 96% !important;
  }

  .OurServices-Bottom-Wrapper>a {
    width: 41%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .OurServices-Bottom-Wrapper>a>li {
    font-size: 12px;
  }

  .OurServices-Bottom-Wrapper>a>img {
    max-width: 100px;
    width: 100%;
    height: 100px;
  }
 
}

@media only screen and (max-width: 390px) {
  .OurServices-Container {
    width: 90%;
  }
  .bigText {
    font-size: 26px;
  }

  .footer-text>div>ul>li>a {
    font-size: 7px;
  }

  .OurServices-Bottom-Wrapper>a>img {
    width: 100%;
  }

  .main-block-avto {
    width: 97%;
    margin: 0 auto;
  }

  .phone-number-footer {
    width: 80%;
  }

  .block-all-button {
    width: 98%;
  }

  .filials-wrapper>h2 {
    width: 98%;
  }
  .margin_top_25px>img {
    width: 165px;
    height: 215px;
  }
  .OurServices-Container {
    width: 97%;
 }
}

@media only screen and (max-width: 375px) {
  .OurServices_Bottom_Wrapper div {
    max-width: 125px;
    width: 100%;
    margin-bottom: 1em;
  }

  h3.OnNote_Contacts_Logo {
    font-size: 16px;
  }

  .filials-container>ul>li>p {
    font-size: 12px;
  }

  .OurServices-Bottom-Wrapper>a>img {
    width: 100%;
  }

  .block-info-btn__wrapp .start_learning_btn a {
    font-size: 16px;
  }

  .OurServices-Bottom-Wrapper {
    width: 100%;
  }

  .OurServices-Bottom-Wrapper>a {
    width: 41%;
  }

  .OurServices_Bottom_Wrapper span {
    font-size: 12px;
  }
 
}

@media only screen and (max-width: 320px) {
  .space-around h2 {
    font-size: 34px;
  }

  .block-info-btn__wrapp .start_learning_btn a {
    font-size: 14px;
  }

  .all-button {
    width: 95%;
  }

  .section_costs img {
    width: 100%;
  }

  .bigText {
    font-size: 21px;
  }

  div.form-field.wpmtst-submit input {
    width: 270px;
  }

  .OurServices-Bottom-Wrapper>a>img {
    width: 100%;
  }

  .price-block>p {
    text-align: center;
  }

  a.OurServices-StartTraining {
    padding: 15px;
  }

  h3.OnNote_Contacts_Logo {
    font-size: 14px;
  }

  h3.OnNote_Contacts_Logo>a>img {
    width: 22px;
  }

  .social-footer>a>img {
    width: 23px;
  }

  .main-footer>ul {
    width: 33%;
  }

  .filials-container>ul>h3 {
    font-size: 12px;
  }

  .margin>div>table {
    font-size: 9px;
  }

  .OurServices-Bottom-Wrapper>a {
    width: 45%;
  }
}

.navyk,
.learn,
.duplicate {
  width: 100%;
}

section.docs.special-discipline {
  display: flex;
  justify-content: space-around;
  flex-direction: inherit;
}

section.docs.special-discipline>a {
  flex-direction: column;
  width: 50%;
  justify-content: space-between;

}

section.docs.special-discipline div {
  border: none;
  width: 50%;
}

img.img-for-link {
  background: inherit;
  margin: auto;
  max-width: 150px;
}

.special-disc.restoring-driving-skills .container h1 {
  text-align: center;
}

.special-disc.restoring-driving-skills .container ul > li {
  list-style: none;
}
.special-disc.restoring-driving-skills .container ul > li > span {
  margin-right: 10px;
}


.simplePagerList {
  position: relative;
  height: 100px;
}

.pagination-wrapp {
  position: absolute;
  max-width: 300px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 0;
  bottom: -12%;
  left: 53%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
}

.pagination-arrow-right {

  background: #999;
  border: 1px solid #fff;
  color: #fff;
  width: 55px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
  cursor: pointer;
}

.pagination-arrow-right:before {
  content: '→';
}

.pagination-arrow-left {
  background: #999;
  border: 1px solid #fff;
  color: #fff;
  width: 55px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
  cursor: pointer;
}

.pagination-arrow-left:before {
  content: '←';
}


.wrapp-img-cost-box {
  max-width: 340px;
  width: 100%;
  height: 210px;
  margin-top: 40px;
}
.wrapp-img-cost-box img {
  display: flex;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media(max-width:980px){
  .pagination-arrow-left {
    left: 43%;
  }
  .pagination-arrow-right {
    left: 55%;
  }
  .awards-img img {
   max-height: 85px;
   height: 100%;
   width: auto;
  }
}


@media(max-width:820px){
  .strong-view ul.simplePagerNav {
    width: 75%;
  }
}

@media(max-width:540px){
  .strong-view ul.simplePagerNav {
    width: 75%;
}
.pagination-arrow-right {
  left: 65%;
}
.pagination-arrow-left {
  left: 32%;
}

}

@media(max-width:780px){
  .OurServices-Bottom-Wrapper {
      justify-content: space-around;
  }
  
  .OurServices-Bottom-Wrapper>a {
      height: 250px;
      max-width: 180px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
  }
  .OurServices-Bottom-Wrapper>a>img {
      max-width: 180px;
      width: 100%;
      height: 180px;
  }
}

@media(max-width:620px){
  .OurServices-Bottom-Wrapper {
      width: 75%;
          justify-content: space-between;
  }
  
}


@media(max-width:520px){
  .OurServices-Bottom-Wrapper>a>img {
    max-width: 130px;
    width: 100%;
    height: 130px;
}
.OurServices-Bottom-Wrapper>a {
  height: 227px;
  max-width: 140px;
}
}

@media(max-width:460px){
  .OurServices-Bottom-Wrapper>a>img {
    max-width: 100px;
    width: 100%;
    height: 100px;
}
.OurServices-Bottom-Wrapper>a {
  height: 180px;
  max-width: 155px;
  align-items: center;
  margin-bottom: 20px;
}
}


@media(max-width:420px){
  .OurServices-Container {
    width: 85%;
}
.OurServices-Container>li>div {
  justify-content: space-between;
}
.OurServices-Container>li {
  max-width: 328px;
  width: 100%;
}
.OurServices-Container>li>div>img {
  top: 25px;
}
.margin_top_25px {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  flex-wrap: nowrap;
}

.margin_top_25px img {
  flex: 0 0 auto;
  margin-right: 10px;
  scroll-snap-align: start;
}

.margin_top_25px {
  justify-content: flex-start;
  padding-bottom: 10px;
}
  .awards-img img {
    width: 90px;
    height: 110px;
  }
  .OurServices-Bottom-Wrapper {
    width: 90%;
  }
  .OurServices-Bottom-Wrapper {
    justify-content: space-around;
  }
  .OurServices-Bottom-Wrapper>a {
    height: 160px;
    align-items: center;
    justify-content: flex-start;
  }
  .OurServices-Bottom-Wrapper>a>img {
    height: 100px;
    width: 80%;
  }
  .OurServices-Bottom-Wrapper>a>li {
    font-size: 12px;
    margin-top: 10px;
}

}

@media(max-width:390px){
  table.cost_box_table {
    width: 305px;
  }
  .all-information-aboyt-category>div {
    max-width: 305px;
  }
  .redBox {
    font-size: 14px;
    width: 264px;
  }
  .formOnStuding_block>div>form>div>p>label>span>select {
    padding: 15px 0;
  }
  .formOnStuding_block>div>form>div>p>label>span>input {
    padding: 15px 3px;
  }
  .text-categories-prava {
    width: 95%;
  }
}


@media(max-width:375px){
 .wp-block-table.navyk > table > tbody > tr > td.has-text-align-center {
    min-width: 161px;
 }
 .wp-block-table.navyk > table > tbody > tr > td:nth-child(3) {
     min-width: 70px;
  }
  #page > section > figure.wp-block-table.table_costs > table > tbody > tr > td:nth-child(1) {
    min-width: 30px;
  }
  .section_costs.container td:first-child {
    font-size: 20px;
  }
  .section_costs.container td:nth-child(3) {
    min-width: 60px;
  }
  .section_costs.container td:nth-child(2) {
    min-width: 170px;
  }
  .pagination-wrapp {
    max-width: 300px;
    left: 50%;
}
.awards-img img {
  width: 75px;
  height: 90px;
}
.OurServices-Container {
  width: 100%;
}
.OurServices-Container>li {
  max-width: 90%;
} 

.OurServices-Container>li>div>img {
  top: 40px;
}
.OurServices-Wrapper.image2 > div > ul > li:nth-child(1) > div > img {
  top: 20px;
}
.OurServices-StartTraining {
  text-align: center;
}

}

@media(max-width:330px){
  .OurServices-Container>li>div>span {
    padding-right: 35px;
  }
      
}
.page-template-review_template .strong-view.wpmtst-default.strong-pager{
  display: block !important;
}
.review svg{
  width: 20px;
  fill: #ffb900;
}
.review{
  display: block;
  box-shadow: 0 13px 20px 0 rgba(50, 50, 50, 0.31);
  width: 90%;
  margin: 1em auto;
  background-color: #d9eef8;
  border: 4px inset transparent;
  padding: 20px;
  position: relative;
}
.review__name{
  font-size: 21px;
}
.review-text{
  font-size: 18px;
}
.reviews{
  margin: 20px auto 30px;
  width: 100%;
  max-width: 915px;
  background: url(/wp-content/themes/fiveplus/img/Our-services-layer.0327f476.png);
  border-radius: 40px;
  background-color: #cdf0ff;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: auto;
  padding: 20px;
}
.pagination{
  margin: 30px auto;
}
.nav-links{
  text-align: center;
}
.page-numbers{
  font-size: 20px;
  margin: 10px;
}



  /* Стили для всплывающего окна popup_uchebnii_centr*/
  .popup_uchebnii_centr_wrapp {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1999999999;
    overflow: initial;
    display: none;
    transition: .15s ease-in-out;
    background-color: rgba( 0, 0, 0, 0.60 );
  }
  #popup_uchebnii_centr {
      display: none;
      position: fixed;
      max-width: 900px;
      width: 100%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      padding: 20px;
      padding: 18px;
    border-radius: 3px;
    border: 1px solid #000000;
    box-shadow: 0px 0px 30px 0px rgba( 2, 2, 2, 1.00 );
    background-color: rgba( 255, 255, 255, 1.00 );
      z-index: 1000;
      flex-direction: column;
      justify-content: center;
      align-items:center;
      background-image: url(https://www.avto-shkola.net/wp-content/themes/fiveplus/img/Our-services-layer.0327f476.png), url(https://www.avto-shkola.net/wp-content/themes/fiveplus/img/girl-car.png);
    background-size: cover;
    background-repeat: no-repeat;
  }
  #popup_uchebnii_centr h2 {
    text-align: center;
    text-shadow: 0px 0px 0px rgba( 2, 2, 2, 0.23 );
    font-family: inherit;
    font-weight: 100;
    font-size: 32px;
    line-height: 36px;
    margin-bottom: 10px;
  }
  #popup_uchebnii_centr p {
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
    margin:10px 0 37px 0;
    font-size: 24px;
    font-family: "WebFont";
    text-align: center;
  }
  #popup_uchebnii_centr p a {
    color: #000000;
    text-align: left;
    text-shadow: 0px 0px 0px rgba( 2, 2, 2, 0.23 );
    font-family: inherit;
    font-weight: 100;
    font-size: 32px;
    line-height: 36px;
    margin:10px 0 10px 0;
    text-decoration: underline 2px solid #008ad1;
  }
  .closePopup_uchebnii_centr {
    position: absolute;
    height: 26px;
    width: 26px;
    left: auto;
    right: -13px;
    bottom: auto;
    top: -13px;
    padding: 0px;
    color: #ffffff;
    font-family: Arial;
    font-weight: 100;
    font-size: 20px;
    line-height: 20px;
    border: 0px solid #ffffff;
    border-radius: 26px;
    box-shadow: 0px 0px 15px 1px rgba( 2, 2, 2, 0.75 );
    text-shadow: 0px 0px 0px rgba( 0, 0, 0, 0.23 );
    background-color: rgba( 221, 51, 51, 1.00 );
    text-decoration: none;
    text-align: center;
    line-height: 1;
    cursor: pointer;
    min-width: 1em;
    z-index: 2;
  }
  @media(max-width:980px){
    #popup_uchebnii_centr {
      width: 90%;
    }
  }
  @media(max-width:740px){
    #popup_uchebnii_centr {
      width: 80%;
    }
  }

  @media(max-width:520px){

    #popup_uchebnii_centr h2 {
      font-size: 20px;
      line-height: 25px;
      width: 70%;
    }
    #popup_uchebnii_centr p {
    font-size: 20px;
    line-height: 22px;
  }
  #popup_uchebnii_centr p a {
    font-size: 20px;
    line-height: 22px;
  }
  }

  @media(max-width:420px){
    #popup_uchebnii_centr h2 {
      width: 80%;
    }
    #popup_uchebnii_centr p {
      width: 87%;
    }
  }

  @media(max-width:390px){
    #popup_uchebnii_centr h2 {
      width: 100%;
    }
  }