#ipsLayout_body {
	z-index: 1000;
	margin: 0 auto;
	/*margin-top: 20px;*/
}

#ipsLayout_header {
	position: relative;
}

#ipsLayout_contentArea {
	display: table;
	width: 100%;
	border: 1px solid rgba(0,0,0,0.05);
	border-top: 0;
}

#ipsLayout_contentWrapper {
	width: 100%;
}

#ipsLayout_mainArea, #ipsLayout_sidebar {
	background: #fff;
	display: table-cell;
	height: 100%;
	vertical-align: top;
	{prefix="box-sizing" value="border-box"}
}

	#ipsLayout_mainArea:only-child {
		display: block;
	}

#ipsLayout_mainArea {
	width: 100%;
	min-height: 350px;
	padding: 15px;
}

#ipsLayout_sidebar {
	min-width: 300px;
	max-width: 300px;
	padding: 15px 15px 15px 0;
	overflow: hidden;
	border-radius: 0;
}
html[dir="rtl"] #ipsLayout_sidebar {
	padding: 15px 0px 15px 15px;
}
	
	body:not( .cWidgetsManaging ) #ipsLayout_sidebar.ipsLayout_sidebarUnused,
	body.ipsLayout_sidebarUnused:not( .cWidgetsManaging ) #ipsLayout_sidebar {
		min-width: 1px;
		width: 0;
		padding: 0 !important;
	}

	#ipsLayout_contentWrapper #ipsLayout_sidebar:first-child {
		padding: 15px 15px 15px 15px;
	}
	
#elContextualTools {
	padding: 15px 15px 30px 15px;
	margin: -15px -15px 10px -15px;
	{prefix="transition" value="box-shadow 0.3s linear"}
}

	#elContextualTools.ipsSticky {
		margin-top: 0;
		padding: 15px;
	}

#ipsLayout_footer {
	margin: 20px 0;
}

	#ipsLayout_footer p {
		margin: 0;
	}

		#ipsLayout_footer a, #ipsLayout_footer p {
			font-size: 14px;
			color: #333;
			/*text-shadow: 0px 1px 0px rgba(255,255,255,0.7);*/
			text-decoration: none;
		}

		#ipsLayout_footer #elCopyright {
			opacity: 0.6;
			font-size: 12px;
			margin-top: 5px;
			text-align: center; 
		}
		#elCopyright_userLine {
			display: block;
		}

.ipsLayout_container {
	{{if theme.enable_fluid_width}}
		{{if theme.fluid_width_size}}
			max-width: {theme="fluid_width_size"}%;
		{{else}}
			max-width: 100%;
		{{endif}}
	{{else}}
		max-width: 1340px;
	{{endif}}
	padding: 0 15px;
	margin: 0 auto;
	position: relative;
}

/* SIMPLIFIED WRAPPER */
.ipsLayout_minimal #ipsLayout_header #elUserNav,
.ipsLayout_minimal #elSearch,
.ipsLayout_minimal #ipsLayout_mainNav li,
.ipsLayout_minimal #elHeaderNavigation,
.ipsLayout_minimal #elFooterNavigation,
.ipsLayout_minimal #elMobileNav {
	display: none !important;
}

.ipsLayout_minimal:not(.ipsLayout_minimalNoHome) #ipsLayout_mainNav li.cCommunityHome {
	display: block !important;
}

.ipsLayout_minimal .ipsLayout_container {
	max-width: 1000px;
}

/* SPACER STYLES */
.ipsApp .ipsSpacer_top, .ipsApp .ipsSpacer_both {
	margin-top: 15px;
}

	.ipsApp .ipsSpacer_top.ipsSpacer_double, .ipsApp .ipsSpacer_both.ipsSpacer_double {
		margin-top: 30px;
	}

	.ipsApp .ipsSpacer_top.ipsSpacer_half, .ipsApp .ipsSpacer_both.ipsSpacer_half {
		margin-top: 7px;
	}

.ipsApp .ipsSpacer_bottom, .ipsApp .ipsSpacer_both {
	margin-bottom: 15px;
}
	
	.ipsApp .ipsSpacer_bottom.ipsSpacer_double, .ipsApp .ipsSpacer_both.ipsSpacer_double {
		margin-bottom: 30px;
	}

	.ipsApp .ipsSpacer_bottom.ipsSpacer_half, .ipsApp .ipsSpacer_both.ipsSpacer_half {
		margin-bottom: 7px;
	}

/* Fixed column sizing */
.ipsColumns {
	width: 100%;
	display: table;
	table-layout: fixed;
	border-collapse: collapse;
	border-spacing: 0;
}

	.ipsColumns.ipsColumns_horizontalSpacing, 
	.ipsColumns.ipsColumns_verticalSpacing,
	.ipsColumns.ipsColumns_bothSpacing,
	.ipsColumns.ipsColumns_noSpacing {
		border-collapse: separate;
	}

	.ipsColumns.ipsColumns_horizontalSpacing {
		border-spacing: 15px 0;
	}

		.ipsColumns.ipsColumns_horizontalSpacing.ipsColumns_halfSpacing {
			border-spacing: 7px 0;
		}

	.ipsColumns.ipsColumns_verticalSpacing {
		border-spacing: 0 15px;
	}

		.ipsColumns.ipsColumns_verticalSpacing.ipsColumns_halfSpacing {
			border-spacing: 0 7px;
		}

	.ipsColumns.ipsColumns_bothSpacing {
		border-spacing: 15px;
	}	

		.ipsColumns.ipsColumns_bothSpacing.ipsColumns_halfSpacing {
			border-spacing: 7px;
		}	

html[dir="ltr"] .ipsColumns > .ipsColumn:first-child:not( .ipsPad ),
html[dir="ltr"] .ipsColumns.ipsColumns_noSpacing > .ipsColumn:not( .ipsPad ) {
	padding-left: 0;
}

html[dir="ltr"] .ipsColumns > .ipsColumn:last-child:not( .ipsPad ),
html[dir="ltr"] .ipsColumns.ipsColumns_noSpacing > .ipsColumn:not( .ipsPad ) {
	padding-right: 0;
}

html[dir="rtl"] .ipsColumns > .ipsColumn:first-child:not( .ipsPad ),
html[dir="rtl"] .ipsColumns.ipsColumns_noSpacing > .ipsColumn:not( .ipsPad ) {
	padding-right: 0;
}

html[dir="rtl"] .ipsColumns > .ipsColumn:last-child:not( .ipsPad ),
html[dir="rtl"] .ipsColumns.ipsColumns_noSpacing > .ipsColumn:not( .ipsPad ) {
	padding-left: 0;
}

.ipsColumn {
	display: table-cell;
	position: relative;
	vertical-align: top;
	padding: 0 7px;
}

.ipsColumn_veryNarrow {
	width: 50px;
}

.ipsColumn_narrow {
	width: 120px;
}

.ipsColumn_medium {
	width: 200px;
}

.ipsColumn_wide {
	width: 280px;
}

.ipsColumn_veryWide {
	width: 360px;
}

.ipsColumn_fluid {
	width: 100%;
}

/*.ipsColumn_filterBar {
	position: absolute;
	left: 0;
	width: 350px;
	height: 100%;
	z-index: 5000;
}*/

.ipsFilter_layout {
	position: absolute !important;
	max-width: 100%;
}

/* The following grid styles renamed from Bootstrap */
/**
 * Bootstrap v2.2.2
 *
 * Copyright 2012 Twitter, Inc
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Designed and built with all the love in the world @twitter by @mdo and @fat.
 */
ul.ipsGrid, ol.ipsGrid {
	padding: 0;
	margin: 0;
}

.ipsGrid:before,
.ipsGrid:after {
	display: table;
	content: "";
	line-height: 0;
}

.ipsGrid:after {
	clear: both;
}

.ipsGrid > [class*="ipsGrid_span"] {
	display: block;
	width: 100%;
	min-height: 30px;
	{prefix="box-sizing" value="border-box"}
}
html[dir="ltr"] .ipsGrid > [class*="ipsGrid_span"] {
	float: left;
	margin-left: 2.127659574468085%;
}
html[dir="rtl"] .ipsGrid > [class*="ipsGrid_span"] {
	float: right;
	margin-right: 2.127659574468085%;
}

html[dir="ltr"] .ipsGrid > [class*="ipsGrid_span"]:first-child {
	margin-left: 0;
}
html[dir="rtl"] .ipsGrid > [class*="ipsGrid_span"]:first-child {
	margin-right: 0;
}

html[dir="ltr"] .ipsGrid .controls-row [class*="ipsGrid_span"] + [class*="ipsGrid_span"] {
	margin-left: 2.127659574468085%;
}
html[dir="rtl"] .ipsGrid .controls-row [class*="ipsGrid_span"] + [class*="ipsGrid_span"] {
	margin-right: 2.127659574468085%;
}

.ipsApp .ipsGrid > .ipsGrid_span12 { width: 100%; }
.ipsApp .ipsGrid > .ipsGrid_span11 { width: 91.48936170212765%; }
.ipsApp .ipsGrid > .ipsGrid_span10 { width: 82.97872340425532%; }
.ipsApp .ipsGrid > .ipsGrid_span9 { width: 74.46808510638297%; }
.ipsApp .ipsGrid > .ipsGrid_span8 { width: 65.95744680851064%; }
.ipsApp .ipsGrid > .ipsGrid_span7 { width: 57.44680851063829%; }
.ipsApp .ipsGrid > .ipsGrid_span6 { width: 48.93617021276595%; }
.ipsApp .ipsGrid > .ipsGrid_span5 { width: 40.42553191489362%; }
.ipsApp .ipsGrid > .ipsGrid_span4 { width: 31.914893617021278%; }
.ipsApp .ipsGrid > .ipsGrid_span3 { width: 23.404255319148934%; }
.ipsApp .ipsGrid > .ipsGrid_span2 { width: 14.893617021276595%; }
.ipsApp .ipsGrid > .ipsGrid_span1 { width: 6.382978723404255%; }

/* End Bootstrap */

/* Additional styles that save us from having to open a new 'row' (only for spans that 12 is divisible by)
   Instead, we can just build a long list of items with grid classes, and the margin will work properly */

ol.ipsGrid > li, ul.ipsGrid > li {
	margin-bottom: 15px;
}

html[dir="ltr"] .ipsGrid_span12:nth-child( 1n ),
html[dir="ltr"] .ipsGrid_span12 + [class*="ipsGrid_span"],
html[dir="ltr"] .ipsGrid_span6:nth-child( odd ), 
html[dir="ltr"] .ipsGrid_span4:nth-child( 3n+1 ),
html[dir="ltr"] .ipsGrid_span3:nth-child( 4n+1 ),
html[dir="ltr"] .ipsGrid_span2:nth-child( 6n+1 ),
html[dir="ltr"] .ipsGrid_span1:nth-child( 12n+1 ) {
	margin-left: 0;
}
html[dir="rtl"] .ipsGrid_span12:nth-child( 1n ),
html[dir="rtl"] .ipsGrid_span12 + [class*="ipsGrid_span"],
html[dir="rtl"] .ipsGrid_span6:nth-child( odd ), 
html[dir="rtl"] .ipsGrid_span4:nth-child( 3n+1 ),
html[dir="rtl"] .ipsGrid_span3:nth-child( 4n+1 ),
html[dir="rtl"] .ipsGrid_span2:nth-child( 6n+1 ),
html[dir="rtl"] .ipsGrid_span1:nth-child( 12n+1 ) {
	margin-right: 0;
}

/* Patchwork styles */
.ipsPatchwork > li {
	margin-bottom: 0 !important;
}

.ipsGrid > li [data-role="patchworkItem"] + [data-role="patchworkItem"] {
	margin-top: 15px;
}