/*********************************/
/**********Style de base**********/
/*********************************/
body {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    color: #4f5055;
    padding-top: 95px !important;
}
a {
    color: #ca3238;
    transition: 0.3s all ease;
}
a:hover {
    color: #941f23;
}
h1 {
    font-size: 47px;
    color: #fff;
}
h2 {
    font-size: 22px;
}
.home h2 {
    font-size: 30px;
}
h3 {
    font-size: 22px;
}
.color-type {
    color: #ca3238;
}
.background-color-type {
    background-color: #ca3238;
}
body > .navbar-header {
    position: absolute;
    left: 0;
    top: 38px;
    color: #fff;
    height: 100px;
    z-index: 1;
    text-align: left;
    margin: auto;
    right: 0;
    width: 100%;
    max-width: 650px;
}
body > .navbar-header > .navbar-brand {
    width: 100%;
    text-align: left;
    float: none;
    position: absolute;
    color: #fff;
    height: auto;
    padding: 0;
    text-align: center;
}

.navbar-brand #wrapper_logo {
    color: #fff;
    font-size: 2.2em;
    background-color: #ca3238;
    width: 55px;
    height: 55px;
    display: block;
    line-height: 55px;
    text-align: center;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 32px;
    transform: rotate(45deg);
    padding-top: 4px;
}

.navbar-brand .nom_etude {
    color: #7a7a7a;
    margin-bottom: 0;
    line-height: 1em;
    font-weight: bold;
    font-size: 14px;
    overflow: hidden;
}

.navbar-brand .nom_etude span {
    font-weight: normal;
    float: right;
    display: inline-block;
    padding-right: 50px;
}

.navbar.navbar-default {
    margin-bottom: 0;
    height: 170px;
    z-index: 1;
    position: relative;
}
.navbar-brand:focus,
.navbar-brand:hover {
    color: #fff;
}
.navbar-default .navbar-nav>li>a {
    color: #fff;
    text-transform: uppercase;
    padding: 5px;
}
.navbar-default .navbar-nav>li>a:hover, 
.navbar-default .navbar-nav>li>a:focus {
    color: #fff;
    text-decoration: underline;
}
.navbar-brand .icon-marianne-profil {
    font-size: 5.1em;
}
p.lead {
    font-size: 1.1em;
    margin-bottom: 0px;
}
.navbar {
    border-radius: 0;
    background-color: #fff;
}
nav.navbar.navbar-default {
    margin: 0;
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100%;
    z-index: 2;
    transition: 0.3s all ease;
    border: none;
    z-index: 3;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    padding: 0;
    height: 100% !important;
}
nav.navbar.navbar-default.active{
    right: 0;
}
nav.navbar.navbar-default .container {
    width: auto;
    padding: 0;
    height: 100%;
}
.navbar-right {
    margin-top: 65px;
    float: none !important;
    margin-right: 0;
    height: 100%;
}
.navbar-nav>li {
    float: none !important;
}
#nav-toggle-custom {
    position: fixed;
    display: block;
    width: 60px;
    top: 0;
    cursor: pointer;
    height: 60px;
    border-radius: 50%;
    right: 6px;
    z-index: 4;
}
#nav-toggle-custom p{
    position: absolute;
    left: -50px;
    top: 23px;
    margin: 0;
    text-transform: uppercase;
    transition: 0.3s all ease;
    font-size: 0.9em;
    z-index: 1;
}
#nav-toggle-custom span,
#nav-toggle-custom span:before,
#nav-toggle-custom span:after {
    cursor: pointer;
    border-radius: 1px;
    -webkit-border-radius: 1px;
    height: 2px;
    width: 27px;
    background: #ca3238;
    position: absolute;
    display: block;
    content: '';
    transition: .25s ease-out;
}
#nav-toggle-custom span{
    position: relative;
    z-index: 1;
    top: 30px;
    right: 0;
    width: 18px;
    cursor: pointer;
}
#nav-toggle-custom span:before{
    top: -8px;
}
#nav-toggle-custom span:after{
    bottom: -8px;
}
#nav-toggle-custom.active span:before{
    transform: rotate(45deg);
    width: 10px;
    right: 0px;
    top: -4px;
}
#nav-toggle-custom.active span:after{
    transform: rotate(-45deg);
    width: 10px;
    right: 0;
    top: 4px;
}
#nav-toggle-custom:hover span {
    width: 30px;
}
#nav-toggle-custom.active:hover span{
    width: 25px;
}
#nav-toggle-custom.active span{
    left: 50px;
}
#nav-toggle-custom.active p {
    color: #555;
    left: 0;
}
.navbar-default .navbar-nav>li>a {
    text-align: center;
}

.navbar-default .navbar-nav>li>a,
.navbar-nav>li {
    position: static;

}
ul.nav.navbar-nav {
    height: 100%;
    padding-top: 100px;
    width: 100%;
}

.navbar-default .navbar-nav>li>a {
    color: #000;
}
.navbar-default .navbar-nav>li>a:active,
.navbar-default .navbar-nav>li>a:hover {
    color: #ca3238;
}
.navbar-brand .nom_etude .titre-etude {
    float: left;
    font-size: 0.9em;
    font-weight: bold;
    color: #ca3238;
}

span.icon-logo_basic {
    transform: rotate(-45deg);
    display: block;
}
div#bloc-tel {
    position: absolute;
    left: 35px;
    top: 55px;
    font-size: 1.5em;
}
div#bloc-tel a {
    color: inherit;
    font-size: 0.6em;
    display: inline-block;
    vertical-align: text-top;
}
div#nav-toggle-custom.active {
    right: 70px;
}
div#nav-toggle-custom:after {
    content: "";
    left: -65px;
    right: 0;
    top: 10px;
    bottom: 10px;
    background-color: #fff;
    z-index: 0;
    display: block;
    position: absolute;
    border-radius: 3px;
}
/**********Structure**********/
#content-page {
    position: relative;
    background: url(../images/illustration-content.jpg) center;
    background-size: cover;
}
/**********illustration**********/
#illustration-header {
    height: 325px;
    background: url(../images/illustration-header.jpg) center;
    background-size: cover;
    position: relative;
    text-align: center;
}
#illustration-header:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgb(50, 55, 70);
    opacity: 0.8;
}
#illustration-header .container {
    display: flex;
    height: 100%;
    align-items: center;
    align-content: center;
    justify-content: center;
}
#illustration-header h1 {
    margin: 0;
    color: #fff;
    z-index: 2;
    font-size: 2.7em;
    position: relative;
    z-index: 2;
}
#illustration-header h1 span {
    display: block;
    font-weight: bold;
    text-transform: uppercase;
}
#illustration-header strong {
    font-weight: 400;
}
/**********modules de base**********/
div#modules_base a {
    background-size: cover !important;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    font-weight: 300;
    color: #fff;
}
.not-home div#modules_base a {
    height: 65px;
    margin-top: 1px;
}
div#modules_base a:first-child {
    background: url(../images/illustration-modules_paiement.jpg);
}
div#modules_base a:last-child {
    background: url(../images/illustration-modules_actes.jpg);
}

div#modules_base a .modules_titre {
    text-transform: uppercase;
    font-size: 1em;
}

div#modules_base a [class^="icon-"] {
    display: inline-block;
    font-size: 5.5em;
    color: #ca3238;
    vertical-align: middle;
    padding-right: 40px;
    border-right: 5px solid #fff;
    display: none;
}
div#modules_base a:hover {
    background-color: #ca3238;
}

div#modules_base a:hover [class^="icon-"] {
    color: #fff;
}
div#modules_base a:hover:last-child {
    background-color: #333;
}
div#block-left span:hover a {
    color: #333 !important;
}

div#modules_base a:hover .modules_titre {
    background-color: #eeeeee;
    color: #5a5a5a;
}

div#modules_base a:first-child:hover .icon-carte-bancaire {
    border-color: #5a5a5a;
    color: #5a5a5a;
}
div#texte_competence a:hover {
    color: #ca3238;
}
body.theme-107.page-accueil.index.home {
    padding: 0 35px;
}
div#modules_base {
    margin: 0 15px;
    text-align: center;
}
div#modules_base a .modules_titre {
    background-color: #ca3238;
    display: inline-block;
    padding: 10px 15px;
    font-size: 1.2em;
    /*margin: 12px auto 0;*/
    transition: 0.3s all ease;
}
/**********Page accueil**********/
div#content-inner {
    position: relative;
    margin: 25px auto;
}
div#footer-top,
div#modules_base a,
section#competence_accueil,
section#presentation_accueil {
    height: 585px;
}
section#competence_accueil,
section#presentation_accueil {
    align-items: center;
}
section#competence_accueil {
    background-color: #323746;
}
div#texte_competence,
div#texte_presentation,
div#img_presentation {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
div#texte_presentation {
    background-color: #ddd;
}
#img_presentation,
#img_competence {
    background-size: cover;
    background-repeat: no-repeat;
}
#img_presentation {
    background-image: url(../images/illustration-presentation.jpg);
    background-position: center;
}
#img_competence {
    background-image: url(../images/illustration-competence.png);
    background-position: right center;
}
div#img_competence:after {
    content: "";
    background-color: #323746;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.5;
}
#img_presentation,
#img_competence {
    height: 100%;
}
div#texte_competence {
    color: #fff;
}
div#texte_presentation p,
div#texte_competence p {
    max-width: 425px;
}
span#telephone, span#mail_dest {
    border-bottom: 2px solid #ddd;
}
div#texte_competence p {
    color: #ddd;
}

div#texte_competence a {
    display: block;
    margin-top: 15px;
    text-decoration: underline;
    color: #fff;
}
div#texte_presentation h2 strong {
    display: block;
}

div#img_presentation {
    color: #fff;
    font-size: 1.4em;
}

div#img_presentation p {
    max-width: 325px;
    margin: auto;
    line-height: 1.1em;
}
/**********Footer**********/

div#footer-top>div div {
    display: flex;
    padding: 10px 0;
    /* font-size: 0.9em; */
    /* float: left; */
    /* text-align: center; */
    /* width: 50%; */
    flex-wrap: wrap;
    justify-content: space-between;
}

div#footer-top h4 {
    font-size: 1.7em;
    width: 225px;
    line-height: 1.3em;
    color: #ca3238;
    font-weight: bold;
    text-transform: uppercase;
}

div#block-right {
    padding: 25px 30px;
    background-color: #ca3238;
    height: 100%;
    /* align-items: center; */
}
div#block-right,
div#block-right a{
    color: #fff;
}
div#block-left:after {
    width: 90px;
    height: 90px;
    position: absolute;
    top: -35px;
    z-index: 3;
    background: url(../images/pictos.png) no-repeat -95px 0;
    background-size: 275px;
    right: 230px;
}
div#footer-top #block-right h4 {
    font-size: 1.8em;
    margin-bottom: 15px;
    padding-top: 55px;
}
div#footer-top>div {
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    padding: 0px 10%;
}
div#block-left {
    border-right: 1px solid #ddd;
}
div#block-left a {
    color: #333;
    text-decoration: none;
}
div#block-left span:last-child {
    border: none;
}
footer {
    position: relative;
    background-color: transparent;
}
div#footer-top {
    margin: auto;
    background-color: #eee;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
}
footer ul {
    font-size: 0.8em;
    padding: 25px 0;
    margin-bottom: 0;
}
footer a, footer a:hover, footer ul {
    color: #b1b1b1;
}
div#block-right .navbar-brand .icon-logo_basic {
    transform: rotate(0);
    font-size: 2.5em;
    margin-bottom: 20px;
}

div#block-right .navbar-brand .nom_etude {
    color: #fff;
}

div#block-right .navbar-brand {
    float: none;
    height: auto;
    text-align: center;
    /* display: inline-flex; */
    /* width: fit-content; */
    margin: auto;
}

div#block-right .nom_etude span {
    float: none;
    margin-top: 7px;
    padding: 0;
    display: block;
}
div#block-left #horaires {
    margin-bottom: 30px;
}
/**********Page competences**********/
#competence .container {
    width: auto !important;
}
/**********Page plan***************/
#directions {
    clear: both;
}