

.img_raggruppamento {
    max-width: 100%;
    position: relative;
    vertical-align: top;
    background-size: cover;
    background-position-y: 50%;
    background-position-x: 50%;
    height: 230px !important;
}

.sotto_item {
    background-color: #ec951a;
    color: #fff;
    border-radius: 68% 73% 50% 50% / 100% 100% 0% 0%;
    position: absolute;
    top: 76%;
    width: 100%;
}

/*******************************************/
.testo {
    font-size: 20px !important;
}


.imageStyle {
    height: 375px !important;
    background-size: cover;
    background-repeat: no-repeat;
}

.line-home {
    line-height: 45px !important;
}

.premessa_opera {
    font-size: 14px;
}

.sotto_head {
    color: #dedede !important;
    font-weight: normal !important;
}


.top15 {
    padding-top: 80px !important;
}

.nopaddingb {
    padding-bottom: 0px !important;
}

.bordo {
    border: 1px solid #ccc;
}

.color_box {
    background-color: #e4e4e4;
}

#map {
    width: 100% !important;
    height: 500px !important;
    padding: 0px !important;
    margin: 0px !important;
}


.bianco {
    color: #fff !important;
}



.grigio {
    background-color: #e4e4e4;
}



.inner_testo {
    margin-bottom: 35px;
    margin-top: 35px;
    border-left: 2px solid #444444;
    padding-left: 10px;
}


.immagine_sfondo {
    height: 400px;
    overflow: hidden;
}




.separatore:after {
    content: '';
    position: absolute !important;
    bottom: 150px !important;
    transform: rotate(45deg) !important;
    background-color: #e4e4e4 !important;
    display: inline-block !important;
    width: 80px !important;
    height: 80px !important;
}


.separatore1:before {
    left: -80px;
    content: '';
    position: absolute !important;
    bottom: 150px !important;
    transform: rotate(45deg) !important;
    background-color: #e4e4e4 !important;
    display: inline-block !important;
    width: 80px !important;
    height: 80px !important;
}




.p40_rep {
    padding: 20px;
}



.logo_desktop {
    display: block !important;
    width: 350px !important;
    height: auto !important;
}

.logo-mobile {
    display: none !important;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff !important;
}

.fullimg {
    width: 100% !important;
}

.pinInfo h3 {
    color: #fff !important;
}


.vicinanze {
    left: 0px !important;
    right: 0px !important;
    width: 100% !important;
    top: -180px !important;
    z-index: 5 !important;
    position: absolute !important;
    height: 200px !important;
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .vicinanze {
        left: 0px !important;
        right: 0px !important;
        width: 100% !important;
        position: initial !important;
        top: auto !important;
        height: auto !important;
    }
}



.img_dettaglio {
    height: 500px;
    clear: both;
    background: url(../images/parallax-3.jpg);
    background-repeat: no-repeat;
    background-position-y: 50%;
    background-position-x: 50%;
    background-size: 100%;
}


.inner_dettaglio {
    width: 100%;
    padding-top: 350px;
    z-index: 10;
}

.p30-box {
    padding: 3em;
}

.pt-lg {
    padding-top: 170px;
}


/************************ SMARTPHONE  (phones, 600px and down) ************************/
@media only screen and (max-width: 781px) {

    .owl-theme.nekoOwlcontrolHover .owl-controls .owl-pagination {
        position: absolute;
        bottom: -20px;
        left: 0;
        z-index: 1000;
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
        width: 500px;
    }


    .p30-box {
        padding: 0em;
    }

    .pt-lg {
        padding-top: 10px;
    }
    /* pagination */
    .owl-theme .owl-pagination {
        /* width: 500px !important;*/
        background: #ffffff;
        display: inline-block;
        padding: 6px;
        border-radius: 50px;
        line-height: 1;
    }


    .p40_rep {
        padding: 0px;
    }

    .logo-mobile {
        display: block !important;
        width: 180px !important;
        height: auto !important;
    }

    .logo_desktop {
        display: none !important;
    }

    .inner_dettaglio {
        width: 100%;
        padding-top: 0px;
        z-index: 10;
    }

    header {
        background-color: #ff0000 !important;
    }

    .navbar-header {
        background-color: #9c0217 !important;
    }


    .img_dettaglio {
        height: auto !important;
        clear: both !important;
        background: none !important;
        background-repeat: no-repeat;
        background-size: 100%;
    }
}


.boxFeatured h2, p {
    color: #333 !important;
}


.boxFeatured p {
    padding-bottom: 0px !important;
}


.boxFeatured h2 {
    font-size: 34px;
}

.boxFeatured h3 i {
    line-height: 25px !important;
}


.img_monumento:after {
    content: '';
    position: absolute;
    bottom: -10px;
    transform: rotate(45deg);
    background-color: #cbd1ae;
    display: inline-block;
    width: 20px;
    height: 20px;
}




.socialNetwork li {
    padding-right: 15px !important;
}


    .socialNetwork li img {
        /*   border: 1px solid #d1d1d1;*/
    }

.logo_absolute {
    z-index: 55555 !important;
    position: absolute !important;
    top: 0px !important;
    width: 200px !important;
    height: 200px !important;
    background-color: #ff6a00 !important;
}


.navbar-nav ul li a:hover {
    background: #ec951a
}

.navbar-nav li.hover > a {
    color: #ec951a
}

.navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-brand {
    width: 90%;
    height: auto;
    padding: 15px !important;
}
.navbar-toggle {
    width: 10%;
    margin: 0 !important;
}
@media only screen and (max-width: 781px){
    .navbar-header {
        background-color: #ec951a !important;
    }
}

.list-details li{
    margin-top: 2%;
}

p.lead {
    color: white !important;
}

.imgHover .pinInfo p {
    color: white !important; /*Le schede nella homepage (scritta che appare tramite hover)*/
}

/*
Rimuovo il vecchio header (vista la sua estrema bruttezza) 
e metto la stessa immagine del carousel principale
*/
.page-header, .bgMask {
    background: unset !important;
}
    .gradient, .bgMask.gradient {
        background-image: url("/Default/images/Static/img3.jpg") !important;
        opacity: .8 !important;
        background-repeat: no-repeat !important;
        background-size: cover !important
    }


.owl-custom-home .owl-theme.nekoOwlcontrolHover .owl-controls .owl-pagination {
    width: 500px !important;
    max-width: 100vw !important;
}

@media (max-width: 767.98px) {
    .owl-custom-home p.lead {
        padding-bottom: 50px;
    }

    .sotto_item {
        display: none;
    }
}

.img-news {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
}

html {
    overflow-x: hidden !important;
}

.img-sponsor {
    width: 75px;
    max-width: 100%;
    height: auto;
    background-color: white;
    border-radius: 5px;
    padding: 5px;
}

.sponsor-list {
    padding-left: 0;
    columns: 2;
}

@media (max-width: 575.98px) {
    .sponsor-list {
        columns: 1;
    }
}

.sponsor-list li {
    align-content: center;
    min-height: 80px;
    list-style-type: none !important;
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #333;
    font-weight: bolder;
}

.sponsor-list li a {
    color: #333 !important;
}

.footer2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.footer2 h4 {
    color: #333 !important;
}

.text-decoration-none {
    text-decoration: none !important;
}

.navbar-fixed-top {
    max-width: 100vw !important;
}

#nekoToTop {
    color: #ec951a !important;
}

#nekoToTop:hover {
    background-color: #ec951a !important;
    color: #fff !important;
}

.custom-box-home {
    /*background: #ec951a;*/
    text-align: center;
    cursor: pointer;
    height: 250px;
    position: relative;
    transition: all .2s linear;
    background-color: unset !important;
    background-size: cover !important;
}

    .custom-box-home:nth-child(1) {
        background: linear-gradient( #ec951aE6, #ec951aE6 ), url('/Default/images/BoxAttivita/MappaInterattiva.png');
    }

    .custom-box-home:nth-child(2) {
        background: linear-gradient( #ec951aE6, #ec951aE6 ), url('/Default/images/BoxAttivita/News.webp');
    }

    .custom-box-home:nth-child(3) {
        background: linear-gradient( #ec951aE6, #ec951aE6 ), url('/Default/images/BoxAttivita/Presentazione.jpg');
    }

    .custom-box-home:nth-child(4) {
        background: linear-gradient( #ec951aE6, #ec951aE6 ), url('/Default/images/BoxAttivita/Team.jpg');
    }

    .custom-box-home:nth-child(1):hover {
        background: linear-gradient( rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7) ), url('/Default/images/BoxAttivita/MappaInterattiva.png');
    }

    .custom-box-home:nth-child(2):hover {
        background: linear-gradient( rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7) ), url('/Default/images/BoxAttivita/News.webp');
    }

    .custom-box-home:nth-child(3):hover {
        background: linear-gradient( rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7) ), url('/Default/images/BoxAttivita/Presentazione.jpg');
    }

    .custom-box-home:nth-child(4):hover {
        background: linear-gradient( rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7) ), url('/Default/images/BoxAttivita/Team.jpg');
    }

.custom-box-home a.btn{
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateY(-500px) translateX(-50%);
    opacity: 0;
    transition: all .2s linear;
}

.custom-box-home:hover a.btn {
    transform: translateY(0) translateX(-50%);
    opacity: 1;
}

.custom-box-home i:not(.icon-search){
    font-size: 64px;
    transition: all .2s linear;
}

.custom-box-home:hover i:not(.icon-search) {
    font-size: 86px;
}

.generatedMoreLink, .custom-box-home {
    outline: 1px solid #ddd;
}

.custom-box-home a, .custom-box-home h2 {
    color: #fff !important;
}

.image-overlay {
    position: relative;
    overflow: hidden;
    height: 350px;
    margin-top: 15px;
    margin-bottom: 15px;
}

    .image-overlay img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all .3s linear;
        z-index: 4;
    }

.image-overlay .image-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ec951a;
    height: 70px;
    text-align: center;
    align-content: center;
    transition: all .3s linear;
    padding: 10px 0;
}

.image-overlay .image-description-hover {
    display: none;
    color: #fff !important;
}

.image-overlay:hover .image-description-hover {
    display: unset;
}

.image-overlay:hover .image-description {
    height: 100%;
    background-color: #ec951abf;
}

.image-overlay .image-description h2{
    margin-bottom: 0 !important;
    color: #fff;
}

.image-overlay:hover img {
    scale: 1.2;
}

.boxCard {
    transition: all .3s linear;
}

.boxCard:hover {
    transform: translateY(-15px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.image-7 {
    background: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) ), url('/images/theme-pics/parallax-7.jpg');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

.navbar-nav ul li a {
    color: #222;
}

/* X-Small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
}

/* X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {
}

