html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
html, body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, 
blockquote:after,
q:before, 
q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

form {}


/* Start */

body {
	background-color: rgb(0,100,185); 
	font-family: "adelle-condensed",serif;
	font-weight: 400;
	font-style: normal;
	font-size: 14px;
	color:rgb(0,100,185);
	line-height: 20px;
}


a {
	color: rgb(0,100,185);
	text-decoration: none;
}
strong {
	font-weight: 700;
}


a:hover { 
	text-decoration: none;
}
.weblink a:hover { 
color:rgb(150,150,150);
}

#wrapper {
	margin: 0 auto;
	width: 980px;
}

header {
margin: 40px 0 60px 0;
padding: 0 10px 0 0 ;
text-align: right;

}

header h1 {
	font-weight:700;
	margin: 15px 0 5px 0;

}
header h1 span {
	font-weight:200;
}

h1 {
	font-size: 20px;
	color:rgb(0,100,185);
}
h2 {
	font-size: 14px;
	color:rgb(0,100,185);
	font-weight:700;
}

/* Content */
.section-content {
	position:relative;
}
.aerzte-grid {
	display:grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-template-rows:repeat(5, 260px);
	column-gap: 30px;
  	row-gap: 30px;
	width:100%;
	justify-items: stretch;
}

article {
	box-sizing: border-box;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.3);
	box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.3);
	position:relative;
}
article.arzt {
	padding: 12px 12px 12px 12px ;
	/*width: 220px;
	margin: 0 30px 30px 0;*/
	background-color: white;
	/*min-height: 166px;*/
}
#overview article.arzt {
	cursor:pointer;
}

article.dalisda, article.apotheke {
	/*min-height: 320px;*/
}
article.picture {
	grid-column-start:1;
	grid-column-end:4;
	grid-row-start:1;
	grid-row-end:3;
	overflow:hidden;
}
article.map {
	grid-column-start:2;
	grid-column-end:5;
	overflow:hidden;
}
article.apotheke {
	grid-column-start:1;
	grid-column-end:2;
	min-height:320px;
}
article.picture,
article.picture2 {
	overflow:hidden;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.3);
	box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.3);
	box-sizing:border-box;
	width:100%;
	height:100%;
}
article.picture span,
article.picture2 span {
	position:absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}
article.picture span img,
article.picture2 span img {
	object-fit: cover;
	object-position: 50% 50%; /* die zweite Angabe ist für die vertikale Position */
	width:100%;
	height:100%;

}






article.picture,
article.picture2, 
article.map {
	padding: 0;
	/*margin: 0 30px 30px 0;*/
}
/*
article.picture img,
article.picture2 img {
	display:block;
	padding:0;
	margin:0;
	border:none;
	width: 100%;
	height:auto;

	object-fit: cover;
	object-position:50%;
}
*/
article.picture2 img {
	height:100%;
	width:auto;
}
article.map {
	background-color: white;
}
article.map iframe {
	-webkit-border-radius: 4px;
	border-radius: 4px;
}



article h1{
	font-size: 17px;
	font-weight:bold;
	line-height: 24px;
}
article.wachsmuth h1{
	line-height: 22px;
}

article h2 {
	font-weight: 400;
	margin-top:10px;
}
article.wachsmuth h2{
	margin-top:5px;
}

article hgroup {
	
}

.smart-slideAll {
	display:block;
	border-top: none;
	margin-top:0;
	position:relative;
}

.btn {
	display: block;
	position:absolute;
	left:10px;
	bottom:10px;
	font-weight: $btn-font-weight;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	user-select: none;
	border: 1px solid transparent;
	padding: .15rem .5rem;
	font-size: .875rem;
	line-height: 1.5;
	border-radius: .2rem;
	color: #fff;
	background-color: rgb(0,100,185);
	border-color: rgb(0,100,185);
}
.btn:hover {
	-webkit-box-shadow: 0 0 1px 1px rgba(0,0,0,0.3);
	box-shadow: 0 0 1px 1px rgba(0,0,0,0.3);
}





article.map{
	/*width: 720px;*/
	padding:0;
	min-height: 320px;
	margin-right:0;
}
.openstreetmap iframe {
    height: 260px;
    width: 100%;
}
.maptext {
	margin: 20px 0 0 10px;
}

.ahorn-logo {
	width:130px;
	height:auto;
	margin-left:30px;
}

/* Detail-Page Menu */

.menu {
	padding: 0;
	width: 220px;
	margin: 0 30px 0 0;
	min-height: 166px;
	box-sizing: border-box;
	float:left;
}
.menu li{
	-webkit-border-radius: 2px;
	border-radius: 2px;
}
.menu li a {
	display: inline-block;
	padding:0 8px;
	line-height:30px;
	width: 100%;
	margin: 0 0 5px 0;
	background-color: white;
	box-sizing: border-box;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}
.menu li a.active {
	background-color:rgb(0,100,185);
	color:white;
}

.hamburger {
	display:none;
	width:30px;
	cursor: pointer;
	position:absolute;
	left:0;
	top:154px;
	z-index: 500;
}
.hamburger-line {
	height:3px;
	margin-bottom:4px;
	background-color: white;
}

/* Bounce To Right */
.hvr-bounce-to-right {
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px transparent;
	position: relative;
	-webkit-transition-property: color;
	transition-property: color;
	-webkit-transition-duration: 0.5s;
	transition-duration: 0.5s;
  	-webkit-border-radius: 2px;
	border-radius: 2px;
}
.hvr-bounce-to-right:before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgb(0,100,185);
	-webkit-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transform-origin: 0 50%;
	transform-origin: 0 50%;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transition-duration: 0.5s;
	transition-duration: 0.5s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
  	-webkit-border-radius: 2px;
	border-radius: 2px;
	display:inline-block;
}
.hvr-bounce-to-right:hover, .hvr-bounce-to-right:focus, .hvr-bounce-to-right:active {
  color: white;
  
}
.hvr-bounce-to-right:hover:before, .hvr-bounce-to-right:focus:before, .hvr-bounce-to-right:active:before {
	-webkit-transform: scaleX(1);
  	transform: scaleX(1);
  	-webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
  	transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
  	-webkit-border-radius: 2px;
	border-radius: 2px;
}

/* Detail Page */

article.detail {
	float: left;
	padding: 12px 12px 12px 12px ;
	width: 720px;
	margin: 0 0 30px 0;
	background-color: white;
	min-height: 382px;
}
.detail-page .map {
	margin-left:250px;
	width:720px;
}
.detail-page .smart-slideAll {
	margin:10px 30px 10px 0;
	width:230px;
	display:block;
	float:left;
	position:relative;
	z-index:20;
}
.detail-page .offers {
	margin:20px 30px 10px 238px;
		position:relative;
		z-index:10;
}
.detail-page .offers h2 {
	margin:10px 30px 10px 0;
	font-weight:700;
}
.detail-page .offers ul {
	display:inline-block;
	position:relative;
	list-style-type: disc;
	padding:10px 0 0 15px;
}
.detail-page .offers li {
	
}
.detail-page .openstreetmap iframe {
    width: 720px;
}

.phone {
	padding: 20px 0 10px 0;
}
.phone.rudolph {
	padding: 10px 0 10px 0;
}

.weblink.rudolph {
	padding: 0 0 10px 0;
	min-height: 40px;
	margin-bottom:30px;
}
.weblink a{}


.opening-hours{
	padding: 10px 0 10px 0;
}

td {
	padding: 0 10px 0 0;
}

/* Footer */

footer{
	font-size: 11px;
	letter-spacing: 0.05em;
	text-align: right;
	margin: 100px 0 40px 0;
	clear: both;
	color:white;
	box-sizing: border-box;
	padding-right:10px;
}
footer a {
	color:white;
}


/* ========================================================================== */
/* ================================= 900 =================================== */

@media only screen and (min-width: 1000px) {
	.menu {display:block !important;}
}

@media only screen and (max-width: 1059px) {
	#wrapper {
		width: initial;
		margin-left:30px;
		margin-right:30px;
		box-sizing:border-box;
		overflow:hidden;
	}

	header {
		text-align:right;
		overflow:hidden;
		padding:0;
		float:right;
	}
	header img{
		margin-left:initial;
		width:980px;
		height:auto;
	}
	
	.aerzte-grid {
		grid-template-columns: 1fr 1fr 1fr 1fr;
		grid-template-rows:repeat(5, 260px);
		column-gap: 30px;
		row-gap: 30px;
		width:100%;
	}
	
	article.apotheke {
		min-height: 320px;
	}
	article.apotheke {
		/*width:220px;*/
		margin-right:0;
	}
	.ahorn-logo {
		margin-left: 0;
	}
	article.map {
		/*width: 470px;
		margin:0 0 0 30px;*/
	}
	.openstreetmap iframe {
		height: 260px;
		/*width: 470px;*/
	}
	.smart-slideAll {
		display:none;
	}
	.apotheke .smart-slideAll {
		display:block;
		float:right;
		margin:10px 80px 0 0;
	}
	.hours {
		display: block;
	}
	article.apotheke .hours {
		
	}
	
	.ahorn-logo {
		cursor: pointer;
	}
	.map {
		min-height:325px;
	}
	
	/* Detail Page Menu*/
	
	.hamburger {
		display:none;
	}
	.menu {
		display:block;
		width:30%;
	}
	
	/* Detail Page */

	article.detail {
		width: calc(70% - 30px);
	}
	.detail-page .map {
		width: calc(70% - 30px);
		margin-left: calc(30% + 30px);
	}
	

	/* Footer */
	
	footer{
		padding:0 20px;
	}

}

@media only screen and (max-width: 940px) {
	.aerzte-grid {
		grid-template-columns: 1fr 1fr 1fr ;
		grid-template-rows:repeat(5, 260px);
		column-gap: 30px;
		row-gap: 30px;
	}
	article.picture {
		grid-column-start: 1;
		grid-column-end: 3;
		grid-row-start: 1;
		grid-row-end: 3;
	}
	article.picture2 {
		grid-column-start: initial;
		grid-column-end: initial;
		display:none;
	}
	.aerzte-grid article.apotheke {
		grid-column-start: 2;
		grid-column-end: 4;
		min-height:auto;
	}
	.aerzte-grid article.apotheke .smart-slideAll {
	
		margin-top:-20px;
	}
	article.map {
		grid-column-start: 1;
		grid-column-end: 4;
	}

}

/* ========================================================================== */
/* ================================= 666 =================================== */

@media only screen and (min-width: 500px) and (max-width: 749px) {
	.aerzte-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows:repeat(6, 260px);
		column-gap: 30px;
		row-gap: 30px;
	}
	article.picture {
		grid-column-start: 1;
		grid-column-end: 3;
		grid-row-start: 1;
		grid-row-end: 3;
	}
	article.picture2 {
		grid-column-start: initial;
		grid-column-end: initial;
		display:none;
	}
	.aerzte-grid article.apotheke {
		grid-column-start: initial;
		grid-column-end: initial;
		min-height:auto;
	}
	.aerzte-grid article.apotheke .smart-slideAll {
		min-height:240px;
		margin-top:20px;
		margin-left:30px;
		float:none;
	}
	article.map {
		grid-column-start: 1;
		grid-column-end: 3;
	}
	
	/* Detail Page Menu*/
	
	.hamburger {
		display:block;
	}
	.menu {
		display:none;
		width:100%;
		margin-bottom:30px;
	}
	
	/* Detail Page */
	
	article.detail {
		width: 100%;
	}
	.detail-page .map {
		margin-left:0;
		width:100%;
	}
	

}
/* ========================================================================== */
/* ================================= 320 =================================== */

@media only screen and (min-width: 1px) and (max-width: 499px) {
	
	.aerzte-grid {
		grid-template-columns: 1fr;
		grid-template-rows:repeat(11, 180px);
		column-gap: 30px;
		row-gap: 30px;
	}
	article.picture {
		grid-column-start: initial;
		grid-column-end: initial;
		grid-row-start: 1;
		grid-row-end: 3;
	}
	article.picture2 {
		grid-column-start: initial;
		grid-column-end: initial;
		display:none;
	}
	.aerzte-grid article.apotheke {
		grid-column-start: initial;
		grid-column-end: initial;
		min-height:auto;
	}
	.aerzte-grid article.apotheke .smart-slideAll {
		min-height:240px;
		margin-top:20px;
		margin-left:30px;
		float:none;
	}
	article.map {
		grid-column-start: initial;
		grid-column-end: initial;
	}
	
	/* Detail Page Menu*/
	
	.hamburger {
		display:block;
	}
	.menu {
		display:none;
		width:100%;
		margin-bottom:30px;
	}
	
	/* Detail Page */
	
	article.detail {
		width: 300px;
	}
	.detail-page .map {
		margin-left:0;
		width:300px;
	}
	.detail-page .smart-slideAll {
		width:100%;
	}
	.detail-page .offers {
		margin:10px 0 50px 0;
	}
	.detail-page .offers h2 {}
	.detail-page .offers ul {}
	.detail-page .offers li {}
	.detail-page .openstreetmap iframe {
		width: 300px;
	}

}