/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/
html {
    font-family: 'Raleway';
}
.carousel-item {
    position: relative;
}
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    bottom:unset;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}
.carousel-caption h5 {
    background: #FAC500;
    display: inline-block;
    padding: 5px 25px;
    color: #1F377F;
    font: normal normal 600 16px / 24px Raleway;
    letter-spacing: 2px;
    margin-bottom:0;
}
.carousel-caption h2 {
    background: #14275fb0;
    display: inline-block;
    padding: 16px;
    font: normal normal 800 36px / 36px Barlow;
}
.btn-custom {
    background: #ffca28;
    border: 2px solid #ffca28;
    color: #1F377F;
    padding: 10px 20px;
    text-decoration: none;
    transition: 0.3s;
    font-weight:500;
}
.btn-custom:hover {
    background:#1F377F;
    color: #ffca28;
}
.home .sticky-top {
    position: absolute;
    top: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    z-index: 1020;
    background: transparent !important;
}
p.home-badge-numero {
    color: #FAC500;
    font-size: 60px;
    font-weight: 800;
    font-family: 'Barlow';
    line-height: 60px;
    margin-bottom: 0;
    margin-top: 15px;
}
p.home-badge-label {
    font-family: 'Barlow';
    font-weight: 800;
    color: #fff;
    font-size: 48px;
    line-height: 48px;
    margin-bottom: 0;
    margin-top: 10px;
}
p.home-badge-text {
    font-family: 'Raleway';
    color: #fff;
    font-size: 20px;
}
.custom-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    position: relative;
    background:#eef0f5;
}
.custom-box {
    background: #eef0f5;
    padding: 40px;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    text-align: center;
}
.custom-box h2 {
    color: #12276b;
    font-weight: bold;
}
.custom-box p {
    color: #626c91;
}
.custom-box .btn {
    background: #ffca28;
    border: none;
    color: #12276b;
    font-weight: bold;
}
.image-container {
    position: relative;
}
.image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.spostato-destra {
    margin-right:-60px;
}
.home-sovrapposto {
    margin-top:-130px;
    transition: margin-top 0.3s ease-in-out;
}
.home-sovrapposto a {
    text-decoration: none;
}
.home-sovrapposto:hover {
    margin-top:-150px;
}
.div-hover:hover {
    margin-top: -5px;
}
p.scopri-di-piu {
    opacity: 0 !important;
    transition: opacity 0.3s ease-in-out;
}
.box-iniziale:hover p.scopri-di-piu {
    opacity: 1 !important;
}
.box-iniziale {
    background: #fff;
    height: 100%;
    padding: 30px;
    border-radius: 20px;
    transition: border-bottom 0.3s ease-in-out;
}
.box-iniziale:hover {
    border-bottom: 5px solid #1f377f;
}
.box-iniziale h2 {
    border-left: 3px solid #FAC500;
    padding-left: 30px;
    font-size: 30px;
    line-height: 33px;
    color: #1F377F;
    font-family: 'Barlow';
    font-weight: bold;
	margin-bottom: 20px;	
}
.box-iniziale p {
    font-family: 'Raleway';
    color: #1F377F;
    opacity: .65;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 0;
}
.box-iniziale {
    background: #fff;
    height: 100%;
    padding: 30px 30px 100px;
    border-radius: 20px;
    position:relative;
    margin-top:-30px;
}
.box-iniziale h2 {
    border-left: 3px solid #FAC500;
    padding-left: 30px;
    font-size: 30px;
    line-height: 33px;
    color: #1F377F;
    font-family: 'Barlow';
    font-weight: bold;
    margin-bottom: 20px;
    padding-right: 35px;
}
.box-iniziale p {
    font-family: 'Raleway';
    color: #1F377F;
    opacity: .65;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 0;
}
.scopri-di-piu {
    position:absolute;
    bottom:15px;
}
.box-iniziale.scuola {
    background-image: url(/imgnew/scuola.svg);
    background-size: 55px;
    background-position: 96% 19%;
    background-repeat: no-repeat;
}
.box-iniziale.formazione {
    background-image: url(/imgnew/formazione-professionale.svg);
    background-size: 55px;
    background-position: 96% 19%;
    background-repeat: no-repeat;
}
.box-iniziale.elearning {
    background-image: url(/imgnew/elearning.svg);
    background-size: 55px;
    background-position: 96% 19%;
    background-repeat: no-repeat;
}
.scopri-di-piu img {
    max-width: 18px;
    vertical-align: middle;
    margin-top: -5px;
    margin-left: 5px;
}
.carousel-indicators {
    bottom:170px;
}
.news-data {
    background: transparent linear-gradient(0deg, #1F377F 0%, #0A2A5D 100%) 0% 0% no-repeat padding-box;
    border-radius: 20px 0px 0px 20px;
    color: #fff;
    padding-top: 20px !important;
    font-family: 'Barlow';
    font-size: 24px;
}
.news-giorno {
    font-size:30px;
    line-height:30px;
    font-weight:800;
}
.news-mese {
    font-size:20px;
    font-weight:500;
    letter-spacing:1.5px;
    text-transform:uppercase;
}
.news-title {
    font-family: 'Barlow';
    font-size: 24px;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 15px;
    color: #1F377F;
}
.news-image img {
    border-radius: 0 20px 20px 0;
}
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; 
    gap: 30px; /* Spazio tra le immagini */
}
.logo-container img {
    height: 55px; /* Imposta un'altezza comune */
    width:auto; /* Mantiene le proporzioni originali */
}
footer#footer {
    background: #14275f;
}
.bootscore-footer-columns {
    color: #fff;
}
img.footer-centro {
    max-width: 30px;
    margin-right: 15px;
}
footer h2, footer strong {
    font-family: 'Barlow';
}
footer strong {
    font-size: 20px;
    letter-spacing:1px;
}
footer p {
    font-family: 'Raleway';
}
ul#menu-collegamenti {
    text-align: right;
    direction: rtl;
    padding-right: 18px;
    /* padding-left: 0; */
}
ul#menu-collegamenti li,ul#menu-collegamenti li a:hover {
    color: #FAC500;
}
ul#menu-collegamenti li a {
    color: #fff;
    text-decoration:none;
}
.footer-contatti img {
    max-width:45px;
    margin-right:20px;
}
.footer-end h2,.footer-start h2,.footer-center h2 {
    position:relative;
    padding-bottom:40px;
}
.footer-end h2:after, .footer-center h2:after, .footer-start h2:after{
    content:'';
    height:3px;
    width:70px;
    background:#FAC500;
    position:absolute;
    bottom:20px;
}
.footer-center h2:after {
    left:calc(50% - 35px);
}
.footer-start h2:after {
    left:0;
}
.footer-end h2:after {
    right:0;
}
header a.nav-link {
    font-size: 16px;
    color: #fff !important;
    text-transform: uppercase;
}
ul#menu-esterno {
    padding: 5px;
    margin-bottom:0;
}
ul#menu-esterno li {
    display: inline-block;
}
ul#menu-esterno li a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    padding: 0 7px;
    font-family: 'Barlow';
    text-transform: uppercase;
    font-size: 14px;
}
ul#menu-esterno li a:hover {
    color: rgba(255, 255, 255);
}
.area-riservata-topbar {
    color:#fff;
    font-family: 'Barlow';
    text-decoration:none;
    font-size:14px;
}
.barlow {
    font-family: 'Barlow';
}
.raleway {
    font-family: 'Raleway';
}
.formazione-news-title {
    color:#1F377F;
}
ul#menu-navigazione li {
    display: inline-block;
}
.bg-body-tertiary.text-body-secondary.border-top.py-2.text-center.bootscore-footer-info {
    background: rgba(0, 27, 60, .57) !important;
    border: 0 !important;
    color: #fff !important;
    font-size: 14px;
}
ul#menu-navigazione {
    margin-bottom: 0 !important;
}
ul#menu-navigazione a{
    color:#fff;
    text-decoration:none;
}
ul#menu-navigazione a:hover{
    color:#FAC500;
    text-decoration:none;
}
body header#masthead {
    background: #14275F !important;
}
body.home header#masthead {
    background: rgba(20,39,95,.8) !important;

}
div#breadcrumb {
    padding: 10px 0;
    border-bottom: 2px solid #fff;
    font-family: 'Barlow';
    align-items: center;
    display: flex;
    column-gap: 5px;
}
h1.entry-title.barlow {
    font-weight: 800;
    letter-spacing: 1px;
    color: #1C3377;
}
#page {
    min-height: unset !important;
}
aside .menu li {
    background: #EEF0F5;
    padding: 20px 10px;
}
aside .menu li a {
    color:#15345C;
    font-weight:600;
    text-decoration:none;
}
aside ul.menu {
    padding-left: 0;
    list-style: none;
    border-top: 6px solid #FAC500;
}
aside .menu li {
    background: #EEF0F5;
    padding: 20px;
    border-left: 3px solid #15345C;
    border-bottom: 3px solid #fff;
}
aside .menu li.current-menu-item,aside .menu li:hover {
    background: #15345C;
    border-left: 3px solid #FAC500;
}
aside .menu li.current-menu-item a,aside .menu li:hover a {
    color:#fff;
}
.label {
    background-color: #FAC500;
    padding: 0px 12px;
    display: inline-block;
    margin-top: 2px;
    font-size: 0.8em;
    border-radius: 7px;
    font-family: 'Barlow';
    font-weight: bold;
    text-transform: uppercase;
}
.border-left {
    border-left: 3px solid #FAC500;
    padding-left: 10px;
}
.row.py-3.border-left .col-md-9 {
    color:#1F377F;
    font-family: 'Raleway';
}
.border-left .col-md-3 strong{
    color:#1F377F;
    font-weight:bold !important;
    font-family: 'Barlow';
    font-size:18px;
}
.corsi-carousel .corso-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    text-align: center;
    padding-bottom: 20px;
}
.corso-img img {
    width: 100%;
    height: auto;
}
.corso-label {
    display: inline-block;
    background: #ffc107;
    color: #fff;
    padding: 3px 15px;
    font-weight: bold;
    margin-top: 10px;
    font-size: 0.8rem;
    border-radius: 5px;
}
.corso-head {
    background: #1F377F;
}
.corso-info h3 {
    color: #fff;
    padding: 10px 10px 30px;
    margin: 0;
    font-size: 20px;
    font-family: 'Barlow';
    font-weight: bold;
}
.corso-meta {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 14px;
    color: #666;
    padding: 15px 10px;
    border-radius: 0 0 20px 20px;
    background:#DDE1ED;
}
.scopri {
    background: #ffca28;
    color: #133D72;
    padding: 12px 40px;
    text-decoration: none;
    font-weight: bold;
    margin: 30px auto;
    width: 80%;
    border-radius: 10px;
}
.corso-meta .durata, .corso-meta .crediti {
    display: flex;
    text-align: left;
    column-gap: 10px;
    align-items: center;
}
.corso-meta .crediti {
    text-align: right;
}
.corso-item {
    margin: 0 10px;
}
.evidenza img {
    border-radius: 20px;
}
.slick-next, .slick-prev {
    width: 47px !important;
    top: 38%;
}
#breadcrumb a {
    color: #1c3377;
    font-weight: 600;
    text-decoration: none;
}
#bootscore-navbar a.nav-link:hover {
    color: #ffca28 !important;
}
.slick-arrow {
    z-index: 99999;
}
a.iscriviti {
    color: #14275F;
    font-family: 'Barlow';
    font-weight: bold;
    text-decoration:none;
}
a.archivio-home-pulsante {
    border-bottom: 1px solid #DDE1EC;
    text-decoration: none;
    font-family: 'Raleway';
    padding: 0 5px;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 600;
}
div#offcanvas-navbar {
    background: #05284E;
}
.offcanvas-header {
    color: #EDB200;
}
.meta-label {
    font-family: 'Raleway';
    color: #1F377F;
    opacity: .63;
    font-weight: 600;
    font-size: 16px;
    line-height:16px;
}
.meta-value {
    color: #1F377F;
    font-weight: 600;
    font-family: 'Barlow';
    font-size: 16px;
    line-height:16px;
}
div#fancybox-overlay {
    z-index: 1021;
}/*
a#fancybox-close span {
    display: none !important;
}*/

.trova-corso {
    font-weight:800;
    font-size: 50px;
    color: #1F377F;
    padding-bottom: 30px;
    position: relative;
}
.trova-corso:after {
    content: "";
    width: 80px;
    height: 3px;
    background-color: #FAC500;
    left: 0;
    bottom: 9px;
    position: absolute;
}
.gallery-carousel-container {
    background-color: #ffca28; /* Giallo senape */
    border-radius: 20px;
    position: relative;
}

.gallery-carousel {
    position: relative;
}
.gallery-carousel .slick-dots li button:before {
    color:#fff;
}
.gallery-carousel .slick-dots li button:before {
    color: #fff;
    width: 10px;
    background: #fff;
    content: '';
    height: 10px;
    border-radius: 20px;

}
.slick-dots li.slick-active button:before,.slick-dots li button:hover:before {
    opacity: .75;
    color: #000;
    width: 20px !important;
    border-radius: 20px;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery-content {
    position: relative;
    border-radius: 10px;
}

.gallery-image img {
    border-radius: 20px;
    max-width: 100%;
    height: auto;
}

.gallery-text {
    margin-top: 10px;
}

.gallery-title {
    font-size: 24px;
    font-weight: bold;
    color: #1F377F;
}

.slick-dots {
    bottom: -25px;
}
h2.mailpoet-heading.mailpoet-has-font-size {
    display: none;
}
div#mailpoet_form_1 {
    background: transparent !important;
}
.mailpoet-has-font a {
    color:#ffca28 !important;
}
.filtr-container span.item-desc {
    display: none;
}
@media (max-width:991px) {
    .home .sticky-top {
        position:relative;
        background:#14275F !important;
    }
    .home-sovrapposto {
        margin-top:0 !important;
    }
    .home-sovrapposto,.box-iniziale {
        margin-top:20px !important;
    }
    .carousel-caption {
        width:80%;
    }
    .nav-toggler {
        background: #FAC500;
    }
    .carousel-caption h2 {
        font-size:22px;
        line-height:26px;
        padding:7px;
    }
    .btn-custom { 
        font-size:16px !important;
        padding: 8px 20px !important;
    }

    .carousel-caption h5 {
        font-size:14px;
    }
    .carousel-indicators {
        bottom:0px;
        margin-bottom:0;
    }
    .box-iniziale {
        padding:30px;
    }
    .footer-center h2:after, .footer-end h2:after {
        left:0;
    }
    ul#menu-collegamenti {
        text-align: left;
        direction: ltr;
        padding-left: 18px;
        /* padding-left: 0; */
    }
    
}

@media (max-width:1200px) {
    p.home-badge-label {
        font-family: 'Barlow';
        font-weight: 800;
        color: #fff;
        font-size: 30px;
        line-height: 30px;
        margin-bottom: 0;
        margin-top: 10px;
    }
}

.single-post .post-thumbnail{
    display: none !important;
} 