.header {
    z-index: 10;
}

.t-center {
    text-align: center;
}

.tour-cards-wrap>.tour-card:not(:only-child) {
    width: auto;
    max-width: none;
}

.tour-cards-wrap>.tour-card:only-child {
    width: 50%;
    max-width: 50%;
}

ul.pagination {
    margin-top: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

ul.pagination li {
    list-style-type: none;
    padding-left: 0;
}

ul.pagination li:not(:last-child) {
    margin-right: 16px;
}

ul.pagination li:before {
    display: none;
}

.sort-btn .input-item {
    cursor: pointer;
}

.sort-btn .custom-checkbox>span::before {
    opacity: 0;
}

.photos__inner {
    max-height: 480px;
}

.photos__inner img:first-child {
    max-height: 480px;
}

.photos__inner img:last-child {
    max-height: 240px;
}

.breadcrumbs {
    white-space: unset;
}

.tour-desc__col {
  width: 100%;
  margin-top: 40px;
}

.tour-desc__col iframe {
    width: 100%;
    min-height: 400px;
}

.filter-wrap .form__checkeboxes .input-item.custom-checkbox:last-child {
    display: none;
}

.bwg-item a {
    border-radius: 20px;
    overflow: hidden;
}

.form-application__btns-wrap p {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.popup__content .select-wrap.datepicker-wrap {
    width: 100%;
}

.popup__content .wpcf7-form-control-wrap {
    width: 100%;
}

.popup .datepicker-wrap::before {
    z-index: 1;
}

.bwg-title2 {
    opacity: 0 !important;
}

.tour-card__name {
    min-height: 60px;
}

.directions-wrap {
    margin-top: 48px;
}

.direction-item {
    padding: 20px;
    border-radius: 20px;
    background-color: #FFF;
    width: calc((100% - 72px) / 4);
    margin-bottom: 24px;
    cursor: pointer;
    color: #191919;
}

.direction-item:not(:nth-child(4n)) {
    margin-right: 24px;
}
.direction-item__icon {
    width: 75px;
    margin-right: 24px;
}
.direction-item__name {
    width: calc(100% - 99px);
}

.input-item-wrap {
    width: 100%;
}
#wpcf7-f481-o2 label {
  width: 100%;
}

@media (max-width: 980px) {
    .direction-item {
        margin-bottom: 16px;
    }
    .direction-item__icon {
        width: 45px;
        margin-right: 12px;
    }
    .direction-item__name {
        width: calc(100% - 57px);
    }
    .menu-wrap .menu-item:not(:last-child) {
        margin-right: 0;
    }
}

/* Cookie */

.cookies {
    display: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: fixed;
    width: calc(100vw - 40px);
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 10;
    background-color: #ffffff;
    color: #191919;
    border-radius: 20px;
    padding: 30px;
    margin: 0 auto;
  }
  
  .cookies__view {
    max-width: 1315px;
    position: relative;
    width: 100%;
    background-color: #fff;
    padding: 23px;
    margin: 0 auto;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .cookies__text {
    max-width: 900px;
    font-size: 12px;
  }
  
  .cookies__text a {
    display: inline;
    color: #0088ff;
  }
  
  .btn-cookies {
    min-width: 160px;
    justify-content: center;
  }
  
  .btn-cookies:hover {
    opacity: 1;
  }
  
  .btn-cookies::after {
    min-width: 160px;
    content: unset;
  }
  
  .js-cookie-agree {
    border-color: #FFF;
    background-color: #e8473ad6;
    color: #fff;
  }
  
  .js-cookie-agree:hover {
    color: #fff;
  }
  
  .cookies__buttons {
    display: flex;
    gap: 10px;
  }
  
  #cookies-save-btn {
    min-width: 210px;
  }
  
  .cookies-modal-confirm {
    position: fixed;
    width: 480px;
    background: #fff;
    display: block;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    padding: 40px;
    border-radius: 8px;
    z-index: 1000;
  }
  
  .cookies-modal-confirm__title {
    font-size: 18px;
    text-align: center;
    margin: 0;
  }
  
  .cookies-modal-confirm__body {
    margin: 8px 0;
  }
  
  .cookies-modal-confirm__text {
    font-size: 14px;
  }
  
  .cookies-modal-confirm__buttons {
    display: flex;
    justify-content: space-between;
  }
  
  .base-modal {
    display: none;
  }
  
  .base-modal_show {
    display: block;
  }
  
  .base-modal__backdrop {
    background-color: hsla(0, 0%, 5%, .5);
    max-width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
  }

  .gtranslate_wrapper {
    display: flex;
  }
  
  
  @media screen and (max-width: 960px) {
    .cookies__view {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .cookies__buttons {
      margin-top: 20px;
    }
  }
  
  @media screen and (max-width: 500px) {
    .cookies__buttons {
      margin-top: 20px;
      margin: 0 auto;
    }
  }
  
  @media screen and (max-width: 480px) {
    .cookies-modal-confirm {
      width: 320px;
    }
  
    .cookies-modal-confirm__buttons {
      flex-wrap: wrap;
      gap: 10px;
    }
  
    .btn-cookies {
      width: 100%;
    }
  }
  
  .cookies-setting {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.15);
    line-height: 1.3;
  }
  
  .cookies-setting__bg {
    width: 100%;
    height: 100%;
    padding: 20px;
    color: #323E48;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .cookies-setting__modal {
    position: relative;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
  }
  
  .cookies-setting__buttons {
    margin-top: 20px;
  }
  
  .cookies-setting__title {
    margin: 0;
    margin-bottom: 10px;
    max-width: 80%;
  }
  
  .cookies-setting__close {
    position: absolute;
    right: 20px;
    width: 24px;
    height: 24px;
    cursor: pointer;
  }
  
  .cookies-setting__list {
    margin-top: 20px;
  }
  
  .cookies-setting__list>li:before {
    content: none;
  }
  
  .cookies-setting__body {
    max-width: 1000px;
    height: 400px;
    overflow-y: scroll;
  }
  
  .cookies-setting__description {
    font-size: 12px;
  }
  
  .cookies-setting__description_red {
    color: red;
  }
  
  .checkbox-item {
    display: flex;
    align-items: center;
  }
  
  .checkbox-item input {
    margin-right: 5px;
    -webkit-appearance: auto;
    position: static;
  }
  
  .cookies-setting__item {
    margin-bottom: 10px;
  }
  
  .cookies-setting a {
    text-decoration: underline;
    color: #0088ff;
  }
  
  
  /* Cookie end */