/*------------------------------------*\
  #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;
}
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;
}

/*------------------------------------*\
  #Margins
\*------------------------------------*/
.bhElement,
.bhElement.bhText {
  margin-bottom: 40px;
}
.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;
}
