/* html5 + CSS 3 Template created by miss monorom  
http://intensivstation.ch 2013 */

/* render html5 elements as block  */

@font-face { 
font-family: "Formation Regular"; 
src: url("../fonts/formation-sans-regular.ttf"); 
}

header, footer, section, aside, nav, article { display: block;}


*{
  box-sizing: padding-box;
  -moz-box-sizing: padding-box;
  -webkit-box-sizing: padding-box;
  box-sizing:border-box;
  -moz-box-sizing:border-box; /* Firefox */
  -webkit-box-sizing:border-box; /* Safari */
  padding: 0;
  margin: 0;  
}
  
body {
  background-color:#ebebeb;
  font-size: 1.6em;
  font-family:"Formation Regular";
  color:#564b47;
}
pre, code {
  font-size: 1.3em;
}

a {color: #fff;}
a:visited {color:#fff;}
a:hover {color: #fff;}
a:active { color:#fff;}

#dsgvo a,#ch-daten-message a {color:#c6312a;}
#dsgvo a:visited,#ch-daten-message a:visited {color:#c6312a;}
#dsgvo a:hover,#ch-daten-message a:hover {color:#c6312a;}
#dsgvo a:active,#ch-daten-message a:active {color:#c6312a;}

h1, h2 {
  font-size:1.8em;
  font-weight: normal;
  margin-bottom: 20px;
  text-align:center;
}
header{
}
header p{
} 

.mini, .menubutton{
  display:none;
}
p, h1, h2, h3, img.logo, form, .standort, footer {
	position: relative;
	z-index: 2;
	padding: 0;
	width: 40%;
	left: 30%;
	-webkit-backface-visibility: hidden;
}

/* -------------------- dsgvo -------------------- */
body#dsgvo {
	background-color: #4b5357;
}
#dsgvo section.jb-panel {
	background-color:#ebebeb;
	width:60%;
	left:20%;
}
#dsgvo p, #dsgvo ul, #dsgvo li, #dsgvo h2, #dsgvo h3 {
	width: 80%;
	left:10%;
}
#dsgvo img.logo {
	margin: 30px 0px;
	background: #fff;
	padding: 2% 8%;
	width: 100%;
	left: 0;
}
#dsgvo ul {
	margin-left:15px;
	letter-spacing:1px;
	position:relative;
}
#dsgvo button {
	padding:3px;
}
#dsgvo button.oben {
	position: absolute;
	top: 30px;
	right: 30px;
}
#dsgvo button.unten {
	margin-left: 10%;
	margin-bottom:30px;
}
/* -------------------- Cookie Popup -------------------- */
#ch-daten-message {
	position: fixed;
	bottom: 0;
	width: 100%;
	padding: 0px 0 10px 0;
	text-align: center;
	color: #fff;
	background-color: rgba(145,145,145,0.9);
	letter-spacing:1px;
	border-top:2px solid #c6312a;
}
#ch-daten-message form{
	width:80%;
	left:10%;
	border:0;
	margin:0;
	padding:0;
}
#ch-daten-message form input {
	display: block;
	margin: 10px auto 0 auto;
	color: #4b5357;
	background-color: #ebebeb;
	border: 2px solid #c6312a;
	border-radius:2px;
	cursor: pointer;
	width: 100px;
	height: 30px;
	letter-spacing:1px;
}
section h3 {
	font-size:1.3em;
}
section p {
	font-size: 1em;
	line-height: 1.5em;
	text-align: justify;
	margin-top:10px;
	letter-spacing:1px;
}
.copyright {
	float: right;
	margin-right: 15%;
}
.grafik {
	position:absolute;
	right:1%;
	bottom:0px;
	height:97px;
	}

.sign, .pfeil {
	border-radius:75px;
	width:65px;
	height:65px;
	margin: -105px auto 0	
	}
.pfeil {
	display:none;
	padding:13px 0 0 17px;
	}
.sign {	
	padding:11px 0 0 6px;
	}

.white{
	background:#ffffff;
	}
.dgrey{
	background: #4b5357;
}
.red {
	background: #c6312a;
}
	
.chevron a {color: #fff; text-decoration:none;}
.chevron a:visited {color: #fff; text-decoration:none;}
.chevron a:hover {color: #fff; text-decoration:none;}
.chevron a:active {color: #fff; text-decoration:none;}
.black-1 a, .black-1 a:visited, .black-1 a:hover, .black-1 a:active {color:#000;}
.black a, .black a:visited, .black a:hover, .black a:active {color:#000; font-size:2em;}
.weiss a, .weiss a:visited, .weiss a:hover, .weiss a:active {color:#fff; font-size:2em;}
.rot a, .rot a:visited, .rot a:hover, .rot a:active {color:#c6312a; font-size:2em;}

.chevron {
	font-weight:bold;
	position: relative;
	top: 5px;
	right: 151px;
	z-index: 100;
}
#jb-scroll {
	-webkit-transition: all 0.6s ease-in-out;
	-moz-transition: all 0.6s ease-in-out;
	-o-transition: all 0.6s ease-in-out;
	-ms-transition: all 0.6s ease-in-out;
	transition: all 0.6s ease-in-out;
	
	/* Let's enforce some hardware acceleration */
	-webkit-transform: translate3d(0, 0, 0);
	-webkit-backface-visibility: hidden;
}
.jb-panel {
    z-index:0; 
    -webkit-transform: translateZ( 0 );
    transform: translateZ( 0 );
    -webkit-transition: -webkit-transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/*
 *Scrolling
*/ 

a[ id= "jb-panel-1" ]:target ~ #jb-scroll section.jb-panel {
    -webkit-transform: translateY( 0px);
    transform: translateY( 0px );
}

a[ id= "jb-panel-2" ]:target ~ #jb-scroll section.jb-panel {
    -webkit-transform: translateY( -125px );
    transform: translateY( -125px );
}
a[ id= "jb-panel-3" ]:target ~ #jb-scroll section.jb-panel {
    -webkit-transform: translateY( -650px );
    transform: translateY( -650px );
}
a[ id= "jb-panel-4" ]:target ~ #jb-scroll section.jb-panel {
    -webkit-transform: translateY( -1150px );
    transform: translateY( -1150px );
}
a[ id= "jb-panel-5" ]:target ~ #jb-scroll section.jb-panel {
    -webkit-transform: translateY( -1775px );
    transform: translateY( -1775px );
}
a[ id= "jb-panel-6" ]:target ~ #jb-scroll section.jb-panel {
    -webkit-transform: translateY( -2345px );
    transform: translateY( -2345px );
}

section:before {
  height: 0;
  content: ".";
  display: block;
  clear: both;
  visibility:hidden;
}
section {
  width:100%;
  position:relative;
}

section#jb-panel-1 {
  padding:110px 0 40px 0;
  min-height:300px;
}
section#jb-panel-2,
section#jb-panel-3,
section#jb-panel-4,
section#jb-panel-5
{
  padding:70px 0 40px 0;
  min-height:500px;
}
section#jb-panel-6
{
  padding:0px 0 40px 0;
  min-height:180px;
}

/* Colored sections */

.jb-dgrey{
	background: #4b5357;
}
.jb-red {
	background: #c6312a;
}
.jb-dgrey h2, .jb-red h2 {
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
} 
.jb-dgrey p, .jb-red p, form {
	color: #fff;
	color: rgba(255,255,255,0.8);
}

/*   navigation   */
nav{
  width:100%;
  background: #4b5357;
  position: fixed;
  top: 0px;
  z-index:10;
} 

nav ul:after {
  height: 0;
  content: ".";
  display: block;
  clear: both;
  visibility:hidden;
} 
nav ul {
  list-style-type: none;
  position:relative;
  float:left;
  display:block;
  margin:0;
  width:100%;
	padding-left:17%;
}   
nav li {
  float: left;
  position:relative;
  display:block;
  margin: 0;
	width:17%;
	text-align: center;
	text-align:-webkit-center;
}
nav a,  nav a:visited {    
	display:block; 
	text-decoration: none;
	color:#fff;
	font-size: 1.2em;
	letter-spacing:2px;
	line-height: 50px;
	text-transform:uppercase;
	background: #4b5357;
	-moz-transition:all 0.3s linear;    
	-webkit-transition:all 0.3s linear;   
	transition:all 0.3s linear; 
}
nav a:hover, nav a:focus, nav a.selected {
  background-color: #c6312a; 
}
/* weitere Inhalte   */
.standort p {
	width: auto;
	left: 0px;
}
.adress{
	position:relative;
	z-index:50;
	float:left;
	}
.plan{
	margin-top:10px;
	position:relative;
	z-index:100;
	float:right;
	}

.adress:after, .plan:after {
    content: '';
    display: block;
    clear: both;
}

footer ul{
	display:block;
	list-style:none;
	margin-top:25px;
	}
footer li{
	background-color:rgba(76,83,88,0.15);
	width:108px;
	text-align:center;
	text-align:-webkit-center;
	margin:0 0px 10px 0;
	}
footer a, footer a:visited, footer a:hover, footer a:active{
	display:block; 
	color:#000; 
	text-decoration:none;
	text-transform:uppercase;
	font-size:0.8em;
	letter-spacing:1.5px;
	padding:5px 0px;
	}
.third a, .third a:hover, .third a:visited, .third a:active {
	text-transform:none;
	}
.first, .second {
	float:left;
	}
.second {
	margin-left:10px;
}
.third {
	float:right;
	margin-left:0%;
	margin-top:65px;
	}
.first:after, .second:after, .third:after {
    content: '';
    display: block;
    clear: both;
}
.third li {
	padding:0px;
	margin:0px 0 5px 0;
	background:none;
	width:auto;
	text-align:right;
	}
.third li a {
	padding:0px;
}
/*  Slideshow css  */
.carousel{
    background: #2f4357;
    margin-top: 20px;
	max-width:650px;
}
.carousel .item img{
    margin: 0 auto; /* Align slide image horizontally center */
}
.carousel-indicators {
	bottom: -50px;
}
.carousel-inner {
	border: 5px solid #fff;
}
.bs-example{
	margin: 0 32%;
}

/* Kontaktformular  */
#kontaktformular fieldset {
    width: 100%;
	border: 0px solid transparent;
}
#kontaktformular #radiocontainer {
    margin: 3px 0;
    padding: 0;
}
#kontaktformular label, #kontaktformular #radiocontainer p {
    clear: both;
    display: block;
    float: left;
    margin: 2px 0 0;
    width: 100px;
}
#kontaktformular #radiocontainer .radios {
    clear: none;
    display: inline;
    float: none;
    margin: 0;
    padding: 0;
}

#kontaktformular .error {
    background: inherit;
    color: #c6312a;
}
#kontaktform label {
    clear: both;
    display: block;
    float: left;
    margin: 0;
    width: 28%;
	font-size:1.2em;
	letter-spacing:1px;
}
#kontaktform label[for^="interesse"] {
    margin-right: 5px;
    width: 200px;
}
#kontaktform input.ipt, #kontaktform textarea {
    margin: 2px 0;
    width: 72%;
	color:#4b5357;
}
#kontaktform label[for="empfaenger"] {
    width: 72%;
}
#kontaktform input.submit {
    margin-top:5px;
	margin-left:28%;
    width: 72%;
	color:#4b5357;
}
#kontaktform select {
    margin: 2px 0 2px 40px;
    width: 80px;
}
#kontaktform .ort {
    display: none;    
}
#kontaktform .error, p.meldung {
    background: inherit;
    color: #c6312a;
}
.info {
	width:100%;
	position:relative;
	left:0;
	}
fieldset { 
	border: none; 
}
input {
	height:25px;
	}

/*  scroll to top   */
.scrollicon{
	text-align: center;
	text-decoration:none;
	width:50px;
	height:50px;
	border-radius:50%;
	background:rgba(75,83,87,0.5);
	position:fixed;
	bottom:40px;
	right:10px;
	display:none;
	border:1px solid #4b5357;
	}
.scrollicon span {
	font-size: 1.5em;
	color: #fff;
	color: rgb(255,255,255);
	padding-top: 11px;
	padding-left: 2px;
}
a.scrollicon, a.scrollicon:hover, a.scrollicon:visited, a.scrollicon:active, a.scrolicon:focus { 
	text-decoration:none;
	}


/* -------------------- Media Queries -------------------- */

@media only screen and (max-width: 980px) { 
#dsgvo section.jb-panel {
	background-color:#ebebeb;
	width:90%;
	left:5%;
}
#dsgvo p, #dsgvo ul, #dsgvo li, #dsgvo h2, #dsgvo h3 {
	width: 90%;
	left:5%;
}
#dsgvo img.logo {
	margin: 30px 0px;
	padding: 2% 4%;
}
#dsgvo button.oben {
	display:none;
}
#dsgvo button.unten {
	margin-left: 5%;
}
}
@media only screen and (max-width: 980px) { 
#mainnav {
    float:none;
  }
#mainnav {
    padding:0;
  }
#mainnav ul {
    float:none;
	padding-left:0%;
  }
  #mainnav li {
    float: none;
    margin: 0;
    width:100%;
  } 
    #mainnav a:not(.selected):after {
    content:'»';
    position:absolute;
    right:10px;
  }
  #mainnav a {
    border-radius:0 0 0 0;
  }
  #mainnav a,  #mainnav a:visited {
	line-height: 35px;
}
nav {
	background:transparent;
	}
nav a {
	padding:0 0 0 20px;
	border-bottom:1px solid #fff;
	}	
nav a,  nav a:visited {
	background: rgba(75,83,87,0.8);
	text-decoration:none;
}
nav a:hover, nav a:focus, nav a.selected {
  background-color: rgba(198,49,42,0.8); 
	text-decoration:none;
}
section#jb-panel-1 {
	padding-top: 80px;
	min-height:0px;
}
p, h1, h2, h3, img.logo, form, .standort, footer {
	width: 94%;
	left: 3%;
	right: 3%;
	padding-right:50px;
}
.bs-example{
	margin: 0 10%;
}
#kontaktform input.submit {
	margin-left:0%;
}

#kontaktform label{
	  display:unset;
	  width:100%
	  }
#kontaktform input, #kontaktform texarea {
	  width:100%
	  }

section#jb-panel-5 {
	min-height:600px;
	}
.grafik {
	display:none;
	}
#mainnav {
	margin-top: 67px;
}
  #mainnav li {
    float: none;
    margin: 0;
    width:100%;
    display:block;
  } 
  #mainnav a {
    font-size:1.2em;
    position:relative;
  }  
  #mainnav li a {
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	transition: all .3s ease-out;
}
  .menubutton {
    display:block;
    position:absolute;
	top:10px;
	z-index:99;
	text-align:right;
  }
.glyphicon-menu-hamburger {
	color: #fff;
	font-size: 2em;
	width: 55px;
	height: 55px;
	background: rgba(0,0,0,0.8);
	border-radius: 75px;
	padding: 11px 11px 0 0 ;
}	
.m-menu {
	font-weight: bold;
	color: rgba(0,0,0,0.8);
	letter-spacing: 1px;
	margin-left: 5px;
}
.mini {
    display:block;
    /* 20% space rechts fuer .menubutton: */
    width: 80%;
  }
  .maxi {
    display:none;
  }
 .carousel-indicators {
	bottom: -60px;
}
 .bs-example{
	margin: 0 3%;
 }
}
@media only screen and (max-width: 480px) { 
.sign {
	display:none;
	}
.pfeil {
	display:block;
	z-index:100;
	}
.adress, .plan {
	float:none;
}
p, h1, h2, h3, img.logo, form, .standort, footer {
	padding-right:0px;
}
#kontaktform input.ipt, #kontaktform textarea, #kontaktform input.submit {
    width: 100%;
}
}