/* GENERAL begin */
* {
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif', serif;
  font-weight: 400;
  color: #8c8781;
}
body {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #8c8781;
  background: url(../images/bg.png) top left repeat;
  text-align: center;
}
p {
  margin-bottom: 1em;
}
a {
  color: #8c8781;
  text-decoration: none;
  transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out; /* Firefox 4 */
    -webkit-transition: all 0.1s ease-in-out; /* Safari and Chrome */
    -o-transition: all 0.1s ease-in-out; /* Opera */
}
a:hover, a.active {
  color: #1d1d1c;
}


.clearfix {
  clear:both;
}

/* HEADER begin */
header#top {
  width: 880px;
  margin: 0 auto;
  background-color: white;
  text-align: left;
  border-radius: 8px 8px 0 0;
  margin-top: 30px;
  padding: 50px 40px 14px 40px;
}
header#top .contact {
  text-align: right;
  float: right;
}
header#top .contact a i {
  color: black;
  margin-right: 8px;
}
header#top #logo {
  display: inline-block;
}
header#top #logo h1 {
  text-indent: -9999px;
  background: url(../images/matzek-naturcollection-logo.png) top left no-repeat;
  background: url(../images/matzek-naturcollection-logo.svg) top left no-repeat, linear-gradient(transparent, transparent);
  background-size: 165px 37px;
  width: 165px;
  height: 37px;
  float: left;
}

header#top #logo h2 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 14px;
  
  margin-left: 180px;
  padding-top: 8px;
}
header#top #logo span {
  border-left: 1px solid #8c8781;
  padding: 2px 15px;
  display: block;
}
header#top #logo a i {
  margin-left: 8px;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out; /* Firefox 4 */
    -webkit-transition: all 0.3s ease-in-out; /* Safari and Chrome */
    -o-transition: all 0.3s ease-in-out; /* Opera */
}
header#top #logo a:hover span {
  color: black;
}
header#top #logo a:hover i {
  color: #ccc;
}

/* MENU begin */
nav {
  background-color: #a49f98;
  border-radius: 5px;
  font-size: 11px;
  letter-spacing: 0.1em;
  margin-top: 30px;
}
nav ul {
  list-style: none;
  padding: 5px 0 5px 8px;
  white-space: nowrap;
}
nav ul li {
  display: inline-block;
  padding: 5px 12px;
  border-left: 2px solid white;
  margin-right: 5px;
}
nav ul li:first-child {
  border-left: 0;
}
nav a {
  font-family: 'Noto Serif', serif;
  font-style: italic;
  color: white;
  border-bottom: 1px solid #a49f98;
  transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -webkit-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
}
nav a span {
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  letter-spacing: 0;
}
nav a:hover, nav a.active {
  color: white;
  border-bottom: 1px solid white;
}


/* SLIDES begin */
#slides {
  width: 880px;
  height: 364px;
  margin: 0 auto;
  background-color: white;
  text-align: left;
  padding: 0 40px 20px 40px;
}

#slides #container {
  width:880px;
  height:364px;
  overflow:hidden;
  position:relative;
  float: left;
}

#slides #container #images {
  float:left;
  display:inline;
  padding:0px;
  margin:0px;
  transition-property: transform;
  transition-duration: 0.5s;
  transition-timing-function: ease-out;
  transform: translate3d(0px,0px,0px); 

  -webkit-transition-property: -webkit-transform;
  -webkit-transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  -webkit-transform: translate3d(0px,0px,0px); 

  -o-transition-property: -o-transform;
  -o-transition-duration: 0.5s;
  -o-transition-timing-function: ease-out;
  -o-transform: translate3d(0px,0px,0px); 

  -moz-transition-property: -moz-transform;
  -moz-transition-duration: 0.5s;
  -moz-transition-timing-function: ease-out;
  -moz-transform: translate3d(0px,0px,0px); 
}
#slides #container #images img{
  padding:0px;
  margin:0px;
  width:880px;
  height:364px;
  transform: translate3d(0px,0px,0px);
  -webkit-transform: translate3d(0px,0px,0px);
  -moz-transform: translate3d(0px,0px,0px);
  -o-transform: translate3d(0px,0px,0px);
}
#slides #container .indicator {
  position: absolute;
  color: white;
  line-height: 364px;
  transition: opacity 0.1s ease-in-out;
  -moz-transition: opacity 0.1s ease-in-out;
  -webkit-transition: opacity 0.1s ease-in-out;
  -o-transition: opacity 0.1s ease-in-out;
    opacity: 0;
}
#slides #container .indicator.active {
  opacity: 1;
}
#slides #container .indicator#left {
  margin-left: 10px;
  
}
#slides #container .indicator#right {
  margin-left: 860px;
  
}

#textbox {
  background-color: black;
  background: rgba(0,0,0,0.7);
  width: 300px;
  height: 90px;
  margin-top: 210px;
  margin-left: 480px;
  color: white;
  position: absolute;
  padding: 20px 30px;
  display: block;
}
#textbox h3, #textbox p {
  font-family: 'Noto Sans', sans-serif;
}
#textbox h3 {
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 0.6em;
  color: white;
}
#textbox p {
  color: #aca7a1;
}
#textbox.link:hover p {
  text-decoration: underline;
}


/* ARTICLE begin */
article {
  width: 880px;
  margin: 0 auto;
  background-color: white;
  text-align: left;
  padding: 10px 40px 30px 40px;
}

article h1, article h2, article h3 {
  color: #b2ae4a;
  font-size: 28px;
}
article h4 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 18px;
}
article h5, article h6 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 14px;
  margin: 1em 0;
}
article h5 {
  font-weight: bold;
}

article h1.csc-header-alignment-center, article h1.align-center, article h2.align-center, article h3.align-center, article h4.align-center {
  text-align: center;
}

article .csc-textpic-caption, article .csc-textpic-image a {
  font-family: 'Noto Serif', serif;
  color: black;
  font-size: 14px;
  line-height: 1em;
  margin: 1em 0 2em 0;
}



article .csc-textpic-caption span, article .csc-textpic-image a span {
  color: #8c8781;
  font-size: 12px;
  font-style: italic;
}

article .csc-textpic-image:hover .csc-textpic-caption {
  text-decoration: underline;
}

article p.align-center {
  text-align: center;
}
article #nextmenu {
  padding: 3em 0 0.2em 0;
}
article ul {
  margin: 0.5em 0 1em 0; 
}
article ul li ul {
  margin: 0.2em 0; 
}
article ul li {
  margin: 0.2em 0 0.2em 2em;
}
article ul li ul li {
  margin: 0 0 0 2em;
}
article td {
  width: 50%;
  padding-right: 2em;
  vertical-align: top;
}

/* 2-SPALTEN-LAYOUT 
article .column2 p {
  -webkit-column-count: 2;
  -webkit-column-gap: 20px;
  -moz-column-count: 2;
  -moz-column-gap: 20px;
  column-count: 2;
  column-gap: 20px;
}*/

/* 2-SPALTEN-LAYOUT */
article .column2 .csc-default, article .column2 .csc-frame {
  -webkit-column-count: 2;
  -webkit-column-gap: 20px;
  -moz-column-count: 2;
  -moz-column-gap: 20px;
  column-count: 2;
  column-gap: 20px;
}

article .column2 .csc-default h4, article .column2 .csc-frame h4 {
  -webkit-break-before: column;
  -webkit-break-after: avoid;
  -moz-break-before: column;
  -moz-break-after: avoid;
  break-before: column;
  break-after: avoid;

  -webkit-column-break-before: column;
  -webkit-column-break-after: avoid;
}

article .column2 .csc-default p, article .column2 .csc-frame p, article .column2 .csc-default span, article .column2 .csc-frame span {
  display: inline-block;
}

article .column2 .csc-default h1, article .column2 .csc-frame h1, article .column2 .csc-default h2, article .column2 .csc-frame h2, article .column2 .csc-default h3, article .column2 .csc-frame h3 {
  -webkit-column-span: all;
  -moz-column-span: all;
  column-span: all;
}

/* BILDERSERIE */
.series .csc-textpic-imagerow, .series .csc-textpic-imagecolumn {
  display: none;
}
.series .csc-textpic-imagerow:nth-child(1), .series .csc-textpic-imagecolumn:nth-child(1) {
  display: block;
}

/* FOOTER begin */
footer {
  background-color: black;
  background-color: rgba(0,0,0,0.75);
  width: 880px;
  margin: 0 auto;
  text-align: left;
  border-radius: 0 0 8px 8px;
  margin-bottom: 30px;
  padding: 30px 40px 30px 40px;
  overflow: hidden;
}
footer .block {
  width: 300px;
  display: table-cell;
}

footer .block#right {
  width: 280px;
}
footer h4 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 16px;
  margin-bottom: 1em;
  color: white; 
}
footer i {
  margin-right: 8px;
}

footer a:hover {
  color: white;
}


/* LIGHTBOX begin */
#lightbox {
    position:fixed; 
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: black;
    background-color: rgba(0,0,0,0.7);
    text-align:center;
    cursor:pointer;
    display: none;
}
#lightbox p{
    color:#fff;
    font-size:12px;
    cursor: pointer;
}
#lightbox p.hint{
  margin-right:20px;
    text-align:right;
}
#lightbox img {
    max-width:940px;
    cursor: pointer;
    XXXborder: 50px solid rgba(0,0,0,0.9);
}
#lightbox #content img {
  box-shadow:0 0 25px black;
  -webkit-box-shadow:0 0 25px black;
  -moz-box-shadow:0 0 25px black;
  overflow-y: auto;
  overflow-x: hidden;  
  display: inline-block;
}


header#top, #slides, #slides #container, #slides #container #images, #textbox {
  transition: all 1s ease-out;
  -moz-transition: all 1s ease-out;
  -webkit-transition: all 1s ease-out;
  -o-transition: all 1s ease-out;
}

@media screen and (max-height: 800px) {
  header#top {
    margin-top: 15px;
  }
  #slides, #slides #container {
    height:280px;
  }
  #slides #container #images {
    margin-top: -40px;
  }
  #textbox {
    margin-top: 130px;
  }
  #slides #container .indicator {
    line-height: 280px;
  }

}


@media only screen and (-webkit-min-device-pixel-ratio: 2) {
  /*#logo {
    background: url(../images/matzek-naturcollection-logo@2.png) top left no-repeat;
    background-size: 165px 40px;
  }*/
}



/* ### LIGHTBOX ### */
/* Shared styles for lightbox & slimbox*/
#prevLink, #nextLink {
  display:block;
  position:absolute;
  top:48%;
  width:35%;
  height:100%;
  /*background:transparent url(../img/blank.gif) no-repeat;  Trick IE into showing hover */
  color: rgba(255,255,255,0);
  transition: color 0.3s ease-out;
  -moz-transition: color 0.3s ease-out;
  -webkit-transition: color 0.3s ease-out;
  -o-transition: color 0.3s ease-out;
  padding: 0 10px;
}

#prevLink {
  left:0;
  float:left;
  text-align: left;
}

#nextLink {
  text-align: right;
  right:0;
  float:right;
}

#prevLink:after {
   content:"«";
}

#nextLink:after {
  content: "»";
}

/*#prevLink:hover:after {
   content:"«";
   padding: 0 10px;
   color: white;
}

#nextLink:hover:after {
  content: "»";
  padding: 0 10px;
  color: white;
}*/

#prevLink:hover, #nextLink:hover {
  color: rgba(255,255,255,1);
}

#playLink,#pauseLink,#saveLink,#closeLink {
  display:block;
  float:right;
  /* Set these two to the actual dimensions of your images! If they differ in size you have to set them seperately!
  width:26px;
  height:26px;*/
  /* End*/
  margin-left:1.0em;
  transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
}

#playLink {
  /* Edit here for a different image! Add width & height here if needed
  background:transparent url(../img/play.gif) no-repeat center;*/
}

#pauseLink {
  /* Edit here for a different image! Add width & height here if needed
  background:transparent url(../img/pause.gif) no-repeat center;*/
}

#saveLink {
  /* Edit here for a different image! Add width & height here if needed
  background:transparent url(../img/save.gif) no-repeat center;*/
}

#closeLink:after {
  content:"schließen";
  color: #666;
}
#closeLink:hover:after {
  content:"schließen";
  color: #888;
  text-decoration: underline;
}



/* Slimbox-only*/
#sbOverlay {
  position:fixed;
  left:0;
  top:0;
  right: 0;
  bottom: 0;
  /*
  width:100%;
  height:100%;
  */
  background-color:#000;
  cursor:pointer;
  z-index:90;
}

#sbCenter, #sbBottomContainer {
  position:absolute;
  left:50%;
  overflow:hidden;
  z-index:100;
}
#sbCenter {
  background: rgba(0,0,0,0.3);
  box-shadow: 0 5px 15px 5px rgba(0,0,0,0.5);
}

#sbCenter a, #sbBottomContainer a {
  text-decoration:none;
  border:none;
  outline:none;

}

.sbLoading {
  /*background:#fff url(../img/loading.gif) no-repeat center;*/
}

#sbImage {
  position:absolute;
  left:0;
  top:0;
  border:0;
}

#sbBottom {
  line-height:1.4em;
  padding-top:4px;
  font-size:11px;
}

#sbCaption {
  font-size:13px;
  margin-bottom:0.1em;
  color: white;
  text-align: center;
}

#sbNumber {
  margin-bottom:0.1em;
  color: #666;
  text-align: left;
  margin-top: -1.4em;
}

#sbPresent {
  width:66%;
  margin-bottom:0.1em;
}

#sbPresent a {
  position:relative;
  float:left;
  color:#777;
  border-right:0.3em solid #fff;
  border-bottom:0.1em solid #fff;
  border-left:0.4em solid #fff;
  margin-right:0.2em;
}

#sbPresent a.act {
  /*font-weight:bold;*/
  color:#fff;
  background:#777;
  border-color:#777;
}



/* Lightbox-only*/
#overlay {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:#000;
  z-index:90;
}

#lbLightbox {
  position:absolute;
  left:0;
  width:100%;
  z-index:100;
  text-align:center;
  line-height:0;
}

#lbLightbox #closeLink {
  margin-bottom:10px;
}

#lbLightbox a {
  text-decoration:none;
  border:none;
  outline:none;
}

#lbLightbox img {
  width:auto;
  height:auto;
  border:none;
}

#lbOuterImageContainer {
  position:relative;
  background-color:#fff;
  width:250px;
  height:250px;
  margin:0 auto;
}

#lbImageContainer {
  padding:10px;
}

#lbLoading {
  position:absolute;
  z-index:110;
  top:40%;
  left:0%;
  height:25%;
  width:100%;
  text-align:center;
  line-height:0;
  background:#fff url(../img/loading.gif) no-repeat center;
}

#lbHoverNav {
  position:absolute;
  top:0;
  left:0;
  height:100%;
  width:100%;
  z-index:10;
}

#lbImageContainer>#lbHoverNav {
  left:0;
}

#lbImageDataContainer {
  font-family:tahoma, arial, sans-serif;
  font-size:11px;
  background-color:#fff;
  margin:0 auto;
  line-height:1.4em;
  overflow:auto;
  width:100%;
}

#lbImageData {
  padding:0 10px;
  color:#666;
}

#lbImageDetails {
  width:66%;
  float:left;
  text-align:left;
  padding-bottom:10px;
}

#lbCaption {
  display:block;
  font-weight:bold;
  margin-bottom:0.1em;
}

#lbNumberDisplay {
  display:block;
  margin-bottom:0.1em;
}

#lbPresent {
  display:block;
  margin-bottom:0.1em;
}

#lbPresent a {
  position:relative;
  float:left;
  color:#777;
  border-right:0.3em solid #fff;
  border-bottom:0.1em solid #fff;
  border-left:0.4em solid #fff;
  margin-right:0.2em;
}

#lbPresent a:hover {
  color:#000;
}

#lbPresent a.act {
  /*font-weight:bold;*/
  color:#fff;
  background:#777;
  border-color:#777;
}
