@font-face{
    font-family: "helvetica-font";
    src:url('HelveticaNeue-Roman.otf')
}
@font-face{
    font-family: "helvetica-font";
    src:url('HelveticaNeue-Roman.otf');
    font-weight: bold;
}
@font-face{
    font-family: "helvetica-font";
    src:url('HelveticaNeue-Roman.otf');
    font-style: italic;
}
*{
    font-size:22px;
    font-family: "helvetica";
    color: black;
}
header{
    position: fixed;
    z-index: 100;
    width: 100%;
}
body{
    width: 100%;
    height: 100%;
}

nav{
    height: 80px;
    background-color: white;
}
#list-item{
    text-align: center;
}
#item{
    width: 20%;
}
/*#nav-objectif:any-link{
    color: #021b83;
}*/

/*#item a:not(#nav-objectif){
    color: black;
    width: auto;
}*/
#item a{
    font-size: 0.85em;
}
#item a:not(#nav-objectif){
    color: black;
}
#item a:not(#nav-objectif):hover{
    color: #021b83;
}
#nav-objectif{
    color:#021b83;
}
#nav-objectif:hover{
    color: black;
}
#nav_logo{
    height: 40px;
    width: 23%;
}
@media(max-width:1000px){
    #nav_logo{
        height: 40px;
        width: 45%;
    }
}
@media(max-width:1200px) and (min-width:1000px){
    #nav_logo{
        height: 40px;
        width: 40%;
    }
}
@media(max-width:1400px) and (min-width:1200px){
    #nav_logo{
        height: 40px;
        width: 30%;
    }
}
@media(max-width:1600px) and (min-width:1400px){
    #nav_logo{
        height: 40px;
        width: 26%;
    }
}
#carousel-img{
    height:700px;
    margin-top:80px;
}
#carousel{
    width: 90%;
    margin-left: 5%;
}
#carousel-text{
    background-color: #f8f9fa;
    opacity: 90%;
    margin-bottom: 300px;
    width: 40%;
    margin-left: 30%;
    height: 30%;
    color: black;
    border-radius: 20px;
    right: 0;
    bottom: 0;
    left: 0;
}

#logo-slide-1{
    width: 60%;
}
#carousel-text h4{
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}
#carousel-text p{
    margin-top: 40px;
}
@media (max-width: 1200px) {
    #carousel-img{
        height:500px;
        margin-top: 80px;
    }
    #carousel-text{
        background-color: #f8f9fa;
        margin-bottom: 200px;
        width: 50%;
        margin-left: 25%;
        height: 200px;
        color: black;
        border-radius: 20px;
        
    }
    #carousel-text h4{
        margin-top: 30px;
        margin-bottom: 20px;
        font-size: 1.2em;
    }
    #carousel-text p{
        margin-top: 30px;
    }
}
#italic-slide-1{
    font-size: 18px;
}
#presentation{
    padding-top:80px;
}
#col_presentation_texte p{
    font-size: 21px;
    text-align: justify;
}
#col_presentation_texte p b{
    color: #021b83;
}
#objectifs{
    padding-top: 80px;
}
#p_objectifs{
    text-align: center;
}
#methode{
    text-align: center;
    padding-top: 80px;
}
#col_methode h6{
    text-align: center;
}
#d_fleche img{
    margin-top:60%;
    width: 100%;
}
#r_objectifs > div > p {
    bottom: 0px;
}
#r_activites > div{
    margin:1%;
}
#r_reglementaire > div{
    margin:1%;
}
#methode{
    margin-top: 1%;
}
#information{
    margin-top:1%;
}
#reglementaire{
    margin-top: 1%;
}
#actualites{
    padding-top: 80px;
}
#d_information{
    text-align: center;
}
#body{
    width: 100%
}
#d_info_ecrite{
    border: solid;
    border-width: 1px;
    border-right-width: 2px;
    border-color: white;

}
#d_photo{
    border:solid;
    border-width: 1px;
    border-left-width: 2px;
    border-color: white;
}

h5{
    background-color: #021b83;
    text-align: center;
    color: white;
    padding:15px;
    vertical-align: text-bottom;
}

#photo_presentation{
    width: 90%;
    margin-left: 50px;
}
@media(max-width:1000px){
    #photo_presentation{
        width: 90%;
        margin-left: 50px;
        margin-top:200px ;
    }
}

#row_logo{
    height:150px;
}
#ligne_logo{
    height: 100%;
    /*margin-top:-10%;*/
}
#logo{
    height: 130px;
    width: 32%;
}
#logo_hubnup{
    height: 150px;
    width: 32%;
}

#solutions{
    text-align: center;
    padding-top: 80px;
}
#solution_phrase div p b{
    font-size: 0.8em;
}
#image_2 img{
    width: 45%;
}
#image_3 img{
    width: 80%;
}
#image_4 img{
    width: 60%;
}
#image_5 img{
    width: 55%;
}

#line_article{
    width: 80%;
    margin-left: 10%;
}
@media(max-width:1400px){
    #line_article{
        width: 65%;
        margin-left: 17.5%;
    }
}
@media(max-width:1000px){
    #line_article{
        width: 100%;
        margin-left: 0%;
    }
}
#d_article{
    margin-top: 20px;
    text-align: center;
    border-width: 1px;
    border-style: solid;
    border-radius: 20px;
    border-color: #021b83;
    width: 150px;
}

#d_article img{
    width: 96%;
    height: 96%;
    margin : 2%;
}


#footer-container{
    margin-top:80px;
    background-color: #c1c1c1;
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;

}
#contacts *{
    font-size: medium;
}
#contacts{
    margin-top: 1rem;
}
#p_contacts{
    margin-bottom: 0px;
}

#mention_legal *{
    font-size: medium;
}
#formulaire_contact *{
    font-size: medium;
}
#r_objectifs{
    width:95%;
    margin-left: 2.5%;
}
#r_objectifs div{
    margin: 0.5%;
    height: 275px;
    width: 30%;

}
#objectif_immobilier{
    background-image: url(../img/objectifs/immobilier.png);
    background-position : center center;
    background-repeat: no-repeat;
    background-size: cover;
}
#objectif_placement{
    background-image: url(../img/objectifs/placement.jpg);
    background-position : center center;
    background-repeat: no-repeat;
    background-size: cover;
}
#objectif_fiscalite{
    background-image: url(../img/objectifs/fiscalite.jpg);
    background-position : center center;
    background-repeat: no-repeat;
    background-size: cover;
}
#objectif_retraite{
    background-image: url(../img/objectifs/retraite.jpg);
    background-position : center center;
    background-repeat: no-repeat;
    background-size: cover;
}
#objectif_famille{
    background-image: url(../img/objectifs/protection_famille.jpg);
    background-position : center center;
    background-repeat: no-repeat;
    background-size: cover;
}
#objectif_transmission{
    background-image: url(../img/objectifs/transmission.jpg);
    background-position : center center;
    background-repeat: no-repeat;
    background-size: cover;
}
#r_objectifs div p{
    font-size: medium;
    background-color: white;
    padding:5px;
    width: 90%;
    
}
#r_objectifs div p b{
    font-size: 0.8em;
}
#col_methode{
    width: 33%;
}
#h4-contacts{
    width: 33%;
    margin-left: 33%;
    background-color: transparent;
    text-align: center;
    color: black;
}
#logo_contact{
    margin-top: 10px;
    width: 30px;
    height: 30px;
}
html {
    scroll-behavior: smooth;
}