/*
Theme Name: Divi Child
Theme URI: https://diviextended.com/
Version: 1.0
Description: Child Theme of Divi
Author: Divi Extended
Template: Divi
*/
@import url("../Divi/style.css");


/* Ensure full-height layout */
html, body {
  height: 100%;
}

/* Prevent Divi wrappers collapsing around dynamic shortcode content */
body.page-id-89650 #et-main-area,
body.page-id-89650 #main-content,
body.page-id-89650 #main-content article,
body.page-id-89650 #main-content .entry-content,
body.page-id-89650 #main-content .et-l--post,
body.page-id-89650 #main-content .et_builder_inner_content,
body.page-id-89650 #main-content .et_pb_section,
body.page-id-89650 #main-content .et_pb_row,
body.page-id-89650 #main-content .et_pb_column,
body.page-id-89650 #main-content .et_pb_code,
body.page-id-89650 #main-content .et_pb_code_inner,
body.page-id-89650 .bif-interment-search {
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	overflow: visible !important;
}

body.page-id-89650 #main-content::after,
body.page-id-89650 #main-content article::after,
body.page-id-89650 #main-content .entry-content::after,
body.page-id-89650 #main-content .et-l--post::after,
body.page-id-89650 #main-content .et_builder_inner_content::after,
body.page-id-89650 #main-content .et_pb_section::after,
body.page-id-89650 #main-content .et_pb_row::after,
body.page-id-89650 #main-content .et_pb_column::after,
body.page-id-89650 #main-content .et_pb_code::after,
body.page-id-89650 #main-content .et_pb_code_inner::after,
body.page-id-89650 .bif-interment-search::after,
body.page-id-89650 .bif-interment-results-wrap::after {
	content: "";
	display: table;
	clear: both;
}

/* Main page wrapper */
#page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Main content area */
#et-main-area {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

/* Actual content should expand */
#main-content {
  flex: 1 0 auto;
}

/* Footer stays at bottom */
#main-footer {
  flex-shrink: 0;
}

/* Footer anchored to bottom */
.et-l--footer {
	flex-shrink: 0;
}

/* Make Thickbox responsive using viewport units */
#TB_window {
    width: 90vw !important;
	height:auto;
    max-height: 90vh !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    margin-left: -45vw !important;
    margin-top: -45vh !important;
	padding:10px;
}

#TB_window img#TB_Image {
    max-width: 90% !important;
    max-height: 90% !important;
	margin:auto !important;
}

/* Ensure iframe fills the window */
#TB_iframeContent {
    width: 100% !important;
    height: 100% !important;
}

/* Optional: hide default fixed sizing */
#TB_title {
    max-width: 100%;
}