#breadcrumbs {
  line-height: 14px;

  padding: 5px 5px 6px;

  margin: 0;

  font-size: 14px;
}

#breadcrumbs span {
  display: inline-block;

  text-align: left;

  color: #fe8605;

  font-size: 14px;

  top: 2px;

  right: 3px;
}

#breadcrumbs span a {
  font-family: 'Times New Roman', Times, serif;

  font-size: 14px;

  color: #585858;

  text-decoration: none;
}

#breadcrumbs .breadcrumb_last {
  font-family: 'Times New Roman', Times, serif;

  font-size: 14px;

  color: #585858;
}

.apartment-content {
  width: 100%;

  margin-top: 5px;

  margin-left: 3px;

  padding: 1px 0;

  text-align: justify;

  background-color: #fcf8cb;

  border-radius: 10px;
}

.apartment-main-title {
  color: #fcd988;

  margin: 0 5px;

  border-radius: 5px;

  background: linear-gradient(to bottom, #686666, #1f191a);

  padding: 5px;

  text-align: center;

  font-size: 20px;

  font-family: Arial, Helvetica, Sans-Serif;
}

.apartment-description {
  padding: 0px 5px 5px 5px;
}

.apartment-states {
  display: flex;
}

.apartment-states .apartment-available,
.apartment-bookings,
.apartment-available-bron {
  font-family: 'Times New Roman', Times, serif;

  font-size: 14px;

  box-sizing: content-box;

  border: solid 1px #ccc;

  border-radius: 5px;

  text-align: center;

  margin: 2% 2% 2% 0%;

  text-transform: uppercase;

  font-weight: bold;

  color: #fff;

  width: 177px;

  background-color: #628808;

  padding: 1%;

  line-height: 16px;

  transition: all 0.3s;
}

.apartment-states .apartment-bookings {
  display: inline-block;

  text-decoration: none;

  color: #fff;
}

.apartment-states .apartment-available:hover,
.apartment-bookings:hover {
  background-color: #fff;

  color: #628808;

  border-color: #628808;
}

.apartment-available-bron {
  background-color: red;
}

.apartment-available-bron:hover {
  color: red;

  border-color: red;

  background-color: #fff;
}

.apartment-info {
  box-sizing: content-box;

  font-size: 25px;

  margin: 20px 0;

  padding: 10px 20px;

  letter-spacing: 1px;

  color: #50250c;

  border: 1px solid #cacaca;

  border-radius: 5px;
}

.apartment-info div {
  font-family: 'Times New Roman', Times, serif;

  font-size: 25px;

  line-height: 28px;

  letter-spacing: 1px;

  color: #50250c;
}

.apartment-info span {
  font-family: 'Times New Roman', Times, serif;

  font-size: 21px;

  font-weight: 700;

  color: #50250c;

  line-height: 24px;
}

.apartment-services {
  display: flex;

  justify-content: flex-start;

  flex-wrap: wrap;
}

.apartment-services img {
  box-sizing: content-box;

  margin: 5px;

  border: 1px solid #ccc;

  padding: 5px;

  width: auto;

  height: auto;

  max-height: 45px;
}

.glide__slides img {
  height: 400px;

  object-fit: cover;

  cursor: pointer;
}

.glide-second {
  margin: 30px 0 6px;
}

.glide__slides {
  box-sizing: content-box;
}

.glide-second img {
  height: 103px;

  width: auto;

  object-fit: cover;

  opacity: 0.65;

  cursor: pointer;
}

@keyframes glideOpacity {
  0% {
    opacity: 0.65;
  }

  100% {
    opacity: 1;
  }
}

.glide-second .glide__slide--active {
  animation: glideOpacity 0.3s ease-in-out;

  opacity: 1;
}

.apartment-bullets {
  display: flex;

  justify-content: center;
}

.apartment-bullets .glide__bullet {
  border-radius: 100%;

  height: 6px;

  width: 6px;

  opacity: 0.25;

  padding: 1px;

  margin: 0 10px;

  background-color: black;

  border-color: black;
}

.apartment-bullets .glide__bullet--active {
  opacity: 0.75;
}

.apartment-block__content {
  font-family: 'Times New Roman', Times, serif;

  font-size: 14px;
}

.apartment-block__content p {
  line-height: 17.5px;

  color: #000;

  margin: 10px;

  text-align: left;
}

.apartment-block__content a {
  color: #000 !important;

  text-decoration: none;
}

.embed-responsive-item {
  height: 200px;

  width: 100%;
}

.embed-responsive-item iframe {
  width: 100%;

  height: 200px;
}

#calendar {
  margin: 30px 0;
}

#calendar h2 {
  text-align: center;

  font-weight: 400;

  color: #060606;

  font-size: 21px;

  font-family: 'Times New Roman', Times, serif;

  margin: 17.43px 0;
}

#opstatus {
  font-size: 16px;

  font-family: 'Times New Roman', Times, serif;

  width: 75%;

  margin: 10px auto;

  border: 1px solid #ccc;

  text-align: center;

  color: #060606;

  line-height: 18px;
}

#opstatus div {
  display: inline-block;

  margin: 5px;

  vertical-align: middle;

  font-size: 16px;

  text-align: center;

  color: #060606;

  font-family: 'Times New Roman', Times, serif;
}

#z {
  display: inline-block;

  margin: 5px;

  vertical-align: middle;

  background-color: red;

  border: 1px solid #ccc;

  width: 15px;

  height: 15px;

  text-align: center;
}

#r {
  display: inline-block;

  margin: 5px;

  vertical-align: middle;

  background: orange;

  width: 15px;

  height: 15px;

  font-size: 16px;

  text-align: center;

  font-family: 'Times New Roman', Times, serif;

  color: #060606;
}

#f {
  display: inline-block;

  margin: 5px;

  vertical-align: middle;

  background: #adff2f;

  width: 15px;

  height: 15px;

  font-size: 16px;

  text-align: center;

  font-family: 'Times New Roman', Times, serif;

  color: #060606;
}

#a {
  display: inline-block;

  margin: 5px;

  vertical-align: middle;

  background: pink;

  width: 15px;

  height: 15px;

  font-size: 16px;

  text-align: center;

  font-family: 'Times New Roman', Times, serif;

  color: #060606;
}

#monthname {
  font-family: 'Times New Roman', Times, serif;

  font-size: 14px;

  width: 101.5%;

  margin-bottom: 2px;

  border: 1px solid #ccc;

  border-radius: 5px 5px 0 0;

  background-color: #ff0;

  text-align: center;

  line-height: 16px;
}

.calendar-block {
  display: flex;

  gap: 5px;
}

#calholder {
  width: 32.5%;
}

#calholder ul {
  width: 95%;

  display: grid;

  grid-template-columns: repeat(7, 21.7px);

  grid-template-rows: repeat(6, 18px);

  grid-column-gap: 0px;

  grid-row-gap: 0px;

  align-items: start;

  margin: 0;

  padding: 5px;

  border: 1px solid #ccc;

  border-radius: 0 0 10px 10px;

  background-color: #efefe1;

  height: 160px;

  box-sizing: content-box;

  gap: 4px;

  margin-bottom: 14px;
}

#calholder li {
  box-sizing: content-box;

  font-family: 'Times New Roman', Times, serif;

  font-size: 14px;

  list-style: none;

  display: inline-block;

  margin: 2px 0;

  text-align: center;

  border: 1px solid #ccc;

  border-radius: 5px;

  line-height: 16px;
}

.days {
  line-height: 16px;
  background-color: #adff2f;
  height: 16px;
}

.red {
  background-color: #ec5252;
}

.free {
  background-color: #adff2f;
}

.zan {
  background-color: red;
}

.bron {
  background-color: orange;
}

.action {
  background-color: pink;
}

.apartment-calendar__btn {
  display: flex;

  justify-content: center;
}

.apartment-calendar__btn a {
  border: solid 1px #ccc;

  border-radius: 5px;

  text-align: center;

  margin: 0 2% 0 2%;

  text-transform: uppercase;

  font-weight: bold;

  color: #fff;

  width: 177px;

  background-color: #628808;

  padding: 1%;

  text-decoration: none;

  line-height: 16px;

  font-size: 14px;

  font-family: 'Times New Roman', Times, serif;

  box-sizing: content-box;
}

.modal-window {
  display: none;

  position: fixed;

  top: 0;

  left: 0;

  z-index: 100;

  height: 100vh;

  width: 100%;

  background: rgba(0, 0, 0, 0.8);
}

.modal-container {
  margin: auto;

  display: flex;

  justify-content: center;

  align-items: center;

  width: 80%;

  height: 80%;
}

.modal-window img {
  height: auto;

  width: 100%;

  object-fit: contain;

  max-width: 100%;

  max-height: 90vh;
}

.modal-window .glide {
  position: relative;

  height: auto;
}

.modal-window .glide__track {
  height: 100%;
}

.modal-window .glide__slides {
  height: 100%;
}

.modal-window button {
  width: 20px;

  height: 20px;

  position: fixed;

  top: 49%;

  border-radius: 50%;

  padding: 0;

  box-sizing: content-box;

  line-height: 16px;

  font-size: 16px;

  font-weight: 700;

  border: none;

  opacity: 0.75;

  z-index: 1;
}

.modal-window button:hover {
  opacity: 1;
}

.modal-btn button:first-child {
  left: 15px;
}

.modal-btn button:first-child::before {
  content: '\276E';
}

.modal-btn button:last-child::before {
  content: '\276F';
}

.modal-btn button:last-child {
  right: 15px;
}

.close-modal {
  display: none;
}

.modal-window .modal-btn__close {
  background-color: transparent;

  top: 15px;

  right: 15px;

  color: #fff;

  opacity: 0.85;

  height: 20px;

  width: 20px;
}

.modal-window .modal-btn__close::before {
  content: '\00D7';

  color: #fff;

  opacity: 0.85;

  font-size: 20px;
}

@media (max-width: 1025px) {
  .row .col-lg-8 {
    padding: 1px 0;
  }

  .apartment-content {
    background-color: transparent;

    border-radius: 0;

    margin-top: 0;

    padding: 1px 0;

    margin-left: 0;
  }

  .page-block-path {
    padding-left: 34px;

    margin: 17px 0 19px;

    font-size: 15px;

    text-align: left;

    line-height: 18px;
  }

  #breadcrumbs {
    padding: 5px 7px 0;
  }

  #breadcrumbs span a {
    font-size: 15px;

    line-height: 17px;
  }

  #breadcrumbs .breadcrumb_last {
    font-size: 15px;
  }

  .main-page-title {
    margin: 23px 0 18px;

    font-weight: 700;

    line-height: 18px;

    font-size: 16px;
  }

  .apartment-main-title {
    font-weight: 700;

    margin: 0 0 10px;
  }

  .apartment-states .apartment-available,
  .apartment-bookings,
  .apartment-available-bron {
    width: 50%;

    margin-right: 6px;

    font-size: 16px;

    line-height: 18px;
  }

  .apartment-description {
    padding: 0;
  }

  .apartment-info div {
    font-size: 16px;

    line-height: 18px;
  }

  .apartment-services {
    margin-bottom: 20px;
  }

  .apartment-info div span {
    font-size: 16px;

    line-height: 18px;
  }

  .glide__slides img {
    /* height: 244px; */

    width: 100%;

    height: auto;
  }

  .glide-second img {
    height: 100px;
  }

  .apartment-bullets .glide__bullet {
    margin: 0 5px;
  }

  #calendar {
    display: none;
  }

  #intro {
    margin: 0 auto;

    width: 570px;

    max-width: 100%;

    max-height: 100%;
  }

  .embed-responsive iframe {
    box-sizing: content-box;

    width: 100%;

    height: 200px;
  }

  .apartment-block__content p {
    margin: 16px 0;
  }

  .apartment-block__content p:last-child {
    margin-bottom: 0;

    margin-right: 0;
  }

  .apartment-block__content .apartment-scheme {
    display: none;
  }

  .apartment-block__content p img {
    display: none;
  }

  .modal-window {
    overflow-y: hidden;
  }

  .modal-window img {
    object-fit: cover;

    margin-top: auto;

    margin-bottom: auto;
  }
}

@media (max-width: 425px) {
  .glide__slides img {
    height: 250px;
  }

  .glide-second img {
    height: 70px;
  }

  .modal-window button {
    position: absolute;

    top: 49%;
  }

  .modal-container {
    height: auto;
  }

  .modal-window .glide {
    height: auto;
  }

  .modal-window .glide__slides img {
    height: auto;
  }

  .modal-btn button:first-child {
    left: -20px;
  }

  .modal-btn button:last-child {
    right: -20px;
  }
}

@media (max-width: 350px) {
  .glide-second img {
    height: 46px;
  }
}
