/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

* {
    font-size: 15px;
    font-weight: 400;
}

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}


#grid-actus {
    padding-top: 120px;
    margin: auto;
}

.js-com-pat img,.js-com-vin img {
    width: 80%;
}



body {
    font-family: 'Nunito', sans-serif!important;
    /*    background: rgba(226, 226, 226, 1);*/
}

main {
    background: #fff;
}



section{
    padding: 90px 0 20px;
}

h2,
h3 {
    font-size: 20px;
}

hr {
    border: 1px solid #ce642f;
    width: 86px;
    margin-bottom: 70px;
}


/* ---------------------
        NAVIGATION 
----------------------*/

.navbar-default {
    background-color: #1b365e!important;
    border: none!important;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .active > a {
    background-image: none!important;
    box-shadow: none!important;
}

.navbar-collapse {
    position: relative;
/*    max-height: none!important;
    float: left;*/
    width: 100%;

}

/* Liste menu */
.navbar-nav {
    text-align: center;
}

.navbar-nav li {
    height: inherit;
    color: #1b365e;
}
.navbar-nav li a {
    display: inline-flex;
    width: inherit;
    height: inherit;
    padding-top: 32px;
    padding-bottom: 32px;
}

/* Liens menu */
.navbar-default .navbar-nav > li > a {
    color: #fff !important;
    transition: color 0.3s, background 0.3s;
    font-size: 14px;
}

.navbar-default .navbar-nav > li > a:hover {
    color: #1b365e !important;
    background: #fff;
}

/* Bouton right */
.navbar-default .navbar-right {
    position: fixed;
    margin:0!important;
    right: 0;
    top: 0;
    background: #fff;
}

.navbar-default .navbar-right > li {
    background: #fff;
    height: inherit;
}
.navbar-default .navbar-right > li > a {
    /*border: 1px solid rgba(255, 255, 255, .5);
    transition: border 400ms ease-in-out;*/
    color: #ce642f;
    border: 1px solid #1b365e;
    padding: 15px 10px;
    margin: 15px 10px;
    text-align: center;
    background: #fff;
    transition: color 0.3s, background 0.3s;
}

.navbar-default .navbar-right > li > a:hover {
    background: #1b365e;
    color: #fff;
}


/* logo */
.navbar-brand {height: auto!important;}
.anvbar-brand a {display: block!important;}



/* menu toogle */
#home .navbar-toggle {
    padding: 12px 9px;
    margin-top: 12px;
    margin-bottom: 12px;
}

/* picto */
#home .navbar-brand {
    display: none;
}

/*modif Jérémie*/

.center-block {
    max-width: 1280px;
    padding: 0 5%;
}


/* ---------------------
           HEADER 
----------------------*/

header {
    padding-top: 75px;
    position: relative;
    background-color: #e4e4e4;
}


img {
    width: 100%;
}

h1 {
    text-align: center;
    position: absolute;
    top: 35%;
    left: 0;
    right: 0;
}

h1 img {
    width: 20%
}

/* ---------------------
       PRESENTATION 
----------------------*/

#ancre-home {
    position: relative;
}

#ancre-home span {
        position: absolute;
    bottom: 0;
    left: 0;
    top: 75%;
    text-align: center;
    right: 0;
    font-size: 20px;
    -webkit-animation-duration: 5s;
  -webkit-animation-delay: 2s;
  -webkit-animation-iteration-count: infinite;
  color:   #1b365e;
}

#presentation {
    background: rgba(226, 226, 226, 1);
    background: -moz-linear-gradient(top, rgba(226, 226, 226, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(226, 226, 226, 1)), color-stop(100%, rgba(255, 255, 255, 1)));
    background: -webkit-linear-gradient(top, rgba(226, 226, 226, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -o-linear-gradient(top, rgba(226, 226, 226, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -ms-linear-gradient(top, rgba(226, 226, 226, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(to bottom, rgba(226, 226, 226, 1) 0%, rgba(255, 255, 255, 1) 100%);
}
#presentation .container {
    padding: 90px 70px 35px;
}

.intro-title h2,
.intro-title p {
    text-align: center!important;
}

/*modif Jérémie*/

.intro-title p {
    font-size: 18px;
    padding: 0px 8% 25px;
}

.intro p {
    text-align: justify;
}



/* ---------------------
        ASSOCIES 
----------------------*/

#associes h4 {
    color: #ffffff;
    display: inline-block;
    font-family: 'Nunito', sans-serif!important;
    margin: 0!important;
}

#associes .js-com-pat:hover h4,#associes .js-com-vin:hover h4 {
    color: #1b365e;
    
}

#associes .bloc-photo img {
    width: 100%;
}

#associes .superposition,
#collaborateurs .superposition {
    text-align: center;
    position: relative;
    /*margin: 26px 0;*/
}

#associes .superposition div,
#collaborateurs .superposition div {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    transform: translateY(50%);
    text-align: center;
    width: 60%;
    margin: 0 auto;
    padding: 16px 0;
    background-color: #ce642f;
}

/* ---------------------
     COLLABORATEURS 
----------------------*/

#collaborateurs {
    margin-top: 50px;
}

#collaborateurs .superposition div {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    padding: 30px;
}

#collaborateurs .superposition div p {
    padding: 0!important;
}

/* ---------------------
        MISSIONS 
----------------------*/

.liste,
.visuel {
    height: 520px;
}
#audit .visuel, #exp-comptable .visuel {
     -webkit-background-size: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#audit .visuel {
    background-image: url(theme/AUDITS_VISUEL.jpg);
}
#exp-comptable .visuel {
    background-image: url(theme/VISUEL_COMPTABLE.jpg);
    z-index: 1;
}

#exp-comptable {
    z-index: 1;
}

.liste {
    display: flex;
    align-items: center;
}

.liste > div {
    padding: 0 18px;
}

.liste h3 {
    color: #ce642f;
    padding-top: 0;
    padding-bottom: 25px;
}


.liste div ul {
    padding-left: 15px;
}

#missions #audit .liste div .btn-primary {
    width: 305px;
    height: 45px;
    background-color: #ce642f;
    display: block;
}
#missions {
    position: relative;
    margin-top: 25px; 
}
#missions #audit .liste div .btn-primary img {
    width: 33px;

}


#missions #audit .liste div .btn-primary {
    width: 305px;
    height: 45px;
    background-color: #ce642f;
    display: block;
}


#missions #audit .btn-primary {
    display: none;
}

#missions .box-inside {
    background: rgba(0, 0, 0, 0.8);
    position:absolute;
    left: 0;
    right: 0;
    display: none;
    z-index: 10;

}

#associes .box-inside-pat, #associes .box-inside-vin{
    background: rgba(0, 0, 0, 0.8);
    position:absolute;
    left: 0;
    right: 0;
    display: none;
    z-index: 10;

}

.superposition a {
    display: block;
    cursor: pointer;
}

.js-com {
    cursor: pointer;
}

#missions .box-inside p,#associes .box-inside-pat p,#associes .box-inside-vin p{
    color:white;
    padding: 235px 25px;
    width: 50%;
    margin: auto;
    position: relative;
}

#missions .box-inside p .closed,#associes .box-inside-pat p .closed-pat,#associes .box-inside-vin p .closed-vin{
    color:#ce642f;
    position: absolute;
    right: 20px;
    top: 50px;
    cursor: pointer;
}

#missions .box-inside p .closed span, #associes .box-inside-vin p .closed-vin span, #associes .box-inside-pat p .closed-pat span{
   font-size: 25px;
}

#missions .btn-primary a {
    display: block;
    color: #fff;
    width: 100%;
    height: inherit;
    padding: 12px 15px;
    text-decoration: none;
    transition: color 0.3s
}

#missions .btn-primary a:hover{
  color: #1b365e;
}

#missions .btn-primary a img {
    padding-left: 10px;
    width: 30px;
}


/*modif Jérémie*/

/* ---------------------
     PUBLICATIONS 
----------------------*/

h3 {
    padding-top: 20px;
    margin: 0;
}

/*    modif Jérémie*/

#publications .btn-primary,
#missions .btn-primary {
    display: block;

}

#publications .btn-primary {
    color: #fff;
    background-color: #ce642f;
    font-size: 15px;
    margin: 20px auto;
    width: 280px;
    height: 45px;

}

#publications .btn-primary a img {
    width: 25px;
    margin-right: 6px;
}

#publications .btn-primary a {
    display: block;
    color: #fff;
    width: 100%;
    height: inherit;
    padding: 12px 0;
    text-decoration: none;
    transition: color 0.3s;
}

#publications .btn-primary a:hover {
    color: #1b365e;
}

#publications .navbar-default {
    height: 150px;
}



/*modif Jérémie*/

/* ---------------------
     NOUS SITUER 
----------------------*/

.carte {
    width: 100%;
}

.adresse {
    margin-top: 60px;
}

.adresse p img {
    width: 15px;
    border-radius: 50%;
}

#logo-nous-situer {
    margin-top: 100px;
}

#logo-nous-situer img {
    max-width: 390px;
    width: 73%;
    height: auto;
    display: inline;
}



/*modif Jérémie*/

/* ---------------------
     CONTACT 
----------------------*/

/*
#contact {
    padding: 90px;
    margin-bottom: 150px;
}
*/

#contact form {
    background: #1b365e;
    padding: 4%;
}

#contact form .form-control,
#contact form .btn {
    border-radius: 0%;
}

#contact form .form-control {
    padding: 6px;
    color: #000;
}

#contact form .form-control::placeholder {
    color: #525252;
}



#contact form .from-group {
    position: relative;
}

#contact form .btn-primary {
    background: #fff;
    color: #ce642f;
}

.textarea {
    resize: none;
}

#contact form .btn {

    float: right;
    margin-top: 25px;
    width: 145px;
}


/*modif Jérémie*/

/* ---------------------
     FOOTER 
----------------------*/

.bg-primary {
    color: #fff;
    background-color: #1b365e;
}
footer {
    position: relative;
}

footer .design-top{
    position: absolute;
    right: 10%;
    top: -50px;
    width: 50px;
    height: 50px;
    background: #1b365e;
    border-radius: 15px 15px 0 0;
    cursor: pointer;
}

footer .design-top span{
    color: white;
    display: block;
    margin: auto;
    text-align: center;
    margin-top: 17px;
    text-decoration: none;

}

footer .design-top span:hover {
   
    text-decoration: none;

}

footer #mention {
       padding: 30px 0 0;
    margin: 0;
    font-size: 12px;
    color: white;
    display: inline-block;
    cursor: pointer;
}


footer #auteur {
    padding: 20px 0;
    font-size: 12px;
    margin-bottom: 0px;
    width: 200px;
    margin: auto;
    display: block;
    cursor: pointer;
}

footer .bg-primary .center-block a{
    text-decoration: none;
}

/* ---------------------
     RESPONSIVE 
----------------------*/

@media only screen and (max-width: 768px) {

    #contact {
        margin-bottom: 0px !important;
        padding-bottom: 0px;
    }

    #missions .box-inside, #associes .box-inside-vin, #associes .box-inside-pat {
        position: fixed;
        top: 74px;
        left: 0;
        z-index: 1000;

    }
    #missions .box-inside p, #associes .box-inside-pat p{
        width: 95%;
    padding: 80px 40px;

    }

    #associes .box-inside-vin p{
        width: 95%;
    padding: 140px 40px;

    }

    footer .design-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    top: auto;
    border-radius: 15px;
-moz-box-shadow: 0px 0px 5px 0px #000000;
-webkit-box-shadow: 0px 0px 5px 0px #000000;
-o-box-shadow: 0px 0px 5px 0px #000000;
box-shadow: 0px 0px 5px 0px #000000;
filter:progid:DXImageTransform.Microsoft.Shadow(color=#000000, Direction=NaN, Strength=5);

    }
    /* Mobile & Tablet */
    * {
        font-size: 14px;
        font-weight: 600;
    }

    #ancre-home h1 {
        margin-top: 100px;
    }

    .container {
        /*        padding-top: 70px;*/
        margin: 0;
        padding-bottom: 0
    }

    section {
        padding-top: 70px;
    }

    section .container {}
    #presentation .container {
        padding: 50px 0 20px;
    }

    hr {
        margin-bottom: 45px;
    }

    /*PRESENTATION*/

    h1 img {
        max-width: 300px;
        width: 50%;
    }

    #presentation .white-container {
        background: rgba(255, 255, 255, 0);
        background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 6%, rgba(255, 255, 255, 1) 12%, rgba(255, 255, 255, 1) 100%);
        background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(6%, rgba(255, 255, 255, 0.8)), color-stop(12%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(255, 255, 255, 1)));
        background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 6%, rgba(255, 255, 255, 1) 12%, rgba(255, 255, 255, 1) 100%);
        background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 6%, rgba(255, 255, 255, 1) 12%, rgba(255, 255, 255, 1) 100%);
        background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 6%, rgba(255, 255, 255, 1) 12%, rgba(255, 255, 255, 1) 100%);
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 6%, rgba(255, 255, 255, 1) 12%, rgba(255, 255, 255, 1) 100%);   
    }
    #presentation .container {
        background-color: rgba(255, 255, 255, 0);
        padding: 50px 20px 20px;
    }

    /* COLLABO */
    #collaborateurs .superposition div {
       /* position: initial;
        transform: initial;*/
       width: 90%;
    }

    #associes .row .superposition {
        margin-top: 30px;

    }
    .row{
        margin: 0 !important;
    }

    .liste h3 {
        padding-top: 0;
        padding-bottom: 30px;
    }
   

    /*MISSIONS*/
    .liste {
        min-height: initial;
        height: auto;
    }
    .liste > div {
     position: initial; 
     transform: initial;
     width: 80%;
    margin: 20px auto; 
}
    .visuel {height: 200px;}

    #missions #audit .btn-primary {
        width: 100%;
        display: block;
        height: 45px;
        background-color: #ce642f;
        margin: 0 0 80px;

    }
    #missions #audit .liste div .btn-primary {
        display: none;
    }
    #audit.row, #exp-comptable.row {margin: 0!important;}

    /*PUBLICATION*/
    /*
    #publications {
        padding-top: 90px;
    }
*/
    /*NOUS SITUER*/
    #nous-situer .center-block {
        padding: 0;
    }


    /*CONTACT*/
    #contact .center-block {
        padding: 0
    }

    #contact {
        /*        padding-top: 70px;*/
        margin-bottom: 20px;
    }

    #contact form .form-control {
        margin: 0 0 15px;
    }
    .form-group {
        margin-bottom: 0px;
    }

    #contact form .btn {
        float: none;
    }

    .section {
        padding-top: 70px
    }

    #associes .container,
    #collaborateurs .container,
    #missions .container,
    #nous-situer .container {
        padding: 0;
    }
    .navbar-default .navbar-right{
        position: inherit !important;
        background-color: transparent;
    }

    .navbar-fixed-top .navbar-collapse {
        max-height: 1000px !important;
    }
    .navbar-default .navbar-right > li > a {
        background: #1b365e !important;
        color: white !important;
        border: 0px solid #333 !important;
        margin: 0px !important;
        padding: 0px !important;
        padding-bottom:10px !important;
    }
    .navbar-nav li a {
    display: block;
    width: inherit;
    height: inherit;
    padding-top: 10px;
    padding-bottom: 10px;
}
    .navbar-default .navbar-right > li {
        background-color: #1b365e;
    }
   
    #ancre-home span {
            display: none;
    }

}
.navbar-toggle {
    margin-top: 24px;
}


@media screen and (max-width: 400px) {
    .navbar-brand {
        width: 80%;
    }

}

@media screen and (min-width: 769px) and (max-width: 1119px){
 
}
@media screen and (min-width: 990px) and (max-width: 1120px) {

    
    .navbar-default .navbar-nav > li > a {
        font-size: 11px;
    }

    .navbar-default .navbar-right > li > a {
        font-size: 10px;
        margin: 19px 10px;
    }

}

@media screen and (min-width: 766px) and (max-width: 990px) {


    .navbar-default .navbar-nav > li > a {
        font-size: 9px;
        padding-left: 4px;
        padding-right: 4px;

    }
    .navbar-default .navbar-right > li > a {
        font-size: 8px;
        margin: 20px 5px;
    }

}
    // .navbar-header {
    //     float: left;  /*none */
    // }
    // .navbar-left,.navbar-right {
    //     float: none !important;
    // }
    // .navbar-toggle {
    //     display: block;
    // }

    // /**********************/

    // .navbar-collapse {
    //     border-top: 1px solid transparent;
    //     box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    // }
    // .navbar-fixed-top {
    //     top: 0;
    //     border-width: 0 0 1px;
    // }
    // .navbar-nav {
    //     float: none!important;
    //     margin-top: 7.5px;
    //     height: auto;
    // }
    // .navbar-nav>li {
    //     float: none;
    // }
    // .navbar-nav>li>a {
    //     padding-top: 10px;
    //     padding-bottom: 10px;
    // }
    // .collapse.in{
    //     display:block !important;
    // }

    // /**********************/

    // /* Menu responsive */

    // .navbar-collapse {
    //     position: relative;
    //     width: 100%;
    //     max-height: none!important;
    // }
    // .container-fluid>.navbar-collapse{
    //     margin: 0!important;
    //     padding: 0!important;
    // }
   
    // /* Liste menu responsive */
    // .navbar-nav {
    //     height: auto;
    //     display: initial; /* disable flex row */
    // }

    // .navbar-nav li {
    //     width: 100%;
    //     text-align: center;
    // }
    // .navbar-nav > li > a {
    //     padding: 20px!important;

    // }

    // /* Bouton right */
    // .navbar-default .navbar-right {
    //     width: 100%;
    //     position: inherit;
    //     right: 0;
    // }
    // .navbar-default .navbar-right > li > a {
    //     color: #fff;
    //     border: none; 
    //     height: auto; 
    //     width: auto; 
    //     text-align: center;
    //     background: #fff;
    //     transition: color 0.3s, background 0.3s;
    // }

    // .navbar-default .navbar-right > li > a:hover {
    //     color: #fff;
    // }


    // .navbar-default .navbar-right,
    // .navbar-default .navbar-right > li,
    // .navbar-default .navbar-right > li > a {
    //     background: rgba(255, 255, 255, 0);
    // }

}

