

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Lexend+Giga:wght@100..900&display=swap');



body, a, p {
    font-family: "Barlow", sans-serif;
    font-weight:400;

}

strong {
    font-family: "Barlow", sans-serif;
    font-weight:600;
}

.title, h1, h2, h3, h4, h5, h6 {
    font-family: "Lexend Giga", sans-serif;

    font-weight:700;
}


a {
    color:#2b5b95;
}


body {

}



.custom-color {
    color:#253D75;
}

.custom-bg {
    background:#253D75;
}

/*top bar*/



#sp-main-body {
    padding:50px 0;
}



.breadcrumb  {
    background:none;
    float:right;
}

.breadcrumb li a {

    color:#333;
}

.breadcrumb-item.active {
    color:#333;

}

.breadcrumb li {
    background:#fff;
    padding:10px 20px;
}

/*header */


#sp-header .logo {
    height:100%;
}

.logo-image {
    filter: invert(100%);
}

#sp-header, #sp-header-topbar {
    background:#253D75;
}


.itemid-101  #sp-header-topbar, .itemid-101 #sp-header{
    background:transparent;
}

.itemid-101 #sp-header.lg-header {
    box-shadow:none;
    background:transparent;
}

#sp-header.lg-header {
    box-shadow:none;
    background:#253D75;
}


#sp-header {
    height:200px;
    box-shadow:none;
}




/*#sp-header.header-sticky .sp-megamenu-parent {
    margin:0;

}*/


.logo {

}

/*menu*/

.sp-megamenu-parent>li>a, .sp-megamenu-parent>li>span {
    font-size: 20px;
    text-transform: uppercase;
    color: #fff;
    display: inline-block;
    padding: 0 15px;
    line-height: 50px;
}


.sp-megamenu-parent>li.active>a:before {

}

.sp-megamenu-parent>li.active>a:after {

}

.sp-megamenu-parent>li>a, .sp-megamenu-parent>li>span {

}

.sp-megamenu-parent>li.active>a, .sp-megamenu-parent>li.active:hover>a {
    color:#fff;
    font-weight:800;

}

.sp-megamenu-parent>li:last-child>a {
    padding: 0 15px;
}




/*menu*/




.burger-icon>span, .offcanvas-active .close-offcanvas .burger-icon>span {
    background:#fff;
}

.offcanvas-menu {
    background:#000;
}

.offcanvas-menu .offcanvas-inner ul.menu>li a, .offcanvas-menu .offcanvas-inner ul.menu>li span, .offcanvas-menu .offcanvas-inner a, .offcanvas-menu .fa, .offcanvas-menu .fab, .offcanvas-menu .far, .offcanvas-menu .fas {
    color:#fff;
    opacity:1;
}

.offcanvas-menu .offcanvas-inner ul.menu li.active a {
    background:#fff;
    padding:5px;
}



/*bottoni*/

.btn-primary, .sppb-btn-primary {
    background:#2b5b95 !important;
    border:#2b5b95 !important;
    color:#fff !important;
}

.btn-primary a, .sppb-btn-primary a{
    color:#fff !important;
}

.btn-primary:hover, .sppb-btn-primary:hover {
    background:#10369d !important;
    border:#10369d !important;
}


.btn-secondary, .sppb-btn-secondary {
    background:#cf303c !important;
    border:#cf303c !important;
    color:#fff;
}

.btn-secondary:hover, .sppb-btn-secondary:hover {
    background:#d54f59 !important;
    border:#d54f59 !important;
}





/*footer and bottom*/


#sp-footer {
    background:#253D75;
    text-align: left;
    color:#fff;

}

#sp-bottom {
    background: #dedede ;
    color:#000 !important;
    line-height:20px;
    font-size:16px;
}

#sp-bottom a {
    color:#000;

}




#sp-bottom .sp-module ul {
    list-style: square;
    padding-left:15px;
}

#sp-bottom .sp-module ul>li {
    margin-bottom:5px;
    display: list-item;
}

#sp-bottom .sp-module .sp-module-title {
    letter-spacing: 2px;
    color:#000;
    text-transform: uppercase;
    font-size: 25px;
}


#sp-bottom a:hover {
    color:#2d2a26;
}

/*home*/


.ig-menu-grid-item .igui-overlay h1, .ig-menu-grid-item .igui-overlay h2, .ig-menu-grid-item .igui-overlay h3, .ig-menu-grid-item .igui-overlay h4, .ig-menu-grid-item .igui-overlay h5, .ig-menu-grid-item .igui-overlay h6 {
    margin-top: 4px;
    margin-bottom: 4px;
    FONT-SIZE: MEDIUM;
}





#section-id-208f52ea-4d54-4306-a2a5-e74a4cb65c99 .sppb-row-container {
    max-width:100% !important;
}



.menu-servizi li a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    position: relative;
    background-color: #000;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.menu-servizi li a::before {
    content: "";
    position: absolute;
    top: 5px;    /* Spessore del bordo superiore */
    left: 5px;   /* Spessore del bordo laterale */
    right: 5px;
    bottom: 5px;
    background-color: #000; /* Torna nero all'interno */
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    z-index: -1;
}

.menu-servizi li a {
    background-color: #fff;
    font-size:20px !important;
}


.menu-servizi li a::after {
    content: "";
    position: absolute;
    height: 100%;
    background: linear-gradient(to bottom,        #fff 0%, #fff 10%,
        transparent 10%, transparent 90%,
        #fff 90%, #fff 100%);
    z-index: 1;
}



.servizi-home  .sppb-feature-box-title {
    text-align: center;
    display:block;
}

/* CSS BOOTSTRAP SPECIFICI */

/* ------------------------------------------------------------------------------------ */

/* MOBILE */
@media (max-width: 767px){



    h2 {
        font-size:30px !important;
    }


    #sp-header.header-sticky  {
        background:#253D75;
    }


    .itemid-101 #sp-main-body {
        margin-top:-80px;
    }


    #intro-home h1 {
        font-size:45px !important;
    }

    .logo-image {
        height: 80px !important;
    }
    .offcanvas-menu .logo-image {

    }
    #sp-header {
        height: 60px;
    }



    #sp-header.header-sticky .logo-image  {
        height:60px !important;
    }
    #sp-header.header-sticky  {
        background:#253D75 !important;
        height: 60px;
    }

    .servizi-home .sppb-media-content {
        padding: 60px 80px;
        background: #bcbec6;
        backdrop-filter: blur(104px);
        height:260px;
        clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
        display: flex;
        align-items: center;
        justify-content: center;
        align-content: center;
        flex-wrap: wrap;
    }


    .servizi-home .sppb-media-content::before {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        background-color: #ddd;
        clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
        z-index: -1;
    }

    .menu-servizi li a {
     height: 140px;
        width: 150px;
        padding: 0 !important;
            font-size:18px !important;
    }

    .sppb-link-list-wrap.sppb-link-list-nav ul li {
        display: inline-flex;
        justify-content: space-between;
        width: 50%;
    }



}

/* IPAD VERTICALE */
@media (min-width: 768px) and (max-width: 1023px){

    .logo-image {
        height: 80px !important;
    }
    .offcanvas-menu .logo-image {

    }
    #sp-header {
        height: 60px;
    }



    #sp-header.header-sticky .logo-image  {
        height:60px !important;
    }
    #sp-header.header-sticky  {
        background:#253D75 !important;
        height: 60px;
    }

    #sp-header.header-sticky  {
        background:#253D75;
    }

    .itemid-101 #sp-main-body {
        margin-top:-150px;
    }


    #intro-home h1 {
        font-size:97px !important;
    }

    .servizi-home .sppb-media-content {
        padding: 60px 80px;
        background: #bcbec6;
        backdrop-filter: blur(104px);
        height:280px;
        clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
        display: flex;
        align-items: center;
        justify-content: center;
        align-content: center;
        flex-wrap: wrap;
    }


    .servizi-home .sppb-media-content::before {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        background-color: #ddd;
        clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
        z-index: -1;
    }


    .menu-servizi li a {
        height: 140px;
        width: 150px;
        padding: 0 !important;
    }




}

/* IPAD ORIZZONTALE e IPAD PRO VERTICALE */
@media (min-width: 1024px) and (max-width: 1365px){

    #sp-header.header-sticky .logo-image  {
        height:80px;
    }
    #sp-header.header-sticky  {
        background:#253D75 !important;
        height: 80px;
    }

    #sp-header.header-sticky  {
        background:#253D75;
    }

    .itemid-101 #sp-main-body {
        margin-top:-200px;
    }

    .servizi-home .sppb-media-content {
        padding: 60px 80px;
        background: #bcbec6;
        backdrop-filter: blur(104px);
        height:325px;
        clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
        display: flex;
        align-items: center;
        justify-content: center;
        align-content: center;
        flex-wrap: wrap;
    }


    .servizi-home .sppb-media-content::before {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        background-color: #ddd;
        clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
        z-index: -1;
    }

    .menu-servizi li a {
        height: 150px;
        width: 175px;
        padding: 0 !important;
    }


}

/* IPAD PRO ORIZZONTALE */
@media (min-width: 1366px) and (max-width: 1399px) {



    #sp-header.header-sticky  {
        background:#253D75 !important;
        height: 80px;
    }


    #sp-header.header-sticky .logo-image  {
        height:80px;
    }
    .itemid-101 #sp-main-body {
        margin-top:-200px;
    }


    #intro-home h1 {
        font-size:55px !important;
    }

    .servizi-home .sppb-media-content {
        padding: 60px 80px;
        background: #bcbec6;
        backdrop-filter: blur(104px);
        height:325px;
        clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
        display: flex;
        align-items: center;
        justify-content: center;
        align-content: center;
        flex-wrap: wrap;
    }


    .servizi-home .sppb-media-content::before {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        background-color: #ddd;
        clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
        z-index: -1;
    }

    .menu-servizi li a {
        height: 180px;
        width: 210px;
    }


}

@media (min-width: 1400px) and (max-width: 1679px){



    #sp-header.header-sticky  {
        background:#253D75 !important;
        height: 80px;
    }


    #sp-header.header-sticky .logo-image  {
        height:80px;
    }

    .itemid-101 #sp-main-body {
        margin-top:-200px;
    }


    .servizi-home .sppb-media-content {
        padding: 60px 80px;
        background: #bcbec6;
        backdrop-filter: blur(104px);
        height:325px;
        clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
        display: flex;
        align-items: center;
        justify-content: center;
        align-content: center;
        flex-wrap: wrap;
    }


    .servizi-home .sppb-media-content::before {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        background-color: #ddd;
        clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
        z-index: -1;
    }


    .menu-servizi li a {
        height: 220px;
        width: 250px;
    }

}



@media (min-width: 1680px){


    .itemid-101 #sp-header {
        background:transparent;
    }

    #sp-header.header-sticky  {
        background:#253D75 !important;
        height: 80px;
    }


    #sp-header.header-sticky .logo-image  {
        height:80px;
    }


    .itemid-101 #sp-main-body {
        margin-top:-200px;
    }





    .servizi-home .sppb-media-content {
        padding: 60px 80px;
        background: #bcbec6;
        backdrop-filter: blur(104px);
        height:325px;
        clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
        display: flex;
        align-items: center;
        justify-content: center;
        align-content: center;
        flex-wrap: wrap;
    }


    .servizi-home .sppb-media-content::before {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        background-color: #ddd;
        clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
        z-index: -1;
    }

    .menu-servizi li a {
        height: 220px;
        width: 250px;
    }



}





.cc-revoke.cc-top {
    left: 0!important;
    font-size: 12px;
    top: auto!important;
    bottom: 0!important;
    border-bottom-left-radius: 0!important;
    border-bottom-right-radius: 0!important;
}





/*form*/


/*form*/







.bfQuickMode .bfLabelRight label, .bfQuickMode .bfLabelLeft label, .bfQuickMode section input[type='text'], .bfQuickMode section textarea, .bfQuickMode section select,
.bfQuickMode .bfLabelLeft .bfElementGroup, .bfQuickMode .bfLabelRight .bfElementGroup, .bfQuickMode section.bfLabelLeft .bfElementGroupNoWrap{
    width:95% !important;
}





.bfQuickMode fieldset.bfInline {
    width:100% !important;
}



.bfQuickMode section input[type='text'], .bfQuickMode section textarea, .bfQuickMode section select {
    float: left;
    margin: 0px;
    width: 90% !important;
    background:transparent !important;
    border-top:0 !important;
    border-left:0 !important;
    border-right:0 !important;
    border-bottom:1px solid #fff !important;
    border-radius: 0;
}

.bfQuickMode .bfLabelLeft input, .bfQuickMode .bfLabelLeft textarea, .bfQuickMode .bfLabelLeft select, .bfQuickMode .bfLabelLeft button {
    padding:20px !important;
}



input[type="text"]:not(.form-control):focus, input[type="email"]:not(.form-control):focus, input[type="url"]:not(.form-control):focus, input[type="date"]:not(.form-control):focus,
input[type="password"]:not(.form-control):focus, input[type="search"]:not(.form-control):focus, input[type="tel"]:not(.form-control):focus,
input[type="number"]:not(.form-control):focus, select:not(.form-select):not(.form-control):focus, .bfQuickMode textarea:focus, .bfQuickMode input[type="text"]:focus, .bfQuickMode input[type="password"]:focus,
.bfQuickMode input[type="datetime"]:focus, .bfQuickMode input[type="datetime-local"]:focus, .bfQuickMode input[type="date"]:focus, .bfQuickMode input[type="month"]:focus, .bfQuickMode input[type="time"]:focus,
.bfQuickMode input[type="week"]:focus, .bfQuickMode input[type="number"]:focus, .bfQuickMode input[type="email"]:focus, .bfQuickMode input[type="url"]:focus,
.bfQuickMode input[type="search"]:focus, .bfQuickMode input[type="tel"]:focus, .bfQuickMode input[type="color"]:focus, .bfQuickMode .uneditable-input:focus {
    color:#fff !important;
}




input[type="text"]:not(.form-control), input[type="email"]:not(.form-control), input[type="url"]:not(.form-control), input[type="date"]:not(.form-control), input[type="password"]:not(.form-control), input[type="search"]:not(.form-control), input[type="tel"]:not(.form-control), input[type="number"]:not(.form-control), select:not(.form-select):not(.form-control) {
    padding:0.5rem 2.5rem !important;
    background:#ffebe5;
    color:#fff !important;
}

input[type="text"]:not(.form-control):focus, input[type="email"]:not(.form-control):focus, input[type="url"]:not(.form-control):focus, input[type="date"]:not(.form-control):focus, input[type="password"]:not(.form-control):focus, input[type="search"]:not(.form-control):focus, input[type="tel"]:not(.form-control):focus, input[type="number"]:not(.form-control):focus, select:not(.form-select):not(.form-control):focus, .bfQuickMode textarea:focus, .bfQuickMode input[type="text"]:focus, .bfQuickMode input[type="password"]:focus, .bfQuickMode input[type="datetime"]:focus, .bfQuickMode input[type="datetime-local"]:focus, .bfQuickMode input[type="date"]:focus, .bfQuickMode input[type="month"]:focus, .bfQuickMode input[type="time"]:focus, .bfQuickMode input[type="week"]:focus, .bfQuickMode input[type="number"]:focus, .bfQuickMode input[type="email"]:focus, .bfQuickMode input[type="url"]:focus, .bfQuickMode input[type="search"]:focus, .bfQuickMode input[type="tel"]:focus, .bfQuickMode input[type="color"]:focus, .bfQuickMode .uneditable-input:focus {
    color:#fff !important;
}


