/* ----------------------------- */
/* --------- KID A GRID -------- */
/* ----------------------------- */
/* ----- VON JULIA EDITION ----- */
/* ----------------------------- */

/* ----- VISIBILITY ----- */

.bh-state-desktop .bh-hide-desktop,
.bh-state-mobile .bh-hide-mobile {
	display: none !important;
}

/* ----- HIDE (EXPERIMENTAL)  ----- */

.bh-hide		{ display: none; }
.bh-show		{ display: block; }

/* MEDIUM */

@media only screen and (max-width : 1024px) {
	.bh-hide-md	{ display: none; }
	.bh-show-md	{ display: block; }
}

/* SMALL */

@media only screen and (max-width : 480px) {
	.bh-hide-sm	{ display: none; }
	.bh-show-sm	{ display: block; }
}

/* ----- BHELEMENT  ----- */

.bhElement {
/* 	box-sizing: border-box; */
	box-sizing: content-box;
}

/* ----- TOOLBAR  ----- */

.bhCols > .bhe-element-toolbar,
.bhLayout > .bhe-element-toolbar,
.bhScrollbox > .bhe-element-toolbar {
	background-image: url(/typo3/sysext/bh/Resources/Public/Images/bg-emptycontent.png);
}

/* ----- CLEARFIX  ----- */

.bh-clearfix:before,
.bh-clearfix:after { 
	visibility: hidden; 
	display: block; 
	font-size: 0; 
	content: "."; 
	clear: both; 
	height: 0; 
}
.bh-clearfix { 
	display: block; 
}

/* ----- CENTERED  ----- */

.bh-centered,
.bh-centered-content .bhElement {
    margin-left: auto;
    margin-right: auto;
    max-width: 960px;
}

/* FIX FÜR FADER MIT SLIDE-EFFECT */
.bhFader .bhContainer > .bhElement.bh-centered {
	margin-left: 0 !important; 
	margin-right: 0 !important;
}

.bh-centered.bh-width-xxsmall	{ max-width: 480px; }
.bh-centered.bh-width-xsmall	{ max-width: 660px; }
.bh-centered.bh-width-small		{ max-width: 760px; }
.bh-centered.bh-width-normal	{ max-width: 960px; }
.bh-centered.bh-width-medium	{ max-width: 1100px; }
.bh-centered.bh-width-slarge	{ max-width: 1240px; }
.bh-centered.bh-width-large		{ max-width: 1440px; }
.bh-centered.bh-width-full		{ max-width: 1920px; }
.bh-centered.bh-width-max		{ width: calc(100% + 60px); max-width: calc(100% + 60px); margin-left: -30px; }

/* ----- MARGIN  ----- */

/* LOGGED IN */

.bh-bemode .bhContainer .bhElement:nth-last-child(+1),
.bh-bemode.bhe-state-editing .bhContainer .bhElement:nth-last-child(+2),

/* LAST CHILD */

.bhContainer .bhElement:last-child,
.bh-bodytext > *:last-child,
.bhTabElement,
.bhFadecontainer > .bhContainer > .bhElement,

/* EMPTY DROPZONES */

.bhe-state-content-empty, .bhe-state-dragging .bhe-state-content-inherited {
	margin-bottom: 0px !important;
}

.bh-bodytext > *				{ margin-bottom: 25px; }
.bh-margin						{ margin-bottom: 60px; }
.bh-margin-none					{ margin-bottom: 0px !important; }
.bh-margin-xsmall				{ margin-bottom: 18px !important; }
.bh-margin-small				{ margin-bottom: 30px !important; }
.bh-margin-normal				{ margin-bottom: 60px !important; }
.bh-margin-large				{ margin-bottom: 90px !important; }
.bh-margin-xlarge				{ margin-bottom: 120px !important; }

/* MEDIUM */

@media only screen and (max-width : 1024px) {
	.bh-margin-md				{ margin-bottom: 60px; }
	.bh-margin-md-none			{ margin-bottom: 0px; }
	.bh-margin-md-small			{ margin-bottom: 30px; }
	.bh-margin-md-normal		{ margin-bottom: 60px; }
	.bh-margin-md-subsection	{ margin-top: 90px; margin-bottom: 90px; }
	.bh-margin-md-section		{ margin-bottom: 120px; }
}

/* SMALL */

@media only screen and (max-width : 480px) {
	.bh-margin,
	.bh-margin-small,
	.bh-margin-normal,
	.bh-margin-subsection,
	.bh-margin-section			{ margin-bottom: 15px !important; }
}

/* ----- PADDING  ----- */

.bh-padding,
.bh-padding-normal				{ padding: 60px; }
.bh-padding-none				{ padding: 0px; }
.bh-padding-small				{ padding: 30px; }
.bh-padding-large				{ padding: 90px; }
.bh-padding-xlarge				{ padding: 120px; }

.bh-padding-v,
.bh-padding-v-normal			{ padding-top: 60px; padding-bottom: 60px; }
.bh-padding-v-small				{ padding-top: 30px; padding-bottom: 30px; }
.bh-padding-v-large				{ padding-top: 90px; padding-bottom: 90px; }
.bh-padding-v-xlarge			{ padding-top: 120px; padding-bottom:120px; }

@media only screen and (max-width : 480px) {
	.bh-padding-v-normal		{ padding-top: 30px; padding-bottom: 30px; }
}

.bh-padding-h,
.bh-padding-h-normal			{ padding-left: 60px; padding-right: 60px; }
.bh-padding-h-small 			{ padding-left: 35px; padding-right: 35px; } /* OVERRIDE! */
.bh-padding-h-large				{ padding-left: 90px; padding-right: 90px; }
.bh-padding-h-xlarge			{ padding-left: 120px; padding-right: 120px; }

/* SMALL */

@media only screen and (max-width : 480px) {
	.bh-padding-h,
	.bh-padding-h-normal			{ padding-left: 30px; padding-right: 30px; }
	.bh-padding-h-small 			{ padding-left: 15px; padding-right: 15px; }
	.bh-padding-h-large				{ padding-left: 60px; padding-right: 60px; }
	.bh-padding-h-xlarge			{ padding-left: 90px; padding-right: 90px; }
}

/* ----- LAYOUT-ELEMENT  ----- */

.bhLayout.bh-inner-width-full {
	padding-left: 0px;
	padding-right: 0px;
}
.bhLayout.bh-inner-width-full > * > .bhBackgroundImage {
	padding-left: 30px;
	padding-right: 30px;
}
.bh-inner-width-max .bhElement,
.bh-inner-width-full .bhElement {
	max-width: none;
}
.bh-inner-width-full {
	padding-left: 30px;
	padding-right: 30px;
}

/* ----- ALIGNMENT  ----- */

.bh-pull-left		{ float: left; }
.bh-pull-right		{ float: right; }

/* ----- COLS  ----- */

.bh-cols > .bh-col,
.bhColcontainer > .bhCol {
	float: left;
	box-sizing: border-box;
	margin-left: 0px !important;
	margin-right: 0px !important;
}

/* ----- COLS GAPS  ----- */

/* NORMAL */

.bh-cols, .bhColcontainer 										{ margin-left: -20px; margin-right: -20px; }
.bh-col, .bhCol													{ padding-left: 20px; padding-right: 20px; }

/* LARGE */

.bh-cols.bh-col-gaps-large,
.bh-col-gaps-large > .bhElementInner > .bhColcontainer			{ margin-left: -50px; margin-right: -50px; }
.bh-col-gaps-large > .bh-col,
.bh-col-gaps-large > .bhElementInner > .bhColcontainer > .bhCol	{ padding-left: 50px; padding-right: 50px; }

/* NORMAL */

.bh-cols.bh-col-gaps-normal,
.bh-col-gaps-normal > .bhElementInner > .bhColcontainer			{ margin-left: -20px; margin-right: -20px; }
.bh-col-gaps-normal > .bh-col,
.bh-col-gaps-normal > .bhElementInner > .bhColcontainer > .bhCol	{ padding-left: 20px; padding-right: 20px; }

/* SMALL */

.bh-cols.bh-col-gaps-small,
.bh-col-gaps-small > .bhElementInner > .bhColcontainer			{ margin-left: -10px; margin-right: -10px; }
.bh-col-gaps-small > .bh-col,
.bh-col-gaps-small > .bhElementInner > .bhColcontainer > .bhCol	{ padding-left: 10px; padding-right: 10px; }

/* XSMALL */

.bh-cols.bh-col-gaps-xsmall,
.bh-col-gaps-xsmall > .bhElementInner > .bhColcontainer			{ margin-left: -5px; margin-right: -5px; }
.bh-col-gaps-xsmall > .bh-col,
.bh-col-gaps-xsmall > .bhElementInner > .bhColcontainer > .bhCol	{ padding-left: 5px; padding-right: 5px; }

/* NONE */

.bh-cols.bh-col-gaps-none,
.bh-col-gaps-none > .bhElementInner > .bhColcontainer			{ margin: 0px; }
.bh-col-gaps-none > .bh-col,
.bh-col-gaps-none > .bhElementInner > .bhColcontainer > .bhCol	{ padding: 0px; }

.bh-col-gaps-none .bhElement									{ margin-bottom: 0px !important; }

/* ----- COLS SIZE  ----- */

.bh-cols > .bh-col-1			{ width: 8.33333333%; }

.bh-cols > .bh-col-2,
.bh-cols-6 > .bh-col,
.cols6 > .bhCol					{ width: 16.66666%; }

/* gibts nur all-cols-fixed width */
.bh-cols-5 > .bh-col,
.cols5 > .bhCol					{ width: 20%; }

.bh-cols > .bh-col-3,
.bh-cols-4 > .bh-col,
.cols4 > .bhCol					{ width: 25%; }

.bh-cols > .bh-col-4,
.bh-cols-3 > .bh-col,
.cols3 > .bhCol					{ width: 33.33333%; }

.bh-cols > .bh-col-5			{ width: 41.6666666%; }

.bh-cols > .bh-col-6,
.bh-cols-2 > .bh-col,
.cols2 > .bhCol					{ width: 50%; }

.bh-cols > .bh-col-7			{ width: 58.33333333%; }

.bh-cols > .bh-col-8			{ width: 66.66666%; }

.bh-cols > .bh-col-9			{ width: 75%; }

.bh-cols > .bh-col-10			{ width: 83.33333333%; }

.bh-cols > .bh-col-11			{ width: 91.666666666%; }

.bh-cols > .bh-col-12			{ width: 100%; }

/* MEDIUM */

@media only screen and (max-width : 1024px) {
	
	.bh-cols > .bh-col-md-1		{ width: 8.33333333%; }
	
	.bh-cols > .bh-col-md-2,
	.bh-cols-md-6 > .bh-col		{ width: 16.66666%; }
	
	.bh-cols-md-5 > .bh-col		{ width: 20%; }
	
	.bh-cols > .bh-col-md-3,
	.bh-cols-md-4 > .bh-col		{ width: 25%; }
	
	.bh-cols > .bh-col-md-4,
	.bh-cols-md-3 > .bh-col		{ width: 33.33333%; }
	
	.bh-cols > .bh-col-md-5		{ width: 41.6666666%; }
	
	.bh-cols > .bh-col-md-6,
	.bh-cols-md-2 > .bh-col		{ width: 50%; }
	
	.bh-cols > .bh-col-md-7		{ width: 58.33333333%; }
	
	.bh-cols > .bh-col-md-8		{ width: 66.66666%; }
	
	.bh-cols > .bh-col-md-9		{ width: 75%; }
	
	.bh-cols > .bh-col-md-10	{ width: 83.33333333%;	}
	
	.bh-cols > .bh-col-md-11	{ width: 91.666666666%; }
	
	.bh-cols > .bh-col-md-12	{ width: 100%; }
}

/* SMALL */

@media only screen and (max-width : 480px) {
	
	.bh-cols > .bh-col-sm-1		{ width: 8.33333333%; }
	
	.bh-cols > .bh-col-sm-2,
	.bh-cols-sm-6 > .bh-col		{ width: 16.66666%; }
	
	.bh-cols-sm-5 > .bh-col		{ width: 20%; }
	
	.bh-cols > .bh-col-sm-3,
	.bh-cols-sm-4 > .bh-col		{ width: 25%; }
	
	.bh-cols > .bh-col-sm-4,
	.bh-cols-sm-3 > .bh-col		{ width: 33.33333%; }
	
	.bh-cols > .bh-col-sm-5		{ width: 41.6666666%; }
	
	.bh-cols > .bh-col-sm-6,
	.bh-cols-sm-2 > .bh-col		{ width: 50%; }
	
	.bh-cols > .bh-col-sm-7		{ width: 58.33333333%; }
	
	.bh-cols > .bh-col-sm-8		{ width: 66.66666%; }
	
	.bh-cols > .bh-col-sm-9		{ width: 75%; }
	
	.bh-cols > .bh-col-sm-10	{ width: 83.33333333%; }
	
	.bh-cols > .bh-col-sm-11	{ width: 91.666666666%;	}
	
	.bh-cols > .bh-col-sm-12	{ width: 100%; }
}

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

.bh-col-border-between > .bh-col,
.bh-col-border-between > .bhElementInner > .bhColcontainer > .bhCol {
	position: relative;
}
.bh-col-border-between > .bh-col:after,
.bh-col-border-between > .bhElementInner > .bhColcontainer > .bhCol:after {
	position: absolute;
	content: ' ';
	top: 0px;
	left: 0px;
	height: 100%;
	width: 1px;
	background: #99B47E;
}
.bh-col-border-between > .bh-col:first-child:after,
.bh-col-border-between > .bhElementInner > .bhColcontainer > .bhCol:first-child:after {
	display: none;
}

/*---- AUSRICHTUNG ----*/

.bhElement.alignLeft {
	margin-left: 0px;
	margin-right: auto;
}
.bhElement.alignRight {
	margin-right: 0px;
	margin-left: auto;
}

/*---- AUSRICHTUNG ALIGN WESTLAB ----*/

.bh-align-left.bhElement {
	margin-left: 0;
	margin-right: auto;
}
.bh-align-right.bhElement {
	margin-left: auto;
	margin-right: 0;
}

/* ----- EDITOR ----- */

.bh-text-centered {
	text-align: center;
}

/* ----- BH-STICKY  ----- */

.bh-plugin-sticky[data-override="1"] {
	background: blue;
	border: 2px solid gray;
}
.bh-plugin-sticky.bh-state-sticked {
	position: fixed !important;
	z-index: 500;
}
.bh-plugin-sticky.bh-state-sticked[data-override="1"] {
	z-index: 499;
}

/* ----- BH-BUTTON  ----- */

.bh-button {
	border: none;
	background: transparent;
	-webkit-appearance: none;
}

/* ----- FORM  ----- */

.bh-form-field input[type="text"],
.bh-form-field input[type="number"],
.bh-form-field input[type="submit"],
.bh-form-field select,
.bh-form-field textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	background: transparent;
	border:none;
	padding: 10px 20px;
	box-sizing: border-box;
	display: block;
	width: 100%;
}
.bh-form-field select::-ms-expand {
    display: none;
}
.bh-form-field textarea {
	resize: vertical;
}

.bh-form-field input[type="submit"] {
	cursor: pointer; 
}

/* ----- INVIEW FADE ----- */

body:not(.bhe-state-editing) .bh-animation-in,
body:not(.bhe-state-editing) .bh-animation-top,
body:not(.bhe-state-editing) .bh-animation-bottom,
body:not(.bhe-state-editing) .bh-animation-left,
body:not(.bhe-state-editing) .bh-animation-right,
body:not(.bhe-state-editing) .bh-animation-zoom {
	opacity: 0;
	-webkit-transition: all .5s;
	transition: all .5s;
	-webkit-transition-delay: .15s;
	transition-delay: .15s;
}
body:not(.bhe-state-editing) .bh-animation-top {
	top: -100px;
}
body:not(.bhe-state-editing) .bh-animation-bottom {
	top: 100px;
}
body:not(.bhe-state-editing) .bh-animation-left {
	left: -100px;
}
body:not(.bhe-state-editing) .bh-animation-right {
	left: 100px;
}
body:not(.bhe-state-editing) .bh-animation-zoom {
	transform: scale(0.8);
}
body:not(.bhe-state-editing) .inviewactive:not(.cssFaderArrow) {
	opacity: 1;
	top: 0; left: 0; bottom: 0; right: 0;
/* 	transform: scale(1); */
}