/*
 Theme Name:   Divi Child Plus
 Theme URI:    /divi-child-plus/
 Description:  A modified child theme of Divi
 Author:       Web Wizards
 Author URI:   https://webwizards.ca/
 Template:     Divi
 Version:      1.2.1
 Tags:         responsive-layout, accessibility-ready
 Text Domain:  divi-child-plus
*/

@import "modified.css";

/* === CLS home--en === */
@media screen and (min-width: 981px) {
  .home .et_pb_section.et_pb_section_0 { min-height: 100vh; }
  header.et-l--header { min-height: 320px; }
  header .et_pb_section { padding: 0 !important; width: 100% !important; } 
  header, header .et_builder_inner_content { width: 100% !important; }
  header .et_pb_row.et_pb_row_0_tb_header.et_pb_equal_columns.et_pb_gutters1 { width: 100%; padding: 2px 5% 7px; }
  header .et_pb_row.et_pb_row_1_tb_header.et_pb_equal_columns.et_pb_gutters1.et_pb_row--with-menu { width: 100%; padding: 0px; }
  header .et_pb_menu_inner_container.clearfix { width: 100%; }
  header .et_pb_row { width: 100%; max-width: 100%; }
  header .et_pb_module.et_pb_image.et_pb_image_0_tb_header { text-align: right; width: 90px; height: 90px; float: right; }
  header .et_pb_module.et_pb_image.et_pb_image_1_tb_header { text-align: right; width: 90px; height: 90px; float: right; }
  header .et_pb_menu--style-centered .et_pb_menu__logo-wrap { width: 478px; margin: 0px auto; }
  header.et-l--header .et_pb_row:first-of-type ul.et_pb_social_media_follow { width: fit-content; min-width: 100px; }
  .et_pb_social_media_follow a.icon::before {
    width: 28px !important;
    height: 28px !important;
    line-height: 28px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
  .et_pb_social_media_follow li { width: 28px; height: 28px; margin-right: 12px; }
  #main-content .et_pb_section_0.et_pb_fullwidth_section:has(.et_pb_fullwidth_post_title_0.et_pb_post_title) { min-height: 312px; overflow: hidden; }
  header img.wp-image-14078 { width: 90px; height: 90px; }
  header #custom-header3-menu.only-fr .et_pb_menu__logo-wrap { width: 423px; margin: 0px auto; }
  header .only-fr.et_pb_menu--style-centered .et_pb_menu__logo-wrap img { width: 423px; margin: 2rem 0; }
}

@media screen and (min-width: 1521px) {
  header #custom-header3-menu.only-fr .et_pb_menu__wrap, ul#menu-main-menu-fr-1 { height: fit-content; }
}

@media screen and (max-width: 980px) {
  .home .et_pb_section.et_pb_section_0 { min-height: 70vh; }
  header.et-l--header { min-height: 320px; }
  header, header .et_builder_inner_content { width: 100% !important; }
  header .et_pb_section { padding: 0 !important; width: 100% !important; }
  header .et_pb_row.et_pb_row_0_tb_header.et_pb_equal_columns.et_pb_gutters1 { width: 100%; padding: 2px 5% 7px; min-height: 99px; }
  header .et_pb_row.et_pb_row_1_tb_header.et_pb_equal_columns.et_pb_gutters1.et_pb_row--with-menu { width: 100%; padding: 0px; min-height: 220px; }
  header .et_pb_module.et_pb_image.et_pb_image_0_tb_header, header .et_pb_module.et_pb_image.et_pb_image_1_tb_header { margin: 0px; }
  header.et-l--header .et_pb_row { contain: layout; }
  header.et-l--header .et_pb_row:first-of-type { display: flex; align-items: center; }
  header.et-l--header .et_pb_row:first-of-type > .et_pb_column { flex: 0 0 50%; width: 50%; }
  header.et-l--header .et_pb_row:first-of-type > .et_pb_column:nth-of-type(2) { display: flex; justify-content: flex-end; }
  header.et-l--header .et_pb_row:first-of-type ul.et_pb_social_media_follow { width: fit-content; min-width: 100px; }
  span.mobile_menu_bar { height: 59px; width: 59px; }
  #custom-header3-menu .et_pb_menu__logo img { max-height: 170px; }
  .mejs-container { width: 100% !important; aspect-ratio: 40 / 23; margin: 0; padding: 0; }
  .mejs-container video { width: 100%; height: 100%; display: block; }
  .et_pb_section_video_bg, .et_pb_section_video_bg video { width: 100%; height: 100%; object-fit: cover; }
  .et_pb_section_video_bg .mejs-video { left: 0%; position: relative; max-width: 100%; width: 100%; margin: 0px !important; }
}

@media screen and (max-width: 640px) {
  header.et-l--header { min-height: 280px; }
  header .et_pb_row.et_pb_row_0_tb_header.et_pb_equal_columns.et_pb_gutters1 { width: 100%; padding: 2px 5% 7px; min-height: 90px; }
  header .et_pb_row.et_pb_row_1_tb_header.et_pb_equal_columns.et_pb_gutters1.et_pb_row--with-menu { width: 100%; padding: 0px; min-height: 180px; }
  #custom-header3-menu .et_pb_menu__logo img { max-height: 125px; max-width: 300px; }
  .et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__search-button::after { width: 20px; height: 20px; }
  header img.wp-image-14078 { width: 90px; height: 90px; }
}

header .only-fr.et_pb_menu--style-centered .et_pb_menu__logo-wrap img { margin: 2rem 0; }

@font-face { font-family: "ETmodules"; font-display: swap; }
@font-face { font-family: "Font Awesome 5 Brands"; font-display: swap; }
@font-face { font-family: "Open Sans"; font-display: swap; }