/********** Template CSS **********/
:root {
    --primary: rgb(62, 106, 184);
    --secondary: #3f6f3d;
    --light: rgb(175, 190, 216);
    --dark: rgb(31, 45, 31);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    #btnLingua {
        margin-top: -20px !important;
        margin-bottom: 10px;
    }
}

#btnPareti{
    width: 17%;
    height: 45px;
    border-radius: 8px;
    background-color: #23386b;
    border: solid 1px #23386b;
    font-weight: bolder;
    color: white;
    margin-left: 36px;
}
@media (max-width: 991.98px) {
    #btnPareti {
        width: 53%;
        height: 50px;
        border-radius: 8px;
        background-color: #23386b;
        border: solid 1px #23386b;
        font-weight: bolder;
        color: white;
        margin-left: 13px;
        margin-top: -13px;
    }
}

#btnBrochure{
    width: 37%;
    height: 45px;
    border-radius: 8px;
    background-color: #23386b;
    border: solid 1px #23386b;
    font-weight: bolder;
    color: white;
}
@media (max-width: 991.98px) {
    #btnBrochure {
        width: 53%;
        height: 50px;
        border-radius: 8px;
        background-color: #23386b;
        border: solid 1px #23386b;
        font-weight: bolder;
        color: white;
        margin-top: -13px;
    }
}


/********************************************************************************
*********************************************************************************
NASCONDE MENU E RENDE 'I nostri sentieri' PAGINA PRINCIPALE
*********************************************************************************/
.hideMenu {
    display: none !important; 
}

.flagPosition {
    position: absolute;
    right: 30px; 
}

/********************************************************************************
*********************************************************************************
*********************************************************************************/


@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

.carousel-item > img{
    height: 700px;
    object-fit: cover;
}


@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: url(https://storage.ecodibergamo.it/media/photologue/2022/5/16/photos/cache/predore-si-protegge-nuove-reti-per-frenare-la-caduta-di-massi_a569d406-d6a6-11ec-9cc6-d3de6306e775_1920_1080_v3_xl_16_9.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 5px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 6px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** About ***/
.about-experience {
    position: absolute;
    width: 100%;
    height: 100%;
    right: -45px;
    bottom: -45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.img{

    background-image:url("../img/croce.webp");
     background-size: cover; 
    width: 620px;
    height: 456px;
    border-radius: 8px;
    margin-right: auto;
    margin-left: auto;
}
.img:hover{

    background-image:url("../img/new/Percorso/CroceDiPredore.png");
     background-size: cover; 
    width: 620px;
    height: 456px;
    border-radius: 8px;
    cursor: pointer;
}
.img2{

    background-image:url("../img/corno.webp");
     background-size: cover; 
    width: 620px;
    height: 456px;
    border-radius: 8px;
    margin-right: auto;
    margin-left: auto;
}
.img2:hover{

    background-image:url("../img/new/Percorso/SentieroPanoramicoDelCorno.png");
     background-size: cover; 
    width: 620px;
    height: 456px;
    border-radius: 8px;
    margin-right: auto;
    margin-left: auto;
    cursor: pointer;
}
.img3{

    background-image:url("../img/new/sentieroBassoCorno.jpg");
     background-size: cover; 
    width: 620px;
    height: 456px;
    border-radius: 8px;
    margin-right: auto;
    margin-left: auto;
}
.img3:hover{

    background-image:url("../img/new/Percorso/SentieroBassoDelCorno.png");
     background-size: cover; 
    width: 620px;
    height: 456px;
    border-radius: 8px;
    margin-right: auto;
    margin-left: auto;
    cursor: pointer;
}
.img4{

    background-image:url("../img/punta.webp");
     background-size: cover; 
    width: 620px;
    height: 456px;
    border-radius: 8px;
    margin-right: auto;
    margin-left: auto;
}
.img4:hover{

    background-image:url("../img/new/Percorso/AnelloMaggiore.png");
     background-size: cover; 
    width: 620px;
    height: 456px;
    border-radius: 8px;
    margin-right: auto;
    margin-left: auto;
    cursor: pointer;
}
.img5{

    background-image:url("../img/new/sentieroFalesie.jpg");
     background-size: cover; 
    width: 620px;
    height: 456px;
    border-radius: 8px;
    margin-right: auto;
    margin-left: auto;
}
.img5:hover{

    background-image:url("../img/new/Percorso/Falesie.png");
     background-size: cover; 
    width: 620px;
    height: 456px;
    border-radius: 8px;
    margin-right: auto;
    margin-left: auto;
    cursor: pointer;
}
.img6{

    background-image:url("../img/new/colleDelGiogo.jpg");
     background-size: cover; 
    width: 620px;
    height: 456px;
    border-radius: 8px;
    margin-right: auto;
    margin-left: auto;
}
.img6:hover{

    background-image:url("../img/new/Percorso/ColleDelGiogo.png");
     background-size: cover; 
    width: 620px;
    height: 456px;
    border-radius: 8px;
    margin-right: auto;
    margin-left: auto;
    cursor: pointer;
}
.img7{

    background-image:url("../img/new/Bronzone.webp");
     background-size: cover; 
    width: 620px;
    height: 456px;
    border-radius: 8px;
    margin-right: auto;
    margin-left: auto;
}
.img7:hover{

    background-image:url("../img/new/Percorso/Bronzone.png");
     background-size: cover; 
    width: 620px;
    height: 456px;
    border-radius: 8px;
    margin-right: auto;
    margin-left: auto;
    cursor: pointer;
}
.imgPredore{

    background-image:url("../img/Predore.jpeg");
     background-size: cover; 
    width: 620px;
    height: 456px;
    border-radius: 8px;
    margin-right: auto;
    margin-left: auto;
}


@media (max-width: 990px) {
    .img{

        background-image:url("../img/croce.webp");
         background-size: cover; 
        width: 80vW;
        height: 50vW;
        border-radius: 8px;
        margin-right: auto;
        margin-left: auto;
    }
    .img:hover{
    
        background-image:url("../img/new/Percorso/CroceDiPredore.png");
         background-size: cover; 
        width: 80vW;
        height: 50vW;
        border-radius: 8px;
        cursor: pointer;
    }
    .img2{
    
        background-image:url("../img/corno.webp");
         background-size: cover; 
        width: 80vW;
        height: 50vW;
        border-radius: 8px;
        margin-right: auto;
        margin-left: auto;
    }
    .img2:hover{
    
        background-image:url("../img/new/Percorso/SentieroPanoramicoDelCorno.png");
         background-size: cover; 
        width: 80vW;
        height: 50vW;
        border-radius: 8px;
        margin-right: auto;
        margin-left: auto;
        cursor: pointer;
    }
    .img3{
    
        background-image:url("../img/new/sentieroBassoCorno.jpg");
         background-size: cover; 
        width: 80vW;
        height: 50vW;
        border-radius: 8px;
        margin-right: auto;
        margin-left: auto;
    }
    .img3:hover{
    
        background-image:url("../img/new/Percorso/SentieroBassoDelCorno.png");
         background-size: cover; 
        width: 80vW;
        height: 50vW;
        border-radius: 8px;
        margin-right: auto;
        margin-left: auto;
        cursor: pointer;
    }
    .img4{
    
        background-image:url("../img/punta.webp");
         background-size: cover; 
        width: 80vW;
        height: 50vW;
        border-radius: 8px;
        margin-right: auto;
        margin-left: auto;
    }
    .img4:hover{
    
        background-image:url("../img/new/Percorso/AnelloMaggiore.png");
         background-size: cover; 
        width: 80vW;
        height: 50vW;
        border-radius: 8px;
        margin-right: auto;
        margin-left: auto;
        cursor: pointer;
    }
    .img5{
    
        background-image:url("../img/new/sentieroFalesie.jpg");
         background-size: cover; 
        width: 80vW;
        height: 50vW;
        border-radius: 8px;
        margin-right: auto;
        margin-left: auto;
    }
    .img5:hover{
    
        background-image:url("../img/new/Percorso/Falesie.png");
         background-size: cover; 
        width: 80vW;
        height: 50vW;
        border-radius: 8px;
        margin-right: auto;
        margin-left: auto;
        cursor: pointer;
    }
    .img6{
    
        background-image:url("../img/new/colleDelGiogo.jpg");
         background-size: cover; 
        width: 80vW;
        height: 50vW;
        border-radius: 8px;
        margin-right: auto;
        margin-left: auto;
    }
    .img6:hover{
    
        background-image:url("../img/new/Percorso/ColleDelGiogo.png");
         background-size: cover; 
        width: 80vW;
        height: 50vW;
        border-radius: 8px;
        margin-right: auto;
        margin-left: auto;
        cursor: pointer;
    }  
    .img7{
    
        background-image:url("../img/new/Bronzone.jpg");
         background-size: cover; 
        width: 80vW;
        height: 50vW;
        border-radius: 8px;
        margin-right: auto;
        margin-left: auto;
    }
    .img7:hover{
    
        background-image:url("../img/new/Percorso/Bronzone.png");
         background-size: cover; 
        width: 80vW;
        height: 50vW;
        border-radius: 8px;
        margin-right: auto;
        margin-left: auto;
        cursor: pointer;
    }
    .imgPredore{
    
        background-image:url("../img/Predore.jpeg");
         background-size: cover; 
        width: 80vW;
        height: 50vW;
        border-radius: 8px;
        margin-right: auto;
        margin-left: auto;
    }
    .imgMappa{
        width: -webkit-fill-available;
    }  
}


/*** Service ***/
.service-item {
    position: relative;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 8px;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    border-radius: 10px;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    border-radius: 10px;
    z-index: 1;
}

.service-item .service-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s ease-out;
    z-index: 2;
}

.service-item:hover .service-img::after {
    width: 0;
    left: auto;
    right: 0;
}

.col-sm-6{
    width: 270px;
    height: 270px;
}
.col-sm-6 > img{
    width: 270px;
    height: 270px;
    object-fit: cover;
}

.col-sm-6 > .text-center{
    width: 100%;
    height: 100%;
}

.col-lg-3.col-md-6.footer{
    flex: 0 0 auto;
    width: 33.3333%;
}
.service-item .service-text .service-icon {
    width: 140px;
    height: 140px;
    padding: 15px;
    margin-top: -70px;
    margin-bottom: 40px;
    background: #FFFFFF;
    border-radius: 140px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0, 0, 0, .1);
}

.service-icon > .img-fluid.rounded-circle{
    height: 110px;
    width: 110px;
    object-fit: cover;
}

.service-item .service-text h5,
.service-item .service-text p {
    transition: .5s;
}

.service-item:hover .service-text h5,
.service-item:hover .service-text p {
    color: #FFFFFF;
}

.service-item .service-text .btn {
    color: var(--secondary);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .25);
}

.service-item .service-text .btn:hover {
    color: var(--dark);
    background: var(--secondary);
}



.col-sm-4 > .img-fluid.rounded{

    height: 100%;
    width: 100%;
}


/*** Gallery***/
.row .g-0{
    height: 100%;
}

.col-12-s{
    height: 30%;
}
.col-12-b{
    height: 70%;
    object-fit: cover;
}
.d-block{
    height: 100%;
    width: 100%;
}
.d-block > .img-fluid{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.containerGallery{
    padding-left: 15px;
    padding-top: 40px;
}

@media (max-width: 990px) {
      
  .containerGallery{
    text-align: center !important;
    padding-left: 5px;
    padding-right: 5px;
  }  
}

.containerMappa{
    padding-left: 15px;
    padding-top: 40px;
}

@media (max-width: 990px) {
      
  .containerMappa{
    text-align: center !important;
    padding-left: 5px;
    padding-right: 5px;
  }  
}

/*** Product ***/
.product-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.product-item .product-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    padding-top: 60px;
    transition: .5s;
}

.product-item:hover .product-overlay {
    opacity: 1;
    padding-top: 0;
}

@media (max-width: 400px){
    .col-sm-6.wow.fadeIn {
        margin: auto;
        border-radius: 0px ;
    }
    .dritto{
        border-radius: 0px !important ;
    }
    #relax, #fotorelax{
        position:relative;
    }
    #relax{
        top:100%;
    }
    #fotorelax{
        top:-100%;
    }
    .row.g-0 :last-child > div{
        border-bottom-right-radius: 8px !important;
        border-bottom-left-radius: 8px !important;
    }
    
    .row.g-0 :first-child img{
        border-top-right-radius: 8px;
        border-top-left-radius: 8px;
    }
}


.team-item.rounded.p-4:hover{
    background-color: #cecece;
}






 .layer{
    background-color: rgba(0, 0, 0, .3) !important;
    width: 100%;
    height: 100%;
} 



/*** Team ***/
.team-item {
    position: relative;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    height: 450px;
}

.team-img{
    width: 100%;
    height: 300px;
}
.team-img > img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.team-item .btn {
    border-color: transparent;
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.team-item > h5{
    margin-top: 20px;
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
}

.testimonial-img::after {
    position: absolute;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 200px;
    color: #EEEEEE;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.testimonial-img img {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-img img:nth-child(1) {
    top: 0;
    left: 0;
}

.testimonial-img img:nth-child(2) {
    top: 60%;
    left: 20%;
}

.testimonial-img img:nth-child(3) {
    top: 20%;
    left: 60%;
}

.testimonial-img img:nth-child(4) {
    bottom: 0;
    right: 0;
}

.testimonial-img img .animated.pulse {
    animation-duration: 2s;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 45px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
    color: var(--dark);
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}