body.ltr #offcanvas-toggler.offcanvas-toggler-left {
    float: left;
    margin-right: 10px;
    margin-top: -10px;
    margin-bottom: 10px;
}
.sidepanel {
    position: fixed; /* Fixes the panel to the viewport */
    right: 0; /* Aligns the panel to the right edge */
    top: 45%; /* Positions the top of the panel at 50% of the viewport height */
    transform: translateY(-50%); /* Centers the panel vertically */
    width: 100px; /* Sets the width of the panel */
    height: 100px; /* Sets the height of the panel */
    background-color: transparent !important; /* Background color */
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);  Adds a shadow for visual effect */
    padding: 20px; /* Adds padding inside the panel */
    box-sizing: border-box; /* Includes padding and border in the element's total width and height */
    z-index: 9999; /* Ensures the panel is above other elements */
}
#sp-logo .sp-column {
    display: flex;
    flex-direction: column; /* Размещает элементы по вертикали */
    align-items: center;    /* Центрирует элементы по горизонтали */
}
.sp-contact-info {
    margin-top: 20px; /* Добавляет отступ сверху для отделения контактов от логотипа */
    text-align: center; /* Центрирует текст внутри списка */
}

.logo {
    margin-bottom: 20px; /* Добавляет отступ снизу, чтобы создать пространство между логотипом и контактами */
}
.social-share-block {
        display: none;
  }
.main-image-container img {
    width: 100%;
    height: auto;
    cursor: pointer;
    display: inline-block;
}
.article-details .article-ratings-social-share {
    display: none !important;
}

.logo h1 {
    font-family: "Marck Script";
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 50px;
}
.op-call {
  background: #91B54D1A;
  padding-top:32px;
  padding-bottom:32px;
}
.op-call span {
  font-family: Roboto;
  font-size: 32px;
  font-weight: 400;
  line-height: 48px;
  text-align: left;
  color:#03031D;
}
.op-call bold{
  font-weight: 600;
}
.op-call img{
  height:96px;
  width:96px;
  margin-right:32px;
}
@media (max-width: 767px) {
  .op-call {
  padding-top:18px;
  padding-bottom:18px;
 }
 .op-call span {
   font-family: Roboto;
   font-size: 20px;
   font-weight: 400;
   line-height: 30px;
   text-align: left;
   color:#03031D;
 }

 .op-call img{
  height:56px;
  width:56px;
  margin-right:12px;
 }
  section#sp-social-icons {
    padding: 0 15px !important;
    margin-bottom: 20px !important;
  }
}
  /* #sp-booking {
    background: #fff !important;
    border: 2px solid #d7d7d7 !important;
  }
  #sp-booking .datefield,
  #sp-booking input,
  #sp-booking select {
    background-color: #fff !important;
    border: 1px solid #cbcbcb !important;
  }
  #sp-booking .input-group-text {
    color: #909090;
} */


/* #sr-checkavailability-form-168 .btn-primary {
    padding: 22px 0;
    margin-top: 0;
    font-style: normal;
    font-size: 16px;
    font-weight: 500;
    background-color: #EAB902;   
} */
#sp-social-icons {
    margin-top: -110px;
    backdrop-filter: blur(4px);
    background: rgba(23, 25, 24, 0.3);
    border-top: none !important;
}
#sp-roomtypes.section-bg-title{
    background: none;
}
#sp-roomtypes {
    /* padding: 0; */
}


#sp-map{
    padding-top: 100px;
    padding-bottom: 130px;
    background-color: rgba(23, 25, 24, 0.03);
}

.checkavail-pad5 {
    padding: 0 20px 5px 20px;
    background-color: white;
}
.checkavail-pad5 .input-group input, .checkavail-pad5 .input-group span {
    background-color: white;
}

.checkavail-pad5 .input-group input, .checkavail-pad5 .input-group .input-group-text {
    border: none !important;
}
.checkavail-pad5 .input-group input {
    padding-left: 0;
}
.checkavail-pad5 label {
    margin-bottom: 0;
    padding-top: 5.5px;
}

.k_contact_info_left_form #cf_1 {
    background-color: #F8F8F8;
    padding-top: 40px;
}
.k_contact_info_left_form #cf_1 form .cf-form-wrap {
    padding-left: 0;
}
.k_contact_info_left_form #cf_1 form .cf-form-wrap .cf-fields .cf-control-group .cf-control-label {
    display: none;
}
.k_contact_info_left_form #cf_1 form .cf-form-wrap .cf-fields .cf-control-group .cf-control-input input, .k_contact_info_left_form #cf_1 form .cf-form-wrap .cf-fields .cf-control-group .cf-control-input textarea {
    padding: 14px 20px;
}
.k_contact_info_left_form #cf_1 h2 {
   text-transform: uppercase;
}
.k_contact_info_left_form #cf_1 form .cf-form-wrap .cf-fields .cf-control-group .cf-control-input .cf-text-left button {
    background-color: #EAB902;
    padding: 15px 32px;
}


@media (orientation: portrait) {
    .header-top-panel {
        justify-content: center;
    }
    .header-top-panel #sp-menu, .header-top-panel #sp-location {
        display: none;
    }
    .header-top-panel #sp-logo {
       width: 100% !important;
    }
    #sp-slider {
       display: block !important;
    }
    #sp-social-icons {
        margin-top: 0;
        backdrop-filter: none;
    }
    .rooms-select {
        position: fixed;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
        justify-content: center;
        background-color: rgba(0, 0, 0, 0.8);
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0 5%;
    }

    .checkavail-block-top {
        margin: 0;
        padding-bottom: 5px;
    }
    .checkavail-block-top-part-left {
        width: 50%;
        padding: 0;
        padding-right: 2.5px;
    }
    .checkavail-block-top-part-right {
        width: 50%;
        padding: 0;
        padding-left: 2.5px;
    }
    .roomcheckavial-rooms {
        padding-bottom: 5px;
    }

    .roomtype-item-detail .room-order {
        margin: 20px 25% 40px 25%;
    }

    .k_home_info .container {
        flex-direction: column-reverse;
    }
    .k_home_info .container .k_home_info_left, .k_home_info .container .k_home_info_right {
        width: 100%;
        padding-top: 24px;
    }
    .k_home_info_left {
        padding-right: 0;
    }
    .k_contact_info_left .k_contact_info_left_title {
        flex-wrap: wrap;
        justify-content: center;
    }

    .k_home_info .container {
        flex-direction: column;
        align-items: center;
    }
    .k_contact_info_right {
        width: 100%;
    }
    .k_contact_info_right iframe {
        width: 100%;
        height: 300px;
    }
    .k_contact_info_left_form #cf_1 .cf-form-wrap .cf-fields .cf-control-group {
        text-align: center;
    }
}
/* Основные стили для галереи */
#mainCarousel .carousel-inner,
#modalCarousel .carousel-inner {
    max-height: 75vh; /* Ограничение по высоте (75% от высоты экрана) */
}

#mainCarousel .carousel-item img,
#modalCarousel .carousel-item img {
    width: 100%;
    height: 75vh;
    object-fit: contain; /* Сохраняет пропорции и умещает всё изображение */
}

/* Стили для кнопок навигации карусели - делаем их хорошо видимыми на белом фоне */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.7); /* Темный полупрозрачный фон */
    border-radius: 50%; /* Круглые кнопки */
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

/* Увеличиваем контрастность иконок */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
    filter: brightness(2); /* Делаем иконки ярче */
}

/* Стили при наведении */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 1;
}

/* Стили для модального окна */
.modal-dialog.modal-xl {
    max-width: 90%; /* Увеличиваем ширину модального окна */
}

.modal-body {
    padding: 0;
}

/* Оформление панели с миниатюрами в модальном окне */
.modal-body .row.g-1.mt-3 {
    padding: 10px;
    margin: 0 !important;
    background-color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1050;
}

/* Стили для активной миниатюры */
.gallery-thumb.active,
.modal-thumb.active {
    border: 2px solid #0d6efd;
}

/* Стили для миниатюр */
.gallery-thumb, .modal-thumb {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.gallery-thumb:hover, .modal-thumb:hover {
    transform: scale(1.05);
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 992px) {
    /* Высота изображений на мобильных устройствах */
    #mainCarousel .carousel-item img {
        height: 60vh;
    }
    
    /* Модальное окно в полноэкранном режиме */
    .modal-dialog.modal-xl {
        max-width: 100%;
        margin: 0;
    }
    
    /* Регулировка размера изображений в модальном окне */
    #modalCarousel .carousel-item {
        height: 65vh;
    }
    
    #modalCarousel .carousel-item img {
        height: 65vh;
    }
    
    /* Улучшение панели навигации для сенсорных устройств */
    .modal-body .row.g-1.mt-3 {
        padding: 5px;
        overflow-x: auto;
        white-space: nowrap;
        display: flex;
        flex-wrap: nowrap;
    }
    
    /* Увеличиваем размер миниатюр для удобного нажатия */
    .modal-thumb {
        width: 60px;
        height: 60px;
        margin-right: 5px;
    }
}

@media (max-width: 768px) {
    /* Уменьшаем кнопки навигации для маленьких экранов */
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }
    
    /* Настройка отображения миниатюр */
    .col-2.col-md-1.mb-1 {
        padding: 2px;
    }
    
    /* Более крупные миниатюры на мобильных */
    .gallery-thumb {
        width: 100%;
        height: auto;
    }
    
    /* Фиксированная высота галереи на мобильных */
    #mainCarousel .carousel-item img {
        height: 50vh;
    }
    
    /* Модальное окно занимает весь экран */
    .modal-fullscreen-md-down {
        padding: 0;
    }
    
    /* Заголовок модального окна */
    .modal-header {
        padding: 10px;
    }
    
    .modal-header h5 {
        font-size: 16px;
    }
    
    /* Адаптация миниатюр для мобильных устройств */
    .modal-body .row.g-1.mt-3 {
        max-height: 20vh;
        overflow-y: auto;
    }
}

@media (max-width: 576px) {
    /* Настройки для очень маленьких экранов */
    #mainCarousel .carousel-item img {
        height: 40vh;
    }
    
    /* Увеличиваем кнопки для сенсорного ввода */
    .carousel-control-prev,
    .carousel-control-next {
        width: 36px;
        height: 36px;
    }
    
    /* Уменьшаем количество видимых миниатюр */
    .col-2.col-md-1.mb-1 {
        width: 20%; /* Показываем по 5 миниатюр в ряд */
    }
    
    /* Оптимизация модального окна для смартфонов */
    #modalCarousel .carousel-item img {
        height: 50vh;
    }
    
    /* Вертикальное отображение миниатюр в модальном окне */
    .modal-body .row.g-1.mt-3 {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 5px 0;
        margin: 0;
    }
    
    /* Увеличенные миниатюры для сенсорного ввода */
    .modal-thumb {
        width: 50px;
        height: 50px;
        margin: 0 2px;
    }
}

/* Исправление для устройств с низкой высотой экрана (в ландшафтном режиме) */
@media (max-height: 600px) {
    #mainCarousel .carousel-item img,
    #modalCarousel .carousel-item img {
        height: 50vh;
    }
    
    .modal-body .row.g-1.mt-3 {
        max-height: 15vh;
    }
}