/* FONTS */
@font-face {
	font-family: 'Open Sans';
	src: url('OpenSans-Light.ttf') format('truetype');
	font-weight: 300;
}

@font-face {
	font-family: 'Open Sans';
	src: url('OpenSans-Regular.ttf') format('truetype');
	font-weight: 400;
}

@font-face {
	font-family: 'Open Sans';
	src: url('OpenSans-SemiBold.ttf') format('truetype');
	font-weight: 600;
}


/* COLORS */
/* #aea99b  rgba(174, 169, 155, 1) grey */
/* #993233  rgba(153, 50, 51, 1)  red */
/* #f9f3e5 rgba(249, 243, 229, 1) creme */
/* #f4eff4 rgba(244, 239, 244, 1) light grey */

html, body {
	margin: 0px;
	font-family: 'Open Sans';
	font-weight: 300;
	}
	
.canvas {
	width: 1000px;
	border: 0px solid #aea99b;
	border-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 5px;
	border-radius: 10px;
	background: white;
	box-shadow: 0px 0px 10px black;
}	
	
h1 {
	font-size: 2.5em;
	font-weight: 300;
	}
	
h2 {
	font-size: 2em;
	font-weight: 300;
	}

h3 {
	font-size: 1.8em;
	margin-top: 0.5em;
	margin-bottom: 0.7em;
	color: #993233;
	font-weight: 300;
	}
	
h4 {
	font-size: 1.5em;
	margin-bottom: 1em;
	font-weight: 300;
	}
	
h5 {
	font-size: 1.3em;
	font-weight: 300;
	}
	
h6 {
	font-size: 1em;
	margin-bottom: 0px;
	margin-top: 15px;
	margin-left: 5px;
}
	
a {
	text-decoration: none;
	color: #993233; /* INSERT STYLE COLOR */
}

a:hover {
	text-decoration: underline;
}
	
hr {
	border: 0px;
	margin-top: 50px;
	margin-bottom: 50px;
	border-top: solid 1px #aea99b; /* INSERT STYLE COLOR */
}

hr.dashed {
	border: 0px;
	margin-top: 50px;
	margin-bottom: 50px;
	border-top: dashed 1px #aea99b; /* INSERT STYLE COLOR */
}

ul {
	list-style: none;
	font-weight: 300;
}

.list li:before {
	content: "\2022";
	color: #aea99b;
	font-size: 2.6em;
	padding-right: 0.25em;
	position: relative;
	top: 0.23em;
	line-height: 0.15em;
	margin-left: -0.6em;
}

p {
	font-weight: 300;
}

.mitte {
	text-align: center !important;
}

.fett {
	font-weight: 400;
	font-size: 1em;
	margin: 30px 0px 0px 0px !important;
}

.fett_0margin {
	font-weight: 400;
}

.rot {
	color: #993233;
}

.blocksatz {
	text-align: justify;
}

.narrow_content p {
	text-align: justify;
}

/* ENDE ALLGEMEINER KRAMS */

.header {
	width: 1000px;
	height: 150px;
	box-sizing: border-box;
	border-radius: 10px 10px 0px 0px;
	background: #aea99b;
	margin-bottom: 48px;
	}

.branding h2 {
	float: left;
	margin-top: 15px;
	margin-left: 20px;
	color: #993233;
}
	
.branding img {
	width: 217px;
	height: 130px;
	float: right;
	margin-right: 5px;
	}
	
.branding h4 {
	float: right;
	text-align: left;
	font-size: 20px;
	margin-top: 30px;
	margin-right: 30px;
	color: #993233;
}

.branding h5 {
	font-weight: 400;
	float: right;
	text-align: left;
	font-size: 18px;
	margin-top: 65px;
	margin-right: -190px;
	margin-bottom: 0px;
	color: #f4eff4;
}

#mobileleiste {
	display: none;
}

#mainnav {
	width: 100%;
	height: 45px;
	position: relative;
	top: 20px;
	clear: both;
	background: #993233;
	}
	
#mainnav .inner {
	float: right;
}
		
#mainnav a {
	font-size: 24px;
	padding: 5px;
	margin-right: 20px;
	color: white;
	border: 1px solid rgba(255, 255, 255, 0); /* USE BACKGROUND COLOR FOR BORDER HERE */
	float: left; /* ACTIVATE TO REMOVE GAP BETWEEN A ELEMENTS */
	transition: 0.3s;
	}
	
#mainnav a:hover {
	border: 1px solid #993233;
	transition: 0.2s;
	background: white;
	color: #993233;
	text-decoration: none;
	}

#page1 #mainnav a.page1,
#page2 #mainnav a.page2,
#page3 #mainnav a.page3,
#page4 #mainnav a.page4,
#page5 #mainnav a.page5 {
	color: #993233;
	background: white;
	cursor: default;
	}

#page1 #mainnav a.page1:hover,
#page2 #mainnav a.page2:hover,
#page3 #mainnav a.page3:hover,
#page4 #mainnav a.page4:hover,
#page5 #mainnav a.page5:hover {
	background: white;
	border: solid 1px rgba(256, 256, 256, 0);
	}

.cd-top div {
	width: 200px;
	height: 45px;
	position: fixed;
	top: 177px;
	border: solid 1px #993233;
	box-sizing: border-box;
	border-radius: 0 20px 20px 0;
	background: #993233;
	color: white;
	fill: white;
	font-size: 22px;
	line-height: 45px;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transition: 0.2s;
	z-index: 99;
}

.cd-top.cd-is-visible div {
	opacity: 1;
	visibility: visible;
}

.cd-top.cd-is-visible div:hover {
	background: white;
	color: #993233;
	transition: 0.2s;
	text-decoration: none;
}

.cd-top.cd-is.visible div:hover img svg {
	fill: #993233;
}

.cd-top img {
	width: 25px;
	height: 25px;
	margin: 10px;
	float: left;
}


.nav {
	width: 200px;
	height: auto;
	box-sizing: border-box;
	border-top: solid 1px white;
	border-bottom: solid 1px white;
	border-radius: 0px 20px 20px 0px;
	position: fixed;
	z-index: 10;
	top: 230px;
	background: #aea99b;
	}
	
.nav h3 {
	padding-left: 15px;
	margin-bottom: 0;
	color: white;
}
	
.nav ul {
	font-weight: 400;
	padding: 0px 0px 0px 25px; /**/
	margin-top: 0.5em;
}

.nav ul li {
	margin-top: 3px;
	padding-left: 0px; /**/
	color: white;
}

#sidenav {
	list-style: disc;
}

.nav ul li a {
	color: white;
}

.nav ul li:hover {
	background: #993233; /* HOVER BACKGROUND SIDE NAV */
	text-decoration: none;
}

.active {
	background: #993233;
}

.nav a:hover {
	text-decoration: none;
}

.header > a {  /* MENU BUTTON FOR SMALL LAYOUT - HIDDEN IN NORMAL AND MEDIUM LAYOUT */
	position: absolute;
	left: 15px;
	top: 5px;
	visibility: hidden;
}
	
.wide_content {
	width: 100%;
	padding: 20px;
	box-sizing: border-box;
}

.narrow_content {
	width: 800px;
	padding: 20px;
	padding-bottom: 80px;
	box-sizing: border-box;
	float: right;
}


/* START */
#page1 .bildband {
	height: 222px; /* AN BILDHOEHE ANPASSEN VVV */
	width: 1000px;
	margin-top: -10px;
	margin-bottom: 50px;
	margin-left: -20px;
}

#page1 .bildband img {
	width: auto;
	height: 222px;
	float: left;
}

#page1 .wide_content h3 {
	float: right;
	margin: 20px;
	margin-right: 90px;
	margin-bottom: 80px;
}

/* PRAXIS */
#page2 img.willkommen {
	width: 220px;
	margin-top: 20px;
	margin-left: 20px;
	float: right;
	clear: none;
}

#page2 p.willkommen {
	margin-top: 20px;
}

.gallery {
	width: 100%;
	border: solid 1px #993233;
	border-radius: 5px;
	overflow: hidden;
}

.preview {
	width: 100%;
	position: relative;
	overflow: hidden;	
}

.preview img {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: 1.5s
}

.preview img:first-child {
	position: static !important;
	opacity: 1;
}

.ppbutton {
	width: 50px !important;
	height: 50px !important;
	position: absolute;
	left: 50% !important;
	margin-left: -25px;
	top: 85% !important;
	margin-bottom: -50px;
	opacity: 0.6 !important;
	transition: 0.3s;
}

.ppbutton:hover {
	opacity: 1 !important;
	transition: 0.2s;
}

.thumbnails {
	width: 100%;
	overflow: hidden;
}

.thumbnails img {
	width: 20%;
	margin-right: -4px;
	opacity: 0.8;
	border: solid 1px rgba(255, 255, 255, 0);
	box-sizing: border-box;
	transition: 0.3s;
}

.thumbnails img:hover {
	border: solid 1px #aea99b;
	opacity: 1;
	transition: 0.2s;
	cursor: pointer;
}

#page2 img.standort {
	width: 300px;
	float: right;
	margin-left: 20px;
}

#page2 img.teamsitzung,
#page2 img.rezeption {
	width: 400px;
	margin-left: 20px;
	float: right;
}

#page2 img.rezeption {
	width: 300px;
}

#page2 .narrow_content li {
	margin-left: 20px;
}

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

.warnung {
	padding: 10px;
	border: solid 1px #993233;
}

#page2 img.news {
	width: 300px;
	margin-left: 20px;
	float: right;
}

#page2 img.news.last-image {
	width: 190px;
	margin-top: -50px;
}

/* News zu neuer Praxis */
#headerNeu {
	position: relative;
	min-height: 160px;
}

#headerNeu img {
	position: absolute;
	right: 95px;
	width: 100px;
}

#headerNeu #headerBeschreibung {
	position: absolute;
	right: 200px;
	top: 30px;
	color: #aea99b;
	font-size: .8em;
	width: 100px;
}

#headerNeu #headerName {
	position: absolute;
	right: 0;
	top: 75px;
	color: #993233;
	font-weight: bold;
	text-transform: uppercase;
	width: 300px;
	font-size: 1.2em;
	letter-spacing: 3px;
}

#headerNeu hr {
	position: absolute;
	top: 110px;
	margin: 0;
	width: 100%;
	border-top: solid 10px #aea99b;
}

#headerNeu #headerSchwerpunkt {
	position: absolute;
	top: 125px;
	right: 0;
	color: #aea99b;
	font-size: .8em;
	width: 300px;
}

#page2 #source7 .nowrap {
	text-wrap: nowrap;
}

/* Ende News zu neuer Praxis */

#gutschein {
	position: relative;
	width: 760px;
	height: 538px;
}

#gutschein span {
	font-size: large;
	color: white;
	opacity: 0.5;
	background: black;
	padding: 10px 15px;
	border-radius: 5px;
	position: absolute;
	left: 50%;
	top: 93%;
	margin-left: -135px;
	z-index: 10;
}

#gutscheinMobileSpan {
	display: none;
}

#gutscheinWrapper {
	position: absolute;
	left: 50%;
	width: 256px;
	height: 100%;
	box-shadow: 0px 2px 10px grey;
	transform: rotate3d(0, 0, 1, -5deg);
	transition: 1.5s;
}
#gutschein.flipped #gutscheinWrapper {
	left: 0;
	width: 100%;
	transform: rotate3d(0, 1, 0, -180deg);
	transition: 1s;
}


#imgFront {
	position: absolute;
	width: 100%;
	height: 100%;
	transition: 0.5s;
}
#gutschein.flipped #imgFront {
	opacity: 0;
	
}

#imgBack {
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0;
	transform: rotate3d(0, 1, 0, 180deg);
	transition: 0.5s;
}
#gutschein.flipped #imgBack {
	opacity: 1;
}


/* TEAM */
#page3 .narrow_content {
	text-align: center; /* Einfacheres Styling */	
}

#page3 .narrow_content ul {
	margin-left: -32px;
}

.allgemein li {
	margin-left: 20px !important;
}

li.employee {
	width: 170px;
	height: 170px;
/* 	float: left; */ /* Einfacheres Styling */
	display: inline-block; /* Einfacheres Styling */
	margin: 5px;
	background: black;
	transition: 0.3s;
	list-style: none;
	position: relative;
}

.employee span {
	width: 170px;
	height: 170px;
	display: table;
	position: absolute;
	left: 0px;
	top: 0px;
	background: rgba(0, 0, 0, 0.4);
	color: white;
	vertical-align: middle;
	opacity: 0;
	transition: 0.3s;
}

.employee span span {
	display: table-cell;
	vertical-align: center;
	text-align: center;
	height: 170px;
	padding-top: 130px;
	background: none;
	box-sizing: border-box;
}

.employee span:hover {
	opacity: 1;
	transition: 0.2s;
}

/*
.employee:hover img {
	opacity: 0.4;
	transition: 0.2s;
}
*/

.employee img {
	width: 170px;
	height: 170px;
}

.employeeul {
	height: 230px;
	margin-bottom: 15px;
	margin-left: auto;
	margin-right: auto;
}

.employeeul h5 {
	margin-top: 15px;
	margin-bottom: 5px;
	text-align: center;
}

.employeeul ul {
	margin-top: 0px;
	margin-left: -40px !important;
}

.empfang {
	width: 370px;
}

.inhaber {
/* 	width: 180px;  */ /* Einfacheres Styling */
	height: 230px;
}

/* Bringt Inhaber und Angestellte in die selbe Zeile */
.inhaber,
.angestellte {
	margin-left: 0;
	margin-right: 0;
	display: inline-block;
}
/* Zentriert Inhaber und Angestellte */
.employeeWrapper {
/* 	width: 370px; /* 2*180px + 10px | 180px pro Profil */  /* Einfacheres Styling */
	margin-left: auto;
	margin-right: auto;
}

.angestellte {
/* 	width: 180px; */ /* Einfacheres Styling */
	height: 230px;
}

.mitarbeiter {
/* 	width: 550px; */ /* Einfacheres Styling */
	height: 230px;
}

.mieter {
/* 	width: 370px; */ /* Einfacheres Styling */
}


.profile {
	list-style: none;
	padding-top: 10px;
	text-align: left; /* Einfacheres Styling */
}

.profile p {
	margin-top: -20px;
	margin-bottom: 20px;
	width: calc(100% - 250px);
}

.profile h5 {
	max-width: calc(100% - 250px);
}

.button {
	border: solid 1px #993233;
	padding: 5px;
	padding-left: 10px;
	padding-right: 10px;
	color: #993233;
	transition: 0.3s;
}

.button:hover {
	background: #993233;
	color: white;
	transition: 0.2s;
	text-decoration: none;
}

.profile h3,
.profile h4 {
	width: 60%;
	display: block;
}

.profile .desc {
	margin-top: -20px;
	margin-bottom: 50px;
}

.profile h4 {
	margin-top: 0px;
	font-size: 1.3em;
}

.profile h5 {
	font-size: 1em;
	color: #993233;
}

.profile img {
	float: right;
	clear: none;
	margin-top: -135px;
	margin-left: 20px;
	width: 240px;
	height: 240px;
}

.logo {
	height: 100px !important;
	width: 100px !important;
}

.profile ul li,
.profile ul li ul li {
	margin-left: 1em;
}

/* THERAPIEN */
.smallh5,
#page4 .narrow_content h5 {
	font-size: 1em;
	margin-bottom: 10px;
}

.narrow_content h5,
.narrow_content h4 {
	color: #993233;
}

#page4 .nav ul li:first-child {
	margin-top: 15px;
}

#page4 .nav ul li:first-child, /* ABSTAND ZWISCHEN NAV BLÖCKEN */
#page4 .nav ul li:first-child + li + li + li + li + li + li {
	margin-bottom: 18px;
	/*border-bottom: dashed 1px white;*/
}

#page4 .narrow_content ul li {
	margin-left: 1em;
	margin-bottom: 0.5em;
}

#page4 .narrow_content div { /* THERAPIEN - NICHT BENÖTIGT - EVTL EINZELNE DIVS LOGISCH ABTRENNEN */
}

#page4 ul.physiotherapie {
	border: solid 1px black;
	float: left;
	margin-left: 5px;
	margin-right: 5px;
	margin-bottom: 20px;
	width: 370px;
	box-sizing: border-box;
	min-height: 300px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 30px;
}

#page4 ul.physiotherapie li {
	font-size: small;
}

#page4 .narrow_content img {
	width: 300px;
}

#page4 img.physiotherapie {
	margin-left: 75px;
}
#page4 img.physiotherapie + img {
	margin-left: 5px;
}

#page4 img.rechts {
	float: right;
	margin-left: 20px;
	margin-top: 5px;
	margin-bottom: 20px;
}

.mittel {
	width: 270px !important;
}

.klein {
	width: 200px !important;
}

.kleiner {
	width: 150px !important;
}

.top {
	margin-top: -20px !important;
}

.unten {
	margin-top: 100px !important;
}

/* KONTAKT */
.liste h4,
#page5 form h4 {
	color: #993233;
	margin-bottom: 0px;
}

.liste hr,
#page5 form hr {
	margin-top: 15px;
	margin-bottom: 35px;
}

#page5 form {
	margin-bottom: 140px;
}

#page5 form table {
	text-align: right;
	margin-left: auto;
	margin-right: auto;
}

#page5 form table tr td:first-child {
	padding: 5px;
	vertical-align: top;
}

#page5 input,
#page5 select,
#page5 textarea {
	width: 100%;
	font-size: 1em;
}

#success {
	display: none;
	width: 40%;
	margin-left: 30%;
	margin-right: 30%;
	height: 3em;
	line-height: 3em;
	font-size: 1.5em;
	font-weight: 300;
	margin-top: 100px;
	margin-bottom: 100px;
	text-align: center;
	background: rgba(0, 128, 0, 0.68);
	color: white;
}

#success:target {
	display: block;
}

#success:target + form {
	display: none;
}

.footer {
	border-radius: 0px 0px 10px 10px;
	background: #aea99b;
	color: white;
	clear: both;
	width: 100%;
	height: 200px;
	font-size: smaller;
	z-index: 20;
}

.footer div {
	width: 230px;
	float: left;
	margin-left: 90px;
}

.footer div:last-child {
	width: 100%;
	line-height: 30px;
	margin-left: 0px;
	text-align: center;
}

.footer div:last-child p {
	float: none;
}

.footer p {
	font-weight: 300;
	display: block;
	float: left;
	margin-left: 5px;
	margin-right: 5px;
}

.footer hr {
	border-top: solid 1px white;
	width: 90%;
	margin-top: 10px;
	margin-bottom: 5px;
	margin-left: -5px;
}

.footer a {
	color: white;
	transition: 0.2s;
}

.footer a:hover {
	color: #993233;
	transition: 0.1s;
	text-decoration: none;
}

#page6 .wide_content p,
#page6 .wide_content table {
	margin-left: 20px;
}

.corona {
	display: inline-block;
	position: absolute;
	top: 220px;
	right: 10px;
	background: white;
	transform: rotateZ(10deg);
}

/* jQuery mobile CSS */
.ui-loading .ui-loader { display: block; }
.ui-loader { display: none; position: absolute; opacity: .85; z-index: 100; left: 50%; width: 200px; margin-left: -130px; margin-top: -35px; padding: 10px 30px; }

/* Warning */
#warning {
	max-width: 1000px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	background: #993233;
	color: white;
	padding: 20px;
	box-sizing: border-box;
	border-radius: 0px 0px 10px 10px;
}

.nav {
	top: 360px;
}

.cd-top div {
	top: 307px;
}