span.tooltipp {
	border-bottom: dotted 1px #000;
}
span.tooltipp > span {
    font-size: 10px;
    position:absolute;
    z-index: 999;
    white-space:nowrap;
    bottom:9999px;
    left: 50%;
    background:#000;
    color:#e0e0e0;
    padding:0px 7px;
    line-height: 24px;
    height: 24px;
     
    opacity: 0;
    transition:opacity 0.4s ease-out;
    }      
     
span.tooltipp > span::before {
    content: "";
    display: block;
    border-left: 6px solid #000000;
    border-top: 6px solid transparent;
    position: absolute;
    top: -6px;
    left: 0px;
    }
     
span.tooltipp:hover > span {
    opacity: 1;
    bottom:-35px;
    }


/* GLOBAL STYLES
-------------------------------------------------- */

.pace .pace-progress {
  background: #e40046;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  height: 2px;

  -webkit-transition: width 1s;
  -moz-transition: width 1s;
  -o-transition: width 1s;
  transition: width 1s;
}
.pace-inactive {
  display: none;
}

/* GLOBAL STYLES
-------------------------------------------------- */

/*html,
body {
	height: 100%;
}*/

span#logo {
	width:50px;
	height:50px;
	background:url('../img/logo.png');
	background-size:50px 50px;
}

body {
  background: #fff;
  color: #1b242a;
  font-size: 14px;
  line-height: 1.428571429;
  padding-top:50px;
  padding-bottom: 40px;
}

a:focus {
	outline: none;
}

a {
	color:#E5053A;
}

h1,h2 { 
   font-weight: 200;
}

h1 span, h2 span {
	font-weight: 200;
}
/*.text-muted {
	color: #a3a9ad; 
}
.text-muted-red {
	color: #ea958e; 
}*/

article h1 {
	font-weight: 200;
	font-size: 30px;
}

hr {
	border-top-color: #a3a9ad;
	color: #a3a9ad;
}

.top20px {
	margin-top: 20px;
}

span.brand,
p.brand {
	background: #e5053a;
	color: #FFF;
	border-radius: 2px;
	padding: 4px 6px;
	letter-spacing: 0.05em;
	font-weight: 200;
}
p {
	letter-spacing: 0.03em;
	line-height: 1.5em;
}


/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}

.navbar-default {
	border-radius: 0;
	background-color:#fff;
	border-color:#c3caca;
}

.navbar-sub div {
	padding: 15px 0;
}
.navbar-sub {
	margin-bottom: 0;
}
.navbar-sub-fixed-top {
	background-color:#f7f8f8;
	top:50px;
	position:fixed;
	left:0;
	right:0;
	z-index:10;
	border-bottom: 1px solid #c3caca;
}

.navbar-sub a {
	text-decoration:none;
	padding-bottom:15px;
}
.navbar-default .navbar-nav > li > a,
.navbar-sub a {
    color: #1b242a;
    text-transform: uppercase;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-sub a:hover {
}
.navbar-default .navbar-nav > li.active > a {
    color: #e5053a;
	background: transparent;
}
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li.active > a:focus,
.navbar-default .navbar-nav > li.active > a:hover {
    color: #e5053a;
    background: transparent;
    outline: none;
}

.navbar-brand {
    font-size: 1em;
    padding: 0px 10px;
}

.navbar-brand > div.pull-left {
	margin-left:0.7em;
	margin-top:0.8em;
}

.navbar-brand #big {
	display:none;
}
.navbar-brand h1 {
	color:#1b242a;
    font-weight: normal;
    font-size: 1em;
    margin:0;
}

.navbar-brand h2 {
	color:#1b242a;
    font-weight: normal;
    font-size: 0.9em;
    margin:0;
}

h2 .text-muted {
	color:#a3a9ad;
}

h3 {
	font-weight:300;
	font-size: 1.5em;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  height: 120px;
  margin-bottom: 20px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

.carousel-caption.background {
  background-color: rgba(0,0,0,0.7);
}

.carousel-caption.full {
  left:0;
  right:0;
}

.carousel-fade .carousel-inner .item {
  opacity: 0;
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  -o-transition-property: opacity;
  transition-property: opacity;
}
.carousel-fade .carousel-inner .active {
  opacity: 1;
}
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.carousel-fade .carousel-control {
  z-index: 2;
}

/* Declare heights because of positioning of img element */
.carousel-sm .item,
.carousel .item {
  height: 458px;
  background-color: #1b242a;
  overflow: hidden;
}
.carousel .item {
  height: 120px;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  min-width: 100%;
  height: auto;
}

.carousel-inner > .slide-1 > img {
  top:-25%;
}

.carousel-inner > .slide-2 > img {
	top:-5%;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Pad the edges of the mobile views a bit */
.marketing {
  padding-right: 15px;
  padding-left: 15px;
}

/* Center align the text within the three columns below the carousel */
.marketing .col-md-4, 
.marketing .col-lg-4, 
.marketing .col-sm-4,
.marketing .col-sm-6 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: 200;
  font-size:26px;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 20px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}

/* CUSTOMIZE BUTTONS
-------------------------------------------------- */

.btn-primary {
    background-color: #e5053a;
    border-color: #e5053a;
}
.btn-primary:hover {
	background-color: #cc0434;
    border-color: #cc0434;
}

.btn-secondary {
    background-color: #005bbf;
    border-color: #005bbf;
    color: #FFF;
}

.btn-secondary:hover {
    background-color: #00438c;
    border-color: #005bbf;
    color: #FFF;
}


#map {
    width: 100%;
    height: 200px;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 480px) {

.navbar-brand #small {
	display:none;
}

.navbar-brand #big {
	display: block;
}

}

@media (min-width: 400px) {

.carousel {
  height: 160px;
}
  .carousel .item {
  height: 160px;
}

.carousel-inner > .slide-2 > img {
  top:0;
}

}

@media (min-width: 500px) {

.carousel {
  height: 200px;
}
  .carousel .item {
  height: 200px;
}


}

@media (min-width: 600px) {

.carousel {
  height: 240px;
}
  .carousel .item {
  height: 240px;
}

}

@media (min-width: 768px) and (max-width: 1200px) {
	.container>.navbar-header {
	}
   .navbar-header {
       float:none!important;
   }
   .navbar-toggle {
       display: block !important;
   }
   .navbar-collapse.collapse {
       display: none !important;
   }
}

@media (min-width: 768px) {

  /* Remove the edge padding needed for mobile */
  .marketing {
    padding-right: 0;
    padding-left: 0;
  }

  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left:  15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left:  0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }
  
.carousel {
  height: 300px;
}
  .carousel .item {
  height: 300px;
}
  .featurette-heading {
    font-size: 50px;
  }
    #map {
        height: 400px;
    }
    
.navbar-default .navbar-nav > li > a,
.navbar-sub a {
	border-bottom:2px solid transparent;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li.active > a,
.navbar-sub a:hover,
.navbar-sub a.active {
	border-bottom:2px solid #E5053A;
}
	
}

@media (min-width: 900px) {

.carousel {
  height: 360px;
}
  .carousel .item {
  height: 360px;
}

}
@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
  
  #leistungen,
  .body-leistungen {
  	margin-top:50px;
  }
}


@media (min-width: 1050px) {

.carousel {
  height: 420px;
}
  .carousel .item {
  height: 420px;
}

}
@media (min-width: 1200px) {

.carousel {
  height: 480px;
}
  .carousel .item {
  height: 480px;
}

}

@media (min-width: 1400px) {

.carousel {
  height: 540px;
}
  .carousel .item {
  height: 540px;
}

}


@media (min-width: 1600px) {

.carousel-inner > .slide-1 > img {
  top:-40%;
}

.carousel-inner > .slide-2 > img {
  top:-10%;
}


}

@media (min-width: 1800px) {

.carousel-inner > .slide-2 > img {
  top:-15%;
}

}

@media (min-width: 1900px) {

}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 320dpi) {
	 span#logo {
	background:url('../img/logo@2x.png');
	background-size:50px 50px;
}
}
@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 480dpi) {
	 span#logo {
	background:url('../img/logo@3x.png');
	background-size:50px 50px;
}
}