/* 
    Created on : 16 mars 2015
    Author     : cducommun / FazaÃƒÆ’Ã‚Â©
*/



/*** GENERAL ***/
body {
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    line-height: 18px;
    color: #000;
    background-color: #262626;
}

.container-fluid {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.mb-5 {
    margin-bottom: 3rem;
}

.translate-middle {
    transform: translate(-50%, 50%);
}

.translate-middle-x {
    transform: translateX(-50%) !important;
}

.start-50 {
    left: 50%;
}

.top-50 {
    top: 50%;
}

.top-0 {
    top: 0 !important;
}

.position-absolute {
    position: absolute;
}

.position-relative {
    position: relative;
}

/*** NAV ***/
/*** clean le style bootstrap ***/
.nav {
    display: flex;
    justify-content: space-around;
    height: 29px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.nav li {
    display: flex;
}

nav li a {
    color: white;
    text-decoration: none;
    margin-top: 5px;
    padding: 0px !important;
}

nav #logo-nav a {
    margin-top: -50px;
}

.nav>li.deco {
    line-height: 28px;
    color: #fff;
}

.nav>li>a:hover {
    color: white;
    background-color: transparent;
}

.navbar-default .navbar-collapse,
.navbar-default .navbar-form,
.navbar-default {
    border-color: transparent;
    height: 32px !important;
}

.navbar-default {
    background-color: transparent;
}

.navbar-nav {
    float: none;
}

.navbar {
    height: 32px !important;
    margin-bottom: 0px;
    border: 0px solid transparent;
}

.navbar-nav>li>a {
    padding-bottom: 0px;
    padding-top: 0px;
}

/**** le style AM ***/
.navbar-default .navbar-nav>li>a {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    line-height: 28px;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
    color: #ddd;
    outline: transparent;
}

#menu .container {
    padding-left: 0px;
    padding-right: 0px;
}

.navbar-nav {
    position: relative;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: 29px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

li#logo {
    color: #fff;
    line-height: 27px;
}

#logo a {
    display: block;
    text-indent: -5000px;
    background: url(images/a2m-logo.png) top center no-repeat;
    position: absolute;
    top: -50px;
    height: 175px;
    width: 135px;
    /* left: -30px; */
    right: -115px;
}

#logo-smartphone {
    display: none;
    background: url(images/a2m-logo.png) top center no-repeat;
    background-size: contain;
    position: absolute;
    z-index: 1;
    top: -45px;
    height: 175px;
    width: 135px;
    /*right: -115px;*/
}

#menu {
    padding-top: 3px;
    padding-bottom: 3px;
    background-color: #000;
    margin-top: 52px;
    position: absolute;
    width: 100%;
    height: 35px;
}

.navbar-nav>li:nth-of-type(6) {
    margin-left: 195px;
}

.navbar-nav>li {
    margin-right: 148px;
}

.navbar-nav>li:last-child {
    margin-right: 0px;
}

.navbar-nav>li:nth-of-type(1) {
    margin-left: 40px;
}

.navbar-nav>li.deco {
    line-height: 28px;
    color: #fff;
}

/**** TOUTES SECTIONS ****/
img.img-responsive {
    margin-bottom: 86px;
    margin-top: 37px;
}

h1 {
    font-size: 36px;
    text-transform: uppercase;
}

h2 {
    font-size: 21px;
}

h1,
h2 {
    text-transform: uppercase;
}

hr {
    margin-top: 0px;
    margin-bottom: 11px;
    border-top: 1px solid #92a9a7;
}

.partenaires hr {
    width: 431px;
}

#activites hr {
    width: 459px;
}

#contact hr {
    width: 463px;
}

/*#activites p {min-height: 130px;}*/
.list-inline {
    margin-left: 0px;
}

.titre-section {
    margin-left: auto;
    margin-right: auto;
    width: 61%;
    margin-bottom: 100px;
}

.partenaires h2,
#activites h2,
#contact h3 {
    background: url(images/cross.png) bottom center no-repeat;
    margin-bottom: 20px;
    margin-top: 42px;
    padding-bottom: 27px;
}

/*** BACKGROUND IMAGES ****/
#presentation {
    background-image: url("images/bg-section-presentation4.png");
    width: 100%;
}

#activites {
    background-color: #cbddd8;
}

.partenaires {
    background-image: url("images/bg-section-partenaires.png");
}

.partenaires.partenaires-suite {
    background-image: url("images/bg-section-partenaires-suite.png");
}

#contact {
    background-image: url("images/bg-section-contact.png");
    /* background-size: 100%; */
}

#presentation,
.partenaires,
#contact {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100%;
}

/**** SECTION PRESENTATION ***/
#presentation h1 {
    text-transform: none;
    /*margin-top: 259px;*/
}

#presentation h2 {
    text-transform: none;
    margin-top: 0px;
    margin-bottom: 24px;
    font-size: 26px;
}

#presentation blockquote {
    display: block;
    font-style: italic;
    font-size: 18px;
    background-color: rgba(223, 223, 223, 0.7);
    border-left: 0px;
    /*width: 700px;*/
    margin: 0;
    margin-top: 50px;
    line-height: 28px;
    border: 1px solid #cbddd8;
}

#presentation {
    height: 584px;
}

/***** SECTION ACTIVITES ******/
#activites {
    /*    height: 800px; padding-bottom: 1px;*/
}

#activites img.img-responsive {
    margin-top: 67px;
}

/*#activites .col-lg-4:last-child img.img-responsive{
    margin-top: 30px;
} */
/**** SECTION PARTENAIRES *****/
.partenaires,
.partenaires a,
.partenaires a:hover {
    color: #fff;
}

.partenaires img.img-responsive {
    margin-top: 49px;
}

/*** SECTION experience ******/
.experience {
    background: #92a9a7;
    padding-top: 50px;
}

.experience hr {
    border-top: 1px solid #cbddd8;
}

/*** SECTION CONTACT ******/
#cartouche-contact {
    background: url("images/div-contact.png") top center no-repeat;
    height: 175px;
    width: 555px;
    padding-top: 10px;
    margin-bottom: 70px;
    margin-left: auto;
    margin-right: auto;
    line-height: normal;
}

.links {
    display: flex;
    align-items: center;
    justify-content: center;
}

#contact img.img-responsive {
    margin-bottom: 0px;
}

#contact h2 {
    text-transform: none;
    font-style: italic;
    font-size: 18px;
    margin-bottom: 30px;
}

#contact h3 {
    font-style: italic;
    margin-top: 0px;
}

#contact a,
#contact a:hover {
    font-size: 22px;
    text-decoration: none;
}

#contact #tel,
#contact #tel:hover {
    color: #000;
}

#contact a {
    margin-right: 15px;
}

#contact a:last-child {
    margin-right: 0px;
}

#contact a span {
    font-size: 16px;
    font-style: italic;
    margin-right: 7px;
}

#contact {
    height: 800px;
}

/*** FOOTER ***/
footer {
    background-color: #000;
    color: #fff;
    font-size: 12px;
    width: 100%;
    text-align: center;
    padding: 7px 0px 7px 0px;
}

footer a,
footer a:hover {
    color: #fff;
    text-decoration: none;
}

/*** MEDIAS QUERIES ***/

/*** large screen ***/
@media screen and (min-width : 2560px) {
    .navbar-nav>li:nth-of-type(1) {
        margin-left: 363px;
    }

    .titre-section {
        width: 46%;
    }
}

@media screen and (min-width : 1025px) and (max-width : 1224px) {
    .navbar-nav>li {
        margin-right: 59px;
    }

    .navbar>.container #logo a {
        right: -143px;
    }

    #presentation blockquote {
        /*margin: 56px auto;*/
    }

    .titre-section {
        width: 98%;
        margin-bottom: 40px;
    }

    img.img-responsive {
        margin-bottom: 0px;
    }

    .partenaires img.img-responsive {
        margin-top: 20px;
    }

    .partenaires {
        height: 550px;
    }

    #presentation,
    .partenaires,
    #contact {
        background-size: auto;
    }

    #contact {
        height: 650px;
    }

    #cartouche-contact {
        margin-bottom: 10px;
    }

    .navbar-nav>li:nth-of-type(1) {
        margin-left: 166px;
    }

    .navbar-nav>li {
        margin-right: 117px;
    }
}

@media screen and (max-width : 1805px) {
    .navbar-nav>li {
        margin-right: 115px;
    }

    .navbar-nav>li:nth-of-type(6) {
        margin-left: 22px;
    }

    .navbar-nav>li:nth-of-type(1) {
        margin-left: 305px;
    }

    #logo a {
        right: -35px;
        z-index: 2000000;
    }

    .navbar-nav>li {
        margin-right: 89px;
    }

    #presentation blockquote {
        /*margin: 181px auto;*/
    }

    .titre-section {
        width: 65%;
    }
}

@media screen and (max-width : 1709px) {
    .navbar-nav>li {
        margin-right: 115px;
    }

    .navbar-nav>li:nth-of-type(6) {
        margin-left: 22px;
    }

    .navbar-nav>li:nth-of-type(1) {
        margin-left: 255px;
    }

    #logo a {
        right: -35px;
    }

    .navbar-nav>li {
        margin-right: 89px;
    }

    #presentation blockquote {
        /*margin: 142px auto;*/
    }

    .titre-section {
        width: 69%;
    }
}

@media screen and (max-width : 1672px) {
    .navbar-nav>li {
        margin-right: 115px;
    }

    .navbar-nav>li:nth-of-type(6) {
        margin-left: 22px;
    }

    .navbar-nav>li:nth-of-type(1) {
        margin-left: 237px;
    }

    #logo a {
        right: -35px;
    }

    .navbar-nav>li {
        margin-right: 89px;
    }

    #presentation blockquote {
        /*margin: 142px auto;*/
    }

    .titre-section {
        width: 71%;
    }
}

@media screen and (max-width : 1630px) {
    .navbar-nav>li {
        margin-right: 115px;
    }

    .navbar-nav>li:nth-of-type(6) {
        margin-left: 22px;
    }

    .navbar-nav>li:nth-of-type(1) {
        margin-left: 215px;
    }

    #logo a {
        right: -35px;
    }

    .navbar-nav>li {
        margin-right: 89px;
    }

    #presentation blockquote {
        /*margin: 142px auto;*/
    }

    .titre-section {
        width: 72%;
    }
}

@media screen and (max-width : 1550px) {
    .navbar-nav>li {
        margin-right: 115px;
    }

    .navbar-nav>li:nth-of-type(6) {
        margin-left: 22px;
    }

    .navbar-nav>li:nth-of-type(1) {
        margin-left: 177px;
    }

    #logo a {
        right: -35px;
    }

    .navbar-nav>li {
        margin-right: 89px;
    }

    #presentation blockquote {
        /*margin: 114px auto;*/
    }

    .titre-section {
        width: 76%;
    }

    body {
        font-size: 17px;
    }
}

@media screen and (max-width : 1490px) {
    .navbar-nav>li {
        margin-right: 115px;
    }

    .navbar-nav>li:nth-of-type(6) {
        margin-left: 22px;
    }

    .navbar-nav>li:nth-of-type(1) {
        margin-left: 146px;
    }

    #logo a {
        right: -35px;
    }

    .navbar-nav>li {
        margin-right: 89px;
    }

    #presentation blockquote {
        /*margin: 114px auto;*/
    }

    .titre-section {
        width: 79%;
    }

    body {
        font-size: 17px;
    }
}

@media screen and (max-width : 1280px) {
    .navbar-nav>li {
        margin-right: 115px;
    }

    .navbar-nav>li:nth-of-type(6) {
        margin-left: 22px;
    }

    .navbar-nav>li:nth-of-type(1) {
        margin-left: 41px;
    }

    #logo a {
        right: -35px;
    }

    .navbar-nav>li {
        margin-right: 89px;
    }

    #presentation blockquote {
        /*margin: 18px auto;*/
    }

    .titre-section {
        width: 93%;
        margin-bottom: 52px;
    }

    body {
        font-size: 17px;
    }

    #contact {
        height: 665px;
    }

    #cartouche-contact {
        margin-bottom: 21px;
    }
}


@media screen and (width : 1024px) {
    .navbar-nav>li:nth-of-type(6) {
        margin-left: 175px !important;
    }
}

/*** intermediaire iPad et Desktop ***/
@media screen and (min-width : 769px) and (max-width : 1024px) {
    .navbar-nav>li {
        margin-right: 29px;
    }

    .navbar>.container #logo a {
        right: -156px;
    }

    #presentation blockquote {
        /*margin: 56px auto;*/
    }

    .titre-section {
        width: 68%;
        margin-bottom: 14px;
    }

    img.img-responsive {
        margin-bottom: 0px;
    }

    .partenaires img.img-responsive {
        margin-top: 20px;
    }

    #presentation,
    .partenaires,
    #contact {
        background-size: auto;
    }

    #contact {
        height: 650px;
    }

    #cartouche-contact {
        margin-bottom: 10px;
    }

    #contact hr,
    .partenaires hr,
    #activites hr {
        width: 220px;
    }

    #contact .titre-section {
        width: 68%;
    }

    .partenaires .titre-section {
        width: 75%;
    }

    #activites .titre-section {
        width: 69%;
    }

    #activites {
        height: 700px;
    }

    p {
        font-size: 15px;
    }

}

/*** iPad ***/

@media only screen and (width : 1024px) {
    #logo a {
        right: -154px;
    }
}

@media screen and (max-width : 768px) {
    #presentation blockquote {
        width: 90%;
        margin-top: 0;
    }

    #logo-smartphone {
        height: 125px;
    }
}

@media screen and (min-width : 481px) and (max-width : 768px) {
    .navbar-nav>li:nth-of-type(1) {
        margin-left: 7px;
    }

    li#logo {
        display: none;
    }

    #logo-smartphone {
        display: block;
        right: 310px;
        z-index: 200000;
    }

    .navbar-nav>li {
        margin-right: 0px;
    }

    .navbar>.container #logo a {
        right: -156px;
    }

    #presentation blockquote {
        /*margin: 56px auto;*/
    }

    .titre-section {
        width: 68%;
        margin-bottom: 14px;
    }

    section#activites {
        margin-bottom: 0px;
    }

    .partenaires img.img-responsive {
        margin-top: 20px;
    }

    #presentation,
    .partenaires,
    #contact {
        background-size: auto;
    }

    #contact {
        height: 650px;
    }

    #cartouche-contact {
        margin-bottom: 10px;
    }

    #contact hr,
    .partenaires hr,
    #activites hr {
        width: 123px;
    }

    #contact .titre-section {
        width: 64%;
    }

    .partenaires .titre-section {
        width: 75%;
    }

    #activites .titre-section {
        width: 65%;
    }

    #activites {
        height: 646px;
    }

    p {
        font-size: 14px;
    }

    #activites .col-lg-4 {
        position: relative;
        height: 515px;
    }

    #activites .col-lg-4 img {
        position: absolute;
        bottom: 0px;
        max-width: 88%;
    }
}

/*** Smartphones ***/
@media only screen and (width : 736px) and (orientation : landscape) {
    .partenaires .titre-section {
        width: 77%;
    }

    #contact .titre-section {
        width: 67%;
    }

    #activites .titre-section {
        width: 69%;
    }

    #logo-smartphone {
        right: 293px;
    }

    #presentation blockquote,
    #cartouche-contact {
        width: auto;
    }

    .partenaires h2,
    #activites h2,
    #contact h3 {
        font-size: 16px;
    }
}

@media only screen and (width : 667px) and (orientation : landscape) {
    .partenaires .titre-section {
        width: 84%;
    }

    #contact .titre-section {
        width: 75%;
    }

    #activites .titre-section {
        width: 76%;
    }

    #logo-smartphone {
        right: 260px;
    }

    #presentation blockquote,
    #cartouche-contact {
        width: auto;
    }

    .partenaires h2,
    #activites h2,
    #contact h3 {
        font-size: 16px;
    }
}

@media only screen and (max-width : 600px) and (orientation : landscape) {
    #logo-smartphone {
        right: 225px;
    }

    #activites .titre-section {
        width: 86%;
    }

    .partenaires .titre-section {
        width: 94%;
    }

    #cartouche-contact a {
        display: block;
    }

    #presentation blockquote {
        width: auto;
    }

    #contact .titre-section {
        width: 84%;
    }
}


@media only screen and (width : 568px) and (orientation : landscape) {
    .partenaires .titre-section {
        width: 100%;
    }

    #contact .titre-section {
        width: 89%;
    }

    #activites .titre-section {
        width: 90%;
    }

    #logo-smartphone {
        right: 209px;
    }

    #presentation blockquote,
    #cartouche-contact {
        width: auto;
    }

    .partenaires h2,
    #activites h2,
    #contact h3 {
        font-size: 16px;
    }
}

@media screen and (max-width : 480px) {
    #activites img.img-responsive {
        margin-top: 30px;
    }

    .partenaires h2,
    #activites h2,
    #contact h3 {
        height: 68px;
        margin-bottom: 19px;
        margin-top: 6px;
        font-size: 16px;
    }

    .partenaires h2 {
        margin-top: 25px;
        border-top: 1px solid #cbddd8;
        padding-top: 10px;
    }

    #activites h2 {
        margin-top: 25px;
        border-top: 1px solid #92a9a7;
        padding-top: 10px;
    }

    .titre-section {
        margin-bottom: 10px;
    }

    #activites .titre-section {
        width: 75%;
    }

    .partenaires .titre-section {
        width: 87%;
    }

    #presentation h1 {
        /*margin-top: 267px;*/
        font-size: 30px;
    }

    #presentation h2 {
        font-size: 22px;
    }

    #presentation blockquote {
        /*width: auto;*/
        line-height: 25px;
        font-size: 18px;
    }

    .col-lg-4,
    .col-lg-6 {
        width: 100%;
    }

    hr {
        display: none;
    }

    #logo-smartphone {
        display: block;
        right: 92px;
    }

    .navbar-nav>li {
        margin-right: 29px;
    }

    .navbar>.container #logo a {
        right: -156px;
    }

    img.img-responsive {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    #presentation blockquote {
        /*margin: 30px auto;*/
    }

    section#activites {
        margin-bottom: 0px;
    }

    .partenaires img.img-responsive {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    #presentation,
    .partenaires,
    #contact {
        background-size: auto;
    }

    #cartouche-contact {
        margin-bottom: 10px;
        background-image: none;
        background-color: #cbddd8;
        width: auto;
        height: auto;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    p {
        font-size: 14px;
    }

    #activites .col-lg-4 {
        position: inherit;
    }

    #activites .col-lg-4 img {
        position: inherit;
        max-width: 88%;
    }

    #activites,
    .partenaires,
    .partenaires.partenaires-suite,
    #contact {
        height: auto;
    }

    .partenaires {
        background-image: none;
        background-color: #204d74;
    }

    h1 {
        margin-top: 0px;
    }

}

@media screen and (max-width : 414px) {
    #logo-smartphone {
        right: 136px;
    }

    #activites .titre-section {
        width: 60%;
    }

    .partenaires .titre-section {
        width: 76%;
    }

    #cartouche-contact a {
        display: block;
    }

    .titre-section {
        width: 55%;
    }
}

@media screen and (max-width : 384px) {
    #logo-smartphone {
        right: 123px;
    }

    #activites .titre-section {
        width: 68%;
    }

    .partenaires .titre-section {
        width: 84%;
    }

    #cartouche-contact a {
        display: block;
    }
}

@media screen and (max-width : 375px) {
    #logo-smartphone {
        right: 118px;
    }

    #activites .titre-section {
        width: 68%;
    }

    .partenaires .titre-section {
        width: 84%;
    }

    #cartouche-contact a {
        display: block;
    }
}

@media screen and (max-width : 384px) {
    #logo-smartphone {
        right: 112px;
    }

    #activites .titre-section {
        width: 68%;
    }

    .partenaires .titre-section {
        width: 84%;
    }

    #cartouche-contact a {
        display: block;
    }
}

@media screen and (max-width : 320px) {
    #logo-smartphone {
        right: 91px;
    }

    .list-inline>li {
        padding: 0px;
    }
}

@media screen and (max-width : 240px) {
    h1 {
        font-size: 26px;
    }

    #cartouche-contact a {
        font-size: 21px;
    }

    .partenaires h2,
    #activites h2,
    #contact h3,
    .partenaires,
    .partenaires a,
    .partenaires a:hover {
        font-size: 13px;
    }

    #logo-smartphone {
        right: 45px;
    }

    #activites .titre-section {
        width: 68%;
    }

    .partenaires .titre-section {
        width: 84%;
    }

    #cartouche-contact a {
        display: block;
    }

    #presentation blockquote {
        font-size: 13px;
        line-height: 20px;
    }
}

@media screen and (min-width : 768px) and (max-width : 1024px) {
    #activites h2 {
        margin-top: 2px;
    }

    #activites img.img-responsive {
        margin: 20px 0 0 0;
    }

    #activites p {
        min-height: 110px;
    }

    .navbar-nav>li:nth-of-type(6) {
        margin-left: 228px;
    }
}

@media only screen and (max-width : 320px) and (max-width : 667px) {
    #activites p {
        min-height: 0 !important;
    }
}