/*
	LDE integrated styles
	Former child-theme CSS, loaded by Betheme 29.x when the parent theme is active.
*/

/*******************************************************************************
/*******************************************************************************
	AGGIUSTAMENTI
/*******************************************************************************
/******************************************************************************/

/* ZERO VERTICAL MARGIN */
#Content .zero-vertical-margin { margin-top: 0px !important; margin-bottom: 0px !important; }

/* HIDDEN */
.hidden { display: none !important; }

/* MENU DI NAVIGAZIONE */
#Top_bar .top_bar_left { width: 100% !important; }

/* Header/nav hardening: evita che slider o righe WPBakery con margini negativi passino sotto la navigazione. */
#Header,
#Header_wrapper,
#Top_bar {
	position: relative;
	z-index: 10020;
}

#Top_bar,
#Top_bar.is-sticky {
	background: #ffffff !important;
}

#Top_bar .menu_wrapper,
#Top_bar #menu {
	position: relative;
	z-index: 10021;
}

#Top_bar a:focus-visible,
#Action_bar a:focus-visible,
#Side_slide a:focus-visible,
#Top_bar .responsive-menu-toggle:focus-visible {
	outline: 3px solid #f4b000;
	outline-offset: 3px;
}

#Top_bar .menu > li > a {
	box-sizing: border-box;
	min-height: 44px;
}

.mfn-main-slider,
.mfn-rev-slider {
	position: relative;
	z-index: 1;
}

.template-slider #Content {
	position: relative;
	z-index: 0;
}

body.home.template-slider .mfn-main-slider rs-module-wrap,
body.home.template-slider .mfn-main-slider rs-module,
body.home #rev_slider_3_1_wrapper,
body.home #rev_slider_3_1 {
	height: clamp(260px, 61.12vw, 660px);
	min-height: 0;
}

body.home #rev_slider_3_1:not(.revslider-initialised) {
	display: block !important;
	overflow: hidden;
	background: #0079c2;
}

body.home #rev_slider_3_1:not(.revslider-initialised) rs-slides,
body.home #rev_slider_3_1:not(.revslider-initialised) rs-slide {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

body.home #rev_slider_3_1:not(.revslider-initialised) rs-slide:not(:first-child) {
	display: none !important;
}

body.home #rev_slider_3_1:not(.revslider-initialised) img.rev-slidebg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

@media screen and (max-width: 700px) {
	body.home.template-slider .mfn-main-slider rs-module-wrap,
	body.home.template-slider .mfn-main-slider rs-module,
	body.home #rev_slider_3_1_wrapper,
	body.home #rev_slider_3_1 {
		height: clamp(260px, 92vw, 430px);
	}
}

/* ANGOLO DELLA LETTURA - PULSANTE "ESPERIENZE" */
.adl-btn-esperienze { display: none; }

/* LOGO LDC *\/
#menu > ul > li.menu-item-object-custom.last img { width: 40px !important; height: 40px !important; position: relative; top: -5px; }
#menu li a[href="http://www.liberidieducare.it/"] {
	text-indent: -9999px; display: inline-block; width: 40px; height: 40px; background-size: cover; position: relative; top: 10px;
	background: url( ../../uploads/2019/08/logo-liberi-di-educare-48x48.png ) no-repeat scroll center center;
}
.is-sticky #menu li a[href="http://www.liberidieducare.it/"] { top: -5px; }

/* ISCRIVITI ALLA NEWSLETTER */
.school2-newsletter { margin-bottom: 50px; }
.school2-newsletter + .wpcf7-response-output { margin-bottom: 50px !important; }
.school2-newsletter > * { max-width: 500px !important; text-align: center; margin: 15px auto; }
.school2-newsletter p:empty, .school2-newsletter br { display: none; }
.school2-newsletter .dominio { display: none !important; }
.school2-newsletter input[type="submit"] { background: #4BC20A; font-weight: bolder; }
.school2-newsletter input[type="submit"]:disabled:hover { background: #4BC20A; }
.school2-newsletter input[type="submit"]:hover { background: #6BE22A; }
.school2-newsletter .wpcf7-acceptance a { color: white; text-decoration: underline; }
.wpcf7 form.invalid .wpcf7-response-output { background: #ffb900; }
.wpcf7 form.sent .wpcf7-response-output { background: #4BC20A; border-color: #4BC20A !important; }

/* FOOTER */
#Footer .footer_copy { border-top: 1px solid rgba(0, 0, 0, 0.1); }

/* ELIMINAZIONE MARGINI NEGATIVI SETTATI PER LE RIGHE */
#Content .content_wrapper .entry-content .the_content_wrapper > div[class*="vc_row"],
#Content .content_wrapper .entry-content .the_content_wrapper > .wpb-content-wrapper > div[class*="vc_row"],
#Content .content_wrapper .entry-content .the_content_wrapper #summernote > div[class*="vc_row"]
{ margin-top: 0px !important; margin-bottom: 0px !important; }

/* CLS: porta le righe WPBakery full-width alla larghezza finale gia' nel CSS critico. */
#Content .wpb-content-wrapper > .vc_row[data-vc-full-width="true"],
#Content .the_content_wrapper > .vc_row[data-vc-full-width="true"] {
	box-sizing: border-box;
	left: 50% !important;
	margin-left: -50vw !important;
	margin-right: 0 !important;
	max-width: 100vw !important;
	position: relative;
	width: 100vw !important;
}

/* ELIMINAZIONE EMPTY SPACES */
#Content .content_wrapper .entry-content .the_content_wrapper .vc_empty_space { display: none; }

/* CLS: mantieni stabile il layout mobile prima che gli script WPBakery/BeTheme girino. */
#Top_bar #logo img.logo-mobile,
#Top_bar #logo img.logo-mobile-sticky {
	aspect-ratio: 154 / 60;
}

@media screen and (max-width: 767px) {
	#Top_bar #logo img.logo-mobile,
	#Top_bar #logo img.logo-mobile-sticky {
		width: 128px !important;
		height: 50px !important;
		max-height: 50px !important;
		object-fit: contain;
	}

	#Content .wpb-content-wrapper .vc_col-has-fill > .vc_column-inner {
		min-height: initial !important;
	}

	#Content .wpb_single_image .vc_single_image-wrapper.vc_box_border_circle {
		display: block;
		aspect-ratio: 1 / 1;
		line-height: 0;
		overflow: hidden;
	}

	#Content .wpb_single_image .vc_single_image-wrapper.vc_box_border_circle img.vc_single_image-img {
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
	}
}

/* IMMAGINI BUG DELLE IMMAGINI CHE SI APRONO A META' */
.wpb_column.vc_column_container.vc_col-sm-12 > .vc_column-inner > .wpb_wrapper > .wpb_single_image { text-align: center; }
.wpb_column.vc_column_container.vc_col-sm-12 > .vc_column-inner > .wpb_wrapper > .wpb_single_image * { display: block !important; margin: 0px auto !important; width: 100%; }

/* IMMAGINI SISTEMAZIONE */
.wpb_column.vc_column_container.vc_col-sm-12 > .vc_column-inner > .wpb_wrapper > .wpb_single_image.wpb_content_element.vc_align_left { text-align: center !important; width: 100%; }
.wpb_column.vc_column_container.vc_col-sm-12 > .vc_column-inner > .wpb_wrapper > .wpb_single_image.wpb_content_element.vc_align_left > .wpb_wrapper.vc_figure > .vc_single_image-wrapper > img { display: block; width: 100%; }
#MP_WPB_SINGLE_IMAGE { width: auto !important; height: 100% !important; margin-bottom: 0px !important; }
#MP_WPB_SINGLE_IMAGE .wpb_wrapper.vc_figure, #MP_WPB_SINGLE_IMAGE .vc_single_image-wrapper { height: 100% !important; }
#MP_WPB_SINGLE_IMAGE img { position: relative; width: auto !important; height: auto !important; min-width: 100% !important; min-height: 100% !important; max-width: none !important; }
@media screen and (min-width: 1051px) { #MP_WPB_SINGLE_IMAGE { height: 660px !important; } }
@media screen and (max-width: 1050px) { #MP_WPB_SINGLE_IMAGE { height: 632px !important; } }
@media screen and (max-width: 1000px) { #MP_WPB_SINGLE_IMAGE { height: 601px !important; } }
@media screen and (max-width: 950px)  { #MP_WPB_SINGLE_IMAGE { height: 571px !important; } }
@media screen and (max-width: 900px)  { #MP_WPB_SINGLE_IMAGE { height: 540px !important; } }
@media screen and (max-width: 850px)  { #MP_WPB_SINGLE_IMAGE { height: 510px !important; } }
@media screen and (max-width: 800px)  { #MP_WPB_SINGLE_IMAGE { height: 479px !important; } }
@media screen and (max-width: 750px)  { #MP_WPB_SINGLE_IMAGE { height: 449px !important; } }
@media screen and (max-width: 700px)  { #MP_WPB_SINGLE_IMAGE { height: 418px !important; } }
@media screen and (max-width: 650px)  { #MP_WPB_SINGLE_IMAGE { height: 387px !important; } }
@media screen and (max-width: 600px)  { #MP_WPB_SINGLE_IMAGE { height: 357px !important; } }
@media screen and (max-width: 550px)  { #MP_WPB_SINGLE_IMAGE { height: 326px !important; } }
@media screen and (max-width: 500px)  { #MP_WPB_SINGLE_IMAGE { height: 296px !important; } }
@media screen and (max-width: 450px)  { #MP_WPB_SINGLE_IMAGE { height: 265px !important; } }
@media screen and (max-width: 400px)  { #MP_WPB_SINGLE_IMAGE { height: 235px !important; } }
@media screen and (max-width: 350px)  { #MP_WPB_SINGLE_IMAGE { height: 204px !important; } }
@media screen and (max-width: 300px)  { #MP_WPB_SINGLE_IMAGE { height: 174px !important; } }

/* CONTENUTO IN DUE COLONNE */
/* DEBUG *\/
#Content .content_wrapper .entry-content .the_content_wrapper > div[class*="vc_row"] > .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_row > .vc_col-sm-6 .vc_column-inner,
#Content .content_wrapper .entry-content .the_content_wrapper #summernote > div[class*="vc_row"] > .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_row > .vc_col-sm-6 .vc_column-inner
{ border: 1px solid rgba(0,0,0,0.10); }
/**/
#Content .content_wrapper .entry-content .the_content_wrapper > div[class*="vc_row"] > .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_row,
#Content .content_wrapper .entry-content .the_content_wrapper #summernote > div[class*="vc_row"] > .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_row
{ margin-top: 0px !important; }
@media screen and (max-width: 767px)
{
	#Content .content_wrapper .entry-content .the_content_wrapper > div[class*="vc_row"] > .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_row,
	#Content .content_wrapper .entry-content .the_content_wrapper #summernote > div[class*="vc_row"] > .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_row
	{ margin-bottom: 0px !important; }
}

/* BREADCRUMB */
#main-breadcrumb a { color: #0079c2; }

/* SBAVATURE MOBILE */
.wpb_gallery_slides.flexslider ol.flex-control-nav { margin-left: 0px; }
.wpb_wrapper > div.wpb_video_widget  { margin-bottom: 0px; }

/* REVOLUTION SLIDER */
@media screen and (max-width: 700px) {
	rs-module rs-slide > rs-layer-wrap a br { content: ''; }
	rs-module rs-slide > rs-layer-wrap a br:after { content: ' '; }
}

/*******************************************************************************
/*******************************************************************************
	ANNULLAMENTO REGOLE PULSANTI base.css CHE CONFLIGGONO CON IUBENDA
/*******************************************************************************
/******************************************************************************/

#iubenda-cs-banner a:hover.button,
#iubenda-cs-banner a:hover.tp-button
{ text-decoration:inherit; }

#iubenda-cs-banner a.button:after,
#iubenda-cs-banner a.tp-button:after,
#iubenda-cs-banner a.action_button:after,
#iubenda-cs-banner button:after,
#iubenda-cs-banner input[type="submit"]:after,
#iubenda-cs-banner input[type="reset"]:after,
#iubenda-cs-banner input[type="button"]:after
{ content:inherit; position:inherit; left:0; top:0; height:inherit; width:inherit; background:inherit; z-index:inherit; transition:inherit; }

#iubenda-cs-banner a.button:hover:after,
#iubenda-cs-banner a.tp-button:hover:after,
#iubenda-cs-banner a.action_button:hover:after,
#iubenda-cs-banner button:hover:after,
#iubenda-cs-banner input[type="submit"]:hover:after,
#iubenda-cs-banner input[type="reset"]:hover:after,
#iubenda-cs-banner input[type="button"]:hover:after
{ width:inherit; }

#iubenda-cs-banner .button-flat a.button:after,
#iubenda-cs-banner .button-flat a.action_button:after,
#iubenda-cs-banner .button-flat a.tp-button:after,
#iubenda-cs-banner .button-flat button:after,
#iubenda-cs-banner .button-flat input[type="submit"]:after,
#iubenda-cs-banner .button-flat input[type="reset"]:after,
#iubenda-cs-banner .button-flat input[type="button"]:after
{ content:inherit; position:inherit; left:0; top:0; height:inherit; width:inherit; z-index:inherit; transition:inherit; background:inherit; opacity:inherit; }

#iubenda-cs-banner .button-flat a.button:hover:after,
#iubenda-cs-banner .button-flat a.action_button:hover:after,
#iubenda-cs-banner .button-flat a.tp-button:hover:after,
#iubenda-cs-banner .button-flat button:hover:after,
#iubenda-cs-banner .button-flat input[type="submit"]:hover:after,
#iubenda-cs-banner .button-flat input[type="reset"]:hover:after,
#iubenda-cs-banner .button-flat input[type="button"]:hover:after
{ width:inherit; opacity:inherit; }

#iubenda-cs-banner .button-round a.button:after,
#iubenda-cs-banner .button-round a.action_button:after,
#iubenda-cs-banner .button-round a.tp-button:after,
#iubenda-cs-banner .button-round button:after,
#iubenda-cs-banner .button-round input[type="submit"]:after,
#iubenda-cs-banner .button-round input[type="reset"]:after,
#iubenda-cs-banner .button-round input[type="button"]:after
{ content:inherit; position:inherit; left:0; top:0; height:inherit; width:inherit; z-index:inherit; transition:inherit; background:inherit; opacity:inherit; }

#iubenda-cs-banner .button-round a.button:hover:after,
#iubenda-cs-banner .button-round a.action_button:hover:after,
#iubenda-cs-banner .button-round a.tp-button:hover:after,
#iubenda-cs-banner .button-round button:hover:after,
#iubenda-cs-banner .button-round input[type="submit"]:hover:after,
#iubenda-cs-banner .button-round input[type="reset"]:hover:after,
#iubenda-cs-banner .button-round input[type="button"]:hover:after
{ width:inherit; opacity:inherit; }

/*******************************************************************************
/*******************************************************************************
	ANGOLO DELLA LETTURA
/*******************************************************************************
/******************************************************************************/

/* GENERAL */
body.page-template-angolo-della-lettura #Content { padding: 0px; margin: 0px; }
#adl * { box-sizing: border-box; }
#adl .btn {
	font-size: 16px; line-height: normal; padding: 18px 25px; border-radius: 2em; font-weight: bolder;
	display: inline-block; vertical-align: middle; cursor: pointer; user-select: none; text-decoration: none;
}
#adl .btn:hover { opacity: 0.8; }
#adl .btn.btn-red	 { background-color: #dd3333; color: #ffffff; }
#adl .btn.btn-yellow { background-color: #ffcc00; color: #000000; }
#adl .btn.btn-blue	 { background-color: #0079c2; color: #ffffff; }

/* COVER */
#adl-cover img { width: 100%; display: block; }

/* CENTRAL */
#adl-central { padding: 0px 5%; width: 100%; }
#adl-central #adl-central-inside { max-width: 1320px; margin: 0px auto; width: 100%; }

/* BREADCRUMB */
#main-breadcrumb { margin-bottom: 50px; }

/* SIDEBAR BACKGROUND WORKAROUND */
#adl-central { padding-bottom: 50px; }
#adl-central #adl-central-inside { display: table; border-collapse: collapse; background: url( angolo-della-lettura/graphic/bg-yellow.png ) repeat-y scroll top left; }
#adl-sidebar { display: table-cell; }
#adl-content { display: table-cell; background: #FFF; }
@media screen and (max-width: 767px)
{
	#adl-central #adl-central-inside, #adl-sidebar, #adl-content { display: block; }
}

/* SIDEBAR */
#adl-sidebar { float: left; width: 30%; padding: 30px 15px; background: #FFCC00; }
#adl-sidebar #adl-title h1 { font-size: 36px; line-height: 40px; margin-top: 35px; }

/* CONTENT */
#adl-content { float: left; width: 70%; padding: 50px; font-size: 16px; line-height: 30px; }
#adl-content h2 { font-size: 30px; line-height: 33px; margin: 0px; padding: 0px 0px 15px; border-bottom: 3px solid #0079c2; color: #0079c2; }

/* PROSPETTO */
#adl .prospetto { margin-top: 50px; }
#adl .prospetto .copertina { float: left; width: 50%; text-align: center; }
#adl .prospetto .copertina img { display: block; margin: 0px auto; }
#adl img { max-width: 100%; height: auto; }
#adl .prospetto .attributi { float: left; width: 50%; }
#adl .prospetto .attributi .label {  }
#adl .prospetto .attributi .valore { font-weight: bolder; }
#adl .prospetto .anteprima { margin-top: 50px; }
#adl .prospetto .descrizione { margin: 50px 0px; }
@media screen and (max-width: 1100px)
{
	#adl .prospetto br[clear="both"] { display: none; }
	#adl .prospetto .attributi, #adl .prospetto .copertina { float: none; width: 100%; }
	#adl .prospetto .copertina { text-align: left; }
	#adl .prospetto .copertina img { margin: 0px; }
	#adl .prospetto .attributi { margin-top: 50px; }
}

/* LINK */
#adl-link { margin-top: 50px; }
#adl-link .adl-btn-home { float: left; }
#adl-link .adl-btn-esperienze { float: right; }
@media screen and (max-width: 900px)
{
	#adl-link > div { float: none !important; }
	#adl-link > div + div { margin-top: 20px !important; }
}

/* NAV */
#adl-nav { margin-top: 50px; }
#adl-nav .header { text-align: center; border-bottom: 3px solid #ebebeb; text-align: center; }
#adl-nav .header span { display: inline-block; padding: 0px 15px; background: white; position: relative; top: 15px; font-weight: bolder; }
#adl-nav .items { margin-top: 15px; }
#adl-nav .items .span-4, #adl-nav .items .span-8, #adl-nav .items .span-12 { clear: both; }
#adl-nav .item { float: left; width: 25%; }
#adl-nav .item .inside { padding: 30px 20px; text-align: center; }
#adl-nav .item .inside h4 { font-size: 18px; line-height: 20px; margin: 0px 0px 5px; }
#adl-nav .item .inside h4 a { color: #0079c2; text-decoration: none; }
#adl-nav .item .inside .edit { font-weight: bolder; }
@media screen and (max-width: 1100px)
{
	#adl-nav .items .span { clear: none; }
	#adl-nav .items .span-3, #adl-nav .items .span-6, #adl-nav .items .span-9, #adl-nav .items .span-12 { clear: both; }
	#adl-nav .item { width: 33%; }
}
@media screen and (max-width: 950px)
{
	#adl-nav .items .span { clear: none; }
	#adl-nav .items .span-2, #adl-nav .items .span-4, #adl-nav .items .span-6, #adl-nav .items .span-8, #adl-nav .items .span-10, #adl-nav .items .span-12 { clear: both; }
	#adl-nav .item { width: 50%; }
}
@media screen and (max-width: 450px)
{
	#adl-nav .items .span { clear: none; }
	#adl-nav .item { float: none; width: 100%; }
}

/* NEWSLETTER */
#adl-newsletter { background: #0079C2; padding: 50px 0px 20px; text-align: center; }
#adl-newsletter h2 { color: white; font-size: 24px; }

/* MOBILE */
@media screen and (max-width: 767px)
{
	#adl-sidebar, #adl-content { float: none !important; width: 100% !important; }
	#adl-central { padding: 0px; }
	#adl-content { padding: 30px 24px; }
	#adl-sidebar #adl-title h1 { font-size: 32px; line-height: 36px; margin-top: 10px; }
}

/*******************************************************************************
/*******************************************************************************
	AGGIUSTAMENTI SUCCESSIVI
/*******************************************************************************
/******************************************************************************/

/* ----------------------------------------------------------------------------- 2024 SETTEMBRE */

/* CONTENT PADDING SUPERIORE ELIMINO */
#Content { padding-top: 0px !important; }

/* ----------------------------------------------------------------------------- 2024 GENNAIO */

/* ELIMINO RIGA BIANCA PRIMA DEL FOOTER */
main.sections_group > .entry-content > section.mcb-section > .section_wrapper > .the_content_wrapper { margin-bottom: 0px; }

/* ELIMINO MARGIN CUSTOM DA RIGHE ICONE (usate per esempio in Attività) */
main.sections_group > .entry-content > section.mcb-section > .section_wrapper > .the_content_wrapper > .wpb-content-wrapper > .vc_row > .vc_col-has-fill ~ .wpb_column .wpb_wrapper .vc_row[class*="vc_custom_"] { margin-top: 0px !important; margin-bottom: 0px !important; }

/* NASCONDO RECAPTHCA */
.grecaptcha-badge { visibility: hidden !important; }
