@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Ouvality';
  src: url('../fonts/Ouvality.ttf') format('truetype');
}

* {
  font-family: "Manrope", serif;
}

main {
  background-color: #f9f9f9;
}

.color-red {
  color: #932028;
}

.bg-red {
  background-color: #932028;
}

.bg-pink {
  background-color: #CC546C;
}

.bg-pink-light {
  background-color: #F5EBE8;
}

.bg-gray {
  background-color: #f9f9f9;
  color: #1c1c1c !important;
}

.bg-gray-light {
  background-color: #C4C4C4;
  color: #3B0D11;
}

.section-background {
  background: #161616 ;
}

a {
  text-decoration: none;
  cursor: pointer;
  color: #000;
}

a:hover {
  color: #1c1c1c;
}

main .container-fluid {
  padding: 0px;
}

.page-title {
  font-weight: 600;
  font-size: 65px;
  line-height: 106.4%;
  color: #1c1c1c;
  margin-top: 40px;
}

.page-desc {
  font-weight: 400;
  font-size: 18px;
  line-height: 165.4%;
  color: #1c1c1c;
}

footer {
  background-color: #932028;
}

.footer {
  padding: 55px 32px 23px 32px;
  color: #fff;
}

.footer .footer-logo {
  display: flex;
  align-items: start;
  gap: 7px;
  flex-direction: row;
  margin-bottom: -25px;
}

.footer .footer-logo .footer-logo-title {
  font-family: Ouvality, serif;
  font-size: 56px;
  line-height: 106%;
  font-weight: 400;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.bordered-block {
  padding: 8px 0;
  border-radius: 10px;
  color: #FFFFFF;
  text-align: center;
  margin: 0 auto;
}

.bordered-block-menu {
  display: inline-flex; /* Используем flexbox для выравнивания */
  align-items: center; /* Выравниваем изображения и текст по вертикали */
  padding: 10px 15px; /* Отступы внутри кнопки */
  font-size: 16px; /* Размер шрифта */
  color: #fff; /* Белый текст */
  border-radius: 5px; /* Скругленные углы */
  border: solid;
  border-color: #CC546C;
}

.bordered-block-menu:hover {
  background-color: #fff;
}

.bordered-block-menu img {
  margin-left: 5px;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 5px;
  margin-top: -7px;
}

.menu li .bordered-block-menu {
  color: #fff;
}

.menu li .bordered-block-menu:hover {
  color: #000;
}

.section-padding {
  margin-top: 21px;
  padding: 100px 32px 100px 32px;

}

.section-padding {
  padding: 86px 28px 41px 28px;
}

.page-head-padding {
  padding: 0px 32px 100px 32px;
}

.section-title {
  font-weight: 500;
  font-size: 55px;
  line-height: 52px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.container-fluid.not-padding {
  padding: 0px;
}

.categories .categories-upper {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  padding: 0 19px 0 12px;
}

@media screen and (max-width: 730px){
  .categories .categories-upper {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: start;
    gap: 15px;
    padding: 0 19px 0 12px;
  }
}

.show-all {
  margin-top: 50px !important;
  display: flex !important;
  flex-direction: row !important;
}

.red-btn {
  padding: 15px 42px !important;
  max-width: none !important;
  font-weight: 400;
  font-size: 20px;
  line-height: 23px;
  width: 100%;
  color: #FFFFFF;
}

.red-btn:hover {
  background: #4d1a16;
  color: #ffffff;
}

.footer .logo {
  width: 228px;
}

.footer .logo-desc {
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #ffffff;
}

.footer .social_media {
  display: flex;
  margin-top: 20px;
}

.footer .social_media .icon {
  width: 36px;
  height: 36px;
  margin-right: 20px;
}

.footer .footer-link-name {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
}

.footer .footer-link-list {
  padding-left: 15px;
  font-size: 16px;
  line-height: 170%;
}

.footer .footer-link-list li::marker {
  color: #CC546C;
}

.footer .underline {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 21px;
  color: rgba(255, 255, 255, 0.5);
}

.footer > .container,
.footer > .container-fluid {
  padding-right: 15px;
  padding-left: 15px;
}

.not-set {
  color: #c55;
  font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
  content: "";
  left: 3px;
  display: inline-block;
  width: 0;
  height: 0;
  border: solid 5px transparent;
  margin: 4px 4px 2px 4px;
  background: transparent;
}

a.asc:after {
  border-bottom: solid 7px #212529;
  border-top-width: 0;
}

a.desc:after {
  border-top: solid 7px #212529;
  border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
  white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
  min-width: 50px;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
  padding-top: 7px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
  .navbar form > button.logout {
    display: block;
    text-align: left;
    width: 100%;
    padding: 10px 0;
  }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
  outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
  padding-left: 32px;
  padding-top: 182px;
  color: #000000;
  font-family: Manrope, serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 165.4%;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "»";
}

.breadcrumb-item.active {
  color: #000000;
}

.breadcrumb-item > a {
  text-decoration: none;
}

header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
}

.header-block {
  border-bottom: 1px solid #932028;
  background-color: #932028;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-block .header {
  padding: 22px 32px 18px 32px;
  height: 100%;
  width: 100%;
}

.header-block .header .header-elements {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-block .header .logo-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-block .header .logo-block a {
  width: 100px;
  display: flex;
  gap: 9px;
  font-size: 30px;
  line-height: 100%;
  font-weight: 700;
  color: #f9f9f9;
}

.header-block .header .logo-block .logo {
  width: 141px;
  margin-bottom: 7px;
}

.header-block .header .header-right {
  display: flex;
  align-items: center;
  margin-left: 60px;
}

.header-block .header .header_links_block {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.header-block .header .burger {
  padding: 8px 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  display: none;
}

.header-block .header .burger i {
  margin-left: 5px;
}

.header-block .header .header_links_block .header_links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  list-style-type: none;
  overflow: hidden;
  margin-left: 140px;
  margin-top: 9px;
  gap: 39px;
}

.header-block .header .header_links_block .header_links li {
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  display: inline-block;
}

.header-block .header .header_links_block .header_links li a {
  cursor: pointer;
  color: #f9f9f9;

}

.favorite {
  padding-left: 45px;
}

.favorite .favorite-icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.favorite .favorite-icons .heard-icon {
  padding: 7px;
  border: 1px solid #edf0f7;
  border-radius: 50%;
  background-color: white;
}

.favorite .favorite_count {
  background: #fff;
  color: #1f1f1f;
  border: 2px solid #CC546C;
  top: -12px;
  right: 10px;
  width: 20px;
  height: 20px;
  position: relative;
  border-radius: 50%;
  padding: 5px;
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu {
  position: absolute;
  width: 100%;
  z-index: 1000000;
  background: #f7fafc;
}

.menu ul {
  height: calc(100vh - 97px);
  list-style-type: none;
  list-style-image: none;
}

.menu li {
  display: block;
  padding: 15px 0 15px 0;
  border-bottom: #dddddd 1px solid;
}

.menu li a {
  color: #000;
}

.menu li svg {
  margin-right: 10px;
}

.overflow-dots {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pagination {
  margin-top: 54px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.pagination li {
  font-weight: 400;
  font-size: 13px;
  line-height: 15px;
  color: #000000;
  padding: 5px;
  width: 25px;
  height: 25px;
  text-align: center;
  margin: 0px 4px;
}

.pagination li.active {
  background: #932028;
  border-radius: 50%;
}

.pagination li.active a {
  color: #ffffff;
}

.list-view-header {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.list-view-header .list-view-count-elems {
  font-weight: 500;
  font-size: 24px;
  line-height: 106.4%;
  color: #000000;
}

.list-view-header .mobile-filter {
  padding: 12px 16px;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: #CC546C;
  color: #fff;
  display: none;
}

.filters {
  background: #EEEEEE;
  border-radius: 10px;
  padding: 30px;
}

.filters .filter:not(:first-child) {
  margin-top: 45px;
}

.filter .filter-reset .reset {
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  float: right;
  position: relative;
  top: -40px;
}

.filters .filter .filter-header {
  font-weight: bold;
  font-size: 16px;
  line-height: 19px;
  color: #000000;
  margin-bottom: 7px;
}

.filters .filter .filter-header.reset-btn-block {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.filters .filter .filter-header.reset-btn-block .reset {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 6px 16px;
  font-weight: 400;
  font-size: 13px;
  line-height: 15px;
}

.filters .filter .filter-header.reset-btn-block .reset i {
  margin-left: 10px;
}

.filters .filter .filter-value {
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #000000;
}

.filters .toggler-list {
  max-width: 200px;
}

.filters .toggler-list .toggler:not(:first-child) {
  margin-top: 25px;
}

.rating {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.rating .rating-value {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0px 5px;
  border-radius: 5px;
}

.rating .star {
  width: 12px !important;
  height: 12px !important;
  margin-right: 5px !important;
  margin-top: -2px !important;
}

.red-border-btn {
  border: 1px solid #CC546C;
  border-radius: 50px;
}

/*#region Accordion */
.accordion-item {
  border: none;
}

.accordion-item .accordion-button {
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  padding-left: 0;
  padding-right: 0;
}

.accordion-button:focus {
  border: none;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: inherit;
  background-color: inherit;
  box-shadow: none;
}

.accordion-button::after {
  background-image: url("../images/down-white.svg");
  width: 30px;
}

.accordion-button:not(.collapsed)::after {
  transform: rotateX(180deg);
  background-image: url("../images/down-white.svg");
}

.accordion-body {
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  color: rgba(0, 0, 0, 0.8);
  max-width: 1142px;
  padding-left: 30px;
  background-color: #EFE3E4;
  border-radius: 10px;

}
/*#endregion Accordion */

/*#region List options */
.custom-list-view {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px 14px;
  width: 100%;
}

.custom-list-view .custom-list-view-item {
  position: relative;
  display: flex;
  flex-direction: column;
}

.pager {
  margin-top: 28px;
}

.pager .next {
  width: 100%;
}

.pager .next.disabled {
  display: none;
}

.pager .show-more {
  display: block;
  width: 100%;
  padding: 14px 53px !important;
}
/*#endregion List options */

/*#region Main page section */
.main_page {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 30px;
}

.main_page .container {
  max-width: 1371px;
  padding: 0px;
}

.main_page .main-page-between {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 35px;
}

.main_page .container h2 {
  font-weight: 500;
  font-size: 52px;
  line-height: 106.4%;
  font-family: 'Manrope', serif;
}

.main_page .left-side-col .left-side-col-ouvality{
  font-weight: 400;
  font-size: 88px;
  line-height: 106.4%;
  font-family: 'Ouvality', serif;
}

.main_page .container h2 {
  font-weight: 500;
  font-size: 52px;
  line-height: 106.4%;
  text-align: start;
  font-family: 'Manrope', serif;
}

.main_page .container .main_page_desc {
  font-weight: 400;
  line-height: 135%;
  text-align: start;
  font-size: 18px;
  color: #1c1c1c;
  font-family: 'Manrope', serif;

}

.main-page-upper-img {
  background: url(../images/main_page/first_image.png) no-repeat center center;
  background-size: cover;
  width: 100%;
  max-width: 640px;
  height: 655px;
  border-radius: 10px;
}

.main-page-between .left-side {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 149px;
}

.main-page-between .left-side-col {
  display: flex;
  flex-direction: column;
  margin-left: 8px;
  gap: 16px;
}

.main-page-between .left-side-button {
  width: 100%;
  display: flex !important;
  flex-direction: row !important;
}

.main-page-between .right-side {
  width: 100%;
}

.main_page .container .main_page_qualities {
  max-width: 779px;
  margin: 46px auto 0px;
}

.main_page .container .main_page_qualities .bordered-block {
  padding: 8px 0px;
  font-weight: 600;
  font-size: 16px;
  line-height: 165.4%;
  max-width: 167px;
}

.main_page .container .search {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 27px auto 0px;
  max-width: 759px;
}
.main_page .container .search-block {
  width: 100%;
}

.search-mobile-block {
  width: 90%;
  padding-left: 27px;
  padding-top: 16px;
  display: none;
  border-radius: 10px;
}

@media screen and (max-width: 730px){
  .main_page .main-page-between {
    display: flex;
    flex-direction: column;
    gap: 35px;
  }

  .main-page-between .left-side {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .main-page-upper-img {
    background: url(../images/main_page/first_image.png) no-repeat center center;
    background-size: cover;
    width: 100%;
    max-width: 640px;
    height: 300px;
    border-radius: 10px;
  }

}

/*
.search-mobile-block .search-block {
    display: none;
}
*/

.search-svg-mobile-block svg {
  display: none;
}

.search-svg-mobile-block .close {
  color: red;
  font-size: 23px;
  margin-top: 5px;
}

/*#endregion Main page section */

/*#region Categories */
.categories {
  background: #161616;
}

.categories .desktop {
  display: block;
}

.categories .mobile {
  display: none;
}

.categories .categories-header {
  margin-bottom: 50px;
  color: #FFFFFF;
  font-size: calc(31px + 24 * (100vw - 240px) / 1758);
}

.categories .category-list-block {
  margin-bottom: 37px;
}

.main-page-categories-img {
  margin-top: 91px;
  background: url(../images/main_page/categories.png) no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 540px;
  border-radius: 10px;
}

.categories .bordered-block {
  font-weight: 400;
  font-size: 20px;
  line-height: 23px;
  padding: 17px 35px;
}

.slick-track {
  margin-left: inherit !important;
}

.categories .arrows {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.categories .arrow {
  width: 57px;
  margin: 0px;
  padding: 17px 0px;
}

.categories .arrow.disabled {
  opacity: 0.65;
}

.categories .category-link {
  color: #FFFFFF;
  font-weight: 400;
  font-size: 18px;
  line-height: 233%;
}

.categories .category-items {
  min-height: 120px;
}

.categories .slick-slider .slick-track {
  min-width: 100%;
  /*display: flex;*/
  flex-direction: row;
  /*justify-content: flex-start;*/
}
/*#endregion Categories */

/*#region School reviews */
.school-reviews .school-reviews-header {
  margin-bottom: 30px;
}


.school-reviews .row {
  gap: 40px 0;
}

.school-reviews {
  padding: 70px 43px 82px 33px;
}

.school-reviews .school-review-upper {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  margin: 0 0 20px 0;
}

@media screen and (max-width: 722px){
  .school-reviews {
    padding: 20px 32px 30px 32px;
  }

  .school-reviews .school-review-upper {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: start;
    gap: 15px;
    padding: 0 0 20px 0;
  }
}

.school-reviews .school-item .count-block {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin: 0 10px 0 10px ;
}

.school-reviews .school-item .count-block .count {
  padding: 4px 20px;
  margin: 0;
}

.school-reviews .school-review .read-btn {
  display: block;
  margin-top: 20px;
  border: 1px solid #CC546C;
  border-radius: 40px;
  font-weight: 400;
  font-size: 18px;
  line-height: 21px;
  text-align: center;
  color: #1c1c1c;
  padding: 9px 0px;
}
/*#endregion School reviews */

/*#region Blog */
.blog.section-padding {
  margin-top: 0;
  background: #161616;
}

.blog .categories-upper {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  padding: 0 19px 0 12px;
}

@media screen and (max-width: 576px ){
  .blog .categories-upper {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: start;
    padding: 20px 0 20px 0;
    gap: 40px;
  }
}

.blog .blog-list {
  margin-top: 0px;
}
.blog .blog-list .blog-elem {
  position: relative;
  margin-top: 47px;
}

.blog .blog-list .blog-elem .blog-elem-item {
  background-color: #F7F7F7;
  border-radius: 10px;
}

.blog .blog-list .blog-category {
  position: absolute;
  left: 30px;
  top: 22px;
  padding: 4px 21px;
}
.blog .blog-list .blog-img {
  width: 100%;
  border-radius: 20px 20px 0 0;
  height: 263px;
}
.blog .blog-list .blog-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 15px 24px 0 21px;
}
.blog .blog-list .blog-tag {
  font-weight: 500;
  font-size: 13px;
  line-height: 21px;
  color: #3B0D11;
}

.blog .blog-list .blog-date {
  font-weight: 300;
  font-size: 13px;
  line-height: 21px;
  color: #616267;
}

.blog .blog-list .blog-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  color: #000000;
  margin-top: 26px;
  margin-left: 25px;
}

.blog .blog-list .blog-desc {
  font-weight: 400;
  font-size: 16px;
  line-height: 21px;
  color: #81859c;
  margin-left: 25px;
  padding-bottom: 25px;
  height: 90px;


  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;

}
/*#endregion Blog */

/*#region Seo */
.seo.section-padding {
  padding-top: 0;
}

.seo .desc {
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 165.4%;
  margin: 30px 0 0 0;
}

.seo .seo-between {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.seo .seo-between .right-side {
  padding: 128px 90px 0 109px;
}

.seo .seo-between .seo-img {
  background: url(../images/main_page/seo.png) no-repeat center center;
  background-size: cover;
  width: 100%;
  max-width: 682px;
  height: 823px;
  flex-shrink: 1;
}

@media (max-width: 682px) {
  .seo .seo-between {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
  }

  .seo .seo-between .seo-img {
    background: url(../images/main_page/seo.png) no-repeat center center;
    background-size: cover;
    width: 100%;
    max-width: 682px;
    height: 500px;
    flex-shrink: 1;
  }

  .seo .seo-between .right-side {
    padding: 100px 32px 100px 32px;
  }
}



/*#endregion Seo */

/*#region Course page */
.course-index .page-desc {
  margin-top: 40px;
  max-width: 1291px;
}

.course-index .search-block {
  margin-top: 50px;
}

.course-index #search-course {
  padding-left: 34px;
}

.categories-quick-link {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin-top: 26px;
}

.categories-quick-link .category {
  font-weight: 400;
  font-size: 16px;
  line-height: 165.4%;
  color: #000000;
  border: 1px solid #CC546C;
  border-radius: 50px;
  margin: 0px 30px 30px 0px;
  padding: 9px 32px;
}

.categories-quick-link .category.bg-red {
  color: #fff;
}

.course-header {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
/*#endregion Course page */

.course-list > .search-block {
  margin-top: 14px;
  margin-bottom: 60px;
}

.course-list > .search-block > .search-item {
  background-color: #fff;
}

.course-list > .search-block > .search-item > img {
  width: 14px;
  height: 14px;
}

.course-list > .search-block > .search-item > input,
.vacancy-list .search-block > .search-item > input {
  margin-left: 35px;
  font-weight: 400;
  font-size: 18px;
  line-height: 21px;
}

.vacancy-list .search-block {
  margin-bottom: 24px;
}

/*#region Site error */
.site-error .title {
  font-weight: 700;
  font-size: 130px;
  line-height: 106.4%;
  text-align: center;
  color: #CC546C;
}

.site-error .desc {
  font-weight: 400;
  font-size: 24px;
  line-height: 165.4%;
  text-align: center;
  color: #000000;
  margin-top: 25px;
}

.site-error .show-all {
  margin-top: 25px !important;
}

.site-error .red-btn {
  font-size: 18px;
  line-height: 165.4%;
  align-items: center;
  text-align: center;
  color: #ffffff;
}
/*#endregion Site error */

/*#region About */
.site-about {
  margin-top: 40px;
}

.site-about .title {
  font-weight: 700;
  font-size: 55px;
  line-height: 106.4%;
  color: #1c1c1c;
  margin-bottom: 20px;
}

.site-about .desc {
  font-weight: 400;
  font-size: 18px;
  line-height: 165.4%;
  color: #000000;
}

.site-about .image {
  width: 511px;
  height: 377px;
  float: right;
}

.site-about .mt-50 {
  margin-top: 50px;
}

.site-about .item-title {
  font-weight: 600;
  font-size: 30px;
  line-height: 130.4%;
  color: #000000;
}

.site-about .item-desc {
  font-weight: 400;
  font-size: 18px;
  line-height: 165.4%;
  color: #000000;
  margin-top: 20px;
}

.site-about h4 {
  font-weight: 700;
  font-size: 20px;
  line-height: 106.4%;
  color: #000000;
}

.site-about .gray-block {
  margin-top: 20px;
  padding: 20px;
  background-color: #edf0f7;
  border-radius: 10px;
}

.site-about .gray-block p {
  margin-bottom: 5px;
  font-weight: 400;
  font-size: 16px;
  line-height: 21px;
  color: #000000;
}

.site-about .gray-block a:not(:first-child) {
  margin-left: 5px;
}
/*#endregion About */

/*#region Blog */
.blog-list .page-title {
  margin-bottom: 32px;
}

/*.blog-list .right-block {*/
/*    margin-bottom: 50px;*/
/*}*/

.blog-list h4 {
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 20px;
  line-height: 106.4%;
  color: #000000;
}

/*.blog-list .rubrics-block .rubrics {*/
/*    list-style-type: none;*/
/*    padding: 0;*/
/*    margin: 0;*/
/*    font-weight: 400;*/
/*    font-size: 18px;*/
/*    line-height: 170%;*/
/*    color: #000000;*/
/*}*/

/*.blog-list .popular-list .popular-item {*/
/*    padding: 20px;*/
/*    border-radius: 10px;*/
/*    margin-bottom: 20px;*/
/*}*/

/*.blog-list .popular-list .popular-item h5 {*/
/*    font-weight: 500;*/
/*    font-size: 16px;*/
/*    line-height: 21px;*/
/*    color: #DA4127;*/
/*    margin-bottom: 5px;*/
/*}*/

/*.blog-list .popular-list .popular-item .name {*/
/*    text-overflow: ellipsis;*/
/*    white-space: nowrap;*/
/*    overflow: hidden;*/
/*    margin-bottom: 5px;*/
/*    font-weight: 500;*/
/*    font-size: 20px;*/
/*    line-height: 130%;*/
/*    color: #000000;*/
/*}*/

/*.blog-list .popular-list .popular-item .author {*/
/*    font-weight: 400;*/
/*    font-size: 14px;*/
/*    line-height: 130%;*/
/*    color: #787878;*/
/*    margin-bottom: 0;*/
/*}*/

/*.blog-list .links .desc {*/
/*    font-weight: 400;*/
/*    font-size: 14px;*/
/*    line-height: 145%;*/
/*    color: #000000;*/
/*    margin-bottom: 20px;*/
/*}*/

/*.blog-list .links .search-block {*/
/*    margin-bottom: 30px;*/
/*}*/

/*.blog-list .links .subscribe {*/
/*    font-weight: 400;*/
/*    font-size: 18px;*/
/*    line-height: 165.4%;*/
/*    color: #FFFFFF;*/
/*    display: block;*/
/*    width: 100%;*/
/*    height: 40px;*/
/*    padding: 8px 0 !important;*/
/*}*/
/*#endregion Blog */

/*#region Privacy */
.privacy {
  margin-top: 40px;
}

.privacy .title {
  font-weight: 700;
  font-size: 55px;
  line-height: 106.4%;
  color: #1c1c1c;
  margin-bottom: 20px;
}

.privacy .item-title {
  font-weight: 600;
  font-size: 30px;
  line-height: 130.4%;
  color: #000000;
}

.privacy .item-desc {
  font-weight: 400;
  font-size: 18px;
  line-height: 165.4%;
  color: #000000;
  margin-top: 20px;
}

.privacy .mt-50 {
  margin-top: 50px;
}

.privacy table td {
  width: 50%;
}
/*#endregion Privacy */

.blog-contents-header {
  padding: 20px;
  border-radius: 10px;
  background: #edf0f7;
  width: 320px;
}

.blog-contents-header {
  padding: 20px;
  border-radius: 10px;
  background: #edf0f7;
  width: 320px;
}

.map-index h4 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.map-index a {
  color: #CC546C;
  text-decoration: underline;
}

@media (max-width: 1750px) {
  .header-block .header .header_links_block .header_links {
    margin-right: 0;
  }
}
@media (max-width: 1340px) {
  .blog-list .article-list-block{
    width: 100%;
    margin-left: 0;
    margin-top: 40px;
  }

  .blog-list .rubrics-block {
    display: none;
  }

  .blog-list .links {
    margin: 0 auto;
    max-width: 400px;
  }
}
@media (max-width: 1300px) {
  .header-block .header .header_links_block .header_links {
    display: none;
  }
  .favorite {
    display: none;
  }
  .header-block .header .header_links_block {
    display: none;
  }
  .header-block .header .burger {
    display: block;
    margin: 0px;
    font-size: 22px;
    margin-top: 5px;
  }
  .header-block .header .header-right {
    width: 100%;
    margin-top: -8px;
  }
  .header-block .header .search-block {
    width: 100%;
    margin-left: 50px;
  }

  .site-about .image {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 1276px) {
  .school-reviews .school-review img {
    width: 200px;
  }
}
@media (max-width: 1250px) {
  .school-reviews .school-review .count-block {
    display: block;
  }
  .school-reviews .school-review .count-block .count {
    margin-top: 10px;
  }

  .site-about .text-info-block,
  .site-about .contact-info-block {
    width: 100%;
    margin-left: 0;
  }

  .site-about .contact-info-block {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 30px;
  }

  .site-about .contact-info-block .mt-50 {
    margin-top: 0;
  }
}
@media (max-width: 1160px) {
  .school-reviews .school-review img {
    width: 150px;
  }
}
@media (max-width: 1050px) {
  .footer .logo {
    width: 215px;
  }

  .blog .blog-list .blog-category {
    padding: 3px 16px;
  }

  .main_page .container h1 {
    font-size: 50px;
  }

  .privacy .title {
    font-size: 50px;
  }
}
@media (max-width: 992px) {
  .categories .arrows {
    max-width: 300px;
    margin: 0 auto;
    margin-top: 10px;
    justify-content: space-around;
  }

  .school-reviews .school-review {
    margin-bottom: 10px;
  }

  .footer .footer-link-name {
    margin-top: 25px;
  }

  .site-error .title {
    font-size: 110px;
  }
  /* Заголовок на главной странице */
  .main_page .container h2 {
    font-weight: 700;
    /*font-size: font-size:calc(12px + 8 * (100vw - 320px) / 880); */
    font-size: calc(45px + 10 * (100vw - 320px) / 1758);
    line-height: 106.4%;
    text-align: start;
  }
}
@media (max-width: 991px) {
  .list-view-header .mobile-filter {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .filter-block {
    display: none;
  }

  .filter-block.show {
    display: block;
    transform: translateX(0);
  }

  .filter-block .filters {
    background: #fff;
  }

  .main_page .container h1 {
    font-size: 45px;
  }

  .privacy .title {
    font-size: 45px;
  }

  .school-reviews .school-review {
    margin-bottom: 30px;
  }
}

@media (max-width: 1340px) {
  .blog-list .list-view-header .mobile-filter {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .blog-list .filter-block {
    display: none;
  }

  .blog-list .filter-block.show {
    display: block;
    transform: translateX(0);
  }

  .blog-list .filter-block .filters {
    background: #fff;
  }

  .blog-list .main_page .container h1 {
    font-size: 45px;
  }

  .blog-list .privacy .title {
    font-size: 45px;
  }

  .blog-list .school-reviews .school-review {
    margin-bottom: 30px;
  }
}

@media (min-width: 1340px) {
  .filter-block .right-block {
    display: none;
  }
}

@media (max-width: 800px) {
  .blog .blog-list .blog-category {
    padding: 2px 11px;
  }

  .site-about .image-block {
    display: none;
  }

  .site-about .title-block {
    width: 100%;
  }
}
@media (max-width: 730px) {
  .blog .blog-list .blog-category {
    left: 25px;
    padding: 1px 10px;
  }

  /* Заголовок на главной странице */
  .main_page .container h2 {
    font-size: calc(31px + 24 * (100vw - 240px) / 1758);
  }
}
@media (max-width: 767px) {
  .main_page .container .main_page_qualities .bordered-block {
    margin-bottom: 10px;
  }

  .site-error .title {
    font-size: 80px;
  }

  .main_page .container .search-block {
    margin: 0 20px;
  }
}
@media (max-width: 576px) {
  .site-index .section-padding {
    padding: 20px 32px 30px 32px;
  }

  .header-block .header .search-block {
    display: none;
  }
  .header-block .header .search-svg-mobile-block svg {
    display: block;
  }
  .header-block .header .header-right {
    justify-content: flex-end;
    width: inherit;
  }
  .blog .blog-list .blog-category {
    left: 30px;
    padding: 4px 21px;
  }

  .blog .blog-list {
    margin-top: 0px;
  }

  .blog .blog-list .blog-elem {
    margin-top: 25px;
  }

  .section-title {
    text-align: left;
    font-size: 35px;
  }

  .site-index .section-title {
    text-align: center;
  }

  .site-error .title {
    font-size: 60px;
  }

  .main_page .container .main_page_desc {
    font-size: 16px;
    text-align: left;
  }

  .main_page .container h1 {
    text-align: left;
  }

  .privacy .title {
    text-align: left;
  }

  /*#region Mobile select category section */
  .categories .categories-header {
    margin-bottom: 15px;
    text-align: center;
  }

  .categories .desktop {
    display: none;
  }

  .categories .mobile {
    display: block;
    text-align: center;
  }

  .categories .mobile .category-section-list-title {
    display: block;
    margin-bottom: 32px;
    color: white;
  }

  .categories .arrow {
    width: inherit !important;
    padding: 0 !important;
    text-align: left;
  }

  .categories .border-filter {
    justify-content: center;
  }

  .categories .border-filter .border-filter-block {
    max-width: 319px;
    margin-right: 0px;
  }

  .border-filter .btn .arrow::after {
    position: absolute;
    margin: 0;
    right: 20px;
    top: 16px;
  }

  .categories .mobile .list {
    margin-top: 44px;
  }
  /*#endregion Mobile select category section */

  .page-title,
  .site-about .title {
    font-size: 45px;
  }

  .school-list .list-view .custom-list-view {
    gap: 30px 50px;
  }

  .site-about .contact-info-block {
    margin-top: 20px;
  }

  .site-about .contact-info-block img {
    width: 30px;
    height: auto;
  }

  .custom-list-view .custom-list-view-item {
    width: 100%;
    max-width: inherit;
  }

  .item-block img {
    height: auto !important;
  }

  .item-block .more {
    height: 100% !important;
  }

  .header-block .header .row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .header-block .header .logo-block {
    width: inherit;
  }

  .header-block .header .burger {
    padding: 4px 10px;
  }
}

@media (max-width: 576px) and (min-width: 360px) {
  .main_page .container .main_page_qualities .col-sm-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (max-width: 505px) {
  .categories .bordered-block {
    max-width: 360px;
  }

  .site-error .title {
    font-size: 50px;
  }

  .site-about .contact-info-block {
    display: block;
  }

  .site-about .contact-info-block .mt-50 {
    margin-top: 50px;
  }
}

@media (max-width: 390px) {
  .blog-contents-header {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .red-btn {
    padding: 14px 20px !important;
    font-size: 16px;
  }

  .site-error .title {
    font-size: 40px;
  }

  .site-error .red-btn {
    width: 250px;
  }
}
@media (max-width: 350px) {
  .footer .underline {
    font-size: 14px;
  }

  .main_page .container h1 {
    font-size: 40px;
  }

  .privacy .title {
    font-size: 30px;
  }

  .privacy .item-title {
    font-size: 20px;
  }

  .privacy table .item-desc {
    font-size: 12px;
  }

  .categories-quick-link .category {
    margin-right: 0;
    padding: 9px 14px;
  }
}

@media (max-height: 900px) and (max-width: 750px) {
  .main_page {
    height: inherit;
    margin: 20px 0;
  }
}
