/* Scheme Link: http://colorschemedesigner.com/#0U52Pw0w0w0w0 */

/* schrift laden */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  src: local('Quicksand Regular'), local('Quicksand-Regular'), url(../fonts/Quicksand.woff) format('woff');
}


body  { 
  font-family: 'Quicksand', sans-serif; 
  font-size: 13pt; 
  line-height: 150%;
  color: #333;
  margin: 0; padding: 0;
  margin-top: 50pt;
}
  
  
div#content {
  max-width: 90%;
  min-width: 600px;
  text-align: left;
  display: inline-block;
}

div#content p {
  text-align: justify 
}

div#content a { 
  text-decoration: none;
  color: #ffa500;
}
div#content a:active {
  color: #ffbc40; 
}
div#content a:visited {
  color: #a66c00;
}
div#content a:hover {
  color: #a8f000;
  color: #0c0;
}

div#content img {
 margin-right: 10px; 
}

tr {
 margin: 2px; 
}

td {
  border: 1px solid #ccc;
  border-width: 0 0 1px 1px;
  padding: 2px 8px 2px 10px;
}
td:first-Child {
  border-left-width: 0;
}
tr:last-child td {
  border-bottom-width: 0;
}
tr:nth-child(odd)    { background-color:#f8f8f8; }
tr:nth-child(even)    { background-color:#fff; }

.gallery-text {
 line-height: 67%;
 margin: 0; padding: 0;
}

.gallery-container a.prev img,
.gallery-container a.next img {
  border-width: 0;
}

.gallery-cycle {
  border-width: 0;
}

.verticalSpacer {
  height: 100px;
}

h3 {
    margin-bottom: 8px;
    padding-bottom: 0px;
}


/*
 *
 * */

/* Contact form */
#content .form-wrapper {
  max-width: 620px;
  margin: 2em auto;
  text-align: left;
}

#content .form-wrapper form {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}

#content .form-field {
  margin: 0 0 1.2em;
}

#content label {
  display: block;
  margin-bottom: 0.4em;
  font-weight: normal;
}

#content input[type="text"],
#content input[type="email"],
#content textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 0.7em;
  border: 1px solid #bbb;
  border-radius: 0;
  background: #fff;
  font: inherit;
}

#content textarea {
  min-height: 160px;
  resize: vertical;
}

#content input:focus,
#content textarea:focus {
  outline: 2px solid #777;
  outline-offset: 1px;
}

#content button,
#content input[type="submit"],
#content input[type="reset"] {
  padding: 0.65em 1.2em;
  border: 1px solid #555;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

#content button:hover,
#content input[type="submit"]:hover,
#content input[type="reset"]:hover {
  background: #eee;
}

#content .form-errors,
#content .form-message {
  margin: 1em 0;
}

/* Basic Captcha: Refresh-Button sichtbar machen */
#content button svg,
#content .basic-captcha svg {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 1em;
  height: 1em;
}

/* Bilder im Fliesstext links ausrichten */
.float-left {
  float: left;
  width: 250px;
  max-width: 40%;
  height: auto;
  margin: 0 20px 12px 0;
}

/* SVG-Elemente sollen nicht durch geerbte Textfarben unsichtbar werden */
#content button svg * {
  opacity: 1 !important;
}

/* Nur die Ausstellungstabellen */
table.fullWidth {
  width: 100%;
  table-layout: auto;
}


/* ###########################################################
 * ##                       PRESS                            ##
 * ########################################################### */


/* Presseübersicht: dezente, alternierende Einträge */
#content .press-item {
box-sizing: border-box;
margin: 0;
padding: 0.7em 1.2em;
text-align: left;
}

#content .press-list > article.press-item:nth-of-type(even) {
background-color: rgb(249, 249, 249);
}

#content .press-list > article.press-item {
background-color: rgb(255, 255, 255);
}

/* Trennlinien entfernen */
#content .press-list > hr {
display: none;
}

#content .press-item-heading {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 1em;
}

/* Abstände innerhalb eines Eintrags reduzieren */
#content .press-item-heading h2 {
margin: 0;
font-size: 20px;
line-height: 1.3;
}

#content .press-date {
flex-shrink: 0;
color: #666;
font-size: 0.85em;
text-align: right;
}

#content .press-source {
margin: 0.4em 0;
font-style: italic;
}

#content .press-source,
#content .press-summary {
margin-top: 0.25em;
margin-bottom: 0.25em;
}

/* Seitennavigation: zuverlässig zentriert */
#content ul.pagination,
#content nav.pagination ul,
#content .pagination {
display: flex !important;
flex-direction: row !important;
flex-wrap: wrap;
justify-content: center !important;
align-items: center;
gap: 0.4em;
list-style: none !important;
padding: 0 !important;
margin: 2em auto !important;
width: 100%;
box-sizing: border-box;
float: none !important;
}

#content ul.pagination li,
#content nav.pagination li,
#content .pagination li {
display: block !important;
float: none !important;
margin: 0 !important;
padding: 0 !important;
}

#content .pagination a,
#content .pagination span {
display: flex;
justify-content: center;
align-items: center;
min-width: 2.5em;
min-height: 2.5em;
padding: 0.45em 0.7em;
border: 1px dashed #ccc;
background: transparent;
color: inherit;
text-align: center;
text-decoration: none;
box-sizing: border-box;
}

/* Aktuelle Seite deutlich markieren */
#content .pagination span.active {
border-style: solid;
font-weight: bold;
}

#content .pagination a:hover {
background: #e5e5e5;
color: #222;
}

@media (max-width: 600px) {
  #content .press-item-heading {
  display: block;
  }

  #content .press-date {
  display: block;
  margin-top: 0.3em;
  text-align: left;
  }
}


/* Presseübersicht: Titel auf ca. 20 px verkleinern */
#content .press-item-heading h2 {
font-size: 20px;
line-height: 1.3;
}

/* Quelle und Textausschnitt auf dieselbe Zeile setzen */
#content .press-source {
display: inline;
margin: 0;
font-style: italic;
}

#content .press-summary {
display: inline;
margin: 0;
}

/* Abstand zwischen Quelle und Textausschnitt */
#content .press-source::after {
content: " ";
}

/* Bei schmalen Bildschirmen weiterhin gut lesbar */
@media (max-width: 600px) {
  #content .press-item-heading h2 {
  font-size: 20px;
  }
}

/* press element */
#content .press-article-heading {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 1em;
}

#content .press-article-heading h2 {
margin: 0;
text-align: left;
}

#content .press-article-heading .press-date {
flex-shrink: 0;
margin: 0;
text-align: right;
white-space: nowrap;
color: #666;
font-size: 0.85em;
}

@media (max-width: 600px) {
  #content .press-article-heading {
  display: block;
  }

  #content .press-article-heading .press-date {
  margin-top: 0.3em;
  text-align: left;
  }
}
#content figure.press-image {
float: left;
width: 35%;
max-width: 320px;
margin: 6px 1.5em 1em 0;
box-sizing: border-box;
}

#content figure.press-image img {
display: block;
width: 100%;
height: auto;
}

#content figure.press-image figcaption {
width: 100%;
box-sizing: border-box;
margin-top: 0.4em;
font-size: 0.85em;
text-align: left;
overflow-wrap: break-word;
}

#content .press-article-body::after {
content: "";
display: table;
clear: both;
}

@media (max-width: 600px) {
  #content figure.press-image {
  float: none;
  width: 100%;
  max-width: 100%;
  margin: 0 0 1em 0;
  }
}
/* ###########################################################
 * ##                       MENU                            ##
 * ########################################################### */
div#menu {
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  margin: 0; padding: 0;
  border-bottom: 1px dashed #ccc;
  text-align: center;
  background-image: url('../images/menu_bg_4.png');
  background-repeat: repeat-x;
  background-position: left -19px;
  
}

ul.mainmenu {
  margin: 0; padding: 0;
  display: block; text-align:center;
}

ul.mainmenu li {
  display: inline-block;
  text-align: center;
  vertical-align: baseline;
  margin: 0; padding: 0;
  border-left: 1px dashed #ccc;
  font-weight: normal;
  /*max-width: 20%;*/
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
}
/*<!--[if lt IE 8]>
ul.menu li { display: inline }
<![endif]--> */

ul.mainmenu li a { 
  text-decoration: none;
  display: block;
  padding: 8px 16px 4px 16px;
  font-weight:bold;
  color: #A8F000;
  color: #0c0;
}

ul.mainmenu li a:hover,
ul.mainmenu li.current ul a:hover { 
  color: #C7007D;
}

ul.mainmenu li:first-Child{
  border-left-width: 0;
}

ul.mainmenu li ul {
  display: none;
  position: absolute;
}


ul.mainmenu li:hover{
  background-image: url('../images/menu_bg_4.png');
  background-repeat: repeat-x;
  background-position: left 35px;
}

ul.mainmenu li:hover ul {
  display: block;
  margin: 0; padding: 0;
  border: 1px dashed #ccc;
  border-top-width: 0;
}

ul.mainmenu li ul li {
  margin: 0; padding: 0;
  display: list-item;
  float: left;
  list-style: none;
  position: relative;
  text-align: center
}

ul.mainmenu li ul li a {
  display: block;
  float: left;
  list-style: none;
  text-align:center;
  background-color: white;
}

ul.mainmenu li.current a {
  color: #ffa500;
}

ul.mainmenu li.current ul a  {
  color: #a8f000;
}


div#footer {
  z-index: 10;
  position: fixed;
  bottom: 0;
  left: 0;
  margin: 0; padding: 0;
  display: block;
  width: 100%;
  font-size: 70%;
  border-style: dashed;
  border-color: #ccc;
  border-width: 0;
  border-top-width: 1px;
  
  text-align: center;
  background-image: url('../images/menu_bg_4_rev.png');
  background-repeat: repeat-x;
  background-position: left -2px;
  clear: both;
}
div#footer a {
  text-decoration: none;
}

div.imgLeft {
  display: inline-block;
  font-style: italic;
  color: #a66c00;
  font-size: 80%;
  margin: 4px 16px 4px 0;
  float:left;
  overflow: hidden;
}
div.imgLeft img {
  width: 100%;
}

/* ##### Contact Formular ##### */
form.p01-contact div.field div, 
form.p01-contact div.field input {
  display: inline-block;
  vertical-align: top;
}


form.p01-contact div.field div {
  width: 110px;
  max-width: 30%;
}


form.p01-contact div.captcha div.label div {
  display: inline-block;
  vertical-align: top;
}



form.p01-contact div.captcha input {
  display: inline-block;
  vertical-align: top;
  
}

form.p01-contact div.field textarea,
form.p01-contact div.field input { /* TODO: for input:text only */
  width: 400px;
  max-width: 70%;
}

form.p01-contact div.captcha input{
  display: block;
  margin-left: 110px;
}
form.p01-contact div.captcha div.label img {
  margin-left: 110px;
}

form.p01-contact div.captcha 

form.p01-contact input {
  width: 80%;
}


form.p01-contact div.captcha div.label div,
form.p01-contact div.captcha div.label img {
  display: inline-block;
}


form.p01-contact input.submit {
  margin-left: 110px;
  width: auto;  
}


/* ##### press ##### */
div.nm_post {
  padding: 0 8px 0 8px;
  border-color: white;
  border-width: 0 /* 0 0 3px */;
  border-style: solid;
}

div.nm_post:nth-child(odd) { background-color: #f9f9f9; }
div.nm_post:hover {
  /*border-color: #ccc;*/
}

h3.nm_post_title {
  float: left;
  margin-top: 0; 
  margin-bottom: 0; padding-bottom: 0;
}
p.nm_post_date {
  font-size: 75%;
  float:right;
  margin-top: 2px;
  margin-bottom: 0; padding-bottom: 0;
}
div.nm_post_content {
  clear: both;
  margin-top: 0; padding-top: 0;
}

/* #### shareline #### */
div#shareline {
  position: fixed;
  bottom: -6px; right: 0;
  z-index:11;
}

/* ###########################################################
 * ##                      Galerie                          ##
 * ########################################################### */
#content .painting-slide {
margin: 0;
padding: 0;
text-align: center;
}

#content .painting-slide img {
display: block;
width: 100%;
height: auto;
margin: 0 auto;
}

#content .painting-slide figcaption {
margin-top: 0.6em;
text-align: center;
}

#content .painting-title {
font-size: 1em;
font-weight: normal;
}

#content .painting-dimensions {
margin-top: 0.2em;
font-size: 0.85em;
color: #666;
}
/* Einheitlicher Bildbereich für alle Slides */
#content .painting-slide {
margin: 0;
text-align: center;
}

#content .painting-slide img {
display: block;
width: 100%;
height: 450px;       /* gewünschte feste Höhe */
object-fit: contain; /* Seitenverhältnis beibehalten */
margin: 0 auto;
}

/* Bildtitel und Abmessungen */
#content .painting-slide figcaption {
min-height: 3.5em;
margin-top: 0.6em;
}

#content .painting-title {
font-weight: bold;
}

#content .painting-dimensions {
font-size: 0.9em;
}

/* Inhaltsbreite begrenzen */
body > center > #content {
  width: 100%;
  max-width: 900px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

#content img {
max-width: 100%;
height: auto;
}

/* #############################################################################
 * #############################################################################
 * ###                              FRONTPAGE                                ###
 * #############################################################################
 * ###########################################################################*/
 
div#contentFrontPage
{
  width: 984px;
  height: 570px;
  margin: 0;
  padding: 0px 20px 0px 20px; /* werte hier müssen bei dimensionen abgezogen werden! */
  background-image: url('../images/frontPage.jpg');
  background-repeat: no-repeat;
  border: 1px solid #999;
  text-align: left;
}

/* ###########################################################
 * ##                       MENU                            ##
 * ########################################################### */
div#menuFrontPage {
  z-index: 10;
  width: 100%;
  height: 40px;
  margin: 0; padding: 0;
  /*border-bottom: 1px dashed #ccc;*/
  text-align: center;
  background-image: url('../images/menu_bg_4.png');
  background-repeat: repeat-x;
  background-position: left -19px;
  text-align: left;
  
}
div#menuFrontPage ul.mainmenu li:hover ul {
  display:none;
}
