/*
Theme Name: Tatjana
Theme URI: http://www.bytesbones.ch
Author: Klaus Affolter
Author URI: http://www.bytesbones.ch
Description: Wordpress-Theme von bytes & bones.
Version: 1.1
Tags: none
Text Domain: bytes & bones
*/


/* Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}

html {
	overflow:hidden;
	overflow-y:scroll;
	-webkit-text-size-adjust:100%;
	-ms-text-size-adjust:100%;
}
:focus {
	outline:none;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
td {
	vertical-align: top;
}
sup {
	font-size:11px;
	vertical-align:top;
	padding-left:3px;
	padding-right:3px;
}
/*padding egalisieren*/
*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
body {
	margin:0px;
	padding:0px;
	background:#000;
}



/* schriften
-------------------------------------------------------------- */
@font-face {
    font-family: 'OpenSansRegular';
    src: url('bb-schriften/OpenSans-Regular-webfont.eot');
    src: url('bb-schriften/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('bb-schriften/OpenSans-Regular-webfont.woff') format('woff'),
         url('bb-schriften/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('bb-schriften/OpenSans-Regular-webfont.svg#OpenSansRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'OpenSansBold';
    src: url('bb-schriften/OpenSans-Bold-webfont.eot');
    src: url('bb-schriften/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('bb-schriften/OpenSans-Bold-webfont.woff') format('woff'),
         url('bb-schriften/OpenSans-Bold-webfont.ttf') format('truetype'),
         url('bb-schriften/OpenSans-Bold-webfont.svg#OpenSansBold') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'noto_serifregular';
    src: url('bb-schriften/notoserif-regular-webfont.eot');
    src: url('bb-schriften/notoserif-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('bb-schriften/notoserif-regular-webfont.woff2') format('woff2'),
         url('bb-schriften/notoserif-regular-webfont.woff') format('woff'),
         url('bb-schriften/notoserif-regular-webfont.ttf') format('truetype'),
         url('bb-schriften/notoserif-regular-webfont.svg#noto_serifregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
body, td {
	font:18px/24px OpenSansRegular,sans-serif;
}


/*wartung*/
.wartungsbutton {
	position:fixed;
	bottom:20px;
	right:20px;
	height:20px;
	width:20px;
	cursor:pointer;
	z-index:201;
	font:14px/18px sans-serif;
	outline:1px solid #bbb;
	display:none;
}
.wartungsbutton-2 {
	position:fixed;
	bottom:20px;
	right:60px;
	height:20px;
	width:20px;
	cursor:pointer;
	z-index:201;
	font:14px/18px sans-serif;
	background:url(images/absatz-ausrichtung.png);
	background-repeat:no-repeat;
	background-position:0px 2px;
	display:none;
}
.wartungsbutton-2.aktiv {
	background-position:0px -48px;
}	
.rahmenanzeigen {
	outline:1px solid #d00;
}

/* vars
-------------------------------------------------------------- */
:root {
	--gold:#b9983d;
	--hellgrau:rgb(240,238,237);
	--fadetime:2s;/* diaschau bg, wird von bb-bg.php ueberschrieben */
}



/* Layout
-------------------------------------------------------------- */

.konsole {
	position:relative;
	width:800px;
	padding:80px 200px 0px 0px;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:100px;
   	-webkit-transition: all 0.4s ease-out;
	-moz-transition:all 0.4s ease-out;
	transition: all 0.4s ease-out;
	z-index:100;
}

.site-content {
}
.fusszeile {/*off*/
	clear:left;
	padding:0px;
	font:0px/0px OpenSansRegular, sans-serif;
}


.clearer {
	width:100%;
	height:0px;
	overflow:hidden;
	display:block;
	clear:both;
	background:#d00;
}

	
/* Farben
-------------------------------------------------------------- */
body {
	color:var(--hellgrau);
	background:#000;
}
h1.kopfzeile {
	color:var(--hellgrau);
}
h2 {
	color:var(--gold);
}
h1.kopfzeile:hover, h1.kopfzeile:focus, h1.kopfzeile:active {
	color:var(--gold);
}


h2.titellink:hover, h2.titellink:focus, h2.titellink:active,
h2.titellink.offen {
	color:var(--hellgrau);
}

/*off: detailseiten hell*/
xxbody.single-bb_detailseiten {
	color:var(--hellgrau);
	background:var(--hellgrau);
}



/* diaschau bg
-------------------------------------------------------------- */
.diaschau-wrapper {
	position:fixed;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	z-index:1;
}
.diaschau-maske {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.75);/* wird in bb-bg.php ueberschrieben */
	z-index:2;
}

.diaschau-container {
	position:relative;
	width:100%;
	height:100%;
	display:block;
	z-index:1;
}
.dia-container {
	position:absolute;
	left:0px;
	top:0px;
	height:100%;
	width:100%;
	opacity:100%;
	z-index:1;
	-webkit-transition: opacity var(--fadetime) ease-in-out;
	-moz-transition:opacity var(--fadetime) ease-in-out;
	transition: opacity var(--fadetime) ease-in-out;
}
.fade-to-0 {
	opacity:0%;
	-webkit-transition: opacity var(--fadetime) ease-in-out;
	-moz-transition:opacity var(--fadetime) ease-in-out;
	transition: opacity var(--fadetime) ease-in-out;
}
.fade-to-100 {
	opacity:100%;
	-webkit-transition: opacity var(--fadetime) ease-in-out;
	-moz-transition:opacity var(--fadetime) ease-in-out;
	transition: opacity var(--fadetime) ease-in-out;
}
.set-0 {
	opacity:0%;
}
.set-100 {
	opacity:100%;
}



/* Textformate
-------------------------------------------------------------- */
h1 {
	font:35px/42px OpenSansBold, sans-serif;
	font-weight:normal;
	margin-top:0px;
	margin-bottom:24px;
	clear:both;
}
h1.kopfzeile {
	cursor:pointer;
	display:inline-block;
}	
h2 {
	font:35px/42px OpenSansBold, sans-serif;
	font-weight:normal;
	margin-top:0px;
	margin-bottom:0px;
	clear:both;
}
h3 {
	font:18px/21px OpenSansBold, sans-serif;
	font-weight:normal;
	margin-top:0x;
	margin-bottom:0px;
	clear:both;
}	
h4 {
	font:28px/34px noto_serifregular, serif;
	font-weight:normal;
	margin-top:16px;
	margin-bottom:0px;
	clear:both;
}
h4:first-of-type {
	margin-top:0px;
}
p {
	margin-bottom:24px;
}
p.bildlegende {
	font-style:italic;
}
.site-content ul {
	margin-bottom:0px;
	margin-left:16px;
}
.site-content ol {
	margin-bottom:0px;
	margin-left:36px;
}

/* aktuell */
.aktuellbeitrag {
	background:url(images/strich-gold.png);
	background-repeat:no-repeat;
	background-position:left bottom;
	padding-bottom:36px;
	margin-bottom:36px;
}
.aktuellbeitrag p {
	margin-bottom:0px;
}
.aktuellbeitrag .kategorien {
	font-size:16px;
	line-height:21px;
	padding-bottom:3px;
}
.aktuellbeitrag .datum {
	font:28px/34px noto_serifregular, sans-serif;
}
.aktuellbeitrag h3 {
	font:30px/36px OpenSansBold, sans-serif;
}


/* Links (detail-links unter nav)
-------------------------------------------------------------- */
.site-content a {
	color:var(--gold);
	text-decoration:none;
}
.site-content a:hover,
.site-content a:focus,
.site-content a:active {
	color:var(--hellgrau);
}
/*off: detail-seite hell
body.single-bb_detailseiten .site-content a:hover,
body.single-bb_detailseiten .site-content a:focus,
body.single-bb_detailseiten .site-content a:active {
	color:#3d5e6d;
}*/

.bildlink, .bildlink:hover {
	border:0;
}	
p.toplink span, p.backlink span {
	cursor:pointer;
}
.site-content a.detaillink,
.site-content a.detaillink:hover,
.site-content a.detaillink:focus,
.site-content a.detaillink:active {
	border:0;
}

/* social media links */

div.socialmedialinks {
	margin-top:32px;
}
.site-content a.facebooklink {
	width:25px;
	height:30px;
	display:inline-block;
	margin-right:12px;
	background:url(images/facebook.png?ver=2.1);
	background:url(images/facebook.svg?ver=2.1), linear-gradient(transparent, transparent);
	background-repeat:no-repeat;
	background-size:auto 25px;
	background-position:2px 0px;
}
.site-content a.facebooklink:hover,
.site-content a.facebooklink:focus,
.site-content a.facebooklink:active {
	background:url(images/facebook-rollover.png?ver=2.1);
	background:url(images/facebook-rollover.svg?ver=2.1), linear-gradient(transparent, transparent);
	background-repeat:no-repeat;
	background-size:auto 25px;
	background-position:2px 0px;
}
.site-content a.instagramlink {
	width:27px;
	height:30px;
	display:inline-block;
	background:url(images/instagram.png?ver=2.1);
	background:url(images/instagram.svg?ver=2.1), linear-gradient(transparent, transparent);
	background-repeat:no-repeat;
	background-size:auto 26px;
	background-position:0px 0px;
}
.site-content a.instagramlink:hover,
.site-content a.instagramlink:focus,
.site-content a.instagramlink:active {
	background:url(images/instagram-rollover.png?ver=2.1);
	background:url(images/instagram-rollover.svg?ver=2.1), linear-gradient(transparent, transparent);
	background-repeat:no-repeat;
	background-size:auto 26px;
	background-position:0px 0px;
}

/* Nav und Aufklapptexte
------------------------------------------------------------------ */
h2.titellink, h2.untertitel {
	cursor:pointer;
	display:inline-block;
}
.sektion h2.untertitel {
	font:18px/24px OpenSansBold, sans-serif;
	color:var(--hellgrau);
	padding-left:20px;
	background:url(images/plusminus.png);
	background-repeat:no-repeat;
	background-position:-30px 7px;
}
.sektion h2:first-of-type {
}
.sektion h2.untertitel.offen {
	background-position:0px -23px;
}

.sektion h2.untertitel.detaillink,
.site-content a.detaillink {
	color:var(--hellgrau);
	padding-left:20px;
	background:url(images/keil.png?ver=1.1);
	background:url(images/keil.svg), linear-gradient(transparent, transparent);
	background-repeat:no-repeat;
	background-size:8px auto;
	background-position:2px 7px;
}
.site-content .sektion h2.untertitel.detaillink a {
	color:var(--hellgrau);
}
.site-content a.detaillink {
	background-position:6px 9px;
}
.site-content .sektion h2.untertitel a,
.site-content .sektion h2.untertitel a:hover,
.site-content .sektion h2.untertitel a:focus,
.site-content .sektion h2.untertitel a:active {
	border:0;
}



.sektion, .subsektion {
	display:none;
}
.sektion-inhalt {
	padding:20px 0px 40px 0px;
}
.subsektion-inhalt {
	padding:20px 0px 20px 20px;
}
.subsektion-letzte .subsektion-inhalt {
	padding:20px 0px 0px 20px;
}
.sektion-offen {/*falls via url aufgerufen*/
	display:block;
}

@supports (hyphens: auto) or (-ms-hyphens: auto) or (-moz-hyphens: auto) or (-webkit-hyphens: auto) {

	.site-content p.blocksatz {
		text-align:justify;
	}
	.site-content p.blocksatz {
		
		/*safari*/
		-webkit-hyphens: auto;
		-webkit-hyphenate-limit-before: 3;
		-webkit-hyphenate-limit-after: 3;
		-webkit-hyphenate-limit-chars: 4 2 2;
		-webkit-hyphenate-limit-lines: 3;
		-webkit-hyphenate-limit-last: always;
		-webkit-hyphenate-limit-zone: 8%;
		
		/*firefox*/
		-moz-hyphens: auto;
		-moz-hyphenate-limit-chars: 4 2 2;
		-moz-hyphenate-limit-lines: 3;
		-moz-hyphenate-limit-last: always;
		-moz-hyphenate-limit-zone: 8%;
		
		/*ie 10, edge*/
		-ms-hyphens: auto;
		-ms-hyphenate-limit-chars: 4 2 2;
		-ms-hyphenate-limit-lines: 3;
		-ms-hyphenate-limit-last: always;
		-ms-hyphenate-limit-zone: 8%;
		
		/*normal*/
		hyphens: auto;
		hyphenate-limit-chars: 4 2 2;
		hyphenate-limit-lines: 3;
		hyphenate-limit-last: always;
		hyphenate-limit-zone: 8%;
	}
}


/* Detailseiten
-------------------------------------------------------------- */
.kopf-detail {
	width:800px;
	height:120px;
	display:block;
	position:relative;
	margin-left:auto;
	margin-right:auto;
	padding:0px;
}
.schliessbutt {
	height:30px;
	width:30px;
	float:right;
	margin-top:90px;
	margin-right:0px;
	display:block;
	background-image:url(images/schliessbutt.png?ver=2.0);
	background-repeat:no-repeat;
	background-size:30px auto;
	background-position:0px 0px;
	cursor:pointer;
}
.schliessbutt:hover, .schliessbutt:active, .schliessbutt:focus {
	background-position:0px -60px;
}
body.single-bb_detailseiten .konsole {
	width:800px;
	padding:0px 0px 0px 0px;
}
body.single-bb_detailseiten h1 {
	color:var(--gold);
}


/* Bilder
-------------------------------------------------------------- */
.site-content img {
	margin:0px;
	padding:0px;
	vertical-align: bottom;
	max-width:100%;
	height:auto;
}
.site-content img.bannerbild {
	margin:6px 0px 28px 0px;
}

/* Galerie
-------------------------------------------------------------- */
.galeriecontainer {
	width:810px;
	margin-left:-5px;	
}
.galeriebildcontainer {
	width:260px;
	margin:0px 5px 10px 5px;
	float:left;
	cursor:pointer;
}
.galeriebildcontainer img {
	width:100%;
	height:auto;
}

/* fancy diaschau */
.diaschauBG {
	z-index:1001;
	position:fixed;
	top:50%;
	left:50%;
	width:0px;
	height:0px;
	background:#000;
	display:block;
	opacity:1;
  	-webkit-transition: all 0.4s ease-out;
	-moz-transition: all 0.4s ease-out;
	transition: all 0.4s ease-out;
}	
.diaschauBG.offen {
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	opacity:1;
  	-webkit-transition: all 0.4s ease-out;
	-moz-transition: all 0.4s ease-out;
	transition: all 0.4s ease-out;
}

.diaschaucontainer {
	z-index:1002;
	position:fixed;
	top: 0px;/*positionierung via js*/
	left: 0px;
    width:0px;
    height:0px;
	margin-left:0px;
    opacity:0;
	-webkit-transition: opacity 1s ease-out;
	-moz-transition: opacity 1s ease-out;
	transition: opacity 1s ease-out;
}

.diaschaucontainer.gross {
    width:auto;
    height:auto;
	opacity:1;
	-webkit-transition: opacity 1s ease-out;
	-moz-transition: opacity 1s ease-out;
	transition: opacity 1s ease-out;
}
.diaschaucontainer .diaschaubildcontainer {
	position:absolute;
	top:0px;
	left:0px;
	z-index:1;
	background:#222;
	opacity:0;
	-webkit-transition: opacity 1s ease-out;
	-moz-transition: opacity 1s ease-out;
	transition: opacity 1s ease-out;
}
.diaschaucontainer.gross .diaschaubildcontainer {
	opacity:1;
	-webkit-transition: opacity 1s ease-out;
	-moz-transition: opacity 1s ease-out;
	transition: opacity 1s ease-out;
}
.diaschaubildcontainer img {
	width:100%;
	height:auto;
	margin:0px !important;
	vertical-align: middle;
}
.zurueck {
	position:absolute;
	z-index:11;
	top:0px;
	left:-60px;
	height:100%;
	width:50%;
	display:block;
	cursor:pointer;
	opacity:0.5;
	background:url(images/pfeil-l.png?ver=1.1);
	background-repeat:no-repeat;
	background-position:left center;
	background-size:60px auto;
}
.weiter {
	position:absolute;
	z-index:11;
	top:0px;
	right:-60px;
	height:100%;
	width:50%;
	display:block;
	cursor:pointer;
	opacity:0.5;
	background:url(images/pfeil-r.png?ver=1.1);
	background:url(images/pfeil-r.svg), linear-gradient(transparent, transparent);
	background-repeat:no-repeat;
	background-position:right center;
	background-size:60px auto;
}
.zurueck:hover, .zurueck:active, .zurueck:focus,
.weiter:hover, .weiter:active, .weiter:focus {
	opacity:1;
}
.schliessbutt-diaschau {
	position:absolute;
	z-index:12;
	top:0px;
	right:-50px;
	height:50px;
	width:50px;
	display:block;
	cursor:pointer;
	opacity:0.5;
	background:url(images/schliessbutt-diaschau.png);
	background-repeat:no-repeat;
	background-position:10px 0px;
	background-size:30px auto;
}
.schliessbutt-diaschau:hover, .schliessbutt-diaschau:active, .schliessbutt-diaschau:focus {
	opacity:1;
}
.legendecontainer {
	color:var(--hellgrau);
	padding-top:12px;
}
.legendecontainer p {
	margin:0px;
}
.legendecontainer a	{
	font-size:14px;
	line-height:18px;
	color:var(--gold);
	text-decoration:none;
}
.legendecontainer a:hover {
	color:var(--hellgrau);
}
#legende {
	width:calc(100% - 60px);
	float:left;
}
#nummerdisplay {
	width:60px;
	float:right;
	text-align:right;
	font-size:14px;
	line-height:18px;
}

/* video inkl. responsive
------------------------------------------------------------ */
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	/*padding-top: 30px; weglassen? */
	height: 0;
	overflow: hidden;
	margin-top:6px;
	margin-bottom:20px;
	width:100%;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.wp-video {
	margin-bottom:20px;
}







/* Beigemuese
-------------------------------------------------------------- */
.wartung {
	font-size:11px;
	line-height:14px;
	margin-bottom:8px;
	color:#d00;	
}




/* /////////////////////////////////////////////// 
RESPONSIVE
/////////////////////////////////////////////// */


/* haupnav ein-, mobilenav ausblenden */
@media only screen and (min-width: 1021px){
}


/* ipad */
@media only screen and (max-width: 1080px) {
}


