/* ---------------------------------------- */
/* Theme Name: elektro-feuerzeug.de
/* Theme URI: https://www.elektro-feuerzeug.de/
/* Version: 1.0
/* ----------------------------------------------- */

/* ------ */
/* GLOBAL */
/* ------ */

/* Moderner, schlanker Reset (verhaltensgleich zum bisherigen) */
*, *::before, *::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
body {
	margin: 0;
}
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
dl, dd, ol, ul,
figure, fieldset, legend, form {
	margin: 0;
	padding: 0;
}
fieldset, img {
	border: 0;
}
body {
	line-height: 1;	
	color: #000;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center center;
	background-color: #f5f5f5;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a {
	color: #008176;
	text-decoration: none;
}
a:hover {
	color: #008176;
	text-decoration: underline;
}
a img {
	border: none;
}

.alignright {
	padding: 0;
	margin: 0 0 0 20px;
	display: inline;
	float: right;
}
.aligncenter {
	display: block;
	margin: 0 auto;
}
.alignleft {
	padding: 0;
	margin: 0 20px 0 0;
	display: inline;
	float: left;
}
*.clear {
	clear: both;
}
b, strong {
	font-weight: 700;
}
*.icon::before,
div.content article ul li::before {
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;
}
/*-------------*/
/* !SELECTION  */
/*-------------*/

::selection {
    background: #008176;
    color: #fff;
}
::-moz-selection {
    background: #008176;
    color: #fff;
}
/*-----------*/
/* !WRAPPER  */
/*-----------*/
div#wrapper {
	width: 1000px;
	margin: 20px auto;
	position: relative;
	background: #fff;
	box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
/*----------*/
/* !HEADER  */
/*----------*/
header {
	width: 100%;
	position: relative;
	height: 200px;
}
header .h1 {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 999;
	background-repeat: no-repeat;
	background-position: right top;
	background-size: auto;
	background-color: none;
}
header .h1 a {
	width: 100%;
	height: 100%;
	display: block;
	text-indent: -9999px;
}
header img {
	width: 100%;
	position: relative;
}
/*-------*/
/* !NAV  */
/*-------*/
nav {
	width: 100%;
	display: inline-block;
	background: #008176;
}
nav ul {
	width: 100%;
	display: flex;
	justify-content: space-evenly;
}
nav ul li {
	flex: auto;
}
nav ul li a {
	width: 100%;
	display: block;
	padding: 12px 0;
	color: #fff;
	font-size: 14px;
	text-transform: uppercase;
	text-align: center;
}
nav ul li+li a {
	border-left: 1px solid #00a193;
}
nav ul li a:hover {
	background: #00665d;
	text-decoration: none;
	color: #fff;
}
nav ul li.current_page_item::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	height: 1px;
	background: #fff;
}
nav ul li.current_page_item a {
	background: #fff;
	color: #008176;
}
nav ul li.current_page_item a:hover {
	background: #fff;
	color: #008176;
}
/*-----------*/
/* !CONTENT  */
/*-----------*/
div.content {
	width: 100%;
	display: inline-block;
}
div.content article {
	width: 100%;
	padding: 20px;
}
div.content article.half {
	width: 70%;
	float: left;
	padding: 20px 0 20px 20px;
}
div.content article.half aside {
	padding: 0;
	margin: 0 20px 20px 20px;
	width: 260px;
}
div.content article aside ul {
	padding: 0;
	list-style: none;
	width: 260px;
}
div.content article aside ul li {
	list-style: none;
}
div.content article aside ul li::before {
	display: none;
}
div.content article p {
	font-size: 14px;
	line-height: 18px;
	padding: 0 0 18px 0;
}
div.content article p.signature {
	font-family: 'Sacramento', cursive;
	font-size: 35px;
	line-height: 35px;
	font-style: italic;
}
div.content article h1,
div.content article h2 {
	margin: 0 0 18px 0 !important;
	font-size: 20px;
	position: relative;
	padding: 0 0 10px 0;
}
div.content article div#nafets_imprint h2 {
	margin: 0 0 18px 0 !important;
	font-size: 20px !important;
}
div.content article h1 span,
div.content article h1 a,
div.content article h2 span,
div.content article h2 a {
	width: 20px;
	height: 20px;
	float: left;
	margin: 0 10px 0 0;
	background-image: url('/wp-content/themes/elektrofeuerzeug/images/h2_icon.png');
	background-repeat: no-repeat;
}
div.content article h1::before,
div.content article h2::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	height: 2px;
	width: 100%;
	background: #f5f5f5;
}
div.content article h1::after,
div.content article h2::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	height: 2px;
	width: 20px;
	background: #008176;
}
div.content article h3 {
	margin: 0 0 10px 0;
	font-size: 18px;
	position: relative;
	padding: 0 0 10px 0;
}
div.content article h3.fa {
	font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}
div.content article h3.fa::before {
	margin: 0 5px 0 0;
	font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
div.content article h3.fa-plus::before {
	color: #25A65B;
}
div.content article h3.fa-minus::before {
	color: #E84443;
}
div.content article h3.fa-adjust::before {
	color: #aaa;
}
div.content article ul,
div.content article ol {
	font-size: 14px;
	line-height: 18px;
	padding: 0 0 18px 30px;
}
div.content article ul li {
	list-style: none;
	position: relative;
}
div.content article ul li::before {
	content: '\f105';
	position: absolute;
	left: -10px;
	top: 0;
	color: #008176;
}
div.content article ol li {
	list-style: decimal;
}
div#nafets_imprint p+p {
	margin: 0 !important;
}
div.content article iframe {
	display: table;
	margin: 0 auto 20px auto;
	border: 10px solid #008176;
}
div.content article div.line {
	margin: 60px 0;
	height: 1px;
	width: 100%;
	background: #ececec;
	position: relative;
}
div.content article div.line::before {
	content: '';
	width: 30px;
	height: 30px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -15px 0 0 -15px;
	background-image: url('/wp-content/themes/elektrofeuerzeug/images/icon_lighter.png');
	background-color: #fff;
	border-left: 20px solid #fff;
	border-right: 20px solid #fff;
}
/*-------*/
/* !TOC  */
/*-------*/
div.content article div.toc {
	width: 100%;
	display: inline-block;
	padding: 20px;
	background: #f5f5f5;
	margin: 0 0 20px 0;
}
div.content article div.toc div.title {
	width: 100%;
	margin: 0 0 15px 0;
	color: #008176;
}
div.content article div.toc ul {
	width: 100%;
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start; 
	align-content: center;
}
div.content article div.toc ul li {
	width: 25%;
	list-style: none;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	display: flex;
	align-content: center;
}
div.content article div.toc ul li::before {
	display: none;
}
div.content article div.toc ul li a {
	padding: 8px 15px;
	width: 100%;
	height: 100%;
	display: block;
	cursor: pointer;
	color: #aaa;
}
div.content article div.toc ul li a:hover {
	background: #eee;
	text-decoration: none;
}
/*---------*/
/* !BOXEN  */
/*---------*/
div.content div.boxen {
	width: 100%;
	clear: both;
	display: inline-block;
	padding: 0 20px;
}
div.content div.boxen div.box {
	width: 30%;
	float: left;
	background: #f5f5f5;
	border: 3px solid #eee;
	border-radius: 3px;
}
div.content div.boxen div.box:hover {
	border: 3px solid #108075;
}
div.content div.boxen div.box+div.box {
	margin: 0 0 0 5%;
}
div.content div.boxen div.box a {
	width: 100%;
	display: inline-block;
	text-align: center;
	cursor: pointer;
}
div.content div.boxen div.box a:hover {
	background: #008176;
	text-decoration: none;
}
div.content div.boxen div.box a img {
	display: block;
	margin: 0 auto 10px auto;
	width: 100%;
	height: 225px;
}
div.content div.boxen div.box a p {
	font-size: 14px;
	text-transform: uppercase;
	line-height: 30px;
	padding: 0 0 10px 0;
	display: block;
	width: 100%;
	color: #008176;
	text-decoration: none;
}
div.content div.boxen div.box a:hover p {
	color: #fff;
}
/*-----------*/
/* !TABELLE  */
/*-----------*/
table {
	max-width: 100%;
	width: 100%;
	margin: 0 0 20px 0;
	border-right: 1px solid #dedede;
	border-top: 1px solid #dedede;
	font-size: 14px;
	line-height: 18px
}
table thead tr th,
table tbody tr td {
	border-bottom: 1px solid #dedede;
	border-left: 1px solid #dedede;
	padding: 5px;
	text-align: center;
}
table thead tr th {
	font-weight: bold;
	background: #EFEFEF;
}
table thead tr th img,
table tbody tr td img {
	display: table;
	margin: 0 auto;
	max-width: 90%;
}
table tbody tr td a.aawp-button {
	display: inline-block;
	margin: 0 auto;
	padding: 7px 10px;
}
table thead tr th:nth-child(even),
table tbody tr td:nth-child(even) {
	background: rgba(134,174,204,0.1);
}
table thead tr th:nth-child(odd) {
	background: rgba(134,174,204,0.0);	
}
table tbody tr.vote {
	color: #27AE60;
	font-weight: bold;
}
table tbody tr.vote td:nth-child(1) {
	color: #555;
	font-weight: normal;
}
table tbody tr td p {
	margin: 0;
	padding: 0;
}
table tbody tr td strike {
	width: 100%;
	display: block;
	font-size: 12px;
	color: #E84443;
}
/*--------*/
/* !AAWP  */
/*--------*/
div.content article div.aawp p {
	padding: 0;	
}
/*---------*/
/* !ASIDE  */
/*---------*/
aside {
	width: 30%;
	float: right;
	padding: 20px;
}
aside ul {
	width: 100%;
	display: inline-block;
}
aside ul li {
	width: 100%;
}
aside ul li a {
	display: inline-block;
	width: 100%;
}
aside ul li a img {
	width: 100%;
	height: 50px;
	margin: 0 0 10px 0;
	display: block;
}
aside ul li a img:hover {
	opacity: 0.8;
}
/*-------*/
/* !TOC  */
/*-------*/
aside ul.toc {
	width: 100%;
	margin: 0 0 10px;
}
aside ul.toc li {
	width: 100%;
	position: relative;
}
aside ul.toc li.icon::before {
	content: '\f105';
	position: absolute;
	left: 10px;
	top: 4px;
	color: #aaa;
	font-size: 12px;
}
aside ul.toc li.h3::before {
	left: 30px;
}
aside ul.toc li.h3 {
	padding: 0 0 0 20px;
}
aside ul.toc li.title {
	border-bottom: 1px solid #eee;
	padding: 0 0 7px 0;
	margin: 0 0 7px 0;
	font-size: 20px;
}
aside ul.toc li a {
	padding: 5px 0 5px 20px;
	color: #aaa;
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
}
/*----------*/
/* !footer  */
/*----------*/
footer {
	padding: 10px;
	background: #008176;
	font-size: 10px;
	text-align: right;
	color: #fff;
}
footer a {
	color: #fff;
}
footer a:hover {
	color: #fff;
	text-decoration: underline;
}
div#back-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	color: #eee;
	font-size: 60px;
	padding: 10px;
	background: rgba(255,255,255,0.6);
}
@media (max-width: 768px) {
	div#wrapper {
		width: 100%;
		margin: 0;
	}
	header {
		height: auto;
	}
	header img {
		width: 100%;
		height: auto;
	}
	nav {
		border: none;
	}
	nav ul {
	}
	nav ul li {
		width: 50%;
	}
	nav ul li {
		width: 50%;
		border-top: 1px solid #dbd0c0;
	}
	nav ul li:nth-child(even) {
		width: 50%;
		border-left: 1px solid #dbd0c0;
	}
	nav ul li a {
		width: 100%;
		text-align: center;
		border: none;
	}
	div.content article.half {
		width: 100%;
		padding: 20px 20px 0 20px;
	}
	aside,
	div.content article.half aside {
		width: 100%;
		margin: 0;
		padding: 0;
	}
	div.content article.half aside ul {
		display: table;
		margin: 0 auto;
	}
	aside ul li a img,
	div.content div.boxen div.box a img,
	div.content article.half aside a img {
		display: table;
		margin: 0 auto 10px auto;
		display: table;
		max-width: 100%;
		width: auto;
		height: auto;
	}
	div.content div.boxen div.box a img {
		margin: 20px auto 10px auto;
	}
	div.content div.boxen div.box {
		width: 100%;
	}
	div.content div.boxen div.box+div.box {
		border: none;
		border-top: 1px solid #dbd0c0;
	}
	div.content article div.toc ul li {
		width: 100%;
	}
	div.content article iframe {
		width: 100% !important;
		height: 300px;
	}
}