/*
Theme Name: My Auto Academia
Description: Theme enfant de Divi
Author: Simon
Author URI: https://simontricoire.fr
Template: Divi
Version: 1.0.0
*/

/* ----------------------------------------- */
/* ------------ Specific fonts ------------- */
/* ----------------------------------------- */
@font-face {
    font-family: Futura Display regular;
    src: url('/wp-content/themes/MyAutoAcademia/fonts/Futura Display.ttf');
    font-weight: normal;
}
/* ----------------------------------------- */
/* ---------------- General ---------------- */
/* ----------------------------------------- */
.d-flex {
    display: flex;
}
.et_pb_column img {
    border-radius: 0.25rem;
}
/* ----------------------------------------- */
/* ----------------- Header ---------------- */
/* ----------------------------------------- */
#page-container #main-header {
    transition: all .3s,background 600ms ease-in-out;
    box-shadow: none;
    position: absolute;
    height: 88px;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 150;
    -webkit-backface-visibility: hidden;
    display: flex;
    align-items: center;
}
#page-container #main-header::before {
    /* background-color: #fce81a; */
    /* background-image: -webkit-linear-gradient(-360deg, #fce81a 0%, #e94f44 100%);
    background-image: linear-gradient(90deg,#fce81a 0%, #e94f44 100%); */
    background-image: -webkit-linear-gradient(-360deg, #efe015 0%,  #ff3131 100%);
    background-image: linear-gradient(90deg,#efe015 0%,  #ff3131 100%);
    top: 0;
    content: "";
    display: block;
    height: 0.375rem;
    left: 0;
    margin: 0;
    position: absolute;
    right: 0;
    width: 100%;
    z-index: 99;
}
#page-container #main-header #et-top-navigation {
    display: flex;
    justify-content: center;
    padding-top: 0;
}

#main-header #top-menu-nav {
    /* margin-left: 125px; */
    /* margin-left: 150px; */
    width: 100%;
}
#main-header #top-menu li,
#main-header:hover #top-menu li {
    line-height: 1.2rem;
}
#main-header:hover #top-menu a {
    font-family: 'Futura Display regular';
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
    /* padding-bottom: 35px; */
}
#main-header #top-menu .centered-inline-logo-wrap {
    width: 9% !important;
    height: auto;
    margin: 0 auto;
}
#main-header:not(:hover) #top-menu a {
    font-family: 'Futura Display regular';
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
    padding-bottom: 0 !important;
}
#main-header #top-menu .menu-item-has-children>a:first-child {
    padding-right: 0;
}
#main-header #top-menu img:not(.not-home-top) {
    display: none;
}
#main-header:hover #top-menu img:not(.not-home-top) {
    display: unset;
}
#page-container #main-header.not-home-top {
    position: fixed;
    background-color: #000;
}
#page-container #main-header.not-home-top a {
    /* color: #fce81a !important; */
    /* background: -webkit-linear-gradient(90deg,#fee043 0%,#ffd030 99%); */
    background: #efe015;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* background: -moz-linear-gradient(90deg,#fee043 0%,#ffd030 99%); */
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
    position: relative;
}
#main-header.not-home-top #top-menu img {
    display: unset;
}
#page-container #main-header.not-home-top #et-top-navigation {
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    padding-top: 0 !important;
}
#page-container #main-header.not-home-top #et-top-navigation #logo {
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-animation: fadeIn 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
    animation: fadeIn 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
}
@media only screen and (min-width: 981px) {
    #main-header:hover {
        transition: background 600ms ease-in-out;
        background-color: #000;
    }
    #main-header:hover a {
        /* color: #fce81a; */
        color: #efe015;
        /* background: -webkit-linear-gradient(90deg,#fee043 0%,#ffd030 99%); */
        /* background: -webkit-linear-gradient(90deg,#efe015 0%,#efe015 100%); */
        /* background: #efe015; */
        /* -webkit-background-clip: text;
        -webkit-text-fill-color: transparent; */
        /* background: -moz-linear-gradient(90deg,#fee043 0%,#ffd030 99%); */
        /* background: -moz-linear-gradient(90deg,#efe015 0%,#efe015 100%);
        -moz-background-clip: text;
        -moz-text-fill-color: transparent; */
        position: relative;
    }
    #page-container #main-header:hover #et-top-navigation {
        padding-top: 0;
    }
    /* #main-header #top-menu-nav a:hover {
        color: #fff !important;
        opacity: 1;
    } */
    #main-header #top-menu li.current-menu-item>a,
    #main-header #top-menu li.current-menu-ancestor>a {
        color: #fff;
    }
    #main-header:hover #top-menu li.current-menu-ancestor>a {
        /* color: #fce81a; */
        background: #efe015;
        /* background: -webkit-linear-gradient(90deg,#fee043 0%,#ffd030 99%); */
        /* background: -webkit-linear-gradient(90deg,#efe015 0%,#efe015 100%); */
        /* background: #efe015; */
        /* -webkit-background-clip: text;
        -webkit-text-fill-color: transparent; */
        /* background: -moz-linear-gradient(90deg,#fee043 0%,#ffd030 99%); */
        /* background: -moz-linear-gradient(90deg,#efe015 0%,#efe015 100%);
        -moz-background-clip: text;
        -moz-text-fill-color: transparent; */
        position: relative;
    }
    #main-header:hover #top-menu li.current-menu-item>a {
        /* color: #e94f44; */
        color: #ff3131;
    }
    #main-header #top-menu .sub-menu {
        background: #000;
        /* border-color: #fce81a; */
        border-color: #efe015;
    }
}
/* ----------------------------------------- */
/* -------------- Mobile Menu -------------- */
/* ----------------------------------------- */
.mobile_menu_bar:before {
    /* color: #e94f44;
    border: 2px solid #e94f44; */
    color: #ff3131;
    border: 2px solid #ff3131;
    border-radius: 5px;
}
#main-header #mobile_menu {
    background: #000;
    /* border-color: #fce81a; */
    border-color: #efe015;
    margin-top: 4px;
}
#main-header #mobile_menu li a {
    /* color: #fce81a; */
    color: #efe015;
}
@media only screen and (max-width: 980px) {
    #page-container #main-header {
        position: fixed;
        background: #000;
    }
	.et_header_style_split #main-header {
        visibility: hidden;
    }	
}
/* ----------------------------------------- */
/* ----------------- Footer ---------------- */
/* ----------------------------------------- */
#footer {
    padding: 0;
    background-color: #000;
}
#footer::after {
    /* background-color: #fce81a; */
    background-color: #efe015;
    /* background-image: -webkit-linear-gradient(-360deg, #fce81a 0%, #e94f44 100%);
    background-image: linear-gradient(90deg,#fce81a 0%, #e94f44 100%); */
    background-image: -webkit-linear-gradient(-360deg, #efe015 0%,  #ff3131 100%);
    background-image: linear-gradient(90deg,#efe015 0%,  #ff3131 100%);
    bottom: 0;
    content: "";
    display: block;
    height: 0.375rem;
    left: 0;
    margin: 0;
    position: absolute;
    right: 0;
    width: 100%;
    z-index: 99;
}
#footer h3,
#footer h4 {
    letter-spacing: 0.1rem;
}
#footer_menu {
    display: flex;
    flex-direction: column;
}
#footer_menu .et_pb_menu {
    background-color: #000;
}
#footer_menu .et_pb_menu__wrap {
    justify-content: flex-start;
}
#menu-footer-menu {
    flex-direction: column;
}
#footer_credit {
    padding-top: 0;
}
#footer_credit .et_pb_code_inner {
    color: #fff;
    font-family: 'Poppins Regular',Helvetica,Arial,Lucida,sans-serif;
}
.footer_link {
    text-decoration: none;
    color: #fff;
}
.footer_link:active {
    color: #fff;
}
@media only screen and (max-width: 980px) {
    #footer_menu .et_mobile_nav_menu {
        display: none;
    }
    #footer_menu .et_pb_menu__menu {
        display: flex;
    }
}
/* ----------------------------------------- */
/* -------------- Bouton achat ------------- */
/* ----------------------------------------- */
#btn_achat {
    position: fixed;
    top: 50%;
    right: -7.25%;
    z-index: 100000;
    transform: rotate(270deg);
    color: #efe015!important;
    border-width: 2px!important;
    border-color: #ff3131;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    letter-spacing: 0.5px;
    font-size: 18px;
    font-family: 'Poppins Regular',Helvetica,Arial,Lucida,sans-serif!important;
    font-weight: 700!important;
    text-transform: uppercase!important;
    background-color: #ff3131;
    padding: 0.5em 1em!important;
}
/* ----------------------------------------- */
/* -------------- Main Content ------------- */
/* ----------------------------------------- */
#title-container {
    display: flex;
}
#title-container h1 {
    /* background: -webkit-linear-gradient(270deg,#fee13c 0%,#fce81a 30%,#ffc900 100%); */
    background: #efe015;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* background: -moz-linear-gradient(270deg,#fee13c 0%,#fce81a 30%,#ffc900 100%); */
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
    position: relative;
}
#title-container h1:after {
    content: attr(data-text);
    left: 0;
    position: absolute;
    top: 0;
    z-index: -1;
    text-shadow: 4px 0 #000, -4px 0 #000, 0 4px #000, 0 -4px #000,
    2px 2px #000, -2px -2px #000, 2px -2px #000, -2px 2px #000;
}
@media only screen and (min-width: 981px) {
    #header-container {
        background-size: 50%;
    }
}
@media only screen and (max-width: 980px) {
    #header-container {
        background-size: 75%;
    }
    #header-container h1 {
        font-size: 4rem;
    }
}
@media only screen and (max-width: 479px) {
    #header-container {
        background-size: contain;
    }
}
/* ----------------------------------------- */
/* ---------------- Homepage --------------- */
/* ----------------------------------------- */
/* .et_pb_fullwidth_header.et_pb_fullwidth_header_0 {
    background-image: url(https://myautoacademia.simontricoire.fr/wp-content/uploads/2023/03/My-auto-academia-header-scaled.webp);
    width: 50%;
    background-position-y: center;
    margin: auto;
    background-size: contain;
    padding-top: 20% !important;
} */
#homepage_header {
    background-size: 60%;
    background-position-y: 15%;
}
@media only screen and (max-width: 980px) {
	.d-flex {
        flex-direction: column;
    }
}
@media only screen and (min-width: 981px) {
    #homepage_header {
        background-size: 60%;
        background-position-y: 15%;
    }
    #home_content {
        padding: 1rem;
    }
    #home_content .col-img {
        width: 100%;
        align-self: center;
    }
    .encart-left,
    .encart-right {
        background-color: #fff;
        align-self: center;
        max-width: 25rem;
        padding: 0.65rem;
        border-radius: 0.25rem;
        box-shadow: 0 1px 2px 0 rgba(0,0,0,.15);
        z-index: 10;
    }
    .encart-left {
        transform: translateX(35%);
        /* border-left: 3px solid #e94f44; */
        border-left: 3px solid #ff3131;
    }
    .encart-right {
        transform: translateX(-35%);
        /* border-right: 3px solid #e94f44; */
        border-right: 3px solid #ff3131
    }
}
/* ----------------------------------------- */
/* ---------------- Contact ---------------- */
/* ----------------------------------------- */
#adress_container {
    display: flex;
}
#adress_column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* ----------------------------------------- */
/* ----------- Content Container ----------- */
/* ----------------------------------------- */
#content-container,
#content-container-yet,
#content-container-yet-yet {
    display: flex;
}
#content-container-img-column,
#content-container-yet-img-column,
#content-container-yet-yet-img-column {
    margin: auto;
}
@media only screen and (max-width: 479px) {
    #content-container-yet,
    #content-container-yet-yet {
        flex-direction: column;
    }
}
/* ----------------------------------------- */
/* -------------- PF Permis B -------------- */
/* ----------------------------------------- */
.cta {
    display: flex;
}
.cta .cta-img-column {
    margin: auto;
}
.cta .cta-img-column img {
    width: 50%;
}
/* ----------------------------------------- */
/* -------------- PF Permis B -------------- */
/* ----------------------------------------- */
#content-container-yet-yet-yet .et_pb_gallery a {
    display: flex;
}
#content-container-yet-yet-yet .et_pb_gallery a img {
    width: auto;
    margin: auto;
}
/* ----------------------------------------- */
/* -------- PF Conduite accompagnée -------- */
/* ----------------------------------------- */
.page-id-223 #content-container-yet-text-column {
    margin: auto;
}
/* ----------------------------------------- */
/* ---------------- Stripe ----------------- */
/* ----------------------------------------- */
.PriceColumn-featureListContainer {
    display: none;
}

.PriceColumn-priceAndButton button {
    color: #fff!important;
    border-width: 0px!important;
    border-radius: 20px;
    font-family: 'Poppins Regular',Helvetica,Arial,Lucida,sans-serif!important;
    background-image: linear-gradient(180deg,#efe015 0%,#ff3131 100%);
}

.PriceColumn-priceAndButton button:hover {
    color: #efe015!important;
}
/* ----------------------------------------- */
/* ------------- Inscription --------------- */
/* ----------------------------------------- */
#inscription h5:before {
    content: url('/wp-content/uploads/2023/09/1505506.png');
    height: 20px;
    width: 20px;
}