@font-face {
  font-style: normal;
  font-weight: 400;
  font-family: "PT Sans";

  font-display: swap;
  src: url("../fonts/ptsans-400.woff2") format("woff2");
}

@font-face {
  font-style: normal;
  font-weight: 700;
  font-family: "PT Sans";

  font-display: swap;
  src: url("../fonts/ptsans-700.woff2") format("woff2");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  min-width: 1200px;
  height: 100%;
  margin: 0;

  font-size: 18px;
  line-height: 21px;
  font-family: "PT Sans", sans-serif;

  background-color: #f2f2f2;
}

.wrapper {
  display: flex;
  flex-direction: column;
  width: 1200px;
  min-height: 100%;
  margin: 0 auto;

  background-color: #ffffff;
  box-shadow: 0 0 15px rgb(0 0 0 / 20%);
}

.visually-hidden {
  position: absolute;

  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;

  white-space: nowrap;

  border: 0;

  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(100%);
  clip-path: inset(100%);
}

.list-style-none {
  margin: 0;
  padding: 0;

  list-style: none;
}

.field {
  padding: 12px 20px;

  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  font-family: inherit;

  background: #f2f2f2;
  border: 0;
  border-radius: 4px;
}

.field:hover,
.field:focus {
  background-color: #e6e6e6;
}

.field:disabled {
  color: rgba(0, 0, 0, 0.3);

  background-color: #ffffff;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 10px;

  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  font-family: inherit;
  text-align: center;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;

  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.button-brown:hover {
  background-color: #615048;
}

.field:focus,
.button:focus {
  outline: 3px solid #83b3d3;
}

.button-brown,
.button-brown:active {
  background-color: #756157;
}

.button-blue:hover {
  background-color: #68a2ca;
}

.button-blue,
.button-blue:active {
  background-color: #82b3d3;
}

.button-hotel-favorites-current:hover {
  background-color: #6c9e42;
}

.button-hotel-favorites-current,
.button-hotel-favorites-current:active {
  background-color: #7db54f;
}

.button-transparent {
  background-color: transparent;
}

.button-transparent:hover {
  color: rgba(255, 255, 255, 0.6);
}

.button:active {
  color: rgba(255, 255, 255, 0.3);
}

.button.button-transparent:disabled {
  color: rgba(255, 255, 255, 0.1);

  background-color: transparent;
}

.button:disabled {
  color: #ffffff;

  background-color: #e5e5e5;
  cursor: default;
}

/* Header */
.main-header {
  display: flex;
  justify-content: space-between;
  padding: 0 70px;
}

.navigation {
  display: flex;
}

.logo-link {
  position: relative;
  z-index: 1;

  flex-shrink: 0;
  width: 140px;
  margin-right: 28px;
}

.logo-img {
  position: absolute;
  top: 0;
  left: 0;
}

.navigation-item {
  position: relative;
}

.navigation-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 600px;

  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
}

.navigation-link,
.navigation-user-link {
  text-decoration: none;
}

.navigation-link {
  display: inline-block;
  padding: 20px 16px;

  line-height: 24px;
  color: #000000;
}

.navigation-link-current {
  pointer-events: none;
}

.navigation-link-current::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;

  width: calc(100% - 32px);
  margin: 0 auto;

  border-bottom: 2px solid #756257;
}

.navigation-user {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  max-width: 352px;
  height: min-content;
}

.navigation-user .button {
  width: 160px;
  margin: 14px 0 14px 20px;
}

.navigation-user-link {
  position: relative;

  align-self: center;
  width: 44px;
  height: 64px;

  background-repeat: no-repeat;
  background-position: center;
}

.navigation-user-search {
  background-image: url("../images/icons/search.svg");
}

.navigation-user-favorites {
  background-image: url("../images/icons/favorites.svg");
}

.favorites-count {
  position: absolute;
  top: 11px;
  left: 20px;

  width: 20px;
  height: 20px;
  overflow: hidden;

  font-size: 10px;
  line-height: 2;
  text-align: center;
  color: #ffffff;

  background: #7db54f;
  border-radius: 50%;
}

/* Main-index*/
.main {
  flex-grow: 1;
}

.intro {
  position: relative;

  padding: 51px 70px 82px 70px;

  text-align: center;

  background-color: #aed2e8;
  background-image: url("../images/backgrounds/intro-overlay.svg"), url("../images/backgrounds/intro-background.jpg");
  background-repeat: no-repeat, no-repeat;
  background-position: bottom, center;
  background-size: contain, cover;
}

.intro-welcome {
  display: block;
  margin: 0 auto;
}

.advantages {
  padding-top: 69px;
}

.advantages-title,
.search-hotel-title,
.subscribe-title {
  margin-top: 0;

  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  text-align: center;
  text-transform: uppercase;
}

.advantages-desc,
.search-hotel-desc,
.subscribe-desc {
  margin-top: 0;

  font-size: 22px;
  line-height: 26px;
  text-align: center;
  color: #333333;
}

.advantages-title {
  max-width: 1024px;
  margin: 0 auto 25px;
  padding: 0 70px;
}

.advantages-desc {
  margin-bottom: 90px;
  padding: 0 70px;
}

.advantage-block {
  display: grid;

  color: #ffffff;

  background-color: #82b3d3;

  grid-template-columns: 1fr 2fr;
}

.advantage-block:nth-of-type(even) {
  grid-template-columns: 2fr 1fr;
}

.advantage-list {
  display: grid;

  grid-template-columns: repeat(3, 1fr);
}

.advantage-item {
  padding-right: 21%;
  padding-left: 21%;
}

.advantage-block .advantage-item {
  padding-top: 92px;
  padding-bottom: 111px;
}

.advantage-list .advantage-item:nth-child(odd) {
  background-color: rgb(131 179 211 / 12%);
}

.advantage-list:first-of-type .advantage-item:nth-child(even) {
  background-color: rgb(131 179 211 / 20%);
}

.advantage-list:first-of-type .advantage-item {
  padding-top: 104px;
  padding-bottom: 121px;
}

.advantage-list:last-of-type .advantage-item {
  position: relative;

  padding-top: 183px;
  padding-bottom: 81px;
}

.advantage-list:last-of-type .advantage-item::before {
  content: "";
  position: absolute;
  right: 0;
  left: 2px;

  margin: auto;

  background-repeat: no-repeat;
}

.advantage-item-house::before {
  top: 80px;

  width: 76px;
  height: 72px;

  background-image: url("../images/icons/house.svg");
}

.advantage-item-food::before {
  top: 81px;

  width: 75px;
  height: 70px;

  background-image: url("../images/icons/food.svg");
}

.advantage-item-souvenir::before {
  top: 78px;

  width: 65px;
  height: 76px;

  background-image: url("../images/icons/souvenir.svg");
}

.advantage-title {
  position: relative;

  margin-top: 0;
  margin-bottom: 30px;
  padding-bottom: 31px;

  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  text-align: center;
  text-transform: uppercase;
}

.advantage-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  width: 60px;
  margin: auto;

  border-bottom: 2px solid rgb(0 0 0 / 20%);
}

.advantage-list:last-of-type .advantage-title {
  margin-bottom: 29px;
  padding-bottom: 0;
}

.advantage-list:last-of-type .advantage-title::after {
  display: none;
}

.advantage-block .advantage-title::after {
  border-bottom: 2px solid rgb(255 255 255 / 20%);
}

.advantage-desc {
  margin: 0;

  text-align: center;
}

.advantage-img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.search-hotel {
  padding: 96px 70px;

  text-align: center;
}

.search-hotel-title {
  margin-bottom: 20px;
}

.search-hotel-desc {
  margin-bottom: 54px;
}

.search-hotel-link {
  max-width: 376px;
  margin: auto;

  font-size: 20px;
  line-height: 36px;
}

/* Main Catalog */
.filter {
  padding: 35px 70px 70px 70px;

  color: #ffffff;

  background-color: #3f5e72;
  background-image: url("../images/backgrounds/filter-background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.catalog-header {
  margin-bottom: 40px;
}

.catalog-title {
  margin-top: 0;
  margin-bottom: 8px;

  font-weight: 700;
  font-size: 60px;
  line-height: 78px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.breadcrumbs-item {
  position: relative;

  font-size: 16px;
}

.breadcrumbs-item:not(:first-child) {
  margin-left: 28px;
}

.breadcrumbs-item:not(:first-child)::after {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 0;
  left: -17px;

  width: 7px;
  height: 10px;

  background-image: url("../images/icons/breadcrumbs-arrow.svg");
  background-repeat: no-repeat;
}

.breadcrumbs-item:first-child .breadcrumbs-link {
  display: inline-block;
  width: 12px;
  height: 12px;

  background-image: url("../images/icons/breadcrumbs-house.svg");
  background-repeat: no-repeat;
}

.breadcrumbs-link:hover {
  opacity: 0.6;
}

.breadcrumbs-link:active {
  opacity: 0.3;
}

.breadcrumbs-link-current {
  color: #ffffff;
  text-decoration: none;

  pointer-events: none;
}

.filter-form {
  display: grid;

  grid-template-columns: 150px 1fr 150px 2fr 288px 1fr 191px;
}

.filter-group {
  margin: 0;
  padding: 0;

  border: 0;
}

.filter-infrastructure {
  grid-column-start: 1;
}

.filter-housing {
  grid-column-start: 3;
}

.filter-price {
  display: grid;
  margin-bottom: 8px;

  column-gap: 2px;

  grid-column-start: 5;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: min-content;
}

.filter-buttons {
  max-width: 191px;
  padding-top: 56px;

  grid-column-start: 7;
}

.filter-title {
  margin-bottom: 32px;
  padding: 0;

  font-weight: 700;
  font-size: 20px;
  line-height: 24px;

  grid-column: 1 / -1;
}

.filter-infrastructure .filter-item:not(:last-child) {
  margin-bottom: 18px;
}

.filter-housing .filter-item:not(:last-child) {
  margin-bottom: 17px;
}

.control {
  line-height: 12px;

  cursor: pointer;
}

.control:hover .control-text {
  opacity: 0.6;
}

.control:active .control-text {
  opacity: 0.3;
}

.control-input:disabled + .control-text {
  cursor: default;
  opacity: 0.5;
}

.control-text {
  display: flex;

  font-weight: 400;
  font-size: 18px;
  line-height: 21px;
}

.control-text::before {
  content: "";
  position: relative;
  top: 1px;

  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-right: 16px;

  background-color: #ffffff;
  background-repeat: no-repeat;
}

.filter-infrastructure .control-text::before {
  border-radius: 4px;
}

.filter-housing .control-text::before {
  border-radius: 50%;
}

.filter-infrastructure .control-input:checked + .control-text::before {
  background-image: url("../images/icons/checkbox.svg");
  background-position: 4px center;
}

.filter-housing .control-input:checked + .control-text::before {
  background-image: url("../images/icons/radio.svg");
  background-position: center;
}

.control-input:focus + .control-text::before {
  outline: 3px solid #83b3d3;
}

.filter-price-title {
  position: relative;

  height: 48px;
  margin-bottom: 44px;
}

.filter-price-min {
  grid-column-start: 1;
}

.filter-price-text {
  position: absolute;
  top: 50%;
  right: 20px;

  display: inline-block;
  height: 24px;
  overflow: hidden;

  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  text-align: right;
  color: rgba(0 0 0 / 30%);

  transform: translateY(-50%);

  pointer-events: none;
}

.filter-input {
  max-width: 143px;
  padding-right: 45px;

  font-weight: 700;
}

.filter-input::-webkit-inner-spin-button,
.filter-input::-webkit-outer-spin-button,
.modal-input::-webkit-inner-spin-button,
.modal-input::-webkit-outer-spin-button {
  margin: 0;

  -webkit-appearance: none;
  appearance: none;
}

.filter-input[type="number"],
.modal-input[type="number"] {
  -moz-appearance: textfield;
}

.filter-price-min .filter-input {
  border-radius: 4px 0 0 4px;
}

.filter-price-max {
  grid-column-end: -1;
}

.filter-price-max .filter-input {
  border-radius: 0 4px 4px 0;
}

.range-scale {
  position: relative;

  width: calc(100% - 2px);
  height: 4px;
  margin: 0 auto;

  border-bottom: 4px solid #61696c;

  grid-column: 1 / -1;
}

.range-bar {
  position: absolute;
  left: 0;

  width: 226px;
  height: 4px;

  border-bottom: 4px solid #ffffff;
}

.range-toggle {
  position: absolute;
  top: -8px;

  width: 20px;
  height: 20px;

  background-color: #ffffff;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.toggle-min {
  left: 0;
}

.toggle-max {
  right: 0;
}

.range-toggle:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.range-toggle:active,
.range-toggle:focus {
  outline: 3px solid #83b3d3;
}

.range-toggle:disabled {
  outline: none;
  cursor: default;
}

.filter-buttons .button {
  width: 100%;
}

.filter-buttons .button:not(:last-child) {
  margin-bottom: 32px;
}

.control-input {
  margin: 0;
  margin-right: 12px;
}

.hotels-controls {
  display: flex;
  justify-content: space-between;
  padding: 50px 70px 32px 70px;
}

.hotels-result-title {
  margin-top: 6px;
  margin-right: auto;

  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  text-transform: uppercase;
}

.hotels-sort {
  min-width: 292px;
  height: 49px;
  margin: 0 6.6% 0 2%;
  padding: 12px 40px 12px 18px;

  font-size: 18px;
  line-height: 21px;
  font-family: inherit;
  color: #333333;

  background-color: #ffffff;
  background-image: url("../images/icons/select-arrow.svg");
  background-repeat: no-repeat;
  background-position: right 18px top 52%;
  background-size: 12px 9px;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  cursor: pointer;

  -webkit-appearance: none;
  appearance: none;
}

.hotels-sort:hover,
.hotels-sort:focus,
.button-sort:focus {
  border: 2px solid #68a2ca;
  outline: none;
}

.hotels-sort:disabled {
  color: rgba(0, 0, 0, 0.3);

  background-image: url("../images/icons/select-arrow-disabled.svg");
  border: 2px solid rgba(0, 0, 0, 0.3);
  cursor: default;
}

.hotels-view {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  max-width: 272px;
}

.hotels-view-item {
  margin-bottom: 8px;
}

.hotels-view-item:not(:nth-last-child(1)) {
  margin-right: 8px;
}

.button-sort {
  display: block;
  width: 48px;
  height: 48px;

  background-repeat: no-repeat;
  background-position: center center;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
}

.button-selected,
.button-sort:hover,
.button-sort:active {
  border: 2px solid #000000;
}

.hotels-sort-card {
  background-image: url("../images/icons/view-card.svg");
}

.hotels-sort-slider {
  background-image: url("../images/icons/view-slider.svg");
}

.hotels-sort-list {
  background-image: url("../images/icons/view-list.svg");
}

.hotels-result {
  padding: 0 70px 51px 70px;
}

.hotels-list {
  position: relative;

  display: grid;
  margin-bottom: 40px;
  padding-bottom: 38px;

  border-bottom: 1px solid #e6e6e6;

  gap: 19px 20px;
  grid-template-columns: repeat(3, 1fr);
}

.hotel-item {
  display: grid;
  padding: 20px 19px;

  column-gap: 20px;

  border: 1px solid #e6e6e6;
  border-radius: 4px;

  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: min-content 1fr;
  row-gap: 16px;
}

.hotel-link {
  display: block;

  color: #000000;
  text-decoration: none;

  grid-column: 1 /-1;
}

.hotel-img {
  display: block;
  width: 100%;

  object-fit: cover;
}

.hotel-title {
  margin: 0;

  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
}

.hotel-meta {
  color: #333333;
}

.hotel-meta-type-housing {
  grid-column-start: 1;
}

.hotel-meta-price {
  grid-column-end: -1;
  justify-self: right;
}

.hotel-page {
  grid-column-start: 1;
}

.button-hotel-favorites {
  grid-column-end: -1;
}

.hotel-rating {
  align-self: center;
  height: 37px;

  background-image: url("../images/icons/rating.svg");
  background-repeat: repeat-x;
  background-position-y: center;

  grid-column-start: 1;
}

.rating-1 {
  width: 22px;
}

.rating-2 {
  width: 44px;
}

.rating-3 {
  width: 68px;
}

.rating-4 {
  width: 92px;
}

.rating-5 {
  width: 118px;
}

.hotel-rating-info {
  padding: 8px 3px;

  font-size: 16px;
  line-height: 20px;
  text-align: center;
  text-transform: uppercase;

  background-color: #f2f2f2;
  border-radius: 4px;

  grid-column-end: -1;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
}

.pagination-item:not(:last-child) {
  margin-right: 8px;
  margin-bottom: 8px;
}

.pagination-link {
  min-width: 60px;
  min-height: 60px;
  padding: 14px 15px 16px 15px;

  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
}

.pagination-current,
.pagination-current:hover,
.pagination-current:active {
  color: #000000;

  background-color: #f2f2f2;

  pointer-events: none;
}

.pagination-link-divider,
.pagination-link-divider:hover,
.pagination-link-divider:active {
  color: #000000;

  pointer-events: none;
}

/* Subscribe Widget */
.subscribe {
  padding: 96px 70px 104px 70px;
}

.subscribe-background {
  color: #ffffff;

  background-color: #3f5e72;
  background-image: url("../images/backgrounds/subscribe-background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.subscribe-title {
  margin-bottom: 20px;
}

.subscribe-background .subscribe-desc {
  color: #ffffff;
}

.subscribe-desc {
  max-width: 540px;
  margin: 0 auto 55px;
}

.subscribe-form {
  display: flex;
  justify-content: center;
}

.subscribe-input-title {
  width: 100%;
  max-width: 452px;
}

.subscribe-input {
  width: 100%;
  height: 100%;
  min-height: 52px;

  border-radius: 4px 0 0 4px;
}

.subscribe-button {
  width: 100%;
  max-width: 232px;

  font-size: 20px;
  line-height: 30px;

  border-radius: 0 4px 4px 0;
}

/* Footer */
.main-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 60px 25px 74px;
}

.footer-social-item:not(:nth-child(3n)) {
  margin-right: 7px;
}

.footer-social-list {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  max-width: 134px;
}

.footer-social-link {
  display: block;
  width: 40px;
  height: 40px;
  padding: 12px 8px;

  line-height: 14px;
  text-align: center;
}

.footer-social-svg {
  fill: #83b3d3;
}

.footer-social-link:hover .footer-social-svg {
  fill: #68a2ca;
}

.footer-social-link:active .footer-social-svg {
  fill: rgba(104, 162, 202, 0.3);
}

.footer-phone-link {
  margin-left: 16px;
  padding: 10px 20px;

  font-size: 40px;
  line-height: 40px;
  text-align: center;
  color: #000000;
  text-decoration: none;
}

.footer-phone-link:hover {
  color: #756157;
}

.footer-phone-link:active {
  color: rgba(117, 97, 87, 0.3);
}

.footer-copyright-link {
  padding: 10px;

  line-height: 15px;
}

.footer-copyright-svg {
  fill: #000000;
}

.footer-copyright-link:hover .footer-copyright-svg {
  fill: #756157;
}

.footer-copyright-link:active .footer-copyright-svg {
  fill: rgba(117, 97, 87, 0.3);
}

/* Модальное окно */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;

  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;

  background-color: rgba(242, 242, 242, 0.8);
}

.modal-open {
  display: flex;
}

.modal {
  position: relative;

  width: 100%;
  max-width: 717px;
  padding: 64px 70px;

  background: #ffffff;
  border-radius: 30px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.modal-heading {
  margin-top: 0;
  margin-bottom: 64px;
  padding-right: 45px;

  font-size: 30px;
  line-height: 36px;
  text-transform: uppercase;
}

.modal-close-button {
  position: absolute;
  top: 64px;
  right: 52px;

  width: 52px;
  height: 52px;

  background-color: #f2f2f2;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.modal-close-button::before,
.modal-close-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  width: 20px;
  height: 2px;

  border-top: 2px solid #000000;
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close-button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-close-button:active::before,
.modal-close-button:active::after {
  opacity: 0.3;
}

.modal-search {
  display: grid;
  align-items: center;

  grid-template-columns: 137px 110px 1fr 131px 110px;
  row-gap: 48px;
}

.modal-text {
  padding: 11px 10px 11px 0;

  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  text-transform: capitalize;

  grid-column-start: 1;
}

.modal-input-wrapper {
  position: relative;

  grid-column: 2 / -1;
}

.modal-input-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  bottom: 0;

  width: 16px;
  height: 15px;
  margin: auto;

  background-image: url("../images/icons/calendar.svg");
  background-repeat: no-repeat;

  pointer-events: none;
}

.modal-adults-wrapper {
  grid-column-start: 2;
}

.form-label-icon {
  position: relative;

  grid-column-start: 4;
}

.modal-chields-wrapper {
  grid-column-start: 5;
}

.modal-search-button {
  padding: 18px;

  font-size: 20px;
  line-height: 24px;

  border-radius: 10px;

  grid-column: 1 / -1;
}

.modal-input {
  width: 100%;
  padding-right: 45px;

  font-weight: 700;
}

.modal-close-button:hover,
.modal-close-button:focus,
.modal-input-calendar:hover + .modal-input {
  background-color: #e6e6e6;
}

.modal-close-button:focus {
  outline: 3px solid #83b3d3;
}

.modal-less-more-input {
  position: relative;

  padding-right: 40px;
  padding-left: 40px;

  text-align: center;
}

.modal-less-more-input:disabled {
  z-index: 2;
}

.modal-wrapper {
  position: relative;
}

.modal-human-button {
  position: absolute;
  top: 50%;
  z-index: 1;

  width: 20px;
  height: 20px;
  padding: 0;

  background-color: transparent;
  border: 0;
  border-radius: 4px;
  transform: translateY(-50%);
  cursor: pointer;
}

.modal-human-button:first-of-type {
  left: 10px;
}

.modal-human-button:last-of-type {
  right: 10px;
}

.modal-human-button::before,
.modal-human-button:last-of-type::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  width: 14px;
  height: 2px;

  background-color: #d6d0cd;
  transform: translate(-50%, -50%);
}

.modal-human-button:last-of-type::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.modal-human-button:hover ~ .modal-less-more-input {
  background-color: #e6e6e6;
}

.modal-human-button:hover::before,
.modal-human-button:hover::after {
  background-color: #000000;
}

.modal-human-button:active::before,
.modal-human-button:active::after {
  opacity: 0.2;
}

.modal-human-button:focus {
  outline: 3px solid #83b3d3;
}

.modal-human-button:disabled {
  background-color: transparent;
  cursor: default;
  opacity: 1;

  pointer-events: none;
}

.modal-human-button:disabled::before,
.modal-human-button:disabled::after {
  background-color: #e6e6e6;
}

.modal-status {
  position: absolute;
  top: 100%;
  left: 0;

  display: none;
  margin-top: 4px;
  padding: 0 20px;

  font-size: 16px;
  line-height: 21px;
  color: #333333;
}

.modal-error-date {
  color: #ff5757;
}

.error-date-arrival-on,
.error-date-departure-on,
.info-date-on {
  display: block;
}

.tooltip {
  position: absolute;

  margin-top: -3px;
}

.tooltip-toggle {
  width: 26px;
  height: 26px;
  padding: 0;

  background-color: #83b3d3;
  background-image: url("../images/icons/info.svg");
  background-repeat: no-repeat;
  background-position: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.tooltip-toggle:focus {
  outline: auto;
}

.tooltip-text {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1;

  display: none;
  width: 256px;
  margin-top: 12px;
  padding: 20px 18px 23px 22px;

  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #ffffff;

  background-color: #333333;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transform: translateX(-50%);
}

.tooltip-text::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;

  width: 19px;
  height: 9px;
  margin: auto;

  background-image: url("../images/icons/tooltip-arrow.svg");
  background-repeat: no-repeat;
}

.tooltip-toggle:hover + .tooltip-text,
.tooltip-toggle:focus + .tooltip-text {
  display: inline-block;
}
