/*
Theme Name: Schmerztherapie Berlin
Theme URI: https://schmerz-therapie.berlin
Description: Wordpress Theme Schmerztherapie Berlin
Author: Schmerztherapie Berlin
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags:
*/

body {
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;
	font-size: 16px;
	background-color: #ffffff;
	line-height: 1.2;
}

/* table definition */
.table {
	display: table;
	border-collapse: collapse;
}

.table-full {
	width: 100%;
}

.table-row {
	display: table-row;
}

.table-cell {
	display: table-cell;
}

/* layout options */
.align-bottom {
	vertical-align: bottom;
}

.align-top {
	vertical-align: top;
}

.align-center {
	text-align: center;
}

nav.main-nav li.schmerztherapie > a,
div.schmerztherapie {
	background-color: #b5e086;
}

nav.main-nav li.round > a,
div.round {
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	padding: 0.55em 1.8em;
}

main article.post header h2 {
	margin-top: 0.1em !important;
}

main article {
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	padding: 0.7em;
	margin-bottom: 0.5em;
}

main article.post.category-st {
	background-color: #b5e08677;
}

body main article.page {
	background-color: #b5e08677;
}

.title-doctors {
	font-size: 0.8em;
	margin-top:10px;
}

#title-bar {
	margin-left: auto;
	margin-right: auto;
	width: 950px;
	max-width: 950px;
	table-layout: fixed;
	margin-top: 1em;
}
#title-bar .table-cell:first-child {
	width: 300px;
}
#title-bar .table-cell:first-child > div {
	display: inline-block;
	text-align: left;
}

#title-nav {
	margin-left: auto;
	margin-right: auto;
	width: 950px;
	max-width: 950px;
	background-image: url('img/title-nav.png');
	background-position: center;
	background-repeat: repeat-x;
}

#title-nav nav {
	padding: 5px;
	box-sizing: border-box;
	font-size: 0;
}

#title-nav nav a {
	background-color: #69b088;
	box-sizing: border-box;
	display: block;
	text-decoration: none;
	color: #000000;
	font-size: 14px;
	height: 32px;
	padding: 7px 12px;
}

#title-nav nav li:first-child a {
	-webkit-border-top-left-radius: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-bottomleft: 6px;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
}

#title-nav nav li:last-child a {
	-webkit-border-top-right-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	-moz-border-radius-topright: 6px;
	-moz-border-radius-bottomright: 6px;
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
}

#title-nav nav > ul {
	list-style: none;
	text-align: center;
}
#title-nav nav > ul > li {
	display: inline-block;
}
	
#title-nav nav > ul li:hover > a {
	background-color: #dddddd;
}

main {
	margin-left: auto;
	margin-right: auto;
	width: 950px;
	max-width: 950px;
}

#main-table > .table-row > .table-cell:first-child {
	width: 180px;
}

.door {
	width: 180px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

#main-content {
	padding: 1em;
	font-size: 14px;
}

nav.main-nav a {
	box-sizing: border-box;
	display: block;
	text-decoration: none;
	color: #000000;
	font-size: 14px;
	margin-bottom: 1em;
}

nav.main-nav li ul {
	display: none;
}

nav.main-nav li.current-menu-item ul,
nav.main-nav li.current-menu-parent ul {
	display: unset;
}

nav.main-nav li li a {
	padding: 0 1.8em;
}

article header {
	margin-bottom: 1em;
}

.hamburger-image {
	display: none;
	float: right;
	vertical-align: top;
}

article img {
	border: 2px solid #ffffff;
}

.hamburger-image img {
	margin: 1em 0;
}

.mobile-nav {
	display: none;
}

.mobile-nav nav a {
	box-sizing: border-box;
	display: block;
	text-decoration: none;
	color: #000000;
	font-size: 16px;
	margin-bottom: 1em;
	font-weight: bold;
	
	background-image: url('img/arrow.png');
	background-position: 95% 50%;
	background-repeat: no-repeat;
	/* background-size: contain; */
}

.mobile-nav nav ul ul {
	margin-left: 15px;
}
  

/* For mobile phones: */
@media only screen and (max-width: 768px) {

	#title-bar {
		display: block;
		width: unset;
		max-width: unset;
		margin: 1em;
	}

	#title-image {
		margin:  0 1em 1em 0;
		float: left;
	}

	#title-bar .table-cell:first-child {
		width: unset;
		min-width: 230px;
	}
	
	#title-bar .table-row {
		display: block;
		display: flex; 
		flex-direction: column;
	}

	#title-bar .table-cell {
		display: block;
	}

	#title-bar .table-cell.title {
		order: 1;
	}
	
	#title-bar .table-cell.schmerztherapie {
		order: 2;
	}
	
	#title-nav {
		width: unset;
		max-width: unset;
	}

	#main-table > .table-row > .table-cell:first-child {
		display: none;
	}

	main {
		width: 100%;
		max-width: unset;
	}

	#title-bar .mobile-nav {
		display: unset;
	}

	#title-bar .table-cell.schmerztherapie {
		display: unset;
		margin-bottom: 0.5em;
	}

	#title-image {
		height: 85px;
	}
	
	#title-bar .table-cell {
		text-align: left;
	}

	#title-bar .table-cell:first-child > div {
		display: block;
	}

	.door {
		display: none;
	}
}

.ol-address {
	position: absolute;
	background-color: white;
	box-shadow: 0 1px 4px rgba(0,0,0,0.2);
	padding: 15px;
	border-radius: 10px;
	border: 1px solid #cccccc;
	bottom: 12px;
	left: -50px;
	min-width: 280px;
}
.ol-address:after, .ol-address:before {
	top: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
.ol-address:after {
	border-top-color: white;
	border-width: 10px;
	left: 48px;
	margin-left: -10px;
}
.ol-address:before {
	border-top-color: #cccccc;
	border-width: 11px;
	left: 48px;
	margin-left: -11px;
}
.ol-address-closer {
	text-decoration: none;
	position: absolute;
	top: 2px;
	right: 8px;
}
.ol-address-closer:after {
	content: "✖";
}

/* =Global Elements
-------------------------------------------------------------- */
article a {
	color: #69b088;
	font-weight: bold;
}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
	display: block;
	font-weight: bold;
}

article h1 {
	font-size: 2em;
	margin-top: 0.67em;
	margin-bottom: 0.67em;
}

article h2 {
	font-size: 1.5em;
	margin-top: 0.83em;
	margin-bottom: 0.83em;
}

article h3 {
	font-size: 1.17em;
	margin-top: 1em;
	margin-bottom: 1em;
}

article h4 {
	margin-top: 1.33em;
	margin-bottom: 1.33em;
}

article h5 {
	font-size: .83em;
	margin-top: 1.67em;
	margin-bottom: 1.67em;
}

article h6 {
	font-size: .67em;
	margin-top: 2.33em;
	margin-bottom: 2.33em;
}

article ul {
	list-style-type: disc;
	padding-left: 40px;
	margin-top: 1em;
	margin-bottom: 1em;
}

article ol {
	list-style-type: decimal;
	padding-left: 40px;
	margin-top: 1em;
	margin-bottom: 1em;
}

article li {
	display: list-item;
}

article p {
	margin-bottom: 1em;
	line-height: 1.1;
}

article table.bordered {
	border: 1px solid #69b088;
}
article table.bordered td {
	border: 1px solid #69b088;
	padding: 3px;
}

dl {
	margin: 0 0 24px 0;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 18px;
}
strong, 
b {
	font-weight: bold;
}
cite,
em,
i {
	font-style: italic;
}
big {
	font-size: 131.25%;
}
ins {
	background: #ffc;
	text-decoration: none;
}
blockquote {
	font-style: italic;
	padding: 0 3em;
}
blockquote cite,
blockquote em,
blockquote i {
	font-style: normal;
}
pre {
	background: #f7f7f7;
	color: #222;
	line-height: 18px;
	margin-bottom: 18px;
	overflow: auto;
	padding: 1.5em;
}
abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
sup,
sub {
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}

hr {
	border-top: solid 2px #69b088;
	border-bottom: 0;
	border-left: 0;
	border-right: 0;
	height: 1px;
}

/* =Images
-------------------------------------------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 14px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 14px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	max-width: 100% !important;
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	padding: 4px;
	text-align: center;
}
/* .wp-caption img {
} */
.wp-caption p.wp-caption-text {
	color: #888;
	font-size: 16px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content-td .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}

.table-cell-b {
	border: thin solid red;
}
