/*
Theme Name: Dr. Astrid Steinkellner
Author: Juergen Haberfellner
Author URI: https://www.juergenhaberfellner.com/
Version: 1.0
*/



@font-face {
    font-family: 'source_sans_proregular';
    src: url('assets/fonts/sourcesanspro-regular.eot');
    src: url('assets/fonts/sourcesanspro-regular.eot?#iefix') format('embedded-opentype'),
         url('assets/fonts/sourcesanspro-regular.woff2') format('woff2'),
         url('assets/fonts/sourcesanspro-regular.woff') format('woff'),
         url('assets/fonts/sourcesanspro-regular.svg#source_sans_proregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'source_sans_prosemibold';
    src: url('assets/fonts/sourcesanspro-semibold.eot');
    src: url('assets/fonts/sourcesanspro-semibold.eot?#iefix') format('embedded-opentype'),
         url('assets/fonts/sourcesanspro-semibold.woff2') format('woff2'),
         url('assets/fonts/sourcesanspro-semibold.woff') format('woff'),
         url('assets/fonts/sourcesanspro-semibold.svg#source_sans_prosemibold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'source_sans_probold';
    src: url('assets/fonts/sourcesanspro-bold.eot');
    src: url('assets/fonts/sourcesanspro-bold.eot?#iefix') format('embedded-opentype'),
         url('assets/fonts/sourcesanspro-bold.woff2') format('woff2'),
         url('assets/fonts/sourcesanspro-bold.woff') format('woff'),
         url('assets/fonts/sourcesanspro-bold.svg#source_sans_probold') format('svg');
    font-weight: normal;
    font-style: normal;
}



/*** RESET ***/
html, body,
div, img, br,
h1, h2, h3, h4, h5, h6, p, a, em, span, strong, small, i, b, u, blockquote, q, strike,
ul, ol, li, dl, dt, dd,
address, hr, s, cite, dfn, abbr, code, var, samp, kbd, sub, sup, ins, del, pre, 
iframe, object, param, video, audio, source, track, canvas, map, area, svg, math,
form, fieldset, legend, label, input, button, select, textarea, datalist, optgroup, option, keygen, output, progress, meter,
table, caption, colgroup, col, tbody, thead, tfoot, td, th,
section, nav, article, aside, header, footer, main, figure, figcaption, data, time, mark, ruby, rt, rp, bdi, bdo, wbr, embed, details, summary, command, menu {
	margin: 0;
	padding: 0;
	border: 0;
	outline: none;
	line-height:1;
	font-weight: 400;
}

html {
	-webkit-text-size-adjust: none;
}
/*** END RESET ***/


html {
	min-height: 100%;
	position: relative;
}

body {
	font-size: 100%;
	font-weight: 400;
	color: #6e6e6e;
	background: #f9f9f9;
	font-family: 'source_sans_proregular', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
}

p, li, address {
	line-height: 1.5;
	font-size: inherit;
}

li {
	list-style: none;
	padding: 0 0 .2rem 2.2rem;
	background: url("data:image/svg+xml,%3Csvg height='405.272' viewBox='0 0 405.272 405.272' width='405.272' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m393.401 124.425-213.798 213.783c-15.832 15.835-41.514 15.835-57.361 0l-110.364-110.372c-15.838-15.835-15.838-41.52 0-57.358 15.841-15.841 41.521-15.841 57.355-.006l81.698 81.699 185.106-185.107c15.841-15.841 41.523-15.829 57.358 0 15.835 15.838 15.835 41.514.006 57.361z'/%3E%3C/svg%3E") no-repeat .2rem .2rem;
	background-size: 1.1rem auto;
}

strong {
	font-family: 'source_sans_prosemibold', sans-serif;
}

h1, h2 {
	font-family: 'source_sans_probold', sans-serif;
}

h1 {
	font-size: 2rem;
}

h2 {
	font-size: 2rem;
	margin-bottom: 1.5rem;
}

h3 {
	font-family: 'source_sans_prosemibold', sans-serif;
	font-size: 1.4rem;
	margin: 1.6rem 0 .6rem;
}

p, li, address {
	font-size: 1rem;
}

p + ul {
	margin-top: 1rem;
}

time, span, strong, b, i {
	line-height: inherit;
}

a {
	color: #6e6e6e;
	line-height: inherit;
	
	-moz-transition: all .2s;
	-webkit-transition: all .2s;
	-o-transition: all .2s;
	transition: all .2s;
}
a:hover,
a:focus {
	color: #353535;
}

td {
	padding: .2rem;
}



header .content,
#intro .content,
.page-block {
	max-width: 66rem;
	margin: 0 auto;
	width: 93%;
}

.wp-block-buttons {
	margin: .9rem 0;
}

body .wp-block-columns,
body .wp-block-image {
	margin-bottom: 0;
}

body .wp-block-columns + *,
body .wp-block-column + *,
body .wp-block-image + * {
	margin-top: 1.75rem;
}

body .wp-block-button__link {
	background: #6e6e6e;
}
body .wp-block-button__link:hover,
body .wp-block-button__link:focus {
	background: #353535;
}


header {
	display: block;
	background: rgba(110,110,110,.95);
	padding: 1.5rem 0 1.3rem;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	
	-webkit-box-shadow: 0 0 .5rem 0 rgba(150,150,150,.3);
	-moz-box-shadow: 0 0 .5rem 0 rgba(150,150,150,.3);
	box-shadow: 0 0 .5rem 0 rgba(150,150,150,.3);
}

header .content {
	text-align: right;
	position: relative;
}

#logo {
	float: left;
	text-align: left;
	color: #fff;
	text-decoration: none;
	font-size: 1.4rem;
	font-family: 'source_sans_prosemibold', sans-serif;
}

#res-nav {
	width: 2rem;
	height: 1.5rem;
	position: absolute;
	right: 0;
	top: -.1rem;
	cursor: pointer;
}

#res-nav span,
#res-nav span:after,
#res-nav span:before {
	height: .3rem;
	background: #fff;
	display: block;
	margin-top: .6rem;
	
	-moz-transition: all .2s;
	-webkit-transition: all .2s;
	-o-transition: all .2s;
	transition: all .2s;
	
	-webkit-border-radius: .2rem;
	-moz-border-radius: .2rem;
	border-radius: .2rem;
}
#res-nav:focus span,
#res-nav:focus span:after,
#res-nav:focus span:before {
	background: #dedede;
}

#res-nav span:after,
#res-nav span:before {
	content: "";
	margin: 0;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
}

#res-nav span:after {
	top: auto;
	bottom: 0;
}

.nav-open #res-nav span {
	left: 50%;
	right: 50%;
	width: 0;
}

.nav-open #res-nav span:after,
.nav-open #res-nav span:before {
	top: 13px;
}

.nav-open #res-nav span:before {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.nav-open #res-nav span:after {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

#navigation {	
	background: rgba(255,255,255,.95);
	position: fixed;
	top: 4.15rem;
	left: -100%;
	width: 90%;
	padding: 1rem 5%;
	bottom: 0;
	
	-moz-transition: left .2s;
	-webkit-transition: left .2s;
	-o-transition: left .2s;
	transition: left .2s;
}

.nav-open #navigation {
	left: 0;
}


#navigation li {
	list-style: none;
	margin-bottom: .9rem;
	background: 0;
	padding: 0;
}

#navigation a {
	text-decoration: none;
	display: inline-block;
	border-bottom: 1px solid #6e6e6e;
	font-size: 1.1rem;
	line-height: 1.3;
}
#navigation a:hover,
#navigation a:focus {
	border-color: transparent;
}


#intro {
	/*
	background: url("assets/images/intro.jpg") no-repeat 16vw 0 #fff;
	background-size: auto 23rem;
	height: 14rem;
	*/
	background: url("assets/images/stethoskop_bg.jpg") no-repeat 55vw 0 #fff;
	background-size: auto 90%;
	height: 12rem;
	padding: 6.5rem 0 0;
}

#intro p {
	font-size: 1.2rem;
	line-height: 1.5;
	/*
	margin: 4.8rem 0 0;
	*/
	margin: 1.8rem 0 0;
}


.page-block {
	padding-top: 6rem;
	margin-top: -2rem;
}

.page-block .content {
	background: #fff;
	padding: 1.8rem;
	
	-webkit-border-radius: .5rem;
	-moz-border-radius: .5rem;
	border-radius: .5rem;
	
	-webkit-box-shadow: 0 0 .5rem 0 rgba(150,150,150,.1);
	-moz-box-shadow: 0 0 .5rem 0 rgba(150,150,150,.1);
	box-shadow: 0 0 .5rem 0 rgba(150,150,150,.1);
}

#intro + .page-block {
	margin: -3rem auto;
}

.layout-grau.page-block .content {
	background: #6e6e6e;
	padding: .7rem;
}

.layout-grau.page-block * {
	color: #fff;
	font-size: 1.2rem;
	text-align: center;
	font-family: 'source_sans_prosemibold', sans-serif;
}

.layout-notice.page-block .content {
	padding: 1.5rem;
	border: 2px dotted #6e6e6e;
	background-color:transparent;
}



.page-block p + p {
	margin-top: .6rem;
}

footer {
	display: block;
	padding: 2rem 5%;
	text-align: center;
	color: #acacac;
}

footer p {
	font-size: .8rem;
}



@media only screen and (min-width: 600px) {
	body .wp-block-column + * {
		margin-top: 0;
	}
}



@media only screen and (min-width: 800px) {
	body .wp-block-column:not(:first-child) {
		margin-left: 5rem;
	}
	
	#res-nav {
		display: none;
	}
	
	#navigation {
		position: static;
		padding: 0;
		background: transparent;
		width: auto;
	}
	
	#navigation li {
		display: inline-block;
		margin-bottom: 0;
	}
	
	#navigation li + li {
		margin-left: 1.3rem;
	}
	
	#navigation a {
		color: #fff;
		border-bottom-color: #fff;
	}
	
	
	h1 {
		font-size: 2.8rem;
		padding-top: 2rem;
	}
	
	#intro {
		/*
		background-position: calc(50% + 33vw) 0;
		background-size: auto 30rem;
		height: 16rem;
		*/
		background-position: 50vw 0;
		background-size: auto 93%;
		height: 14rem;
	}
	
	#intro p {
		font-size: 1.4rem;
		margin-top: 2.5rem;
	}
	
	.page-block .content {
		padding: 2rem;
	}
}



@media only screen and (min-width: 1000px) {	
	#navigation li + li {
		margin-left: 2.2rem;
	}
	
	h1 {
		padding-top: .3rem;
		font-size: 3.6rem;
	}
	
	#intro {
		/*
		background-position: calc(50% + 15vw) 0;
		background-size: auto 30rem;
		height: 16rem;
		*/
		background-position: calc(50% + 22vw) 0;
		background-size: auto 95%;
		height: 14rem;
	}
	
	#intro p {
		font-size: 1.7rem;
		margin-top: 1rem;
	}
	
	.page-block .content {
		padding: 3rem;
	}
}


#wpadminbar {
	display: none !important;
}
