/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1.0em;
    line-height: 1.2em;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/*
* Webfonts stored at the website css generated by Font Squirrel (http://www.fontsquirrel.com)
*/

@font-face {
    font-family: 'QuattrocentoRoman';
    src: url('../fonts/quattrocento-regular.eot');
    src: url('../fonts/quattrocento-regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/quattrocento-regular.woff2') format('woff2'),
         url('../fonts/quattrocento-regular.woff') format('woff'),
         url('../fonts/quattrocento-regular.ttf') format('truetype'),
         url('../fonts/quattrocento-regular.svg#quattrocento_romanregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/*
* General rules
*/
   
a, a:hover {
	/* 
	* Links display in my 'identity color' - a dark orange. hover state is indicated by a transition
	* to a lighter color.
	*/
		
	color: hsla(37,100.0%,35.7%,1.0);
	text-shadow: none;
	text-decoration:none;
	-webkit-transition: 400ms ease-in-out 0s;
	-moz-transition: 	400ms ease-in-out 0s;
	-o-transition: 		400ms ease-in-out 0s;
	transition: 		400ms ease-in-out 0s;	
 }

a:hover {
	/* 
	* In hover state links will display about 5% lighter with a text shadow in this lighter color.
	*/

	color: hsla(37,100.0%,41.0%,1.0);
	text-shadow: -0.01em 0.01em 0.4em hsla(37,100.0%,41.0%,0.5),
				 0.01em -0.01em 0.4em hsla(37,100.0%,41.0%,0.5);
}

a:focus {
	/* 
	* In focus state links wont have a dotted box.
	*/
	outline: none;
}
	
q {
    display: inline;
	font-style: italic;
}

q:before {
    content: open-quote;
}

q:after {
    content: close-quote;
} 

/*
* We overwrite the jbgalleries title definition to have gallery titles consistent (like h1). 
*/

.jb-flag-large-screen-mode .jb-area-large-mode-title {
	font-family: 'QuattrocentoRoman', Garamond, Serif !important;
	font-size:1.2em !important;
    font-weight: bold;
	text-shadow: none !important;
}

/*
* A helperclass to make a juicebox gallery image caption appear consistently as link of this site.
* The class is used for a div in inline html in a juicebox gallery configuration xml file. 
*/

.GalleryImageCaption {
	text-align:center;	
	font-size:1.2em !important;
}

.GalleryImageCaption  a {
	font-family: 'QuattrocentoRoman', Garamond, Serif;
}

.GalleryImageCaption a:hover {
	/* 
	* The same definition as for a:hover - must be repeated here for the !important keyword.
	*/

	color: hsla(37,100.0%,41.0%,1.0) !important;
	text-shadow: -0.01em 0.01em 0.4em hsla(37,100.0%,41.0%,0.5),
				 0.01em -0.01em 0.4em hsla(37,100.0%,41.0%,0.5) !important;
}

/*
* We overwrite definitions for thumbdot navigation to keep it decent and smart.
*/

.jbn-nav-button, .jb-thm-thumb-dot, a.jb-go-back-icon
{
	font-size: 0.8em !important;
}

/*
 * The browser body
 */

body {
    height: 100%;
    width:auto;
    margin: 0;
    padding: 0;
	font-family: 'QuattrocentoRoman', Garamond, Serif;
	font-size: 1.0em;
	color: hsla(0,0.0%,44.0%,1.0);
    background-color: hsla(0,0.0%,80.0%,1.0);
}

/*
 * The browser page
 */

#Page {
	-webkit-box-shadow:	0.0em 0.0em 0.8em hsla(0,0.0%,0.0%,1.0);
 	-moz-box-shadow:	0.0em 0.0em 0.8em hsla(0,0.0%,0.0%,1.0);
    box-shadow:			0.0em 0.0em 0.8em hsla(0,0.0%,0.0%,1.0);
    background-image:url(../img/Texture0206.jpg);
    background-repeat:repeat;
}

/*
 * The browser pages title
 */

#PageTitle {
	margin:0;
    width: 10.0em;
    padding:1.2em 0.0em 0.0em 0.0em;
    float:left;
}

#PageTitle a {
	/* 
	* Must define this to prevent title to appear in link color and to react on hover.
	*/ 

	color: inherit;
	text-shadow: none;
}

#PageTitle h1 { 
	margin:0;
	padding:0.0em;
    font-size:2.4em;
	text-align:right;	
}

#PageTitle h2 { 
	margin:0;
	padding:0.4em;
    font-size:1.2em;
	text-align:right;	
}

.PageTitleHighlight {
	color: hsla(37,100.0%,35.7%,1.0);
}

/*
 * The browser pages main navigation
 */

#PageNav {
    float:right;
}

#PageNav ul {
    margin:0;
	padding:0;
    list-style-type:none;
}

#PageNav li {
	width:4.5em;
	padding:4.0em 0.0em 0.5em 0.0em;
	text-align:center;
	display:inline-block;
}

#PageNav li#PageNavActive {
	font-weight: bold;
	background-image:url(../img/Slider6.svg);
	background-size: contain;
    background-position: top;
    background-repeat:no-repeat;
}

/*
 * The browser pages section
 */

.PageSection {
	width: 96%;
    margin: 0 auto;
}

/*
 * The browser pages divider
*/

.PageSectionDivider {
	padding: 0.75em 0;
	border:0;
}

.PageDivider {
    margin:0;
	border:0;
    height:1px;
	background-image: -webkit-linear-gradient(left,hsla(0,0%,0%,0.0),hsla(0,0%,0%,0.4),hsla(0,0%,0%,0.0)); 
    background-image:    -moz-linear-gradient(left,hsla(0,0%,0%,0.0),hsla(0,0%,0%,0.4),hsla(0,0%,0%,0.0)); 
    background-image:     -ms-linear-gradient(left,hsla(0,0%,0%,0.0),hsla(0,0%,0%,0.4),hsla(0,0%,0%,0.0)); 
    background-image:      -o-linear-gradient(left,hsla(0,0%,0%,0.0),hsla(0,0%,0%,0.4),hsla(0,0%,0%,0.0)); 
}

/*
 * The browser pages header container
 */

#PageHeaderContainer {
	/*
	 * A grey background color with a little tranparency makes the underlying pages background texture accurate.
	*/
	
	background-color: hsla(0,0%,80%,0.7);
}

/*
 * The browser pages header
 */

#PageHeader {
}

/*
 * The browser pages first page divider container
 */

#PageDivider1Container {
	/*
	 * A grey background color with a little tranparency makes the underlying pages background texture accurate.
	*/
	
	background-color: hsla(0,0%,80%,0.7);
}

/*
 * The browser pages main content container
 */

#PageMainContainer {
	/*
	 * A grey background color with a little tranparency makes the underlying pages background texture accurate.
	*/
	
	background-color: hsla(0,0%,80%,0.7);
}

/*
 * The browser pages main content
 */

#PageMain {
}

/*
 * The browser pages second page divider container
 */

#PageDivider2Container {
	/*
	 * A grey background color with a little tranparency makes the underlying pages background texture accurate.
	*/
	
	background-color: hsla(0,0%,80%,0.7);
}

/*
 * The browser pages footer container
 */

#PageFooterContainer {
	/*
	 * A darkgrey background color with a little tranparency makes the underlying pages background texture accurate.
	*/
	
    height: 2.0em;
	background-color: hsla(0,0%,32.0%,0.7);
	background-image:url(../img/BorderZagDown.svg);
    background-position:top left;
    background-repeat:repeat-x;
}

#PageFooterContainer p {
    font-size:0.8em;
    margin:0;
	padding-top:0.8em;
    text-align:center;
    color: hsla(0,0%,33.0%,1.0);
}

/*
 * The browser pages footer
 */

#PageFooter {
}

#PageFooter a {
	color:inherit;
}

/*
 * A Gallerycard with thumbnail-image and description underneath
 */

.GalleryCard {
    width:12.25em;
    min-height:17.0em;
	padding: 0.0em 0.5em 1.0em 0.0em;
    float: left;
}

.GalleryThumb {
    width:12.0em;
    height:12.0em;
    display:table-cell;
    text-align:center;
    vertical-align:middle;
}

a:visited,a:hover .GalleryThumb  {
}

.GalleryThumbImg {
    -webkit-box-shadow:	0.0em 0.0em 0.5em hsla(0,0.0%,0.0%,0.5);
 	-moz-box-shadow:	0.0em 0.0em 0.5em hsla(0,0.0%,0.0%,0.5);
    box-shadow:			0.0em 0.0em 0.5em hsla(0,0.0%,0.0%,0.5);
}

.GalleryDesc {
}

.GalleryDescTitle {
    margin-top:0.3em;
    margin-bottom:0.0em;
    text-align:center;
}

.Article {
}

.Article p {
	margin: 0.0em 0.0em 0.25em 0.0em;
	padding:0.0em;
}
 
.Article h1 {
	clear:both;
	margin:1.0em 0.0em 0.5em 0.0em;
	padding:0.0em;
	font-size:1.2em;
}

.Article h2 {
	clear:both;
	margin:1.0em 0.0em 0.0em 0.0em;
	padding:0.0em;
	font-size:1.0em;
}

.ArticleHeader {
}

.ArticleSection {
    }

.ArticleImgRight {
	float:right;
	margin: 0.0em 0.0em 0.4em 0.4em;
    -webkit-box-shadow:	0.0em 0.0em 0.5em hsla(0,0.0%,0.0%,0.5);
 	-moz-box-shadow:	0.0em 0.0em 0.5em hsla(0,0.0%,0.0%,0.5);
    box-shadow:			0.0em 0.0em 0.5em hsla(0,0.0%,0.0%,0.5);
}

.ArticleImgLeft {
	float:left;
	margin: 0.0em 0.8em 0.4em 0.0em;
    -webkit-box-shadow:	0.0em 0.0em 0.5em hsla(0,0.0%,0.0%,0.5);
 	-moz-box-shadow:	0.0em 0.0em 0.5em hsla(0,0.0%,0.0%,0.5);
    box-shadow:			0.0em 0.0em 0.5em hsla(0,0.0%,0.0%,0.5);
}

.ArticleFooter {
	margin: 1.0em 0.0em 0.0em 0.0em;
	font-size:0.8em;
}

.AccSection {
}

.AccSection input {
	display: none;
}
	
.AccSection label {
	clear:both;
	font-size:1.0em;
	cursor: pointer;
	position: relative;
	z-index: 20;
	display: block;
	//width: 12.5em;
	//height: 1.15em;
	margin:0.0em 0.0em 0.5em 0.0em;
	color: hsla(37,100.0%,35.7%,1.0);
	text-shadow: none;
	text-decoration:none;
	-webkit-transition: 400ms linear 0s;
	-moz-transition: 	400ms linear 0s;
	-o-transition: 		400ms linear 0s;
	transition: 		400ms linear 0s;		
}

.AccSection label:hover {
	color: hsla(37,100.0%,41.0%,1.0);
	text-shadow: -0.01em 0.01em 0.4em hsla(37,100.0%,41.0%,0.5),
				 0.01em -0.01em 0.4em hsla(37,100.0%,41.0%,0.5);
}

.AccSection article {
	overflow: hidden;
	height: 0.0em;
	position: relative;
	z-index: 10;
	-webkit-transition: height 300ms ease-in-out;
	-moz-transition: 	height 300ms ease-in-out;
	-o-transition: 		height 300ms ease-in-out;
	transition: 		height 300ms ease-in-out 0s;
}

.AccSection input:checked ~ article {
	-webkit-transition: height 300ms ease-in-out;
	-moz-transition: 	height 300ms ease-in-out;
	-o-transition: 		height 300ms ease-in-out;
	transition: 		height 300ms ease-in-out 0s;
}

/*
* Optimum for 1024px
*/
	
.AccSection input:checked ~ article.ArticleAccImpressum {
	height: 94.0em;
}





/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 1280px) {
  
html {
    font-size: 1.2em;
}

.PageSection{
        width:1229px; /* ca. 96% of 1280*/
    }
}

@media only screen and (max-width: 1023px) {
	
	/*
	* Optimum for 768px, viable up to 1023px
	*/
	
	.AccSection input:checked ~ article.ArticleAccImpressum {
		height: 116.0em;
	}

}

@media only screen and (max-width: 767px) {
	
	/*
	* The browser pages title
	*/

	#PageTitle {
		width: 6.5em;
		padding:0.5em 0.0em 0.0em 0.0em;
	}

	#PageTitle h1 { 
		font-size:1.6em;
	}

	#PageTitle h2 { 
		padding:0.2em 0.0em 0.0em 0.0em;
		font-size:0.9em;
	}


	/*
	* The browser pages main navigation
	*/

	#PageNav li {
		width:auto;
		padding:0.5em 0.5em 0.0em 0.0em;
	}

	#PageNav li#PageNavActive {
		background-image: none;
	}

	/*
	* Optimum for 480px, viable up to 767px
	*/
	
	.AccSection input:checked ~ article.ArticleAccImpressum {
		height: 167.0em;
	}

}

@media only screen and (max-width: 479px) {

	/*
	* Optimum for 320px, viable up to 479px
	*/
	
	.AccSection input:checked ~ article.ArticleAccImpressum {
		height: 241.0em;
	}
}

@media only screen and (max-width: 319px) {

	/*
	* Optimum for 300px, viable up to 319px
	*/
	
	.AccSection input:checked ~ article.ArticleAccImpressum {
		height: 256.0em;
	}
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
