@font-face {
    font-family: 'colaborate-lightregular';
    src: url('font/Colaborate/colaborate_light_macroman/ColabLig-webfont.eot');
    src: url('font/Colaborate/colaborate_light_macroman/ColabLig-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/Colaborate/colaborate_light_macroman/ColabLig-webfont.woff2') format('woff2'),
         url('font/Colaborate/colaborate_light_macroman/ColabLig-webfont.woff') format('woff'),
         url('font/Colaborate/colaborate_light_macroman/ColabLig-webfont.ttf') format('truetype'),
         url('font/Colaborate/colaborate_light_macroman/ColabLig-webfont.svg#colaboratelightregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'colaborate-boldregular';
    src: url('font/Colaborate/colaborate_bold_macroman/ColabBol-webfont.eot');
    src: url('font/Colaborate/colaborate_bold_macroman/ColabBol-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/Colaborate/colaborate_bold_macroman/ColabBol-webfont.woff2') format('woff2'),
         url('font/Colaborate/colaborate_bold_macroman/ColabBol-webfont.woff') format('woff'),
         url('font/Colaborate/colaborate_bold_macroman/ColabBol-webfont.ttf') format('truetype'),
         url('font/Colaborate/colaborate_bold_macroman/ColabBol-webfont.svg#colaborate-boldregular') format('svg');
    font-weight: bold;
    font-style: normal;

}

/* classi font */
.colaborate-lightregular{
    font-family: 'colaborate-lightregular';
};
.colaborate-boldregular{
    font-family: 'colaborate-boldregular';
}


body{
    background-image: url('img/img-europa.jpg');
    background-repeat: no-repeat;
    background-position: right -38px; 
    font-family: 'Nunito', sans-serif;
}
@media only screen and (min-width: 2000px) {
    body{
        background-position: 30% -38px;  
    }
}
@media only screen and (max-width: 991px) {
    body{
        background-position: 70% 0%;
    }
}

hr{
    border-color:#122E78;
}

.divPresentazione{
    min-height: 80px;
    font-size: 13px;
}
.titoloDivPresentazione{
    margin-top: 30px;
    color:#228BC2;
}

/* PayOff */
.payoff{
    background-image: url('img/texture_payoff.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    margin:0px;
    margin-top:10px;
    padding-top:8px;
    padding-bottom:4px;
    text-align: right;
    background-size:cover;
}
.testoPayoff{
    margin-right:15%;
    color:white;
}
.testoPayoffMobile{
    display: none;
    color:white;
    text-align: center;
    font-size:20px
}
.testoPayoffMobile h4{
    font-size:20px
}
@media only screen and (min-width: 2000px) {
    .testoPayoff{
        margin-right:25% !important;  
    }
}
@media only screen and (max-width: 1340px) {
    .testoPayoff{
        margin-right:7%;    
    }
}
@media only screen and (max-width: 1150px) {
    .payoff{
        background-position: 80% 0%;    
    }
}
@media only screen and (max-width: 991px) {
    .payoff{
        padding-bottom:4px;
        text-align: right;
        margin-top:25px;
        margin-bottom: 10px; 
    }
    .testoPayoff{
        margin-right:3%;
    }
    .boxLogo{
        text-align: center;
    }
    .testoPayoff{
        display: none;
    }
    .testoPayoffMobile{
        display: block;
    }
    .payoff{
        background-position: 50% 0%;
    }
}
@media only screen and (max-width: 340px) {
    .payoff{
        margin-top:35px;
    }
    .testoPayoffMobile h4{
        font-size:18px !important;
    }
}


/* Mains */
.mainIndex{
    background: linear-gradient(white, #E8E8E8);
    padding-top:5%;
    padding-bottom:8%;
}

.mainGruppo{
    background: linear-gradient(white, #E8E8E8);
    padding-top:3%;
    padding-bottom:3%;
}

/* Footer */
.footerIndex{
    background-image: url('img/texture_footer.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    margin-top:0px !important;
    margin-bottom:0px !important;
    padding-top:30px;
    padding-bottom:30px;
    background-size:cover;
}

.testoCerba{
    font-family: 'colaborate-lightregular';
    color:#0A3E65;
}
@media only screen and (max-width: 1200px) {
    .testoCerba{
        text-align: center;
    }
}
.riquadroCerba{
    background-color:#0A3E65;
    color:white;
    border-radius: 50px;
    padding-left:10px;
}
@media only screen and (max-width: 462px) {
    .riquadroCerba{
        padding:10px;
        font-size:20px;
    }
}
@media only screen and (max-width: 365px) {
    .riquadroCerba{
        font-size:20px;
        margin-top:25px;
    }
}

/* navbar */
.stileNavbar{
    padding-top:0px !important;
    background-color: #00000000;
    /* margin-right:10% !important; */
}
.bottoneNavbar{
    background-color: rgba(89, 103, 109, 0.6);
    margin-left: 20px;
    text-align: center;
    border-bottom-right-radius: 15px; 
    border-bottom-left-radius: 15px; 
    min-width: 150px; 
    height: 42px;
}
.bottoneNavbar:hover{
    background-color:#122E78 !important;
}
.bottoneActive{
    background-color:#122E78 !important;
}
.bottoneNavbar a{
    font-size: 20px;
    color: white !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
    padding-top: 5px !important;
}
.bottoneDropdown{
    width: 32px;
    height: 44px;
    margin-top: 20px;
    padding: 5px;
    font-size: 30px;
}
@media only screen and (max-width: 991px) {
    .stileNavbar{
        padding-top:0px !important;
    }
    .bottoneNavbar{
        background-color: rgba(89, 103, 109, 0.6);
        margin-left: 20px;
        text-align: center;
        border-bottom-right-radius: 0px; 
        border-bottom-left-radius: 0px; 
        min-width: 150px; 
    }
}

/* social */
.linkSocialNavbar a{
    font-size: 20px;
    margin: 0px 0px 0px 0px;
    padding-top:5px !important;
}
.linkSocialSidebar a{
    font-size: 35px!important;
    color:white;
}
.linkSocialFooter a{
    font-size: 22px;
    color:white;
}

/* pagina index - riquadro immagini e link siti */
.boxImmagine{
    padding: 30px;
}

/* pagina gruppo - riquadro download */
.riquadroCodiceEtico{
    width: 100%;
    text-align: center;
    border: 1px solid #122E78;
    padding:15px; 
}

/* Sidenav */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgba(89, 103, 109, 0.8);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    text-align:center;
}
.sidenav a {
    padding: 8px 8px 8px 8px;
    text-decoration: none;
    font-size: 25px;
    color: white;
    display: block;
    transition: 0.3s;

}
.sidenav a:hover{
    color: #f1f1f1;
}
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}
.cookie-link{
    background: #FFF url(//cdn.iubenda.com/icon_green_mini.gif) no-repeat;
    background-position: 7px 3px;
    background-position-x: 6px;
    background-position-y: 2px;
    padding-left: 20px;
    text-decoration: none;
    color: #59636d;
    -webkit-box-shadow: 0 1px 0 #ebebec;
    -moz-box-shadow: 0 1px 0 #ebebec;
    box-shadow: 0 1px 0 #ebebec;
    -webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.08);
    -moz-box-shadow: 0 1px 0 rgba(0,0,0,0.08);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
    border-top-color: #d0d0d0;
    border-left-color: #c3c3c3;
    border-right-color: #c3c3c3;
    border-bottom-color: #b8b9ba;
    display: inline-block;
    padding: 0 8px;
    border: 1px;
    border-style: solid;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: bold;
    border: 1px solid #d2d3d3;
    line-height: 18px;
    padding-left: 20px;
    font-family:"Helvetica Neue",Helvetica,Arial,FreeSans,sans-serif;

}
.cookie-link:hover{
    text-decoration: none;
    color: #333;
}
