#header,
#header .header-top {
    background-color: #fff;
}

#index #header:not(.sticky-head),
#index #header:not(.sticky-head) .header-top {
    background-color: #fff;
    border-bottom: 1px solid #0002;
}

#bonlookbookfw:not(.swiper) .bonlookbookfw_wrapper .bonlookbookfw_item {
    width: 100%;
}

#bonlookbookfw:not(.swiper) .bonlookbookfw_item-img {
    max-width: 100%;
}

#header a {
    color: #3a3a3a;
}

#header .bon-search-icon,
#header svg path {
    fill: #fd450c;
}

.logo {
    height: 60px;
}

.product-description p {
    margin-bottom: 10px;
}

.bonslider-item-description p.h1,
.bonslider-item-description p.h2 {
    text-transform: none;
}

#_desktop_top_menu ul[data-depth='0']>li>a {
    color: #000;
}

#_desktop_top_menu>.top-menu>li {
    position: relative;
}

#_desktop_top_menu .sub-menu ul[data-depth='1']>li {
    width: 100%;
    float: none;
    border-bottom: 1px solid #0001;
    padding: 5px 0;
}

.top-menu .sub-menu ul[data-depth='1']>li {
    display: block;
}

#_desktop_top_menu .top-menu[data-depth='0'] li:hover .sub-menu {
    width: max-content;
    top: -10px;
    position: absolute;
    z-index: 999;
    display: block;
    max-width: inherit;
}

#_desktop_top_menu .top-menu[data-depth='0'] li:hover .sub-menu .container {
    /* width: 470px; */
    min-width: 200px;
    width: fit-content;
}

#_desktop_top_menu .top-menu [data-depth='1'] {
    flex: none;
}

#_desktop_top_menu .sub-menu ul[data-depth='1']>li>a:after {
    display: none;
}

#_desktop_top_menu .sub-menu ul[data-depth='1']>li>a {
    display: block;
}

#_desktop_top_menu .sub-menu ul[data-depth='1']>li>a:hover {
    color: #e14e0b;
}

#header .top-menu [data-depth='1'] {
    flex: none;
    display: block;
    width: 100%;
}

.label-menu-hot,
.label-menu-sale {
    display: none;
}

.mercury-icon-angle-bottom:before,
.mercury-icon-angle-up:before {
    color: #fff;
}

#mobile_top_menu_wrapper .js-top-menu-bottom {
    display: none;
}

#mobile_top_menu_wrapper .top-menu .sub-menu li>a {
    padding: 15px 10px 5px;
    font-weight: 400;
    margin-bottom: 0;
}

#mobile_top_menu_wrapper .top-menu .sub-menu ul[data-depth='1'] {
    margin: 0 0 20px;
}

.as-header {
    display: grid;
    place-items: center;
    grid-template-columns: repeat(4, 1fr);
    background-color: #ec482a;
    color: #ffffff;
    padding: 10px 0;
}

.as-header div {
    text-align: center;
    color: #ffffff;
}

.as-header div a {
    /* color: #ffffff; */
}

.as-header div img {
    max-height: 20px;
    padding-right: 5px;
}

.as-header div a,
.btn-change {
    /* background: #ac4a1e none repeat scroll 0 0;
  color: #fff; */
    background: #fff none repeat scroll 0 0;
    color: #ec482a;
    border-radius: 6px;
    display: inline-block;
    font-size: 13px;
    font-weight: 400;
    overflow: hidden;
    padding: 5px 23px;
    text-align: center;
    text-transform: uppercase;
    z-index: 4;
    -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)';
    -webkit-transition: all 0.7s;
    transition: all 0.7s;
}

.btn-change:hover {
    background: #ffebe8;
}

.fancy-link {
    position: relative;
    font-size: 15px;
    text-decoration: none;
    background-color: transparent;
    transition: opacity 200ms, padding 500ms, transform 500ms, background-color 1000ms;
}

.fancy-link:hover {
    transform-origin: bottom;
    /*   background-color: lightgray; */
}

.fancy-link::before {
    content: '';
    position: absolute;
    width: 100%;
    inset: 0;
    border-bottom: 0.1rem solid #fff;
    transform-origin: left;
    transform: scalex(1);
    transition: transform 400ms;
}

.fancy-link:hover::before {
    transform: scalex(0);
    transform-origin: right;
}

.as-h2 {
    font-family: 'Kanit';
    font-size: 24px;
    line-height: 150%;
    color: #fd450c;
    font-weight: 500;
    position: relative;
}

.as-slick .slick-prev.slick-disabled,
.as-slick .slick-next.slick-disabled {
    opacity: 0.2;
}

.as-slick .slick-prev,
.as-slick .slick-next {
    opacity: 1;
    position: absolute;
    top: auto;
    bottom: -30px;
    z-index: 10;
    width: 50px;
    height: 50px;
    text-align: center;
    background-color: #fff;
    transition: all 0.3s ease;
}

.as-slick .slick-prev {
    left: 10px;
}

.as-slick .slick-next {
    right: 10px;
}

.as-slick .slick-prev:before,
.as-slick .slick-next:before {
    font-family: 'Mercury';
    color: #000;
    font-size: 35px;
    transition: all 0.3s ease;
    opacity: 1;
    /* content: '\e802'; */
}

.as-slick .slick-next:before {
    /* content: '\e804'; */
}

.as-slick {
    z-index: 9999;
}


/* .slick-list {
  overflow: visible;
} */

.asCategory {
    overflow: hidden;
}

.as-product-wrapper {
    position: relative;
    display: grid;
    grid-template-rows: repeat(1, 1fr);
    place-items: center;
    border: 1px solid #fd450c;
    gap: 0;
    margin: 50px 15px;
}

.as-product-wrapper .as-date-top {
    position: absolute;
    top: -41px;
    z-index: 9999;
    margin: 50px 0 30px;
    background-color: #fd450c;
    color: #fff;
    margin: 0 20px;
    padding: 10px;
}

.as-date-top .as-date-jours {
    text-align: center;
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #fff;
}

.as-date-top .as-date-heure {
    text-align: center;
}

.as-product-wrapper .as-detail {
    position: relative;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    place-items: center;
    gap: 40px;
    margin: 100px 0 30px;
}

.asCategory .price {
    font-size: 30px;
    font-weight: bold;
    color: #000;
}

.as-dispo {
    display: flex;
    align-items: center;
}

.as-available {
    font-size: 24px;
    line-height: 23px;
    margin-right: 10px;
}

.as-available.orange {
    color: #fd450c;
}

#bonbanners .h1,
#bonbanners .h2 {
    display: none;
}

#bonbanners .bonbanners-item p:not(.h1):not(.h2) {
    font-size: 16px;
    margin-bottom: 10px;
    max-width: 100%;
}

.as-bonbanners-bg {
    background-position: 0 150px;
    background-size: cover;
    background-repeat: no-repeat;
}

.as-pre-footer {
    display: grid;
    place-items: center;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 0 20px 20px;
}

.as-pre-footer img {
    width: 100%;
}

.as-pre-footer .h3 {
    margin-top: 16px;
    font-family: 'Kanit';
    font-size: 24px;
    line-height: 150%;
    color: #1a1a1a;
    font-weight: 500;
    padding-left: 10px;
    position: relative;
}

.as-pre-footer .h3:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fd370c;
    width: 4px;
    height: 100%;
    border-radius: 4px;
}

#bonnews.bon-home .box-bonnews p.as-temoignage {
    font-size: 14px;
    color: #000;
    font-style: italic;
}

#bonlookbookfw:not(.swiper) .bonlookbookfw_wrapper {
    display: block;
}

.as-presentation-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    place-items: center;
    gap: 10vw;
    padding: 70px 10vw;
    background-size: cover;
    background-repeat: no-repeat;
}

.as-presentation-wrapper .as-presentation-desc {
    /* grid-column: 1 / 4; */
    color: #000;
}

.as-presentation-wrapper .as-presentation-img {
    /* grid-column: span 2; */
}

.as-presentation-wrapper p {
    font-size: 16px;
    margin-bottom: 30px;
    /* color: #000; */
}

.as-presentation-wrapper p strong {
    font-weight: 700;
}

.footer-container-bottom {
    display: none;
}

.bon-custom-tab .bon-custom-tab-table table td:nth-child(1) {
    width: 30%;
}

.bon-custom-tab .bon-custom-tab-table table td:nth-child(2) {
    width: 10%;
}

.bon-custom-tab .bon-custom-tab-table table td:nth-child(3) {
    width: 15%;
}

.bon-custom-tab .bon-custom-tab-table table td:nth-child(4) {
    width: 15%;
}

.bon-custom-tab .bon-custom-tab-table table td:nth-child(5) {
    width: 30%;
}

.as-table-footer td {
    color: #000;
    font-weight: 700;
}

.as-table-footer td {
    border-right: 1px solid #fff !important;
}

.as-table-footer td:nth-child(3),
.as-table-footer td:last-child {
    border-right: 1px solid #e0e0e0 !important;
}

.as-table-footer:nth-child(2) td {
    border-right: 1px solid #f9f9f987 !important;
}

.as-table-footer:nth-child(2) td:nth-child(3),
.as-table-footer:nth-child(2) td:last-child {
    border-right: 1px solid #e0e0e0 !important;
}

#footer {
    background: url(https://www.moto-auto-ecole.com/bg-footer.jpg) no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    gap: 20px;
}

.as-footer {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    place-items: center;
    gap: 30px;
}

.logo-footer {
    padding: 10%;
}

.as-footer p,
.as-footer a {
    text-align: justify;
    font-size: 16px;
    line-height: 26px;
    color: #fffc;
}

.as-footer-bottom {
    padding: 10px 0;
    border-top: 1px solid #fd450c;
    text-align: center;
    font-size: 13px;
}

.as-footer-bottom a {
    color: #fd450c;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #fd450c;
    border-color: #fd450c;
}

.btn-primary,
.btn-secondary,
.btn-tertiary,
#bon_manufacturers_block {
    background-color: #fd450c;
}

.bon-product_description strong {
    font-weight: 700 !important;
}

.tabs .tab-content .product-description .bon-product_description ul.bon-description-text-list li {
    padding-left: 20px;
}

#bonnews.bonpost .bonnews-image {
    max-height: 100%;
    /* width: 50%; */
}

body#module-bonnews-post .products-section-title {
    color: #e5e5e5 !important;
}

.page-content img {
    width: 100%;
    height: auto;
}

.page-footer {
    padding: 0;
}

.btn-primary.account-bon-logout {
    position: relative;
    color: #fd450c;
    background-color: #fff;
    border: 1px solid #fd450c;
    z-index: 999;
}

.as-list-form {
    color: #3a3a3a;
}

.as-account-liste {
    display: block;
    margin: 30px 0px;
    padding: 15px 10px;
    border-top: 3px double rgba(150, 150, 150, 0.3);
}

.text-sm-center {
    text-align: center !important;
}

.page-footer:has(.text-sm-center) {
    margin-top: 40px;
}

.as-list-form-row {
    align-items: center;
}

#contact .container .contact-form {
    border-image: none;
    border: none;
    padding-left: 20px;
    padding-right: 20px;
}

.as-wrapper-checkout {
    padding: 10vh 0;
}

.page-content strong {
    font-weight: 700;
}

@media screen and (min-width: 1881px) {
    #bonbanners .banner-inner {
        max-width: 60%;
        transform: translateX(0);
    }
    #bonbanners .bonbanners-item p:not(.h1):not(.h2) {
        font-size: 16px;
    }
}

@media screen and (min-width: 1200px) {
    #index #header:not(.sticky-head) .header-top:not(.sticky-head) #_desktop_cart svg path,
    #index #header:not(.sticky-head) .header-top:not(.sticky-head) #_desktop_setting-header svg path,
    #index #header:not(.sticky-head) .header-top:not(.sticky-head) #_desktop_user_info svg path,
    #index #header:not(.sticky-head) .header-top:not(.sticky-head) #boncompare svg path,
    #index #header:not(.sticky-head) .header-top:not(.sticky-head) #bonwishlist svg path,
    #index #header:not(.sticky-head) .header-top:not(.sticky-head) .bon-search-icon svg path {
        fill: #fd450c;
    }
    #bonslider {
        margin-bottom: -100px;
    }
}

@media (max-width: 1201px) {
    #bonbanners .banner-inner {
        padding: 20px;
        background: #fff8;
        border-radius: 10px;
    }
    #bonbanners .bonbanners-item p:not(.h1):not(.h2) {
        color: #000;
    }
    .as-bonbanners-bg {
        background-position: 0 100px;
    }
}

@media (max-width: 991px) {
    .js-top-menu-bottom {
        display: none;
    }
    .top-menu li.cms-category {
        position: relative;
    }
    .top-menu li.cms-category .navbar-toggler {
        position: absolute;
        right: 0;
        top: 8px;
        z-index: 6;
        padding: 5px 15px;
        cursor: pointer;
    }
}

@media (max-width: 768px) {
    .as-pre-footer {
        grid-template-columns: 1fr;
    }
    #bonbanners .banner-inner {
        background: #ffffffdb;
        transform: translateX(0);
    }
    #bonbanners p:not(.h1):not(.h2),
    #bonbanners .banner-inner_footer {
        color: #000;
        font-size: 14px;
    }
    .as-bonbanners-bg {
        background-position: 0 50px;
    }
    .as-presentation-wrapper {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }
    .as-header {
        grid-template-columns: repeat(2, 1fr);
    }
    .as-header div a,
    .btn-change {
        font-size: 11px;
        padding: 5px 10px;
    }
    .as-footer {
        padding: 40px;
        grid-template-columns: repeat(1, 1fr);
    }
    .logo-footer {
        padding: 20px 0;
        max-width: 300px;
    }
    .as-wrapper-checkout {
        padding: 10vh 0;
    }
}

@media screen and (max-width: 576px) {
    #bonbanners p:not(.h1):not(.h2),
    #bonbanners .banner-inner_footer {
        display: block;
    }
}


/* --- timeline --- */

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    background: #ffc1af;
    width: 5px;
    height: 95%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    width: 100%;
    margin-bottom: 70px;
}

.timeline-item:nth-child(even) .timeline-content {
    float: right;
    padding: 40px 30px 10px 30px;
}

.timeline-item:nth-child(even) .timeline-content .date {
    right: auto;
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #f5f5f5 transparent transparent;
}

.timeline-item::after {
    content: '';
    display: block;
    clear: both;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 30px 30px;
    border-radius: 4px;
    background: #f5f5f5;
    box-shadow: 0 20px 25px -15px rgba(0, 0, 0, 0.3);
}

.timeline-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    right: -15px;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #f5f5f5;
}

.timeline-img {
    width: 30px;
    height: 30px;
    background: #fd450c;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    margin-top: 25px;
    margin-left: -15px;
}

.timeline-card {
    padding: 0 !important;
}

.timeline-card p {
    padding: 0 20px;
}

.timeline-card a {
    margin-left: 20px;
}

.timeline-item .timeline-img-header {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4)), url('https://picsum.photos/1000/800/?random') center center no-repeat;
    background-size: cover;
}

.timeline-img-header {
    height: 200px;
    position: relative;
    margin-bottom: 20px;
}

.timeline-img-header h2 {
    color: #ffffff;
    position: absolute;
    bottom: 5px;
    left: 20px;
}

@media screen and (max-width: 768px) {
    .timeline::before {
        left: 50px;
    }
    .timeline .timeline-img {
        left: 50px;
    }
    .timeline .timeline-content {
        max-width: 100%;
        width: auto;
        margin-left: 70px;
    }
    .timeline .timeline-item:nth-child(even) .timeline-content {
        float: none;
    }
    .timeline .timeline-item:nth-child(odd) .timeline-content::after {
        content: '';
        position: absolute;
        border-style: solid;
        width: 0;
        height: 0;
        top: 30px;
        left: -15px;
        border-width: 10px 15px 10px 0;
        border-color: transparent #f5f5f5 transparent transparent;
    }
}

@media (max-width: 767px) {
    /* #tab-detail-prestation {
    width: 90%;
  } */
    .bon-custom-tab .bon-custom-tab-table {
        display: block;
    }
    .bon-custom-tab .bon-custom-tab-table table thead tr th,
    .bon-custom-tab .bon-custom-tab-table table tbody tr td {
        font-size: 12px;
        line-height: 16px;
        padding: 0.2rem;
    }
}

.as-btn-rdv {
    text-transform: initial;
    color: #da6200;
    border: 1px solid #da6200;
    background: #fff;
    border-radius: 10px;
    padding: 10px 20px;
    margin: 10px 0;
    font-size: 15px;
    transition: all 350ms ease-in-out;
}

.as-btn-rdv:hover {
    color: #f77001;
    border: 1px solid #ff9e4f;
    background: #fff9f3;
}

.as-btn-rdv.done {
    cursor: default;
    color: #429100;
    border: 1px solid #429100;
}

.as-btn-rdv.done:hover {
    color: #429100;
    border: 1px solid #429100;
    background: #fff;
}

.as-btn-rdv .material-icons {
    display: none;
    margin-top: -4px;
    margin-right: 5px;
}

.as-btn-rdv.done .material-icons {
    display: inline;
}

.as-btn-rdv.error {
    cursor: default;
    color: #d20000;
    border: 1px solid #d20000;
}

.as-btn-rdv.error:hover {
    color: #d20000;
    border: 1px solid #d20000;
    background: #fff;
}

.as-btn-rdv.error .material-icons {
    display: inline;
}

.owl-carousel .owl-item img.tv_reviews_avatar {
    width: 90%;
}

/*--- Rendez-vous annulés dans le compte de l'élève : conservés et toujours affichés,
      en gris foncé pour les distinguer des rendez-vous actifs. Seule la mention du
      sort de l'heure reste colorée (rouge = perdue, orange = recréditée). ---*/
.as-btn-rdv.annule,
.as-btn-rdv.annule:hover {
    cursor: default;
    display: block;
    width: 100%;
    text-align: left;
    color: #444;
    border: 1px solid #444;
    background: #f4f4f4;
}

.as-btn-rdv.annule .material-icons {
    display: inline;
}

.as-btn-rdv.annule .as-rdv-date {
    text-decoration: line-through;
}

.as-btn-rdv.annule .as-rdv-statut {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
}

.as-btn-rdv.annule-perdu .as-rdv-statut {
    color: #d20000;
}

.as-btn-rdv.annule-recredite .as-rdv-statut {
    color: #e06a00;
}

/*--- Bouton « Annuler ce rendez-vous », discret sous le rendez-vous concerné. ---*/
.as-btn-annuler {
    display: block;
    margin: -5px 0 10px;
    padding: 0;
    border: 0;
    background: none;
    color: #888;
    font-size: 13px;
    text-decoration: underline;
    transition: color 350ms ease-in-out;
}

.as-btn-annuler:hover {
    color: #d20000;
}

/*--- Modale de confirmation et de résultat d'annulation. Autonome : ne dépend
      ni du thème ni d'une librairie JavaScript. ---*/
.as-modal[hidden] {
    display: none;
}

.as-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.as-modal-fond {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
}

.as-modal-boite {
    position: relative;
    max-width: 480px;
    width: 100%;
    padding: 25px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.as-modal-texte {
    margin: 0 0 20px;
    color: #000;
    font-size: 15px;
    line-height: 1.5;
}

.as-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.as-modal-btn {
    padding: 8px 22px;
    border-radius: 10px;
    font-size: 15px;
    transition: all 350ms ease-in-out;
}

.as-modal-btn[hidden] {
    display: none;
}

.as-modal-btn-non {
    color: #555;
    border: 1px solid #bbb;
    background: #fff;
}

.as-modal-btn-non:hover {
    border-color: #555;
}

.as-modal-btn-oui {
    color: #fff;
    border: 1px solid #da6200;
    background: #da6200;
}

.as-modal-btn-oui:hover {
    border-color: #f77001;
    background: #f77001;
}

.as-modal-btn-oui[disabled] {
    opacity: 0.5;
}
