/* ============================================================
   Responsive Override — loaded AFTER common_layout.css & dashboard.css
   Splits header from content; widens content area.
   ============================================================ */

/* --- Header wrapper: shrink to content height (was height:100% / min-height:100%) --- */
#header_body_bg,
#header_body_bg_pcg {
	height: auto;
}

#header_body_bg #body_wrapper_bg,
#header_body_bg_pcg #body_wrapper_bg {
	min-height: auto;
}

#wrapper {
	min-height: auto;
}

#header,
#header-pcg {
	height: auto;
}

/* --- Content area: full-width, gray striped background on sides --- */
#content-area {
	background-image: url("../img/terminus/body_wrapper_bg.png");
	background-position: center top;
	background-repeat: repeat-y;
	width: 100%;
}

/* --- Content center: white background, wider than original 1000px --- */
#content-center {
	max-width: 1800px;
	width: 98%;
	margin: 0 auto;
	background: #fff;
	padding: 10px 20px 20px;
	box-sizing: border-box;
}

/* --- Breadcrumb: override fixed width from common_layout.css --- */
#content-center #header_nav {
	float: none;
	width: auto;
	min-width: 500px;
	margin-left: 0;
	margin-bottom: 10px;
}

/* --- Override fixed-width box images with CSS borders --- */
#box_h {
	background-image: none !important;
	border-top: 2px solid #6c9dc9;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-radius: 8px 8px 0 0;
	width: auto !important;
	height: auto;
	min-height: 10px;
}

#box_c {
	background-image: none !important;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	width: auto !important;
}

#box_f {
	background-image: none !important;
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-radius: 0 0 8px 8px;
	width: auto !important;
	height: auto;
	min-height: 10px;
}

/* --- Widen content areas --- */
#content1 {
	width: auto !important;
	max-width: 100%;
}

#box_c_content {
	width: auto !important;
	max-width: 100%;
}

/* --- jqGrid: fill available width --- */
.ui-jqgrid {
	max-width: 100% !important;
}

/* --- Footer: match content-area styling --- */
#footer {
	background-image: url("../img/terminus/body_wrapper_bg.png");
	background-position: center top;
	background-repeat: repeat-y;
}

#footer-main {
	width: 98% !important;
	max-width: 1800px;
	margin: 0 auto;
	background: #fff;
	padding: 0 20px;
	box-sizing: border-box;
}

#footer-content {
	width: auto !important;
	margin-left: 0;
	margin-right: 0;
	padding-top: 20px;
}
