/*
Theme Name: Asils 2
Description: Riprogettazione del tema origina by EM3DESIGN.it V4 2025
Version: 2.0
Author: EM3DESIGN
Author URI: http://www.em3design.it/
Template: Divi
*/
@import url("../Divi/style.css");

/*    #a81010 rosso   */
/*    #33495E blu     */


/* Ombra testo slider */
div#slide-home .et_pb_slide_description .et_pb_slide_content, div#slide-home .et_pb_slide_description .et_pb_slide_content * {
    text-shadow: 0 0 30px rgba(0, 0, 0, .8), 0 0 10px rgba(0, 0, 0, .8) !important;
}
/* Bottone previw Divi */
button.et-vb-page-bar-save-button.et-vb-page-bar-save-button--preview {
    display: none;
}
/* Menu */
body #menu-top.et_pb_menu .et_pb_menu__menu>nav>ul>li>ul.sub-menu >li > a {
    line-height: 1.6;
}
.et_pb_sticky--top .et_pb_menu .et_pb_menu__search-container button.et_pb_menu__icon.et_pb_menu__close-search-button {
    top: 30px;
}
body #menu-top.et_pb_menu .et_pb_menu__menu>nav>ul>li>ul {
    top: calc(100% + 15px);
}
body .et_pb_sticky--top #menu-top.et_pb_menu .et_pb_menu__menu>nav>ul>li>ul {
    top: calc(100% + 5px);
}
#menu-top.et_pb_menu .et_pb_menu__menu>nav>ul>li.scuole {
    position: inherit;
}
#menu-top.et_pb_menu .et_pb_menu__menu>nav>ul>li.scuole:hover > ul.sub-menu {
    display: flex
;
}
#menu-top.et_pb_menu .et_pb_menu__menu>nav>ul>li.scuole > ul.sub-menu {
    width: 100%;
    display: none;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-bottom: 0;
        padding-right: 20px;
}

#menu-top.et_pb_menu .et_pb_menu__menu, .et_pb_sticky--top #menu-top .et_pb_menu__wrap {
    position: initial !important;
}
.header-asils:not(.et_pb_sticky--top) #menu-top.et_pb_menu .et_pb_menu__menu ul.et-menu > li > a {
    padding-bottom: 14px;
    padding-top: 14px;
}
#menu-top.et_pb_menu .et_pb_menu__menu>nav>ul>li.scuole > ul.sub-menu > li {
    max-width: 16.66%;
    box-sizing: border-box;
    padding: 0 0 0 20px;
}

#menu-top.et_pb_menu .et_pb_menu__menu>nav>ul>li.scuole ul.sub-menu > li > ul.sub-menu {
    visibility: visible;
    position: initial;
    box-shadow: none;
    border: none;
    padding-top: 0;
    opacity: .5;
    max-width: 100%;
}

#menu-top.et_pb_menu .et_pb_menu__menu>nav>ul>li.scuole > ul.sub-menu > li a {
    padding: 0;
    max-width: 100%;
}

#menu-top.et_pb_menu .et_pb_menu__menu>nav>ul>li.scuole ul.sub-menu > li > ul.sub-menu > li {
    max-width: 100%;
    padding: 0 0 0 10px;
}

#menu-top.et_pb_menu .et_pb_menu__menu>nav>ul>li.scuole > ul.sub-menu > li a::after {
    display: none;
}

#menu-top.et_pb_menu .et_pb_menu__menu>nav>ul>li.scuole ul.sub-menu > li > ul.sub-menu > li:before {
    content: "►";
    position: absolute;
    left: 0;
    font-size: 50%;
}
#menu-top.et_pb_menu .et_pb_menu__menu>nav>ul>li.scuole ul.sub-menu > li > ul.sub-menu > li > a {
    font-size: 12px;
}
.has_et_pb_sticky div#menu-top button.et_pb_menu__search-button {
    top: -6px !important;
}
/* Nascondi tasto BUILDER da frontend se non già utilizzato nella pagina o post*/
body:not(.et_pb_pagebuilder_layout) li#wp-admin-bar-et-use-visual-builder {
    display: none;
}
/* .griglia-blog */
.griglia-blog h1.not-found-title {
    text-align: center;
    font-size: 40px !important;
}
.griglia-blog h1.not-found-title + p {
    text-align: center;
}
.griglia-blog .et_pb_image_container {
    margin: -10px -10px 20px;
}
.griglia-blog.max-height-150 .et_pb_blog_grid .et_pb_image_container a img {
    max-height: 130px;
    min-width: 0;
    width: auto;
    margin-left: 50% !important;
    transform: translateX(-50%);
}
/* .griglia-scuole-sicure LINK */
.griglia-scuole-sicure > .et_pb_column > .et_pb_image a:before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    z-index: 2;
    top: 0;
    transition: all .2s;
}
.griglia-scuole-sicure > .et_pb_column > .et_pb_image a:hover:before {
    transform: scale(1.1);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}
.griglia-scuole-sicure > .et_pb_column {
    transition: transform .2s;
}
.griglia-scuole-sicure > .et_pb_column:hover {
    transform: scale(1.1);
}

.griglia-scuole-sicure > .et_pb_column > div:first-child {
    padding-top: 10px;
}

.griglia-scuole-sicure > .et_pb_column > div:last-child {
    padding-bottom: 10px;
}
.griglia-scuole-sicure > .et_pb_column > .et_pb_image {
    position: unset;
}

/* --- */
::selection {
    background-color: var(--gcid-primary-color);
    color: white; 
  }
nav.et-menu-nav li.current-menu-item > a {
    font-weight: bold;
    color: #000 !important;
}

nav.et-menu-nav li.current-menu-item > a:hover {
    cursor: default;
}
.et_pb_social_media_follow .et-social-amazon a.icon::before {
    content: "";
    font-family: FontAwesome !important;
    font-weight: 900 !important;
    font-size: 18px;
}
div#content-area > div#left-area {
    margin-bottom: 50px;
}
#content-area a {
    color: var(--gcid-primary-color);
    border-bottom: 2px dashed;
}
#content-area a:hover {
    border-bottom-style: solid;
}
#content-area div#sidebar {
    text-align: center;
}
#content-area div#sidebar a:hover {
    opacity: .7; 
}
#content-area div#sidebar a {
    border-bottom: none;
    transition: .5s;
}
div#sidebar .widget_nav_menu li a {
    color: #666;
    font-size: 14pX;
    padding-bottom: 0;
}
div#sidebar h4.widgettitle {
    margin-bottom: 1em;
}

div#sidebar a.sider-button {
    background-color: var(--gcid-primary-color);
    font-weight: 600;
    font-size: 16px !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-width: 0px;
    border-color: #333;
    border-style: solid;
    transition-property: background-color;
    transition-duration: 300ms;
    transition-timing-function: ease;
    transition-delay: 0ms;
    color: #fff;
    padding: 10px 20px;
    margin-bottom: 20px !important;
    display: block;
    position: relative;
}

div#sidebar a.sider-button:hover {
    background-color: var(--gcid-secondary-color);
}
div#sidebar .ricerca-scuole a.sider-button {
    margin-top: 100px;
}
div#sidebar .ricerca-scuole a.sider-button:before {
    position: absolute;
    content: '';
    font-family: FontAwesome !important;
    font-size: 60px;
    color: var(--gcid-primary-color);
    text-align: center;
    display: block;
    width: 100%;
    left: 0;
    top: -60px;
    transition-duration: 300ms;
    transition-timing-function: ease;
}
div#sidebar .ricerca-scuole a.sider-button:hover:before {
    color: var(--gcid-secondary-color);
    transform: scale(1.1) rotate(-15deg);
}
div#sidebar .ricerca-scuole img {
    margin-bottom: 20px;
}
div#sidebar div.widget_nav_menu {
    margin-bottom: 0;
    row-gap: 0;
}

div#sidebar a {
    color: var(--gcid-primary-color);
}
.et_right_sidebar h1, .et_right_sidebar h2, .et_right_sidebar h3, .et_right_sidebar h4, .et_right_sidebar h5, .et_right_sidebar h6 {
    margin-bottom: 1em;
}
div.av-special-heading-tag {
    position: relative;
    margin: 45px 0;
}
div.av-special-heading-tag .testo {
    background: #fff;
    padding-right: .5em;
    z-index: 1;
    position: relative;
    display: inline-block;
    font-weight: bold;
    font-size: 20px;
    color: #333;
}
div.av-special-heading-tag .tratto {
    display: block;
    width: 100%;
    height: 1px;
    background: #e2e2e2;
    position: absolute;
    top: 15px;
    z-index: 1;
}
.button-inline a {
    font-weight: 600;
    color: var(--gcid-body-color) !important;
    font-size: 16px !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-width: 1px !important;
    border-color: var(--gcid-body-color);
    border-style: solid !important;
    transition-property: all;
    transition-duration: 300ms;
    transition-timing-function: ease;
    transition-delay: 0ms;
    padding: 10px 20px;
    margin-bottom: 20px !important;
    display: inline-block;
}

.button-inline p {
    display: none;
}

.button-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
        margin-top: 30px;
}

.button-inline a:hover {
    background-color: var(--gcid-secondary-color);
    color: #fff !important;
}
.form-contatto-scuole h2 {
    margin-bottom: 20px;
}
.testo-pagina-scuole h1, .testo-pagina-scuole h2, .testo-pagina-scuole h1, .testo-pagina-scuole h3 {
    margin-bottom: .8em;
}
/* Blog .news-home */
.news-home .et_pb_blog_grid .et_pb_post {
    border: none;
}

.news-home .et_pb_blog_grid .et_pb_post a.entry-featured-image-url {
    border-radius: 0;
}

.news-home .et_pb_blog_grid .et_pb_post h2.entry-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Aggiunge i puntini di sospensione per il testo in eccesso */
    display: -webkit-box;
    /* Usa layout flessibile WebKit */
    white-space: normal;
    /* Permette al testo di andare a capo */
    /* Aggiungo anche supporto per altri browser come fallback, anche se non esiste nativo multi-line clamp senza webkit */
    max-height: calc(3 * 1.2em);
    /* 3 righe di contenuto */
    line-height: 1.2em;
    /* Mantiene l'interlinea uniforme con il design */
    margin-bottom: 10px;
}

.news-home .et_pb_blog_grid .et_pb_post .et_overlay::before {
    background: var(--gcid-primary-color);
    padding: 20px;
    border-radius: 50%;
}

.news-home .et_pb_blog_grid .et_pb_post .et_overlay {
    transform: rotate(45deg) scale(2);
}

.news-home .et_pb_blog_grid .et_pb_post:hover .et_overlay {
    transform: rotate(0) scale(1);
}
/* Gravity */

input.gform_button.button, input.gform_next_button.button, input.gform_previous_button.button {
    background-color: var(--gcid-primary-color) !important;
    font-weight: 600;
    font-size: 16px !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-width: 0px;
    border-style: solid;
    transition-property: background-color;
    transition-duration: 300ms;
    transition-timing-function: ease;
    transition-delay: 0ms;
    color: #fff !important;
    padding: 10px 20px !important;
    margin: auto;
    cursor: pointer;
}

input.gform_button.button:hover , input.gform_next_button.button:hover, input.gform_previous_button.button:hover {
    background-color: var(--gcid-secondary-color) !important;
}
input.gform_next_button.button {
    float: right;
}
input.gform_previous_button.button + input.gform_button.button {
    float: right;
}
p.gform_required_legend {
    display: none;
}
button.gform_save_link.button {
    border: none;
}
.gform-footer.gform_footer.top_label {
    padding-bottom: 0 !important;
}

.gform-body.gform_body .privacy label {
    line-height: 1.4;
    opacity: .5;
    font-size: 80%;
}
.gform_wrapper.gravity-theme .ginput_container_date input {
    width: 100%;
}
.gform-body.gform_body .input-centrato input {
    text-align: center;
}
.gform_wrapper.gravity-theme .gfield_label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
}
#main-content .gform_wrapper.gravity-theme input:not([type="submit"]) {
    padding: 10px 20px;
    border: 1px solid #bbb;
}
#main-content .gform_wrapper.gravity-theme .nolabel label {
    display: none !important;
}
#main-content .gform_wrapper.gravity-theme input::placeholder, #main-content .gform_wrapper.gravity-theme textarea::placeholder {
    color: #bbb;
}
/* Filtro */
.reactiveInfoWindowWrapper .reactiveInfoWindowContents {
    display: none;
}

.reactiveInfoWindowWrapper .reactiveInfoWindowImage {
    height: auto !important;
    max-height: 100px;
}

.reactiveInfoWindowWrapper .reactiveInfoWindowImage img {
    object-fit: scale-down !important;
    padding: 5px;
}

.react-grid-layout .reactiveGridTypeGinie {
    border: 1px solid #eee;
    width: 24% !important;
    padding: 0 5px 10px;
    margin: 0 .5% 1%;
    background-color: #fff;
    transition: transform .2s;
    -ms-flex-preferred-size: unset;
    flex-basis: unset;
}

.react-grid-layout .reactiveGridTypeGinie:hover {
    -ms-transform: scale(1.1);
    /* IE 9 */
    webkit-transform: scale(1.1);
    /* Safari 3-8 */
    transform: scale(1.1);
    z-index: 2;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

.react-grid-layout .reactiveGridTypeGinie .reactiveGridDetails {
    width: 150px;
    height: 130px;
    padding: 0;
    margin: 0 auto;
}

.react-grid-layout .reactiveGridTypeGinie .reactiveGridContents {
    text-align: center;
}

.react-grid-layout .reactiveGridTypeGinie .reactiveGridDetails .reactiveGridImage img {
    object-fit: scale-down !important;
}

.react-grid-item.ricerca-testuale {
    max-width: 750px;
    position: relative !important;
    margin: 0 auto;
}

.rq-search-title {
    height: 25px;
}

.rq-search-title h4 {
    float: left;
}

.rq-search-title span {
    float: right;
}

.phone-info span a.header-button {
    min-width: fit-content;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    font-weight: 600;
    font-family: Lato, HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    /*background-color: #a81010;*/
    background-color: #33495E;
    color: #fff !important;
    height: 42px;
    border: none;
    line-height: 1.2em;
    box-sizing: border-box;
    margin-top: -10px;
}

.phone-info span a.header-button:hover,
button.reuseAutoSearchButton___:hover {
    background-color: #000000 !important;
    color: #fff !important;
}

button.reuseAutoSearchButton___ {
    min-width: fit-content;
    padding: 0px 20px !important;
    border-radius: 0 10px 10px 0 !important;
    font-weight: 600;
    font-family: Lato, HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    /*background-color: #a81010 !important;*/
    background-color: #33495E !important;
    width: 230px !important;
    min-width: 180px;
}

button.reuseAutoSearchButton___:before,
button.reuseAutoSearchButton___:before,
.phone-info span a.header-button:before {
    content: "\f179";
    font-family: dashicons;
    font-size: 130%;
    padding-right: 8px;
    font-weight: normal;
    margin-bottom: -2px;
    vertical-align: middle;
}

input#reactiveAutoComplete.reuseInputField___ {
    border-radius: 10px 0 0 10px !important;
    padding-left: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-id-4585 #inostriplus .av-parallax.enabled-parallax.active-parallax,
.page-id-4637 #inostriplus .av-parallax.enabled-parallax.active-parallax {
    transform: none !important;
}

.mappa-filtro-scuole .gm-style-iw-a {
    display: none;
}

.gm-style .gm-style-iw-t {
    /*popup con indirizza scuole nella mappa*/
    display: none !important;
}

/*mappa + filtri mobile*/
.reactiveToggleBtnsWrapper___2h4eQ.mobileFilterDoubleBtn__.reactiveToggleBtnsWrapper___ {
    position: relative;
    margin: 110px 0 0;
}

.reactiveToggleBtnsWrapper___2h4eQ.mobileFilterDoubleBtn__.reactiveToggleBtnsWrapper___:lang(it):before,
.reactiveToggleBtnsWrapper___2h4eQ.mobileFilterDoubleBtn__.reactiveToggleBtnsWrapper___:lang(en):before {
    content: "Usa la mappa o i filtri per trovare la tua scuola";
    position: absolute;
    top: -35px;
    font-size: 14px;
}

.reactiveToggleBtnsWrapper___2h4eQ.mobileFilterDoubleBtn__.reactiveToggleBtnsWrapper___:lang(en):before {
    content: "Use the map or the filter to find your school";
}

button.reactiveTypeToggleBtn___1Ts0z.reactiveTypeToggleBtn___.mobileTabMapBtn__:lang(it) {
    font-size: 0;
    border-radius: 20px 0 0 20px;
}

button.reactiveTypeToggleBtn___1Ts0z.reactiveTypeToggleBtn___.mobileTabSearchBtn__:lang(it) {
    font-size: 0;
    border-radius: 0 20px 20px 0;
}

button.reactiveTypeToggleBtn___1Ts0z.reactiveTypeToggleBtn___.mobileTabMapBtn__:lang(it):after {
    content: "Mappa";
    font-size: 16px;
    padding-left: 5px;
    font-weight: 600;
    line-height: 1;
}

button.reactiveTypeToggleBtn___1Ts0z.reactiveTypeToggleBtn___.mobileTabSearchBtn__:lang(it):after {
    content: "Filtri";
    font-size: 14px;
    padding-left: 5px;
}

div#et-main-area .filtro-home button.reactiveTypeToggleBtn___1Ts0z.reactiveTypeToggleBtn___.mobileTabMapBtn__ {
    border-radius: 20px;
    max-width: 100%;
    padding: 3px 30px 0;
    height: auto;
    background-color: #000;
}

div#et-main-area button.reactiveTypeToggleBtn___1Ts0z.reactiveTypeToggleBtn___.mobileTabMapBtn__,
div#et-main-area .reactiveToggleBtnsWrapper___2h4eQ .reactiveTypeToggleBtn___1Ts0z {
    margin-right: 2px;
    background-color: #000;
}

div#et-main-area .reactiveToggleBtnsWrapper___2h4eQ.mobileFilterSingleBtn__.reactiveToggleBtnsWrapper___ {
    position: absolute;
    bottom: auto;
    max-width: 100%;
    top: -28px;
}

.reactiveToggleBtnsWrapper___2h4eQ .reactiveTypeToggleBtn___1Ts0z:first-child:before,
.reactiveToggleBtnsWrapper___2h4eQ .reactiveTypeToggleBtn___1Ts0z:last-child:before {
    font-size: 14px;
}

/*END mappa + filtri mobile*/
.em3design-search {
    top: 20px;
}

.em3design-search>div,
.em3design-search+.griglia-scuole>div {
    max-width: 1030px;
    margin: 0 auto;
}

.em3design-search iframe {
    max-width: 1030px;
    margin: 0 auto;
}

.em3design-search .react-grid-layout {
    height: 100px !important;
}

.em3design-search.react-resizable .react-grid-layout {
    height: 100px !important;
}

.em3design-search .react-grid-layout .react-grid-item {
    float: left;
    width: 20% !important;
    position: relative !important;
    transform: translate(0, 0) !important;
    height: 38px !important;
}

.em3design-search.react-resizable .react-grid-layout .react-grid-item {
    height: auto !important;
}

.em3design-search .react-grid-layout .react-grid-item .reactiveNormSearchGridContents___ {
    padding: 4px;
}

.em3design-search .react-grid-layout .react-grid-item .reactiveNormSearchGridContents___ .reuseCheckboxParrentWrapper___ {
    background-color: transparent;
    padding: 0 10px;
    max-width: 100%;
    max-height: none;
    opacity: 0;
    height: 0;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.em3design-search .react-grid-layout .react-grid-item .reuseFormWrapper___30qo6 .reuseLabelsWrapper___2mQdc {
    margin-bottom: 0;
}

.em3design-search .react-grid-layout .react-grid-item:hover .reactiveNormSearchGridContents___ .reuseCheckboxParrentWrapper___ {
    opacity: 1;
    height: auto;
    padding: 10px 10px 12px;
    overflow: hidden;
}

.em3design-search .react-grid-layout .react-grid-item:hover .reactiveSElParentcheckbox___ {
    border-radius: 10px;
    background-color: #F5F5F5;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

/*bottone reset*/
.em3design-search .react-grid-layout .react-grid-item.reset {
    /*width: 100% !important;*/
    float: right;
    position: absolute;
    top: -115px !important;
}

.viewSearchBlock .reactiveGridBox___3k99S.reactiveSingleBoxFrontendView___12dCC.reactiveSingleBox___.reactiveSingleBoxFrontendView___:first-child {
    padding-top: 80px;
}

.reactiveGridBox___3k99S.reactiveSingleBoxFrontendView___12dCC.reset.reactiveSingleBox___.reactiveSingleBoxFrontendView___ {
    position: absolute;
    top: 0;
}

.em3design-search .react-grid-layout .react-grid-item.reset button#ResetButton {
    border: none;
    /*border-radius: 10px;*/
    background-color: transparent;
    color: #000;
    padding: 10px;
    width: 100%;
    text-transform: uppercase;
    opacity: .5;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
    text-align: right;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 800;
}

.reset button#ResetButton {
    border: none;
    padding: 12px 25px 12px 20px;
    border-radius: 25px;
    color: rgb(68, 68, 68);
    font-weight: bold;
}

.reset button#ResetButton:hover {
    color: #fff;
    background-color: #000;
}

.em3design-search .react-grid-layout .react-grid-item.reset button#ResetButton:after,
.reset button#ResetButton:before {
    font-family: ETmodules;
    content: "";
    font-size: 150%;
    padding-left: 4px;
    font-weight: normal;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.em3design-search .react-grid-layout .react-grid-item.reset button#ResetButton:before {
    content: "";
}

.reset button#ResetButton:before {
    padding-left: 0;
    padding-right: 4px;
}

.em3design-search .react-grid-layout .react-grid-item.reset button#ResetButton:hover {
    opacity: 1;
    letter-spacing: 3px;
    color: #a81010;
}

/* END bottone reset*/
.em3design-search .react-grid-layout .react-grid-item h3 {
    text-align: center;
    background-color: #33495e;
    color: #fff;
    border-radius: 10px;
    padding-bottom: 0;
}

.em3design-search .react-grid-layout .react-grid-item.arancio h3 {
    background-color: #EE7E37;
}

.em3design-search .react-grid-layout .react-grid-item.rosso h3 {
    background-color: #a81010;
}

.em3design-search .react-grid-layout .react-grid-item.celeste h3 {
    background-color: #2d7eb5;
}

.em3design-search .react-grid-layout .react-grid-item .reuseCheckboxWrapper___7eo4t {
    display: inline-block;
}

.em3design-search .react-grid-layout .react-grid-item .reuseCheckbox___3EAJn+label {
    align-items: center;
    width: 100%;
}

.em3design-search .reuseCheckboxWrapper___7eo4t .reuseCheckboxField___2bxQj {
    display: block;
}

.em3design-search span.reuseItemCount___wu_k1.reuseItemCount___ {
    position: absolute;
    right: 0;
    width: 23px;
    text-align: center;
    height: 19px !important;
    top: 0;
}

.em3design-search .nascondi.reactiveSingleBoxAdminView___ {
    display: block;
}

.nascondi {
    display: none;
}

.simboli-em3design {
    text-align: center;
}

.simboli-em3design span.campagna,
.simboli-em3design span.mare,
.simboli-em3design span.citta,
.simboli-em3design span.XL,
.simboli-em3design span.L,
.simboli-em3design span.M,
.simboli-em3design span.S,
.simboli-em3design span.xl,
.simboli-em3design span.l,
.simboli-em3design span.m,
.simboli-em3design span.s,
.simboli-em3design span.piccolo-centro,
.simboli-em3design span.handicap,
.icone-post,
.icona-descrizione + ul li:before {
    display: inline-block;
    width: 33px;
    height: 33px;
    margin: 10px 2px 0;
    background: url(https://hic.em3design.it/asils/wp-content/themes/Asils_2/images/icone-scuole-asils-3.png) no-repeat scroll 0 0 transparent;
    opacity: .5;
}

.simboli-em3design span.mare,
.icone-post.mare {
    background-position-x: -33px;
}

.simboli-em3design span.citta,
.icone-post.citta {
    background-position-x: -66px;
}

.simboli-em3design span.XL,
.simboli-em3design span.xl,
.icone-post.xl,
.icone-post.XL {
    background-position-x: -99px;
}

.simboli-em3design span.L,
.simboli-em3design span.l,
.icone-post.l,
.icone-post.L {
    background-position-x: -132px;
}

.simboli-em3design span.M,
.simboli-em3design span.m,
.icone-post.m,
.icone-post.M {
    background-position-x: -165px;
}

.simboli-em3design span.S,
.simboli-em3design span.s,
.icone-post.s,
.icone-post.S {
    background-position-x: -198px;
}

.simboli-em3design span.piccolo-centro,
.icone-post.piccolo-centro {
    background-position-x: -231px;
}

.simboli-em3design span.handicap,
.icone-post.handicap {
    background-position-x: -264px;
}

.icone-post+.icona-descrizione:after {
    display: block;
    color: #666;
    line-height: 1.2;
    padding-left: 45px;
    margin-top: -33px;
}

.icone-post.mare+.icona-descrizione:lang(it):after {
    content: "Scuola al Mare";
}

.icone-post.citta+.icona-descrizione:lang(it):after {
    content: "Scuola in Città";
}

.icone-post.piccolo-centro+.icona-descrizione:lang(it):after {
    content: "Scuola in Piccolo Centro";
}

.icone-post.campagna+.icona-descrizione:lang(it):after {
    content: "Scuola in Campagna";
}

.icone-post.S+.icona-descrizione:lang(it):after,
.icone-post.s+.icona-descrizione:lang(it):after {
    content: "Scuola di dimensione Piccola";
}

.icone-post.M+.icona-descrizione:lang(it):after,
.icone-post.m+.icona-descrizione:lang(it):after {
    content: "Scuola di dimensione Media";
}

.icone-post.L+.icona-descrizione:lang(it):after,
.icone-post.l+.icona-descrizione:lang(it):after {
    content: "Scuola di dimensione Grande";
}

.icone-post.XL+.icona-descrizione:lang(it):after,
.icone-post.xl+.icona-descrizione:lang(it):after {
    content: "Scuola di dimensione Molto Grande";
}

.icone-post.handicap+.icona-descrizione:lang(it):after {
    content: "Scuola adatta a portatori di Handicap";
}

.icone-post.mare+.icona-descrizione:lang(en):after {
    content: "School by the sea";
}

.icone-post.citta+.icona-descrizione:lang(en):after {
    content: "City School";
}

.icone-post.piccolo-centro+.icona-descrizione:lang(en):after {
    content: "Town School";
}

.icone-post.campagna+.icona-descrizione:lang(en):after {
    content: "Italian \"Borgo\" - Village";
}

.icone-post.S+.icona-descrizione:lang(en):after,
.icone-post.s+.icona-descrizione:lang(en):after {
    content: "Small-sized school";
}

.icone-post.M+.icona-descrizione:lang(en):after,
.icone-post.m+.icona-descrizione:lang(en):after {
    content: "Medium-sized school";
}

.icone-post.L+.icona-descrizione:lang(en):after,
.icone-post.l+.icona-descrizione:lang(en):after {
    content: "Large-sized school";
}

.icone-post.XL+.icona-descrizione:lang(en):after,
.icone-post.xl+.icona-descrizione:lang(en):after {
    content: "XL-sized school";
}

.icone-post.handicap+.icona-descrizione:lang(en):after {
    content: "School accessible for students with disabilities";
}

.check.icone-post:not(.handicap) {
    display: none;
}
.icona-descrizione + ul {
    margin-left: 0;
    padding-left: 0 !important;
}
.icona-descrizione + ul li {
    list-style: none;
    line-height: 1.2;
    padding: 0 0 0 46px;
    margin: 17px 0 18px;
    position: relative;
    word-wrap: break-word;
}
.icona-descrizione + ul li:before {
    content: "";
    width: 33px;
    height: 33px;
    display: inline-block;
    background-color: #A2A2A2;
    border-radius: 50%;
    position: absolute;
    top: -6px;
    left: 2px;
    margin: 0 !important;
}
.icona-descrizione + ul li:nth-child(1)::before {
    background-position-x: -296px;
}
.icona-descrizione + ul li:nth-child(2)::before {
    background-position-x: -329px;
}
.icona-descrizione + ul li:nth-child(3)::before {
    background-position-x: -362px;
}
.open.reactiveUserView .reactiveDocWrapper .reactiveDocMapCloseBtn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    top: calc(50% - 35px);
    left: -35px;
    -webkit-box-shadow: 0 1px 4px 0px rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 1px 4px 0px rgba(0, 0, 0, .5);
    box-shadow: 0 1px 4px 0px rgba(0, 0, 0, .5);
}

.open.reactiveUserView .reactiveDocWrapper .reactiveDocMapCloseBtn i.ion-android-close {
    padding-left: 28px;
}

/*Riordino filtri dimensione*/
#option-tex_dimensione-0+label span:first-child,
#option-tex_dimensione-1+label span:first-child,
#option-tex_dimensione-2+label span:first-child,
#option-tex_dimensione-3+label span:first-child {
    font-size: 0;
}

#option-tex_dimensione-0+label span:first-child:before {
    content: "S";
    font-size: 13px;
}

#option-tex_dimensione-1+label span:first-child:before {
    content: "M";
    font-size: 13px;
}

#option-tex_dimensione-2+label span:first-child:before {
    content: "L";
    font-size: 13px;
}

#option-tex_dimensione-3+label span:first-child:before {
    content: "XL";
    font-size: 13px;
}

/*END Riordino filtri dimensione*/
/*Divisori*/
div#divisorio::after {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    background: var(--gcid-heading-color);
    position: absolute;
    top: -4px;
}

div#divisorio::before {
    border-color: var(--gcid-heading-color);
}

div#divisorio.centro {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
}

div#divisorio.destra {
    align-self: flex-end;
    margin-left: auto;
}

div#divisorio.centro::after {
    right: calc(50% - 5px);
}

div#divisorio.destra::after {
    right: 0;
}

div#divisorio.bianco::before {
    border-color: #fff;
}

div#divisorio.bianco::after {
    background: #fff;
}

/* --- */
.footer-news article  {
  display: flex ;
  flex-direction: row !important;
  align-items: flex-start;
}
.footer-news article a.entry-featured-image-url {
  flex-shrink: 0 ;
  width: 42px ;
  height: 42px ;
  min-width: 42px ;
  max-width: 42px ;
  margin: 0 15px 0 0 ;
}
.footer-news article a.entry-featured-image-url img {
  width: 42px ;
  height: 42px ;
  object-fit: cover;
}
.footer-news article h2.entry-title {
    padding-bottom: 0;
}
.footer-news article {
    padding-bottom: 10px !important;
    align-items: center;
}
.footer-news article h2.entry-title a {
    color: unset;
    transition: .5s;
}
.footer-news article h2.entry-title a:hover {
    color: var(--gcid-primary-color);
}
@media only screen and (max-width: 1080px) {
#menu-top.et_pb_menu .et_pb_menu__menu>nav>ul>li.scuole ul.sub-menu > li > ul.sub-menu > li {
    padding: 0;
}
#menu-top.et_pb_menu .et_pb_menu__menu>nav>ul>li.scuole ul.sub-menu > li > ul.sub-menu > li::before {
    display: none;
}
}
@media (min-width: 981px) {
#main-content .entry-content .et_pb_row:first-child:before {
    z-index: auto !important;
}
}
@media (min-width: 981px) and (max-width: 1200px) {
.et_pb_row_0_tb_header.et_pb_row.et_pb_gutters3.et_pb_row--with-menu {
    width: 90%;
    margin-left: 4%;
}
}
@media (max-width: 980px) {
  /* Qui tutte le regole CSS che vuoi applicare sotto i 980px */
.footer-news article a.entry-featured-image-url {
    width: 80px;
    min-width: 80px;
    height: 80px;
    max-width: 80px;
}

.footer-news article a.entry-featured-image-url img {
    width: 80px;
    height: 80px;
}
}
@media only screen and (max-width: 767px) {
    .react-grid-layout .reactiveGridTypeGinie {
        width: 49% !important;
    }
}
@media only screen and (max-width: 715px) {
a.et_pb_button_1_tb_header.et_pb_button.et_pb_bg_layout_dark.bot-cerca-scuole.preset--group--divi-button--divi-button--default {
        top: -5px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%; 
}
.et_pb_section.maggiori_informazioni .et-pb-parallax-background {
    display: none;
}
}
@media only screen and (max-width: 479px) {
    .react-grid-layout .reactiveGridTypeGinie {
        width: 99% !important;
    }
}