/* default styles for extension "tx_cssstyledcontent" */
	/* Captions */
	DIV.csc-textpic-caption-c .csc-textpic-caption { text-align: center; }
	DIV.csc-textpic-caption-r .csc-textpic-caption { text-align: right; }
	DIV.csc-textpic-caption-l .csc-textpic-caption { text-align: left; }

	/* Needed for noRows setting */
	DIV.csc-textpic DIV.csc-textpic-imagecolumn { float: left; display: inline; }

	/* Border just around the image */
	DIV.csc-textpic-border DIV.csc-textpic-imagewrap .csc-textpic-image IMG {
		border: 1px solid #e0e0e0;
		padding: 0px 0px;
	}

	DIV.csc-textpic-imagewrap { padding: 0; }

	DIV.csc-textpic IMG { border: none; }

	/* DIV: This will place the images side by side */
	DIV.csc-textpic DIV.csc-textpic-imagewrap DIV.csc-textpic-image { float: left; }

	/* UL: This will place the images side by side */
	DIV.csc-textpic DIV.csc-textpic-imagewrap UL { list-style: none; margin: 0; padding: 0; }
	DIV.csc-textpic DIV.csc-textpic-imagewrap UL LI { float: left; margin: 0; padding: 0; }

	/* DL: This will place the images side by side */
	DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image { float: left; }
	DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image DT { float: none; }
	DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image DD { float: none; }
	DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image DD IMG { border: none; } /* FE-Editing Icons */
	DL.csc-textpic-image { margin: 0; }
	DL.csc-textpic-image DT { margin: 0; display: inline; }
	DL.csc-textpic-image DD { margin: 0; }

	/* Clearer */
	DIV.csc-textpic-clear { clear: both; }

	/* Margins around images: */

	/* Pictures on left, add margin on right */
	DIV.csc-textpic-left DIV.csc-textpic-imagewrap .csc-textpic-image,
	DIV.csc-textpic-intext-left-nowrap DIV.csc-textpic-imagewrap .csc-textpic-image,
	DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap .csc-textpic-image {
		display: inline; /* IE fix for double-margin bug */
		margin-right: 10px;
	}

	/* Pictures on right, add margin on left */
	DIV.csc-textpic-right DIV.csc-textpic-imagewrap .csc-textpic-image,
	DIV.csc-textpic-intext-right-nowrap DIV.csc-textpic-imagewrap .csc-textpic-image,
	DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap .csc-textpic-image {
		display: inline; /* IE fix for double-margin bug */
		margin-left: 10px;
	}

	/* Pictures centered, add margin on left */
	DIV.csc-textpic-center DIV.csc-textpic-imagewrap .csc-textpic-image {
		display: inline; /* IE fix for double-margin bug */
		margin-left: 10px;
	}
	DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image .csc-textpic-caption { margin: 0; }
	DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image IMG { margin: 0; }

	/* Space below each image (also in-between rows) */
	DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image { margin-bottom: 5px; }
	DIV.csc-textpic-equalheight DIV.csc-textpic-imagerow { margin-bottom: 5px; display: block; }
	DIV.csc-textpic DIV.csc-textpic-imagerow { clear: both; }

	/* No margins around the whole image-block */
	DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-firstcol { margin-left: 0px !important; }
	DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-lastcol { margin-right: 0px !important; }

	/* Add margin from image-block to text (in case of "Text w/ images") */
	DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap,
	DIV.csc-textpic-intext-left-nowrap DIV.csc-textpic-imagewrap {
		margin-right: 10px !important;
	}
	DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap,
	DIV.csc-textpic-intext-right-nowrap DIV.csc-textpic-imagewrap {
		margin-left: 10px !important;
	}

	/* Positioning of images: */

	/* Above */
	DIV.csc-textpic-above DIV.csc-textpic-text { clear: both; }

	/* Center (above or below) */
	DIV.csc-textpic-center { text-align: center; /* IE-hack */ }
	DIV.csc-textpic-center DIV.csc-textpic-imagewrap { margin: 0 auto; }
	DIV.csc-textpic-center DIV.csc-textpic-imagewrap .csc-textpic-image { text-align: left; /* Remove IE-hack */ }
	DIV.csc-textpic-center DIV.csc-textpic-text { text-align: left; /* Remove IE-hack */ }

	/* Right (above or below) */
	DIV.csc-textpic-right DIV.csc-textpic-imagewrap { float: right; }
	DIV.csc-textpic-right DIV.csc-textpic-text { clear: right; }

	/* Left (above or below) */
	DIV.csc-textpic-left DIV.csc-textpic-imagewrap { float: left; }
	DIV.csc-textpic-left DIV.csc-textpic-text { clear: left; }

	/* Left (in text) */
	DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap { float: left; }

	/* Right (in text) */
	DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap { float: right; }

	/* Right (in text, no wrap around) */
	DIV.csc-textpic-intext-right-nowrap DIV.csc-textpic-imagewrap { float: right; clear: both; }
	/* Hide from IE5-mac. Only IE-win sees this. \*/
	* html DIV.csc-textpic-intext-right-nowrap .csc-textpic-text { height: 1%; }
	/* End hide from IE5/mac */

	/* Left (in text, no wrap around) */
	DIV.csc-textpic-intext-left-nowrap DIV.csc-textpic-imagewrap { float: left; clear: both; }
	/* Hide from IE5-mac. Only IE-win sees this. \*/
	* html DIV.csc-textpic-intext-left-nowrap .csc-textpic-text { height: 1%; }
	/* End hide from IE5/mac */

html {
  height: 100%;
  margin-bottom: 1px;
}

body {
  /* font-size: 12px; */
  font-family: Verdana, Arial, Helvetica, Geneva, Swiss, sans-serif;
  background-color: #ffffff;
  color: #000000;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  font-weight: 500;
  color: #e67f00;
}
a:hover {
  text-decoration: none;
  color: #a15a03;
}

#left {
  margin: 0;
  padding: 0;
  width: 20%;
  background-color: #f1f1f1;
  position: fixed;
  height: 100%;
  overflow: auto;
  background-image: url(../images/left-infinite.jpg);
  background-repeat: repeat-y;
  background-size: cover;
}

#header {
  width: 620px;
  vertical-align: top;
  position: relative;
  float: right;
  margin: 0px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 20px;
}

#navigation {
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  background-repeat: no-repeat;
  padding-left: 100px;
  padding-top: 100px;
}

#pagewidth {
  width: 1110px;
  min-height: 800px;
  text-align: left;
  margin: 0px;
}

#content {
  /* width: 800px; */
  vertical-algin: top;
  position: relative;
  margin: 0px;
  /* padding-top: 54px;
        padding-bottom: 10px; */
  text-align: justify;
  /* margin-left: 20%; */
  margin: 50px 10px 25px 20%;
}

div#twocols {
  width: 1110px;
  float: left;
  position: relative;
}

a.link-mainnav {
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  display: block;
  padding: 10px 0;
}
a.link-mainnav:hover {
  color: #ffffff;
  font-size: 15px;
  text-decoration: underline;
}
a.link-subnav {
  color: #ffffff;
  font-size: 14px;
  font-weight: normal;
  padding-left: 5px;
}
a.link-subnav:hover {
  color: #ffffff;
  font-size: 14px;
  text-decoration: underline;
}

#link-mainnav-active {
  text-decoration: underline;
}

#link-subnav-active {
  text-decoration: underline;
}

.csc-header h1, h1 {
  font-size: 25px;
  font-weight: bold;
}

li {
  padding-bottom: 7px;
}

h2 {
  font-size: 18px;
  font-weight: bold;
}

dt {
  padding-top: 7px;
  padding-bottom: 3px;
}

hr {
  height: 1px;
  color: #e0e0e0;
  background-color: #e0e0e0;
  border: none;
  margin: 30px 0 30px 0;
}

.carousel {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

.carousel img {
  width: 100%;
  z-index: -2;
}

button {
  height: 10%;
  border: none;
  outline: none;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  padding: 1em;
  display: flex;
}

button .arrow {
  border: solid #fff;
  border-width: 0 4px 4px 0;
  display: inline-block;
  padding: 10px;
  transition: transform 0.3s ease-out;
  outline: none;
}

.right-btn {
  margin: auto 0 auto -51px;
}

.right-btn .arrow {
  transform: rotate(-45deg);
}

.left-btn {
  z-index: 0;
  margin: auto -51px auto 0;
}

.left-btn .arrow {
  transform: rotate(135deg);
}


.contact-page {
  width: 100% !important;
}

.contact-twocols {
  width: 100% !important;
}
.contact-page-content {
  /* width: 80% !important; */
}
.contact-page-header {
  width: 100%;
  text-align: center !important;
}

@media screen and (min-width: 2000px) {
  #navigation{
    padding-left: 150px;
  }  
}


@media screen and (max-width: 1390px) {
  #navigation{
    padding-left: 45px;
  }
}

@media screen and (max-width: 1100px) {
  #navigation{
    padding-left: 5px;
  }
}

@media screen and (max-width: 900px) {
  #left {
    width: 100%;
    height: auto;
    position: relative;
  }
  #navigation{
    padding: 25px 0 25px 150px;
  }
  #left a {
    text-align: center;
  }
  div.contact-page-content {
    margin-left: 0 !important;
    margin-top: 0 !important;
    /*width: 100% !important;*/
  }
  .contact-page-header{
    margin: 20px auto;
  }
  .main-card{
    flex-direction: column;
  }
  .profile-card{
    width: 80%;
    margin: 20px auto;
  }
  div.contact-page-content img{
    width: 90% !important;
    height: auto !important;
  }

}

.menu * {
    color: white !important;
    list-style-type: none;
    margin: 0;
    white-space: nowrap;
}

li.current-menu-item > a{
  text-decoration: underline !important;
}

.sub-menu {
	padding-left: 20px !important;
	padding-top: 10px;
}

ul#menu-hauptmenu li {
	padding-bottom: 10px;
}

ul#menu-hauptmenu a:hover {
    text-decoration: underline !important;
    color: #d0d0d0 !important;
}

h2 {
  clear: both;
  margin: 0 0 0 0px;
  padding: 25px 0 0 0;
}

hr {
  display: none;
}

figure {
  float: left;
  padding: 0;
  margin: 0;
}

p {
  clear: both;
  padding: 25px 0 0 0;
}


/* The WordPress site rendered in "almost standards" mode (XHTML Transitional doctype),
   where images alone on a line get no descender gap. Keep the floated grids identical. */
#content img,
#content iframe,
#content video {
  vertical-align: bottom;
}

/* Captions under section headings were unstyled <div>s on the WordPress site */
#content h2 + p:has(+ figure) {
  margin: 0;
  padding: 0;
}

/* The Biographie page carried its own <style> on the WordPress site */
.biographie #content p {
  padding-top: 5px;
}

/* Caption directly under an embedded video */
#content iframe + p {
  margin-top: 5px;
  padding-top: 0;
}

/* Embedded videos: full size up to 800px, shrink proportionally on smaller screens */
#content iframe[src*="youtube"] {
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 16 / 9;
}
