html {
  font-size: 16px;
  font-family: 'Montserrat', sans-serif !important;
}
body {
  overflow-x: hidden;
}
::-webkit-scrollbar {
  display: none;
}
header {
  position: sticky;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #141f43;
}
.logo {
  margin-left: 12.5%;
  animation: animationLogo 1s ease-in-out;
}
.logo img {
  width: 100%;
  height: auto;
}
@keyframes animationLogo {
  from {
    transform: translateY(-102%);
  }
  to {
    transform: translateY(0);
  }
}
.header-container {
  position: relative;
}
.menu-item {
  position: relative;
}
.header__phones {
  display: inline-flex;
  color: rgba(248,248,248,1);
  align-items: center;
  margin: 1.852852621% 0 0 11.271520111%;
}
.header__phones > a {
  color: rgba(228,228,228,1);
  text-decoration: none;
  font-weight: 500;
  line-height: 1;
  margin-left: 0.75rem;
  margin-top: 0.375rem;
}
.burger-menu .menu-burger li {
  margin-bottom: 0;
}
.burger-menu .menu-item a {
  margin-right: 0px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: #141414;
}
.menu-burger li a:hover::after {
  display: none;
}
.burger-menu .sub-menu .menu-item a {
  font-weight: 400;
}
.sub-menu .menu-item a:hover::after {
  display: block;
}
.burger-menu > li a {
  font-weight: 600;
  margin-bottom: 28px;
}
.burger-menu .sub-menu {
  display: flex;
  flex-direction: column;
  visibility: visible;
  position: static;
  background-color: transparent;
  border-radius: 0;
  padding-left: 0;
  padding-top: 28px;
  font-weight: 400;
  opacity: 0;
  transition: 0.5s;
}
.burger-menu.sub-menu li a {
  font-weight: 400;
}
.burger-menu .sub-menu li::before {
  display: none;
}
.burger-menu .menu-item a {
  margin-right: 0;
}
.burger-menu .menu-item > .sub-menu {
  visibility: visible;
  opacity: 1;
}
.burger-menu .sub-menu .menu-item {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1rem;
  font-weight: 500;
  margin-left: 0px;
}
.burger-menu .menu-item .sub-menu {
  display: flex;
  flex-direction: column;
  visibility: visible;
  position: static;
  background-color: transparent;
  border-radius: 0 0 16px 16px;
  padding-left: 0;
  padding-top: 20px;
  margin-bottom: 20px;
  opacity: 1;
  transition: 0.5s;
}

.menu-item .sub-menu {
  display: flex;
  flex-direction: column;
  visibility: hidden;
  position: absolute;
  background-color: #141f43;
  border-radius: 0 0 16px 16px;
  top: 100%;
  left: 0;
  z-index: 2;
  padding-left: 0;
  padding-top: 10px;
  opacity: 0;
  transition: 0.5s;
}
.sub-menu .menu-item {
  position: relative;
  width: 330px;
  max-width: 100%;
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1rem;
  font-weight: 500;
  margin-left: 29px;
}
.sub-menu li::before {
  position: absolute;
  top: 1px;
  left: -15px;
  height: 15px;
  width: 10px;
  content: '';
  background-image: url(../img/list-arrow.png);
  background-repeat: no-repeat;
  background-size: auto;
}
.menu-item:hover > .sub-menu {
  visibility: visible;
  opacity: 1;
}
.sub-menu li a {
  position: relative;
}
.sub-menu li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width 0.5s ease;
}

.sub-menu li a:hover::after {
  width: 50%;
}

/* Бургер */

/* Гамбургер иконка */
.menu-btn {
  top: -12px;
  width: 50px;
  height: 48px;
  position: relative;
  z-index: 3;
  overflow: hidden;
  margin-right: 10px;
}

.menu-btn span {
  width: 50px;
  height: 4px;
  position: absolute;
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(228,228,228,1);
  transition: all 0.5s;
}

.menu-btn span:nth-of-type(2) {
  top: calc(50% - 10px);
}
.menu-btn span:nth-of-type(3) {
  top: calc(50% + 10px);
}

.menu-btn.active span:nth-of-type(1) {
  display: none;
}
.menu-btn.active span:nth-of-type(2) {
  top: 50%;
  transform: translate(-50%, 0%) rotate(45deg);
}
.menu-btn.active span:nth-of-type(3) {
  top: 50%;
  transform: translate(-50%, 0%) rotate(-45deg);
}

/* Меню, которое будет появляться */
.burger-mobile {
  display: none;
}
.menu-burger {
  position: absolute;
  top: -85%;
  left: -60%;
  width: 358px;
  height: 100vh;
  padding: 15px;
  background-color: #fff;
  transform: translateX(-200%);
  border-bottom-right-radius: 20px 20px;
  transition: transform 0.5s;
  z-index: 2;
}
.menu-burger::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50vw;
  background-color: rgba(255,255,255,1);
}
/* Випадающий список */

.menu-burger ul:first-child {
  margin-top: 25%;
}
.menu-burger ul {
  margin-bottom: 0px;
  padding-left: 8%;
  display: flex;
  flex-direction: column;
}

.menu-main-title {
  margin-bottom: 20px;
  font-weight: 500;
}
.menu-burger .menu-last {
  margin-bottom: 16px;
}
.menu-burger .menu-last .menu-main-title {
  margin-bottom: 20px;
}
.menu-burger.active {
  transform: translateX(0);
}

.burger-laptop {
  position: absolute;
}

.menu-burger li {
  margin-bottom: 0px;
}
.menu-burger li span {
  margin-bottom: 20px;
}
.menu-burger li:last-child {
  margin-bottom: 0;
}
.menu-burger a {
  text-decoration: none;
  font-weight: 400;
  color: #141414;
}
.menu-burger li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #141f43;
  transition: width 0.5s ease;
}
.menu-burger li a {
  overflow: hidden;
  position: relative;
}
.menu-burger li a:hover::after {
  width: 50%;
}
.menu-social {
  padding-left: 8%;
}
.header-container {
  display: flex;
  align-items: center;
  padding-bottom: 25px;
}
nav ul {
  display: flex;
  list-style: none;
  margin-bottom: 0;
  padding-left: 86px;
}

.menu-menu-1-container ul {
  display: flex;
  list-style: none;
  margin-bottom: 0;
  padding-left: 86px;
}

.menu-item a {
  margin-right: 35px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(228,228,228,1);
}
.search-block {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 25px;
  margin-left: 2.2%;
  color: rgba(228,228,228,1);
  gap: 1rem;
}
.search-input {
  border: none;
  outline: none;
  background-color: transparent;
  color: #646464;
  width: 210px;
  font-size: 1rem;
  max-width: 100%;
}
.real-estate-mriia-search .real-estate-mriia-search__input {
  width: 90%;
  line-height: 1;
  font-size: 1rem;
}
.real-estate-mriia-search {
  border-bottom: none;
  padding: 0;
  width: 100%;
}
.real-estate-search-responce {
  z-index: 2;
  color: rgba(0,0,0,1);
}
.real-estate-search-responce-items {
  margin: 0;
  padding: 0;
}
.search {
  background-color: #fff;
  border: transparent;
  border-radius: 8px;
  height: 44px;
  display: flex;
  align-items: center;
  margin-right: 28px;
  position: absolute;
  width: 0px;
  opacity: 0;
  max-width: calc( 100vw - 30px );
  right: 14px;
  transition: width 1s ease 0s;
}
.search.search__active {
  width: 400px;
  opacity: 1;
  padding: 0 10px;
}
div#get-search-form {
  cursor: pointer;
}
.header-menu__hidden {
  margin-top: 25px;
}
.menu-social .contact-block {
  gap: 0 1rem;
}
.favorite-count .favorite-item-count {
  right: -10px;
}
@media (max-width: 1024px) {
  .favorite-item-count {
    position: absolute;
    right: -10px;
    top: 37px;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: rgba(239, 239, 239, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(0, 46, 63, 1);
  }
}

@media (max-width: 992px) {
  header > .container {
    max-width: 100%;
  }
  .logo {
    width: 93px;
    margin-left: 7.5%;
  }
  .header-menu__hidden {
    display: none;
  }
  .burger-mobile {
    display: block;
  }
  .menu-burger-m {
    position: absolute;
    top: 0;
    left: -15px;
    width: 380px;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    padding: 15px;
    background-color: #fff;
    transform: translateX(-200%);
    border-bottom-right-radius: 20px 20px;
    transition: transform 0.5s;
    z-index: 3;
  }
  .menu-burger-m .menu-burger-m-list {
    display: none;
  }
  .menu-burger-m .menu-burger-m-list.active {
    display: block;
    opacity: 0;
    animation: menuList 0.5s forwards;
  }
  @keyframes menuList {
    0% {
      opacity: 0;
      transform: translateX(-50%);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  /* Випадающий список */
  .menu-burger-m ul {
    display: flex;
    flex-direction: column;
  }
  .menu-burger-m .burger-menu-m {
    padding: 84px 20px 0 15px;
    margin: 0;
  }
  .menu-burger-m .menu-last > li > a {
    font-size: 14px;
    line-height: 1;
  }
  .menu-burger-m .menu-last > li {
    margin-bottom: 9px;
  }
  .menu-burger-m .menu-last > li.menu-main-title {
    font-size: 1.35rem;
    margin-bottom: 17px;
  }
  .menu-burger-m .menu-last {
    padding-left: 15px;
    padding-top: 6px;
  }
  .menu-burger-m.active {
    transform: translateX(0);
  }
  .menu-burger-m .mobile-menu-main-title > a {
    position: relative;
    display: inline-block;
    margin-bottom: 9px;
    padding-bottom: 11px;
    border-bottom: 1px solid #d9d9d9;
    width: 100%;
  }
  .menu-burger-m .mobile-menu-main-title a {
    font-size: 16px;
    line-height: 1;
  }
  .burger-menu-m .menu-burger-m-list.active {
    display: block;
    visibility: visible;
    opacity: 1;
    color: #141414;
    animation: menuList 0.5s forwards;
  }
  .burger-menu-m .menu-burger-m-list.active a {
    visibility: visible;
    opacity: 1;
    color: #141414;
    z-index: 10;
  }
  .burger-menu-m .sub-menu .menu-item {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-bottom: 16px;
    font-size: 1.25rem;
    line-height: 1.25rem;
    font-weight: 400;
    margin-left: 0px;
  }
  .burger-menu-m .sub-menu .menu-item a {
    font-weight: 400;
    font-size: 1.25rem;
  }
  .burger-menu-m .sub-menu .menu-item:before {
    display: none;
  }
  .burger-menu-m .menu-item .sub-menu {
    display: block;
    position: static;
    color: #141414;
    background-color: transparent;
    border-radius: 0 0 16px 16px;
    padding-left: 0;
    padding-top: 0px;
    margin-bottom: 0;
    opacity: 1;
    transition: 0.5s;
  }
  .menu-burger-m #menu-main-title {
    position: relative;
    font-size: 1.35rem;
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #d9d9d9;
    width: 90%;
  }
  .menu-burger-m .menu-main-title a {
    font-weight: 500;
  }
  .activate-indicator {
    position: absolute;
    right: 4px;
    height: 12px;
    width: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    top: 0px;
  }
  .activate-indicator::before {
    content: '';
    width: 100%;
    height: 1px;
    display: block;
    position: absolute;
    transition: 0.15s ease;
    background-color: #141414;
  }
  .activate-indicator::after {
    content: '';
    height: 100%;
    width: 1px;
    display: block;
    position: absolute;
    transition: 0.15s ease;
    background-color: #141414;
    transform: rotate(0deg);
  }
  .activate-indicator.active::after {
    transform: rotate(90deg);
  }
  .menu-burger-m li {
    margin-bottom: 8px;
  }
  .menu-burger-m li span {
    margin-bottom: 20px;
  }
  .menu-burger-m li:last-child {
    margin-bottom: 0;
  }
  .menu-burger-m a {
    text-decoration: none;
    font-weight: 400;
    color: #141414;
  }
  .menu-btn-m {
    width: 33px;
    height: 50px;
    position: relative;
    top: 12px;
    z-index: 4;
    overflow: hidden;
  }
  .menu-btn-m span {
    width: 20px;
    height: 2px;
    position: absolute;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #d9d9d9;
    transition: all 0.5s;
  }

  .menu-btn-m span:nth-of-type(2) {
    top: calc(50% - 6px);
  }
  .menu-btn-m span:nth-of-type(3) {
    top: calc(50% + 6px);
  }

  .menu-btn-m.active span:nth-of-type(1) {
    display: none;
  }
  .menu-btn-m.active span:nth-of-type(2) {
    top: 50%;
    transform: translate(-50%, 0%) rotate(45deg);
  }
  .menu-btn-m.active span:nth-of-type(3) {
    top: 50%;
    transform: translate(-50%, 0%) rotate(-45deg);
  }
  @keyframes slideIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  .search.search__active {
    width: 320px;
    right: 0;
    z-index: 4;
    height: 35px;
    padding: 0 10px;
    display: flex;
    align-items: center;
  }
  .search-block {
    margin-top: 24px;
    margin-left: 0;
    margin-right: 4px;
  }
  .search-block > svg {
    width: 20px;
  }
  .menu-social img {
    margin-right: 14px;
  }
  .favorite-count .favorite-item-count {
    position: absolute;
    top: 0;
    right: -5px;
  }
  .menu-burger-m .menu-social {
    padding: 15px 0 0 15px;
    display: flex;
    gap: 0 16px;
  }
  .menu-burger-m .menu-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
  }
  .menu-burger-m .menu-social a img {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }
}
@media (max-width: 768px) {
  .menu-burger-m.active {
    transform: translateX(0%);
    max-width: 100vw;
  }
  .menu-burger-m {
    position: absolute;
    top: 0;
    left: -5%;
    width: 115%;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    max-height: 1000px;
    padding: 15px;
    background-color: #fff;
    transform: translateX(-200%);
    border-bottom-right-radius: 20px 20px;
    transition: transform 0.5s;
    z-index: 3;
  }
  .menu-social img {
    margin-right: 14px;
    padding-bottom: 14px;
  }
}
@media (max-width: 540px) {
  .real-estate-mriia-search {
    font-size: 0.6rem;
  }
  .search.search__active {
    width: 290px;
  }
  .menu-burger-m li {
    font-size: 1.2rem;
  }
  .burger-menu-m .menu-burger-m-list.active a {
    font-size: 1.2rem;
  }

  .real-estate-mriia-search .real-estate-search-responce {
    width: calc(100% + 18px);
    right: -9px;
    left: -9px;
    top: 22px;
  }
  .menu-burger-m.active {
    left: -25px;
    transform: translateX(0%);
  }
  .menu-burger-m {
    top: 0;
  }
}
@media screen and ( min-width: 1024px ) and ( max-width: 1399px ) {
  header > .container {
    width: 100%;
    padding: 0 12px;
    margin: 0;
    max-width: 100%;
  }
  .header-container {
    justify-content: center;
    gap: 1%;
  }
  .search-block,
  .header__phones,
  .logo {
    margin-left: 0;
  }
}
@media screen and ( max-width: 1023px ) {
  .header__phones {
    display: none;
  }
  .header-container {
    justify-content: space-between;
  }
}
.real-estate-search-responce.loaded {
  width: calc(100% + 18px);
  right: -9px;
  left: -9px;
  top: 22px;
}
.real-estate-search-responce.loaded .real-estate-search-responce-items .responce-item .responce-item__thumb {
  height: 90px;
}
.real-estate-search-responce.loaded .real-estate-search-responce-items .responce-item .responce-item__thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.real-estate-search-responce.loaded .real-estate-search-responce-items .responce-item .responce-item__description .item-price .price {
  font-size: 13px;
}