/* FARBEN dunkelblau: #07286C */

@font-face {
    font-family: 'open_sansregular';
    src: url('fonts/OpenSans-Regular-webfont.eot');
    src: url('fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'open_sanssemibold';
    src: url('fonts/OpenSans-Semibold-webfont.eot');
    src: url('fonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-Semibold-webfont.woff') format('woff'),
         url('fonts/OpenSans-Semibold-webfont.ttf') format('truetype'),
         url('fonts/OpenSans-Semibold-webfont.svg#open_sanssemibold') format('svg');
    font-weight: normal;
    font-style: normal;
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	line-height: 1.6em;
	border: 0;
	vertical-align: baseline;
}
body {
	color: #333;
	font-size: 1em;
	font-family: 'open_sansregular', sans-serif;
}
strong, em, .fett {
	font-family: 'open_sanssemibold', sans-serif;
	color: #07286C;
	font-weight:normal;
}
a {
	color: #07286C;
	text-decoration: underline;
}
a:hover,
a:active,
a:focus {
	color: #666;
	text-decoration: none;
}
button::-moz-focus-inner {
    padding: 0;
    border: 0
}
p {
	margin-bottom: 1.2em;
}
address {
	font-style: normal;
	margin-bottom: 1.6em;
}
h1, .h1 {
  font-size: 36px;
  line-height: 1.111em;
  margin-bottom: .5em;
}
h2, .h2 {
  font-size: 1.4em;
  font-weight: normal;
  line-height: 1.2em;
  color: #07286C;
  text-transform: uppercase;
  margin-bottom: 0.7em;
}
h3, .h3 {
  font-family: 'open_sanssemibold', sans-serif;
  font-weight: normal;
  font-size: 1.2em;
  line-height: 1.333em;
  color: #07286C;
  margin-bottom: 0.7em;
}
h4 {
  font-family: 'open_sanssemibold', sans-serif;
  font-weight: normal;
  font-size: 1em;
  line-height: 1.5em;
  color: #07286C;
  margin-bottom: .333em;
}
.group:after {
  content: "";
  display: table;
  clear: both;
}
img {
	max-width: 100%;
	height: auto;
}
ol, ul {
	list-style: none;
}
hr {
	margin: 18px 0;
	border: 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #fff;
}
#box0{
	margin: 0 auto;
	max-width: 1000px;
}
#header {
	padding: 40px 20px 0 20px;
}
#header h1 {
	margin: 0; padding: 0;
	background-image: url('../medien/bilder/logo_zahnarzt_wilhelm_80x58.png');
    background-repeat: no-repeat;
	background-position: center left; 
	background-color: none;
	background-size: contain;
}
#header h1.logo span {
	display: block;
}
#header h1.logo span.logo1 {
	font-size: 0.4em;
	line-height: 90%;
	padding-left: 75px;
}
#header h1.logo span.logo2 {
	font-size: 0.65em;
	padding-left: 75px;
}
#header h1.logo span.logo3 {
	color: #9A9B9C;
	font-size: 0.5em;
	padding-left: 75px;
}
#header h1 a:hover {
	color: #07286C;
}
#nav {
	text-align: right;
	padding: 20px 188px 6px 0;
}
#nav li {
	display: inline;
	padding: 0;
	margin: 0 5px;
}
#nav a {
	font-family: 'open_sanssemibold', Verdana, sans-serif;
	color: #07286C;
	font-weight:normal;
	text-decoration: none;
	font-size: 1.1em;
	padding: 8px 10px;
}
#nav a:hover,
#nav a:active,
#nav a:focus,
#footer a:hover,
#footer a:active,
#footer a:focus {
	background-color: #07286C;
	color: #fff;
}
#start_seite #nav #link_start, #team_seite #link_team, #kontakt_seite #link_kontakt {
	color: #9A9B9C;
}
#footer {
	max-width: 1000px;
	margin: 0px auto;
	border-top: 1px solid #ddd;
	padding: 10px 0;
}
#footer a {
	padding: 5px;
}
.inner {
	padding: 60px 20px 20px 20px;
}
.inner ul {
	list-style:square;
	margin-left: 25px;
	margin-bottom: 1.2em;
}
.inner ul li{
	margin-bottom: 0.7em;
}
.invers {
	background-color: #07286C;
	color: #fff;
	padding: 40px 20px 20px 20px;
	margin: 0 -20px 40px -20px;
	-webkit-box-shadow: #ADADAF 2px 2px 4px; -moz-box-shadow: #ADADAF 2px 2px 4px; box-shadow: #ADADAF 0px 3px 5px;
}
.invers a {
	color: #fff;
}
.invers h2, .invers h3 {
	color: #fff;
	margin-bottom: 1em;
}
.invers strong, .invers em, .invers.fett {
	color: #fff;
}
.upper {
	text-transform: uppercase;
}
.zentriert {
	text-align: center;
}
.bildzentriert {
	display: block;
	margin: 0 auto;
}
.karte {
	border: 1px solid #ccc;
	margin-top: 30px;
}
.nomargin {
	margin: 0;
}
.weit {
	margin-bottom: 2.5em;
}
.klar {
	clear: both;
}
.flex {
	display: flex;
}
.blau {
	color: #07286C;
}
ul.leistungen li {
	margin-bottom: 1.5em;
}
ul.leistungen li:last-child {
	margin-bottom: 0;
}
.rahmen {
	border: 1px solid #07286C;
	padding: 2px;
	-webkit-box-shadow: #ADADAF 2px 2px 4px; -moz-box-shadow: #ADADAF 2px 2px 4px; box-shadow: #ADADAF 0px 3px 5px;
}
a.nounderline {
	text-decoration: none;
}
a.extern {
	background:url(../medien/bilder/weblink.gif) 1px 6px no-repeat; padding-left: 17px;
}
.pdf {
	background:url(../medien/bilder/pdf_button.png) 0 4px no-repeat; padding-left: 18px;
}
.team img{
	display: block;
	margin: 0 auto;
	margin-top: 20px;
}
.team p {
	text-align: center;
	margin: 0;
}
.teambild {
	-webkit-border-radius: 150px; -moz-border-radius: 150px; border-radius: 150px;
	-webkit-box-shadow: 4px 4px 4px 0px rgba(161,172,178,1); -moz-box-shadow: 4px 4px 4px 0px rgba(161,172,178,1); box-shadow: 4px 4px 4px 0px rgba(161,172,178,1);
}
.teambild_gross {
	border: 2px solid #07286C;
}
.teambild_klein{
	border: 1px solid #ccc;
	margin-top: 25px !important;
	margin-bottom: 10px !important;
}
.invers .teambild {
	border: 2px solid #fff;
	box-shadow: none;
}
dl.sprechzeiten dt{
	float: left;
	width: 11.5em;
	clear: left;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
dl.sprechzeiten dd {
	margin-left: 12em;
}
.flexteam {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	margin-bottom: 40px;
}
.box {
	/*border: 1px solid red;*/ 
	text-align: center; 
	width: 22%; 
	margin-bottom: 20px;
}
.box p {
	margin: 0;
}
.box img{
	display: block;
	margin: 0 auto;
	margin-top: 20px;
}

/* ### GRID ### */
.units-row:after {
  content: "";
  display: table;
  clear: both;
}
.units-container {
  /* it's the trick to not collapse padding-top in the child element */
  padding-top: 1px;
  margin-top: -1px;
}
.units-row {
  margin-bottom: 1.618em;
}
input.width-100,
input.unit-100 {
  width: 98.6%;
}
textarea.width-100,
textarea.unit-100 {
  width: 98.8%;
}
select.width-100,
select.unit-100 {
  width: 99.4%;
}
.units-row .unit-90,
.units-row .unit-80,
.units-row .unit-75,
.units-row .unit-70,
.units-row .unit-66,
.units-row .unit-65,
.units-row .unit-60,
.units-row .unit-50,
.units-row .unit-40,
.units-row .unit-35,
.units-row .unit-33,
.units-row .unit-30,
.units-row .unit-25,
.units-row .unit-20,
.units-row .unit-10 {
  float: left;
  margin-left: 3%;
}
.units-row .unit-90:first-child,
.units-row .unit-80:first-child,
.units-row .unit-75:first-child,
.units-row .unit-70:first-child,
.units-row .unit-66:first-child,
.units-row .unit-65:first-child,
.units-row .unit-60:first-child,
.units-row .unit-50:first-child,
.units-row .unit-40:first-child,
.units-row .unit-35:first-child,
.units-row .unit-33:first-child,
.units-row .unit-30:first-child,
.units-row .unit-25:first-child,
.units-row .unit-20:first-child,
.units-row .unit-10:first-child {
  margin-left: 0;
}
.units-row .unit-90 {
  width: 89.7%;
}
.units-row .unit-80 {
  width: 79.4%;
}
.units-row .unit-75 {
  width: 74.25%;
}
.units-row .unit-70 {
  width: 69.1%;
}
.units-row .unit-66 {
  width: 65.66666666666666%;
}
.units-row .unit-65 {
  width: 65.66666666666666%;
}
.units-row .unit-60 {
  width: 58.800000000000004%;
}
.units-row .unit-50 {
  width: 48.5%;
}
.units-row .unit-40 {
  width: 38.2%;
}
.units-row .unit-35 {
  width: 31.333333333333332%;
}
.units-row .unit-33 {
  width: 31.333333333333332%;
}
.units-row .unit-30 {
  width: 27.9%;
}
.units-row .unit-25 {
  width: 22.75%;
}
.units-row .unit-20 {
  width: 17.6%;
}
.units-row .unit-10 {
  width: 7.3%;
}
.centered,
.unit-centered {
  float: none !important;
  margin: 0 auto !important;
}
.unit-padding {
  padding: 1.618em;
}

@media print {
	* {
		text-shadow: none !important;
		color: #000 !important;
		background: transparent !important;
		box-shadow: none !important;
	}
	h2,
	h3 {
		page-break-after: avoid;
	}
	#nav,
	#footer {
		display: none;
	}
}


/* RESPONSIVE
-----------------------------------------------------------------------------*/
@media only screen and (max-width: 880px) {
	
.box {width: 45%;}
	
}

@media only screen and (max-width: 767px) {
  
  .units-row .unit-90,
  .units-row .unit-80,
  .units-row .unit-75,
  .units-row .unit-70,
  .units-row .unit-66,
  .units-row .unit-65,
  .units-row .unit-60,
  .units-row .unit-50,
  .units-row .unit-40,
  .units-row .unit-35,
  .units-row .unit-33,
  .units-row .unit-30,
  .units-row .unit-25,
  .units-row .unit-20,
  .units-row .unit-10 {
    width: 100%;
    float: none;
    margin-left: 0;
    margin-bottom: 1.618em;
  }

#header img {
	display: block;
	margin: 0 auto;
	margin-bottom: 20px;
}
#header {
	/* text-align: center; */
	background-color: #F7F7F7;
	padding-top: 20px;
	border-bottom: 2px solid #07286C;
}
.inner {
	padding: 40px 10px 20px 15px;
}
#nav {
	text-align: center;
	padding-right: 0;
}
.mobilzentriert {
	text-align: center;
}
#team_seite .unit-25 {
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}
#start_seite .unit-75 {
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;	
}
dl.sprechzeiten dt{width: 8.0em;
}
dl.sprechzeiten dd {margin-left: 8.5em;
}
.flexteam {flex-direction: column;}
.box {width: 100%; border-top: 1px solid #ddd;}
.box:first-child {border-top: none;}
}

@media only screen and (max-width: 767px) {

#header h1.logo span.logo1 {
	font-size: 0.35em;
	padding-left: 70px;
}
#header h1.logo span.logo2 {
	font-size: 0.55em;
	padding-left: 70px;
}
#header h1.logo span.logo3 {
	font-size: 0.45em;
	padding-left: 70px;
	font-family: 'open_sanssemibold', sans-serif; letter-spacing: -0.05em;
}

}

@media only screen and (max-width: 480px) {

#header h1.logo span.logo1 {
	font-size: 0.3em;
	padding-left: 65px;
}
#header h1.logo span.logo2 {
	font-size: 0.5em;
	padding-left: 65px;
}
#header h1.logo span.logo3 {
	font-size: 0.4em;
	padding-left: 65px;
}
#nav a {
	font-size: 1em;
	padding: 8px 2px;
}
	
}

@media only screen and (min-width: 500px) {
	
#header {
	background-image: url('../medien/bilder/header.jpg'); 
    background-repeat: no-repeat;
	background-position: top right;
	background-size: cover;
	background-color: #F7F7F7;
	border-bottom: 2px solid #07286C;
	-webkit-box-shadow: #ADADAF 2px 2px 4px; -moz-box-shadow: #ADADAF 2px 2px 4px; box-shadow: #ADADAF 0px 3px 5px;
}

}

