/* new blocks 21.02 */

.filter-btn-rect {
  background-color: #F4F5FE;
  border: none;
  border-radius: 6px;
}

.filter-btn-rect.active {
  border: none;
}

.filter-btn-rect:hover {
  border: none;
}

.prices-filter-btns-rect {
  gap: 4px;
}



.devide-pay-card-row {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  gap: 22px;
  margin-top: 15px;
}

.devide-pay-card-column {
  flex: 0 0 calc(45% - 11px);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.devide-pay-card {
  display: flex;
  gap: 16px;
  background-color: #fff;
  border-radius: 24px;
  padding: 6px 13px;
  align-items: center;
}

.devide-pay-card span {
  border-radius: 50%;
  background-color: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  width: 20px;
  height: 20px;
}

.devide-pay-card p {
  font-size: 16px;
  line-height: 16px;
  font-weight: 400;
}

.prices-card-label-middle {
  top: 18px;
  right: 123px;
}

.stock-head-banner-text.reviews.redis h1 {
  margin-bottom: 0;
}

.stock-head-banner-text.reviews.redis p {
  margin-bottom: 52px;
  margin-top: 26px;
  font-size: 24px;
  line-height: 32px;
}

.bonuces {
  background-color: #F4F5FE;
}

.b-akpp-banner-low-row {
  background-color: #F4F5FE;
}

.submit-form-con-purple {
  background-color: #F4F5FE;
}

.fw400 {
  font-weight: 400;
}

.why-choose-us-faq-redis {
  padding: 20px 10px;
  background-color: #F4F5FE;
}

.pr14 {
  padding-right: 14px;
}

.pl14 {
  padding-left: 14px;
}

.bgpurple {
  background-color: #E3E2F6;
}

.reviews-redis-con h3 {
  font-size: 48px;
  line-height: 55px;
  font-weight: 500;
  margin-bottom: 40px;
}

.small-reviews-card {
  background-color: #F4F5FE;
}

.metro-choose-cards.reviews.reviews-redis {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr; /* Две колонки */
  gap: 20px; /* Расстояние между колонками */
  align-items: start; /* Выравниваем элементы по верхнему краю */
}

.how-to-study-pagination.clean-classes {
  margin-right: 20px;
}

.clean-classes-contacts {
  background-color: #F4F5FE;
}

.banner-mini-card.clean-cars {
  background-color: #F4F5FE;
}

.why-choose-us-faq {
  background-color: #F4F5FE;
  padding: 24px 6px;
}

.why-choose-us-faq-row {
  padding: 0 14px;
}

.more-teachers-text.clean-cars.b-akpp button {
  background-color: #0E26FF;
}

.schedule-owl-card {
  width: 454px;
  height: 425px;
  border-radius: 16px;
  padding: 40px 27px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bg-green {
  background-color: #D0FA9B;
}

.bg-blue {
  background-color: #77CBFA;
}

.bg-purple {
  background-color: #B3D6FF;
}

.bg-pastel-blue {
  background-color: #D2EFFC;
}

.bg-green .schedule-owl-card-sub {
  background-color: #E8FDCD;
}

.bg-blue .schedule-owl-card-sub {
  background-color: #BBE5FD;
}

.bg-purple .schedule-owl-card-sub {
  background-color: #D9EBFF;
}

.bg-pastel-blue .schedule-owl-card-sub {
  background-color: #E9F7FE;
}

.schedule-owl-con h2 {
  font-size: 48px;
  line-height: 58px;
  font-weight: 500;
  margin-bottom: 56px;
}

.schedule-owl-pagination {
  margin-top: 24px;
}

.schedule-owl-card > p {
  font-size: 18px;
  line-height: 18px;
  font-weight: 400;
}

.schedule-owl-card > span {
  font-size: 32px;
  line-height: 32px;
  font-weight: 500;
  display: block;
}

.schedule-owl-card-sub {
  padding: 13px 21px;
  font-size: 24px;
  line-height: 52px;
  font-weight: 500;
  border-radius: 16px;
}

.schedule-owl-card button {
  border: none;
  border-radius: 10px;
  background-color: #0E26FF;
  font-size: 18px;
  line-height: 20px;
  font-weight: 400;
  color: #fff;
  padding: 18px;
  width: 100%;
  transition: background-color 0.3s ease;
}

.schedule-banner-con {
  width: 100%;
  max-width: 1556px;
  height: auto;
  padding: 94px 0 86px;
  margin: 0 auto;
  border-radius: 32px;
  background-color: #F4F5FE;
  background-image: url('/images/schedulebg.png');
  background-repeat: no-repeat;
  position: relative;
  background-size: 100%;
}

.schedule-banner h1 {
  font-size: 58px;
  line-height: 62px;
  font-weight: 500;
  margin-bottom: 53px;
  z-index: 2;
  position: relative;
}

.metro-choose-btn-con.schedule {
  z-index: 2;
  position: relative;
}

.filter-btn.metro-choose.schedule {
  border: none;
  border-radius: 6px;
  line-height: 20px;
}

.prices-filter-btns.metro-choose.contacts.schedule button {
  padding: 10px 20px;
}

.filter-btn.metro-choose.schedule.active {
  background-color: #0E26FF;
}

.schedule-banner > img {
  position: absolute;
  width: 672px;
  height: auto;
  top: 5%;
  right: 3%;
  z-index: 1;
}

.students-new-banner-top {
  position: relative;
  overflow: visible;
  
}

.students-new-banner-top h1 {
  font-size: 50px;
  line-height: 54px;
  font-weight: 500;
  margin: 0;
  margin-bottom: 33px;
}

.students-new-banner-top h1 > span {
  color: #0E26FF;
}

.students-new-banner-top > p {
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  margin: 0;
}

.students-new-banner-top > img {
  position: absolute;
  top: -25%;
  right: -20%;
  width: 950px;
  height: auto;
}

.students-new-cards {
  margin-top: 167px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.students-new-card {
  flex: 0 0 calc(33% - 8px);
  background-color: #F4F5FE;
  background-image: url('/images/studentsReCardBg.png');
  background-size: 100%;
  background-repeat: no-repeat;
  border-radius: 16px;
  padding: 41px 34px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
  gap: 17px;
  position: relative;
  height: 218px;
}

.students-new-card-title {
  font-size: 24px;
  line-height: 24px;
  font-weight: 400;
}

.students-new-card p {
  font-size: 14px;
  line-height: 16px;
  font-weight: 400;
  color: #666666;
}

.students-new-card img {
  position: absolute;
  width: 130px;
  height: auto;
  top: 3%;
  right: 7%;
}

.students-new-banner-top > button {
  width: 225px;
  background-color: #0E26FF;
  border-radius: 10px;
  padding: 18px;
  font-size: 18px;
  line-height: 20px;
  font-weight: 500;
  color: #fff;
  border: none;
  margin-top: 53px;
  transition: background-color 0.3s ease;
}

.faq-con.instr img {
  width: 277px;
}

.why-choose-us-faq-question {
  font-weight: 400;
}

.instr-our-avtopark {
  display: flex;
  justify-content: space-between;
}

.instr-our-avtopark h3 {
  font-size: 50px;
  line-height: 51px;
  font-weight: 500;
}

.instr-our-avtopark p {
  font-size: 25px;
  line-height: 30px;
  font-weight: 400;
}

.instr-our-avtopark button {
  font-size: 18px;
  line-height: 18px;
  font-weight: 500;
  border-radius: 10px;
  background-color: #0E26FF;
  border: none;
  width: 48%;
  padding: 16px;
  transition: background-color 0.3s ease;
  color: #fff;
}

.instr-our-avtopark-col {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.instr-our-avtopark-col.first {
  flex: 0 0 40%;
  position: relative;
}

.instr-our-avtopark-col.first img {
  position: absolute;
  width: 183px;
  height: auto;
  top: -25%;
  right: -25%;
}

.instr-our-avtopark-col.sec img {
  width: 100%;
  height: auto;
}

.instr-main-con {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 16px;
}

.instr-main-col-ava {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #F4F5FE;
  padding: 53px 32px;
  border-radius: 16px;
  gap: 65px;
}

.instr-main-con h1 {
  font-size: 26px;
  line-height: 40px;
  font-weight: 500;
}

.instr-ava {
  display: flex;
  gap: 18px;
  align-items: center;
}

.inst-img-con-re {
  width: 152px;
  height: 152px;
}

.inst-img-con-re img {
  width: 134px;
  height: 134px;
}

.instr-main-col-text {
  padding: 48px 43px 72px;
  background-color: #F4F5FE;
  border-radius: 16px;
}

.instr-main-col-text-title {
  font-size: 28px;
  line-height: 28px;
  font-weight: 500;
  margin-bottom: 33px;
}

.instr-main-col-text > p {
  padding: 26px 59px 26px 38px;
  border-radius: 8px;
  background-color: #FFFFFF;
  width: 90%;
}

.instr-main-col-text > hr {
  height: 1px;
  width: 100%;
  margin: 39px 0 36px;
  background-color: #D3D3D3;
}

.instr-main-col-btns {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.instr-main-col-btns button {
  width: 100%;
  padding: 18px;
  border-radius: 10px;
  font-size: 18px;
  line-height: 20px;
  font-weight: 500;
  border: 1px solid #000000;
  transition: background-color 0.3s ease, border 0.3s ease, color 0.3s ease;
}

.instr-main-col-btn-sign-up {
  background-color: #0E26FF;
  color: #fff;
  border: 1px solid #0E26FF;
}

.instr-main-col-btn-review {
  background-color: transparent;
  color: #000000;
}

.instr-main-col-text-tags-row {
  display: flex;
  justify-content: space-between;
}

.instr-main-col-text-tag p {
  font-size: 20px;
  line-height: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

.instr-main-col-text-tag > span {
  font-size: 16px;
  line-height: 16px;
  font-weight: 400;
}

.instr-main-col-text-tag-cat {
  display: flex;
  gap: 4px;
  align-items: center;
}

.instr-main-col-text-tag-cat > span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  width: 66px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
  border: 1px solid #000000;
  border-radius: 6px;
}

@media screen and (min-width: 500px) and (max-width: 600px) {
  .prices-card {
    width: 424px;
  }
}

@media screen and (min-width: 1024px) {
  .schedule-owl-card button:hover {
    background-color: #000;
  }
  .students-new-banner-top > button:hover {
    background-color: #000;
  }
  .instr-our-avtopark button:hover {
    background-color: #000;
  }
  .instr-main-col-btn-sign-up:hover {
    background-color: #000;
  }
  .instr-main-col-btn-review:hover {
    background-color: #000;
    color: #fff;
  }
}



@media screen and (max-width: 1200px) {
  .schedule-banner > img {
    position: absolute;
    width: 570px;
    height: auto;
    top: 5%;
    right: 3%;
    z-index: 1;
  }
  .students-new-banner-top > img {
    position: absolute;
    top: 10%;
    right: -25%;
    width: 800px;
    height: auto;
  }  
  .students-new-banner-top > p {
    width: 35%;
  }
  .students-new-card img {
    position: absolute;
    width: 100px;
    height: auto;
    top: 3%;
    right: 3%;
  }
  .instr-our-avtopark {
    align-items: center;
  }
  .instr-our-avtopark-col.first img {
    position: absolute;
    width: 150px;
    height: auto;
    top: -25%;
    right: -37%;
  }
  .instr-main-col-text > p {
    padding: 26px 59px 26px 38px;
    border-radius: 8px;
    background-color: #FFFFFF;
    width: 100%;
  }
  .instr-main-col-text-tags-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .instr-main-col-text {
    padding-bottom: 40px;
  }
}

@media screen and (max-width: 1023px) {
  .schedule-owl-card button:active {
    background-color: #000;
  }
  .students-new-banner-top > button:active {
    background-color: #000;
  }
  .instr-our-avtopark button:active {
    background-color: #000;
  }
  .instr-main-col-btn-sign-up:active {
    background-color: #000;
  }
  .instr-main-col-btn-review:active {
    background-color: #000;
    color: #fff;
  }
  .schedule-banner > img {
    display: none;
  }
  .students-new-cards {
    margin-top: 167px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .students-new-card {
    flex: 0 0 100%;
    padding: 41px 34px;
    gap: 16px;
    height: 150px;
    background-image: none;
  }
  .students-new-card img {
    position: absolute;
    width: 130px;
    height: auto;
    top: 3%;
    right: 3%;
  }
  .students-new-card p {
    width: 70%;
  }
  .students-new-banner-top > button {
    display: none;
  }
  .students-new-banner-top > p {
    width: 100%;
    margin-bottom: 500px;
  }
  .students-new-banner-top > img {
    position: absolute;
    top: auto;
    bottom: -300%;
    right: -10%;
    width: 650px;
    height: auto;
  } 
  .faq-con.instr img {
    display: none;
  }
  .instr-faq-con {
    padding: 50px 0 24px;
  }
  .instr-our-avtopark-col, .instr-our-avtopark-col.first {
    flex: 0 0 100%;
  }
  .instr-our-avtopark {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
  }
  .instr-our-avtopark-col.first img {
    position: absolute;
    width: 150px;
    height: auto;
    top: -25%;
    right: 0;
  }
  .instr-main-con {
    grid-template-columns: 1fr;
  }
  .instr-main-col-text-tags-row {
    display: flex;
  }
  .instr-main-col-ava {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  .schedule-owl-con h2 {
    font-size: 28px;
    line-height: 32px;
    font-weight: 500;
    margin-bottom: 40px;
  }
  .schedule-banner h1 {
    font-size: 34px;
    line-height: 40px;
    font-weight: 500;
    margin-bottom: 40px;
  }
  .schedule-banner-con {
    width: 100%;
    max-width: 1556px;
    height: auto;
    padding: 60px 0 60px;
    margin: 0 auto;
    border-radius: 32px;
    background-color: #F4F5FE;
    background-image: url('/images/schedulebg.png');
    background-repeat: no-repeat;
    position: relative;
    background-size: 100%;
  }
  .students-new-banner-top > img {
    position: absolute;
    top: auto;
    bottom: 43%;
    right: -10%;
    width: 90%;
    height: auto;
  } 
  .students-new-banner-top > p {
    width: 75%;
    margin-bottom: 70%;
    font-size: 18px;
    line-height: 22px;
  }
  .students-new-banner-top {
    position: static;
  }
  .students-new-banner {
    position: relative;
  }
  .students-new-banner-top h1 {
    font-size: 32px;
    line-height: 34px;
    margin-bottom: 20px;
  }
  .instr-our-avtopark-col.first img {
    display: none;
  }
  .instr-our-avtopark h3 {
    font-size: 28px;
    line-height: 32px;
    font-weight: 500;
  }
  .instr-our-avtopark p {
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
  }
  .instr-our-avtopark-col {
    gap: 20px;
  }
  .instr-our-avtopark button {
    width: 225px;
  }
  .instr-main-col-text-tags-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .instr-main-col-text {
    padding: 30px;
  }
  .instr-main-col-ava {
    display: grid;
    grid-template-columns: 1fr;
  }
  .instr-main-col-text > p {
    padding: 15px;
  }
}

@media screen and (max-width: 550px) {
  .schedule-owl-card {
    width: 100%;
    height: 350px;
  }
  .schedule-owl-card-sub {
    padding: 13px 21px;
    font-size: 20px;
    line-height: 32px;
    font-weight: 500;
  }
  .schedule-owl-card > span {
    font-size: 24px;
    line-height: 28px;
    font-weight: 500;
  }
  .students-new-banner-top > img {
    position: absolute;
    top: auto;
    bottom: 50%;
    right: 0;
    width: 90%;
    height: auto;
  }
  .students-new-card img {
    position: absolute;
    width: 100px;
    height: auto;
    top: auto;
    bottom: 0;
    right: 3%;
  }
}

@media screen and (max-width: 400px) {
  .inst-img-con-re {
    width: 110px;
    height: 110px;
  }
  .inst-img-con-re img {
    width: 100px;
    height: 100px;
  }
}