/*
Theme Name: Divi Child Theme
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 5.0.1
Description: ALPHA+v3 Divi Child Theme
Author: Jamie Penner
Template: Divi
*/


/* =Theme customization starts here
------------------------------------------------------- */

/* ---------- Typography Defaults ---------- */

/* Global site background override */
html,
body,
#page-container,
.et_pb_section,
#et-boc {
  background-color: #171717 !important;
}

/* Prevent white flash on load */
.et_fb_preview_active body,
body.et_divi_theme,
body.et_divi_builder {
    background-color: #171717 !important;
}

@media (min-width: 981px) {

  /* Main content rows only */
  body #main-content .et_pb_row {
    width: 85% !important;
    max-width: 2200px !important;
  }

  /* Theme Builder footer rows */
  body footer.et-l--footer .et_pb_row,
  body footer.et-l--footer .et_pb_row_inner {
    width: 95% !important;
    max-width: 2200px !important;
  }



}



  /* Keep Fullwidth rows full width (body only) */
  body #et-boc .et-l--body .et_pb_row.et_pb_row_fullwidth,
  body #et-main-area .et_pb_row.et_pb_row_fullwidth,
  body #main-content .et_pb_row.et_pb_row_fullwidth {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* =========================================================
   DIVI 5 – GLOBAL DEFAULT BUTTON STYLES
   Applies to standard Divi button output site-wide
   Brand color: #F19D4B
   ========================================================= */

/* Core button targets (covers most Divi modules + links styled as buttons) */
body #page-container a.et_pb_button,
body #page-container .et_pb_button,
body #page-container .et_pb_button_wrapper a,
body #page-container .et_pb_module .et_pb_button,
body #page-container .et_pb_promo_button,
body #page-container .et_pb_button_module_wrapper a.et_pb_button {
  background-color: #F19D4B;
  border-color: #F19D4B;
  border-width: 0px;
  border-style: solid;

  border-radius: 8px;

  font-style: normal;
  font-variant: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0;

  font-size: 19px;
  line-height: 1.2;

  /* Reasonable defaults; adjust if your design system differs */
  padding: 0.75em 1.25em;

  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}


/* Divi blog/post header background override */
.et_post_meta_wrapper,
.et_post_meta_wrapper .et_pb_post,
.et_post_title,
.et_post_title_container,
.et_pb_post_title,
.single-post .et_pb_title_container,
.single-post .et_pb_title,
.single-post .et_pb_title_container h1 {
    background-color: #171717 !important;
}

/* Container above featured image */
.et_post_meta_wrapper > img,
.et_post_meta_wrapper .et_pb_image_container {
    background-color: #171717 !important;
}

/* Remove white gap above/below title or image */
.single-post #main-content,
.single-post .container,
.single-post .et_pb_row,
.single-post .et_pb_section {
    background-color: #171717 !important;
}

/* BLOG HEADER: Max width + centered */
.single-post .et_post_meta_wrapper {
    max-width: 1900px!important;
    margin: 0 auto; /* center it */
    padding-top: 20px !important; /* reduce space above */
}

/* Reduce top margin on the h1 title */
.single-post .et_post_meta_wrapper h1 {
    margin-top: 10px !important;
}

/* Ensure the featured image also respects the max-width */
.single-post .et_post_meta_wrapper img {
    display: block;
    max-width: 100%!important;
    margin: 0 auto;
}

/* Optional: tighten the space below the image */
.single-post .et_post_meta_wrapper .et_pb_image_container,
.single-post .et_post_meta_wrapper > img {
    margin-bottom: 10px !important;
}

#left-area .post-meta a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 15px;
}


h1 {
  color:#ffffff;
}
h2, h3, h4, h5, h6 {
  color: #f19d4b!important;
}


.fluentform .ff-el-form-check-input {
    border-color: #F19D4B !important;
}

.fluentform input[type="checkbox"]:checked {
    background-color: white !important; /* White background */
    border-color: white !important;     /* White border */
}

form.fluent_form_8 .ff-btn-save-progress {
    background-color: #f19d4b;
    color: rgb(255, 255, 255);
}

/* X icon in expanded mobile menu */
.mobile_nav.opened .mobile_menu_bar:before {
content: '\4d';
}

/* Make mobile menu fullwidth */
.et_mobile_menu {
min-width: 100vw;
margin-left: -10vw;
}

/* Make the mobile menu full height */
.et_mobile_menu {
min-height:100vh !important;
min-height: -webkit-fill-available;
padding-top:50px !important;
}
html {
height: -webkit-fill-available;
}
/* Remove the animation to avoid delay */
.mobile_nav.opened .et_mobile_menu {
display:block !important;
}
#mobile_menu li:not([id]) { 
	display:none !important; 
}



/* Hide submenu by default */
#main-header .et_mobile_menu li ul,
.et-db .et-l .et_pb_menu .et_mobile_menu ul.sub-menu,
.et-db .et-l .et_pb_fullwidth_menu .et_mobile_menu ul.sub-menu,
.et-db #et-boc .et-l .et_pb_menu .et_mobile_menu ul.sub-menu,
.et-db #et-boc .et-l .et_pb_fullwidth_menu .et_mobile_menu ul.sub-menu {
    display: none !important;
    visibility: hidden !important;
}

/* Show submenu */
#main-header .et_mobile_menu .visible > ul.sub-menu,
.et-db .et-l .et_pb_menu .et_mobile_menu .visible > ul.sub-menu,
.et-db .et-l .et_pb_fullwidth_menu .et_mobile_menu .visible > ul.sub-menu,
.et-db #et-boc .et-l .et_pb_menu .et_mobile_menu .visible > ul.sub-menu,
.et-db #et-boc .et-l .et_pb_fullwidth_menu .et_mobile_menu .visible > ul.sub-menu {
    display: block !important;
    visibility: visible !important;
}

/* Parent menu item */
.et_mobile_menu .menu-item-has-children.clickable,
.et_mobile_menu .menu-item-has-children > a {
    position: relative;
}

/* Parent menu item icon */
.et_mobile_menu .menu-item-has-children:not(.clickable) > a:after,
.et_mobile_menu .menu-item-has-children.clickable > span.parent_icon:after {
    font-family: "ETmodules";
    text-align: center;
    speak: none;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

/* Non-clickable parent menu item icon positioning */
.et_mobile_menu .menu-item-has-children:not(.clickable) > a:after {
    position: absolute;
    top: 13px;
    right: 10px;
}

/* Clickable parent menu item icon */
.et_mobile_menu .menu-item-has-children.clickable > span.parent_icon {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    align-items: center;
    position: absolute;
    width: 46px;
    height: 46px;
    background: rgba(0, 0, 0, 0);
    border-left: 1px solid #f19d4b;;
    right: 0;
    top: 0;
    z-index: 9;
}

@media (max-width: 980px) {
  /* Move the dropdown panel down */
  .mobile_nav.opened .et_mobile_menu {
    top: 175% !important; /* adjust */
  }
}

.et-menu li li a {
  line-height: 1.4em !important; /* Adjust the value as needed */
}





/* Allow mega menu dropdowns to extend outside the header */
.et-l--header,
.et-l--header .et_pb_section,
.et-l--header .et_pb_row,
.et-l--header .et_pb_column,
.et-l--header .et_pb_module,
.et_pb_sticky,
.et_pb_sticky .et_pb_section,
.et_pb_sticky .et_pb_row,
.et_pb_sticky .et_pb_column {
  overflow: visible !important;
}

/* Max Mega Menu: ensure dropdowns render above other content */
.mega-menu-wrap,
.mega-menu-wrap .mega-menu,
.mega-menu-wrap .mega-sub-menu {
  z-index: 99999 !important;
}

@media (min-width: 981px) {

  /* If margins don’t apply due to inline/flex rules, use padding on the link instead */
  .mega-menu-wrap .mega-menu > li.mega-menu-item > a.mega-menu-link {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* Submenu links that wrap: tighten vertical rhythm */
  .mega-menu-wrap .mega-sub-menu a.mega-menu-link {
    line-height: 1.15 !important;      /* adjust (1.1–1.25 is typical) */
    padding-top: 6px !important;       /* adjust */
    padding-bottom: 6px !important;    /* adjust */
    white-space: normal !important;    /* allow wrapping if you want wrapping */
  }
}

blockquote {
    border-color: #f19d4b !important;
}

.et_pb_sticky {
    transition: none !important;
}

#sidebar{display: none;}
#left-area{width: 100%;}
#left-area{padding:0  !important;}
#main-content .container:before {
width: 0;
}

@media (min-width: 981px) {
  body #et-main-area .et_pb_row.alpha-row-full {
    width: 100% !important;
    max-width: 100% !important;
  }

}

/* Reduce chance of icon glyphs being copied as text */
.et_pb_blurb .et-pb-icon {
  -webkit-user-select: none;
  user-select: none;
}


/* Global Divi button defaults */
body #page-container a.et_pb_button,
body #page-container .et_pb_button,
body #page-container a[class*="et_pb_button_"] {
  background: #f19d4b !important;
  border: 2px solid #f19d4b !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}

/* Hover: show white right-arrow */
body #page-container a.et_pb_button:hover,
body #page-container .et_pb_button:hover,
body #page-container a[class*="et_pb_button_"]:hover {
  background: #f19d4b !important;
  border-color: #f19d4b !important;
  color: #ffffff !important;
}

/* Default: no arrow */
body #page-container a.et_pb_button:after,
body #page-container .et_pb_button:after,
body #page-container a[class*="et_pb_button_"]:after {
  content: "" !important;
  display: none !important;
}

/* Hover: arrow appears */
body #page-container a.et_pb_button:hover:after,
body #page-container .et_pb_button:hover:after,
body #page-container a[class*="et_pb_button_"]:hover:after {
  content: ">" !important;
  display: inline-block !important;
  margin-left: 10px !important;
  color: #ffffff !important;
  font-size: 1em !important;
  line-height: 1 !important;
}

