* {
  box-sizing: border-box
}
body {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 5px;
  font-family: Arial,Helvetica,sans-serif;
  background-color: var(---tg-theme-secondary-bg-color)
}
.wrapper {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  height: 100%
}
.main {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  color: #000;
  font-size: 18px;
  width: 100%;
  margin: 0;
  padding: 0;
  transition: transform .5s ease-in-out;
  width: 100%;
  max-width: 100vw
}
.block {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: calc(100% - 40px);
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  margin: 20px;
  background-color: #fff;
  border-radius: 15px
}
.block__category {
  display: none
}
.block__area,
.block__category.show,
.block__style {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  column-gap: 20px
}
.block__area .area__btn,
.block__category .category__btn {
  margin-right: auto;
  margin-left: 0;
  width: calc(50% - 10px);
  height: 200px;

}
.area__btn,
.back__btn,
.category__btn,
.continue__btn,
.style__btn {
  display: flex;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  padding: 15px 20px;
  margin: 10px auto;
  width: 100%;
  background: #163072;
  color: #fff;
  border-radius: 10px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 10;
}
.back__btn {
  background: #fff;
  color: #163072;
  border: 1px solid #163072
}
.button:not(:last-child) {
  margin-bottom: 20px
}
.noUi-horizontal {
  height: 12px
}
#slider-range .noUi-connect {
  background: #163072
}
#slider-range {
  width: 90%;
  margin: 40px auto
}
.ui-slider-horizontal .ui-slider-range {
  background-color: #163072
}
#slider-range .noUi-handle {
  height: 18px;
  width: 18px;
  top: -5px;
  right: -9px;
  border-radius: 9px
}
.noUi-handle:after,
.noUi-handle:before {
  content: none
}
.noUi-marker-horizontal.noUi-marker-sub {
  height: 5px
}
h2 {
  text-transform: uppercase;
  margin-top: 10px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 20px;
  line-height: 24px
}
.containerss_city div {
  display: none
}

.containerss_city {
  margin: 20px auto;
  width: 100%
}
form {
  width: 100%;
  margin-bottom: 25px
}
fieldset {
  border: none;
  margin-bottom: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  padding: 0
}
input {
  width: 100%;
  padding: 10px;
  border: none;
  background: #fff;
  color: #000;
  border: 1px solid #16307250;
  border-radius: 10px;
  font-size: 16px;
  line-height: 30px
}
label {
  width: 100%;
  text-align: left;
  font-size: 18px;
  line-height: 22px;
  margin-bottom: 10px
}
.block > div {
  width: 100%
}

a[data-area] span,
a[data-category] span {
  display: inline-flex;
  padding: 20px;
  background-color: #2b2b2b80;
  border-radius: 10px;
}

a[data-area] {
  background-size: cover;
  text-shadow: 3px 4px 4px #000
}
a[data-area="Кухни"] {
  background-image: url(img/kuhni.jpg)
}
a[data-area="Шкафы"] {
  background-image: url(img/shkaf.jpg)
}
a[data-area="Детские"] {
  background-image: url(img/detskie.jpg)
}
a[data-area="Гостиные"] {
  background-image: url(img/gostinie.jpg)
}
a[data-area="Спальни"] {
  background-image: url(img/spalni.jpg)
}
a[data-area="Гардеробные"] {
  background-image: url(img/garderobnii.jpg)
}
a[data-area="Кабинеты"] {
  background-image: url(img/kabinet.jpg)
}



a[data-category] {
  background-size: cover;
  text-shadow: 3px 4px 4px #000
}
div[data-categories="kitchen"] a[data-category="Угловая"] {
  background-image: url(img/kitchen_1.jpeg)
}
div[data-categories="kitchen"] a[data-category="Прямая"] {
  background-image: url(img/kitchen_2.jpeg)
}
div[data-categories="kitchen"] a[data-category="С островом"] {
  background-image: url(img/kitchen_3.jpeg)
}
div[data-categories="kitchen"] a[data-category="П-образная"] {
  background-image: url(img/kitchen_4.jpeg)
}


div[data-categories="wardrobes"] a[data-category="Шкафы-купе"] {
  background-image: url(img/wardrobes_1.jpeg)
}
div[data-categories="wardrobes"] a[data-category="С распашными дверями"] {
  background-image: url(img/wardrobes_2.jpeg)
}
div[data-categories="wardrobes"] a[data-category="Стенки"] {
  background-image: url(img/wardrobes_3.jpeg)
}
div[data-categories="wardrobes"] a[data-category="Стеллажи"] {
  background-image: url(img/wardrobes_4.jpeg)
}
div[data-categories="wardrobes"] a[data-category="Комоды"] {
  background-image: url(img/wardrobes_5.jpeg)
}



div[data-categories="childish"] a[data-category="Шкафы"] {
  background-image: url(img/childish_1.jpeg)
}
div[data-categories="childish"] a[data-category="Кровати"] {
  background-image: url(img/childish_2.jpeg)
}
div[data-categories="childish"] a[data-category="Столы"] {
  background-image: url(img/childish_3.jpeg)
}
div[data-categories="childish"] a[data-category="Стеллажи"] {
  background-image: url(img/childish_4.jpeg)
}



div[data-categories="livingRooms"] a[data-category="Рабочий стол"] {
  background-image: url(img/livingRooms_1.jpeg)
}
div[data-categories="livingRooms"] a[data-category="Стенки под TV"] {
  background-image: url(img/livingRooms_2.jpeg)
}
div[data-categories="livingRooms"] a[data-category="Стеллажи"] {
  background-image: url(img/livingRooms_3.jpeg)
}
div[data-categories="livingRooms"] a[data-category="Шкафы"] {
  background-image: url(img/livingRooms_4.jpeg)
}
div[data-categories="livingRooms"] a[data-category="Комоды"] {
  background-image: url(img/livingRooms_5.jpeg)
}
div[data-categories="livingRooms"] a[data-category="Шторы"] {
  background-image: url(img/livingRooms_6.jpeg)
}



div[data-categories="bedrooms"] a[data-category="Шкафы"] {
  background-image: url(img/bedrooms_1.jpeg)
}
div[data-categories="bedrooms"] a[data-category="Кровати"] {
  background-image: url(img/bedrooms_2.jpeg)
}
div[data-categories="bedrooms"] a[data-category="Тумбы"] {
  background-image: url(img/bedrooms_3.jpeg)
}
div[data-categories="bedrooms"] a[data-category="Комоды"] {
  background-image: url(img/bedrooms_4.jpeg)
}
div[data-categories="bedrooms"] a[data-category="Шторы"] {
  background-image: url(img/bedrooms_5.jpeg)
}


div[data-categories="dressingRooms"] a[data-category="Всторенные шкафы"] {
  background-image: url(img/dressingRooms_1.jpeg)
}
div[data-categories="dressingRooms"] a[data-category="Стеллажные системы"] {
  background-image: url(img/dressingRooms_2.jpeg)
}


div[data-categories="offices"] a[data-category="Столы"] {
  background-image: url(img/offices_1.jpeg)
}
div[data-categories="offices"] a[data-category="Стеллажи"] {
  background-image: url(img/offices_2.jpeg)
}
div[data-categories="offices"] a[data-category="Шкафы"] {
  background-image: url(img/offices_3.jpeg)
}
div[data-categories="offices"] a[data-category="Шторы"] {
  background-image: url(img/offices_4.jpeg)
}

/* select */

select {
  display: none;
}

select + .select2-container {
  margin-bottom: 15px;
  display: none !important;
}

select.show + .select2-container {
  display: block !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  outline: none;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
  outline: none;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #163072;
}

.select2-container--default .select2-selection--single {
  color: #163072;
  border: 1px solid #163072;
  border-radius: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__rendered {
  height: 35px;
  line-height: 35px;
}

span {
  outline: #163072;
}

#main-block {
  background-image: url(img/main_bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  width: calc(100vw - 40px);
  height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#main-block h2 {
  background: #1C3172CC;
  box-shadow: 0px 1.76116px 1.76116px rgb(0 0 0 / 25%);
  border-radius: 4.40289px;
  color: white;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 24px;
  padding: 40px;
  margin: 0 60px 50px;
}

#main-block .main-block__btn {
  background-color: rgb(192, 49, 43);
  color: white;
  width: 150px;
  border-radius: 5px;
  padding: 10px;
  border: 1px solid transparent;
  font-size: 16px;
  text-decoration: none;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}