:root{
    --pink-color: #F0EAFC;
    --dark-green: #028FA3;
    --dark-green2: #1290A3;
    --light-green: #B7D383;
}

#navbar-custom {
    background-color: var(--pink-color);
}

.navbar-custom ul.nav li a{
    color: var(--dark-green);
}

.navbar-custom {
    min-height: 100px;
}

.navbar-custom .container {
    min-height: 100px;
    display: flex;
    align-items: center;
}

.navbar-header {
    display: flex;
    align-items: center;
}

.navbar-brand {
    height: auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-width: 170px;
    height: auto;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    display: block;
}

a:focus {
    outline: none !important;
}

.navbar-brand {
    position: relative;
    z-index: 10;
}

.navbar-brand img {
    pointer-events: auto;
}

.navbar-collapse {
    flex: 1;
}

.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
}

.p-home{
    width: 100%;
    margin-top: 30px;
}

.spazio-bimbi-image{
    padding-bottom: 40px;
}

.hr {
    margin-top: 50px;
}

.hr > img{
    font-weight: normal;
    position: relative;
    font-size: 40px;
    top: -0.5em;
}

.section-heading > h2{
    color: var(--dark-green2);
}

.pink-bg{
    background-color: var(--pink-color);
}
.light-green-bg{
    background-color: var(--light-green);
}

.color-light-green {
    color: var(--light-green);
}

/*
.contatti-btn {
    font-size: 18px !important;
    background-color: #FFBC3C !important;
}

*/

.btn-iscrizioni {
    background: #FFBC3C;
    margin-top: 10px;
    border-radius: 5px;
    position:relative;
    margin-bottom: 10px;
}

.btn-iscrizioni a {
    color: #028FA3 !important;
    display: block !important;
    height: 46px;
    width: 100% !important;
    line-height: 46px !important;
    padding: 0 20px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-align: center;
}

.contatti-bg{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}


#contact .section-heading {
    margin-top: 35px;
    margin-bottom: 80px;
}

.contact-form-wrapper {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 70px;
    margin-bottom: 30px;
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #EEF2F8;
}

.contact-form-wrapper  h4 {
    color: #1290A3 !important;
    text-align: center;
    line-height: 41px !important;
}

.fa-map-marker:before, .fa-phone:before, .fa-envelope:before, .contact-info > li > a {
    color: #1290A3 !important;
}

.contact-info li {
    display: block !important;
    text-align: center;
}

#contact_form > form label {
    font-size: 16px;
    color: #555555;
}

form > .input-wrapper{
    margin-bottom: 50px;
    margin-left: 25px;
    margin-right: 20px;
}

#contact_form > form .form-control {
    font-size: 14px;
    height: 82px;
    border: 1px solid #FFFFFF;
    border-radius: 10px;
    box-shadow: none;
    margin-top: 10px;
  /*  -webkit-box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);*/
   /* box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.25);*/
/* background: #fff; */
/* box-shadow: none; */
/* border-radius: 8px; */
/* margin-top: 15px; */
/* border: 2px dotted; */
}

#submit_btn {
    background-color: #B7D383;
    color:#ffffff;
    width: 185px;
}

textarea.form-control {
    height: auto !important;
}

.privacy-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.privacy-row input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: none;
    border-color: white;
}

.privacy-row label {
    margin: 0;
    line-height: 1.5;
}

.error{
    color: red !important;
}

.social-media i:after {
    background-color: #B7D383 !important;
    color: #B7D383 !important;
}

.image-responsive{
    width: 100%;
}


.nostri-valori{
    background-color: #ffffff;
    padding: 40px;
    padding-top: 60px;
    padding-bottom: 50px;
    padding-left: 60px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.i-nostri-valori-wrapper{
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.nostri-valori .lista {
    font-family: 'Rochester', sans-serif;
    font-size: 36px;
    font-weight: 400;
}

.item-lista{
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 0px;
}

.item-lista img{
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-top: 5px;
}

.item-lista span{
    line-height: 1;
    position: relative;
    top: 5px;
    margin-bottom: 30px;
}

.nostri-valori .header {
    font-family: 'Paytone One', sans-serif;
    font-weight: 400;
    margin-bottom: 50px;
    display: block;
    color: #1290A3 !important;
    font-size: 24px;
}

.spazi-acc p {
    margin-bottom: 30px;
}

.owl-carousel > div {
    height: 524px;
    border-radius: 30px;
}

.carousel-item-wrapper{
    width: 100%;
    height: 524px;
    border-radius: 30px;
    overflow: hidden;
    border: 5px solid #FFDB97;
}

.carousel-item-wrapper-2 {
    width: 100%;
    height: 408px;
    border-radius: 30px;
    overflow: hidden;
    border: 5px solid #DDF3B3;
}

.carousel-item-wrapper-3 {
    width: 100%;
    height: 340px;
    border-radius: 30px;
    overflow: hidden;
    border: 5px solid #FFDB97;
}

.carousel-item-wrapper img, .carousel-item-wrapper-2 img, .carousel-item-wrapper-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.organizzazione-carousel-wrapper {
    padding-left: 80px;
    overflow: hidden;
}

.organizzazione-carousel-wrapper .owl-stage-outer {
    overflow: hidden;
}

.carousel-item-wrapper, .carousel-item-wrapper-2 {
    margin: 0;
}

.giardino-carousel-wrapper {
    padding-left: 80px;
    overflow: hidden;
}

.giardino-carousel-wrapper .owl-stage-outer {
    overflow: hidden;
}

.carousel-section{
    background-color: #FFBC3C;
    height: 634px;
    padding-top: 50px;

    padding-left: 80px;
    overflow: hidden;
}


.carousel-section .owl-carousel {
    overflow: visible;
}

.owl-carousel .owl-item {
    padding: 0;
}

.owl-carousel.owl-loaded.owl-drag {
    height: 634px;
}

.owl-carousel.owl-carousel-3.owl-loaded.owl-drag {
    height: 340px;
}

.owl-nav, .owl-dots {
    display: none;
}

#carousel-2 > div {
    height: 408px;
}

#carousel-2 img{
    height: 408px;
}

.owl-carousel-2.owl-loaded.owl-drag {
    height: 408px;
}



.color-orange {
    color: #FFBC3C !important;
}

.bg-orange {
    background-color: #FFBC3C !important;
}

.services {
    background-color: var(--light-green);
}

.gallery-btn {
    background-color: #F0EAFC;
    color: #1290A3;
    border: 1px solid #D8D1BD;
    width: 282px;
    margin-top: 90px;
    margin-bottom: 0px;
}

.serv-ed-btn {
        background-color: #1290A3;
        color: #FFFFFF;
        width: 282px;
        margin-top: 40px;
        margin-bottom: 100px;

}

#social-link a {
    display: flex;
    width: 100%;
    min-height: 142px;
    height: auto;
    color: #1290A3;
    font-size: 36px;
    line-height: 44px;
    font-family: 'Paytone One', sans-serif;
    margin-bottom: 40px;
    white-space: normal;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-color: #FFBC3C !important;
}

#social-link .btn {
    text-transform: unset;
}

#servizio-educativo {
    padding-top: 100px;
}

.bg-gradiente-celeste {
    background: #ffffff;

    background: -moz-linear-gradient(
            top,
            #ffffff 39%,
            #CFE7E5 100%
    );

    background: -webkit-linear-gradient(
            top,
            #ffffff 39%,
            #CFE7E5 100%
    );

    background: linear-gradient(
            to bottom,
            #ffffff 39%,
            #CFE7E5 100%
    );

    filter: progid:DXImageTransform.Microsoft.gradient(
            startColorstr='#ffffff',
            endColorstr='#CFE7E5',
            GradientType=0
    );

}

.bg-gradiente-pink {
    background: #ffffff;

    background: -moz-linear-gradient(
            top,
            #ffffff 41%,
            #F0EAFE 100%
    );

    background: -webkit-linear-gradient(
            top,
            #ffffff 41%,
            #F0EAFE 100%
    );

    background: linear-gradient(
            to bottom,
            #ffffff 41%,
            #F0EAFE 100%
    );

    filter: progid:DXImageTransform.Microsoft.gradient(
            startColorstr='#ffffff',
            endColorstr='#F0EAFE',
            GradientType=0
    );

}

.bg-gradiente-servizi-educativi{

    background: #ffffff;

    background: -moz-linear-gradient(
            top,
            rgba(255,255,255,1) 39%,
            rgba(255,188,60,0.35) 100%
    );

    background: -webkit-linear-gradient(
            top,
            rgba(255,255,255,1) 39%,
            rgba(255,188,60,0.35) 100%
    );

    background: linear-gradient(
            to bottom,
            rgba(255,255,255,1) 39%,
            rgba(255,188,60,0.35) 100%
    );

    filter: progid:DXImageTransform.Microsoft.gradient(
            startColorstr='#ffffff',
            endColorstr='#FFBC3C',
            GradientType=0
    );
}

.text-educativi {
    color: #1290A3;
    font-family: 'Paytone One', sans-serif;
    font-size: 36px;
    line-height: 44px;
    display: block;
    text-align: center;
    padding: 40px;
    padding-bottom: 60px;
}

#carousel-feste .item {
    height: 596px;
}

.giardino-img-wrapper{
    height: 555px;
}

.text-giardino
{
    padding: 40px;
    padding-bottom:30px;
}

.box-giardino{
    padding: 20px;
    color: #976300;
    text-align: center;
    border-radius: 30px;
    border: 5px solid #FFDB97;
}

.box-giardino > p {
    font-size: 24px;
    line-height: 44px;
}



#gallery {
    overflow: hidden;
}

#gallery .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

#carousel-2 {
    padding-left: 80px;
    overflow: hidden;
}

#carousel-2 .owl-stage-outer {
    overflow: hidden;
}

.grid {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

.grid-sizer,
.grid-item {
    width: calc(100% - 20px);
    margin: 10px;
}

.grid-item {
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    box-sizing: border-box;
    transition: opacity .4s ease;
}

.grid-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.grid-item img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.hidden-item {
    display: none;
}


#load-more{
    background-color: #F0EAFC;
    color: #1290A3;
    border: 1px solid #D8D1BD;
}

#load-more:hover {
    background-color: #1290A3;
    color: #F0EAFC;
}


#carousel-homepage img{
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: cover;
}

#first-image {
    margin-top: 0px;
}

i#insta
{
    color: #B7D383;
}

i#insta:hover {
    color: #1290A3 !important;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    /*padding: 12px 45px 12px 15px;*/

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* Custom icon */
.select-wrapper::after {
    content: "";
    position: absolute;
    top: 68%;
    right: 15px;
    width: 14px;
    height: 14px;

    background-image: url('../img/icons/chevron-down.svg');
    background-repeat: no-repeat;
    background-size: contain;

    transform: translateY(-50%);
    pointer-events: none;
}


@media (max-width: 768px) {



    #social-link a {
        font-size: 26px;
        line-height: 32px;
        min-height: 110px;
    }
        .carousel-section {
            padding-left: 20px;
        }

    #gallery .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    #carousel-2 {
        padding-left: 20px;
    }

    .organizzazione-carousel-wrapper {
        padding-left: 20px;
    }

    .giardino-carousel-wrapper {
        padding-left: 20px;
    }

}

@media (min-width: 780px) {

    #first-image {
        margin-top: 60px;
    }

    .grid-sizer,
    .grid-item {
        width: calc(50% - 20px);
    }
 
    #carousel-homepage {
        /* transform: translateY(83px); */
        height: 80vh;
        margin-top: 100px;
    } 
}

@media screen and (min-width: 1000px) {

    #first-image {
        margin-top: 10px;
    }
    
    /*
    #carousel-homepage img{
        position: absolute;
        top: 95px;
    }
    */

    #carousel-homepage .item {
        height: 80vh;
    }

    .compleanno-p{
        width: 98%;
    }

    .box-giardino{
        height: 400px;
        padding-top: 60px;
        padding-bottom: 0px;
        padding-left: 60px;
        padding-right: 60px;
    }

    .grid-sizer,
    .grid-item {
        width: calc(33.333% - 20px);
    }

    .grid-item {
        border-radius: 30px;
    }

    .giardino-img-wrapper{
        width: 555px;
        height: 555px;
    }

    .p-giardino{
        width: 510px;
    }
    .spazi-acc-p {
        width: 526px;
    }

    #social-link {
        padding-top: 80px;
    }

    #social-link .container{
        margin-top: 40px;
    }

    .spazi-acc p {
        width: 517px;
    }
    .i-nostri-valori-wrapper {
        width: 520px;
    }

    .contact-form-wrapper
    {
            width: 788px !important;
            padding: 40px;
    }
    .contatti-bg {
        width: 646px;
    }

    .spazio-bimbi-wrapper {
        padding-left: 65px;
    }

    .spazio-bimbi-image {
        padding-bottom: 0px;
    }

    .btn-iscrizioni a {
        width: 182px !important;
    }

    .navbar-custom .container {
        display: flex;
        align-items: center;
    }

    .navbar-header {
        flex-shrink: 0;
    }

    .navbar-brand {
        padding: 10px 15px;
        height: auto;
    }

    .navbar-brand img {
        max-width: 150px;
        position: relative;
        top: 0;
        left: 0;
        display: block;
    }

    .navbar-collapse {
        flex: 1;
    }

    .navbar-nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
    }

    .navbar-nav > li {
        float: none;
    }

    .navbar-nav > li > a {
        white-space: nowrap;
        padding: 15px 10px;
    }
}

@media screen and (min-width: 1200px) {

    .services-row > div > div {
        width: 526px;
    }

    .p-home{
        width: 526px;
    }

    .p-banner2{
        max-width: 509px;
    }

    .box{
        width: 615px;
        padding: 30px 40px;
    }

    .navbar-brand img {
        left: 0;
    }

    .btn-iscrizioni {
        left: 50px !important;
    }
}

@media screen and (min-width: 1400px){
    .navbar-brand img {
        max-width: 220px;
    }

    .navbar-nav > li > a {
        padding: 15px 14px;
    }
}

@media screen and (min-width: 2000px) {

    #carousel-homepage .item {
        height: 1300px;
    }

    .grid {
        max-width: 1800px;
    }

    .grid-sizer,
    .grid-item {
        width: calc(25% - 20px);
    }

    #carousel-feste .item {
        height: 696px;
    }
}

@media screen and (max-width: 500px) {
    .navbar-brand img
    {
        max-width: 180px !important;
    }
}

/* MOBILE NAVBAR */
@media (max-width: 991px) {

    .navbar-custom {
        min-height: 80px;
    }

    .navbar-custom .container {
        display: block;
    }

    .navbar-header {
        min-height: 80px;
    }

    .navbar-brand {
        padding: 10px 15px;
    }

    .navbar-brand img {
        max-width: 140px;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
    }

    .navbar-collapse {
        border-top: 1px solid #ddd;
        margin-top: 10px;
    }

    .navbar-nav {
        display: block;
        text-align: center;
        margin: 0;
    }

    .navbar-nav > li {
        display: block;
    }

    .navbar-nav > li > a {
        padding: 12px 0;
        white-space: normal;
    }

    .navbar-custom .container {
        display: block;
        min-height: auto;
    }

    .navbar-header {
        min-height: 80px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .navbar-brand img {
        max-width: 220px;
    }

    .navbar-toggle {
        display: block;
        margin-left: auto;
        margin-right: 15px;
        margin-top: 0;
        margin-bottom: 0;
        border: 0;
        float: none;
    }

    .navbar-nav {
        display: block;
    }

    .btn-iscrizioni {
        margin: 15px auto;
        width: fit-content;
    }

    .navbar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .navbar-toggle {
        order: 2;
        margin-left: auto;
        margin-right: 15px;
        float: none;
    }

    .navbar-brand {
        order: 1;
    }
}


/* GIANMARIA 2026-06-11 */
@media(max-width: 767px){
    .carousel-section, .owl-carousel > div, .owl-carousel-2.owl-loaded.owl-drag, #carousel-2 > div{ height: auto; padding-bottom: 15px; }
    .carousel-item-wrapper, .carousel-item-wrapper-1, .carousel-item-wrapper-2, .owl-carousel.owl-carousel-3.owl-loaded.owl-drag, .carousel-item-wrapper-3{ height: 250px; }
}




