/* -------------------------------- */
/* -------- EL-COLS DEFAULT ------- */
/* -------------------------------- */

.el-grid .bh-grid {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row nowrap;
	flex-flow: row nowrap;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	position: relative;
}
.el-grid.bh-margin-none {
	margin-bottom: 10px;
} 
/* ----- GRID AUFTEILUNG ----- */

.el-grid .bh-grid-2-3-9  .col1 {width: 25%} .el-grid .bh-grid-2-3-9  .col2 {width: 75%}
.el-grid .bh-grid-2-9-3 .col1 {width: 75%} .el-grid .bh-grid-2-9-3 .col2 {width: 25%}
.el-grid .bh-grid-2-6-6 .col1 {width: 50%} .el-grid .bh-grid-2-6-6 .col2 {width: 50%}

.el-grid .bh-grid-3-3-3-6 .col1 {width: 25%} .el-grid .bh-grid-3-3-3-6 .col2 {width: 25%} .el-grid .bh-grid-3-3-3-6 .col3 {width: 50%}
.el-grid .bh-grid-3-6-3-3 .col1 {width: 50%} .el-grid .bh-grid-3-6-3-3 .col2 {width: 25%} .el-grid .bh-grid-3-6-3-3 .col3 {width: 25%}
.el-grid .bh-grid-3-3-6-3 .col1 {width: 25%} .el-grid .bh-grid-3-3-6-3 .col2 {width: 50%} .el-grid .bh-grid-3-3-6-3 .col3 {width: 25%}
.el-grid .bh-grid-3-4-4-4 .col1 {width: calc(100% / 3)} .el-grid .bh-grid-3-4-4-4 .col2 {width: calc(100% / 3)} .el-grid .bh-grid-3-4-4-4 .col3 {width: calc(100% / 3)}

.el-grid .bh-grid-4-3-3-3-3 .col1 {width: 25%} .el-grid .bh-grid-4-3-3-3-3 .col2 {width: 25%} .el-grid .bh-grid-4-3-3-3-3 .col3 {width: 25%} .el-grid .bh-grid-4-3-3-3-3 .col4 {width: 25%}

/* ABSTÄNDE */

.el-grid .bh-grid .bh-grid-col {
	margin-right: 10px;
}
#Footer .el-grid .bh-grid .bh-grid-col {
	margin-right: 20px;
}
.el-grid .bh-grid .bh-grid-col:last-child,
#Footer .el-grid .bh-grid .bh-grid-col:last-child {
	margin-right: 0px;
}
/* EINFÄRBUNG WENN LEER */
.el-grid .bh-grid .bh-grid-col:nth-child(even) > .bhContainer.bhe-state-content-empty {
	background-color: rgba(209, 9, 16, 0.2);
}
.el-grid .bh-grid .bh-grid-col:nth-child(odd) > .bhContainer.bhe-state-content-empty {
	background-color: rgba(201, 245, 106, 0.2);
}

/* ----- BORDER ----- */

.el-grid.el-grid-border .bh-col {
	border-right: 1px solid rgba(0,0,0,.1);
	padding-bottom: 30px;
	padding-top: 30px;
}
.el-grid.el-grid-border .bh-col .bhElement:last-child {
	margin-bottom: 0 !important;
}
.el-grid.el-grid-border .bh-cols {
	display: flex;
}
.el-grid.el-grid-border .bh-col:last-child {
	border-right: none;
}
.el-grid.el-grid-border + .el-grid.el-grid-border {
	border-top: 1px solid rgba(0,0,0,.1);
}


/*---- ELEMENTE IM GRID ----*/

.el-grid .bhElement {
	max-width: none !important;
}

/* ----- MEDIAQUERIES ----- */

@media screen
	and (max-width : 960px) {
		
		.el-grid.bhElement.el-grid-smalldisplay {
			max-width: 650px;
		}
		.el-grid.bhElement.el-grid-smalldisplay .bh-col {
			width: 100%;
			margin-bottom: 10px;
		}
		.el-grid.el-grid-border.el-grid-smalldisplay .bh-col {
			border: none;
		}
}
@media only screen and (max-width: 1200px) {
	.el-grid .bh-grid.bh-grid-4-3-3-3-3 {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-ms-flex-flow: row wrap;
		flex-flow: row wrap;
	}
	.el-grid .bh-grid-4-3-3-3-3 .col1,
	.el-grid .bh-grid-4-3-3-3-3 .col3 {
		width: calc(50% - 5px);
		margin-right: 5px;
		margin-left: 0px;
		margin-bottom: 10px;
	} 
	.el-grid .bh-grid-4-3-3-3-3 .col2,
	.el-grid .bh-grid-4-3-3-3-3 .col4 {
		width: calc(50% - 5px);
		margin-left: 5px;
		margin-right: 0px;
		margin-bottom: 10px;
	}
}

@media only screen and (max-width: 1200px) {
	.el-grid .bh-grid.bh-grid-3-3-6-3,
	.el-grid .bh-grid.bh-grid-3-6-3-3 {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-ms-flex-flow: row wrap;
		flex-flow: row wrap;
	}
	.el-grid .bh-grid-3-3-3-6 .col1 {
		width: calc(50% - 5px);
		margin-right: 5px;
		margin-bottom: 10px;
	} 
	.el-grid .bh-grid-3-3-3-6 .col2 {
		width: calc(50% - 5px);
		margin-left: 5px;
		margin-right: 0px;
		margin-bottom: 10px;
	} 
	.el-grid .bh-grid-3-3-3-6 .col3 {
		width: 100%;
	}
	.el-grid .bh-grid-3-6-3-3 .col1 {
		width: 100%;
		margin-right: 0px;
		margin-bottom: 10px;
	} 
	.el-grid .bh-grid-3-6-3-3 .col2 {
		width: calc(50% - 5px);
		margin-right: 5px;
	} 
	.el-grid .bh-grid-3-6-3-3 .col3 {
		width: calc(50% - 5px);
		margin-left: 5px;
		margin-right: 0px;
	}
	
	.el-grid .bh-grid-3-3-6-3 .col1 {
		width: calc(50% - 5px);
		margin-right: 5px;
		-webkit-box-ordinal-group: 2;
		-ms-flex-order: 1;
		order: 1;
		margin-bottom: 10px;
	}
	.el-grid .bh-grid-3-3-6-3 .col2 {
		width: 100%;
		margin-right: 0px;	
		-webkit-box-ordinal-group: 4;
		-ms-flex-order: 3;
		order: 3;
	} 
	.el-grid .bh-grid-3-3-6-3 .col3 {
		width: calc(50% - 5px);
		-webkit-box-ordinal-group: 3;
		-ms-flex-order: 2;
		order: 2;
		margin-left: 5px;
		margin-bottom: 10px;
		box-sizing: border-box;
	}
/*
	.el-grid .bh-grid-3-4-4-4 .col1 {
		width: calc(50% - 1.5px);
	} 
	.el-grid .bh-grid-3-4-4-4 .col2 {
		width: calc(50% - 1.5px);
	} 
	.el-grid .bh-grid-3-4-4-4 .col3 {
		width: calc(100% / 3)
	}
*/
	
}

@media only screen and (max-width:1024px) {
	#FooterTop .el-grid .bh-grid-3-4-4-4 .bh-grid-col {
		margin-right: 0px;
	}
}

/* ----- BAKEHOUSE SETTINGS STYLES ----- */

#bhe-pane .bhe-formsettings-option.bhColsStyle.bhGrid input[type="radio"] {
	width: 46px;
	height: 46px;
	background-color: rgba(255,255,255,.2);
	margin: 3px;
	float: left;
	background-position: center center;
	background-size: 30px;
	background-repeat: no-repeat;
}
#bhe-pane .bhe-formsettings-option.bhColsStyle.bhGrid input[type="radio"]:checked {
	background-color: #CAF56B;
	box-shadow: none;
}
#bhe-pane .bhe-formsettings-option.bhColsStyle.bhGrid .bhColsStyleGroup {
	display: block;
	height: 56px;
	width: 208px;
	margin-left: 100px;
	float: right;
}

#bhe-pane .bhe-formsettings-option.bhColsStyle.bhGrid input[value="bh-grid-2-6-6"] { background-image: url(settings-icons/grid2-6-6.svg); }
#bhe-pane .bhe-formsettings-option.bhColsStyle.bhGrid input[value="bh-grid-2-3-9"] { background-image: url(settings-icons/grid2-3-9.svg); }
#bhe-pane .bhe-formsettings-option.bhColsStyle.bhGrid input[value="bh-grid-2-9-3"] { background-image: url(settings-icons/grid2-9-3.svg); }
#bhe-pane .bhe-formsettings-option.bhColsStyle.bhGrid input[value="bh-grid-3-4-4-4"] { background-image: url(settings-icons/grid3-4-4-4.svg); }
#bhe-pane .bhe-formsettings-option.bhColsStyle.bhGrid input[value="bh-grid-3-3-6-3"] { background-image: url(settings-icons/grid3-3-6-3.svg); }
#bhe-pane .bhe-formsettings-option.bhColsStyle.bhGrid input[value="bh-grid-3-6-3-3"] { background-image: url(settings-icons/grid3-6-3-3.svg); }
#bhe-pane .bhe-formsettings-option.bhColsStyle.bhGrid input[value="bh-grid-3-3-3-6"] { background-image: url(settings-icons/grid3-3-3-6.svg); }
#bhe-pane .bhe-formsettings-option.bhColsStyle.bhGrid input[value="bh-grid-4-3-3-3-3"] { background-image: url(settings-icons/grid4-3-3-3-3.svg); }