html {
  scroll-behavior: smooth;
}
.mw100 {
  min-width: 100%;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  max-width: 1386px;
  width: 95%;
  transform: translateX(-50%) translateY(100%);
  border-radius: 15px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}

#cookie-banner.showed {
  transform: translateX(-50%) translateY(-20px);
}

#cookie-banner button {
  border: none;
  padding: 0.6rem 1.4rem;
  font-size: 0.8rem;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s;
  color: #000 !important;
}

#cookie-banner button:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  #cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}

.revfulltext {
  display: none;
}

.brand-slide img {
  width: 70px !important;
}
.brand-pics {
  margin: 60px auto;
}

.as-review-head {
  font-size: 18px;
}

.as-review-item {
  position: relative;
}

.as-review-date {
  font-size: 14px;
  color: #869791;
}

.as-review-text {
  padding: 10px;
}

.fancybox__content {
  max-width: 100%;
  width: 500px;
}

.as-review-text.fullrev {
  /*   position: absolute; */
  background: #fff;
  z-index: 2;
}

#go-service {
  padding: 60px 0;
}

.as-main-form {
  background: #fff;
  padding: 32px;
  border-radius: 3px;
}

.customtabs h2 {
  margin: 40px auto;
  max-width: 100%;
  text-align: center;
}

.review__user {
  font-size: 20px;
  font-weight: bold;
  margin-top: 10px;
}

.review__text {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;

  overflow: hidden;
  text-align: left;
  border: 1px solid #e0e2e4;
  border-radius: 35px;
  padding: 20px;
  margin-top: 20px;
}
.review__top {
  display: flex;
  align-items: center;
}

.review__photo {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.15);
  margin-right: 20px;
}

.review__place {
  font-size: 12px;
  color: #cf1009;
}
.template-slider {
  display: flex;
  justify-content: center;
  position: relative;
  overflow: visible;
  max-width: 875px;
}
.logo {
  width: 201px;
  height: 58px;
  background-size: contain;
  background-image: url(/images/asp/i/aservice-logo.png);
}
.modelblock__buttons .but {
  color: #fff;
}

.salon__wrapper {
  max-height: max-content;
  height: auto;
}

.action-slide-head {
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 18px;
}

.action-slide-img,
.action-slide-content {
  margin-bottom: 20px;
}

#act-content-1,
#act-content-2,
#act-content-3,
#legal {
  width: auto !important;
}

.as-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.modelblock__wrap {
  justify-content: center;
}

.as-banner {
  display: flex;
  height: 100%;
  flex-wrap: wrap;
}

.as-slider {
  width: 400px;
  /*   margin: 0 auto; */
  justify-self: end;
  border-radius: 3px;
  background: #fff;
  color: #000;
  padding: 25px 40px;
}

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

.owl-theme .owl-controls .owl-page {
  display: inline-block;
}
.owl-theme .owl-controls .owl-page span {
  background: none repeat scroll 0 0 #869791;
  border-radius: 20px;
  display: block;
  height: 12px;
  margin: 5px 7px;
  opacity: 0.5;
  width: 12px;
}

.swiper-slide img {
  padding: 20px;
  border: 1px solid #e3e3e3;
  border-radius: 3px;
}

.tab_content ul .tabs li:before {
  display: none;
}

.tabsec .container {
  padding: 0;
}

.secpadding2 {
  padding: 60px 0 80px;
}

.tabs_wrapper {
  width: 100%;
  display: flex;
  text-align: center;
  margin: 0 auto;
  /* background: #fff; */
}

ul.tabs {
  display: flex;

  padding: 30px 20px;
  position: relative;
  background: #f87618;
  /* margin: 25px 0 0; */
  /*   padding: 0; */
  width: 40%;
  min-width: 175px;
  list-style: none;
  -ms-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  flex-direction: column;
  justify-content: space-between;
}
ul.tabs li {
  margin: 0;
  align-items: center;
  cursor: pointer;
  padding: 5px 0;
  line-height: 40px;
  color: #fff;
  text-align: left;
  font-size: 20px;
  width: 85%;
}

ul.tabs li.active {
  border-left: 5px solid;
}

ul.tabs li.active:after {
  right: 100px;
  display: block;
  opacity: 1;
}

ul.tabs li:after {
  content: '';
  position: absolute;
  /*  top: 20px; */
  right: 50px;
  width: 24px;
  height: 20px;
  background: url('/alyans-service/assets/img/glyph_arrow_long.svg') 0 0
    no-repeat;
  opacity: 0;
  transition:
    right 0.2s,
    opacity 0.2s;
}

.tab_container {
  padding: 0 50px;
  vertical-align: top;
  position: relative;
  /* z-index: 20; */
  /* left: -2%; */
  width: 60%;
  min-width: 10px;
  text-align: left;
  /*  background: #f8f8f8; */
  /*   border-radius: 0 35px 35px 0; */
}

.tab_content {
  height: 100%;
  display: none;
}

.servimg {
  display: block;
  position: absolute;
  height: 350px;
  bottom: 0;
  border-radius: 50%;
  width: 350px;
  right: -100px;
  background-position: 50% 50%;
  background-size: cover;
}

.tab_drawer_heading {
  display: none;
}

.seclogo {
  background: url(//remont.alyans-auto.ru/theme/main/img/big_logo.svg);
  /* background-position: right; */
  background-size: 40%;
  background-position-x: right;
  background-position-y: top;
}

@media screen and (max-width: 1000px) {
  .servimg {
    display: none;
  }

  ul.tabs {
    display: none;
  }
  .q-form.flex__row-reverse {
    flex-direction: column-reverse;
  }
  .mtbaner60 {
    padding-top: 60px !important;
    margin-top: 0 !important;
    text-align: center;
    padding-bottom: 40px;
  }
  .tab_drawer_heading {
    background: #fff;
    /*     border-bottom: 1px solid; */
    color: #000;
    margin: 0;
    padding: 25px 10px;
    display: block;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
  }

  .burger {
    margin: -2px 15px 2px;
  }

  .servimg {
    position: inherit;
    height: 170px;
    /*    border-radius: 35px; */
    width: 100%;
    background-position: 50% 50%;
    background-size: cover;
    margin: 20px 0;
  }

  .tab_content {
    padding-top: 30px;

    height: auto;
    display: none;
  }

  .tab_content h2 {
    display: none;
  }

  .tab_container {
    display: block;
    margin: 0 auto;
    width: 100%;
    padding: 0;
    border-top: none;
    border-radius: 0;
    /* box-shadow: 0px 0px 10px black; */
  }
  .secblock.mt40 {
    margin: 0;
  }
  .secpadding .container {
    padding: 30px;
  }
  .secpadding {
    padding: 40px 0;
  }

  .tab_content p {
    margin-bottom: 40px;
    padding-left: 20px;
  }

  .custom-h1 {
    font-weight: bold;
    font-size: 195%;
    line-height: 130%;
    color: #20252c;
    text-align: center;
    margin: 16px 0 25px;
  }
  .customblock {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .secpadding2 {
    padding: 60px 0 40px;
  }

  .tab_content p {
    line-height: 24px;
    font-size: 16px;
  }

  .header__menu {
    justify-content: start !important;
  }
  .header__bottom {
    background: linear-gradient(
      105.29deg,
      rgba(255, 255, 255, 0.2) 85%,
      rgba(255, 255, 255, 0) 100%
    );
    color: #fff;
    border-radius: 0;
  }
  .secpadding .container {
    border-radius: 0;
  }
  .subtext__dark-medium p {
    text-align: left;
  }

  .customblock .container {
    box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    border-radius: 35px;
    background: transparent;
  }

  .tab_drawer_heading {
    background: #fff;
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
    border-bottom: 1px solid #ededed;
    color: #000;
    margin: 0;
    padding: 20px 10px;
    display: block;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
  }

  .flex__info.pr-50 > div.subtext__dark-small {
    margin-bottom: 40px;
    font-size: 20px;
    text-align: center;
  }

  .heading__dark-2 {
    margin: 30px 0 35px;
    font-size: 50px !important;
  }

  .d_active {
    background: #f87618;
    color: #fff;
    /*  border-radius: 5px; */
  }
}

@media (max-width: 850px) and (min-width: 300px) {
  .repay.career-recruiting__wrap {
    width: 100%;
  }
  .as-slider {
    width: 100%;
    padding: 15px;
  }

  .modelblock__buttons {
    flex-direction: column;
    margin-bottom: 30px;
  }
  /*   .as-banner {
    text-align: center;
  }
  .footer__wrapper {
    justify-items: center;
  }
  .footer__warning {
    text-align: center;
  } */
  h1 {
    font-size: 30px;
  }
}
