/*
Theme Name: Robin Menges 2014
Theme URI: http://www.gabrielmachts.com
Description: Wordpress-Theme für Robin Menges 2014
Author: Gabriel Stabentheiner
Author URI: http://www.gabrielmachts.com
*/

@charset "utf-8";


/* raleway-300 - latin */
@font-face {
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 300;
	src: url('fonts/raleway-v28-latin-300.eot');
	/* IE9 Compat Modes */
	src: local(''),
		url('fonts/raleway-v28-latin-300.eot?#iefix') format('embedded-opentype'),
		/* IE6-IE8 */
		url('fonts/raleway-v28-latin-300.woff2') format('woff2'),
		/* Super Modern Browsers */
		url('fonts/raleway-v28-latin-300.woff') format('woff'),
		/* Modern Browsers */
		url('fonts/raleway-v28-latin-300.ttf') format('truetype'),
		/* Safari, Android, iOS */
		url('fonts/raleway-v28-latin-300.svg#Raleway') format('svg');
	/* Legacy iOS */
}

/* raleway-regular - latin */
@font-face {
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 400;
	src: url('fonts/raleway-v28-latin-regular.eot');
	/* IE9 Compat Modes */
	src: local(''),
		url('fonts/raleway-v28-latin-regular.eot?#iefix') format('embedded-opentype'),
		/* IE6-IE8 */
		url('fonts/raleway-v28-latin-regular.woff2') format('woff2'),
		/* Super Modern Browsers */
		url('fonts/raleway-v28-latin-regular.woff') format('woff'),
		/* Modern Browsers */
		url('fonts/raleway-v28-latin-regular.ttf') format('truetype'),
		/* Safari, Android, iOS */
		url('fonts/raleway-v28-latin-regular.svg#Raleway') format('svg');
	/* Legacy iOS */
}


html {
	font-size: 62.5%;
	/* 1rem ^= 10px */
}

body {
	background: #fff url('images/bg_baum.png') no-repeat center top;
	text-align: center;
	/* Zentrierung im Internet Explorer */
	font-size: 15px;
	/* für alte Browser, die rem nicht interpretieren */
	font-size: 1.5rem;
	line-height: 1.5em;
	font-family: 'Raleway', sans-serif;
	color: #000000;
	margin: 0;
}

/* ALLGEMEIN */

p, a, span {
	text-align: left;
	margin: 5px 0 15px;
}

.light {
	font-weight: 300;
}

a:link {
	color: #6F3902;
	text-decoration: none;
}

a:visited {
	text-decoration: none;
	color: #6F3902;
}

a:hover {
	text-decoration: none;
	color: #EF7A04
}

#content h1::first-letter {
	text-transform: uppercase;
}

#content h3 {
	margin: 1.5em 0 0.5em;
}

.screen-reader-text {
	display: none;
}

div#main ol, ul {
	/* list-style: outside none none;
 margin-left: -30px; */
}

div#main ul li {
	margin-bottom: 5px;
	padding-left: 12px;
	/* background-image: url('images/list_arrow.png');
 background-repeat: no-repeat;
 background-position: 0px 6px; */
}

div, ul, li {
	box-sizing: border-box;
	/* Opera/IE 8+ */
	-webkit-box-sizing: border-box;
	/* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;
	/* Firefox, other Gecko */
}

.clear {
	clear: both;
}


.outer_wrapper {
	width: 1280px;
	margin: 0px auto;
}

.inner_wrapper {
	width: 900px;
	margin: 0px auto;
}

/* Header: */

#logo {
	float: right;
	margin: 25px 37px 17px;
}


/* MAIN MENU */


.menu {
	color: #fff;
	text-align: center;
	position: relative;
	width: 100%;
	margin: 0;
}

.menu a {
	text-decoration: none !important;
}

.menu ul {
	height: 30px;
	margin: 0;
	padding: 0;
}

.menu li {
	height: 30px;
	display: inline-block;
	padding: 5px 12px;
	list-style: none;
	font-size: 17px;
	/* für alte Browser, die rem nicht interpretieren */
	font-size: 1.7rem;
}

.menu li a:link, .menu li a:visited {
	color: #fff;
}

.menu li a:hover {
	text-decoration: none;
	color: rgb(239, 122, 4);
}


/* Menü 1: */
.menu>ul {
	background-color: rgb(150, 181, 34);
}

.menu>ul li.current_page_item, .menu>ul li.current_page_ancestor {
	background-color: rgb(203, 211, 110);
}

.menu>ul li.current_page_item>a, .menu>ul li.current_page_ancestor>a {
	color: rgb(239, 122, 4);
}

/* Menü 2: */
.menu>ul>li>ul {
	visibility: hidden;
	position: absolute;
	left: 0;
	top: 30px;
	width: 100%;
	background-color: rgb(169, 189, 79);
}

/* Menü 3: */
.menu>ul>li>ul>li>ul {
	visibility: hidden;
	position: absolute;
	top: 30px;
	left: 0;
	width: 100%;
	background-color: rgb(203, 211, 110);
}

.menu>ul>li>ul>li>ul li.current_page_item {
	background-color: rgb(239, 122, 4);
}

.menu>ul>li>ul>li>ul li.current_page_item>a, .menu>ul>li>ul>li>ul li.current_page_item>a:hover {
	color: #fff;
}


/* MMenu (menu for small screens) */

#mmenu {
	height: 28px;
	display: none;
	padding: 0px;
	overflow: hidden;
	background-color: rgb(150, 181, 34);
}

#mmenu-button {
	float: right;
	display: inline-block;
	z-index: 2;
	position: relative;
	top: -1px;
}

#mmenu-button * {
	height: 100%;
	display: inline-block;
}

#mmenu-button p {
	margin: 0;
	padding: 3px 4px;
	vertical-align: top;
	color: rgb(255, 255, 255);
}

/* BANNER */
body:not(.home) #banner {
	margin-top: 30px;
}

#banner img {
	width: 100%;
	height: auto;
}


/* TEXTBLOCK: */


#main {
	position: relative;
}

#content {
	width: 100%;
	padding: 35px 5px 50px;
	text-align: left;
	/* Seiteninhalt wieder links ausrichten */
}

body.single #content,
body.archive #content {
	width: 615px;
}

#content h1, body.archive #content h2.entry-title {
	color: rgb(239, 122, 4);
	font-size: 20px;
	/* für alte Browser, die rem nicht interpretieren */
	font-size: 2rem;
	display: inline-block;
	border-bottom: 1px solid #ccc;
	padding-bottom: 15px;
	padding-right: 10px;
	margin-bottom: 7px;
}

#content h1::first-line {
	color: rgb(150, 181, 34);
}

#content p, #content li, #content a {
	font-weight: 300;
}

#content strong, #content b {
	font-weight: 400 !important;
}

#content a:hover {
	color: rgb(239, 122, 4) !important;
}

.alignleft {
	float: left;
	margin-right: 30px;
}


/* STARTSEITE */
#main .home-buch-button {
	position: absolute;
	bottom: 0;
	left: 650px;
	margin: 0;
	margin-left: 15px;
}

.home-buch-button img {
	max-width: unset;
}

/* FEEDBACK-BLÖCKE */
.feedback {
	position: relative;
	border-bottom: 5px solid rgb(203, 211, 110);
	display: block;
	background: #F5F5F5;
	box-shadow: 0 2px 4px 0px rgba(170, 170, 170, 0.4);
	margin: 1.5em 0 2em;
	padding: 10px 15px;
}

.feedback::before, .feedback::after {
	z-index: -1;
	position: absolute;
	content: '';
	bottom: 1em;
	width: 50%;
	top: 80%;
	background: #aaa;
	box-shadow: 0 1em .5em #aaa;
}

.feedback::before {
	box-shadow: 0 1em 0.5em 2px #aaa;
	transform: rotate(-3.5deg);
	left: 0.7em;
}

.feedback::after {
	box-shadow: 0 1em 0.5em 5px #aaa;
	transform: rotate(4deg);
	right: 1em;
}

.feedback em {
	display: block;
	text-align: right;
	margin-top: 0.7em;
}


/* BLOG */

.news-article {
	margin: 2em 0;
	padding: 0;
	box-shadow: 1px 1px 5px 0px rgba(170, 170, 170, 0.5);
	background: #fff;
	width: 900px;
}

.news-article::after {
	content: "";
	clear: both;
	display: block;
}

.news-article-thumb {
	float: left;
	margin: 0 15px 0 0;
	max-width: 33%;
}

.news-article-thumb img {
	vertical-align: bottom;
	width: 100%;
	height: auto;
}

.news-article-content {
	padding: 1px 20px 15px;
}

.news-article .entry-title {
	margin-top: 0.5em;
}

nav.pagination {
	text-align: center;
	width: 900px;
	margin-bottom: 2em;
	max-width: 100%;
}

nav.pagination .screen-reader-text {
	visibility: hidden;
}

.pagination .nav-links .page-numbers {
	padding: 12px 18px;
	border-radius: 2px;
	font-weight: bold;
	border: 1px solid #6F3902;
	margin: 3px;
}

.pagination .nav-links .page-numbers.next, .pagination .nav-links .page-numbers.prev {
	padding: 12px 8px;
	border: none;
}

.pagination .nav-links span.page-numbers.current {
	background: rgba(111, 57, 2, 0.5);
	color: #fff
}

aside.sidebar {
	width: 225px;
	float: right;
	margin-top: 33px;
	margin-left: 50px;
	text-align: left;
	padding-bottom: 50px;
}

.sidebar h2 {
	font-size: 1.8rem;
	color: #444;
}

.sidebar ul {
	padding-left: 20px;
	color: #444;
}

.sidebar ul li {
	padding-left: 5px !important;
}

.wp-block-latest-posts.wp-block-latest-posts__list {
  list-style: disc;
}

.wp-block-tag-cloud a, .wp-block-tag-cloud span {
	margin: 0 7px 3px 0;
	line-height: 1.1;
	padding: 0;
}

.wp-block-tag-cloud span {
	margin: 0 0 0 5px;
}

.entry-title a {
	font-weight: bold !important;
}

#content .post-meta {
	margin: 0 10px 15px 0;
	color: #888;
	font-size: 14px;
}

.post-meta .tags {
	display: inline-block;
	margin-left: 15px;
}

.post-meta .tag {
	padding-left: 7px;
}

.post-meta .tag a::before {
	content: "#";
}


hr.after-post {
	color: transparent;
	border-top: 3px double #ccc;
	margin: 20px 0 40px;
}

hr.after-post:last-child {
	display: none;
}

/* SOCIAL SHARING */

ul.heateor_sss_sharing_ul {
	padding: 20px 0 60px !important;
}

ul.heateor_sss_sharing_ul li {
	padding: 0 5px !important;
}

/* Beitrags-Navigation */
.nav-links .post-title {
	font-style: italic;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.nav-previous, .nav-next {
	width: 48%;
	float: left;
	margin-right: 2%;
	padding-right: 3px;
}

.nav-next {
	margin-right: 0;
	margin-left: 2%;
	text-align: right;
}



/* QUOTE and FOOTER */

#quote {
	width: 100%;
	height: 100px;
	clear: both;
	margin: 10px 0 0;
	background-color: rgb(150, 181, 34);
}

.quote-container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}

.quote-inner {
	width: 72.222222222%;
	flex-grow: 10;
	padding: 5px 0;
	color: #fff;
	font-size: 18px;
	/* für alte Browser, die rem nicht interpretieren */
	font-size: 1.8rem;
	text-align: left;
}

#quote p .author {
	font-weight: 300;
	font-size: 16px;
	/* für alte Browser, die rem nicht interpretieren */
	font-size: 1.6rem;
}

#footer {
	width: 100%;
	height: 40px;
	margin: 0;
	background-color: rgb(203, 211, 110);
}

#social_icons {
	text-align: left;
	float: left;
}

#social_icons img {
	height: 40px;
}

#footer_menu {
	color: #fff;
	text-align: center;
}

#footer_menu a {
	text-decoration: none !important;
}

#footer_menu ul {
	margin: 0;
	padding: 0;
}

#footer_menu li {
	display: inline-block;
	padding: 7px 12px;
	list-style: none;
	font-size: 13px;
	font-size: 1.5rem;
}

#footer_menu li a:link, #footer_menu li a:visited {
	color: #fff;
	text-shadow: 0 0 20px #000;
}

#footer_menu li a:hover {
	color: rgb(239, 122, 4) !important;
}


/* SCHLAGWORT-SEITE */
body.archive #content h1 {
	display: block;
	background: rgba(255, 255, 255, 0.8);
	padding: 15px;
	text-align: center;
	border: 1px solid rgb(150, 181, 34);
	margin-bottom: 40px;
	margin-right: 20px;
}

/* Responsive Design */

@media only screen and (max-width:1280px) {
	.outer_wrapper {
		width: 100%;
		margin: 0;
	}

	#header {
		width: 900px;
		margin: 0px auto;
	}

	#logo {
		margin: 25px 0 17px;
	}
}

@media only screen and (max-width:1140px) {
	#main .home-buch-button {
		position: relative;
		bottom: 0;
		left: 0;
		text-align: right;
		margin-left: 0;
	}
}

@media only screen and (max-width:900px) {
	html {
		font-size: 56.25%;
		/* 1rem ^= 9px */
	}

	.inner_wrapper, #header {
		width: 100%;
		margin: 0;
	}

	#main, #quote p {
		padding: 0 15px;
	}

	#logo {
		margin: 17px 10px 17px;
	}

	.menu li {
		padding: 6px 10px;
	}

	#content {
		width: 100%;
	}

	#quote {
		height: auto;
	}

	.quote-inner {
		margin: 10px 15px;
	}

	.news-article {
		width: 100%;
		overflow: hidden;
		position: relative;
	}

	aside.sidebar {
		display: none;
	}

	.nav-previous, .nav-next {
		width: 100%;
		float: none;
		margin: 0 !important;
	}
}

@media only screen and (max-width:640px) {
	#main, #quote p {
		padding: 0 2%;
		width: 96%;
	}

	#logo {
		margin-top: 10px;
		margin-bottom: 10px;
	}

	.menu ul {
		height: 24px;
		top: 24px !important;
	}

	.menu li {
		height: 24px;
		padding: 4px 5px;
		font-size: 14px;
		/* für alte Browser, die rem nicht interpretieren */
		font-size: 1.4rem;
	}

	#content {
		width: 100%;
		padding: 20px 0 10px;
	}

	#footer {
		height: auto;
		min-height: 40px;
	}

	#footer_menu {
		padding: 5px 5px 12px;
	}

	#footer_menu li {
		display: inline-block;
		padding: 7px 8px 0px;
	}

	.news-article {
		box-shadow: none;
	}

	.news-article-thumb {
		max-width: 100%;
		width: 100%;
		height: 100%;
		opacity: 0.25;
		position: absolute;
	}

	.news-article-thumb img {
		vertical-align: bottom;
		width: auto;
		min-width: 100%;
		height: 100%;
	}
}

@media only screen and (max-width:480px) {
	#logo {
		margin: 15px 4% 5px;
		width: 92%;
		max-width: 380px;
	}

	#content {
		width: 100%;
		padding: 5px 0 5px;
	}

	#mmenu {
		display: block;
	}

	.menu>ul {
		display: none;
	}

	.pagination .nav-links .page-numbers {
		padding: 7px 12px;
	}
}


@media only screen and (max-width:320px) {
	#footer {
		min-height: 30px;
	}

	#footer_menu {
		padding: 2px 5px 9px;
	}

	#footer_menu li {
		padding: 5px 6px 0px;
	}
}