@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/ptsans-400.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/ptsans-700.woff2") format("woff2");
  font-display: swap;
}

html {
  height: 100%;
}

body {
  min-width: 1200px;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  font-family: "PT Sans", sans-serif;
  font-style: normal;
  font-size: 18px;
  line-height: 21px;
  color: #000000;
  background-color: #e5e5e5;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* Header */

.page-header {
  color: #000000;
  width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.header-logo {
  display: block;
  position: absolute;
  z-index: 1;
}

.header-container {
  width: 1060px;
  margin: 0 auto;
}

.navigation {
  display: flex;
}

.navigation-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  max-width: 450px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.indent {
  margin-left: 169px;
}

.navigation-user {
  max-width: 300px;
  margin-left: auto;
  justify-content: end;
  position: relative;
}

.navigation-list a {
  position: relative;
  color: #000000;
  font-weight: bold;
  font-size: 20px;
  line-height: 26px;
  text-decoration: none;
  text-align: center;
  display: block;
  padding: 20px 17px;
  flex-wrap: wrap;
}

.navigation-current::before {
  position: absolute;
  right: 17px;
  bottom: 0;
  left: 17px;
  height: 2px;
  background-color: #756257;
  content: "";
}

.navigation-item {
  position: relative;
}

.navigation-item a:hover {
  color: #756257;
}

.navigation-item a:active {
  color: rgba(117, 98, 87, 0.3);
}

.navigation-item a:hover .navigation-icon {
  fill: #756257;
}

.navigation-item a:active .navigation-icon {
  fill: rgba(117, 98, 87, 0.3);
}

.navigation-user a {
  min-width: 18px;
  min-height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
}

.navigation-favorite {
  position: absolute;
  background-color: #7db54f;
  padding: 4px 5px;
  border-radius: 50%;
  font-style: normal;
  font-weight: normal;
  font-size: 10px;
  line-height: 13px;
  color: #ffffff;
  text-align: center;
  top: 11px;
  left: 24px;
}

.navigation-item .navigation-button {
  text-transform: uppercase;
  background-color: #756257;
  color: #ffffff;
  font-size: 16px;
  line-height: 20px;
  padding: 9px 34px;
  margin-left: 20px;
  border-radius: 4px;
  outline: 0;
}

.navigation-item .navigation-button:hover {
  background-color: #615048;
  color: #ffffff;
}

.navigation-item .navigation-button:focus {
  box-shadow: 0 0 0 3px #83b3d3;
}

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

/* Header */

/* Main */

.main-index {
  flex-grow: 1;
  width: 1200px;
  margin: 0 auto;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* Welcome */

.welcome {
  background-color: #6b869d;
  color: #ffffff;
  background-image: url("../images/index-background.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding-top: 51px;
  position: relative;
  padding-bottom: 82px;
}

.welcome img {
  display: block;
  margin: 0 auto;
}

.welcome::after {
  content: "";
  position: absolute;
  bottom: 0;
  background-image: url(../images/picture.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 1200px;
  height: 57px;
}

/* Welcome */

/* Description */

.description {
  color: #000000;
  background-color: #ffffff;
  padding-top: 63px;
}

.description p {
  margin: 0 auto;
}

.description p:first-of-type {
  color: inherit;
  font-weight: bold;
  font-size: 30px;
  line-height: 36px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 31px;
  max-width: 720px;
}

.description p:last-of-type {
  color: #333333;
  font-weight: normal;
  font-size: 22px;
  line-height: 36px;
  text-align: center;
  padding-bottom: 80px;
}

/* Description */

/* Advantages */

.advantages {
  background-color: #ffffff;
  color: #000000;
}

.advantages-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(3, 400px);
  justify-content: center;
}

.advantages-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  padding-top: 98px;
  padding-bottom: 108px;
  min-height: 384px;
  box-sizing: border-box;
}

.advantages-item h3 {
  font-weight: bold;
  font-size: 24px;
  line-height: 28px;
  text-align: center;
  text-transform: uppercase;
  color: #000000;
  max-width: 180px;
  margin: 0;
}

.advantages-item p {
  font-weight: normal;
  font-size: 18px;
  line-height: 21px;
  text-align: center;
  color: #333333;
  display: block;
  max-width: 240px;
  margin: 0;
}

.advantages-desc p {
  max-width: 220px;
}

.advantages-icon p {
  max-width: 250px;
}

.advantages-item span {
  font-weight: normal;
  font-size: 18px;
  line-height: 21px;
  text-align: center;
  color: #333333;
  display: block;
  max-width: 250px;
  margin-top: 29px;
  margin-bottom: 30px;
}

.advantages-item img {
  display: block;
  width: 100%;
  height: 100%;
}

.advantages-list li:nth-child(2) {
  grid-column: 2/4;
  padding: 0;
}

.advantages-list li:nth-child(6) {
  grid-column: 1/3;
  padding: 0;
}

.advantages-list li:nth-child(1),
.advantages-list li:nth-child(7) {
  background: #83b3d3;
  width: 400px;
}

.advantages-desc h3,
.advantages-desc span,
.advantages-desc p {
  color: #ffffff;
}

.advantages-desc {
  padding-bottom: 87px;
}

.advantages-list li:nth-child(3),
.advantages-list li:nth-child(5),
.advantages-list li:nth-child(8),
.advantages-list li:nth-child(10) {
  background: rgba(131, 179, 211, 0.12);
  width: 400px;
  position: relative;
}

.advantages-list li:nth-child(4) {
  background: #ffffff;
  width: 400px;
  position: relative;
}

.advantages-list li:nth-child(9) {
  background: rgba(131, 179, 211, 0.2);
  width: 400px;
}

.advantages-icon {
  padding-top: 87px;
  padding-bottom: 87px;
}

.advantages-icon h3 {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advantages-house::before {
  content: "";
  display: block;
  background-image: url("../images/house.svg");
  background-repeat: no-repeat;
  background-position: center;
  width: 75px;
  height: 72px;
  margin-bottom: 23px;
}

.advantages-eat::before {
  content: "";
  display: block;
  background-image: url("../images/eat.svg");
  background-repeat: no-repeat;
  background-position: center;
  width: 74px;
  height: 70px;
  margin-bottom: 23px;
}

.advantages-souvenir::before {
  content: "";
  display: block;
  background-image: url("../images/souvenir.svg");
  background-repeat: no-repeat;
  background-position: center;
  width: 64px;
  height: 76px;
  margin-bottom: 23px;
}

/* Advantages */

/* Search  */

.search h2,
.search p,
.subscription h2,
.subscription p {
  margin: 0 auto;
}

.search {
  background-color: #ffffff;
  color: #000000;
  padding-top: 91px;
  padding-bottom: 93px;
}

.search h2 {
  font-weight: bold;
  font-size: 30px;
  line-height: 36px;
  text-align: center;
  text-transform: uppercase;
  color: inherit;
  margin-bottom: 29px;
}

.search p {
  font-weight: normal;
  font-size: 22px;
  line-height: 26px;
  text-align: center;
  color: #333333;
  margin-bottom: 56px;
  max-width: 720px;
}

.search a {
  font-weight: bold;
  font-size: 20px;
  line-height: 36px;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  background: #756257;
  padding-top: 12px;
  padding-bottom: 12px;
  border-radius: 10px;
  outline: 0;
  display: block;
  box-sizing: border-box;
  width: 575px;
  margin: 0 auto;
}

.search a:hover {
  background-color: #615048;
  color: #ffffff;
}

.search a:focus {
  box-shadow: 0 0 0 3px #83b3d3;
}

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

/* Search  */

/* Subscription */

.subscription {
  background-color: #496d82;
  color: #ffffff;
  background-image: url("../images/background.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding-top: 94px;
  padding-bottom: 94px;
}

.subscription h2 {
  font-weight: bold;
  font-size: 30px;
  line-height: 36px;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 29px;
}

.subscription p {
  font-weight: normal;
  font-size: 22px;
  line-height: 26px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 46px;
  max-width: 500px;
}

.subscription-field,
.subscription-button {
  outline: 0;
  padding: 0;
  border: 0;
}

.subscription-field {
  font-weight: normal;
  font-size: 18px;
  line-height: 26px;
  color: #000000;
  background: #f2f2f2;
  border-radius: 10px 0 0 10px;
  padding-left: 22px;
  padding-right: 19px;
  box-sizing: border-box;
}

.subscription-field::placeholder {
  font-family: "PT Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  color: #000000;
  opacity: 0.6;
}

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

.subscription-field:focus {
  outline: 0;
  box-shadow: inset 0 0 0 3px #83b3d3;
}

.subscription-field:disabled {
  background-color: #ffffff;
  box-shadow: inset 0 0 0 2px #ff5757;
}

.subscription-button {
  font-family: "PT Sans", sans-serif;
  font-weight: bold;
  font-size: 20px;
  line-height: 26px;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  background: #83b3d3;
  padding: 17px 34px;
  display: inline-block;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  box-sizing: border-box;
}

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

.subscription-button:focus {
  box-shadow: inset 0 0 0 3px #756257;
}

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

.subscription form {
  text-align: center;
  display: grid;
  grid-template-columns: 1fr auto;
  max-width: 800px;
  margin: 0 auto;
}

/* Subscription */

/* Footer */

.page-footer {
  background-color: #ffffff;
  color: #000000;
  width: 1200px;
  margin: 0 auto;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.footer-container {
  display: flex;
  width: 1060px;
  margin: 0 auto;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  align-items: center;
}

.social-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  max-width: 200px;
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: 20px;
}

.social-item {
  margin-right: 3px;
}

.social-item:last-child {
  margin-right: 0;
}

.social-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  color: #000000;
  min-width: 20px;
  min-height: 18px;
  padding: 11px 10px;
  outline: 0;
}

.social-icon {
  fill: #83b3d3;
}

.social-item a:hover .social-icon {
  fill: #68a2ca;
}

.social-item a:focus {
  box-shadow: inset 0 0 0 3px #83b3d3;
  border-radius: 10px;
}

.social-item a:active .social-icon {
  fill: rgba(104, 162, 202, 0.3);
}

.phone {
  font-weight: normal;
  font-size: 40px;
  line-height: 40px;
  text-align: center;
  text-transform: uppercase;
  color: #000000;
  text-decoration: none;
  padding: 15px;
  outline: 0;
  box-sizing: border-box;
}

.phone:hover {
  color: #756257;
}

.phone:focus {
  box-shadow: 0 0 0 3px #83b3d3;
  border-radius: 10px;
}

.phone:active {
  color: rgba(117, 98, 87, 0.3);
}

.academy {
  padding: 18px 22px;
  outline: 0;
  margin-right: -20px;
}

.academy:hover .academy-logo {
  fill: #756257;
}

.academy:focus {
  box-shadow: 0 0 0 3px #83b3d3;
  border-radius: 10px;
}

.academy:active .academy-logo {
  fill: rgba(117, 98, 87, 0.3);
}

/* Footer */

/* Стили каталога */

/* Filters */

.main-inner {
  flex-grow: 1;
  width: 1200px;
  margin: 0 auto;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.filters-container {
  width: 1060px;
  margin: 0 auto;
}

.catalog-filters {
  display: flex;
}

.filters {
  background-color: #4b6075;
  color: #ffffff;
  background-image: url("../images/catalog-background.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding-top: 40px;
  padding-bottom: 83px;
}

.filters h2 {
  font-weight: bold;
  font-size: 60px;
  line-height: 68px;
  color: #ffffff;
  margin: 0;
  margin-bottom: -3px;
}

.breadcrumbs-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 45px;
  margin-left: -7px;
}

.breadcrumbs-item a {
  font-weight: normal;
  font-size: 16px;
  line-height: 21px;
  color: #ffffff;
  text-decoration: none;
  min-width: 12px;
  min-height: 12px;
  padding: 3px 8px;
  outline: 0;
}

.breadcrumbs-icon {
  fill: rgba(255, 255, 255, 1);
}

.breadcrumbs-item a:hover {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs-item a:hover .breadcrumbs-icon {
  fill: rgba(255, 255, 255, 0.6);
}

.breadcrumbs-item a:focus {
  box-shadow: inset 0 0 0 3px #83b3d3;
  border-radius: 4px;
}

.breadcrumbs-item a:active {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumbs-item a:active .breadcrumbs-icon {
  fill: rgba(255, 255, 255, 0.3);
}

.breadcrumbs-current {
  pointer-events: none;
}

.breadcrumbs-item {
  position: relative;
  margin-right: 10px;
}

.breadcrumbs-item::after {
  position: absolute;
  content: "";
  top: 7px;
  right: -8px;
  width: 5px;
  height: 8px;
  background-image: url("../images/image.svg");
}

.breadcrumbs-item:last-child::after {
  content: none;
}

.filters-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.filters-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.filters-item {
  margin-bottom: 13px;
}

.filters-item:last-child {
  margin-bottom: 0;
}

.filters-group:nth-child(1) {
  margin-right: 70px;
}

.filters-group:nth-child(2) {
  margin-right: 167px;
}

.filters-group legend {
  font-weight: bold;
  font-size: 20px;
  line-height: 26px;
  color: #ffffff;
  padding: 0;
  margin-bottom: 30px;
}

.filters-group:nth-of-type(3) legend {
  margin-bottom: 34px;
}

.filters-item label,
.filters-label {
  font-weight: normal;
  font-size: 18px;
  line-height: 23px;
  color: #ffffff;
}

.control {
  position: relative;
  display: block;
  padding-left: 39px;
  cursor: pointer;
  outline: none;
}

.control-mark {
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 4px;
}

.control:hover .control-mark {
  background-color: rgba(255, 255, 255, 0.6);
}

.control:focus .control-mark {
  box-shadow: 0 0 0 3px #83b3d3;
}

.control:active .control-mark {
  background-color: rgba(255, 255, 255, 0.3);
}

.control:hover .control-radio {
  background-color: #ffffff;
}

.control-input[type="checkbox"]:checked + .control-mark::after {
  position: absolute;
  content: "";
  width: 12px;
  height: 10px;
  top: 5px;
  left: 4px;
  background-image: url("../images/tick.svg");
}

.control-input[type="radio"] + .control-mark {
  border-radius: 50%;
}

.control-input[type="radio"]:checked + .control-mark::before {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  background-color: #3f5e72;
  border-radius: 50%;
  content: "";
}

.range-scale {
  position: relative;
  height: 4px;
  margin-top: 30px;
  background-color: rgba(255, 255, 255, 0.3);
  width: 287px;
}

.range-bar {
  position: absolute;
  height: 4px;
  background-color: #ffffff;
  width: 227px;
}

.range-toggle {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  outline: none;
}

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

.range-toggle:focus {
  box-shadow: 0 0 0 3px #83b3d3;
}

.range-toggle:active {
  box-shadow: 0 0 0 2px #83b3d3;
}

.toggle-min {
  top: -8px;
  left: 0;
}

.toggle-max {
  top: -8px;
  right: 0;
}

.range-wrapper-inputs {
  display: flex;
  position: relative;
}

.range-wrapper-inputs::before {
  position: absolute;
  content: "от";
  top: 14px;
  left: 112px;
  color: rgba(255, 255, 255, 0.3);
  z-index: 2;
}

.range-wrapper-inputs::after {
  position: absolute;
  content: "до";
  top: 14px;
  left: 250px;
  color: rgba(255, 255, 255, 0.3);
  z-index: 2;
}

.range {
  width: 289px;
}

.range-input {
  font-family: "PT Sans", sans-serif;
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #ffffff;
  background-color: transparent;
  padding-top: 14px;
  padding-bottom: 7px;
  padding-left: 17px;
  padding-right: 18px;
  outline: none;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 23px;
  color: #ffffff;
  position: relative;
  border-collapse: collapse;
}

.range-input:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.range-input:focus {
  box-shadow: 0 0 0 3px #81b3d2, inset 0 0 0 3px #81b3d2;
  border-color: #ffffff;
  z-index: 1;
}

.range-input:active {
  background-color: #756257;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

input[type="number"] {
  -webkit-appearance: textfield;
  appearance: textfield;
}

.range-input-left {
  border-radius: 4px 0 0 4px;
}

.range-input-right {
  border-radius: 0 4px 4px 0;
  margin-left: -2px;
  padding-left: 13px;
}

.btn {
  display: flex;
  flex-direction: column;
  justify-content: end;
  margin-left: auto;
}

.filters-button:first-child {
  font-family: "PT Sans", sans-serif;
  font-weight: bold;
  padding: 13px 36px;
  border: 0;
  font-size: 16px;
  line-height: 21px;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  background: #83b3d3;
  margin-bottom: 15px;
  border-radius: 4px;
  cursor: pointer;
  outline: 0;
}

.filters-button:last-child {
  font-family: "PT Sans", sans-serif;
  font-weight: normal;
  padding: 5px 14px;
  font-size: 18px;
  line-height: 23px;
  text-align: center;
  background: transparent;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  align-self: center;
  outline: 0;
  margin-bottom: -5px;
}

.filters-button:first-of-type:hover {
  background-color: #68a2ca;
}

.filters-button:first-of-type:focus {
  box-shadow: 0 0 0 3px #ffffff;
}

.filters-button:first-of-type:active {
  color: rgba(255, 255, 255, 0.3);
}

.filters-button:last-of-type:hover {
  color: rgba(255, 255, 255, 0.6);
}

.filters-button:last-of-type:focus {
  box-shadow: 0 0 0 3px #83b3d3;
  border-radius: 4px;
}

.filters-button:last-of-type:active {
  color: rgba(255, 255, 255, 0.3);
}

/* Filters */

/* Hotels */

.hotels {
  background-color: #ffffff;
  color: #000000;
}

.hotels-container {
  width: 1060px;
  margin: 0 auto;
  padding-top: 45px;
}

.hotels-container fieldset {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  align-items: center;
  margin-bottom: 53px;
  border: none;
}

.sorting-list {
  margin: 0;
  padding: 0;
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
}

.sorting-item {
  margin-right: 9px;
}

.sorting-item:last-child {
  margin-right: 0;
}

.sorting-card {
  display: inline-flex;
  padding: 15px 14px;
  border: 2px solid #e6e6e6;
  border-radius: 4px;
  background-color: #ffffff;
  outline: 0;
}

.sorting-card:hover,
.sorting-card:focus {
  border: 2px solid #83b3d3;
  border-radius: 4px;
  cursor: pointer;
}

.sorting-current {
  border: 2px solid #000000;
  border-radius: 4px;
  pointer-events: none;
}

.hotels-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(3, 340px);
  gap: 10px 18px;
  margin-bottom: 34px;
}

.hotels-item {
  width: 340px;
  padding: 20px;
  display: grid;
  grid-template-columns: 160px 140px;
  align-items: start;
  box-sizing: border-box;
}

.hotels p:only-of-type {
  font-weight: bold;
  font-size: 30px;
  line-height: 39px;
  text-transform: uppercase;
  color: #000000;
  margin: 0;
  margin-right: 192px;
}

.select-control {
  font-family: "PT Sans", sans-serif;
  font-weight: normal;
  font-size: 18px;
  line-height: 23px;
  color: #333333;
  width: 287px;
  padding-top: 10px;
  padding-bottom: 11px;
  padding-left: 19px;
  padding-right: 40px;
  background-color: #ffffff;
  border: 2px solid #e6e6e6;
  border-radius: 4px;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.select {
  position: relative;
  display: flex;
  align-items: center;
}

.select-arrow {
  position: absolute;
  top: 21px;
  right: 21px;
}

.select-control:hover,
.select-control:focus {
  border: 2px solid #83b3d3;
  cursor: pointer;
}

.select-control:active {
  color: rgba(51, 51, 51, 0.3);
  border: 2px solid #e6e6e6;
}

.select:active .select-arrow {
  fill: rgba(51, 51, 51, 0.3);
}

.select-number {
  width: 160px;
}

.hotels-item a {
  text-decoration: none;
  border-radius: 4px;
  outline: none;
  justify-self: start;
}

.hotels-link h3 {
  margin: 0;
  font-weight: bold;
  font-size: 24px;
  line-height: 31px;
  color: #000000;
}

.hotels-link:hover h3 {
  color: #756257;
}

.hotels-link:focus h3 {
  box-shadow: 0 0 0 3px #83b3d3;
  border-radius: 4px;
}

.hotels-link:active h3 {
  color: rgba(117, 98, 87, 0.3);
}

.hotels-link img {
  display: block;
}

.hotels-link:hover img {
  opacity: 0.6;
}

.hotels-link:focus img {
  box-shadow: 0 0 0 3px #83b3d3;
}

.hotels-link:active img {
  opacity: 0.3;
}

.hotels-item p {
  margin: 0;
  font-weight: normal;
  font-size: 18px;
  line-height: 23px;
  color: #333333;
  margin-bottom: 16px;
  margin-right: 20px;
  max-width: 100px;
}

.hotels-item b {
  font-weight: normal;
  font-size: 16px;
  line-height: 21px;
  text-transform: uppercase;
  color: #333333;
  text-align: center;
  background-color: #f2f2f2;
  padding: 8px 32px;
  border-radius: 4px;
  max-width: 100px;
}

.hotels-item a:nth-of-type(1) {
  grid-column: 1/-1;
  margin-bottom: 16px;
}

.hotels-item a:nth-of-type(2) {
  grid-column: 1/-1;
  margin-bottom: 16px;
}

.hotels-item .more-button {
  font-family: "PT Sans", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 21px;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  background: #756257;
  justify-self: start;
  padding: 8px 23px;
  max-width: 100px;
}

.hotels-item .favourites-button {
  font-family: "PT Sans", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 21px;
  text-align: center;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  color: #ffffff;
  background-color: #83b3d3;
  justify-self: start;
  padding: 8px 20px;
}

.hotels-item .current-button {
  padding: 8px 18px;
  background-color: #7db54f;
}

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

.more-button:focus {
  box-shadow: 0 0 0 3px #83b3d3;
}

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

.favourites-button:hover {
  background-color: #68a2ca;
  box-shadow: 0 0 0 1px #756257;
}

.favourites-button:focus {
  box-shadow: 0 0 0 3px #756257;
}

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

.current-button:hover {
  background-color: #6c9e42;
  box-shadow: none;
}

.rating {
  grid-column: 1/-1;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.star-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style-type: none;
  max-width: 140px;
}

.star-active {
  background-image: url("../images/star.svg");
  background-repeat: no-repeat;
  width: 18px;
  height: 17px;
  margin-right: 7px;
}

.star-active:last-of-type {
  margin-right: 0;
}

.hotels-container .border {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 28px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e5e5e5;
  border-top: 1px solid #e5e5e5;
}

.download-button {
  max-width: 620px;
  display: block;
  font-weight: bold;
  font-size: 20px;
  line-height: 26px;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  background: #83b3d3;
  padding: 17px 0;
  border-radius: 4px;
  outline: 0;
  box-sizing: border-box;
  margin: 0 auto;
}

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

.download-button:focus {
  box-shadow: 0 0 0 3px #756257;
}

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

.pagination {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.pagination-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
}

.pagination-item a {
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  line-height: 26px;
  text-transform: uppercase;
  color: #ffffff;
  background-color: #83b3d3;
  border-radius: 4px;
  padding: 14px 14px;
  display: block;
  text-align: center;
  outline: 0;
  box-sizing: border-box;
  min-width: 55px;
  min-height: 55px;
}

.pagination-item {
  margin-right: 8px;
}

.pagination-item:last-child {
  margin-right: 0;
}

.pagination-item .pagination-current {
  color: #000000;
  background: #f2f2f2;
  pointer-events: none;
}

.pagination-item a:hover {
  background-color: #68a2ca;
}

.pagination-item a:focus {
  box-shadow: 0 0 0 3px #756257;
}

.pagination-item a:active {
  color: rgba(255, 255, 255, 0.3);
}

.sorting-type {
  display: flex;
  align-items: center;
}

.sorting-type label {
  font-weight: normal;
  font-size: 18px;
  line-height: 23px;
  color: #333333;
  margin-right: 54px;
}

.sorting-type select {
  font-weight: normal;
  font-size: 16px;
  line-height: 23px;
  color: #333333;
  padding-left: 12px;
}

/* Hotels */

/* Subscription-catalog */

.subscription-catalog {
  background-color: #ffffff;
  color: #000000;
  padding-top: 73px;
  padding-bottom: 142px;
}

.subscription-catalog h2 {
  font-weight: bold;
  font-size: 30px;
  line-height: 36px;
  text-align: center;
  text-transform: uppercase;
  color: #000000;
  margin-top: 0;
  margin-bottom: 46px;
}

.subscription-catalog p {
  font-weight: normal;
  font-size: 22px;
  line-height: 26px;
  text-align: center;
  color: #333333;
  margin-top: 0;
  margin-bottom: 46px;
  margin-left: auto;
  margin-right: auto;
  max-width: 500px;
}

.subscription-catalog form {
  text-align: center;
  display: grid;
  grid-template-columns: 1fr auto;
  max-width: 800px;
  margin: 0 auto;
}

/* Subscription-catalog */

/* Modal window */

.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 100%;
  background-color: rgba(242, 242, 242, 0.8);
}

.modal-container-close {
  display: none;
}

.modal {
  position: relative;
  margin: auto;
  background-color: #ffffff;
  width: 715px;
  border-radius: 30px;
}

.modal-content {
  padding: 54px 70px 70px 70px;
}

.modal-content .title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 54px;
  align-items: center;
}

.modal-form {
  display: grid;
  grid-template-columns: 155px 133px 153px 133px;
  position: relative;
  align-items: center;
}

.modal-form label:nth-of-type(1),
.modal-form label:nth-of-type(2) {
  grid-column: 1/2;
  align-self: start;
  margin-top: 5px;
}

.modal-form .data-container {
  position: relative;
  grid-column: 2/-1;
  margin-bottom: 11px;
}

.modal-form label:nth-of-type(3) {
  grid-column: 1/2;
}

.modal-form .adults-container {
  position: relative;
  grid-column: 2/3;
}

.modal-form .tooltip-container {
  grid-column: 3/4;
}

.modal-form .children-container {
  position: relative;
  grid-column: 4/5;
}

.data,
.people {
  width: 100%;
  box-sizing: border-box;
}

.modal-content h2 {
  margin: 0;
  font-weight: bold;
  font-size: 30px;
  line-height: 40px;
  text-transform: uppercase;
}

.close-button {
  padding: 20px;
  background-color: #f2f2f2;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  outline: none;
}

.close {
  display: block;
}

.close-button:hover {
  background-color: #e6e6e6;
}

.close-button:focus {
  box-shadow: 0 0 0 3px #83b3d3;
}

.close-button:active .close {
  fill: rgba(0, 0, 0, 0.3);
}

.modal-form label,
.modal-form input {
  font-weight: bold;
  font-size: 18px;
  line-height: 40px;
  outline: none;
}

.modal-form input::placeholder {
  color: rgba(0, 0, 0, 0.6);
  font-weight: bold;
  font-size: 18px;
  line-height: 40px;
}

.modal-form input:hover {
  background-color: #e6e6e6;
}

.modal-form input:focus {
  box-shadow: 0 0 0 3px #83b3d3;
}

.modal-form input:active {
  background-color: #ffffff;
  box-shadow: 0 0 0 2px #000000;
}

.modal-form input:disabled {
  background-color: #ffffff;
  box-shadow: 0 0 0 2px #ff5757;
}

.mistake {
  top: 50px;
  left: 0;
  font-weight: normal;
  font-size: 16px;
  line-height: 29px;
  color: #ff5757;
  max-width: 400px;
}

.success {
  top: 50px;
  left: 0;
  font-weight: normal;
  font-size: 16px;
  line-height: 29px;
  color: #333333;
  max-width: 400px;
}

.data {
  padding: 0;
  border: none;
  background-color: #f2f2f2;
  border-radius: 4px;
  padding-left: 19px;
  padding-right: 40px;
  padding-top: 5px;
  padding-bottom: 5px;
  background-image: url("../images/date.svg");
  background-repeat: no-repeat;
  background-position: right 17px center;
}

.people {
  padding: 0;
  border: none;
  background-color: #f2f2f2;
  border-radius: 4px;
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
}

.modal-form .find {
  font-family: "PT Sans", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 20px;
  line-height: 40px;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  background-color: #83b3d3;
  border: none;
  cursor: pointer;
  outline: none;
  border-radius: 10px;
  grid-column: 1/-1;
  padding: 10px 0;
  text-decoration: none;
  outline: none;
  margin-top: 40px;
}

.modal-form .find:hover {
  background-color: #68a2ca;
}

.modal-form .find:focus {
  box-shadow: 0 0 0 3px #756257;
}

.modal-form .find:active {
  color: rgba(255, 255, 255, 0.3);
}

.children {
  margin-left: 56px;
}

.minus {
  cursor: pointer;
  outline: none;
  border: none;
  padding: 12px 6px;
  background-color: transparent;
}

.plus {
  cursor: pointer;
  outline: none;
  border: none;
  padding: 6px;
  background-color: transparent;
}

.counter {
  display: block;
  fill: rgba(0, 0, 0, 0.3);
}

.adults-minus {
  position: absolute;
  top: 12px;
  left: 13px;
}

.adults-plus {
  position: absolute;
  top: 12px;
  left: 95px;
}

.children-minus {
  position: absolute;
  top: 12px;
  left: 13px;
}

.children-plus {
  position: absolute;
  top: 12px;
  left: 95px;
}

.minus:hover .counter,
.plus:hover .counter {
  fill: rgba(0, 0, 0, 1);
}

.minus:focus,
.plus:focus {
  box-shadow: 0 0 0 3px #83b3d3;
  border-radius: 4px;
}

.minus:active .counter,
.plus:active .counter {
  fill: rgba(0, 0, 0, 0.2);
}

/* Modal window */

/* Tooltip */

.tooltip {
  position: absolute;
  width: 25px;
  height: 25px;
  margin-left: 10px;
  margin-top: 8px;
}

.tooltip-toggle {
  border: none;
  padding: 8px 12px;
  margin: 0;
  display: block;
  background-color: #83b3d3;
  border-radius: 50%;
  outline: none;
}

.tooltip-icon {
  width: 100%;
  height: 100%;
  display: block;
}

.tooltip-toggle:hover {
  background-color: #68a2ca;
}

.tooltip-text {
  background-color: #333333;
  color: #ffffff;
  font-size: 16px;
  line-height: 20px;
  padding: 15px 18px 18px 22px;
  border-radius: 10px;
  width: 256px;
  position: absolute;
  margin-top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  box-sizing: border-box;
  display: none;
}

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

.tooltip-text::after {
  content: "";
  position: absolute;
  background-image: url("../images/tooltip-arrow.svg");
  width: 19px;
  height: 9px;
  bottom: 100%;
  right: 0;
  left: 0;
  margin-left: auto;
  margin-right: auto;
}

/* Tooltip */
