html {
  height: 100%;
}

body {
  font-family: $bodyFont;
  height: 100%;

  &.fullscreen {
    .container {
      width: auto;
      margin-left: 10px;
      margin-right: 10px;
    }
  }
}

blockquote {
  margin: 3px 3px 3px 15px;
  border-left: dotted 2px gray;
  padding: 5px;
}

p, ul {
  margin-bottom: 10px;
}

a {
  text-decoration: $linkTextDecoration;
  color: $colorLinksLight;
  &:hover {
    text-decoration: $linkTextDecoration;
    color: lighten($colorLinksLight, 15%);
  }
  &.btn {
    text-decoration: none;
  }
}

.alert-info {
  a {
    color: darken($colorLinks, 5%);
    &:hover {
      color: lighten(darken($colorLinks, 5%), 15%);
    }
    &.btn.btn-primary {
      color: white;
      &:hover {
        color: white;
      }
    }
  }
}

.well {
  padding: 0;
  position: relative;

  -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  background-color: #fff;

  @include border-radius(10px);
  > :first-child {
    @include border-radius-top();
    .nav-header {
      @include border-radius-top();
    }
  }
  > :last-child {
    @include border-radius-bottom();
  }

  h1 {
    @include stdHeading($headingPrimaryText, $headingPrimaryBackground);
    margin: -1px;
    small {
      color: white;
      font-size: 12px;
    }
  }
  h2.green, h3.green, .nav-header, legend.green {
    @include stdHeading($headingSecondaryText, $headingSecondaryBackground);
    margin: -1px;
  }
  h2.lightgreen, h3.lightgreen {
    margin: -1px;
    @include linear-gradient(90deg, lighten($headingSecondaryBackground, 50%), lighten(lighten($headingSecondaryBackground, 2.3%), 50%));
    padding: 5px 20px 5px;
    font-family: $headingFont;
    font-weight: bold;
    font-size: 15px;
    line-height: 18px;
    text-transform: uppercase;
  }

  .content {
    padding: 15px 20px 30px;
    overflow: visible; // Wg. Datetimepicker, der über den Rand hinausgeht
  }

  > .alert {
    margin: 20px;
  }
}

.navbar {
  margin-bottom: 0;

  .navbar-inner {
    background: none 0 0 transparent;
    filter: none;
    border: none;
    box-shadow: none;
    min-height: 0;
    padding: 0;
    text-align: right;
    margin-top: 10px;
    @include border-radius(0);
  }

  .nav {
    margin: 0;
    float: right;

    li a {
      display: inline;
      padding: 0;
      margin-left: 40px;
      color: $menuLink;
      font-family: $menuFont;
      font-style: normal;
      font-weight: bold;
      text-transform: uppercase;
      text-decoration: none;
      font-size: 18px;
      text-shadow: none;
    }

    li.active a,
    li a:hover,
    li a:focus,
    li.active a:hover,
    li.active a:focus {
      background: none;
      filter: none;
      box-shadow: none;
      color: $menuActive !important;
      text-decoration: none;
    }
  }
}

.btn {
  .span9 & {
    margin: 10px 0 0 200px;
  }
  font-family: $buttonFont;
  font-weight: bold;
}

.btn-primary {
  text-transform: uppercase;
  color: #fff;
  @include linear-gradient(90deg, $btn-primary-bg, lighten($btn-primary-bg, 3.5%));
}

.saveholder {
  clear: both;
  padding: 10px;
  text-align: center;
}

label {
  input, textarea {
    font-weight: normal;
  }
}

.logo {
  margin-top: 14px;
  display: block;
  margin-bottom: 40px;

  > a {
    display: inline-block;
  }
  .logoImg {
    display: block;
    width: 377px;
    height: 55px;
    background-image: url(../img/logo.png);
    @media screen and (max-width: 479px) {
      width: 300px;
      height: 44px;
      background-size: 300px 44px;
    }
  }
  @media screen and (max-width: $screen-xs) {
    .homeLinkLogo > img {
      max-width: 90%;
    }
    .homeLinkLogo {
      text-align: center;
    }
  }
}

.breadcrumb {
  background: none;
  filter: none;
  @include border-radius(0);
  margin: 30px 0 0;
  padding: 0;

  &, .active {
    font-family: $menuFont;
    font-style: normal;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 15px;
    color: $menuActive;
  }

  li {
    text-shadow: none;
  }

  a {
    color: $menuLink;
  }
}

/* keep the footer at the bottom of the page */
$footer_height: 1.6em;
$footer_line_height: 1.5em;

.over_footer_wrapper {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto (-1 * $footer_height);
}

body > footer {
  height: $footer_height;
  p {
    height: $footer_height;
    line-height: $footer_line_height;
    margin-bottom: 0;
    margin-top: 0;
    white-space: nowrap;
  }
  .version {
    display: inline-block;
    margin-left: 30px;
    font-size: 0.8em;
  }
  @media print {
    display: none;
  }
}

.footer_spacer {
  height: $footer_height;
}

.labelSubInfo {
  font-weight: normal;
  font-size: 0.8em;
}

html.no-touchevents .hoverHolder {
  .hoverElement {
    display: none;
  }
  &:hover {
    .hoverElement {
      display: inherit;
    }
  }
}

.antragsgruen-content {
  // Amendment-Markers at the side of a motion should be above the sidebar in case of a collission
  > main {
    z-index: 1;
  }
  > aside {
    z-index: 0;
  }
}