/*
Theme Name:   Bw KidsCenter Child
Theme URI:    https://zenny.bzotech.com/intro/
Author:       The BZOTech
Author URI:   https://bzotech.com/
Description: KidsCenter WordPress Template WooCommerce is perfect for schools and education centers. Schedule for children easily on your website.
Template:     bw-kidscenter
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-colors, custom-menu, custom-logo, editor-style, featured-images, post-formats, sticky-post, threaded-comments, block-styles, blog, news
Text Domain: bw-kidscenter-child
*/

/* FREDOKA — pesi reali 400–700 */

/* Latin: comprende le lettere accentate italiane */
@font-face {
    font-family: 'Fredoka';
    src: url('fonts/fredoka/Fredoka-Variable-400-700-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
                   U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
                   U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Latin esteso */
@font-face {
    font-family: 'Fredoka';
    src: url('fonts/fredoka/Fredoka-Variable-400-700-latin-ext.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC,
                   U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
                   U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                   U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
                   U+2C60-2C7F, U+A720-A7FF;
}

/* Fredoka 800: usa il peso massimo disponibile, 700 */
@font-face {
    font-family: 'Fredoka';
    src: url('fonts/fredoka/Fredoka-Variable-400-700-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 800;
    font-variation-settings: 'wght' 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
                   U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
                   U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Fredoka';
    src: url('fonts/fredoka/Fredoka-Variable-400-700-latin-ext.woff2') format('woff2');
    font-style: normal;
    font-weight: 800;
    font-variation-settings: 'wght' 700;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC,
                   U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
                   U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                   U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
                   U+2C60-2C7F, U+A720-A7FF;
}

/* LATO — 400 e 500 usano il file Regular 400 */

@font-face {
    font-family: 'Lato';
    src: url('fonts/lato/Lato-Regular-400-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
                   U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
                   U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Lato';
    src: url('fonts/lato/Lato-Regular-400-latin-ext.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC,
                   U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
                   U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                   U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
                   U+2C60-2C7F, U+A720-A7FF;
}

/* LATO — 600, 700 e 800 usano il file Bold 700 */

@font-face {
    font-family: 'Lato';
    src: url('fonts/lato/Lato-Bold-700-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
                   U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
                   U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Lato';
    src: url('fonts/lato/Lato-Bold-700-latin-ext.woff2') format('woff2');
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC,
                   U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
                   U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                   U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
                   U+2C60-2C7F, U+A720-A7FF;
}

.highlight-blue {
  position: relative;
  display: inline-block;
  color: #005e8c;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 60px;
  line-height: 72px;
}

.highlight-blue::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 12px;

  background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 135.26 7.28' xmlns='http://www.w3.org/2000/svg'><path d='M73.5,6.38c-2-2.19-2.73-2.28-5.78-.75-2,1-2.61,1-5.46,0-4.39-1.55-7-1.43-8.09.37-1.42,2.28-5,1.93-8.41-.83l-2.9-2.33-2.56,2c-3.2,2.44-4,2.44-7.59,0l-2.89-2-3.47,1.6C23.22,5.87,21.77,6,11.89,5.83c-7.73-.14-10.62-.43-9.75-1,.71-.44,5.43-.66,11.14-.53,9.2.21,10.12.11,12.93-1.5s3.09-1.68,5.09-.44c5.12,3.19,5.21,3.2,8,1.07,3-2.31,4.5-2.4,7.58-.43,3.8,2.43,4.1,2.44,6,.34,1.63-1.76,2.27-2,4.67-1.55A41.88,41.88,0,0,1,62.82,3.2c2,.71,2.82.64,4.62-.42,2.91-1.72,4-1.62,6.67.6s3.13,2.29,7,.31A20.71,20.71,0,0,1,88,1.88l12.73-.8c8-.51,13.79-.22,32.55,1.64,2.17.21,3.94.64,3.94.94s-11.39.53-25.31.51l-25.31,0L82.7,6.19c-4.85,2.55-6.94,2.59-9.2.19Z' fill='%23005e8c'/></svg>") repeat-x;

  background-size: auto 100%;
}


.highlight-red {
  position: relative;
  display: inline-block;
  color: #c84438;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 60px;
  line-height: 72px;
}

.highlight-red::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 14px;

  background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 141.49 10.37' xmlns='http://www.w3.org/2000/svg'><path d='M.37,11.25c-.25-.41.37-1.07,1.37-1.45C4.92,8.59,31.13,6,49.49,5.06c9.7-.49,17.13-1,16.51-1.12s-6.36-.71-12.75-1.3L41.63,1.57l17.62.3c9.77.17,24,1,31.87,1.78s17.12,1.68,20.63,1.94c6.88.52,23.6,2.42,27.56,3.13,2.23.41,3.26,1.94,1.87,2.79-.32.2-9.51-.62-20.44-1.81C103.55,7.81,98,7.52,79.33,7.51a629.41,629.41,0,0,0-65,3.4C2.51,12.2,1,12.24.37,11.25Z' fill='%23c84438'/></svg>") repeat-x;

  background-size: auto 100%;
}

.elbzotech-bt-global-default:focus {
    color: #fff !important;
    background: #c84438 !important;
    cursor: pointer;
}

/* Amministrazione trasparente */
#menu--at li {
	cursor: pointer;
	transition: all .2s ease;
	text-decoration: none;
}

#menu--at li:hover,
#menu--at li.is-active {
	text-decoration: underline;
	text-underline-offset: 3px;
}

#menu--at li.is-active {
	font-weight: 700;
}

#accordion--at .accordion-content {
	height: auto !important;
}

#accordion--at .item-title-e {
  padding:0px;
}

#accordion--at h3.item-title-e { padding:10px 30px 10px 30px;}

#accordion--at .accordion-content { padding:20px 30px 20px 30px; border:1px solid #f5f5f5; margin-bottom:20px; }

#accordion--at .accordion-content ul { margin-left: 30px; }

#accordion--at h3.item-title-e {
    padding: 10px 30px;
    margin-bottom: 20px;
    border-radius: 20px;
}

#accordion--at span.td { font-weight:500; }
#accordion--at span.tt { font-style:italic; color: var(--bzo-main-color2); }

/* titolo accordion aperto */
#accordion--at h3.item-title-e.ui-accordion-header-active,
#accordion--at h3.item-title-e.ui-state-active {
    border-radius: 20px 20px 0 0;
    margin-bottom: 0;
}

/* contenuto aperto sotto al titolo */
#accordion--at .accordion-content.ui-accordion-content-active {
    border-radius: 0 0 20px 20px;
    margin-bottom: 20px;
}
/* News & Aggiornamenti - Sidebar */

.single-post .title-post-single { /* nascondo il titolo nei post */
    display: none !important;
}

.meta-cats a { /* Disattivo link nelle categorie */
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

.sidebar-posts.sidebar-widget .widget-title { /* News & Aggiornamenti - Sidebar */
    background-color: #c84438;
}

/* =========================================================
   NEWS BOX - Altezza uniforme immagini
   Container Elementor: #news--box
   ========================================================= */

/* DESKTOP */
#news--box .blog-grid-post-item-style3 .item-post .post-image .post-thumb.zoom-image,
#news--box .blog-grid-post-item-style3 .item-post .post-image .post-thumb.zoom-image a.adv-thumb-link {
    height: 240px !important;
    overflow: hidden !important;
    display: block !important;
    width: 100% !important;
}

/* Immagine interna: mantiene proporzioni e viene tagliata */
#news--box .blog-grid-post-item-style3 .item-post .post-image .post-thumb.zoom-image a.adv-thumb-link img.wp-post-image {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

/* Evita comportamenti strani del wrapper immagine */
#news--box .post-image {
    overflow: hidden !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {
    #news--box .blog-grid-post-item-style3 .item-post .post-image .post-thumb.zoom-image,
    #news--box .blog-grid-post-item-style3 .item-post .post-image .post-thumb.zoom-image a.adv-thumb-link {
        height: 220px !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
    #news--box .blog-grid-post-item-style3 .item-post .post-image .post-thumb.zoom-image,
    #news--box .blog-grid-post-item-style3 .item-post .post-image .post-thumb.zoom-image a.adv-thumb-link {
        height: 200px !important;
    }

    #news--box .blog-grid-post-item-style3 .item-post .post-image .post-thumb.zoom-image a.adv-thumb-link img.wp-post-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}


/* =========================================================
   MOBILE PICCOLO
   ========================================================= */

@media (max-width: 480px) {
    #news--box .blog-grid-post-item-style3 .item-post .post-image .post-thumb.zoom-image,
    #news--box .blog-grid-post-item-style3 .item-post .post-image .post-thumb.zoom-image a.adv-thumb-link {
        height: 180px !important;
    }
}

/* =========================================================
   SEARCH
   ========================================================= */
.readmore-wrap .readmore {
    text-transform: none !important;
}
.search .wrap-bread-crumb { display:none; }

/* =========================================================
   ICONA VIDEO HOME
   ========================================================= */
.elbzotech-banner-info-global-style2 .icon-button-video {
    top: 100px !important;
}



/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {
    .elbzotech-banner-info-global-style2 .icon-button-video {
        top: 100px !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
    .elbzotech-banner-info-global-style2 .icon-button-video {
        top: 100px !important;
    }
}

/* =========================================================
   MOBILE PICCOLO
   ========================================================= */

@media (max-width: 480px) {
    .elbzotech-banner-info-global-style2 .icon-button-video {
        top: 60px !important;
    }
}


.after-append-footer { display:none !important; }

/* =========================================================
   LINK ALLEGATI
   ========================================================= */

.allegati-matilde h2 a { color:#fff !important; }
.allegati-matilde h2 a:hover { color:#fff !important; text-decoration:underline; }