@charset "utf-8";
/* CSS Document */

:root {
    --azzurro: #0ea0d7;
    --blu: #006FA4;
    --verde: #3c9e00;
    --arancio: #F49A16;
    --grigio: #647D7B;

    --global--font: 'Open Sans';
    --heading--font: 'Open Sans';
    --subtitle--font: 'Open Sans';

    --wp--preset--color--primary: var(--azzurro);
}

body {
    font-family: var(--global--font);
    font-size: 16px;
}
.elementor-widget-container h1, .elementor-widget-container h2, .elementor-widget-container h3, .elementor-widget-container h4 {
    font-family: var(--heading--font);
    margin:0;
}


main {padding-top: 115px;}


.linkbianco a {color:#fff;}

h1.wp-block-post-title {
    font-family: var(--heading--font);
    margin-bottom: 0 !important;
    margin-top: 40px !important;
}
.mybreadcrumbs {
    border-bottom: 1px solid #ccc;
    font-size: 13px;
    color: #666;    
}
.mybreadcrumbs a {
    text-decoration: none;
}
.mybreadcrumbs p {
    margin: 0 !important;
}

.intestazione1 {
    border-bottom: 1px solid #dfdfdf;
    z-index: 1;
}
.intestazione2 {
    padding: 0 !important;
}
main {
    margin-block-start: 0 !important;
}
.wp-block-post-featured-image  {
    margin-bottom: 40px !important;
}
.wp-block-post-featured-image img {
    max-height: 400px;
    object-fit: cover;
    /*min-height: 40vh;*/
    object-position: left;
}
.single-tribe_events .wp-block-post-featured-image img {
    min-height: auto;
    height:auto;
}



.elementor-column-gap-default>.elementor-column>.elementor-element-populated {
    /*padding: 5px 0 !important;*/
}

footer>div.has-background {/*padding-top:75px !important;*/}

footer .viacqua figure {display: flex;flex-direction: column;}
footer .viacqua a {order:2;}
footer .viacqua figcaption {order:1;color:#fff;margin:0;}

footer .cerca label {display:none;}
footer .cerca input {padding:12px;}
footer .cerca button {margin:0;text-indent: -9999px;line-height: 0;padding:0;}
footer .cerca button:after {
    content: "\f179";
    color: #fff;
    font-family: dashicons;
    font-size: 30px;
    text-indent: 0;
    display: block;
    padding: 6px;
}

footer .wp-social-link {width: 100% !important;}
footer .wp-social-link a {justify-content: center;}


/* sctoll up */
#scrollTop {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 30px;
	z-index: 99;
	border: none;
	outline: none;
	background-color: rgba(68,73,83,0.7);
	color: white;
	cursor: pointer;
	padding: 6px 10px;
	border-radius: 100px;
	font-size: 18px;
}
#scrollTop:hover {background-color: var(--azzurro);}
#scrollTop:before {
	content: "\f343";
	font-family: dashicons;
	font-size: 30px;
}
.sticky #scrollTop {display:block;}


header .intestazione1,
.error404 .intestazione1 {
    position: fixed;
    width: 100% !important;
    z-index: 999;
    background: #fff;
    box-shadow: 0px 8px 8px rgb(0 0 0 / 5%);
    height: 120px;
    transition: all 0.5s ease-in-out;
    padding: 0;
    top: 0;
}
.admin-bar header .intestazione1,
.admin-bar.error404 .intestazione1 {top: 30px;}
.sticky header .intestazione1,
.sticky.error404 .intestazione1  {height: 80px;}


.wp-block-site-logo img {
    transform: scale(1) translateY(20px);
    transition: all 0.5s ease-in-out;
}
.sticky .wp-block-site-logo img {
    transform: scale(0.8) translatex(-10px);
}

#mega-menu-wrap-max_mega_menu_1 {
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}
.sticky #mega-menu-wrap-max_mega_menu_1 {
    transform: translateY(0);
}
body:not(.mega-menu-max_mega_menu_1-mobile-open) ul.mega-sub-menu {border-top: 3px solid var(--azzurro) !important;}
body:not(.mega-menu-max_mega_menu_1-mobile-open) ul.mega-sub-menu a {
    line-height: 1.2em !important;
    padding: 15px !important;
}


.schedanatura .elementor-widget:not(:last-child) {margin-bottom: 0;}
.schedanatura .elementor-widget-image a {display: block;}
.schedanatura .top img {object-position: top;}
.schedanatura .left img {object-position: left;}
.schedanatura .right img {object-position: right;}


.socialicons a {color:transparent;}
.socialicons a:before {
    content: "\f304";
    color: #fff;
    font-family: dashicons;
    font-size: 50px;
    margin-left: -5px;
    line-height: 70px;
}

ul.footermenu {
    list-style: none;
    padding: 0;
}
ul.footermenu a, .footermail a {
    color: #90969b;
    text-decoration: none;
}
ul.footermenu a:hover, .footermail a:hover {
    color:#fff;
}

.credits a {color:#576167;text-decoration: none;}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link {
    font-weight: 600 !important;
}


/* LIGHTBOX */
.dialog-type-lightbox .dialog-widget-content {width: 100%;}
.elementor-slideshow__footer {opacity:0;}
.swiper-slide-image {
    width: 300px;
    height: 200px !important;
    object-fit: cover;
    padding: 5px;
}
.eicon-frame-expand, .eicon-zoom-in-bold, .eicon-share-arrow {display: none;}


/* homeslide */
body:not(.elementor-editor-active) .homeslide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: all 1s ease-in-out !important;
    top: 120px;
}
body.admin-bar:not(.elementor-editor-active) .homeslide {
    top: 150px;
}
body:not(.elementor-editor-active) .homeslide.manifest {
    opacity: 1;
    z-index: 9;
}
body:not(.elementor-editor-active) #homedots {
    margin-top: 550px;
}
body:not(.elementor-editor-active) #homedots p {
    position: absolute;
    z-index: 9;
    left: calc(50% - 40px);
    top: -60px;
}
body:not(.elementor-editor-active) #homedots a {
    display:inline-block;
    color: transparent;
    cursor: pointer;
    width:15px;
    height:15px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border: 1px solid var(--azzurro);
    border-radius: 50px;    
}
body:not(.elementor-editor-active) #homedots a:hover,
body:not(.elementor-editor-active) #homedots a.active {background-color: #fff;}


.attivitabtn a {width:100%;padding:40px 10px !important;}

.toggleimg img {padding:5px;}

.search-results main, .archive main {padding-top: 0;}
.search-results h2.wp-block-post-title a,
.archive h2.wp-block-post-title a {
    font-family: var(--heading--font);
    text-decoration: none !important;
    font-family: "Roboto", Sans-serif;
    font-size: 20px;
}
.search-results .mainsearch .wp-block-search__button {
    padding: 10px;
    margin: 0;
}
.search-results .mainsearch .wp-block-search__button svg {
    width: 40px;
    height: 40px;
}
.archive .wp-block-post-featured-image img {
    height: 200px;
}

.newsgrid img {height: 240px;object-fit: cover;}

.alatonews {margin:0 !important;}
.alatonews .post-grid-thumbnail {width:100px;float:left;margin-right:20px;}
.leggituttenews p {margin:0;}
.leggituttenews p {margin:0;}
.page-id-35 .leggituttenews a {color:#F49A16;}
.page-id-1655 .leggituttenews a {color:#5AB034;}
.page-id-1655 .alatonews article {display: none;}
.page-id-1655 .alatonews article#post-6571 {display: block;}

/* ULTIMI EVENTI */
ol.eventinewshome, body.page-id-12999 ol.tribe-list-widget {
    display:flex;
    list-style: none;
    padding: 0;
    gap: 1%;
    flex-wrap: wrap;
}
ol.eventinewshome {
    flex-wrap: wrap-reverse;
    flex-direction: row-reverse;
}
body:not(.home) ol.eventinewshome {
    /*flex-direction: column;*/
}
ol.eventinewshome li {
    order:2;
    width: 32%;
    color: #fff;
    background: transparent;
    font-size: 14px;
    display: none;
    flex-wrap: wrap;
    flex-direction: column;
    padding:10px;
}
ol.eventinewshome li .tribe-event-content {background: #0ea0d7;width: 100%;}
ol.eventinewshome li.news .tribe-event-content {background: #fff;}
ol.eventinewshome li.news .tribe-event-content .tribe-event-subtitle {padding: 0 15px;margin: -10px 0 0 0;font-size: 13px;line-height: 1.2em;}
ol.eventinewshome li.news .tribe-event-content .tribe-event-subtitle p {margin:0;}

ol.eventinewshome li:nth-child(1),
ol.eventinewshome li:nth-child(2),
ol.eventinewshome li:nth-child(3) {display:flex;}

ol.eventinewshome li.news, ol.eventinewshome li.apertura-al-pubblico, ol.eventinewshome li.scuole, ol.eventinewshome li.chi-siamo {
    color: #0ea0d7;
}
ol.eventinewshome li:first-child, body.page-id-12999 ol.tribe-list-widget li:first-child {order:3;}
ol.eventinewshome li:last-child, body.page-id-12999 ol.tribe-list-widget li:last-child {order:1;}
ol.eventinewshome li h4, body.page-id-12999 ol.tribe-list-widget li h4 {
    font-size: 16px;
    padding: 15px;
    line-height: 1.2em;
}
ol.eventinewshome li a, body.page-id-12999 ol.tribe-list-widget li a {
    color: #fff;
    font-weight: 600;
}
ol.eventinewshome li.news a {
    color: #0ea0d7;
}
ol.eventinewshome li img, body.page-id-12999 ol.tribe-list-widget li img {
    height: 240px;
    object-fit: cover;
    display: block;
}
ol.eventinewshome.tribe-list-widget li .tribe-event-duration, body.page-id-12999 ol.tribe-list-widget li .tribe-event-duration {
    padding: 15px;
}

.eventinewshome {display: flex;}
.eventinewshome li .tribe-event-image {background: #0ea0d7;}
.eventinewshome li.news .tribe-event-image {background: #fff;}

.alatonews ol.eventinewshome {}
.alatonews ol.eventinewshome li {width:100%;margin-bottom: 20px;flex-direction: row;}
.alatonews ol.eventinewshome li .tribe-event-image {width: 100px;height: 100px;}
.alatonews ol.eventinewshome li .tribe-event-image img {width: 100px;height: 100px;}
.alatonews ol.eventinewshome li .tribe-event-duration {font-size: 12px;color: #555;padding-top: 2px;}
.alatonews ol.eventinewshome li.news .tribe-event-duration {display: none;}
.alatonews ol.eventinewshome li .tribe-event-content {background:#fff;width: calc(100% - 100px);}
.alatonews ol.eventinewshome li .tribe-event-content .tribe-event-subtitle {margin-top:5px;}
.alatonews ol.eventinewshome li .tribe-event-title {padding: 0 15px;}
.alatonews ol.eventinewshome li.apertura-al-pubblico a,
.alatonews ol.eventinewshome li.apertura-al-pubblico .tribe-event-content .tribe-event-subtitle p {color:var(--verde) !important;}
.alatonews ol.eventinewshome li.scuole a,
.alatonews ol.eventinewshome li.scuole .tribe-event-content .tribe-event-subtitle p {color:var(--arancio) !important;}



.single-tribe_events .wp-block-post-date {visibility: hidden;margin:0;}

.slick-dots {}
.slick-dots li {display: inline-block !important;width: 20px !important;padding: 0 !important;}
.slick-prev:before, .slick-next:before {color:#0ea0d7 !important; font-size: 24px !important;}
.slick-track {display: flex;}


/* MODULO PRENOTAZIONI */
#nf-form-title-2 h3, #nf-form-title-7 h3 {
	text-align: center;
    font-size: 28px;
    margin-top: 50px;
    color: #3c9e00;
    font-family: var(--heading--font);
}
#nf-form-title-2 h3:after, #nf-form-title-7 h3:after {
	content:'I campi contrassegnati con * sono obbligatori';
	display: block;
    font-size: 14px;
    line-height: 2em;
    color: #555;
}
#nf-form-2-cont .nf-form-wrap, #nf-form-7-cont .nf-form-wrap {
	margin-top:40px;
	background: #efefef;
}
#nf-form-2-cont .nf-form-fields-required, #nf-form-7-cont .nf-form-fields-required {
	text-align: right;
	margin-bottom: 30px;
	font-style: italic;
	background: #ffffff;
	display: none;
}
#nf-form-2-cont .nf-form-content label, #nf-form-7-cont .nf-form-content label,
#nf-form-2-cont .nf-form-content .listselect-wrap .nf-field-element div, #nf-form-7-cont .nf-form-content .listselect-wrap .nf-field-element div,
#nf-form-2-cont .nf-form-content .ninja-forms-field, #nf-form-7-cont .nf-form-content .ninja-forms-field {
	font-size: 14px;
	line-height: 18px;
}
#nf-form-2-cont .nf-field-description, #nf-form-7-cont .nf-field-description {
    font-size: 13px;
    line-height: 1.3em;
    margin-bottom: 15px;
    margin-top: -5px;
}
#nf-form-2-cont .seprenoti .nf-field-label, #nf-form-7-cont .seprenoti .nf-field-label {
	display: block;
}
#nf-form-2-cont .seprenoti, #nf-form-7-cont .seprenoti {
	background: #2ea3f2;
    color: #fff;
    padding: 20px;
	margin-bottom: 40px !important;
	line-height: 1.5em;
}
#nf-form-2-cont .seprenoti:after, #nf-form-7-cont .seprenoti:after {
	content:".";
	display: block;
    width: 30px;
    height: 30px;
    background-color: #2ea3f2;
    color: transparent;
    transform: rotate(45deg);
    position: absolute;
    left: calc(50% - 15px);
}
#nf-form-2-cont .nf-form-content, #nf-form-7-cont .nf-form-content {
	padding: 20px;
}
#nf-form-2-cont .nf-field-container, #nf-form-7-cont .nf-field-container {
	margin-bottom: 40px;
}
#nf-form-2-cont .hr-container, #nf-form-7-cont .hr-container {
	opacity: 0;
}
#nf-field-24-container, #nf-field-99-container {
	margin-bottom: 0px !important;
    font-size: 13px;
    line-height: 1.5em;
}
#nf-field-5-wrap .nf-field-element, #nf-field-84-wrap .nf-field-element {text-align: center;}
#nf-field-5-wrap #nf-field-5, #nf-field-84-wrap #nf-field-84 {
	text-transform: uppercase;
    padding: 0 40px;
	background: #2ea3f2;
	cursor: pointer;
    font-size: 16px;
}
#nf-field-5-wrap #nf-field-5:hover, #nf-field-5-wrap #nf-field-5:active,
#nf-field-84-wrap #nf-field-84:hover, #nf-field-84-wrap #nf-field-84:active {
	background: #0071a9;
	color:#fff;
}
.nf-response-msg {padding: 20px;}
#nf-form-errors-2 {
	text-align: center;
    padding-bottom: 20px;
}

#nf-field-105 {
    background: transparent;
    border: none;
    padding: 0;
    height: auto;
}
#nf-field-105-wrap .ninja-forms-req-symbol {opacity: 0;}
#nf-field-105-container {margin-top:-20px;}


a.btn {
	background: #2ea3f2;
    color: #fff;
    padding: 15px 20px;
    text-transform: uppercase;
}
a.btn:hover, a.btn:active {
	background: #0071a9 !important;
}


/* FIX NINJA FORM CHECKBOX */
.listradio-wrap .nf-field-element label.nf-checked-label:before {
	top: 4px !important;
}
.listradio-wrap .nf-field-element label:after {
	top: 0 !important;
}


/* PRENOTAZIONE SPAZI E VISITE GUIDATE */
.page-id-4014 .et_pb_blurb_position_left .et_pb_blurb_container {padding-left:0;}
.page-id-4014 .et_pb_blurb_content {max-width:100%;}

.formprenotazionespazi label {font-size:14px !important;}
.descripto, .opzionitariffe {margin:40px 0 !important;}
.formprenotazionespazi .descripto .field-wrap, #nf-field-83-wrap, #nf-field-102-wrap {flex-direction:column;}
#nf-field-83-wrap .nf-field-description, #nf-field-102-wrap .nf-field-description, .nf-field-description {margin: 5px 30px;font-size:13px !important;}
.opzionitariffe .nf-field-description {margin: 0 0 10px 0;font-size:13px !important;}
.inviamodulo {text-align:center;}
.inviamodulo input[type=button] {    text-transform: uppercase;padding: 0 40px;background: #2ea3f2;cursor: pointer;font-size: 16px;}

.opzioni_e_tariffe li {display:none;}
.opzioni_e_tariffe .nf-field-description p {display:none;font-style: italic;line-height: 1.2em;font-size: 14px;padding-bottom: 15px;}

div.visiteguidate li.visiteguidate, div.visiteguidate p.visiteguidate,
div.festecompleanno li.festecompleanno, div.festecompleanno p.festecompleanno,
div.spaziesterni li.spaziesterni, div.spaziesterni p.spaziesterni,
div.eventiprivati li.eventiprivati, div.eventiprivati p.eventiprivati,
div.eventiaziendali li.eventiaziendali, div.eventiaziendali p.eventiaziendali {display:block;}

div.visiteguidate div.pulizie {display:none;}
div.visiteguidate .elementor-tab-content.elementor-clearfix.elementor-active {
    position: absolute;
    width: 50vw;
    z-index: 9;
    box-shadow: 0px 5px 10px #00000042;
}
.checkbox-container.label-right .field-wrap>div {
    width: auto !important;
    margin-right: 0;
}

.formprenotazionespazi input, .formprenotazionespazi select, .formprenotazionespazi textarea {
	font-family: "Open Sans",Arial,sans-serif;
	font-size: 14px;
}

.et_pb_toggle.eventiprivati .formprenotazionespazi .organizzazione ul li:nth-child(2) {display:none;}
.et_pb_toggle.eventiaziendali .formprenotazionespazi .organizzazione ul li:first-child {display:none;}



/* COOKIE BAR */
.cli_messagebar_head {font-weight: bold;}
.cli-bar-container>#cookie_action_close_header_reject {
	position: absolute;
	right: 0;
	top: 0;
	background: none !important;
	color: transparent !important;
	font-size: 0;
}
.cli-bar-container>#cookie_action_close_header_reject:after {
	font-family: dashicons;
	content: '\f153';
	font-size:20px;
	color:#767676;
}
.cli-bar-container>#cookie_action_close_header_reject:hover:after {
	color:#ccc;
}


/* Prenotazione eventi */
#rtec label {font-weight:bold;}
.rtec-input-wrapper a {font-size:14px;}
button.rtec-add-child {float:left !important;padding:8px !important;}
input.rtec-submit-button {
    float:right !important;
    background-color: #006fa4;
    color: #fff;
    padding: 10px 30px !important;
    border: none;
    border-radius: 3px;
    margin-bottom: 20px !important;}
input.rtec-submit-button:hover {background-color: #3c9e00;}
#rtec .rtec-form-buttons {overflow:hidden;}


.sottotitolo {color: #0ea0d7;font-size: 18px;}


@media (max-width: 1102px) {
    .sticky header .intestazione1,
    .sticky.error404 .intestazione1 {
        height: 60px;
    }
    header .intestazione2,
    .error404 .intestazione2 {
        align-items: flex-start;
    }
    .sticky .wp-block-site-logo img {
        transform: scale(0.6) translatex(-55px) translateY(-15px)
    }
    
    #mega-menu-wrap-max_mega_menu_1 {margin-top: 10px;}

    .mega-menu-max_mega_menu_1-mobile-open #mega-menu-max_mega_menu_1 {
       margin-top: 45px !important;
    }
    .sticky.mega-menu-max_mega_menu_1-mobile-open #mega-menu-max_mega_menu_1 {
        margin-top: 9px !important;
    }
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link {
        padding: 0 20px !important;
        border-bottom: 1px solid #33bbef;
    }
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
        padding: 0 20px !important;
    }
}

@media (max-width: 767px) {
    .attivitabtn .elementor-button {border-radius: 0 !important;}
    .attivitabtn a {padding: 20px 10px !important;}

    ol.eventinewshome li, body.page-id-12999 ol.tribe-list-widget li {
        width: 100%;
        margin-bottom: 30px;
    }
    /*ol.eventinewshome li img,*/
    body.page-id-12999 ol.tribe-list-widget li img {
        height: 180px;
    }

    .elementor-2707 .elementor-element.elementor-element-488471e1 img,
    .elementor-2707 .elementor-element.elementor-element-7bbe67c3 img {max-width: 100%;}
    .elementor-element-1621acb3, .elementor-element-6e95b90c {margin-top: 20px;}

    div.visiteguidate .elementor-tab-content.elementor-clearfix.elementor-active {
        position: relative;
        width: auto;
        box-shadow: none;
    }
    .elementor-1655 .elementor-element.elementor-element-3d8755d7 > .elementor-widget-container {
        margin:0 0 40px 0;
    }

    .wp-block-post-featured-image img {height: 150px;}
    body:not(.page-id-49) .wp-block-post-featured-image img {object-position: center;}
}

@media (max-width: 640px) {
}

@media (max-width: 480px) {
    .slick-prev, .slick-next {display: none !important;}
}