body {
	font-family:Verdana,Arial,Helvetica,sans-serif;
	background-color:#F8F8E1;
	color:#222;
	font-size: 13px;
	text-align: center;
	margin: 0;
}
body p {
	line-height: 1.3em;
}
#container {
	text-align: left;
	margin: 0 10%;
	width: 80%;
	max-width: 1000px;
}
ul#navigation {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: flex-end;
}
ul#navigation li {
	margin: 0;
	padding: 0;
}
ul#navigation li > * {
	display: block;
	padding: 10px 20px 3px;
	/* border: 1px solid #F8F8E1; */
	border-radius: 0 0 5px 5px;
	/* text-transform: uppercase; */
	margin-right: 1px;
	font-size: 1.15em;
}
ul#navigation li a {
	margin: 0;
	margin-right: 1px;

	color: #52523E;
	background-color: #E1E1BE;
	text-decoration: none;
}
ul#navigation li a:hover  {
	text-decoration: none;
	color: #000;

	/* border: 1px solid #CECEAE; */
}
ul#navigation li a.is_active {
	background-color: transparent;
	/* border: 1px solid #CECEAE; */	
	color: #000;
}
#content img, p img {
	width: 100%;
	height: auto;
}
/*compensate width of navigation li>* padding-right*/
#logo,
#content,
#ausstellung_info,
#footer {
	margin-right: 20px;
}

#logo {
	margin-bottom: 5%;
	max-width: 100%;
	height: auto;
	margin-top: 70px;
	padding:0 0 6px 0;
	border-color: #CECEAE;
	border-width: 0 0 1px 0;
	border-style: solid;
}
h1 {
	color: #52523E;
	font-size: 1.6em;
	font-weight: bold;
}
h1.quote {
	margin-left: 0.5em;
	text-indent: -0.5em;
}
h2 {
  font-weight:normal;
  font-size: 1.1em;
	color: #52523E;
}
h3 {
	font-size:1.0em;
	margin-bottom: 0;
	margin-top: 2em;
}
p {
	margin-top: 0;
	margin-bottom: 1em;
}
p.text-larger {
	font-size: 110%;
}
p.names_no_wrap > span {
	white-space: nowrap !important;
}
span.wochentag {
	display: inline-block;
	width: 80px;
}
a {
	color: #52523E;
}
#content {
	font-size: 1.25em;
	margin-bottom: 2.5em;
	overflow: auto;
}
address {
	margin-bottom: 2em;
}
address a {
	display: inline-block;
	padding: 0.3em 0;
}
div#bilder {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
div#bilder > div {
	width: 48%;
	margin-bottom: 2em;
}
div.two_columns {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
div.two_columns > div {
	width: 48%;
}
div.two_columns > div#bilder > div {
	width: 100%;
}
div#ausstellung_info {
	font-size: 1.2em;
	margin-bottom: 3em;
	padding-top: 0;
}
#footer {
	clear: left;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 1.2em;
	color: #52523E;
	border-color: #CECEAE;
	border-width: 1px 0 0 0;
	border-style: solid;
}
#footer p {
	margin-top: 3px;
	line-height: 1.2em;
}
#footer span, #footer a {
	white-space: nowrap;
}
ul.artists {
	padding-left: 18px;
	line-height: 1.4em;
	float: left;
	margin-bottom: 0;
	margin-top: 0;
	width: 30%;
	max-width: 270px;
	min-width: 200px;
}
ul.artists.first {
	margin-right: 10%;
}
iframe {
	width: 70%;
	border: none;
	min-height: 250px;
	max-height: 400px;
}
a#search {
	font-size: 0.8em;
	display: block;
}
/* #kunsthaeuschen {
	width: 80%;
	display: block;
} */
p.tagline {
	margin-top: 0.1em;
	margin-bottom: 1em;
	font-size: 1.3em;
	font-weight: bold;
}
p.note {
	font-size: 0.9em;
	font-style: oblique;
	margin-top: 2em;
}
span.author {
	display:inline-block;
	margin-bottom: -1em;
	font-weight: normal;
	text-align: right;
	font-size: 0.6em;
	padding-left: 1.0em;
}
h1 {
	margin-bottom: 1em;
}
p.zitat {
	font-style: oblique;
}

div.text span {
	display: inline-block;
	white-space: nowrap;
	font-weight: 600;
}
span.name {
	white-space: nowrap;
}
table .date {
	/* white-space: nowrap; */
	padding-right: 0.5em;
}

@media screen and (max-width: 800px ){
	#container {
		width: auto;
		margin: 0 3%;
	}
	iframe {
		width: 100%;
	}
	#logo	{
		/* margin-top: 70px; */
	}
	div#bilder > div {
		width: 100%;
	}
	div.two_columns {
		display: block;
	}
	div.two_columns > div {
		width: 100%;
	}
	ul.artists {
		float: none;
		width: 90%;
		max-width: auto;
		min-width: auto;
	}
}
@media screen and ( max-width: 600px ){
	ul#navigation li > *	{
		padding: 5px 14px 3px;
	}
	div.text {
		padding-right: 0%;
	}
	p.note {
		margin-top: 1em;
	}
	div.image {
		margin: 0;
	}
	div.text {
		float: none;
		width: 100%;
	}
	table td {
		display: block;
		width: 100%;
	}
	table td a {
		margin-bottom: 0.5em;
		display: block;
	}
}
/*reduce margin right for small width (devices) mobile etc*/
@media screen and ( max-width: 375px ){
	ul#navigation li > *	{
		padding: 5px 10px 3px 5px;
	}
	#logo,
	#content,
	#ausstellung_info,
	#footer {
		margin-right: 5px;
	}

	#content {
		font-size: 1.2em;
	}
	#kunsthaeuschen {
		width: 100%;
	}

}