/*
Theme Name: Child Theme WDL
Description: Theme enfant de Divi par WDL
Template: Divi
*/

/*----------RESET----------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/*----------ELEMENTS DE BASE----------*/

/*Accordéon*/
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    background-color: #0D1A4F;
    color: white;
    padding: 15px 30px;
    text-align: left;
    border: none;
	border-radius: 30px;
    outline: none;
    width: 100%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
	font-family: Roboto;
	font-weight: semi-bold;
}

.accordion-header:hover {
    background-color: #0D1A4F;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.accordion-content p {
    font-family: Roboto;
    color:#0D1A4F;
    font-size: 16px;
    line-height: 1.5em;
}

.accordion-header:after {
    content: '\25BC'; /* Arrow pointing down */
    font-size: 24px;
}

.accordion-header.active:after {
    content: '\25B2'; /* Arrow pointing up */
}

.et_pb_scroll_top.et-pb-icon{
    background: rgb(36 37 60);
    right: 50px;
    border:solid 1px;
    border-radius: 5px!important;
}

@-moz-document url-prefix() {
  .titre-top {
    font-size: 15px !important;
  }
}

@media (max-width:981px){
    .et_mobile_menu{
        position: absolute;
        left:-70vw;
        width: 87vw;
    }
    .et_mobile_menu li a{
        padding:5px 5%!important;
    }
    body .et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item a,body .et_pb_menu_1_tb_header.et_pb_menu ul li.current-menu-item a{
        color: #9738d6!important;
    }
}

@media (max-width: 400px) {
  .et_pb_section_0_tb_header,
  .et_pb_row_0_tb_header {
    height: auto !important;
    min-height: unset !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }

  .bouton-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: auto !important;
  }

  .bouton-container .et_pb_button_module_wrapper {
    flex: 1 !important;
    text-align: center;
    margin: 0 !important;
  }

  .bouton-container .et_pb_button {
    font-size: 10px !important;
    padding: 6px 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }

  .bouton-container .et_pb_button::before,
  .bouton-container .et_pb_button::after {
    content: none !important;
    display: none !important;
  }

  .bouton-container .et_pb_button:hover::before,
  .bouton-container .et_pb_button:hover::after {
    content: none !important;
    display: none !important;
  }
}