.tour-page {}

.tour-page .template {
    margin-top: 60px;
}

.tour-page .template .template-module {
    margin: 0;
}

.tour-page .template .listing {
    padding: 60px 0 0 0;
}

.tour-page .template .template-module:has(.tour-itinerary) + .listing {
    padding: 0;
}

.tour-page .template .map-tooltip-fullscreen .listing {
    padding: 0;
}




.tour-page .tour-itinerary .map-tooltip-fullscreen {
	position: fixed;
	top: 0;bottom: 0;
	left: 0;right: 0;
	z-index: -1;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease-in-out,
			 	z-index 0s linear .2s;
	display: flex;
	justify-content: center;
	align-items: center;
}
.tour-page .tour-itinerary .map-tooltip-fullscreen::before {
	content: "";
	position: absolute;
	top: 0;bottom: 0;
	left: 0;right: 0;
	background-color: #010101;
	opacity: 0.8;
}
.tour-page .tour-itinerary .map-tooltip-fullscreen.visible {
	z-index: 30;
	opacity: 1;
	pointer-events: auto;
	transition: opacity .2s ease-in-out,
	z-index 0s linear;
}

.tour-page .tour-itinerary .map-tooltip-fullscreen .listing {
	position: relative;
	max-width: 800px;
	width: 100%;
	border-radius: 100%;
	padding: 40px 40px 35px 30px;
	background-color: white;
	border-radius: 10px;
	z-index: 1;
}
.tour-page .tour-itinerary .map-tooltip-fullscreen .listing .pin::before {
	content: normal;
}

.tour-page .tour-itinerary .map-tooltip-fullscreen .listing .close {
	position: absolute;
	top: 0;right: 0;
	width: 42px;
	height: 42px;
}
.tour-page .tour-itinerary .map-tooltip-fullscreen .listing .close::before,
.tour-page .tour-itinerary .map-tooltip-fullscreen .listing .close::after {
	content: "";
	position: absolute;
	top: 0;bottom: 0;
	left: 0;right: 0;
	width: 15px;
	height: 1px;
	margin: auto;
	background-color: var(--black);
}
.tour-page .tour-itinerary .map-tooltip-fullscreen .listing .close::before {
	transform: rotate(45deg);
}
.tour-page .tour-itinerary .map-tooltip-fullscreen .listing .close::after {
	transform: rotate(-45deg);
}

/* .tour-page .template .listing:has(.file) {
    border-top: 2px solid #f5f5f5;
} */

.tour-page .banner {
    padding-top: 155px;
}

.tour-page .banner.no-img .container h1,
.tour-page .banner {
    text-align: start;
    margin-inline: 0;
}

.tour-page>.container {
    max-width: 1240px;
}

.tour-page .banner.no-img .container h1 {
    max-width: 1000px;
}

.tour-page .banner.no-img .container .details {
    padding-top: 12px;
}

.tour-page .banner.no-img .container .details .categories,
.tour-page .banner.no-img .container .details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.tour-page .banner.no-img .container .details .categories {
    gap: 5px;
}

.tour-page .banner.no-img .container .details .categories .button {
    position: relative;
    text-transform: uppercase;
    margin-top: auto;
    color: #373d35;
    font-family: var(--font-family);
    font-size: .656rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.53px;
    padding: 9px 8px 8px;
    width: unset;
}

.tour-page .banner.no-img .container .details .categories .button:hover {
    opacity: 1;
}

.tour-page .banner.no-img .container .details .categories .button:before {
    background-color: #e5f0d1;
}

.tour-page .banner.no-img .container .details .categories .button:hover:before {
    background-color: #d0deb8;
}

.tour-page .banner.no-img .container .details>a {
    font-size: 0.813rem;
    font-weight: bold;
    line-height: 1.38;
    letter-spacing: 0.65px;
    text-align: left;
    color: var(--primary);
    text-transform: uppercase;
}


.tour-page .banner.no-img .container .details .tour-rating {
    margin-left: auto;
}

.tour-page .banner.no-img .container .details .stars-wrapper {
    font-size: 0;
    margin-top: auto;
    display: flex;
    align-items: center;

}

.tour-page .banner.no-img .container .details .stars-wrapper .stars {
    display: inline-block;
    mask-image: url(/assets/img/tour/star.svg);
    -webkit-mask-image: url(/assets/img/tour/star.svg);
    mask-repeat: space;
    -webkit-mask-repeat: space;
    background-color: #d8d8d8;
    height: 16px;
    width: 95px;
}

.tour-page .banner.no-img .container .details .stars-wrapper .stars>span {
    display: block;
    width: 0;
    height: 100%;
    background-color: var(--primary);
}

.tour-page .banner.no-img .container .details .stars-wrapper>span {
    display: inline-block;
    font-size: .875rem;
    color: black;
    line-height: 1;
    margin-left: 5px;
    font-weight: normal;
    letter-spacing: normal;
    color: #b9bab9;
}

.tour-page .tour-wrapper {
    margin-top: 50px;
}

.tour-page .tour-wrapper>.container {
    display: flex;
    gap: 80px;
}

.tour-page .tour-wrapper .tour-details {
    width: 100%;
    max-width: 740px;
}

.tour-page .tour-wrapper .tour-details .tour-gallery {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 740 / 545;
}

.tour-page .tour-wrapper .tour-details .tour-gallery img {
    object-fit: contain;
}

.tour-page .tour-wrapper .tour-details .tour-description {
    /* margin-top: 60px; */
    padding: 0 0 45px;
}

.tour-page .tour-wrapper .tour-details .title {
    font-size: 1.5rem;
    font-weight: normal;
    line-height: 1.42;
    letter-spacing: -0.24px;
    color: var(--secondary);
    text-transform: uppercase;
    margin: 25px 0 30px;
    text-align: start;
}

.tour-page .tour-wrapper .tour-details .read-more-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
    /* max-height: 4.5em; */
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: left;
    color: var(--secondary);
    margin: 0 0 15px;
}

/* .tour-page .tour-wrapper .tour-details .tour-description .read-more-text{
    max-height: initial;
} */

.tour-page .tour-wrapper .tour-details .tour-description .read-more-text p{
    margin-block: 10px;
}

.tour-page .tour-wrapper .tour-details .read-more-text.expanded {
    -webkit-line-clamp: unset;
    max-height: none;
}

.tour-page .tour-wrapper .tour-details .read-more-btn {
    font-size: 0.875rem;
    color: var(--primary);
    text-transform: uppercase;
    line-height: 1.43;
    letter-spacing: 0.7px;
}

.tour-page .tour-wrapper .tour-details .read-more-btn:hover {
    opacity: 0.6;
}



.tour-page .tour-wrapper .tour-details .template>.template-module>* {
    border-top: 2px solid #f5f5f5;
}

.tour-page .tour-wrapper .tour-details .template:has( .listing + .template-module >* ) >.template-module>*:first-of-type {
    border-top: 2px solid transparent;
}

.tour-page .tour-wrapper .tour-details .template:has( .listing + .template-module >* ) .listing .accordion:last-of-type,
.tour-page .tour-wrapper .tour-details .template>.template-module>*:not(.tour-itinerary):last-of-type {
    border-bottom: 2px solid #f5f5f5;
}

.tour-page .tour-wrapper .tour-details .template .listing .accordion:last-of-type {
    border-bottom: 0px solid #f5f5f5;
}


/* 
.tour-page .tour-wrapper .tour-details .template .listing .accordion:first-of-type {
    border-top: 0px solid #f5f5f5;
} */




.tour-page .tour-wrapper .tour-itinerary .map-routes:not(:has(.tns-slider)) .slider-arrows {
    display: none;
}

.tour-page .tour-wrapper .tour-itinerary+div {
    margin-top: 60px;
}

.tour-page .tour-wrapper .tour-itinerary .map-wrapper {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0px 5px 49px 0 rgba(0, 0, 0, 0.05);
}

.tour-page .tour-wrapper .tour-itinerary .map-wrapper #map {
    widtH: 740px;
    height: 400px;
    overflow: hidden;
    box-shadow: 0px 5px 49px 0 rgba(0, 0, 0, 0.05);
}

.tour-page .tour-wrapper .tour-itinerary img {
    width: 100%;
    object-fit: contain;
    height: unset;
}

.tour-page .tour-wrapper .tour-itinerary .map-routes{
    padding-inline:20px
}

.tour-page .tour-wrapper .tour-itinerary .routes-filter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 23px 0px 0px;
    gap: 15px;
}

.tour-page .tour-wrapper .tour-itinerary .routes-filter span {
    font-size: 1.5rem;
    font-weight: normal;
    line-height: 1.42;
    letter-spacing: -0.24px;
    color: #373e37;
}

.tour-page .tour-wrapper .tour-itinerary .routes-filter .routes-picker {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tour-page .tour-wrapper .tour-itinerary .routes-filter .routes-picker a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #373e37;
    padding: 7px 20px;
    border-radius: 50px;
    border: 1px solid rgba(55, 62, 55, 0.2);
    transition: var(--transition);
}

.tour-page .tour-wrapper .tour-itinerary .routes-filter .routes-picker a:hover,
.tour-page .tour-wrapper .tour-itinerary .routes-filter .routes-picker a.selected {
    border-color: #373e37;
}


.tour-page .tour-wrapper .tour-itinerary .routes-slider-wrapper {
    padding: 27px 40px 95px;
    position: relative;
}

.tour-page .tour-wrapper .tour-itinerary .routes-slider-wrapper .tns-nav {
    position: absolute;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 2;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: auto;
}

.tour-page .tour-wrapper .tour-itinerary .routes-slider-wrapper .tns-nav button {
    position: relative;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    background-color: transparent;
    height: 20px;
    width: 20px;
    z-index: 1;
}

.tour-page .tour-wrapper .tour-itinerary .routes-slider-wrapper .tns-nav button::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 5px;
    height: 5px;
    background-color: var(--primary);
    border-radius: 100%;
    transition: var(--transition);
}

.tour-page .tour-wrapper .tour-itinerary .routes-slider-wrapper .tns-nav button.tns-nav-active::before {
    height: 9px;
    width: 9px;
}

.tour-page .tour-wrapper .tour-itinerary .routes-slider:not(.tns-slider) {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    justify-content: center;
}

.tour-page .tour-wrapper .tour-itinerary .routes-slider:not(.tns-slider)>.slide {
    flex-basis: 25%;
    min-width: 25%;
}

.tour-page .tour-wrapper .tour-itinerary .routes-slider .slide {
    position: relative;
    padding: 0 15px;
}

.tour-page .tour-wrapper .tour-itinerary .routes-slider .slide::before,
.tour-page .tour-wrapper .tour-itinerary .routes-slider .slide::after {
    content: "";
    position: absolute;
    top: 12px;
    left: 0;
    height: 1px;
    width: 50%;
    background-image: linear-gradient(to right, var(--secondary) 20%, transparent 0%);
    background-position: bottom;
    background-size: 7px 1px;
    background-repeat: repeat-x;
}

.tour-page .tour-wrapper .tour-itinerary .routes-slider .slide::after {
    right: 0;
    left: auto;
}

/* .tour-page .tour-wrapper .tour-itinerary .routes-slider .slide:nth-child(4):after {
    display: none;
} */

.tour-page .tour-wrapper .tour-itinerary .routes-slider .slide.last::after,
.tour-page .tour-wrapper .tour-itinerary .routes-slider .slide.first::before {
    display: none;
}

.tour-page .tour-wrapper .tour-itinerary .routes-slider .slide:first-child::before,
.tour-page .tour-wrapper .tour-itinerary .routes-slider .slide:last-child::after {
    content: normal;
}

.tour-page .tour-wrapper .tour-itinerary .routes-slider .slide span {
    position: relative;
    display: block;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.43;
    letter-spacing: normal;
    text-align: center;
    color: var(--secondary);
}

.tour-page .tour-wrapper .tour-itinerary .routes-slider .slide span:first-child {
    width: 25px;
    height: 25px;
    margin: 0 auto 5px;
    background-color: var(--secondary);
    border-radius: 100%;
    color: white;
    font-size: 0.906rem;
    font-weight: normal;
    line-height: 25px;
    z-index: 9;
}

.tour-page .tour-wrapper .tour-itinerary .slider-arrows {
    opacity: 1;
    align-items: flex-start;
}

.tour-page .tour-wrapper .tour-itinerary .slider-arrows>div {
    background-color: transparent;
    margin: 28px 10px;
    width: 25px;
    height: 25px;
    transition: var(--transition);
}

.tour-page .tour-wrapper .tour-itinerary .slider-arrows>div[aria-disabled=true] {
    opacity: 0.25;
    pointer-events: none;
}

.tour-page .tour-wrapper .tour-itinerary .slider-arrows>div::before {
    background-color: var(--primary);
    width: 13px;
    height: 25px;
    mask-image: url(/assets/img/svg/tour-slider-caret.svg);
    -webkit-mask-image: url(/assets/img/svg/tour-slider-caret.svg);
}

.tour-page .tour-wrapper .tour-itinerary #map {
    width: 100%;
    min-height: 400px;
    aspect-ratio: 740 / 400;
}

.tour-page .tour-wrapper .tour-itinerary .map-coordinates {
    display: none;
}

.tour-page .listing .article.tour-step {
    padding: 0;
}

.tour-page .listing .article.tour-step.accomodation>div:first-child>div {
    background-color: rgba(229, 240, 209, 0.3);
    border-radius: 10px;
}

.tour-page .map-tooltip-fullscreen .listing-items .img-wrapper,
.tour-page .listing .article.tour-step div .img-wrapper {
    border-radius: 10px;
    overflow: hidden;
    display: block;
    max-width: 228px;
    width: 100%;
    flex: 1;
}

.tour-page .map-tooltip-fullscreen .listing-items>div div:not(.img-wrapper),
.tour-page .listing .article.tour-step div>div:not(.img-wrapper) {
    flex: 1;

}

.tour-page .map-tooltip-fullscreen .listing-items .img-wrapper img,
.tour-page .listing .article.tour-step div .img-wrapper img {
    margin: 0;
}

.tour-page .listing .article.tour-step:not(:last-child) div:first-child::before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 0;
    left: 12px;
    width: 2px;
    background-image: linear-gradient(var(--secondary) 20%, transparent 0%);
    background-position: right;
    background-size: 2px 12px;
    background-repeat: repeat-y;
    transform: translateY(14px);
}



.tour-page .map-tooltip-fullscreen .listing-items>div>div:first-child,
.tour-page .listing .article.tour-step>div:first-child {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
}
.tour-page .map-tooltip-fullscreen .listing-items>div>div:first-child>div>div,
.tour-page .map-tooltip-fullscreen .listing-items>div>div:first-child>div,
.tour-page .listing .article.tour-step>div:first-child>div {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 20px;
}
.tour-page .map-tooltip-fullscreen .listing-items>div>div:first-child>div>div,
.tour-page .map-tooltip-fullscreen .listing-items>div>div:first-child>div{
    padding: 0;
}
.tour-page .map-tooltip-fullscreen .listing-items .pin,
.tour-page .listing .article.tour-step .pin {
    position: relative;
    display: block;
    max-width: 27px;
    min-width: 27px;
    font-size: 0.906rem;
    font-weight: 500;
    color: white;
    line-height: 25px;
    text-align: center;
    padding-top: 20px;
}

.tour-page .map-tooltip-fullscreen .listing-items .pin .step-number,
.tour-page .map-tooltip-fullscreen .listing-items .pin>span,
.tour-page .listing .article.tour-step .pin .step-number,
.tour-page .listing .article.tour-step .pin>span {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
}


.tour-page .map-tooltip-fullscreen .listing-items .pin,
.tour-page .listing .article.tour-step:first-of-type>div:first-child>div,
.tour-page .listing .article.tour-step:first-of-type .pin {
    padding-top: 0;
}

.tour-page .map-tooltip-fullscreen .listing-items .pin>span,
.tour-page .map-tooltip-fullscreen .listing-items .pin .step-number,
.tour-page .listing .article.tour-step:first-of-type .pin .step-number,
.tour-page .listing .article.tour-step:first-of-type .pin>span {
    top: 0;
}

.tour-page .map-tooltip-fullscreen .listing-items p,
.tour-page .listing .article.tour-step p {
    margin: 0 0 6px 0;
}

.tour-page .map-tooltip-fullscreen .listing-items p.tour-step-title,
.tour-page .listing .article.tour-step p.tour-step-title {
    font-size: 1.5rem;
    font-weight: normal;
    line-height: 1.25;
    letter-spacing: -0.24px;
}

.tour-page .map-tooltip-fullscreen .listing-items p.tour-step-title+p,
.tour-page .listing .article.tour-step p.tour-step-title+p {
    margin-top: 0;
}

.tour-page .map-tooltip-fullscreen .listing-items .accomodation-link,
.tour-page .listing .article.tour-step a.accomodation-link {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.43;
    letter-spacing: 0.7px;
    color: var(--primary);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 11px;
}
.tour-page .map-tooltip-fullscreen .listing-items .accomodation-link::after,
.tour-page .listing .article.tour-step a.accomodation-link::after {
    content: "";
    -webkit-mask-image: url(/assets/img/svg/button-arrow.svg);
    mask-image: url(/assets/img/svg/button-arrow.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: var(--primary);
    width: 19px;
    height: 13px;
    display: inline-block;
    transition: var(--transition);
}
.tour-page .map-tooltip-fullscreen .listing-items .accomodation-link:hover::after,
.tour-page .listing .article.tour-step a.accomodation-link:hover::after {
    transform: translateX(5px);
}

.tour-page .template-module .tour-description.condition .included ul li::before {
    height: 13px;
    -webkit-mask-image: url(/assets/img/tour/check.svg);
    mask-image: url(/assets/img/tour/check.svg);
}

.tour-page .template-module .tour-description.condition .not-included ul li::before {
    height: 14px;
    -webkit-mask-image: url(/assets/img/tour/x.svg);
    mask-image: url(/assets/img/tour/x.svg);
    background-color: #e25c33;
}



.tour-page .tour-wrapper .tour-setup-wrapper {
    max-width: 380px;
    width: 100%;
}

.tour-page .tour-wrapper .tour-setup {
    padding: 40px 30px;
    box-shadow: 0px 10px 20px 0 rgba(0, 0, 0, 0.05);
    background: white;
    margin-top: 0;
    border-radius: 30px
}

.tour-page .tour-wrapper .tour-setup .form-type-picker {
    display: flex;
    gap: 10px;
}




@media(max-width:767px){
    .tour-page .tour-wrapper .tour-itinerary .map-routes{
        padding-inline:0px
    }
    .tour-page .tour-wrapper .tour-itinerary .map-routes .routes-filter{
        padding-inline:20px
    }

    .tour-page .listing .article.tour-step div .img-wrapper{
        max-width: 100%;
    }
}



/****************************/
/********** RADIO ***********/
/****************************/

.radio-wrapper {
    display: flex;
    align-items: center;
}

input[type=radio] {
    display: none;
}

input[type=radio]+label::before {
    content: "" !important;
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 100%;
}

input[type=radio]:checked+label::before {
    content: "";
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 100%;
}


input[type=radio]+label {
    display: inline-block;
    position: relative;
    margin: 0;
    width: 21px;
    min-width: 21px;
    height: 21px;
    background-color: white;
    border: 1px solid #d9d8d8;
    cursor: pointer;
    border-radius: 100%;
    transition: var(--transition);
    top: unset;
    left: unset;
    pointer-events: all;
}

input[type=radio]+label+label {
    position: relative;
    margin-left: 5px;
    margin-block: auto;
    cursor: pointer;
    font-size: 1rem;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    text-align: left;
    color: #373e37;
    top: unset;
    left: unset;
    pointer-events: all;
}


input[type=radio]:checked+label {
    border: 6px solid var(--primary);
    border-color: var(--primary);
    background-color: white;
}

.tour-page .tour-wrapper .option {
    width: calc(50% - 5px);
    border-radius: 15px;
    border: solid 2px #f0f0f0;
    padding: 15px 11px;
    cursor: pointer;
    transition: var(--transition);
}

.tour-page .tour-wrapper .option:hover{
    border: solid 2px #d8d8d8;
}

.tour-page .tour-wrapper .option:has(:checked) {
    border: solid 2px var(--primary);
}

.tour-page .tour-wrapper .option .filter-option {
    position: relative;
    display: flex;
    flex-direction: column;
}

.tour-page .tour-wrapper .radio-wrapper>img {
    max-width: 17px;
    margin-left: auto;
}

.tour-page .tour-wrapper .tour-setup .value-container {
    font-size: 1.469rem;
    font-weight: normal;
    letter-spacing: normal;
    text-align: center;
    color: #1d1714;
    padding: 30px 0 26px;
    border-bottom: 2px solid rgba(240, 240, 240, 0.6);
}

.tour-page .tour-wrapper .tour-setup .value-container > div {
    display: flex;
    gap: 10px;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: left;
    line-height: 1.33;
}



.tour-page .tour-wrapper .tour-setup .value-container small {
    margin-top: 0;
    line-height: 1;
    font-size: 11.5px;
    font-weight: 300;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.52;
    letter-spacing: normal;
    color: #8c8c8c;
    text-align: left;
    display: block;
    flex:100%;
}

.tour-page .tour-wrapper .tour-setup .tour-setup-details {
    display: flex;
    flex-direction: column;
    margin-top: 18px;
    gap: 10px;
}

.tour-page .tour-wrapper .tour-setup .tour-setup-details>div {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: normal;
    color: #656565;
    align-items: flex-start;
}

.tour-page .tour-wrapper .tour-setup .tour-setup-details>div>div {
    display: flex;
    gap: 13px;
    align-items: center;
    text-align: right;
}

.tour-page .tour-wrapper .tour-setup .tour-setup-details>div>div.destination:has( br + br){
    line-height: 1.64;
}

.tour-page .tour-wrapper .tour-setup .tour-setup-details > div > div > img {
    max-width: 22px;
    object-fit: contain;
}

.tour-page .tour-wrapper .tour-setup .tour-setup-details > div.duration > div > img {
    max-width: 19px;
}

.tour-page .tour-wrapper .tour-setup>.input-wrapper {
    margin-top: 25px;
}




/* .tour-page .tour-wrapper .tour-setup .filter-container .custom-select.has-reset .placeholder>div.reset::before {
    left: 15px;
} */




.tour-page .tour-wrapper .tour-setup .guest-input {
    background: #fff;
    padding: 14px 45px 14px 23px;
    border-radius: 27.5px;
    border: solid 2px #f0f0f0;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    text-align: left;
    color: #373e37;
    font-weight: 300;
    position: relative;
    text-overflow: ellipsis;
}

.tour-page .tour-wrapper .tour-setup .input-wrapper:has(.custom-input)::before,
.tour-page .tour-wrapper .tour-setup .input-wrapper:has(.guest-input)::before {
    content: "";
    -webkit-mask-image: url(/assets/img/tour/icon-guest.svg);
    -webkit-mask-repeat: no-repeat;
    mask-image: url(/assets/img/tour/icon-guest.svg);
    mask-repeat: no-repeat;
    mask-size: contain;
    background-color: #656565;
    transition: var(--transition);
    cursor: pointer;
    width: 21px;
    height: 22px;
    position: absolute;
    right: 21px;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 1;
    pointer-events: none;
}

.tour-setup .input-wrapper:has(.custom-input)::before {
    -webkit-mask-image: url(/assets/img/tour/icon-calendar.svg);
    mask-image: url(/assets/img/tour/icon-calendar.svg);
}

.tour-page .tour-wrapper .tour-setup .guest-dropdown {
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0px 10px 29px 0 #0000001a;
    padding: 30px 19px;
    /* display: none; */
    z-index: 10;
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
}

.tour-page .tour-wrapper .tour-setup .guest-row {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.tour-page .tour-wrapper .tour-setup .guest-row .info {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: normal;
    color: #373e37;
}

.tour-page .tour-wrapper .tour-setup .info small {
    font-size: 0.75rem;
    color: #bfbfbf;
    margin: 3px 0 0 0;
}

.tour-page .tour-wrapper .tour-setup .controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tour-page .tour-wrapper .tour-setup button.minus,
.tour-page .tour-wrapper .tour-setup button.plus {
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #aeadad;
    font-size: 1rem;
    cursor: pointer;
    line-height: 1.2;
    font-weight: bold;
    color: #aeadad;
    transition: var(--transition);
    padding: 0;
    align-items: center;
    justify-content: center;
    display: flex;
}

.tour-page .tour-wrapper .tour-setup button.minus.disabled,
.tour-page .tour-wrapper .tour-setup button.plus.disabled {
    opacity: 0.35;
    pointer-events: none;
}

.tour-page .tour-wrapper .tour-setup .count {
    min-width: 20px;
    text-align: center;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: normal;
    text-align: center;
    color: #373e37;
}

.tour-page .tour-wrapper .tour-setup .apply-btn {
    width: 100%;
    margin-top: 15px;
    padding: 15px 0;
    background: #b5c97a;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.43;
    letter-spacing: 0.7px;
    cursor: pointer;
    justify-content: center;
}

.tour-page .tour-wrapper .tour-setup>.input-wrapper:not(.filled) input:focus+label {
    position: absolute;
    left: 22px;
    top: 14px;
    transition: var(--transition);
    z-index: 2;
    font-size: 1rem;
    line-height: 1.75;
    text-align: left;
    color: #373e37;
    opacity: 1;
    padding: 0;
    font-weight: 300;
}

@media(min-width: 992px) {
    .tour-page .tour-wrapper .tour-setup button.minus:hover,
    .tour-page .tour-wrapper .tour-setup button.plus:hover {
        border: 1px solid #373e37;
        color: #373e37;
    }
}

.custom-input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1px solid #ccc;
    border-radius: 25px;
    font-size: 16px;
    background-color: #fff;
    cursor: pointer;
}

.icon-calendar {
    position: absolute;
    right: 19px;
    top: 50%;
    -webkit-mask-image: url(/assets/img/tour/icon-calendar.svg);
    mask-image: url(/assets/img/tour/icon-calendar.svg);
    transform: translateY(-50%);
    width: 19px;
    height: 19px;
    background-size: contain;
    pointer-events: none;

}

.icon-calendar::before {
    content: "";
    position: absolute;
    -webkit-mask-image: url(/assets/img/tour/icon-calendar.svg);
    mask-image: url(/assets/img/tour/icon-calendar.svg);
    width: 19px;
    height: 19px;
    background-size: contain;
    pointer-events: none;
    background-color: #373e37;
}

.calendar-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
    padding: 10px;
}

.calendar-dropdown.open {
    visibility: visible;
    opacity: 1;
}

/* .input-wrapper input.custom-input {
    font-size: 1rem;
    text-align: left;
    color: #373e37;
    font-weight: 300;
    padding: 14px 45px 14px 23px;
    text-overflow: ellipsis;
} */

.input-wrapper:has(input.custom-input) {
    transition: var(--transition);
}

.input-wrapper:has(input.custom-input.disabled) {
    opacity: 0.5;
    pointer-events: none;
}

.form .checkbox-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
}

.form .checkbox-wrapper p {
    margin: 0;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.38;
    letter-spacing: normal;
    text-align: left;
    color: #373e37;
}

.form input[type=checkbox],
.form input[type=radio] {
    display: none;
    visibility: hidden;
}



.tour-page .tour-wrapper .tour-setup .input-wrapper.not-filled:has( .warning) {
    margin-bottom: 40px;
}

.tour-page .tour-wrapper .tour-setup .extraGap > .input-wrapper.not-filled:has( .warning) {
    margin-bottom: 20px;
}



/*********************************************/
/********** CALENDAR (FullCalendar) **********/
/*********************************************/

#calendar {
    width: 300px;
    max-width: 100%;
    margin: 0 auto;
}

#calendar .fc-toolbar-chunk {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: center;
}

#calendar .fc-toolbar-chunk .fc-button-group {
    position: absolute;
    height: 15px;
    width: 100vw;
    max-width: 260px;
    justify-content: space-between;
}

#calendar .fc-toolbar-chunk .fc-toolbar-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    color: var(--secondary);
    font-family: var(--font-family);
    letter-spacing: normal;
}

#calendar .fc-toolbar-chunk label {
    font-size: 0;
    width: 0;
    height: 0;
}

#calendar .fc-toolbar {
    position: relative;
    font-size: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

#calendar .fc-toolbar .fc-today-button {
    font-size: 12px;
    font-weight: normal;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.25em;
    display: inline-block;
    text-align: center;
    user-select: none;
    vertical-align: middle;
    margin: 0;
    text-transform: capitalize;
    color: var(--black);
    transition: var(--transition);
    opacity: 1;
}

#calendar .fc-toolbar .fc-today-button:hover {
    opacity: 0.6;
}

#calendar .fc-toolbar .fc-button-group {
    gap: 20px;
}

#calendar .fc-toolbar button.fc-next-button,
#calendar .fc-toolbar button.fc-prev-button {
    display: block;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    width: 15px;
    height: 15px;
    flex: unset;
}

#calendar .fc-toolbar button span {
    display: block;
    position: static;
    margin: 0;
    mask-image: url(/assets/img/svg/menu-arrow.svg);
    -webkit-mask-image: url(/assets/img/svg/menu-arrow.svg);
    mask-size: cover;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-color: var(--secondary);
    height: 100%;
    width: 100%;
    transition: var(--transition);
}

#calendar .fc-toolbar button span:hover {
    transform: translateX(2px);
}

#calendar .fc-toolbar .fc-toolbar-chunk button:has(.fc-icon-chevron-left) {
    transform: rotate(180deg);
}

/* #calendar * {
	border: none !important;
} */
#calendar td {
    width: auto;
    padding: 0;
    text-align: center;
    display: table-cell;
    cursor: pointer;
}


#calendar td>.fc-daygrid-day-frame {
    transition: var(--transition);
        border-radius: 100%;
            overflow: hidden;
}

#calendar td.fc-day-past {
    pointer-events: none;
    cursor: default;
}

#calendar td:not(.fc-day-past):hover>.fc-daygrid-day-frame {
    background-color: var(--whitegrey);
}

#calendar table.fc-scrollgrid tr td .fc-daygrid-day-top {
    display: block;
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--secondary);
    margin-block: 12px;
    float: none;
}

#calendar table.fc-scrollgrid tr td .fc-daygrid-day-top>a {
    pointer-events: none;
}

#calendar .fc-event-title {
    display: none;
}

#calendar .fc .fc-daygrid-body-natural .fc-daygrid-day-events {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 12px 7px 12px;
    margin: 0;
    min-height: unset;
}

#calendar .fc-daygrid-event-harness {
    height: 6px;
    min-width: 6px;
    width: 6px;
    display: block;
    margin: 0 !important;
    transition: var(--transition);
}

#calendar .fc-daygrid-event-harness:has(.hide) {
    position: absolute;
    opacity: 0;
    max-width: 0px;
    min-width: none;
    overflow: hidden;
}

#calendar .fc-event {
    display: none;
}


#calendar .fc-event .fc-event-time {
    display: none;
}

#calendar .fc-event .fc-daygrid-event-dot {
    margin: 0;
    border: 3px solid;
}

table.fc-scrollgrid .fc-col-header thead th {
    font-size: 12px;
    font-weight: normal;
    margin: 0;
    margin-bottom: 6px;
    color: var(--secondary);
}

#calendar .fc .fc-scrollgrid-section table {
    border-bottom: hidden;
}

#calendar .fc .fc-daygrid-day-frame {
    min-height: 61px;
}

#calendar .fc .fc-daygrid-day-events::after,
#calendar .fc .fc-daygrid-day-events::before {
    content: unset;
}

#calendar .fc .fc-daygrid-day-bottom {
    display: none;
}

#calendar .fc .fc-col-header-cell-cushion {
    padding: 9px 4px;
    line-height: 1;
}

#calendar table.fc-scrollgrid tbody tr {
    min-height: 3.125em;
}

#calendar .fc-theme-standard td,
#calendar .fc-theme-standard th {
    border: solid 1px #efefef;
}

#calendar .fc-theme-standard th[role=presentation] {
    border-bottom: none;
}

#calendar table.fc-scrollgrid tr td.fc-day-today {
    background: #d4d4d4;
    border-radius: 100%;
    pointer-events: none;
}


#calendar table.fc-scrollgrid tr td.fc-day-today a {
    font-weight: 500;
    pointer-events: none;
}


#calendar table.fc-scrollgrid .fc-daygrid-bg-harness {
    background: rgba(229, 240, 209, 1);
}

#calendar.fc .fc-daygrid-body-natural .fc-daygrid-day-events {
    display: none;
}

/* 
#calendar .fc-daygrid-day.fc-day-past {
    opacity: 0.4;
    pointer-events: none;
} */

#calendar .fc-col-header-cell a,
#calendar .fc-daygrid-body {
    cursor: default;
}
#calendar .fc-daygrid-day.disabled-day,
#calendar .fc-daygrid-day.fc-day-past {
    opacity: 0.3;
    pointer-events: none;

}


#calendar th,
#calendar td,
#calendar .fc-scrollgrid,
#calendar .fc-theme-standard .fc-scrollgrid,
#calendar .fc-toolbar button.fc-next-button,
#calendar .fc-toolbar button.fc-prev-button,
table.fc-scrollgrid .fc-col-header thead th,
table.fc-scrollgrid .fc-col-header,
table.fc-scrollgrid .fc-col-header thead tr {
    border: none !important;
}

@media(max-width: 767px) {

    #calendar .fc-event-details {
        position: relative;
        transform: none;
        margin: auto;
        max-width: 340px;
    }

    #calendar .fc-event-details+.fc-event-details {
        margin-top: 4px;
    }

    #calendar .fc-event-details-wrapper {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        position: fixed;
        transform: none;
        z-index: 20;
        opacity: 1;
        transition: var(--transition);
    }

    #calendar .fc-event-details-wrapper.hidden {
        pointer-events: none;
        opacity: 0;
    }

    #calendar .fc-event-details-wrapper>div {
        overflow: scroll;
        margin: auto;
        height: 100%;
        position: relative;
    }

    #calendar .fc-event-details-wrapper::after {
        content: "";
        background-color: rgba(0, 0, 0, 0.95);
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100vh;
        width: 100vw;
        z-index: 9;
    }

    #calendar .fc-event-mobile-close {
        position: absolute;
        top: 20px;
        right: 20px;
        padding: 11px;
        z-index: 11;
        cursor: pointer;
    }


    #calendar .fc-event-mobile-close::after,
    #calendar .fc-event-mobile-close::before {
        content: "";
        position: absolute;
        top: 10px;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        transform: rotate(45deg);
        background-color: #fff;
    }

    #calendar .fc-event-mobile-close::after {
        transform: rotate(-45deg);
    }

    #calendar .fc-event-mobile-date {
        position: absolute;
        top: 25px;
        left: 20px;
        color: white;
        font-size: 12px;
        font-family: var(--font-family);
        font-weight: 500;
        z-index: 12;
        text-transform: uppercase;
    }

    .calendar-wrapper {
        flex-direction: column;
        border-radius: 30px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        margin-block: 0;
        max-width: unset;
        left: 0;
        right: 0;
        bottom: 0;
        position: fixed;
        bottom: -100vh;
        background-color: var(--white);
        height: 100vh;
        transition: var(--transition);
        z-index: 4;
        justify-content: flex-start;
    }

    .calendar-wrapper.open {
        bottom: 0;
        box-shadow: rgba(0, 0, 0, 0.1) -2.8px 7.6px 67px 25px;
        z-index: 12;
    }

    .calendar-wrapper .calendar-mobile-btn {
        background-color: var(--primary);
        padding: 20px;
        position: fixed;
        bottom: 75px;
        width: 50px;
        height: 50px;
        right: 15px;
        border-radius: 100%;
        transition: none;
    }

    .calendar-wrapper.open .calendar-mobile-btn {
        background-color: var(--transparent);
        z-index: 12;
        bottom: unset;
        position: absolute;
        top: 80px;
        padding: 0px;
        display: flex;
        justify-content: center;
        align-items: center;
        right: 0px;
    }

    .calendar-wrapper .calendar-mobile-btn::before {
        content: "";
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        background-color: var(--white);
        width: 22px;
        height: 22px;
        -webkit-mask-image: url(/assets/img/svg/calendar.svg);
        mask-image: url(/assets/img/svg/calendar.svg);
        display: block;
        margin: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .calendar-wrapper.open .calendar-mobile-btn::after,
    .calendar-wrapper.open .calendar-mobile-btn::before {
        content: "";
        width: 20px;
        height: 2px;
        transform: rotate(45deg);
        background-color: #bebebe;
        z-index: 7;
        -webkit-mask-image: none;
        mask-image: none;
        position: absolute;
        right: unset;
        top: unset;
        left: unset;
        bottom: unset;
    }

    .calendar-wrapper.open .calendar-mobile-btn::after {
        transform: rotate(-45deg);
    }

    .calendar .container.has-sidebar .sidebar .calendar-wrapper {
        padding: 150px 20px 0;
        border-radius: 0;
        overflow: scroll;
    }

}

@media(max-width: 500px) {

    #calendar .fc-event {
        touch-action: none;
    }

    /* #calendar {
        width: 100%;
    } */

    #calendar .fc-event-details-wrapper>div {
        padding: 80px 20px 20px;
    }

    .calendar-dropdown{
        max-width: 300px;
    }


}



.tour-page .tour-wrapper .agency-cta {
    border-radius: 30px;
    background-color: rgba(229, 240, 209, 0.35);
    padding: 50px 30px;
    margin-top: 40px;
}

.tour-page .tour-wrapper .agency-cta .title {
    font-size: 1.469rem;
    font-weight: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: center;
    color: #1d1714;
    text-transform: none;
}

.tour-page .tour-wrapper .agency-cta p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: normal;
    text-align: center;
    color: #656565;
    margin-bottom: 0;
}

.tour-page .tour-wrapper .agency-cta .button {
    width: 100%;
    color: var(--secondary);
    justify-content: center;
    margin-top: 20px;
}

.tour-page .tour-wrapper .agency-cta .button::before {
    background-color: white;
    border: 2px solid rgba(173, 193, 139, 0.4);
}

.tour-page .tour-wrapper .agency-cta .button:hover::before {
    border: 2px solid rgba(173, 193, 139, 1);
}


.tour-page .tour-wrapper .tour-setup-wrapper .button {
    justify-content: center;
    margin-top: 30px;
    text-transform: uppercase;
    width: 100%;
}

.tour-page .tour-wrapper .tour-setup-wrapper .side-menu {
    width: 630px;
    height: 100vh;
    margin-left: auto;
    background-color: white;
    transition: var(--transition);
    padding: 46px;
    z-index: 30;
    position: relative;
    transform: translateX(110%);
    box-shadow: 0px 15px 27px 0 rgba(100, 100, 100, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    overflow: auto;
}

body:has(.side-menu.open) header::before {
    opacity: .8;
    pointer-events: auto;
    z-index: 1;
}

.tour-page .tour-wrapper .tour-setup-wrapper .side-menu.open {
    transform: translateX(0%);
}


.tour-page .tour-wrapper .tour-setup-wrapper .side-menu .close {
    display: flex;
    position: relative;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: var(--transition);
    margin-left: auto;
}

.tour-page .tour-wrapper .tour-setup-wrapper .side-menu .close span:first-child {
    transform: rotate(45deg);
}

.tour-page .tour-wrapper .tour-setup-wrapper .side-menu .close span:last-child {
    transform: rotate(-45deg);
}


.tour-page .tour-wrapper .tour-setup-wrapper .side-menu .close:hover {
    opacity: 0.6;
}

.tour-page .tour-wrapper .tour-setup-wrapper .side-menu .close span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 24px;
    height: 2px;
    background-color: var(--secondary);
    transition: inherit;
    pointer-events: none;
    transition: var(--transition);
}

.tour-page .tour-wrapper .side-menu .tour-setup {
    padding: 0;
    box-shadow: none;
    margin-top: 37px;
}

.tour-page .tour-wrapper .side-menu .tour-setup input[type=radio]+label {
    width: 25px;
    height: 25px;
}

.tour-page .tour-wrapper .side-menu .tour-setup input[type=radio]:checked+label {
    border: 8px solid var(--primary);
}

.tour-page .tour-wrapper .side-menu .tour-setup input[type=radio]+label+label {
    font-size: 1.25rem;
    margin-left: 12px;
    /* pointer-events: none; */
}

.tour-page .tour-wrapper .side-menu .radio-wrapper>img {
    max-width: 19px;
}

.tour-page .tour-wrapper .side-menu .option {
    padding: 19px 22px;
}

.tour-page .tour-wrapper .side-menu .input-wrapper:has(textarea) {
    margin: 0;
}

.tour-page .tour-wrapper .side-menu .tour-setup .row {
    margin: 30px 0 0 0;
}

.tour-page .required-fields {
    font-size: 0.688rem;
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: normal;
    text-align: left;
    color: #373e37;
    margin-top: 25px;
    display: block;
}

.tour-page .tour-wrapper .side-menu .form .input-wrapper input,
.tour-page .tour-wrapper .side-menu .form .input-wrapper textarea {
    padding: 14px 22px;
}


/****************************/
/***********INPUTS***********/
/****************************/

.form .input {
    position: relative;
}

.form .input-wrapper input,
.form .input-wrapper textarea {
    padding: 13.5px 22px 14.5px;
    border-radius: 30px;
    border: solid 2px #f0f0f0;
    position: relative;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.43;
    width: 100%;
    font-family: var(--font-family);
    transition: var(--transition);
}

.form .input-wrapper {
    transition: var(--transition);
}

.form .input-wrapper:has(input.disabled) {
    opacity: 0.3;
    pointer-events: none;
}


.form .input-wrapper input:focus,
.form .input-wrapper textarea:focus,
.form .filter-wrapper.ifilled .custom-select .placeholder {
    border: 2px solid var(--primary);
}

.form .select-wrapper.tours .custom-select .reset {
    right: 20px;
}

.form .filter-wrapper .options>div {
    padding: 5px 0;
}

.form textarea.not-filled,
.form select.not-filled,
.form .select-wrapper:has(select.not-filled) .placeholder,
.form input[type="checkbox"].not-filled+label,
.form input:not([type="checkbox"],
    [type="file"]).not-filled {
    border-color: var(--warning) !important;
}

.form .warning {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--warning);
    height: 20px;
    margin: 0;
    margin-top: 3px;
    padding-left: 20px;
    position: absolute;
    bottom: -25px;
}

.input-wrapper.filled textarea,
.input-wrapper.filled input,
.input-wrapper.filled .custom-select .placeholder {
    border-color: var(--primary) !important;
}


.tour-page input:focus+label,
.tour-page textarea:focus+label,
.tour-page .input-wrapper.filled label,
.tour-page .input-wrapper.filled input:focus+label,
.tour-page .input-wrapper.filled textarea:focus+label,
.tour-page .input-wrapper.filled input:not(:focus)+label,
.tour-page .filter-container .input-wrapper:has(.isSelected)+label,
.tour-page .input-wrapper.filled textarea:not(:focus)+label {
    background: white;
}

.tour-page .tour-wrapper .side-menu .form .footer-note {
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.43;
    letter-spacing: normal;
    text-align: center;
    color: #8d8e8d;
    margin: 45px 0 0;
}

.tour-page .title {
    font-size: 2.5rem;
    font-weight: normal;
    line-height: 1.25;
    letter-spacing: -0.4px;
    text-align: center;
    color: var(--secondary);
    text-transform: uppercase;
}

.related-tours .card-wrapper {
    margin-top: 45px;
}

.related-tours .card-wrapper>div {
    display: flex;
}


.related-tours>.container {
    max-width: 1260px;
}



/************************************/
/********** MEMBER REVIEWS **********/
/************************************/

.reviews {
    padding: 70px 0 20px;
    margin-top: 70px;
    margin-bottom: 0px;
    background-color: rgba(246, 241, 232, 0.5);
}

.reviews .container {
    max-width: 1260px;
}


@media(min-width: 992px) {
    .reviews {
        padding-bottom: 50px;
        margin-top: 100px;
    }
}


/********** MEMBER REVIEWS STARS **********/

.reviews .stars-wrapper .stars {
    mask-image: url(/assets/img/tour/star.svg);
    -webkit-mask-image: url(/assets/img/tour/star.svg);
    mask-repeat: space;
    -webkit-mask-repeat: space;
    background-color: #d9d8ce;
    height: 20px;
    width: 124px;
}

.reviews .stars-wrapper .stars>span {
    display: block;
    width: 0;
    height: 100%;
    background-color: var(--primary);
}

.reviews .stars-wrapper>span {
    display: block;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary);
    line-height: 1;
    text-align: center;
    margin-top: 27px;
}

.reviews.empty .stars-wrapper>span {
    color: var(--grey);
    line-height: 1.5;
}

.reviews .container>.row>div:first-child .stars-wrapper>.stars.d-none+span {
    margin-top: 0px;
}


.reviews .container>.row {
    margin: 0;
    margin-top: 55px;
}

.reviews.empty .container>.row {
    justify-content: center;
}

.reviews .container>.row>div {
    padding: 0;
}

.reviews .container>.row>div:first-child {
    width: 100%;
    margin-bottom: 60px;
}

.reviews.empty .container>.row>div:first-child {
    margin: 0;
}

.reviews.empty .container>.row>div:first-child .stars-wrapper+ul,
.reviews.empty .container>.row>div:first-child .stars-wrapper,
.reviews.empty .container>.row>div:first-child .classification-number,
.reviews.empty .container>.row>div:last-child {
    display: none;
}

.reviews .container>.row .no-review {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: center;
    color: var(--secondary);
    margin-top: 0;
    display: none;
}

.reviews.empty .container>.row .no-review {
    display: block;
}

.reviews .container>.row>div:first-child .classification-number {
    font-size: 2.188rem;
    font-weight: normal;
    line-height: 1;
    letter-spacing: -0.35px;
    color: var(--secondary);
    text-align: center;
    margin: 0;
    margin-bottom: 15px;
    display: block;
}

.reviews .container>.row>div:first-child .stars-wrapper {
    width: 100%;
    margin-bottom: 40px;
}

.reviews .container>.row>div:first-child .stars-wrapper .stars {
    width: 240px;
    height: 40px;
    margin: 0 auto;
}

.reviews .container>.row>div:first-child .stars-wrapper+ul {
    margin: 0;
    padding: 0 6px;
    list-style: none;
}

.reviews .container>.row>div:first-child .stars-wrapper+ul li {
    position: relative;
    padding-left: 55px;
    font-size: 1rem;
    font-weight: normal;
    color: var(--secondary);
    line-height: 20px;
}

.reviews .container>.row>div:first-child .stars-wrapper+ul li::before {
    content: normal;
}

.reviews .container>.row>div:first-child .stars-wrapper+ul li+li {
    margin-top: 10px;
}

.reviews .container>.row>div:first-child .stars-wrapper+ul li>span {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(1em + 20px);
    padding-right: 20px;
}

.reviews .container>.row>div:first-child .stars-wrapper+ul li>span::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    mask-image: url(/assets/img/tour/star.svg);
    -webkit-mask-image: url(/assets/img/tour/star.svg);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-color: var(--primary);
}

.reviews .container>.row>div:first-child .stars-wrapper+ul li>.rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: right;
    width: 20px;
    gap: 12px;
}

.reviews .container>.row>div:first-child .stars-wrapper+ul li>.rating::before {
    content: "";
    height: 10px;
    background-color: var(--primary);
    vertical-align: middle;
    max-width: calc(100% - 1.5em);
    flex: 1;
    min-width: 2px;
}


.reviews .container>.row>div:first-child .button {
    width: 100%;
    margin-top: 40px;
    text-align: center;
    justify-content: center;
}

/********** MEMBER REVIEWS LISTING **********/

.reviews .listing {
    display: flex;
    flex-direction: column;
}

.reviews .listing .listing-items {
    margin-bottom: 40px;
}

.reviews .listing .review p {
    margin-bottom: 1em;
    margin-top: 35px;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.19px;
    color: var(--secondary);
    margin-bottom: 14px;
}

.reviews .listing .review+.review {
    margin-top: 60px;
}

.reviews .button-wrapper {
    width: 100%;
    margin-top: 45px;
    justify-content: center;
    display: flex;
}

.reviews .listing .review p+p {
    margin: 0;
    font-size: max(13px, .875rem);
    font-weight: 500;
    line-height: 1;
    color: var(--secondary);
}

.reviews .listing .review p+p span {
    font-weight: 300;
    color: #ababab;
    padding-right: .25em;
}


.reviews .listing .review .img-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.reviews .listing .review .img-wrapper img {
    max-height: 160px;
    width: unset;
    object-fit: contain;
    margin: 0;
    cursor: pointer;
}

.reviews .listing .review .img-wrapper img.fullscreen {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    max-height: 80vw;
    max-width: 80vw;
    z-index: 15;
    pointer-events: none;
}

.reviews .listing .fullscreen-tools {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 14;
    opacity: 0;
    pointer-events: none;
    isolation: isolate;
}

.reviews .listing .fullscreen-tools.show {
    opacity: 1;
    pointer-events: all;
}

.reviews .listing .fullscreen-tools.show::before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: block;
}

.reviews .listing .fullscreen-tools .close {
    height: 30px;
    width: 30px;
    position: fixed;
    top: 50px;
    right: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.reviews .listing .fullscreen-tools .close:hover {
    transform: scale(1.05);

}

.reviews .listing .fullscreen-tools .close::after,
.reviews .listing .fullscreen-tools .close::before {
    content: "";
    height: 2px;
    width: 30px;
    background-color: white;
    display: block;
}

.reviews .listing .fullscreen-tools .close::before {
    transform: rotate(45deg) translate(1px, 1px);
}

.reviews .listing .fullscreen-tools .close::after {
    transform: rotate(-45deg);
}


.reviews .listing .listing-pagination {
    margin-top: auto;
}


@media(min-width: 768px) {

    .reviews.empty .container>.row {
        margin-top: 50px;
    }

    .reviews .container>.row>div:first-child {
        width: 250px;
        margin: 0;
        margin-right: 100px;
    }

    .reviews.empty .container>.row>div:first-child {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .reviews.empty .container>.row>div:first-child .button {
        max-width: 240px;
    }

    .reviews.empty .container>.row>div:first-child .button {
        margin-top: 30px;
    }

    .reviews .listing .listing-items {
        margin-bottom: 50px;
    }
}

@media(min-width: 992px) {

    .reviews .listing .listing-items {
        margin-bottom: 60px;
    }
}

/********** MEMBER REVIEWS LISTING CONTROLS **********/

.reviews .listing .listing-items>* .controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
}

.reviews .listing .controls .delete {
    width: 16px;
    height: 17px;
    background-image: url(/assets/img/delete.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: .5;
    transition: var(--transition);
    cursor: pointer;
}

.reviews .listing .delete:hover,
.reviews .listing .delete:focus {
    opacity: 1;
}


/********** MEMBER REVIEWS FORM **********/

.reviews .listing .review.rating-form {
    padding: 40px;
    background-color: #ffffff;
    border-radius: 10px;
}

.reviews .listing .review.rating-form.hidden {
    visibility: hidden;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    margin-bottom: -60px;
}

.reviews .listing .review.rating-form .form {
    margin: 0;
}


.reviews .listing .review.rating-form .form .rating {
    display: flex;
    flex-direction: row-reverse;
    width: 255px;
}

.reviews .listing .review.rating-form .form>.row>div>label {
    font-size: 0.875rem;
    color: var(--secondary);
    margin-bottom: 15px;
    display: block;
    position: relative;
    left: 0;
    top: 0;
}

.reviews .listing .review.rating-form .form .rating:not(:checked)>input {
    margin: 0;
}

.reviews .listing .review.rating-form .form .rating:not(:checked)>label {
    content: "";
    margin-right: 11px;
    position: relative;
    display: inline-block;
    width: 40px;
    height: 41px;
    -webkit-mask-image: url(/assets/img/tour/star.svg);
    mask-image: url(/assets/img/tour/star.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-size: contain;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    opacity: .3;
    background-color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.reviews .listing .review.rating-form .form .rating:hover>label,
.reviews .listing .review.rating-form .form .rating:hover>input:checked~label {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    opacity: .3;
}

.reviews .listing .review.rating-form .form .rating>input:checked~label {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    opacity: 1;
}

.reviews .listing .review.rating-form .form .rating:not(:checked)>label:hover,
.reviews .listing .review.rating-form .form .rating:not(:checked)>label:hover~label {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    opacity: .8;
}

.reviews .listing .review.rating-form .form .rating>input:checked+label:hover,
.reviews .listing .review.rating-form .form .rating>input:checked+label:hover~label,
.reviews .listing .review.rating-form .form .rating>input:checked~label:hover,
.reviews .listing .review.rating-form .form .rating>input:checked~label:hover~label,
.reviews .listing .review.rating-form .form .rating>label:hover~input:checked~label {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    opacity: .6;
}

.reviews .listing .review.rating-form .stars-wrapper {
    width: 240px;
}

.reviews .listing .review.rating-form .stars-wrapper .stars {
    display: inline-block;
    width: 42px;
    height: 40px;
    cursor: pointer;
}

.reviews .listing .review.rating-form .stars-wrapper .stars span {
    width: 100%;
}

.reviews .listing .review.rating-form .stars-wrapper:hover .stars span {
    width: 100% !important;
}

.reviews .listing .review.rating-form .stars-wrapper .stars:hover~.stars span {
    width: 0 !important;
}

.reviews .listing .review.rating-form .stars-wrapper .stars+.stars {
    margin-left: 7px;
}

.reviews .listing .review.rating-form .stars-wrapper input[data-type='rating'] {
    display: none;
}

.reviews .listing .review.rating-form .stars-wrapper input[data-type='rating'][value="1"]~.stars:nth-of-type(2) span,
.reviews .listing .review.rating-form .stars-wrapper input[data-type='rating'][value="1"]~.stars:nth-of-type(3) span,
.reviews .listing .review.rating-form .stars-wrapper input[data-type='rating'][value="1"]~.stars:nth-of-type(4) span,
.reviews .listing .review.rating-form .stars-wrapper input[data-type='rating'][value="1"]~.stars:nth-of-type(5) span,
.reviews .listing .review.rating-form .stars-wrapper input[data-type='rating'][value="2"]~.stars:nth-of-type(3) span,
.reviews .listing .review.rating-form .stars-wrapper input[data-type='rating'][value="2"]~.stars:nth-of-type(4) span,
.reviews .listing .review.rating-form .stars-wrapper input[data-type='rating'][value="2"]~.stars:nth-of-type(5) span,
.reviews .listing .review.rating-form .stars-wrapper input[data-type='rating'][value="3"]~.stars:nth-of-type(4) span,
.reviews .listing .review.rating-form .stars-wrapper input[data-type='rating'][value="3"]~.stars:nth-of-type(5) span,
.reviews .listing .review.rating-form .stars-wrapper input[data-type='rating'][value="4"]~.stars:nth-of-type(5) span {
    width: 0;
}


.tour-page .tour-wrapper .tour-setup-wrapper .mobile-button-wrapper {
    display: none;
    padding: 10px 20px;
}

.tour-page .tour-wrapper .tour-setup-wrapper .mobile-button-wrapper .button {
    margin: 0;
    width: 100%;
}


.tour-page footer {
    margin-top: 0;
    padding-top: 80px;
    background-color: rgba(246, 241, 232, 0.5);
}

.tour-page .reviews + footer{
    padding-top: 30px;
}



@media(max-width: 991px) {

    .tour-page footer {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .reviews .listing .listing-items {
        margin-bottom: 0px;
    }

    .related-tours {
        margin-top: 40px;
    }

    .tour-page .title {
        font-size: 1.846rem;
        font-weight: normal;
        letter-spacing: -0.24px;
    }

    .related-tours .card-wrapper {
        gap: 0;
        padding-bottom: 30px;
        margin: 23px 0 0 0;
    }

    .related-tours .card-wrapper .card {
        max-width: unset;
        min-width: unset;
        height: 100%;
        border-radius: 20px
    }

    .related-tours .container {
        padding: 0;
    }

    .reviews .container>.row {
        margin-top: 20px;
    }

    .reviews .container>.row>div:first-child .button {
        margin-top: 27px;
    }

    .reviews .listing .review.rating-form .form .rating {
        width: 210px;
    }

    .reviews .listing .input-wrapper:has(textarea) {
        width: 100%;
        max-width: 100%;
        margin-top: 0px;
    }

    .reviews .listing .review.rating-form {
        padding: 20px;
    }

    .reviews .container>.row>div:first-child {
        margin-bottom: 20px;
    }

}


@media(max-width: 767px) {

    body .banner.no-img .container ul {
        width: 100%;
    }

    .tour-page .tour-wrapper {
        margin-top: 14px;
    }

    .tour-page .template {
        margin-top: 30px;
    }

    .tour-page .tour-wrapper .tour-details .title {
        margin: 25px 0 20px;
        text-align: left;
    }

    .tour-page .tour-wrapper .tour-itinerary .map-wrapper {
        border-radius: 0;
        box-shadow: none;
        margin: 0 -20px;
    }

    .tour-page .tour-wrapper .tour-itinerary .routes-filter {
        padding: 30px 0px;
        gap: 17px;
    }

    .tour-page .tour-wrapper .tour-itinerary .routes-filter .routes-picker {
        gap: 7px;
        justify-content: center;
        flex-wrap: wrap;
        overflow: scroll;
    }

    .tour-page .tour-wrapper .tour-itinerary .routes-filter .routes-picker a {
        color: #373e37;
        padding: 3px 12px;
        white-space: nowrap;
        min-width: 65px;
        justify-content: center;
    }

    .tour-page .tour-wrapper .tour-itinerary .routes-slider-wrapper {
        padding: 0px;
    }

    .tour-page .tour-wrapper .tour-itinerary .slider-arrows {
        display: none;
    }

    .tour-page .template .listing {
        padding: 10px 0 0 0;
    }

    .tour-page .map-tooltip-fullscreen .listing-items .img-wrapper{
        max-width: 100%;
    }

    .tour-page .map-tooltip-fullscreen .listing-items>div>div:first-child,
    .tour-page .listing .article.tour-step>div:first-child {
        gap: 10px;
    }

    .tour-page .map-tooltip-fullscreen .listing-items>div>div:first-child>div,
    .tour-page .listing .article.tour-step>div:first-child>div {
        gap: 15px;
        padding: 10px;
        flex-direction: column;
    }

    .tour-page .listing .article.tour-step {
        margin-bottom: 20px;
    }

    .tour-page .map-tooltip-fullscreen .listing-items .pin,
    .tour-page .listing .article.tour-step .pin {
        padding-top: 10px;
    }

    .tour-page .map-tooltip-fullscreen .listing-items .pin .step-number,
    .tour-page .map-tooltip-fullscreen .listing-items .pin>span,
    .tour-page .listing .article.tour-step .pin .step-number,
    .tour-page .listing .article.tour-step .pin>span {
        top: 10px;
    }

    .tour-page .map-tooltip-fullscreen .listing-items p.tour-step-title,
    .tour-page .listing .article.tour-step p.tour-step-title {
        margin: 0 0 15px 0;
    }

    .tour-page .listing .article.tour-step a.accomodation-link {
        margin-top: 10px;
    }

    .tour-page .tour-wrapper .tour-details .tour-description {
        padding: 0 0 25px;
    }

    .tour-page .template .listing:has(.file) {
        margin-top: 0;
        padding-top: 50px;
    }

    .tour-page .tour-wrapper>.container {
        flex-direction: column;
        gap: 0px;
    }

    .tour-page .tour-wrapper>.container .tour-setup-wrapper>.tour-setup {
        display: none;
    }

    .tour-page .tour-wrapper .tour-setup-wrapper .side-menu {
        width: 100%;
        padding: 20px 20px 60px;
        box-shadow: none;
    }

    .tour-page .tour-wrapper .tour-setup-wrapper .mobile-button-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fbf9f6;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 20;
    }

    .tour-page .fixed-socials {
        bottom: 75px;
    }

    .reviews {
        padding: 45px 0 0;
        margin-top: 20px;
        margin-bottom: 0;
    }

    .tour-page .tour-wrapper .side-menu .tour-setup {
        margin-top: 25px;
    }

    .tour-page .tour-wrapper .side-menu .option {
        padding: 9px 10px;
    }

    .tour-page .tour-wrapper .side-menu .tour-setup input[type=radio]+label {
        width: 21px;
        height: 21px;
    }

    .tour-page .tour-wrapper .side-menu .tour-setup input[type=radio]:checked+label {
        border: 7px solid var(--primary);
    }

    .tour-page .tour-wrapper .side-menu .tour-setup input[type=radio]+label+label {
        margin-left: 5px;
    }

    .tour-page .tour-wrapper .tour-setup-wrapper .side-menu .close {
        width: 15px;
        height: 15px;
    }

    .tour-page .tour-wrapper .tour-setup-wrapper .side-menu .close span {
        width: 17px;
    }

    .tour-page .tour-wrapper .tour-setup .value-container {
        padding: 44px 0 20px;
    }

    .tour-page .tour-wrapper .tour-setup .tour-setup-details {
        margin-top: 22px;
        gap: 13px;
    }

    .tour-page .tour-wrapper .side-menu .form .input-wrapper input,
    .tour-page .tour-wrapper .side-menu .form .input-wrapper textarea {
        padding: 9px 45px 9px 22px;
        border-radius: 20px;
    }

    .tour-page .tour-wrapper .tour-setup>.input-wrapper:not(.filled) input:focus+label {
        top: 9px;
    }

    .tour-page .required-fields {
        font-size: 0.846rem;
    }

    .tour-page .tour-wrapper .tour-setup>.input-wrapper {
        margin-top: 20px;
    }

    .tour-page .tour-wrapper .form input[type=checkbox]+label {
        height: 20px;
        min-width: 20px;
    }

    .tour-page .tour-wrapper .form input[type='checkbox']+label::before {
        width: 10px;
        height: 12px;
    }

    .tour-page .banner.no-img .container .details .stars-wrapper>span {
        line-height: 0.2;
    }

    .tour-page .banner.no-img .container .details .stars-wrapper .stars {
        height: 13px;
        width: 80px;
    }

    .tour-page .tour-wrapper .tour-details .read-more-text {
        -webkit-line-clamp: 6;
        max-height: 7.5em;
    }

    .tour-page .tour-wrapper .tour-itinerary .map-wrapper #map {
        width: 100%;
        min-height: 200px;
        aspect-ratio: 320 / 219;
        height: unset;
    }

    .tour-page .tour-wrapper .agency-cta {
        padding: 30px 20px;
    }

    .tour-page .tour-wrapper .agency-cta p {
        margin-top: 21px;
    }

    .tour-page .tour-wrapper .tour-setup-wrapper .button {
        margin-top: 24px;
    }

    .reviews .container>.row>div:first-child .classification-number {
        font-size: 1.692rem; 
    }

    .reviews .container>.row>div:first-child .stars-wrapper .stars {
        width: 119px;
        height: 19px;
        margin: 0 auto;
    }

    .reviews .stars-wrapper>span {
        font-size: 1.077rem;
        margin-top: 12px;
    }

    .reviews .container>.row>div:first-child .stars-wrapper {
        margin-bottom: 24px;
    }

    .reviews .container>.row>div:first-child .stars-wrapper+ul {
        padding: 0 20px;
    }

    .reviews .stars-wrapper .stars {
        height: 15px;
        width: 94px;
    }

    .reviews .listing .review p {
        margin-top: 17px;
    }

    .tour-page .tour-wrapper .tour-setup .input-wrapper:has(.custom-input)::before,
    .tour-page .tour-wrapper .tour-setup .input-wrapper:has(.guest-input)::before {
        width: 17px;
        height: 20px;
    }

    .form .checkbox-wrapper {
        margin-bottom: 10px;
    }

    .form .checkbox-wrapper p {
        font-size: 1.077rem;
    }

    .tour-page .tour-wrapper .side-menu .form .footer-note {
        margin: 30px 0 0;
    }
    
}



.option_price, .option_quote { transition: opacity .12s ease; }
.hidden { display: none !important; opacity: 0; pointer-events: none; }
.show-flex { display: flex !important; opacity: 1; pointer-events: auto; }