/*------------------------------------*\
  #General Settings
\*------------------------------------*/

html{
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
    -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}


a{
	color: inherit;
	text-decoration: none;
}

table a{
	color: inherit;
	text-decoration: underline;
  display: inherit;
}

input[type="submit"]{
	-webkit-appearance: none;
}




/*------------------------------------*\
  #Widths
\*------------------------------------*/

.bh-centered,
.bh-centered-content > .bhElement {
    margin-left: auto;
    margin-right: auto;
}

.bh-centered.bh-width-small {
	max-width: 450px;
}
.bh-centered.bh-width-max {
	max-width: none;
}

.bh-centered.bh-width-normal {
	max-width: 960px;
  padding: 0 20px 0 20px;
}




/*------------------------------------*\
  #Margins
\*------------------------------------*/


.bhElement,
.bhElement.bhText {
	margin-bottom: 20px;
}

.bh-bodytext > * {
	margin-bottom: 15px;
}


.bh-bemode .bhContainer:not(.dev-flex-container) > .bhElement:nth-last-child(+1),
.bh-bemode.bhe-state-editing .bhContainer:not(.dev-flex-container) > .bhElement:nth-last-child(+2),
/* letztes element */
.bhContainer:not(.dev-flex-container) > .bhElement:last-child,
.bh-bodytext > *:last-child,
/* empty dropzones */
.bhe-state-content-empty, .bhe-state-dragging .bhe-state-content-inherited {
	margin-bottom: 0 !important;
}

.bh-margin,
.bhElement.bh-margin {
	margin-bottom: 40px;
}

.bh-margin-none,
.bhElement.bh-margin-none{
	margin-bottom: 0;
}

.bh-margin-small,
.bhElement.bh-margin-small{
	margin-bottom: 20px;
}







/*------------------------------------*\
  #Cols
\*------------------------------------*/

.bh-cols {
	display: flex;
	flex-wrap: wrap;
}
.bh-cols > .bh-col {
	flex-shrink: 0;
	box-sizing: border-box;
	margin-left: 0 !important;
	margin-right: 0 !important;
}


.bh-cols > .bh-col-1 {
   width: 8.33333333%;
}

.bh-cols > .bh-col-2,
.bh-cols-6 > .bh-col {
   width: 16.66666%;
}

.bh-cols-5 > .bh-col {
   width: 20%;
}

.bh-cols > .bh-col-3,
.bh-cols-4 > .bh-col {
   width: 25%;
}

.bh-cols > .bh-col-4,
.bh-cols-3 > .bh-col {
   width: 33.33333%;
}

.bh-cols > .bh-col-6,
.bh-cols-2 > .bh-col {
   width: 50%;
}

.bh-cols > .bh-col-8 {
   width: calc( 200% / 3 );
}

.bh-cols > .bh-col-9 {
   width: 75%;
}

.bh-cols > .bh-col-12 {
   width: 100%;
}










/*------------------------------------*\
  #Col Gaps
\*------------------------------------*/
/* normal */
.bh-cols {
	margin-left: -20px;
	margin-right: -20px;
}
.bh-col {
	padding-left: 20px;
	padding-right: 20px;
}

/* small */
.bh-cols.bh-col-gaps-small {
	margin-left: -10px;
	margin-right: -10px;
}
.bh-col-gaps-small > .bh-col {
	padding-left: 10px;
	padding-right: 10px;
}

/* none */
.bh-cols.bh-col-gaps-none {
	margin: 0;
}
.bh-col-gaps-none > .bh-col {
	padding: 0;
}

/* -------- Fade-In ------- */

.js-fade-in > .bhElementInner,
.js-fade-in-direct{
	transition: all 1.4s linear 0.2s;
	opacity: 0;
	transform: translate(0,1rem);
}

.js-fade-in-direct{
	transition-delay: 0.2s;
	transition-duration: 1s;
}

/*
.js-fade-in.style-fade--left > .bhElementInner,
.js-fade-in-direct.style-fade--left {
	-webkit-transform: translateX(-2rem);
	    -ms-transform: translateX(-2rem);
	        transform: translateX(-2rem);
}
.js-fade-in.style-fade--right > .bhElementInner,
.js-fade-in-direct.style-fade--right {
	-webkit-transform: translateX(2rem);
	    -ms-transform: translateX(2rem);
	        transform: translateX(2rem);
}

