:root{
    --bs-blue: rgba(var(--title))!important;

    --bs-btn-color: #000!important;
    --bs-btn-border-color: rgba(var(--title))!important;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgba(var(--title))!important;
    --bs-btn-hover-border-color: rgba(var(--title))!important;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgba(var(--title))!important;
    --bs-btn-active-border-color: rgba(var(--title))!important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
    --bs-btn-disabled-color: rgba(var(--title))!important;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: rgba(var(--title))!important;
    --bs-gradient: none;

}

.wtlm-category-box h5{
    /*width: 100px;
    height: 100px;*/
    word-break: break-word;
}

.bg-blue{
    background-color: #3b5997;
}
.bg-yellow{
    background-color: #d9c455;
}
.bg-red{
    background-color: #d14c46;
}
.bg-white{
    background-color: #fff;
}

.text-white{
    color:white!important;
}
.swiper-slide {
    width: auto;
    /*  max-height: 100px;*/
}
.swiper-slide .card {
    border: none;
    /*max-height: 100px;*/

}
/*
.wtlm-search {
    max-height: 100px;
}*/

.view-slider{
    max-height: 50%;
}

.card-body{
    background-color: #fff;

}

.notify-badge{
    position: absolute;
    /*right:-20px;*/
    top:0px;
    left:0;

    text-align: center;
    border-radius: 0px 0px 15px 0px;
    color:black;
    max-width: 50%;
    font-size:13px;
}


body{
    background-color: #f2f2f6;
}


.offcanvas.hotel-sidebar-offcanvas .offcanvas-header{
    background-color: white!important;
    background: white!important;
    color: black;
    border-radius: 0!important;
    height: auto;

}
.offcanvas-header .btn-close {
    padding: inherit;
    margin-top: inherit;
    margin-right: inherit;
    margin-bottom: inherit;
}

.sidebar-menu-list li{

    background-color: #f1f2f6;

}



.poi-name-review-section {
    position: relative;
    margin-bottom: 28px;
}


.poi-name-box{
    background: #f1f2f6!important;
    background-color: #f1f2f6!important;
    overflow: hidden;
}

.poi-name-box .notify-badge{
    padding-left: 5px;
    font-size: 10px!important;
}
.poi-name-box .poi-distance{
    color: black;
    font-size: 10px!important;
}

.poi-name-box  .poi-name{
    color: black;
}

.btn.btn-outline-primary{
    border:1px solid!important;
}


.poi-data i{
    color: var(--bs-blue);

}
.poi-data .data-value{
    color: black;
    font-size: 14px;
}

.poi-data .data-title{
    color: grey;
    font-size: 12px;
}

.poi-data li {
    background-color: white;
}

.over-the-top{
    z-index:500;
}

.leaflet-control-attribution, .leaflet-control{
    display:none;
}



.modal.fade .modal-dialog {
    transition: transform .3s ease-out;
    transform: translate(0,50px);
}
.modal-dialog {
    position: fixed !important;
    bottom: 0 !important;
    left: 0% !important;
    right: 0% !important;
    margin-bottom: 0 !important;

}

.modal.show .modal-dialog {
    transform: none;
}

.modal-content {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;

}

.hidden{
    display:none!important;
}
.toast-container {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 11;
    padding: 1rem;
}

.hotel-find-section {
    position: inherit;
    bottom: inherit;

    /* width: 100%; */
}

.top-spacer{
    padding-top: 80px;
}



.header-style-4 .top-header {
    background: #fff!important;

    z-index:9999999;

    color: #000!important;

}

.header-style-4 .top-header .left-header a i {
    color: #000!important;
}

/* Gestione timeline Trip*/
.mt-70{
    margin-top: 70px;
}

.mb-70{
    margin-bottom: 70px;
}

.vertical-timeline .card {
    box-shadow: 0 0.46875rem 2.1875rem rgba(4,9,20,0.03), 0 0.9375rem 1.40625rem rgba(4,9,20,0.03), 0 0.25rem 0.53125rem rgba(4,9,20,0.05), 0 0.125rem 0.1875rem rgba(4,9,20,0.03);
    border-width: 0;
    transition: all .2s;
}

.vertical-timeline .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(26,54,126,0.125);
    border-radius: .25rem;
}

.vertical-timeline .card-body {
    flex: 1 1 auto;
    padding: 1.25rem;
}
.vertical-timeline {
    width: 100%;
    position: relative;
    padding: 1.5rem 0 1rem;
}

.vertical-timeline .vertical-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 67px;
    height: 100%;
    width: 4px;
    background: #e9ecef;
    border-radius: .25rem;
}

.vertical-timeline .vertical-timeline-element {
    position: relative;
    margin: 0 0 1rem;
}

.vertical-timeline .vertical-timeline--animate .vertical-timeline-element-icon.bounce-in {
    visibility: visible;
    animation: cd-bounce-1 .8s;
}
.vertical-timeline .vertical-timeline-element-icon {
    position: absolute;
    top: 0;
    left: 60px;
}

.vertical-timeline .vertical-timeline-element-icon .badge-dot-xl {
    box-shadow: 0 0 0 5px #fff;
}

.vertical-timeline .badge-dot-xl {
    width: 18px;
    height: 18px;
    position: relative;
}
/*.badge:empty {
    display: none;
}*/


.vertical-timeline .badge-dot-xl::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: .25rem;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -5px 0 0 -5px;
    background: #fff;
}

.vertical-timeline .vertical-timeline-element-content {
    position: relative;
    margin-left: 90px;
    font-size: .8rem;
}

.vertical-timeline .vertical-timeline-element-content .timeline-title {
    font-size: .8rem;
    text-transform: uppercase;
    margin: 0 0 .5rem;
    padding: 2px 0 0;
    font-weight: bold;
}

.vertical-timeline .vertical-timeline-element-content .vertical-timeline-element-left {
    display: block;
    position: absolute;
    left: -100px;
    top: 0;
    padding-right: 10px;
    text-align: right;
    color: #adb5bd;
    font-size: .7619rem;
    white-space: nowrap;
}
.vertical-timeline .vertical-timeline-element-content img.vertical-timeline-element-left {
    width: 70px;

}

.vertical-timeline .vertical-timeline-element-content:after {
    content: "";
    display: table;
    clear: both;
}

.poi-distance{
    font-size: 10px !important;
}

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    overflow: hidden;
}

#lightboxContent {
    position: relative;
}

#currentImage {
    max-width: 80%;
    max-height: 80%;
    display: block;
    margin: 0 auto;
}

.hidden {
    display: none;
}

#closeLightbox {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 4px;
}

.top-element-category-image{
    /*  max-height: 15px;*/
}
.poi-name-review-section .poi-name-rate {

    position: relative!important;
}



/* Stili per il loader */
#loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    text-align: center;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db; /* Colore del loader */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.arrow-line-up {
    position: relative;
    display: inline-block;
    padding: 10px 0;
    text-decoration: none;
    color: black;
}


.arrow-line-down {
    position: relative;
    display: inline-block;
    padding: 10px 0;
    text-decoration: none;
    color: black;
}


.arrow-line-down::before {
    left: 0;
}

.arrow-line-down::after {
    right: 0;
}

.arrow-line-down .arrow {
    display: inline-block;
    position: relative;
    top: -2px;
    /* width: 0;
     height: 0;
     border-left: 5px solid transparent;
     border-right: 5px solid transparent;
     border-bottom: 10px solid;
     border-color: rgba(var(--title))!important;*/

}

.arrow-line-up::before {
    left: 0;
}

.arrow-line-up::after {
    right: 0;
}

.arrow-line-up .arrow {
    display: inline-block;
    position: relative;
    top: 0px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 10px solid;
    border-color: rgba(var(--title))!important;
}

/**{
    transition: all 0.5s ease;
}*/

.open .hidden{
    display: block!important;
}

.with-show-more{
    max-height: 57px;
    overflow: hidden;
    margin-bottom: -2px;
}
.with-show-more.open{
    max-height: 100%;
    overflow: inherit;
    margin-bottom: inherit;
}

.badge-on-image {
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 7px 6px;
    background-color: white;
    color: black;
    height: 34px;
    width: 30px;
    border-radius: 5px 0 5px 0;
    margin-top: -1px;
    margin-left: -1px;
    font-size: 22px;
}
.card-trip-categories{
    position: absolute;
    /*top: 3px;
    left: 36px;*/
    top: 8px;
    left: 8px;
    z-index: 2;
}
.poi-in-trip-number {
    width: 28px;
    height: 28px;
    background-color: rgba(var(--white), 1);
    box-shadow: 0 0 4px rgb(0, 127, 255);
    font-size: 17px;
    color: rgba(var(--title), 1);
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box input[type="text"] {
    width: 100%;
    padding: 10px 20px 10px 40px;
    border-radius: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    outline: none;
}

.search-box .icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 20px;
    color: #aaa;
}

.dropdown-menu {
    width: 100%;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 16px;
}

.dropdown-item img {
    margin-right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.sidebar-menu-list{
    gap: 10px!important;
}

.offcanvas.hotel-sidebar-offcanvas .offcanvas-header .sidemenu-header img {
    width: 50%!important;
}
small, .small {
    font-size: 0.675em!important;
}

.flag {
    max-height: 20px;
    cursor: pointer;
}
.flag.selected {
    border: 2px solid #007bff;
    border-radius: 5px;
}




/* Basic styling for the snackbar */
#snackbar {
    visibility: hidden; /* Hidden by default */
    min-width: 90%; /* Minimum width */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Sit on top */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center horizontally */
    bottom: 80px; /* 30px from the bottom */
    font-size: 17px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
    transition: visibility 0.5s, opacity 0.5s ease-in-out;
    opacity: 0; /* Hidden by default */
}

/* Show the snackbar when changing its visibility */
#snackbar.show {
    visibility: visible; /* Show the snackbar */
    opacity: 1; /* Fade in */
}
.card-body{
    color: rgba(var(--title), 1)!important;
}

.more-toggle{
    color: rgba(var(--title));
}

.mobile-style-4 ul li.active .mobile-box i::after {

    background: linear-gradient(180deg, rgb(var(--danger-color), 1) 0%, rgb(var(--danger-color), 1) 100%)!important;



}

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

.carousel-control-next {
    right: -25px;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(31%) sepia(100%) saturate(5000%) hue-rotate(205deg);
}
.text-grey{
    color: grey;
}
.text-litle{
    font-size: 12px;
}


/* TIMELINE BS*/
.py-8{
    padding-bottom:4.5rem!important;
    padding-top:4.5rem!important
}
@media(min-width:576px){
    .py-sm-8{
        padding-bottom:4.5rem!important;
        padding-top:4.5rem!important
    }
}
@media(min-width:768px){
    .py-md-8{
        padding-bottom:4.5rem!important;
        padding-top:4.5rem!important
    }
}
@media(min-width:992px){
    .py-lg-8{
        padding-bottom:4.5rem!important;
        padding-top:4.5rem!important
    }
}
@media(min-width:1200px){
    .py-xl-8{
        padding-bottom:4.5rem!important;
        padding-top:4.5rem!important
    }
}
@media(min-width:1400px){
    .py-xxl-8{
        padding-bottom:4.5rem!important;
        padding-top:4.5rem!important
    }
}
.bsb-timeline-1{
    --bsb-tl-color:var(--bs-primary-bg-subtle);
    --bsb-tl-circle-color:var(--bs-primary);
    --bsb-tl-circle-size:18px;
    --bsb-tl-circle-offset:9px
}
.bsb-timeline-1 .timeline{
    list-style:none;
    margin:0;
    padding:0;
    position:relative
}
.bsb-timeline-1 .timeline:after{
    background-color:var(--bsb-tl-color);
    bottom:0;
    content:"";
    left:0;
    margin-left:-1px;
    position:absolute;
    top:0;
    width:2px
}
.bsb-timeline-1 .timeline>.timeline-item{
    margin:0;
    padding:0;
    position:relative
}
.bsb-timeline-1 .timeline>.timeline-item:before{
    background-color:var(--bsb-tl-circle-color);
    border-radius:50%;
    content:"";
    height:var(--bsb-tl-circle-size);
    left:calc(var(--bsb-tl-circle-offset)*-1);
    position:absolute;
    top:0;
    width:var(--bsb-tl-circle-size);
    z-index:1
}
.bsb-timeline-1 .timeline>.timeline-item .timeline-body{
    margin:0;
    padding:0;
    position:relative
}
.bsb-timeline-1 .timeline>.timeline-item .timeline-content{
    padding:0 0 2.5rem 2.5rem
}
@media(min-width:768px){
    .bsb-timeline-1 .timeline>.timeline-item .timeline-content{
        padding-bottom:3rem
    }
}
.bsb-timeline-1 .timeline>.timeline-item:last-child .timeline-content{
    padding-bottom:0
}
.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: rgb(0, 127, 255);
    transform: translateX(-50%);
    z-index: 1;
}
.timeline-item {
    position: relative;
    z-index: 2;
}
.bsb-timeline-1 .timeline > .timeline-item:before {
    display: none;
}
.bsb-timeline-1 .timeline:after {
    display: none;
}
#trips-list{
    grid-template-columns: repeat(2, 1fr);
    grid-gap: calc(12px + (16 - 12) * ((100vw - 320px) / (600 - 320)))
        calc(12px + (16 - 12) * ((100vw - 320px) / (600 - 320)));
}

#trips-list .category-image{
    height: 100px!important;
}
.category-content>h5{
    max-width: 140px;
    word-break: break-word;
    text-align: center;
}