/*section Favorites start*/
.addToFavourites {
  /* display: none; */
  position: absolute;
  cursor: pointer;
  z-index: 3;
  right: 14px;
  top: 14px;
  width: 24px;
  height: 24px;
  background: none;
  border: 0;
  outline: 0;
  padding: 0;
  background: url(/img/like2.svg) no-repeat;
  background-size: 24px;
}
.addToFavourites_single {
  width: 33px;
  height: 33px;
  background: url(/img/like2.svg) no-repeat;
  background-size: 33px;
}
.addToFavourites__icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 0;
  outline: 0;
  padding: 0;
  background: url(/img/like2.svg) no-repeat;
  background-size: 24px;
}
.favorites__emptyText {
  width: 100%;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #8d8b8b;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.addToFavourites_active {
  background: url(/img/dislike.svg) no-repeat;
  background-size: 24px;
}
.house__slider .addToFavourites_active {
  background: url(/img/dislike.svg) no-repeat;
  background-size: 33px;
}
.logo_favorites {
  background: url(../img/logo-topdom-text-black.svg) no-repeat 63px 50%;
  background-size: 70%;
  margin: 38px 42px 0 0;
  text-indent: -99999999999px;
  overflow: hidden;
  display: block;
  width: 165px;
  height: 43px;
  background-size: contain;
}
.logo_favorites::before {
  background: url(../img/logo-topdom-pic-black.svg) no-repeat;
  background-size: contain;
  content: "";
  display: block;
  width: 38px;
  height: 43px;
}
.favorites__button {
  display: none;
  position: fixed;
  z-index: 99999999999999;
  left: -41px;
  top: 48%;
  width: 110px;
  transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -webkit-transition: -webkit-transform 0.2s ease-in-out;
  -ms-transition: -ms-transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out;
  outline: none;
  border: 0;
  padding: 5px 0;
  transition: left 0.3s ease;
}
.favorites__button-desc {
  background: #44c054;
  color: white;
  cursor: pointer;
}
#favorites__List {
  position: fixed;
  top: 0;
  left: -100%;
  width: 33.33%;
  height: 100%;
  background-color: #ffffff;
  overflow-x: visible;
  box-sizing: border-box;
  transition: left 0.3s ease;
  z-index: 999999999999;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.favorites__List_textContainer {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: space-between;
  padding: 45px 25px 20px 25px;
  height: 100%;
  width: 100%;
  gap: 45px 25px;
  overflow-y: scroll;
  box-sizing: border-box;
}
.favorites__List_textContainer::-webkit-scrollbar {
  width: 8px;
}
.favorites__List_textContainer::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

.favorites__List_textContainer::-webkit-scrollbar-thumb {
  background-color: #0abc22;
  border-radius: 5px;
}

.favorites__List_textContainer::-webkit-scrollbar-thumb:hover {
  background-color: rgb(4, 161, 25);
}
.favorites__close {
  position: absolute;
  right: -70px;
  height: 30px;
  border: 0;
  outline: 0;
  cursor: pointer;
  top: 48%;
  width: 110px;
  transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -webkit-transition: -webkit-transform 0.2s ease-in-out;
  -ms-transition: -ms-transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out;
  padding: 5px 0;
  transition: left 0.3s ease;
}
#favorites__List .project-favorite {
  display: block;
}
.project-favorite {
  width: calc(50% - 15px);
}
.project-favorite .project__image-wrap {
  height: 146px;
  margin: 0px 0 10px;
}
.project-favorite .project__title-wrap {
  margin: 0 0 8px 0;
}
.project-favorite .project__title {
  font-size: 17px;
  margin: 0;
  letter-spacing: -0.09px;
}
.project-favorite .project__stats-name {
  font-size: 13px;
  margin-left: 0;
}
.project-favorite .project__stats-wrap {
  gap: 6px 0;
  justify-content: space-between;
}
.project-favorite .project__stats-num {
  font-size: 13px;
}
.project-favorite .project__stats-pic {
  margin: 0px 7px 0 0;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.project-favorite .project__stats-pic_size {
  background-size: contain;
}
.project-favorite {
  display: none;
}
#favorites__List .project-favorite {
  display: block !important;
}
.project-favorite .project__stats-item {
  width: 50%;
}
.project-favorite .project__image-status_hit {
  left: 18px;
}
.project-favorite .project__image-status {
  font-weight: 400;
  font-size: 13px;
  padding: 4px 7px;
}
.favorites__overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999999999;
  transition: all 0.5s ease;
}
.favorites__List_textContainer .swiper-slide-image {
  max-width: 100%;
  height: auto;
}

.favoritesMobile__header {
  display: none;
  position: fixed;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  justify-content: space-between;
  height: 50px;
  z-index: 9999999999;
  padding: 0 20px;
  transition: background 0.09s ease-out;
  -webkit-box-shadow: 0px 2px 10px 0px rgba(34, 60, 80, 0.1);
  -moz-box-shadow: 0px 2px 10px 0px rgba(34, 60, 80, 0.1);
  box-shadow: 0px 2px 10px 0px rgba(34, 60, 80, 0.1);
}
.favoritesMobile__header .logo_black {
  margin: 10px 12px 0 0;
}
.favoritesMobile__header .favorites__button {
  display: block;
  position: static;
  transform: none;
  -ms-transform: none;
  -webkit-transform: none;
  -webkit-transition: -webkit-transform 0.2s ease-in-out;
  -ms-transition: -ms-transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out;
  padding: 5px 0 5px 26px;
  background: url(/img/dislike.svg) 8% 50% / 24px no-repeat rgb(68, 192, 84);
  width: 145px;
}
.favoritesMobile__header .logo_black {
  background: url(../img/logo-topdom-text-black.svg) no-repeat 47px 2px;
  background-size: 68%;
}
.favorites__List_textContainer .swiper-slide-image {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
@media (max-width: 1800px) {
  #favorites__List {
    width: 45%;
  }
}
@media (max-width: 1370px) {
  #favorites__List {
    width: 55%;
  }
}
@media (max-width: 1170px) {
  #favorites__List {
    width: 60%;
  }
}
@media (max-width: 1400px) {
  .favorites__emptyText {
    width: 87%;
    flex-direction: column;
  }
}
@media (max-width: 1070px) {
  #favorites__List {
    width: 80%;
  }
  .favorites__close {
    top: 20%;
  }
  .favorites__List_textContainer {
    padding: 25px 25px 20px 25px;
  }

  .project__image-wrap {
    height: 179px;
  }
  .favorites__button-desc {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #favorites__List {
    width: calc(100% - 45px);
  }
  .project-favorite {
    width: 100%;
  }
}
/*#endregion Favorites */
