/* --------- Structure de page --------- */

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    color: #292b2c;
    background-color: #fff;
    word-spacing: normal;
    letter-spacing: normal;
    font-family: 'Open Sans', sans-serif;
}

.wrapper {
    min-height: 100%;
    position: relative;
}

.lightlink a:not(.btn), .container.med-dark a:not(.btn), section.med-dark a:not(.btn), .zone.med-dark a:not(.btn), .container.med-darker a:not(.btn), section.med-darker a:not(.btn), .zone.med-darker a:not(.btn), .container.dark a:not(.btn), section.dark a:not(.btn), .zone.dark a:not(.btn), .container.darker a:not(.btn), section.darker a:not(.btn), .zone.darker a:not(.btn), .container.main-color a:not(.btn), section.main-color a:not(.btn), .zone.main-color a:not(.btn), .container.main-color-alt a:not(.btn), section.main-color-alt a:not(.btn), .zone.main-color-alt a:not(.btn) {
    color: #292b2c;
}

.darklink a:not(.btn), .container.lighter a:not(.btn), section.lighter a:not(.btn), .zone.lighter a:not(.btn), .container.light a:not(.btn), section.light a:not(.btn), .zone.light a:not(.btn), .container.med-lighter a:not(.btn), section.med-lighter a:not(.btn), .zone.med-lighter a:not(.btn), .container.med-light a:not(.btn), section.med-light a:not(.btn), .zone.med-light a:not(.btn), .container.med a:not(.btn), section.med a:not(.btn), .zone.med a:not(.btn) {
    color: inherit;
}

.container.lighter, section.lighter, .zone.lighter {
    background-color: #FFF;
    color: #292b2c;
}

.container.rounded, section.rounded, .zone.rounded {
    -moz-border-radius: 0.25rem;
    -webkit-border-radius: 0.25rem;
    border-radius: 0.25rem;
}

.container.vertpadding {
    padding-top: 0;
    padding-bottom: 1px;
}

.bg-color {
	background-color: #f8f8f8;
}

.bg-gris {
    background-color: #F2F2F2;
}

.bgimage {
	background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
	background-repeat: no-repeat;
    min-height: 200px;
    background-position: center;
}

.bgimage-filtre {
    min-height: 200px;
    opacity: 0.8;
    filter:alpha(opacity=80);
}

.bgimage-contenu {
    opacity: 1!important;
    min-height: 220px;
}

.section-border-top { /* bordure grise de séparation */
    border-top:2px solid #e6e6e6;
}


/* --------- Font --------- */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 24px;
    line-height: 30px !important;
}

h3 { 
    font-size: 18px;
}

p {
    margin-bottom: 0;
    font-size: 16px;
    font-family: "Open Sans", Arial;
    line-height: 24px;
}

.font-small {
    font-size: 14px !important;
}

.font-medium {
    font-size: 18px !important;
    line-height: 24px !important;
}


.font-title {
    font-size: 26px !important;
    font-weight: bold;
    padding: 10px 0px;
    line-height: 30px;
}

.textvert {
    color: #99a637;
}

.textblanc {
    color: #ffffff;
}

.bold {
    font-weight: bold;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}


/* --------- Margin / Padding --------- */

.margin-auto {
    margin: 0 auto;
}

.no-padding-vert {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.no-padding-hori {
    padding-left: 0px !important;
    padding-right: 0px !important;
}
.padding-hori {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.avantage-detail {
    line-height: 20px !important;
    padding: 20px 20px 0px 20px;
}

.vert-align {
    margin-top: auto;
    margin-bottom: auto;
}

.hori-align {
    margin-left: auto;
    margin-right: auto;
}

.padding-top10 {
    padding-top: 10px !important;
}

.padding-top25 {
    padding-top: 25px !important;
}

.padding-top50 {
    padding-top: 50px !important;
}

.padding-bottom10 {
    padding-bottom: 10px !important;
}

.padding-bottom25 {
    padding-bottom: 25px !important;
}

.padding-bottom50 {
    padding-bottom: 50px !important;
}


/* --------- H1 + Titre programme --------- */
#header-logo{
    max-width: 100%;
    max-height: 100px;
}

.logo-prog {
    margin: auto 0;
    max-height: 150px;
}

#programme-logo {
    
    max-width: 100%;
}
#titre-bordure {
    width:70px;
    height:3px;
    margin: 20px 0px 10px 0px;
}

/* --------- Formulaire --------- */

.formulaire {
    min-height: 520px;
}

.mktoForm form{
    padding: 20px 0px;
}

.img-formulaire {
    max-width: 100%;
    height: auto;
}

#champs-obligatoires-formulaire {
    font-size: 12px;
    padding: 20px 0px;
    
}
#picto-form-valide {
    padding-top : 110px;
    max-width: 110px;
}

/* --------- CTA fixe sur mobile --------- */
#cta-fixe {
    position: fixed;
    bottom:0px;
    background-color: #99a637;
    width: 100%;
    max-width: 1140px;
    padding: 15px;
    z-index: 1;
    color:#ffffff;
    text-decoration: none !important;
}

#cta-fixe a{ 
    text-decoration: none !important;
}

/* --------- Details pratiques --------- */

#titre-detailspratiques {
    width:50px;
    height:3px;
    margin: 20px auto;
    
}


.detailspratiques{
    box-shadow: #e5e5e5 1px 1px 30px;
    width:90%;
    margin: 0 auto;
}

.detailspratiques p{
    padding: 0px 0px 30px 0px;
}

.btnagenda {
    background-color: #ffffff;
    padding: 12px 20px 12px 20px;
    max-width: 280px;
    color: #99a637!important;
    font-size: 18px;
    text-decoration: none !important;
    border : 2px solid;
    border-color: #99a637;
    margin: 0 auto;
}

.contenu-detailspratiques {
    padding: 40px 0px;
}

.map-detailspratiques {
    min-height: 300px;
}
/* --------- Section 'liste à puces' --------- */
.listepuce {
    padding: 0px 0px;
    width: 65%;
}

/* --------- Bannière Promo / Offre Partenaire --------- */

.titre-ban-promo, .titre-offre-partenaire {
    font-size: 30px;
    max-width: 550px;
}

.mention-ban-promo, .mention-offre-partenaire {
    font-size: 16px;  
    max-width: 550px;
    line-height: 24px;
}

.picto {
    width: 100px;
    padding:10px 10px;
}

.picto img {
    max-width: 100px;
    width: 100%;
}   

/* --------- Section 'Avantage du programme' --------- */

.avantages-contenus {
    padding : 20px 5px 20px 5px;
    max-height: 300px;
}

.avantages-pictos {
     width: 60px;
}

.avantages-pictos-bordure {
    height: 4px;
    width: 40px;
    margin: 20px auto 0px auto;
}

.avantages-pictos img{
    max-width: 60px;
}


.btnprincipal {
    background-color: #99a637;
    padding: 12px 25px 12px 25px;
    max-width: 250px;
    color: #ffffff!important;
    font-size: 18px;
    text-decoration: none !important;
}


.img-quartier {
    margin: 0 auto;
    text-align: center;
    width:100%;
}

#avantage-04-visuel {
    max-width: 100%;
}

/* --------- Bloc Condition idéales > Habiter / Investir --------- */

.bgnotaire {
    min-height: 250px;
    padding-top: 60px;
    padding-bottom: 40px;
}

.titre-conditions {
    padding-top: 25px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center; 
    font-weight: bold;
    border-bottom: 2px solid #fff;
}

.contenu-conditions {
    color: #fff;
    font-weight: bold;
    padding: 10px 0px 0px 0px;
    margin: 0 auto;
}
.contenu-conditions ul{
    padding-left :10px;
}
.picto-conditions {
    margin: 0 auto;
    text-align: center;
    min-width: 220px;
}

.picto-conditions img {
    max-width:100%;
    text-align: center;
    padding: 0px;
}

/* --------- Bandeau NF --------- */
#nfhabitat-logo {
    width: 150px;
}

/* --------- Footer --------- */
#footer-logo{
    max-width: 100%;
    max-height: 100px;
}

.footer-copromo {
    padding-left: 5px;
    padding-top: 10px;
}

.reseaux-sociaux {
    padding-left:40px;
}

.reseaux-sociaux img{
    padding: 20px 5px;
}
.titre-reassu {
    padding-top: 15px;
}

.picto-reassu {
    padding-top: 0;
    width: 33%;
    float: left;
}

.no-padding-mobile {
    padding-bottom: 30px;
}
/* --------- Mentions --------- */

.mentions {
    font-size: 11px !important;
    line-height: 16px !important;
    color: #a1a1a1 !important;
}


/* --------- Media queries > MD --------- */

@media (max-width: 1140px) {
    .img-formulaire {
        max-width: 100%;
        height: auto;
    }
}

/* --------- Media queries > SM --------- */


@media (min-width: 767px) {
    .row {
        margin: 0px !important;
    }
    .show-mobile {
        display: none;
    }
}


@media (max-width: 767px) {
    h1 {
    font-size: 24px;
    }

    h2 {
        font-size: 22px;
        line-height: 28px !important;
    }
    
    .show-mobile {
        display: block;
    }
    .hide-mobile {
        display:none;
    }
    .padding-top50 {
        padding-top: 40px !important;
    }
    .padding-bottom50 {
        padding-bottom: 40px !important;
    }
    .formulaire {
        min-height: 320px;
    }
    #picto-form-valide {
        padding-top : 30px;
    }
    .h3-quartier {
        padding-top: 20px;
    }
    .header-copromo {
        margin-top: -15px;
    }
    .row {
        margin: 0px !important;
    }
    
    .listepuce {
        width: 100%;
    }
    .img-mobile {
        padding: 0;
    }
    .titre-ban-promo, .titre-offre-partenaire {
        font-size: 25px;
        line-height: 28px;
        text-align: center;
        margin: 0 auto;
    }
    .mention-ban-promo, .mention-offre-partenaire {
        font-size: 14px;
        line-height: 20px;
        text-align: center;
        margin: 0 auto;
    }
    .picto {
        max-width: 80px;
        padding:0px 10px 25px 10px;
    }
    .nf-picto {
        padding-top: 25px;
        max-width: 120px;
    }
    .header-copromo {
        text-align: center !important;
        margin: 10px auto 15px auto !important;
    }
    .avantage-detail {
        max-width: 300px;
    }
    .picto-reassu {
        padding-top: 15px;
    }
    .no-padding-mobile {
        padding-bottom: 50px !important;
    }
    .footer-copromo {
        padding-left: 0;
        width: 100%;
        margin: auto;
    }
    .img-formulaire {
        max-width: 100%;
        height: auto;
    }
    .logo-prog {
        margin: 0 auto;
        text-align: center;
    }
    .img-quartier {
        margin: 0 0 15px 0;
        text-align: center;
    }
    .logo-footer {
        margin: 0 auto;
        text-align: center;
    }
    .reseaux-sociaux {
        margin: 0 auto;
        text-align: center;
        padding-left:0px;
    }
    .titre-reassu {
        padding: 15px 5px 0px 5px;
        font-size:10px !important;
        line-height: 15px !important;
    }
    .conditions {
        margin: 10px 0px;
    }
}

