/*
Theme Name: ThemeBasic4.0
Author: Sissy Mirtl
Description: Basic Blog-Theme. 
Version: 4.0
*/


@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400');

@font-face {
    font-family: 'theserifextralight_italic';
    src: url('img/theserif-2-xlightita-webfont.woff2') format('woff2'),
         url('img/theserif-2-xlightita-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'theseriflight_italic';
    src: url('img/theserif-3-lightita-webfont.woff2') format('woff2'),
         url('img/theserif-3-lightita-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'theserifsemilight_italic';
    src: url('img/theserif-4-semilightita-webfont.woff2') format('woff2'),
         url('img/theserif-4-semilightita-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'theserifextralight';
    src: url('img/theserif-2-xlight-webfont.woff2') format('woff2'),
         url('img/theserif-2-xlight-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'theseriflight';
    src: url('img/theserif-3-light-webfont.woff2') format('woff2'),
         url('img/theserif-3-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'theserifsemilight';
    src: url('img/theserif-4-semilight-webfont.woff2') format('woff2'),
         url('img/theserif-4-semilight-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'theserifregular';
    src:          url(img/theserif-5-regular-webfont.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'theserifregular_italic';
    src: url('img/theserif-5-regularita-webfont.woff2') format('woff2'),
         url('img/theserif-5-regularita-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'theserifsemibold';
    src: url('img/theserif-6-semibold-webfont.woff2') format('woff2'),
         url('img/theserif-6-semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'theserifsemibold_italic';
    src: url('img/theserif-6-semiboldita-webfont.woff2') format('woff2'),
         url('img/theserif-6-semiboldita-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
	margin: 0;
	padding: 0;
}
body {
	background-color: rgb(246,246,246);
	font-family: 'theserifregular', sans-serif !important;
	font-weight:300;
}


/* HEADER-Elemente */
#nav_container {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 100;
	display:grid;
	padding: 2em 0 0 0;
	box-sizing: border-box;
	margin:0 3em 0 0;
}
#nav_container a, h1 a, .postlinks a {
	text-decoration: none;
}
.site_logo {
	display: inline-block;
	margin: 0 5% 0 0;
	vertical-align: middle;
}
.site_logo a {
	text-indent: 1000px;
	display: block;
	width: 12rem;
	height: 8rem;
	background-image: url(img/1logojb.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right center;
	float:right;
}
nav ul {
	list-style: none;
}
nav li {
	position: relative;
	margin: 1em;
	padding: 0;
	box-sizing:border-box;
	white-space: nowrap;
	text-align: right;
	cursor: pointer;
}


nav a {
	font-family: 'theserifsemibold', sans-serif !important;
	color: #333;
	letter-spacing: 2px;
	padding: 0.5em 0.3em;
}
/*
.no-touch nav li:hover {
	background:linear-gradient(to top,rgba(255,237,0,0) 20%,#ffed00 25%,#ffed00 35%,rgba(255,237,0,0) 50%)
}
.no-touch nav li:hover>a, nav a.active, .current-menu-item>a, .current-menu-parent>a, .home .homebutton a {
	background:linear-gradient(to top,rgba(255,237,0,0) 20%,#ffed00 25%,#ffed00 35%,rgba(255,237,0,0) 50%)
}*/

.no-touch nav a:hover {
	background:linear-gradient(to top,rgba(255,237,0,0) 20%,#ffed00 25%,#ffed00 35%,rgba(255,237,0,0) 50%)
}
.no-touch nav a:hover>a, nav a.active, .current-menu-item>a, .current-menu-parent>a, .home .homebutton a {
	background:linear-gradient(to top,rgba(255,237,0,0) 20%,#ffed00 25%,#ffed00 35%,rgba(255,237,0,0) 50%)
}
/*
.no-touch nav li:hover .sub-menu {
	display: block;
}*/
.first_menu {
	display: inline-block;
	vertical-align: middle;
	font-size: 0.9em;
}
.second_menu {
	position: absolute;
	top: 0;
	right: 5%;
	padding: 0.5em;
	background-color: #FFF;
	border: #000 0.08em solid;
	border-top: none;
	font-size: 0.8em;
}
.second_menu li{ margin:0 0.5em; }

.sub-menu{
	display: none;
    position: relative;
    left: 0;
	font-size: 0.8em;}

.sub-menu-visi {display:block;}

.sub-menu li{display:block; margin:1em 0; padding:0;}

.postlinks3 {
display: inline-block;
vertical-align: middle;
font-size: 1em;
text-align: right;
margin:52vh 4em 0 0;
position: fixed;
right: 0;
z-index: 100000;}


.postlinks3 a {
	font-family: 'theserifsemibold', sans-serif !important;
	color: #333;
	letter-spacing: 2px;
	padding: 0.5em 0em;
	text-decoration: none;
}
.prev3 {
	position: relative;
	margin: 1em 0;
	padding: 0;
	box-sizing:border-box;
	white-space: nowrap;
	text-align: right;
}
.next3 {
	position: relative;
	margin: 1em 0 0 1em;
	padding: 0;
	box-sizing:border-box;
	white-space: nowrap;
	text-align: right;
}


.postlinks2 {
display: inline-block;
	vertical-align: middle;
	font-size: 0.9em;
text-align: right;}

.postlinks2 a {
	font-family: 'theserifsemibold', sans-serif !important;
	color: #333;
	letter-spacing: 2px;
	padding: 0.5em 0.3em;
}
.prev2 {
	position: relative;
	margin: 1em;
	padding: 0;
	box-sizing:border-box;
	white-space: nowrap;
	text-align: right;
}
.next2 {
	position: relative;
	margin: 1em;
	padding: 0;
	box-sizing:border-box;
	white-space: nowrap;
	text-align: right;
}

#site_header {
	min-height:150px;
	min-height:33vh;
	background-color: #ddd;
	background-image:url(img/default-siteheader.svg);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center;
	margin: 8.4rem 0 2em;
	padding: 1.2em 10%;
	box-sizing:border-box;
}



/* CONTENT-Elemente */
main {
	width: 100%;
	max-width: 1240px;
	min-height: 26em;
	margin: 0;
}
article {
	padding: 0;
	margin:0;
}
.post_thumb {
	border: solid 2rem #fff;
	box-sizing: border-box;
	margin: 0 0 2em;
}
.entry_content {
	position: relative;
	box-sizing: border-box;
	padding: 0;
}

.side {
	position:fixed !important; right:-10px; /*z-index: -10*/;
}

.elementor-widget:not(:last-child) {margin-bottom: 10px !important;}
.elementor-column-gap-narrow>.elementor-row>.elementor-column>.elementor-element-populated {
  padding: 10px 10px 0 0 !important;}
.elementor-row:first-child{
  padding-left: 10px !important; padding-bottom: 10px !important;}

h1, h2, h3 {
	letter-spacing: 1px;
	font-weight: normal;
	margin-bottom: 0.2em;
}


h1 {	font-family: 'theserifregular', sans-serif !important;

	font-size: 3em;	text-transform: uppercase; margin-top:50vh !important; }
h2 {
	font-size: 0.9em; /*margin-top:-20px !important; margin-left: 3rem !important; */ 
		font-family: 'theserifregular_italic', sans-serif !important; 
}

h2 a {text-decoration: underline !important;}

h3 {
	font-size: 1em;
	line-height: 1.5em;
	color:#ffed00 !important;
	background-color: #ffed00;
	width:1em;
	height:1em;/*
	margin-left: 1em !important;
    margin-top: -2em !important;
    margin-bottom: 0 !important;*/
	
}
p {
	font-size: 1.2em;
	line-height: 156%;
	padding-bottom: 1.4em;
	box-sizing: border-box;
}
a {
	color: #000;
}
figure {
	margin: 2em 0;
}
figure img, .post_thumb img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}
.postlinks {
	max-width: 55em;
}
.postlinks a {
	font-size: 1.1em;
	display: block;
	margin: 0 6%;
	width: 40%;
	white-space: nowrap;
}
.prev {
	float: left;
}
.next {
	float: right;
}




/* FOOTER-Elemente */
footer {
	border-top: solid 0.1em #000;
	color: #666;
	padding: 1.2em 2em;
}
.widget-title {
	font-weight: normal;
	margin: 2em 4% 0.5em;
	font-size: 1.2em;
	border-bottom: solid #999 0.1em;
	text-transform: uppercase;
}
.footer_widgets a {
	font-size: 0.8em;
	color: #ccc;
}


/* Clearing für Boxen, in denen gefloatet wird! */
.flgroup:before, .flgroup:after {
	content: "";
	display: table;
	clear: both;
}


/* MEDIA QUERIES */
@media only screen and (max-width:60em) {
	#nav_container {
		position: relative;
	}
	.site_logo {
		display: block;
		margin: 0;
		text-align: center;
	}
	.first_menu, .second_menu {
		display: block;
	}
	.first_menu {
		font-size: 1em;
	}
	.first_menu li {
		margin-left: 0em;
	}
	.second_menu {
		font-size: 0.8em;
	}
	#site_header {
		margin-top: 0;
	}
	main {
		margin: 2em auto;
	}
}

@media only screen and (max-width:44em) {
	#nav_container {
		text-align: center;
	}
	.site_logo a {
		margin: 0 auto;
	}
	nav li {
		display: block;
		margin: 1em 0;
	}
	.first_menu, .second_menu {
		margin-left: 0;
	}
	.second_menu {
		position: static;
		border-top: #000 0.08em solid;
		padding-left: 1em;
	}
	.sub-menu {
		position: static;
	}
	
	main {
		width: 96%;
	}
	article {
		padding: 0;
		margin-bottom: 1.6em;
	}
	h1 {
		font-size: 1.8em;
		text-align: center;
	}
	h2 {
		padding: 0.4em;
		font-size: 1.6em;
		text-align: center;
	}
}
