body {
  background: none;
}
section {
	padding: 0;
}
h2 {
  text-align: start;
  color: var(--dark);
  line-height: 112%;
}
h3 {
  font-weight: 400;
  font-size: 36px;
  line-height: 120%;
}
h5 {
  font-size: 24px;
  font-weight: 600;
  line-height: 120%;
}
.mt-186 {
  margin-top: 186px;
}

._mobileOnly {
  display: none;
}


/* CUSTOM CHECKBOX */
input[type="checkbox"],
input[type="radio"] {
  -webkit-appearance: initial;
  -moz-appearance: initial;
  border: none !important;
  padding: 0 !important;
}
.custom-checkbox {
  position: absolute;
  height: 20px;
  width: fit-content;
  display: flex;
  align-items: center;
}
.custom-checkbox::before {
  content: "";
  background-image: url("/local/assets/img/doma-new/compatible/checkbox-default.svg");
  display: flex;
  position: relative;
  width: 20px;
  height: 20px;
  top: 0;
}
.custom-checkbox:checked::before {
  background-image: url("/local/assets/img/doma-new/compatible/checkbox-checked.svg");
}
/* END CUSTOM CHECKBOX */

.breadcrumbs {
	height: 22px;
  padding: 0 15px;
}
.breadcrumbs a, .breadcrumbs span {
  color: #232323;
  text-decoration: none;
  margin-right: 14px;
  transition: color 0.2s ease;

	font-size: 16px;
	line-height: 130%;
}
.breadcrumbs a:after {
  content: "/";
  display: inline-block;
  position: relative;
  left: 6px;
  bottom: -1px;

	font-size: 16px;
	line-height: 130%;
}

.menu-search {
  margin-top: 64px;
  position: relative;
  z-index: 4;
}
.menu-search__input {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 806px;
  height: 62px;
  padding: 10px 56px 10px 24px;
  border: 1px solid var(--gray-light);
  border-radius: 16px;
  z-index: 2;
}
.menu-search__icon {
  background-size: contain;
  content: "";
  width: 22px;
  height: 22px;
  position: absolute;
  right: 24px;
  z-index: 2;
  background-image: url(/local/assets/img/doma-new/compatible/search-icon.svg);
}
.menu-search__input input {
  padding: 10px 0;
  background-color: white;
  border: none;
  border-radius: 0;
  line-height: 120%;
}
.menu-search__input input::placeholder {
  color: var(--gray-light);
}
.menu-search__dropdown {
  padding-right: 2px;
  display: none;
  width: 100%;
  /* height: fit-content; */
  max-height: 230px;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(calc(100% + 1px));
  background-color: white;
  border-radius: 10px;
  box-shadow: 1px 2px 8px 0px rgba(34, 34, 34, 0.04),-1px -2px 8px 0px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.menu-search__dropdown._show {
  display: block;
}
.menu-search__dropdown-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 230px;
  overflow: auto;
}
.menu-search__dropdown-wrapper::-webkit-scrollbar {
  width: 4px;
}
.menu-search__dropdown-wrapper::-webkit-scrollbar-thumb {
  background: var(--gray-extra-light);
}
.menu-search__dropdown-wrapper::-webkit-scrollbar-track {
  background: #F4F4F4;
}
.menu-search__dropdown-row {
  padding: 12px 24px;
  cursor: pointer;
  transition: color .1s ease;
}
.menu-search__dropdown-row._recent {
  color: var(--gray);
  position: relative;
}
.menu-search__dropdown-row:hover {
  background-color: #F5F5F5;
  color: var(--accent);
}
.menu-search__dropdown-row._recent::after {
  content: 'недавно искали';
  color: var(--gray);
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  font-size: 12px;
  line-height: 130%;
}

.content-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.sidebar {
  padding: 32px;
  grid-column-start: 1;
  grid-column-end: 4;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-block .list {
  margin-top: 16px;
  height: 100%;
  max-height: 286px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sidebar-block .list::-webkit-scrollbar {
  width: 4px;
}
.sidebar-block .list::-webkit-scrollbar-thumb {
  background: var(--gray-extra-light);
}
.sidebar-block .list::-webkit-scrollbar-track {
  background: #F4F4F4;
}
.sidebar-block .list__item {
  width: 100%;
  
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.sidebar-block .list__item label {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 22px;
  position: relative;
  padding-left: 28px;
  font-size: 18px !important;
  line-height: 120%;
  color: black;
  left: 0;
  top: 0;
  pointer-events: all;
  user-select: none;
  cursor: pointer;
}
.sidebar .reset-filters {
  margin-top: 10px;
}
.reset-filters {
  padding: 4px 0;
}
.reset-filters, .modal__reset-filters-btn {
  width: fit-content;
  display: flex;
  gap: 8px;
  cursor: pointer;
}

main.content {
  grid-column-start: 4;
  grid-column-end: 13;
  position: relative;
}
.empty-sheet {
  width: 100%;
  height: 100%;
  background-color: var(--white);

  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.empty-sheet.active {
  transition: all .1s ease;
  opacity: 1;
}
.main-wrapper {
  padding: 32px 16px 16px;
}
.main-wrapper:not(:first-of-type) {
  margin-top: 24px;
}
.main-wrapper__top {
  padding: 0 16px;
}
.main-wrapper__control-device {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-wrapper__table {
  margin-top: 32px;
}
.head-row {
  display: grid;
  grid-template-columns: 17% 17% 1fr 1fr;
  padding: 0 16px 8px;
}
.head-row > div {
  font-size: 18px;
  font-weight: 600;
  line-height: 140%;
}
.table-row {
  display: grid;
  grid-template-columns: 17% 17% 1fr 1fr;
  padding: 16px;
  border-radius: 8px;
}
.table-row:not(.head-row) {
  padding: 16px;
}
/* .table-row:not(.head-row):nth-of-type(odd) {
  background-color: #F4F4F4;
} */

.head-row__item:not(:first-of-type), .table-row__item:not(:first-of-type) {
  padding: 0 20px;
}
.table-row__item:not(:last-of-type) {
  border-right: 1px solid #0000004D;
}

/* EMPTY SEARCH */
.main-empty {
  padding: 32px;
  flex-direction: column;
  align-items: center;
  gap: 12px;

  display: none;
}
.main-empty._isEmpty {
  display: flex;
}
.main-empty__info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.main-empty__info > div {
  font-size: 18px;
  line-height: 120%;
}
/* END EMPTY SEARCH */

.loader-wrapper {
  position: fixed;
  top: 0; bottom: 0;
  right: 0; left: 0;
  background-color: var(--white);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-block;
  border-top: 4px solid var(--accent);
  border-right: 4px solid transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 


.to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--accent);
  cursor: pointer;
  z-index: 100;
  transition: background-color .2s ease;
}
.to-top:hover {
  background-color: var(--hover-main);
}
.to-top svg {
  margin-top: -4px;
}


footer {
  margin-top: 100px;
}

@media screen and (max-width:1440px) {
  .sidebar {
    padding: 32px 0;
  }

  .main-wrapper {
    padding: 32px 0 0;
  }

}

@media screen and (max-width:1200px) {
  .sidebar-block .list__item label {
    font-size: 14px !important;
  }
  .head-row > div, .table-row > div {
    font-size: 14px;
  }
  .table-row:not(.head-row) {
    padding: 12px;
  }
  .head-row__item:not(:first-of-type), .table-row__item:not(:first-of-type) {
    padding: 0 12px;
  }
}

@media screen and (max-width:992px) {  
  h3 br {
    display: none;
  }
  .reset-filters, .modal__reset-filters-btn {
    align-items: center;
  }
  .reset-filters .fz-t3, .modal__reset-filters-btn .fz-t3{
    font-size: 14px;
  }

  .head-row, .table-row {
    grid-template-columns: 1fr 120px 1fr;
  }
  .head-row .head-row__item:first-of-type {
    display: none;
  }
  .table-row .table-row__item:first-of-type {
    display: none;
  }
  .head-row .head-row__item:nth-of-type(2) {
    order: 2;
  }
  .table-row .table-row__item:nth-of-type(2) {
    order: 2;
  }
  .head-row .head-row__item:nth-of-type(3) {
    order: 1;
  }
  .table-row .table-row__item:nth-of-type(3) {
    order: 1;
  }
  .head-row .head-row__item:nth-of-type(4) {
    order: 3;
  }
  .table-row .table-row__item:nth-of-type(4) {
    order: 3;
  }

  .main-empty__info > div {
    font-size: 16px;
  }

	.to-top {
		display: none;
	}
}

@media screen and (max-width: 640px) {
  .mt-186 {
    margin-top: 78px;
  }
  ._desktopOnly {
    display: none;
  }
  ._mobileOnly {
    display: block;
  }

  .breadcrumbs {
    padding: 0;
  }
  .breadcrumbs a, .breadcrumbs span {
    font-size: 14px;
  }

  .menu-search {
    margin-top: 32px;
  }
  .menu-search__input {
    padding: 6px 48px 6px 20px;
    height: 52px;
  }
  .menu-search__input::after {
    right: 20px;
    height: 20px;
    width: 20px;
  }
  .menu-search__input input {
    font-size: 14px;
  }
  .menu-search__dropdown-row {
    padding: 12px 16px;
    font-size: 14px;
    line-height: 130%;
  }
  .menu-search__dropdown-row._recent {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .menu-search__dropdown-row._recent::after  {
    position: relative;
    top: initial;
    right: initial;
    transform: initial;
  }


  .main-wrapper { 
    padding-top: 45px;
  }
  .content-grid {
    display: block;
  }
	.sidebar-block .list {
		height: initial;
	}
  .mob-sidebar {
    width: 100vw;
    margin-left: -20px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;  /* Firefox */
  }
  .mob-sidebar::-webkit-scrollbar {
    display: none;   /* Safari and Chrome */
  }
  .mob-sidebar > * {
    border: 1px solid var(--accent);
    border-radius: 8px;
    height: 35px;
  }
  .mob-sidebar .reset-filters, .mob-sidebar .modal__reset-filters-btn {
    padding: 8px;
  }
  .mob-sidebar__item {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  }
  .mob-sidebar__item-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 130%;
    color: var(--accent);
  }
  .mob-sidebar__item-arrow {
    margin-top: -2px;
    width: 16px;
    height: 16px;
    background-image: url('/local/assets/img/doma-new/compatible/sidebar-arrow-accent.svg');
  }
  .mob-sidebar__item._notEmpty {
    background-color: var(--accent);
  }
  .mob-sidebar__item._notEmpty .mob-sidebar__item-name {
    color: var(--white);
  }
  .mob-sidebar__item._notEmpty .mob-sidebar__item-arrow {
    background-image: url('/local/assets/img/doma-new/compatible/sidebar-arrow-white.svg');
  }

  .mob-sidebar__item .modal__reset-filters {
    margin-left: 2px;
    width: 19px;
    height: 19px;
    padding: initial;

    display: none;
  }
  .mob-sidebar__item._notEmpty .modal__reset-filters {
    display: block;
  }




  .mob-sidebar__modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 20;

    display: none;
  }
  .mob-sidebar__modal.active-modal {
    display: block;
  }
  .mob-sidebar__modal .background {
    background-color: #00000080;
    position: relative;
    width: 100%;
    height: 100%;
  }
  .mob-sidebar__modal .sidebar-block {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: fit-content;
    max-height: 80%;
    background-color: var(--white);
    border-radius: 24px 24px 0 0;
    padding: 16px 16px 24px;
  }
  .mob-sidebar__modal .sidebar-block .sidebar-title {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  .mob-sidebar__modal .sidebar-block h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 130%;
  }
  .mob-sidebar__modal .sidebar-block .list {
    max-height: none;
    gap: 12px;
  }
  .mob-sidebar__modal .sidebar-block .buttons {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .mob-sidebar__modal .sidebar-block .buttons .apply-filters {
    padding: 10px;
    width: 100%;
    height: 40px;
    background-color: var(--accent);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
  }
  .mob-sidebar__modal .sidebar-block .buttons .reset-filters {
    margin-top: 16px;
  }
  .mob-sidebar__modal .sidebar-block .buttons .modal__reset-filters-btn {
    margin-top: 16px;
  }

  .main-wrapper {
    padding: 16px 0;
    margin-top: 24px;
  }
  .main-wrapper__top {
    padding: 0 8px;
  }
  .main-wrapper__top h5 {
    font-size: 16px;
  }
  .main-wrapper__table {
    margin-top: 16px;
  }
  .main-wrapper__control-device {
    margin-top: 8px;
  }
  .main-wrapper__control-device img {
    width: 14px;
    height: 14px;
  }
  .main-wrapper__control-device div {
    font-size: 12px;
  }
  .head-row {
    padding: 0;
  }
  .table-row {
    display: grid;
    align-items: center;
  }
  .table-row:not(.head-row) {
    padding: 16px 0;
  }
  .head-row, .table-row {
    grid-template-columns: 1fr 1fr;
  }
  .head-row .head-row__item:nth-of-type(3) {
    padding: 0 6px 0 8px;
  }
  .table-row .table-row__item:nth-of-type(3) {
    padding: 0 6px 0 8px;
  }
  .table-row .table-row__item:nth-of-type(2) {
    padding: 0 8px 0 6px;
    border: none;
  }
  .head-row .head-row__item:nth-of-type(4), .table-row .table-row__item:nth-of-type(4) {
    display: none;
  }

  .main-empty {
    padding: 24px 0;
    margin-top: 32px;
  }
  .main-empty__info {
    text-align: center;
    flex-direction: column;
    gap: 16px;
  }
  .main-empty__info > div {
    font-size: 14px;
    font-weight: 600;
    line-height: 130%;
  }

  footer {
    margin-top: 32px;
  }
}

@media screen and (max-width:480px) {
  .container > h2 {
    font-size: 36px;
    font-weight: 400;
    line-height: 110%;
  }
  .container > h3 {
    font-size: 18px;
    font-weight: 400;
    line-height: 130%;
  }
}
