/* Child Theme - Custom CSS File */
.vc_btn3-color-btn-phimo-primary {
    color: #fff!important;
    background-color: #3A539B!important;
    transition: background 0.4s;
}

.vc_btn3-color-btn-phimo-primary:hover {
    background-color: #3977B3!important;
}

/* Import Lato font */
@font-face {
    font-family: 'Lato';
    src: url('assets/fonts/Lato-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('assets/fonts/Lato-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('assets/fonts/Lato-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Lato';
    src: url('assets/fonts/Lato-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('assets/fonts/Lato-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('assets/fonts/Lato-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

/*@media only screen and (max-width: 768px) {*/
/*  header.header:not(#sticky-header) {*/
/*      margin-top: 82px;*/
/*  }*/
/*}*/

.select2.select2-container.select2-container--default {
  display: block !important;
}

/*****************************************************
 * WP Bar Bottom
 */
html.bottom-admin-toolbar{
    padding-top: 0;
    padding-bottom: 32px;
}
#wpadminbar{
    top:auto;
    bottom: 0;
    transition: transform .3s ease-in-out;
}
#wpadminbar.is-hidden{
    transform: translateY(var(--bab-data-height));
}
#wpadminbar .menupop .ab-sub-wrapper{
    bottom: var(--bab-data-height);
}
@media all and (max-width: 600px){
    #wpadminbar{
        position: fixed;
    }
}

/*START OTTIMIZAZIONI TESTO */


.wpb_wrapper.wpb_wrapper.wpb_wrapper.wpb_wrapper h1  {
    font-size: 2.5rem;
}

.wpb_wrapper.wpb_wrapper.wpb_wrapper.wpb_wrapper h2 {
    font-size: 2.0rem;
}

.wpb_wrapper.wpb_wrapper.wpb_wrapper.wpb_wrapper h3 {
    font-size: 1.65rem;
}

.wpb_wrapper.wpb_wrapper.wpb_wrapper.wpb_wrapper h4 {
    font-size: 1.5rem;
}

.wpb_wrapper.wpb_wrapper.wpb_wrapper.wpb_wrapper h5 {
    font-size: 1.25rem;
}

.wpb_wrapper.wpb_wrapper.wpb_wrapper.wpb_wrapper h6 {
    font-size: 1.0rem;
}


.wpb_wrapper.wpb_wrapper.wpb_wrapper.wpb_wrapper ul,
.wpb_wrapper.wpb_wrapper.wpb_wrapper.wpb_wrapper ol {
    margin-left: 40px; 
    font-size: 1.25rem;
    padding-left: 0;
}

.wpb_wrapper.wpb_wrapper.wpb_wrapper.wpb_wrapper ul {
    list-style-type: disc;
}



.wpb_wrapper.wpb_wrapper.wpb_wrapper.wpb_wrapper ul li,
.wpb_wrapper.wpb_wrapper.wpb_wrapper.wpb_wrapper ol li {
    margin: 0;
    padding: 0;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}


section.wpb-content-wrapper.wpb-content-wrapper div p > a,
section.wpb-content-wrapper.wpb-content-wrapper div p > a:hover u,
section.wpb-content-wrapper.wpb-content-wrapper div p > strong > a,
section.wpb-content-wrapper.wpb-content-wrapper div p a,
section.wpb-content-wrapper.wpb-content-wrapper div ul li a,
section.wpb-content-wrapper.wpb-content-wrapper div ol li a,
section.wpb-content-wrapper.wpb-content-wrapper div p > b > a{
    background-color: transparent;
    color: #1b72e8;
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}


section.wpb-content-wrapper.wpb-content-wrapper div p > a:hover,
section.wpb-content-wrapper.wpb-content-wrapper div p > a:hover u,
section.wpb-content-wrapper.wpb-content-wrapper div p > strong > a:hover,
section.wpb-content-wrapper.wpb-content-wrapper div p a:hover,
section.wpb-content-wrapper.wpb-content-wrapper div ul li a:hover,
section.wpb-content-wrapper.wpb-content-wrapper div ol li a:hover,
section.wpb-content-wrapper.wpb-content-wrapper div p > b > a:hover{
    background-color: transparent;
    color: #023d8f;
    text-decoration: none;
}

/*  all the internal link need to be without underline */
section.wpb-content-wrapper.wpb-content-wrapper div ul li a[href^="#"],
section.wpb-content-wrapper.wpb-content-wrapper div ol li a[href^="#"]{
    background-color: transparent;
    color: #1b72e8;
    text-decoration: none;
}


section.wpb-content-wrapper.wpb-content-wrapper div ul li a[href^="#"]:hover,
section.wpb-content-wrapper.wpb-content-wrapper div ol li a[href^="#"]:hover{
    background-color: transparent;
    color: #023d8f;
    text-decoration: none;

}


section.wpb-content-wrapper.wpb-content-wrapper div p {
    font-weight: 400;
}

section.wpb-content-wrapper.wpb-content-wrapper div p > strong,
section.wpb-content-wrapper.wpb-content-wrapper div p > b {
    font-weight: 700;
}



/* maintaining old styles */

.ul-style {
    list-style-type: disc !important;
    margin-left: 40px!important; 
    font-size: 1.25rem!important;
    padding-left: 0!important;
}

.li-style {
    margin: 0!important;
    padding: 0!important;
    font-size: 1.15rem!important;
    margin-bottom: 0.5rem!important;
}

/* maintaining old styles */


/*END OTTIMIZAZIONI TESTO */
 .info-header.info-header.info-header.info-header.info-header.info-header.info-header.info-header{
        background: #dadfef;
        padding: 2rem;
        margin-top: 0 !important;
        margin-bottom: 5rem;
        overflow: visible;

        .container{

            .row{
                min-height: 400px;
                display: flex;
                justify-content: flex-start;
                align-items: center;

                @media screen and (max-width: 768px){
                            display: block;
                        }
                & > div{
                    &:nth-child(2){
                        position: relative;
                        aspect-ratio: 1;

                        @media screen and (max-width: 768px){
                            aspect-ratio: auto;
                        }

                    img{
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        transform: translate(0px, 7rem);

                        @media screen and (max-width: 768px){
                            transform: translate(0px, 0rem);
                            position: relative;
                            max-width: 300px;
                        }
                    }
                }
            }
        }
    }
}



.taginsesistente.per.aggiornare.il.css{
    display: none;
    
}

/* Full width header */
/* ========== HEADER FULL WIDTH - DESKTOP ========== */
@media (min-width: 992px) {
    header#sticky-header .header-inner {
      width: 100% !important;
      max-width: 100% !important;
      padding-left: 30px !important;
      padding-right: 30px !important;
      box-sizing: border-box;
      z-index: 9999;
    }
  }
  
  /* ========== HEADER - MOBILE & TABLET ========== */
  @media (max-width: 991px) {
    header#sticky-header .header-inner {
      position: relative !important;
      padding-left: 5px !important;         /* Rimuove padding sinistro per il logo */
      padding-right: 20px !important;     /* Lascia spazio per hamburger */
      box-sizing: border-box;
    }
  
    /* Posizionamento hamburger menu */
    header#sticky-header .header a {
      display: block !important;          /* Forza visibilità */
      visibility: visible !important;
      opacity: 1 !important;
    }
  }
  
  