/*
Theme Name: scarlet&gold
Author: bruno
Author URI: gabba.ch
Version: 1.0 a
*/

html {
	padding: 0;
	margin: 0;
    scroll-behavior: smooth;
}


body {
	padding: 0;
	margin: 0;
	font-family: Verdana, sans-serif;
	font-size: 16px;
	color: #cccccc;
	background-color:#4d4d4d; 
}

a:link,
a:visited {
    color: #EAEAEA;
	text-decoration: none;
}
/*background-color: #999;*/
a:hover,
a:active {
    color: white;
	text-decoration: underline;
}

p {
	line-height: 1.65em;
	margin: 0 0 1em 0;
}

h1, h2, h3, h4, h5, h6 {
	margin: 1.5em 0 0.5em 0;
	font-weight: normal;
	font-family: inherit;
}

h1 { 
    margin: 0;
}
/*
h1         { font-size: 18px; font-weight: bold; margin: 1.5em 0 1em 0;}
h2         { font-size: 16px; font-weight: bold; margin: 1.5em 0 1em 0;}
h3, h4, h5 { font-size: 14px; font-weight: bold; margin: 0.5em 0 0   0;}


/* General Layout */
div.container {
	margin: 0 ;
	padding: 0;
}

.main-column {
	margin-left: auto;
	margin-right: auto;
	max-width:   1000px;
    position: relative;
	/*background: grey;*/
	margin-top: 0px;
	padding: 5px;
}


/* Content Area (über Gallery nun nicht in Gebrauch) */
article.werk {
	padding-top: 20px;
	padding-bottom: 20px;
}
article.werk img {
	margin: 40px;
	display: block;
    margin-left: auto;
    margin-right: auto;
	width: 100%;
	height: auto;
	max-height: 550px;
	max-width: 620px;
}
.subtitle {
	display: block;
    text-align: center;
	font-size: 0.8em;
}

article.post {
	margin-bottom: 100px;
}

article.post:last-of-type {
	border-bottom: none;
}

/* Header Slides */
.HeaderSlides {
    margin: 1em auto;
    width: 382px;
    height: 292px;
  }


  .HeaderSlides {
    background: #fff;
  }

  .HeaderSlides:nth-of-type(1) {
    animation-name: fader;
    animation-delay: 4s;
    animation-duration: 1s;
    z-index: 20;
  }
  .HeaderSlides:nth-of-type(2) {
    z-index: 10;
  }
  .HeaderSlides:nth-of-type(n+3) {
    display: none;
  }

  @keyframes fader {
    from { opacity: 1.0; }
    to   { opacity: 0.0; }
  }


/* Aside Styles */
article.post-aside,
article.post-link {
	font-size: 125%;
	background-color: #FFF5CB;
	padding: 20px 20px 1px 20px;
	border-bottom: none;
	border-radius: 5px;
	box-shadow: 3px 3px 3px rgba(0, 0, 0, .1);
}

.mini-meta {
	font-size: 68%;
	margin: 0;
	color: #777;
	display: block;
}

.mini-meta a {
	color: #777;
	text-decoration: none;
}


/* Photoswipe Masonry-Plugin: Gallery anpassen */
figure {
    margin: 0;
    }


div.psgal {
	width: 100% !important;   /*  für mobiles! */
}

figure.msnry_item a {
    padding: 0;
}
figure.msnry_item a:hover, a:active {
    background-color: inherit;
}
figure.msnry_item a img {
	border: 1px solid white;
}
figure.msnry_item a img:hover {
	border-color: black;
/*
	opacity: 0.7;
    filter: alpha(opacity=50);  For IE8 and earlier */
}
.psgal figure {
	padding-bottom: 80px !important;
	  width: 100% !important;    /*    für mobiles! */
}
.psgal figure:last-of-type {
	padding-bottom: 0 !important;
}

.psgal figure figcaption {
	font-size: 11px !important;    /* Schrift kleiner? geht nicht */
	padding-top: 20px;
}

/* Umrandung der Beschriftung reduzieren */
.fg-masonry.fg-captions-bottom .fg-caption {
    border-width: 4px;
}

/* Header */
.site-header {
	margin-bottom: 0;
	padding: 0 0 0 0;
}
.site-header a:link, .site-header a:visited {
	color: black;
}


/* Nav Menu */

.site-nav .menu {
	padding: 0;
	margin: 0;
}
.site-nav .menu-item {
	list-style: none;
	padding-right: 10px;
	padding-left: 5px;
	padding-top: 3px;
	padding-bottom: 3px;
}
.site-nav .menu-item a{
	padding: 5px;
}
.site-nav-mobile .menu-item, .w3-button {
	float: left;
}
.site-nav-mobile .menu-main-container .menu .menu-item a{
	padding-top: 8px;
	padding-bottom: 10px;
	display: inline-block;
}
nav#myNav {
	background: black;
	opacity: 0.5;
	filter: alpha(opacity=50); /* For IE8 and earlier */
}
nav#myNav:   {
	display: none;
}
nav#myButton {
	display: block;
}
nav#myButton a {
	color: black;
}
nav#myButton a:hover {
	background: black;
	opacity: 0.5;
	filter: alpha(opacity=50); /* For IE8 and earlier */
	color: white;
}


/* Footer (nicht in Gebrauch)*/
.site-footer {
	margin-top: 50px;
    padding-top: 5px;
	font-size: 11px;
	text-align: center;
}

/* Footer Nav Menu */
.site-footer nav {
	margin: 30px 0 10px 0;
}

.site-footer nav ul li {
	margin-right: 10px;
	padding-right: 10px;
	border-right: 1px solid #DDD;
}

.site-footer nav ul li:last-of-type {
	border-right: none;
}

/* Clearfix */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }


/* Image Styles */
img {
	max-width: 100%;
	height: auto;
}

.has-thumbnail {
	position: relative;
	padding-left: 200px;
}

.post-thumbnail {
	position: absolute;
	top: 0;
	left: 0;
}
