/*!
Theme Name: Agyretplus
Theme URI: https://www.agyretplus.com/
Template: Divi
Version: 1.0.0
Description: Thème enfant du template Divi
Author: Asyourweb
Author URI: https://www.asyourweb.fr/
Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url('https://fonts.googleapis.com/css2?family=Amaranth&family=Nunito:wght@400;700&display=swap');

:root {
    --marine: #015048;
    --bleu: #007e75;
    --rouge: #d11f09;
    --jaune: #f8c85e;
    --gris: #777777;
    --noir: #000000;
    --blanc: #ffffff;
}

body, input, textarea, select {
    font-family: 'Nunito', sans-serif;
}

p {
    text-align: justify;
    line-height: 1.7em;
}

.container,
.et_pb_row {
    width: calc(100% - 30px);
    max-width: 1170px;
}

.et_header_style_left #et-top-navigation .mobile_menu_bar,
.et_header_style_split #et-top-navigation .mobile_menu_bar {
    padding-bottom: 12px;
    padding-top: 12px;
}



/***** HEADER *****/
.et_header_style_left #et-top-navigation,
.et_header_style_split #et-top-navigation {
    padding: 0!important;
}
.et_header_style_left #et-top-navigation nav>ul>li>a,
.et_header_style_split #et-top-navigation nav>ul>li>a {
    padding-top: 0!important;
    padding-bottom: 0!important;
    line-height: 100px;
}
.et_header_style_left .et-fixed-header #et-top-navigation nav>ul>li>a,
.et_header_style_split .et-fixed-header #et-top-navigation nav>ul>li>a {
    line-height: 60px!important;
}
#top-menu li,
#top-menu>li:last-child {
    padding-left: 1em;
    padding-right: 1em;
}
#top-menu li li a {
    padding: 6px 20px;
    width: 200px;
    font-size: 16px;
}
/***** FIN HEADER *****/



/***** SUBHEADER *****/
#top-header {
    height: 50px!important;
    line-height: 50px!important;
}
#top-header .container {
    padding-top: 0;
    height: 50px!important;
    line-height: 50px!important;
}
ul#et-info {
    margin-left: 0.25em;
}
ul#et-info,
ul.et-social-icons {
    float: right!important;
    padding-bottom: 0;
}
ul#et-info li {
    display: inline-block;
    padding-bottom: 0;
    padding-top: 0;
    height: 50px!important;
    line-height: 50px!important;
}
ul#et-info li a {
    display: inline-block;
    transition: all 0.3s ease;
}
#et-info-email:hover {
    opacity: 1;
    transition: none;
}
ul#et-info li a#info-phone {
    font-size: 20px;
}
#top-header .et-social-icons li,
#top-header #et-info li {
    margin-top: 0.65em;
    margin-left: 0.5em;
    margin-right: 0.5em;
    text-align: center;
}
#top-header .et-social-icon a,
#top-header #et-info a {
    font-size: 16px;
    width: 40px;
    line-height: 40px;
    height: 40px;
    padding-left: 0;
    padding-right: 0;
    background-color: var(--bleu);
    border-radius: 50% 50%;
    text-align: center;
    transition: all 0.3s ease;
}
a#info-phone span span,
a#info-email span span,
#top-header .et-social-icon span+span {
    display: none;
}

#top-header ul#et-info li a:hover,
#top-header .et-social-icon a:hover {
    background: var(--jaune);
    opacity: 1;
}
#et-info-phone {
    margin-right: 0;
}
.et-social-facebook a.icon:before,
.et-social-twitter a.icon:before,
.et-social-instagram a.icon:before,
#et-info-email:before,
#et-info-phone:before {
    font-size: 24px!important;
    vertical-align: middle;
    top: 8px;
    left: calc(100% - 32px);
    font-weight: normal!important;
    position: absolute;
}
#et-info-email:before,
#et-info-phone:before {
    left: calc(100% - 12px);
}
.et_fixed_nav #main-header {
    position: fixed;
    z-index: 100000;
}
#logo {
    max-height: 100%!important;
    margin-top: -50px;
    transition: all 0.3s ease!important;
}
#main-header.et-fixed-header {
    -webkit-box-shadow: 0 0 7px rgba(0,0,0,0.1) !important;
    box-shadow: none!important;
    border-bottom: 1px solid #ddd;
}
#top-menu li a {
    transition: all 0.3s ease !important;
}
.et-social-twitter a.icon:before {
    content: "\e09d";
}
/***** FIN SUBHEADER *****/

.citation > .et_pb_row:before {
    content: ' ';
    position: absolute;
    width: 60px;
    height: 60px;
    background: url('/wp-content/themes/Agyretplus/images/quote-debut.svg') center center no-repeat;
    margin-top: -20px;
}

.citation > .et_pb_row:after {
    content: ' ';
    position: absolute;
    width: 60px;
    height: 60px;
    background: url('/wp-content/themes/Agyretplus/images/quote-fin.svg') center center no-repeat;
    right: 0;
    margin-top: 20px;
    visibility: visible;
}

/***** A LA UNE ****/
#a-la-une .et_pb_column {
    display: flex;
    justify-content: space-around;
}
#a-la-une .column.size-1of3 {
    width: 31%;
    margin-right: 3.5%;
}
#a-la-une .column.size-1of3:last-child {
    margin-right: 0px;
}
#a-la-une .formation-a-la-une {
    width: 360px;
    margin-left: 20px;
    margin-right: 20px;
    background-size: 90%;
    background-position: center 125px;
    margin-bottom: 30px;
}
#a-la-une .formation-a-la-une h2:after {
    display: none;
}
#a-la-une .formation-a-la-une .et_pb_text_inner {
    padding: 1em;
    padding-top: 2em;
}
#a-la-une .formation-a-la-une .et_pb_text_inner h2 {
    margin-bottom: 220px;
    height: 100px;
}
#a-la-une .formation-a-la-une a {
    color: var(--noir)!important;
    background-color: var(--vert)!important;
    display: block;
    margin-left: auto;
    margin-right: auto;
    line-height: 36px;
    padding-left: 2.5em;
    padding-right: 1.5em;
    width: 70%;
    transition: all 0.3s ease;
}
#a-la-une .formation-a-la-une a:hover {
    background-color: var(--blanc)!important;
}
#a-la-une .formation-a-la-une a:before {
    line-height: 1.55em;
    content: "\35";
    position: absolute;
    -webkit-transition: all .2s;
    transition: all .2s;
    text-transform: none;
    -webkit-font-feature-settings: "kern" off;
    font-feature-settings: "kern" off;
    font-variant: none;
    font-style: normal;
    text-shadow: none;
    opacity: 1;
    margin-left: -1.3em;
    right: auto;
    display: inline-block;
    font-family: ETmodules!important;
    font-size: 1.5em!important;
    font-weight: bold!important;
}
#a-la-une article {
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: var(--bleu);
}
#a-la-une article > .entry-title {
    order: 1;
}
#a-la-une article > .et_pb_image_container {
    order: 2;
}
#a-la-une article > .post-meta {
    order: 3;
}
#a-la-une article > .post-content {
    order: 4;
}
#a-la-une .et_pb_image_container {
    padding: 1em;
    margin-bottom: 0;
    margin-top: 0;
}
#a-la-une .et_pb_image_container a {
    margin-bottom: 0;
}
#a-la-une a.more-link {
    background-color: var(--vert);
    line-height: 36px;
    display: inline-block;
    width: 240px;
    text-align: center;
    margin-left: 38px;
    margin-right: 38px;
    padding-left: 1.5em;
    margin-top: 1em;
    margin-bottom: 0.5em;
    transition: all 0.3s ease;
    border-radius: 8px;
}
#a-la-une a.more-link:before {
    position: absolute;
    width: 40px;
    height: 40px;
    color: var(--blanc);
    content: '\35';
    line-height: inherit;
    opacity: 1;
    margin-left: -1.3em;
    right: auto;
    display: inline-block;
    font-family: ETmodules!important;
    font-size: 1.5em!important;
    font-weight: bold!important;
}
#a-la-une div:not(.et_pb_image_container) > a.more-link:hover {
    background-color: var(--blanc);
    color: var(--bleu)!important;
}
#a-la-une a.more-link:hover:before {
    color: var(--marine)!important;
}
/***** FIN A LA UNE *****/



/***** FOOTER INFO ****/
#footer-info {
    text-align: center;
    float: none;
}
/***** FIN FOOTER INFO ****/



/***** CONTACT ****/
#form-contact {
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}
#form-contact p {
    display: inline-block;
    float: left;
    width: 50%;
    margin-bottom: 12px;
    padding-bottom: 0;
}
#form-contact p.large {
    display: block;
    width: 100%;
    overflow: hidden;
}
#form-contact p input,
#form-contact p textarea,
#form-contact p select {
    width: 96%;
    line-height: 36px;
    padding: 0px 16px;
    font-size: 16px;
    color: var(--blanc);
    border: 2px solid var(--blanc);
    font-weight: 600;
}
body:not(.home) #form-contact p input,
body:not(.home) #form-contact p textarea,
body:not(.home) #form-contact p select {
    color: var(--bleu);
    border: 2px solid var(--bleu);
}
#form-contact p input[type=checkbox] {
    width: 1.5em;
}
#form-contact p textarea {
    display: block;
    line-height: 24px;
    height: 160px;
    padding-top: 8px;
    padding-bottom: 8px;
}
#form-contact p select {
    height: 40px;
}
#form-contact p.large select,
#form-contact p.large textarea {
    width: 98%;
}
#form-contact input::-webkit-input-placeholder,
#form-contact textarea::-webkit-input-placeholder {
    color: var(--marine);
    font-weight: 400!important;
}
#form-contact input::-moz-placeholder,
#form-contact textarea::-moz-placeholder {
    color: var(--marine);
    font-weight: 400!important;
}
#form-contact input:-ms-input-placeholder,
#form-contact textarea:-ms-input-placeholder {
    color: var(--marine);
    font-weight: 400!important;
}
#form-contact input:-moz-placeholder,
#form-contact textarea:-moz-placeholder {
    color: var(--marine);
    font-weight: 400!important;
}
#form-contact input::placeholder,
#form-contact textarea::placeholder {
    color: var(--marine);
    font-weight: 400!important;
}
#form-contact span.wpcf7-list-item-label {
    font-size: 16px;
}
#form-contact p.submit {
    width: 98%;
}
#form-contact input.wpcf7-submit {
    width: auto;
    text-align: center;
    float: right;
    margin-right: 2%;
    cursor: pointer;
    font-size: 22px!important;
    padding: .3em 1em!important;
    line-height: 32px!important;
    transition: all 0.3s ease;
    color: var(--noir);
    border-width: 2px!important;
    border-color: var(--blanc);
    border-radius: 0px;
    font-weight: 600!important;
    background-color: var(--blanc)!important;
    padding-right: 2em!important;
    padding-left: 2em!important;
    font-weight: 700!important;
    text-transform: uppercase;
}
body:not(.home) #form-contact input.wpcf7-submit {
    color: var(--blanc);
    background-color: var(--bleu)!important;
    width: 300px;
}
#form-contact #bouton-envoyer:before {
    line-height: 1em;
    content: "5";
    position: absolute;
    -webkit-transition: all .2s;
    transition: all .2s;
    text-transform: none;
    -webkit-font-feature-settings: "kern" off;
    font-feature-settings: "kern" off;
    font-variant: none;
    font-style: normal;
    text-shadow: none;
    font-family: "ETmodules"!important;
    opacity: 1;
    margin-left: -1.3em;
    margin-top: 0.25em;
    right: calc(0px + 230px);
    display: inline-block;
    font-size: 2em!important;
    font-weight: bold!important;
    color: var(--blanc);
}
#form-contact input.wpcf7-submit:hover {
    background: var(--marine)!important;
    color: var(--blanc)!important;
    border-color: var(--marine)!important;
}
body:not(.home) #form-contact input.wpcf7-submit:hover {
    background-color: var(--marine)!important;
    border-color: var(--marine)!important;
    color: var(--blanc)!important;
}
#form-contact .wpcf7 form.sent .wpcf7-response-output,
#form-contact .wpcf7 form.invalid .wpcf7-response-output,
#form-contact .wpcf7 form.unaccepted .wpcf7-response-output {
    padding: 1em 3em;
    clear: both;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 36px;
}
#form-contact .wpcf7 form.sent .wpcf7-response-output {
    border: 0;
    background-color: var(--noir);
    color: var(--blanc);
}
#form-contact .wpcf7 form.invalid .wpcf7-response-output,
#form-contact .wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: var(--noir);
    background: var(--blanc);
    color: var(--noir);
}
/* body:not(.home) .et_pb_section .et_pb_text a {
    color: var(--noir);
} */
.et_pb_text a {
    font-weight: 700;
    text-decoration: underline;
}
.et_pb_text a:hover {
    text-decoration: none;
}
body.home span.rgpd {
    color: var(--blanc);
}
/***** FIN CONTACT ****/



/***** INFOS CONTACT ****/
.cta:before {
    content: ' ';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}
#infos-contact #coords {
    width: 380px;
    margin-right: 0;
}
#infos-contact #formulaire-carte {
    width: 760px;
}
#infos-contact #coords .et_pb_row_inner,
#infos-contact #formulaire-carte {
    margin-left: 20px;
    margin-right: 20px;
}
#infos-contact #coords .et_pb_row_inner {
    width: 360px;
    margin-left: 0px;
}
#infos-contact #coords .et_pb_row_inner .et_pb_column {
    width: 100%;
    min-height: 380px;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-bottom: 50px;
    margin-right: 0px;
}
#infos-contact #coords .et_pb_row_inner .et_pb_column:last-child {
    margin-bottom: 0;
}
/***** FIN INFOS CONTACT ****/



@media screen and (max-width: 980px) {
    #et-info {
        padding-top: 0;
    }
    .et_secondary_nav_enabled #page-container #top-header {
        background-color: #ffffff!important;
        position: fixed;
    }
    #top-header .et-social-icons {
        display: none;
    }
    .et_pb_section.quinconce .et_pb_column_1_2 {
        width: 100%!important;
    }
    .et_pb_section.quinconce {
        background-size: 100%!important;
        background-position: center bottom!important;
        height: 1000px!important;
    }
}



@media screen and (min-width: 768px) and (max-width: 980px) {
    #et-info {
        padding-top: 0;
    }
    #infos-pratiques {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    #infos-pratiques .et_pb_column {
        width: 50%;
    }
    #footer > .et_pb_column_1_3 {
        width: 45%;
    }
    #footer > .et_pb_column_1_3:first-child {
        margin-bottom: 200px;
        margin-right: 10%;
    }
    #infos-contact #coords,
    #infos-contact #coords .et_pb_row_inner,
    #infos-contact #formulaire-carte {
        width: 100%;
        margin-left: 0;
        margin-right: 0px;
    }
    #infos-contact #coords .et_pb_row_inner {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    #infos-contact #coords .et_pb_row_inner .et_pb_column {
        width: 50%;
    }

}

@media screen and (max-width: 767px) {
    #infos-contact #coords .et_pb_row_inner {
        width: 100%;
    }
    #infos-contact #coords .et_pb_row_inner, #infos-contact #formulaire-carte {
        margin-left: 0;
        margin-right: 0;
    }
    #form-contact p {
        width: 100%;
        margin-bottom: 6px;
    }
    #form-contact p.large textarea {
        width: 100%;
    }
    #form-contact p input,
    #form-contact p textarea,
    #form-contact p select {
        width: 100%;
        font-size: 15px;
    }
    #form-contact p input[type=checkbox] {
        width: 1.5em;
    }
    #form-contact span.wpcf7-list-item {
        display: inline-block;
        margin: 0;
    }
    #form-contact span.wpcf7-list-item-label {
        font-size: 14px;
    }
}

