/*

 Theme Name:     Osteopathenyon Theme

 Theme URI:      https://www.elegantthemes.com/gallery/divi/

 Description:    Divi Child Theme for Osteopathenyon.

 Author:         Elegant Themes

 Author URI:     https://www.elegantthemes.com

 Template:       Divi

 Version:        1.0.0

*/

 

 

/* =Theme customization starts here

------------------------------------------------------- */
body {
  font-family: "articulat-n" !important;
}
div#footer-info {
    text-align: center;
    float: none;    padding: 40px 0;
}
#top-menu li {
    font-weight: 300;
}
a.et_pb_button {
    text-align: center;
    min-width: 200px;
}
a.et_pb_button.custom_button.et_pb_bg_layout_light {
    padding: 16px 28px;
	font-size:24px;
}
/*custom popup*/
body:not(.et-fb-root-ancestor) [class*='et-lb-content'], .et-lb-wrapper {
	position:fixed !important;
	visibility:hidden;
	top:0px;
	z-index:999999;
	min-height:100%;
	transition:all .2s 0s;
    width: 100%;
}
body:not(.et-fb-root-ancestor) [class*='et-lb-content'] .et_pb_row {
	position:relative;
	top:50px;
}
.et-lb-open {
	visibility:visible!important;
	width:100%;
}
span.et-lb-close {
	font-size:46px;
	right:-1vw;
	margin-top:-51px;
	display:block;
	color:#fff; /* COLOR OF THE CLOSING ICON*/
	padding:10px;
	cursor:pointer;
	font-weight:bold;
	font-family:etmodules;
	z-index:99999999999999;
	position:absolute;    
	background: #000;
}
body:not(.et-fb-root-ancestor) [class*='et-lb-content']:not(.et-lb-open) {
	transform:scale(.3);opacity:0;
}
body:not(.et-fb-root-ancestor) [class*='et-lb-btn'] {
	cursor:pointer;
}
.et_header_style_left #et-top-navigation .mobile_menu_bar::before {
    color: #09b0ad;
    font-size: 46px;
}
/*.et_pb_image span.et_pb_image_wrap:after {
    content: "";
    position: absolute;
    width: 345px;
    height: 345px;
    background: #5ab4b0;
    border-radius: 50%;
    z-index: -1;
    right: -40px;
    top: -20px;
}
.et_pb_image span.et_pb_image_wrap:before {
    display: block;
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background: #5ab4b0;
    border-radius: 50%;
    z-index: -1;
    right: -86px;
    top: 0px;
}
*/
.et_pb_module.et_pb_testimonial.clearfix {
    overflow: visible;
	padding-top: 120px;
	height:100%;
}
.et_pb_module.et_pb_testimonial.clearfix .et_pb_testimonial_portrait {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translate(-50%);
}
.et_pb_module.et_pb_testimonial.clearfix:after {
	content: "" !important;
    right: -20px;
    position: absolute;
    height: 45px;
    width: 50px;
    text-align: center;
    bottom: -20px;
    background: url(https://staging.osteopathenyon.ch/wp-content/uploads/2026/04/quote-bottom-1.png) no-repeat center, #5ab4b0;
    background-size: 100%;
    border-radius: 0;
    visibility: visible !important;
}
.et_pb_module.et_pb_testimonial.clearfix:before {
	content: "" !important;
    left: 0;
    position: absolute;
    height: 45px;
    width: 50px;
    text-align: center;
    top: -12px;
    background: url(https://staging.osteopathenyon.ch/wp-content/uploads/2026/04/quote-top-1.png) no-repeat center, #5ab4b0;
    background-size: 100%;
    border-radius: 0;
}
.third_party_reviews_link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    border: 1px solid #fff;
    margin: 15px auto;
    border-radius: 5px;
}
.third_party_reviews_link h3 {
    color: #fff;
    font-weight: 300 !important;
    font-family: 'articulat-l', Helvetica, Arial, Lucida, sans-serif;
    padding: 3px 10px;
    font-size: 24px;
}
.third_party_reviews_link a {
    color: #5ab4b0;
    background: #fff;
    font-size: 18px;
    width: 110px;
    display: block;
    line-height: 1em;
    padding: 3px 10px;
    border-radius: 0 5px 5px 0;
}
.et_pb_row.design_sec_full .et_pb_column>.et_pb_module{
	position:static;
}
.et_pb_row.right-image-box .et_pb_column .et_pb_module.et_pb_image:before{
    content: "";
    position: absolute;
    width: 345px;
    height: 345px;
    background: #5ab4b0;
    border-radius: 50%;
    z-index: -1;
    left: -40px;
    top: -20px;
}
.et_pb_row.right-image-box .et_pb_column .et_pb_module.et_pb_image:after{
	content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background: #5ab4b0;
    border-radius: 50%;
    z-index: -1;
    left: -86px;
    top: 0px;
}
.et_pb_row.left-image-box .et_pb_column .et_pb_module.et_pb_image:before {
    content: "";
    position: absolute;
    width: 345px;
    height: 345px;
    background: #5ab4b0;
    border-radius: 50%;
    z-index: -1;
    right: -40px;
    top: -20px;
}
.et_pb_row.left-image-box .et_pb_column .et_pb_module.et_pb_image:after{
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background: #5ab4b0;
    border-radius: 50%;
    z-index: -1;
    right: -86px;
    top: 0px;
}
a.et_pb_button.custom_red_button,a.et_pb_button.custom_red_button:hover {
    display: flex;
    justify-content: space-between;
    padding: 0 0 0 50px !important;
    max-width: 600px;
    overflow: hidden;
    align-items: center;
    margin: 0 auto;
}
a.et_pb_button.custom_red_button:after {
    content: "Prendre rendez-vous rapidement Douleur aiguë / dos bloqué" !important;
    display: block !important;
    background: #E02B20 !important;
    font-size: 20px;
    color: #fff;
    position: relative;
    font-family: 'articulat-m', Helvetica, Arial, Lucida, sans-serif !important;
    visibility: visible;
    opacity: 1;
    padding: 6px 0;
    width: 360px;
}
a.et_pb_button.custom_red_button:before{
	left:45px;
}
.et_pb_with_border.et_pb_section.stat_section_home .et_pb_with_border.et_pb_row.stat_section_home_top{
	overflow:visible;
}
.et_pb_with_border.et_pb_section.stat_section_home .et_pb_with_border.et_pb_row.stat_section_home_top:before,
.et_pb_section.osteo_border_box .et_pb_row.design_sec_full:before,
.et_pb_section.osteo_border_box .et_pb_row.acordion_sec_full:before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    top: -55px;
    left: -40px;
    background: url(https://staging.osteopathenyon.ch/wp-content/uploads/2026/04/stat-bg.png) no-repeat;
    background-position: 0 40px;
    background-size: contain;
}
body a.et_pb_button.custom_button.btn-full.et_pb_bg_layout_light {
    padding: 10px 20px;
    max-width: 400px !important;
    width: 100% !important;
    display: inline-block;
    font-family: 'articulat-l', Helvetica, Arial, Lucida, sans-serif;
	font-size:24px;
	line-height: 1em !important;
}
.et_pb_module.et_pb_text.article_logo_title .et_pb_text_inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.et_pb_module.et_pb_text.article_logo_title .et_pb_text_inner img {
    width: 100px;
    margin-right: 20px;
}
.et_pb_module.et_pb_testimonial.clearfix .et_pb_testimonial_description {
    height: 100%;
    padding-bottom: 40px;
}
.et_pb_module.et_pb_testimonial.clearfix .et_pb_testimonial_description span.et_pb_testimonial_author {
    position: absolute;
    bottom: 0;
    right: 30px;
}
.et_header_style_left #et-top-navigation nav>ul>li.custom_header_button a{
    border: 3px solid #5ab4b0;
    padding: 5px 10px 5px 40px !important;
    border-radius: 10px;
    line-height: 1em;
}
.et_header_style_left #et-top-navigation nav>ul>li.custom_header_button a span{
	display: block;
    text-align: center;
    color: #5ab4b0;
}
.et_header_style_left #et-top-navigation nav>ul>li.custom_header_button a:after {
    content: "\e090";
    font-family: ETmodules !important;
    font-weight: 400 !important;
    color: #5ab4b0;
    line-height: inherit;
    font-size: inherit !important;
    opacity: 1;
    margin-left: -1.3em;
    right: auto;
    display: inline-block;
    font-family: ETmodules !important;
    font-weight: 400 !important;
    position: absolute;
    top: 5px;
}
ul.contact_footer a {
    color: #000;
}
.et_pb_row.osteo-profile-sec.osteo-profile-left-sec .et_pb_with_border.et_pb_module.et_pb_image:before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: #5ab4b0;
    border-radius: 50%;
    z-index: -1;
    right: -20px;
    top: -20px;
}
.et_pb_row.osteo-profile-sec.osteo-profile-right-sec .et_pb_with_border.et_pb_module.et_pb_image:before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: #5ab4b0;
    border-radius: 50%;
    z-index: -1;
    left: -20px;
    top: -20px;
}
.et_pb_row.osteo-profile-sec.osteo-profile-left-sec .et_pb_with_border.et_pb_module.et_pb_image:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: #5ab4b0;
    border-radius: 50%;
    z-index: -1;
    right: -36px;
    top: 0px;
}
.et_pb_row.osteo-profile-sec.osteo-profile-right-sec .et_pb_with_border.et_pb_module.et_pb_image:after {
    content: "";
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: #5ab4b0;
    border-radius: 50%;
    z-index: -1;
    left: -36px;
    top: 0px;
}
.et_pb_row.osteo-profile-sec.osteo-profile-right-sec .et_pb_column div.et_pb_module ul {
    direction: rtl;
}
div.et_pb_module.et_pb_testimonial.clearfix {
    background: url(https://staging.osteopathenyon.ch/wp-content/uploads/2026/04/review_bg-full.png), url(https://staging.osteopathenyon.ch/wp-content/uploads/2026/04/review_bg-full.png) !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: top center, bottom center !important;
    background-size: 100% auto, 100% auto !important;
}
.et_header_style_left #et-top-navigation nav>ul>li.current-menu-item>a:before, 
.et_header_style_left #et-top-navigation nav>ul>li.current_page_item>a:before,
.et_header_style_left #et-top-navigation nav>ul>li:hover>a:before, 
.et_header_style_left #et-top-navigation nav>ul>li:hover>a:before{
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: #5ab4b0;
    border-radius: 50%;
    left: -15px;
    top: 2px;
    opacity: 1;
}
.et_pb_module.et_pb_heading.custom_heading_page .et_pb_heading_container h1 {
    padding: 0 0 0 60px;
    position: relative;
    font-size: 60px;
}
.et_pb_module.et_pb_heading.custom_heading_page .et_pb_heading_container h1:before {
    content: "";
    background: url(https://staging.osteopathenyon.ch/wp-content/uploads/2026/04/herder-title-img.png) no-repeat center;
    display: block;
    width: 40px;
    height: 128px;
    position: absolute;
    left: 0;
    top: 50%;
    background-size: contain;
    transform: translateY(-50%);
}
.osteo_border{
	border: 3px solid !important;
  	border-image: linear-gradient(to right, #71b2af, #eaf3f3) 1 !important;
}
.et_pb_row.osteo_main_sec_top {
    border: 3px solid transparent;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(to right, #71b2af, #eaf3f3) border-box;
    border-bottom: 0;
}
.osteo_main_sec{
    border: 3px solid transparent;
    border-radius: 20px;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(to right, #71b2af, #eaf3f3) border-box;
}
/* MAIN ROW WITH GRADIENT BORDER */
.et_pb_row.osteo_main_sec {
	position: relative;
    border-radius: 20px;
    padding: 3px;
    z-index: 1;
    background: linear-gradient(to right, #71b2af, #eaf3f3);
	border:0;
}

/* INNER WHITE BACKGROUND */
.et_pb_row.osteo_main_sec::before {
  content: "";
  position: absolute;
  inset: 3px; /* 👈 border thickness */
  background: #ffffff;
  border-radius: 17px; /* 👈 (20 - 3) */
  z-index: 0;
}

/* KEEP CONTENT ABOVE WHITE LAYER */
.et_pb_row.osteo_main_sec > .et_pb_column {
  position: relative;
  z-index: 1;
}

/* OPTIONAL: REMOVE COLUMN BACKGROUNDS (DIVI FIX) */
.et_pb_row.osteo_main_sec .et_pb_column {
	background: #ffffff !important;
    padding: 30px 20px;
    border-radius: 17px;
	margin:3px 0;
}
.et_pb_row.osteo_main_sec_bottom {
    border: 3px solid transparent;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(to right, #71b2af, #eaf3f3) border-box;
    border-top: 0;
}
ul.green_tick_list {
    padding-left: 0;
}
ul.green_tick_list>li {
    list-style: none;
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
}
ul.green_tick_list>li:before {
    content: "";
    display: inline-block;
    background: url(https://staging.osteopathenyon.ch/wp-content/uploads/2026/04/icon-checked-mini.png) no-repeat center;
    height: 25px;
    width: 25px;
    background-size: contain;
    position: absolute;
    left: 0;
}
body.et_pb_button_helper_class .et_pb_button.light_button, body.et_pb_button_helper_class .et_pb_module.et_pb_button.light_button {
    color: #4e8d8e !important;
    background-color: #ffffff;
    border-color: #4e8d8e !important;
}
body .et_pb_bg_layout_light.et_pb_button.light_button:hover, body .et_pb_bg_layout_light .et_pb_button.light_button:hover, body .et_pb_button.light_button:hover {
    background-color: #4e8d8e;
    color: #fff !important;
}
ol.osteo_order_list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

ol.osteo_order_list li {
    counter-increment: step;
    padding: 10px 15px;
    margin-bottom: 10px;
    color: #4e8d8e;
}
ol.osteo_order_list li span{
	display: flex;
    color: #000;
    position: relative;
    padding-left: 40px;
    align-items: center;
    gap: 10px;
}
ol.osteo_order_list li span:before{
	content: "";
    display: block;
    width: 20px;
    height: 20px;
    background: url(https://staging.osteopathenyon.ch/wp-content/uploads/2026/04/icon-arrow-right.png) no-repeat center;
    background-size: contain;
}
ol.osteo_order_list li::before {
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-right: 15px;
    background: #5e9c9a;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    line-height: 1em;
}
.et_pb_row.acordion_sec_full {
    border: 3px solid transparent;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(to right, #71b2af, #eaf3f3) border-box;
}
.et_pb_row.acordion_sec_full .et_pb_toggle_title {
    padding: 10px 20px;
    background: #5ab4b0;
    color: #fff;
    font-size: 24px;
}
/* COMMON CONTAINER */
.accordion_sec_img_left .et_pb_toggle_content,
.accordion_sec_img_right .et_pb_toggle_content {
  display: flex;
  align-items: center;
  background: #e6ebeb;
  padding: 0;
  border-radius: 4px;
}
.et_pb_toggle.et_pb_module.et_pb_accordion_item.et_pb_toggle_open {
    padding: 0;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}
.acordion_sec_full .et_pb_module.et_pb_accordion.accordion_sec_inner .et_pb_toggle_content {
    padding: 30px;
}
/* IMAGE WRAPPER */
.acordion_img_sec {
  position: relative;
  flex: 0 0 30%;
}

/* IMAGE */
.acordion_img_sec img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

/* CONTENT */
.acordion_content_sec {
  flex: 1;
  font-size: 22px;
  line-height: 1.6;
  color: #222;
	padding: 40px;
	font-weight:600;
}

/* =========================
   LEFT IMAGE (fade right)
========================= */
.accordion_sec_img_left .acordion_img_sec::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 100%;
  pointer-events: none;

  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(230, 235, 235, 0.6) 60%,
    #e6ebeb 100%
  );
}

/* =========================
   RIGHT IMAGE LAYOUT
========================= */
.accordion_sec_img_right .et_pb_toggle_content {
  flex-direction: row-reverse;
}

/* FADE LEFT SIDE */
.accordion_sec_img_right .acordion_img_sec::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 100%;
  pointer-events: none;

  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0) 0%,
    rgba(230, 235, 235, 0.6) 60%,
    #e6ebeb 100%
  );
}

/* =========================
   LIST STYLING
========================= */
.acordion_content_sec ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.acordion_content_sec ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.acordion_content_sec ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #2f6f6d;
  font-size: 20px;
  line-height: 1;
}
.approach_list_section ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}
.approach_list_section ul>li {
    width: 30.33%;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #5ab4b0;
    padding: 5px;
    border-radius: 40px;
}
/* WRAPPER */
.custom-nested-accordion {
/*   margin-top: 15px; */
}

/* EACH ITEM (CARD) */
.nested-item {
  overflow: hidden;
  margin-bottom: 12px;
  background: #ffffff;
  border: 1px solid #dfe6e6;
}

/* TITLE BAR (TEAL STRIP LIKE DESIGN) */
.nested-title {
    background: #edf8fa;
    color: #000;
    padding: 10px 35px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    font-weight: 600;
}

/* OPTIONAL: LEFT ROUND STYLE TOUCH */


/* HOVER EFFECT */


/* CONTENT AREA */
.nested-content {
  display: none;
  padding: 15px 18px;
  background: #f4f7f7;
  border-top: 1px solid #e2eaea;
}

/* =========================
   TIMELINE STYLE
========================= */

.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

/* vertical line */
.timeline-list::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  width: 2px;
  height: 100%;
  background: #71b2af;
}

/* items */
.timeline-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

/* dot */
.timeline-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: #71b2af;
  border-radius: 50%;
}

/* YEAR STYLE */
.timeline-list strong {
  color: #2f6f6d;
  font-weight: 600;
}

/* =========================
   SMOOTH OPEN ANIMATION
========================= */

.nested-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.nested-item.active .nested-content {
  max-height: 1000px;
  padding: 15px 18px;
}

/* =========================
   SMALL ARROW ICON
========================= */

.nested-title::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}
.nested-title::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 10px;
    top: 15px;
    background: #f00;
    background: url(/wp-content/uploads/2026/04/icon-triangle-top.png) no-repeat center;
    background-size: contain;
}
.acordion_sec_full .et_pb_module.et_pb_accordion.accordion_sec_nested .et_pb_toggle_content {
    padding: 0;
}
.nested-item.active .nested-title::after {
  content: "−";
}
@media only screen and (max-width: 980px) {
	  .et_pb_row.right-image-box {
		display: flex !important;
		flex-direction: column-reverse;
		gap: 40px;
	  }
	.et_pb_row.osteo-profile-sec.osteo-profile-right-sec {
		display: flex;
		flex-direction: column-reverse;
		gap: 40px;
	}
	.et_pb_row.osteo-profile-sec.osteo-profile-right-sec .et_pb_column div.et_pb_module ul {
		direction: ltr;
	}
	.et_pb_row.osteo-profile-sec.osteo-profile-right-sec .et_pb_column div.et_pb_module, 
	.et_pb_row.osteo-profile-sec.osteo-profile-right-sec .et_pb_column div.et_pb_module h3{
		text-align: left;
		margin-left: 0 !important;
	}
	.et_pb_row.osteo-profile-sec .et_pb_image{
		display:inline-block;
	}
}
@media only screen and (max-width: 767px) {
	a.et_pb_button {
		width: 100%;
	}
	a.et_pb_button.custom_red_button,a.et_pb_button.custom_red_button:hover{
		display: block;
		padding: 0 !important;
	}
	a.et_pb_button.custom_red_button:after {
		position: relative;
		width: 100%;
		margin-left: 0;
	}
	.et_pb_row.left-image-box .et_pb_column .et_pb_module.et_pb_image:before {
		right: -20px;
	}
	.et_pb_row.left-image-box .et_pb_column .et_pb_module.et_pb_image:after {
		right: -30px;
	}
	footer a.et_pb_button.custom_button.et_pb_bg_layout_light {
		display: block;
		margin-bottom: 15px;
	}
	.et_pb_testimonial .et_pb_testimonial_content {
		font-size: 14px !important;
	}
	.et_pb_testimonial .et_pb_testimonial_content img {
		max-width: 140px;
	}
	div.et_pb_module.et_pb_testimonial.clearfix {
		background-size: 100% 100%, 100% 100% !important;
		margin-top: 40px;
	}
	.et_pb_module.et_pb_testimonial.clearfix:before, 
	.et_pb_module.et_pb_testimonial.clearfix:after {
		width: 45px;
		height: 40px;
	}
	.et_pb_with_border.et_pb_section.stat_section_home {
		background-position: 0 40px;
	}
	  .accordion_sec_img_left .et_pb_toggle_content,
  .accordion_sec_img_right .et_pb_toggle_content {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .acordion_img_sec {
    width: 100%;
    flex: unset;
  }

  .acordion_img_sec::after {
    display: none; /* remove fade on mobile */
  }

  .acordion_content_sec {
    font-size: 16px;
  }
}