:root {
    --primary: #2e6e4c;
}

::-moz-selection {
    background: var(--primary);
}

::selection {
    background: var(--primary);
}

html, body {
    scroll-behavior: smooth;
}

/*#region Generic*/

.borderList li {
	word-break: break-word;
}

.bg-primary {
    background-color: var(--primary);
}

.bg-dark {
    background-color: #000;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.form-control:focus {
    border-color: var(--primary);
}

label {
    margin-bottom: 0;
}

.img-galleria {
    height: 500px;
    width: 100%;
    object-fit: cover;
    object-position: center center;
}

.font-weight-bold, .fw-bold {
    font-weight: bold;
}

.text-primary {
    color: var(--primary) !important;
}

a:hover, .scrollspyNav .active a {
    color: var(--primary);
}

#preHeader a {
    color: #fff !important;
}

#preHeader a:hover, .scrollspyNav .active a {
    color: #fff !important;
}

#nekoToTop {
    color: var(--primary);
}

#nekoToTop:hover {
    background-color: var(--primary);
}

.neko-hover-1 figcaption .iconLinks a, .neko-hover-2 figcaption .iconLinks a {
    background-color: var(--primary);
}

.neko-hover-1 figcaption .iconLinks a:hover, .neko-hover-2 figcaption .iconLinks a:hover {
    color: var(--primary);
}

.generatedMoreLink {
    background-color: var(--primary);
}

.bg-white {
    background-color: #fff !important;
}

.text-white {
    color: #fff !important;
}

.owl-theme .owl-controls .owl-buttons div, .owl-theme .owl-controls .owl-buttons div:hover {
    background: var(--primary);
}

.owl-theme .owl-controls .owl-page span.owl-numbers {
    background: var(--primary);
}

a, a:focus {
    color: var(--primary);
}

.iconRounded {
    border-color: var(--primary);
    background-color: var(--primary);
}

.iconRounded:hover, .color1 .iconRounded:hover, .boxIcon a:hover i.iconRounded {
    color: var(--primary);
}

#footerRights {
    background-color: var(--primary);
}

.navbar-default .navbar-nav>li>a.active {
    color: var(--primary);
}

.navbar-nav ul li a:hover, .navbar-nav ul li.hover>a {
    background-color: var(--primary);
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
    color: var(--primary);
}

.btn:hover, .btn:focus {
    background: var(--primary);
    border-color: var(--primary);
    filter: drop-shadow(2px 4px 6px black);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    filter: drop-shadow(2px 4px 6px black);
}

/*#endregion*/

/*#region Custom call to action*/

.custom-call-to-action {
    display: flex;
    overflow-x: hidden !important;
}

.custom-call-to-action .call-to-action-container {
    padding: 100px 20px;
    transition: all .2s linear;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.custom-call-to-action .call-to-action-container:last-child .call-to-action-button{
    background-color: var(--primary);
}

.custom-call-to-action .call-to-action-container:last-child .call-to-action-button:hover{
    background-color: #000;
    border-color: #000;
}

.custom-call-to-action .call-to-action-container:hover {
    width: 170%;
}

@media (max-width: 1199.98px) {
    .custom-call-to-action .call-to-action-container:hover {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .custom-call-to-action {
        display: block;
    }
}

/*#endregion*/

/*#region Header & Footer*/
.navbar-nav li.hover > a {
    color: var(--primary);
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background: var(--primary);
}

#preHeader {
    display: block !important;
    background-color: var(--primary) !important;
    color: #fff;
}

@media (max-width: 767.98px) {
    #preHeader {
        display: none !important;
    }
}


#footerLogo {
    max-width: 100%;
    height: auto;
}

#footerRights {
    padding: 15px 0;
    margin-top: 0;
}

#footerRights p {
    font-size: 15px;
    margin-bottom: 0;
}

ul.languages {
    float: right;
    list-style-type: none;
    margin: 5px 0;
    align-content: center;
}

ul.languages li {
    display: inline;
}

ul.languages li a:hover {
    text-decoration: none !important;
    cursor: pointer;
}

ul.languages li img {
    height: 20px;
    width: 30px;
    object-fit: cover;
}

ul.languages.languages-mobile {
    float: unset !important;
}

ul.languages.languages-mobile li a {
    display: inline !important;
    padding: 8px;
}

.gt_float_switcher {
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px !important;
}

/*#endregion*/

/*#region Homepage*/

.video-intro {
    height: 75vh;
    position: relative;
}

.video-intro .logo {
    max-height: 150px;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video-intro h1, .video-intro h2 {
    color: #fff;
}

.video-intro .container {
    z-index: 3;
    position: relative;
}

.video-intro:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.15);
    z-index: 2;
}

.video-intro #videoCredits {
    position: absolute;
    right: 5px;
    bottom: 5px;
    z-index: 3;
}

.video-intro #videoCredits p {
    margin-bottom: 0;
    color: #fff;
}

.video-intro video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    object-fit: cover;
    object-position: center center;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
}

.video-intro video {
    background: url("/cgi-bin/immagini/homepage1.jpg");
    background-size: cover;
    background-position: center center;
}

@media (max-width: 767.98px) {
    .video-intro {
        height: 65vh;
    }

    .custom-intro {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .video-intro {
        height: 45vh;
    }

    .video-intro:before {
        background-color: rgba(0,0,0,0.3);
    }
}

.img-slider-homepage {
    height: 750px;
    object-fit: cover;
    object-position: center;
}

.numero-utile-homepage .numero-container {
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.numero-utile-homepage .numero-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
}

.numero-utile-homepage .numero-value {
    font-size: 30px;
    margin-bottom: 0;
}

.minimalBox img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.local-section .local-image {
    background-position: center center;
}

.local-section .row {
    position: relative;
}

.local-section .row .local-image {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.local-section .row .beforeAngledSquare {
    position: relative;
}

.local-section .row .beforeAngledSquare:before {
    content: '';
    position: absolute;
    top: 50%;
    width: 75px;
    height: 75px;
    background-color: #fff;
    z-index: 1;
}

/*Dispari*/
.local-section .row:nth-child(2n) .beforeAngledSquare:before {
    right: 0;
    transform: translateX(50%) translateY(-50%) rotate(45deg);
}

.local-section .row:nth-child(2n) .local-image {
    transform: translateX(100%);
}

/*Pari*/
.local-section .row:nth-child(2n+1) .beforeAngledSquare:before {
    left: 0;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.local-section .row:nth-child(2n+1) .beforeAngledSquare {
    transform: translateX(100%);
}

@media (max-width: 991.98px) {
    .beforeAngledSquare:before {
        content: unset !important;
    }

    .local-section .row {
        box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    }

    .local-section .row:nth-child(2n+1) .beforeAngledSquare {
        transform: translateX(0%);
    }

    .local-section .local-image {
        display: none;
    }
}

/*#endregion*/

/*#region Dettaglio Pagina*/

.page-header .titolo_pagina {
    font-size: 70px;
    color: #fff;
}

@media (max-width: 1399.98px) {
    .page-header .titolo_pagina {
        font-size: 60px;
    }
}

@media (max-width: 1199.98px) {
    .page-header .titolo_pagina {
        font-size: 55px;
    }
}

@media (max-width: 991.98px) {
    .page-header .titolo_pagina {
        font-size: 50px;
    }
}

@media (max-width: 767.98px) {
    .page-header .titolo_pagina {
        font-size: 45px;
    }
}

@media (max-width: 575.98px) {
    .page-header .titolo_pagina {
        font-size: 40px;
    }
}

.logoDettaglio {
    width: 150px;
    max-width: 100%;
}

/*#endregion*/

/*#region Progetto*/

.progetto-container .progetto-immagine {
    width: 500px;
    max-width: 100%;
    float: left;
    margin-right: 15px!important;
    margin-bottom: 15px!important;
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .progetto-container .progetto-immagine {
        width: 100%;
        float: unset !important;
    }
}

/*#endregion*/

/*#region Siti di Interesse / POI*/

.grid-masonry-like {
    column-count: 3;
    column-gap: 1em;
    padding: 0 10px;
}

@media (max-width: 991.98px) {
    .grid-masonry-like {
        column-count: 2;
    }
}

@media (max-width: 575.98px) {
    .grid-masonry-like {
        column-count: 1;
    }
}

.grid-masonry-like .card-poi {
    break-inside: avoid;
    margin-bottom: 1em;
    position: relative;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    overflow: hidden;
}

.poi-image {
    text-align: center;
}

.poi-image img {
    width: 100%;
    height: auto;
    height: 300px;
    object-fit: cover;
}

.poi-description-container {
    text-align: center;
    margin: 10px;
    border: 1px solid var(--primary);
    padding: 10px;
    border-radius: 10px;
}

/*#endregion*/

/*#region Prenotazione*/

.progress-prenota {
    width: 100%;
    margin-bottom: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-evenly;
}

.progress-prenota .progress-item {
    display: inline;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 15px;
    width: 40px;
    height: 40px;
    align-content: center;
    text-align: center;
    aspect-ratio: 1 / 1 !important;
    border: 1px solid #ddd;
    border-radius: 50%;
}

.progress-prenota .progress-item.active {
    border-color: var(--primary);
    background-color: var(--primary);
    color: #fff;
}

/*#endregion*/

/*#region Fullcalendar*/

.fc-toolbar.fc-header-toolbar {
    background-color: var(--primary);
    color: white;
    padding: 5px;
    margin-bottom: 0 !important;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.fc-button {
    background-color: var(--primary);
    color: white;
    border: none;
}

.fc-button:hover {
    background-color: #000;
    color: white;
}

.fc-button.fc-button-primary {
    background-color: #000;
    color: white;
}

.fc-toolbar-title {
    color: white;
    text-transform: capitalize;
}

.fc-event {
    background-color: var(--primary);
    color: white;
    border: 1px solid #000;
}

.fc-daygrid-day {
    color: black;
}

.fc-daygrid-day.fc-day-today {
    background-color: rgba(52, 152, 219, 0.2);
}

.fc-daygrid-day-number {
    color: black;
}

.fc-popover {
    background-color: white;
    color: black;
    border: 1px solid var(--primary);
}

.fc-popover-header {
    background-color: var(--primary);
    color: white;
}

.fc-col-header-cell {
    color: black;
}

.fc-timegrid-event {
    background-color: var(--primary);
    color: white;
    border: 1px solid black;
}

.fc-timegrid-event:hover {
    background-color: #1f78b4;
    color: white;
}

@media (max-width: 575.98px) {
    .fc-toolbar-title {
        font-size: 1.2em !important;
    }
}

.row.privacy, .row.compilazione, .row.riepilogo, .row.risultato {
    border: 1px solid #ddd;
    padding: 30px 20px;
}


/*#endregion*/

/*#region Gallery*/

.boxShadowed {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

/*#endregion*/

/*#region Percorso*/

.elenco-percorsi .percorso-container .map-container .map-object {
    height: 250px;
}

@media (max-width: 575.98px) {
    .elenco-percorsi .percorso-container .map-container .map-object {
        height: 200px;
    }
}

.elenco-percorsi .percorso-container a:hover {
    text-decoration: none!important;
}

.elenco-percorsi .percorso-container {
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    overflow: hidden !important;
    border-radius: 20px;
    border: 2px solid var(--primary);
	margin-bottom: 20px;
}

.elenco-percorsi .percorso-container .description-container {
    background-color: var(--primary);
    color: #fff !important;
    padding: 20px;
}

.elenco-percorsi .percorso-container .description-container .map-name {
    color: #fff !important;
}


.image-previews {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.image-previews a {
    overflow: hidden;
}

.image-previews a.more-images {
    border: 1px solid var(--primary);
    background-color: #ddd;
    border-radius: 5px;
    border: 1px solid var(--primary);
    aspect-ratio: 1 / 1;
    text-align: center;
    align-content: center;
    color: var(--primary);
    font-size: 20px;
}

.image-previews a:hover {
    text-decoration: none;
    text-transform: none;
}

.popup-preview-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid var(--primary);
    border-radius: 5px;
}

.popup-content {
    width: 300px;
}

.popup-content .btn-approfondisci {
    padding: 5px 7px;
    color: #fff;
    background-color: var(--primary);
    border-radius: 5px;
    border: 1px solid var(--primary);
    transition: all .3s linear;
}

.popup-content .btn-approfondisci:hover {
    color: var(--primary);
    background-color: #fff;
    text-decoration: none;
}

/*#endregion*/

/*#region Leaflet Overrides*/

.leaflet-control.elevation .area {
    fill: var(--primary) !important;
}

.leaflet-custom-control.leaflet-bar.leaflet-control {
    color: #000 !important;
}

.leaflet-position-custom-control .attivo, .leaflet-opacity-custom-control .attivo, .leaflet-custom-control .attivo {
    background-color: var(--primary) !important;
    color: #fff !important;
}

.leaflet-overlay-pane .height-focus {
    fill: white !important;
    stroke: var(--primary) !important;
    stroke-width: 5;
}

.custom-theme.height-focus.line {
    display: none;
}

.custom-theme.height-focus-label {
    display: none;
}

/*#endregion*/

/*#region GenericUtilities*/
.mb-0 {
    margin-bottom: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.ml-0 {
    margin-left: 0 !important;
}

.mr-0 {
    margin-right: 0 !important;
}

.py10 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.py20 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.py30 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.py40 {
    padding-top: 40px;
    padding-bottom: 40px;
}

.py50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.py60 {
    padding-top: 60px;
    padding-bottom: 60px;
}

.py60 {
    padding-top: 60px;
    padding-bottom: 60px;
}

.py60 {
    padding-top: 60px;
    padding-bottom: 60px;
}

.py70 {
    padding-top: 70px;
    padding-bottom: 70px;
}

.py80 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.py90 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.py100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

/*#endregion*/

/*#region Sweet Alert 2.0*/

div:where(.swal2-container) div:where(.swal2-popup) {
    width: unset !important;
    max-width: unset !important;
}

div:where(.swal2-container) h2:where(.swal2-title) {
    font-size: 4em !important;
}

div:where(.swal2-container) .swal2-html-container {
    font-size: 1.7em !important;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    font-size: 1.7em !important;
}

/*#endregion*/

/*#region Breakpoints*/

/* 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) {
}

/*#endregion*/