/*
  Theme Name: Stebnev-Studio-v-2
  Description: Персональная тема для клиента
  Author: Stebnev-Studio
  Author URI: http://stebnev-studio.ru
  Version: 1.9
*/

.catalog .bapf_no_products,
.catalog .braapfNotReplaced {
  display: none;
}

.catalog .bapf_body {
  margin-bottom: 15px;
}

.catalog_info-block .user_text ul,
.catalog_info-block .user_text ol {
  flex-direction: column;
  padding: 0;
}

.catalog_info-block .user_text ol {
  padding: 0;
  padding-left: 15px;
}

.catalog_info-block .user_text ol li {
  padding-left: 10px;
  line-height: 150%;
  color: #161616;
  margin-bottom: 10px;
  font-weight: 600;
}

.catalog_info-block .user_text a {
  color: #da432a;
}

.catalog_info-block .card_info-left ol li::before {
  content: unset !important;
}

.masters_card-link::before {
  content: "→";
}

.sale {
  padding-bottom: 0;
}

.course_literature-item.no_link:hover {
  color: #161616;
  text-decoration: unset;
}

/* .hid {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow-y: hidden;
  padding-bottom: 3px;
} */

/* .hid {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow-y: hidden;
  padding-bottom: 3px;
} */

.hid:after {
  content: "";
  position: absolute;
  bottom: 1px;
  right: 0;
  width: 90%;
  height: 20px;
  background: rgb(255, 255, 255);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 1) 80%);
  z-index: 0;
}

.course_reviews .hid:after {
  content: "";
  position: absolute;
  bottom: 1px;
  right: 0;
  width: 90%;
  height: 20px;
  background: rgb(22, 22, 22);
  background: linear-gradient(90deg, rgba(22, 22, 22, 0) 0%, rgba(22, 22, 22, 1) 60%);
  z-index: 0;
}

.open .hid:after {
  display: none;
}

.reviews_slide-text {
  --font: 16px;
  --line-height: 1.5;

  position: relative;
  max-height: calc(var(--font) * var(--line-height) * 5);
  min-height: calc(var(--font) * var(--line-height) * 5);
  font-size: var(--font);
  color: #6f6f6f;
  line-height: var(--line-height);

  overflow: hidden;

  scrollbar-width: thin;
  scrollbar-color: #6e6e6e transparent;
}

.open.reviews_slide-text {
  overflow: auto;
  padding-right: 5px;
  max-height: calc(var(--font) * var(--line-height) * 20);
}

.hid.reviews_slide-text {
  margin-bottom: 40px;
}

.reviews_slide-text::-webkit-scrollbar {
  width: 5px;
}

.reviews_slide-text::-webkit-scrollbar-track {
  background-color: transparent;
}

.reviews_slide-text::-webkit-scrollbar-thumb {
  background-color: #6e6e6e;
  border-radius: 5px;
}

.reviews_slide-text a {
  position: absolute;
  bottom: 0px;
  right: 0;
  background: #161616;
  padding: 0 5px 0 5px;
  z-index: 2;
  padding-bottom: 0;

  cursor: pointer;
}

.open.reviews_slide-text a {
  position: static;

  display: block;
  width: min-content;
}

.excerpt-hidden {
  height: 3.5rem;
  overflow: hidden;
  position: relative;
}

.excerpt-hidden:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, white 100%);
}

.excerpt-visible {
  height: auto;
  overflow: auto;
}

.cabinet_orders-item span {
  position: unset;
  top: unset !important;
  right: unset !important;
  width: unset !important;
}

.cabinet_orders-item {
  align-items: center;
}

.cabinet .product-quantity {
  visibility: hidden;
}

table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
  display: block;
  margin-bottom: 40px;
}

table.cabinet_orders-items {
  width: 100%;
  margin-bottom: 40px;
}

.news_inner-info .cabinet_exit {
  color: #161616 !important;
}

.news_inner-info .cabinet_exit:hover {
  color: #da432a !important;
}

.news_inner-info a:not(.cabinet_save-btn) {
  font-weight: normal;
}

.value1 {
  order: 1;
}

.value2 {
  order: 4;
}

.value3 {
  order: 2;
}

.value4 {
  order: 5;
}

.value5 {
  order: 3;
}

.grid_tarrif_item {
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-row-gap: 50px;
  /* grid-gap: 80px; */
}

select {
  display: block;
  font-size: 16px;
  font-family: "Gilroy";
  font-weight: normal;
  color: #161616;
  line-height: 20px;
  padding: 0.6em 1.6em 0.5em 0.8em;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #e4e4e4;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url(source/img/arrow_down.svg);
  background-repeat: no-repeat, repeat;
  background-position: right 0.7em top 50%, 0 0;
  background-size: 0.9em auto, 100%;
}

select::-ms-expand {
  display: none;
}

select:focus {
  border-color: #e4e4e4;
  box-shadow: unset;
  box-shadow: unset;
  color: #161616;
  outline: none;
}

select option {
  font-weight: normal;
}

*[dir="rtl"] select,
:root:lang(ar) select,
:root:lang(iw) select {
  background-position: left 0.7em top 50%, 0 0;
  padding: 0.6em 0.8em 0.5em 1.4em;
}

.catalog .catalog_aside-links ul {
  display: flex;
  flex-wrap: wrap;
  margin-right: 5px;
}

.catalog .catalog_aside-links label {
  border-radius: 20px;
  background: #e46c58;
  font-size: 16px;
  color: #ffffff;
  line-height: 20px;
  display: block;
  padding: 7px 20px !important;
  margin-right: 10px;
  transition: all 0.3s;
  margin-left: 0;
}

/* .catalog_aside-format {
  padding-bottom: 0; 
}*/

.catalog label {
  margin-left: 0 !important;
}

.catalog .catalog_aside-links label:hover {
  background: #161616;
}

.catalog .catalog_aside-links li:last-child label {
  margin-right: 0;
}

.catalog .catalog_aside-links .checked label {
  background: #161616;
  color: white;
}

.bapf_hideckbox li input:checked + label:hover,
.bapf_hideckbox li input:checked + label:hover a,
.bapf_hideckbox li label:hover,
.bapf_hideckbox li label:hover a {
  color: white;
}

.ui-widget.ui-widget-content {
  background: silver;
}

.bapf_ckbox input {
  display: none;
}

.hide {
  visibility: hidden;
}

.select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid #aaa;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #e4e4e4;
  box-sizing: border-box;
  border-radius: 3px;
  height: 49px;
  display: flex;
  align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 96%;
  width: 26px;
  background-color: #fff;
  background-image: url(source/img/arrow_down.svg);
  background-repeat: no-repeat, repeat;
  background-position: right 0.7em top 50%, 0 0;
  background-size: 0.9em auto, 100%;
}

.order_item.full {
  width: 100%;
  margin-top: 70px;
}

div#ui-datepicker-div {
  width: 300px;
  z-index: 9 !important;
}

.order_ways-ok {
  width: 100%;
  /* margin-bottom: 25px; */
}

.ui-datepicker table {
  background-color: white;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  visibility: hidden;
}

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

.woocommerce-MyAccount-navigation-link--customer-logout,
.cabinet p#billing_country_field,
.u-column2.col-2.woocommerce-Address,
.catalog .woocommerce-notices-wrapper,
.woocommerce-MyAccount-navigation-link--downloads,
#billing_company_field,
.product_meta,
.order-again {
  display: none;
}

.order_item .form-row {
  width: 100%;
}

.cabinet .woocommerce-notices-wrapper {
  font-size: 12px;
  text-align: left;
  padding: 0;
}

.cabinet_item {
  position: relative;
}

abbr[title] {
  text-decoration: unset;
}

.news_inner-info p {
  color: #6f6f6f;
}

.edit {
  float: right;
}

label.screen-reader-text {
  position: unset !important;
  height: auto;
  width: auto;
  overflow: unset;
  border: unset;
  clip: unset;
  clip-path: unset;
}

.cabinet button {
  /* background: none; */
  border: none;
  outline: none;
  cursor: pointer;
}

.cabinet_save-btn {
  background: none;
}

.single_variation_wrap .quantity {
  display: none !important;
}

.woocommerce-notices-wrapper {
  text-align: center;
  padding: 15px;
  line-height: 150%;
}

.woocommerce-form-login label,
.woocommerce-form-register label {
  margin: 0;
}

.woocommerce-password-strength {
  font-size: 11px;
}

.login .woocommerce-privacy-policy-text,
.woocommerce-password-hint {
  display: none;
}

.woocommerce-address-fields__field-wrapper {
  margin-bottom: 60px;
}

.woocommerce-address-fields__field-wrapper,
.EditAccountForm-grid {
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 80px;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.woocommerce-order-downloads,
.woocommerce-remove-coupon {
  display: none !important;
}

.order_item {
  align-items: flex-start;
  display: flex;
}

.cart-empty {
  padding-bottom: 10%;
}

.cart_right-value {
  text-align: center;
}

.woocommerce-notices-wrapper a,
.woocommerce-remove-coupon {
  color: #da432a;
  border-bottom: 1px solid;
  display: inline-block;
}

.woocommerce-notices-wrapper:empty {
  display: none;
}

/* .cabinet.policy .policy_сontent div {
  max-width: unset;
  margin: unset;
} */

/* .reviews_slide-text {
  position: relative;
}
.reviews_slide-text span{
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow-y: hidden;
}

.reviews_slide-text a { 
  position: absolute;
  bottom: 0;
  right: 0;
  background: #161616;
  padding: 5px;
  padding-bottom: 0;
} */

/* ЧЕКБОКСЫ */
input[type="checkbox"]:checked,
input[type="checkbox"]:not(:checked) {
  position: absolute;
  left: -9999px;
}

input[type="checkbox"]:checked + label,
input[type="checkbox"]:not(:checked) + label {
  display: inline-block;
  position: relative;
  padding-left: 35px;
  line-height: 20px;
  cursor: pointer;
}

input[type="checkbox"]:checked + label:before,
input[type="checkbox"]:not(:checked) + label:before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border: 1px solid #e4e4e4;
}

input[type="checkbox"]:checked + label:before {
  background: #da432a;
}

input[type="checkbox"]:checked + label:after,
input[type="checkbox"]:not(:checked) + label:after,
input[type="radio"]:checked + label:after,
input[type="radio"]:not(:checked) + label:after {
  content: "";
  position: absolute;
}

input[type="checkbox"]:checked + label:after {
  background-image: url(source/img/check.svg);
  position: absolute;
  content: "";

  width: 10px;
  height: 9px;
  background-size: cover;
  top: 50%;
  left: 0%;
  transform: translate(50%, -50%);
}

.bapf_hideckbox label:before,
.bapf_hideckbox label:after {
  content: unset !important;
}

.bapf_hideckbox label {
}

.catalog_aside-links .berocket_single_filter_widget_621 {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.fa-chevron-up:before,
.fa-chevron-down:before {
  content: "";
}

.bapf_sfilter .bapf_ccolaps ul li {
  margin-bottom: 10px !important;
}

.bapf_slidr_all {
  margin-top: 30px;
}

.bapf_body {
  margin-top: 20px;
}

.fa-chevron-down {
  transform: rotate(-180deg) !important;
  transition: 0.5s;
  top: 30% !important;
}

.order .order_item {
  flex-direction: column;
}

@media (min-width: 1600px) {
  .tariff_item {
    margin-left: 80px;
  }
}

@media (min-width: 1200px) and (max-width: 1600px) {
  .grid_tarrif_item {
    grid-gap: 40px;
  }

  .cart .container {
    padding: 0;
  }

  .reviews_slide-text {
    position: relative;
    margin-bottom: 40px;
  }

  .hid.reviews_slide-text {
    margin-bottom: 30px;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .grid_tarrif_item {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
    grid-row-gap: 40px;
    width: 100%;
  }

  .tariff_item {
    width: 100%;
  }

  form.variations_form.cart {
    padding-bottom: 0;
    padding: 0;
    margin: 0;
  }

  .cart .container {
    padding: 0;
  }

  .cart_right {
    width: auto;
  }

  .bapf_sfilter {
    margin-bottom: 0px;
  }

  .woocommerce-address-fields__field-wrapper,
  .EditAccountForm-grid {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 0px;
  }

  .catalog .catalog_aside-links label {
    font-size: 14px;
    line-height: 16px;
    padding: 6px 12px !important;
    margin-bottom: 0;
  }

  .berocket_single_filter_widget_621 .bapf_sfilter {
    margin-bottom: 0;
  }

  .reviews_slide-text {
    position: relative;
    margin-bottom: 40px;
  }

  .hid.reviews_slide-text {
    margin-bottom: 25px;
  }

  .reviews_slide-text {
    --font: 14px;
    --line-height: 1.5;
  }
}

@media screen and (max-width: 991.98px) {
  .reviews_slide-text {
    --font: 12px;
  }
}

@media (max-width: 575.98px) {
  .reviews_slide-text {
    --font: 12px;
  }
}

@media screen and (max-width: 767px) {
  .grid_tarrif_item {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 0px;
    grid-row-gap: 0;
    justify-items: center;
    width: 100%;
  }

  .bapf_sfilter {
    margin-bottom: 0px;
  }

  .woocommerce-address-fields__field-wrapper,
  .EditAccountForm-grid {
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 0px;
  }

  .catalog .catalog_aside-links label {
    font-size: 12px;
    line-height: 14px;
    padding: 4px 10px !important;
    margin-bottom: 0;
  }

  .berocket_single_filter_widget_621 .bapf_sfilter {
    margin-bottom: 0;
  }
}

@media (min-width: 400px) and (max-width: 760px) {
  .tariff_wrapper {
    justify-content: center;
  }
}

.order_item {
  flex-direction: column;
}

span.password-input {
  width: 100%;
}

.payment_box p {
  display: none;
}

.wc_payment_method {
  margin-bottom: 5px !important;
  display: block;
}

.wc_payment_method img {
  display: none;
}

input[type="radio"]:checked,
input[type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px;
}

input[type="radio"]:checked + label,
input[type="radio"]:not(:checked) + label {
  display: inline-block;
  position: relative;
  padding-left: 30px;
  line-height: 140%;
  cursor: pointer;
}

input[type="radio"]:checked + label:before,
input[type="radio"]:not(:checked) + label:before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  width: 20px;
  height: 20px;
  border: 1px solid #da432a;
  background-color: #ffffff;
}

input[type="radio"]:checked + label:before,
input[type="radio"]:not(:checked) + label:before {
  border-radius: 100%;
}

input[type="radio"]:checked + label:after,
input[type="radio"]:not(:checked) + label:after {
  content: "";
  position: absolute;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

input[type="radio"]:checked + label:after {
  left: 5px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background-color: #da432a;
}

.ch1 .woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout {
  display: none;
}

.tariff_item-btn {
  border: none;
}

.map-circle-placemark {
  background: url(https://litschool.stebnev.ru/wp-content/themes/st/source/img/mapIcon.png) !important;
}

.orderby {
  min-width: 270px;
}

.woovr-variations,
.woocommerce-variation.single_variation {
  display: none !important;
}

.pagin {
  display: block;
  width: 100%;
}

ul.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
}

.order_details .order {
  padding-bottom: 0;
}

.thnx b p {
  text-align: center;
}

.reviews_slide-text-js a {
  color: #da432a;
  border-bottom: 1px solid;
  background: #fff;
}

.woosb-wrap.woosb-bundled {
  padding: 25px 0;
}

.woosb-wrap.woosb-bundled a {
  font-size: 14px;
  color: #161616;
  line-height: 150%;
  padding: 20px 0;
  transition: all 0.3s;
}

.woosb-wrap.woosb-bundled a:hover {
  color: #da432a;
}

.summary .single_add_to_cart_button {
  border: none;
  margin: 20px 0 !important;
}

.type-product .summary {
  display: flex;
  flex-direction: column;
}

.summary .product_title.entry-title {
  order: 1;
}

.summary .price {
  order: 3;
}

.summary .woosb-wrap {
  order: 2;
}

.summary .single_add_to_cart_button {
  order: 5;
}

.summary .cart {
  order: 4;
}

.type-product > div > p.stock.in-stock {
  display: none !important;
}

.type-product > div > p.price > del > span {
  font-size: 20px;
  line-height: 25px;
  color: #878787;
  font-weight: 700;
  position: relative;
  white-space: nowrap;
}

del {
  color: red;
}

ins {
  text-decoration: none;
}

.type-product > div > p.price > ins > span {
  font-size: 35px;
  line-height: 43px;
  text-align: center;
  color: #161616;
  font-weight: 700;
  margin: 0 30px;
  white-space: nowrap;
}

@media screen and (max-width: 1600px) {
  .tariff_info {
    width: 100% !important;
  }

  .summary .cart {
    order: 4;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .sale {
    margin: 0;
    padding: 50px 0;
  }
}

@media screen and (max-width: 768px) {
  .komplekt {
    width: 100%;
    display: block;
  }

  .summary .product_title.entry-title {
    font-size: 22px;
  }

  .type-product > div > p.price > del > span {
    font-size: 20px;
  }

  .type-product > div > p.price > ins > span {
    font-size: 20px;
  }
}

button {
  cursor: pointer;
}

.status-publish.sale {
  padding: 0;
}

.woocommerce-notices-wrapper {
  display: none;
}

.catalog .catalog_body-title-1 {
  font-size: inherit;
}

.summary .product_title {
  font-size: 2em;
}

.hidden-element {
  display: none;
}

.news_inner-info h2,
.news_inner-info h3,
.news_inner-info h4,
.news_inner-info h5,
.news_inner-info h6 {
  margin: 5px 0;
}

.cart_item-title span,
.cart_item-title h2 {
  text-align: left;
}

.popup_body-file br {
  display: none;
}

.popup_body-file {
  cursor: pointer;
  margin-bottom: 35px;
  height: 50px;
  position: relative;
}

.popup_body-file_span::after {
  position: absolute;
  content: "Прикрепить файл";
  background-size: cover;
  width: 100%;
  height: 17px;
  left: 30px;
  top: 40%;
  transform: translateY(-40%);
}

.wpcf7-spinner {
  display: none;
}

.popup-wr {
  margin-bottom: 20px;
}

.popup_body-file {
  padding: 0;
}

.order_item-title,
label {
  margin-left: 0;
}

.popup_body-area {
  margin-bottom: 0;
}

/* 
.wpcf7-submit {
  background: none;
  border: none;
  color: inherit;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  cursor: pointer;
} */

/* .news_repaired .news_link::before,
.news_repaired .news_link::after
 {
content: unset;
} */

.partners-catalog {
  margin-bottom: 70px;
}

.open-form {
  margin-top: 70px;
}

.open-form .popup_body {
  padding: 70px;
}

@media (max-width: 1599px) {
  .open-form {
    margin-top: 50px;
    width: 81%;
  }

  .open-form .popup_body {
    padding: 40px;
  }

  .popup_body-title {
    font-size: 25px;
    line-height: 120%;
  }

  .open-form .popup_body-ok_text {
    white-space: unset;
  }

  .open-form .popup_body-btn {
    width: auto;
    height: auto;
    padding: 25px 45px;
  }
}

@media (max-width: 767px) {
  .open-form {
    margin-top: 30px;
    width: 100%;
  }

  .open-form .popup_body {
    padding: 40px 20px;
  }

  .open-form .popup_body-btn {
    width: auto;
    height: auto;
    padding: 15px 35px;
  }
}

.opened-form {
  background-color: #da432a;
  padding: 80px 0;
  color: #fff;
}

.opened-form h2 {
  color: #fff;
  font-size: 30px;
}

.opened-form .popup_body-ok_text {
  color: #ffb8b8;
  filter: brightness(1.2);
}

.opened-form .popup_body-ok_text a {
  color: #fff;
}

.opened-form__grid {
  display: grid;
  grid-template-rows: auto auto;
  grid-gap: 48px;
}

.opened-form__grid-body-column form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  /* align-items: center; */
  justify-items: end;
  grid-gap: 50px;
}

.opened-form_no-message form {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.opened-form__grid-header-column {
  display: grid;
  grid-template-columns: 291px auto;
  align-items: center;
  grid-gap: 167px;
}

.opened-form ::placeholder {
  color: #ffb8b8;
  filter: brightness(1.2);
}

.opened-form__grid input,
.opened-form__grid .popup_body-ok,
.opened-form__grid .popup-wr {
  color: #ffb8b8;
  filter: brightness(1.2);
  margin: 0;
  background: transparent;
  width: 100%;
}

.opened-form .wpcf7-submit {
  background-color: white;
  color: #da432a;
  margin-left: auto;
}

.opened-form .wpcf7-not-valid-tip {
  position: absolute;
  color: white;
  /*   top: 7px; */
  right: 0;
  font-size: 11px;
}

.wpcf7-response-output {
  display: none;
}

.opened-form .popup_body-ok_span {
  background-color: #ffb8b8;
}

.opened-form .popup_body-ok {
  align-items: flex-start;
  justify-content: flex-end;
}

.popup_body-ok_text {
  margin-top: -3px;
}

input {
  border-radius: 0;
  -webkit-appearance: none;
}

.opened-form .popup_body-ok_span::before {
  background-image: url(source/img/check_red.svg);
}

.opened-form .wpcf7-submit {
  width: 225px;
}

.opened-form .description {
  line-height: 150%;
  font-size: 16px;
  color: #ffb8b8;
  filter: brightness(1.2);
}

@media (max-width: 1600px) {
  .opened-form__grid-body-column form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    align-items: center;
    justify-items: end;
    grid-gap: 50px;
  }

  .opened-form .wpcf7-submit {
    width: 225px;
    margin: 0 auto;
    width: 153px;
    height: 48px;
    font-size: 14px;
  }
}

@media (max-width: 1199px) {
  .opened-form {
    padding: 30px 10px;
  }

  .opened-form__grid-header-column,
  .opened-form__grid-body-column form {
    grid-template-columns: 1fr;
    grid-gap: 40px;
  }

  .opened-form__grid .popup-wr {
    margin-bottom: 0px;
  }

  .opened-form__grid .popup_body-ok {
    margin-bottom: 0px;
  }

  .description br {
    display: none;
  }

  .opened-form .title {
    line-height: 26px;
    font-size: 22px;
  }

  .opened-form .description {
    line-height: 150%;
    font-size: 14px;
  }

  .opened-form__grid {
    grid-gap: 48px;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .opened-form .popup_body-ok {
    align-items: flex-start;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .opened-form {
    padding: 30px 10px;
  }

  .opened-form__grid {
    grid-gap: 48px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .opened-form .wpcf7-submit {
    width: 153px;
    height: 48px;
    font-size: 12px;
    margin: 0 auto;
  }

  .opened-form__grid-header-column,
  .opened-form__grid-body-column form {
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }

  .opened-form__grid .popup-wr {
    margin-bottom: 20px;
  }

  .opened-form__grid .popup_body-ok {
    margin-bottom: 30px;
  }

  .description br {
    display: none;
  }

  .opened-form .title {
    line-height: 26px;
    font-size: 22px;
  }

  .opened-form .popup_body-ok {
    align-items: flex-start;
    justify-content: center;
  }
}

.no-mb {
  margin-bottom: 0;
}

.indent {
  margin-bottom: 150px;
}

@media (max-width: 1599px) {
  .indent {
    margin-bottom: 130px;
  }
}

@media (max-width: 1199px) {
  .indent {
    margin-bottom: 100px;
  }
}

@media (max-width: 991px) {
  .indent {
    margin-bottom: 90px;
  }
}

@media (max-width: 575px) {
  .indent {
    margin-bottom: 80px;
  }
}

.opened-form .reviews_btn,
.open-form .reviews_btn {
  position: relative;
  bottom: unset;
  right: unset;
  transform: unset;
}

.opened-form .custom-btn-style span::before,
.opened-form .custom-btn-style span::after {
  background-color: #da432a !important;
}

.custom-btn-style {
  border: 0;
  outline: none;
  border-radius: unset;
  webkit-appearance: none;
  -webkit-border-radius: none;
}

#add_review input[type="radio"] {
  position: static;
  -webkit-appearance: auto;
}

#add_review .popup_body-inp {
  padding: 9px 0;
  margin-bottom: 11px;
}

#add_review label {
  margin-right: 10px;
}

#add_review label:last-child {
  margin-right: 0;
}

#add_review .popup_body-ok {
  margin-bottom: 25px;
}

#add_review .g-recaptcha {
  margin-bottom: 40px;
}

#add_review .message {
  padding: 10px 0;
}

#infoForm {
  padding: 20px 20px;
  border-top: 1px solid #e6e6e6;
  margin-top: 30px;
  text-align: center;
}

.wow.fadeInUp {
  visibility: hidden;
}

.popular_slide-inner a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.popular_slide-info {
  height: 100%;
}

.masters_card-slide {
  display: grid !important;
  grid-template-columns: 250px 1fr;
  grid-column-gap: 30px;
}

.grid-masters {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 480px;
  grid-template-rows: 20px 1fr;
  grid-row-gap: 20px;
  overflow: hidden;
}

.masters_card-person {
  order: 0;
}

/* .masters_card-name {
  grid-column-start: 1;
  grid-column-end: -1;
} */

.masters_card-info,
.masters_card-person {
  margin-top: 0px;
}

@media (max-width: 1599px) {
  .masters_card-slide {
    grid-template-columns: 148px 1fr;
  }
}

@media (max-width: 1199px) {
  .masters_card-person {
    display: none;
  }

  .masters_card-slide {
    grid-template-columns: unset;
  }

  .masters_card-info {
    grid-column-start: 1;
    grid-column-end: -1;
  }

  .grid-masters {
    grid-template-columns: auto 1fr;
    grid-gap: 15px;
  }
}

@media (min-width: 992.99px) {
  .onlyForMobile {
    display: none;
  }
}

@media (max-width: 992px) {
  .onlyForPc {
    display: none;
  }

  .onlyForMobile {
    display: grid;
  }

  .grid-masters {
    grid-template-rows: unset;
    grid-row-gap: 10px;
  }

  .masters_card-name {
    grid-column-start: 2;
    grid-column-end: -1;
    align-self: center;
  }

  .masters_card-prof {
    margin-top: 10px;
    text-transform: none;
  }

  .masters_card-text {
    margin-top: 0;
  }

  .masters_card-link::before {
    top: calc(50% - 3px);
  }
}

#popup_language {
  padding: 0;
  border: none;

  background-color: #da432a;
}

#popup_language .popup_language-question {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  margin-bottom: 0;

  font-size: 36px;
  text-align: center;
  color: #ffffff;
}

#popup_language .popup_language-answer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
}

#popup_language .popup_language-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 47%;
  height: 65px;
  background: #ffffff;
  font-size: 16px;
  color: #da432a;
  line-height: 19px;
  position: relative;
  transition: all 0.2s;
  overflow: hidden;
  z-index: 1;
  transition: 0.5s;
}

#popup_language .popup_language-link:hover {
  color: #000000;
}

#popup_language .popup_language-link::after {
  position: absolute;
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: #da432a;
  right: 20%;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
}

#popup_language .popup_language-link:hover::after {
  right: -3px;
  opacity: 0;
}

#popup_language .popup_language-link::before {
  position: absolute;
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: #da432a;
  left: 20%;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
}

#popup_language .popup_language-link:hover::before {
  left: -3px;
  opacity: 0;
}

#popup_language .fancybox-button {
  display: none;
}

@media (max-width: 1599px) {
  #popup_language .popup_language-question {
    padding: 45px 20px;

    font-size: 32px;
  }

  #popup_language .popup_language-link {
    height: 60px;
  }
}

@media (max-width: 1199px) {
  #popup_language {
    width: 500px;
  }

  #popup_language .popup_language-question {
    padding: 40px 20px;

    font-size: 28px;
  }

  #popup_language .popup_language-link {
    height: 55px;
  }
}

@media (max-width: 992.99px) {
  #popup_language {
    width: 450px;
  }

  #popup_language .popup_language-question {
    font-size: 26px;
  }

  #popup_language .popup_language-link {
    height: 50px;
  }
}

@media (max-width: 767px) {
  #popup_language {
    width: 60%;
  }

  #popup_language .popup_language-question {
    font-size: 24px;
  }

  #popup_language .popup_language-answer {
    flex-direction: column;
  }

  #popup_language .popup_language-link {
    width: 50%;
    height: 50px;
    margin-bottom: 20px;
  }

  #popup_language .popup_language-link:last-child {
    margin-bottom: 0;
  }

  /* .card_info {
    padding: 40px 0 110px;
  } */
}

/* Доработка 13.05.2022 */
/* .menu-item-has-children {
  position: relative;
}
.menu-item-has-children ul {
  display: none;
  position: absolute;
  top: 100%;
  padding: 30px 50px;
  background: #1b1b1b;
  left: -45px;
}

.menu-item-has-children:hover ul {
  display: block;
} 

#bapf_1 label {
  margin: 5px;
}

.bapf_sfilter .bapf_body ul li ul {
margin-left: 0;
}
.bapf_sfilter ul li {
  display: block;
} */

/* .bapf_cchild */

.course_steps-wrapper.centered {
  justify-content: center;
}

.partners-catalog_slider .slick-slide img {
  object-fit: cover;
  width: 100%;
  height: auto;
}

.cabinet .woocommerce-notices-wrapper {
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
}

.wpcf7-textarea.popup_body-inp {
  /* background: none; */
  width: 100%;
  max-height: 30px;
  color: #ffb8b8;
  margin: 0;
  background: transparent;
  line-height: 140%;
  /* width: 100%; */
  resize: none;
  overflow: auto;
}

.wpcf7-textarea.popup_body-inp.black {
  color: #161616;
  resize: none;
  overflow: auto;
}

.wpcf7-textarea::-webkit-scrollbar {
  display: none;
}

.headline-line__dop-text,
.headline-line__dop-text p {
  font-size: 16px;
  line-height: 180%;
}

.cart-empty .error_img {
  transform: translateY(0px);
}

.tariffs_card-slider {
  display: none !important;
}

.only_mobile {
  display: none;
}
@media screen and (max-width: 991.98px) {
  .headline-line__dop-text,
  .headline-line__dop-text p {
    font-size: 14px !important;
  }
  .only_mobile {
    display: block;
  }

  .tariffs_card-slider {
    display: block !important;
    margin: auto;
  }
  .tariff_wrapper {
    justify-content: unset;
  }
}

.grecaptcha-badge {
  visibility: hidden !important;
}



.slick-arrow {
  box-sizing: unset;
  padding: 10px !important;
}

a.page-numbers {
  padding: 7px;
}

form.lost_reset_password input {
  max-width: 320px;
  display: block;
}

.losten {
  margin-top: 25px;
}

.stock-page_opened-form {
  margin-bottom: 150px;
}

.stock-page_opened-form.courses-page_opened-form {
  margin-bottom: 0;
}

.stock-page_opened-form .opened-form_no-message form {
  grid-template-columns: 60% 1fr;
  align-items: center;
}

.stock-page_opened-form .wrapper_fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 50px 40px;
  align-items: center;
}

.stock-page_opened-form .wrapper_button {
  display: flex;
  width: 100%;
  align-items: center;
}

.stock-page_opened-form .wrapper_button {
  display: flex;
  width: 100%;
  align-items: center;
}

::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

.stock-page_opened-form .popup_body-ok {
  margin-right: 80px;
}

.stock-page_opened-form .popup_body-btn {
  display: inline-block;
  min-width: 230px;
}

.stock-page_opened-form .popup-wr_file input {
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin-left: -1px;
  visibility: hidden;
}

.stock-page_opened-form .popup-wr_file label {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 200px;
  height: 50px;
  /* border: 1px solid #e4e4e4; */
  color: #e4e4e4;

  cursor: pointer;
}

.stock-page_opened-form .popup-wr_file label::before {
  content: "";

  display: block;
  width: 22px;
  height: 22px;
  margin-right: 15px;

  background-repeat: no-repeat;
  background-image: url("source/img/icon-clip.png");
}

.stock-page_opened-form .popup-wr_file label::after {
  content: "";

  margin-right: 15px;
}

/* .popup-wr_file-name {
  position: absolute;
  top: 100%;
} */

.popup-wr_file {
  position: relative;
}

.popup-wr_file-desc {
  font-size: 12px;
}

.stock-page_opened-form .wpcf7-not-valid-tip {
  color: black;
  top: 24px;
  left: -20px;
  width: 150px;
  background-color: #ffffff;
  font-size: 12px;
  padding: 5px 5px;
  border-radius: 3px;
}

.data_participant_contest:focus-within::before {
  display: none;
}

.data_participant_contest:focus-within::before {
  display: none;
}

.date-popup-wr {
  position: relative;
}

.popup-wr_date-text {
  position: absolute;
  left: 10px;

  font-size: 14px;
  filter: brightness(1.2);
  margin: 0;
  background: transparent;
  color: #ffb8b8 !important;
}

.popup-wr_date-text ~ .data_participant_contest input {
  color: transparent;
}

@media (max-width: 1599.98px) {
  .stock-page_opened-form {
    margin-bottom: 130px;
  }

  .stock-page_opened-form.courses-page_opened-form {
    margin-bottom: 0;
  }

  .stock-page_opened-form .opened-form_no-message form {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .stock-page_opened-form .wrapper_button {
    display: flex;
    width: auto;
    align-items: center;
  }
}

@media (max-width: 991px) {
  .stock-page_opened-form .wrapper_fields {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
  }

  .stock-page_opened-form .opened-form__grid {
    grid-gap: 48px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .stock-page_opened-form .opened-form__grid .popup_body-ok {
    margin-bottom: 0px;
  }
}

@media (max-width: 576px) {
  .stock-page_opened-form .wrapper_fields {
    grid-template-columns: 1fr;
  }

  .stock-page_opened-form .popup-wr_file label {
    width: 100%;
  }

  .stock-page_opened-form .wrapper_button {
    flex-direction: column;
  }

  .stock-page_opened-form .opened-form__grid .popup_body-ok {
    margin-right: 0;
    margin-bottom: 30px;
  }
}

.order-castom .woocommerce-order-details,
.order-castom .woocommerce-customer-details {
  display: none;
}

.woocommerce-notices-wrapper ~ .inline.error {
  display: none;
}
