/* General styles */
body, html, #body-wrapper, .main-page, .colmask, .inline-regions {
	width: 100%;
}

body {	
	min-width: 320px;
}

body, #body-wrapper, #middle-wrapper {
	margin: 0 auto;
}

#body-wrapper {
	overflow: hidden;		/* This chops off any overhanging divs */
}

/*#middle-wrapper, .main-page {
	overflow: visible;
}*/

/* column container */
.colmask {
	clear: both;
  margin: 0 auto;
}

.main-page {
	min-height: 600px;
}

/* common column settings */
.col-center, .col-left {
	float: left;
}
.col-right {
	float: right;
}

.col2, .col3 {
	position: relative;
}

/* 3 Column settings */
.col-left, .col-right { /* first / right sidebar */
	width: 21%;
}

.col-center { /* content column */
	width: 57%;
}

/*NO Right column:*/
body.one-sidebar.sidebar-first .col-right,
/*NO Left column:*/
body.one-sidebar.sidebar-second .col-left
/*NO columns*/
body.no-sidebars .col-left, body.no-sidebars .col-right {
  width: 0%;
}

body.no-sidebars .col-center {
  width: 100%;
}
	

.footer-top, .footer-bottom, .headers-region {
	clear: both;
	width: 100%;
}

.main-content .block {
	margin-left: 0;
	margin-right: 0;
}

.inline-regions tr.even, .inline-regions tr.odd, .inline-regions tbody, .inline-regions td {
	background-color: transparent;
}

.inline-regions, .blocks-unit {
	display: table;
	border-spacing: 0;
}

.inline-regions {
	margin: 0 auto !important;
	clear: both;
}

.blocks-unit {
	margin: 0 auto;
	width: auto;
}

.header-bottom .blocks-unit {
	width: 100%;
}

.region-row, .blocks-unit>.region {
	display: table-row;
}

.region-cell, .block-cell {
	display: table-cell;
}

.region-cell.element-hidden {
  display: none;  
}

.region-cell.first.last .blocks-unit {
	width: 100%;
}

.inline-regions .block-cell, .inline-regions  .region-cell {
	vertical-align: top; 
}

.header-top .block-cell, .header-top .region-cell,
.header-middle .block-cell, .header-middle .region-cell,
.top .region-cell, .top .block-cell {
	vertical-align: middle;
}

.signatures .region-cell, .signatures .block-cell,
.page-before .region-cell, .page-before .block-cell {
	vertical-align: bottom;
}

.region-cell.first .blocks-unit {
	margin-left: 0;
}
.region-cell.last .blocks-unit {
	margin-right: 0;
}
.region-cell.first.last .blocks-unit {
	margin: 0;
}
