/*
Theme Name:  Kriegsspiele Online
Description: Custom theme for kriegsspiele.online
Version:     2.0.0
Text Domain: kriegsspiele
*/

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

* {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}
body {
	font-size: 12px;
	font-family: Tahoma, Geneva, sans-serif;
	background: url(/wp-content/themes/kriegsspiele/images/bg.png) fixed;
	color: #333;
	text-align: justify;
}
img {
	border: none;
}
p {
	margin: 0 0 18px 0;
	line-height: 18px;
}
a {
	color: #8C9458;
	text-decoration: none;
}
a:hover {
	color:#000;
	text-decoration: underline;
}
.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	float: right;
}
.aligncenter {
	display: block;
	margin: 0 auto;
}
.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	float: left;
}
/* WRAPPER */

#wrapper {
	width: 960px;
	padding: 20px;
	margin: 20px auto;
	background: #fff;
	box-shadow: inset 0 0 3px #000;
	border: 1px solid #1E2E23;
	border-radius: 4px;
}
/* HEADER  */

#header {
	width: 100%;
	position: relative;
}

#header a.logo {
	width: 100%;
	height: 180px;
	background: url(/wp-content/themes/kriegsspiele/images/logo.png) no-repeat;
	display: block;
	border-radius: 2px 2px 0 0;
}

#header .h1 {
	position: absolute;
	top: 135px;
	left: -10px;
	width: auto;
	text-align: left;
	color: #000;
	font-family: 'Anton', sans-serif;
	font-weight: 300;
	text-transform: uppercase;
	font-size: 14px;
	background: #fff;
	padding: 5px 10px;
	border-radius: 2px;
}

/* NAV  */

#header nav {
	width: 100%;
	height: 41px;
	background: #4B5B41;
	bottom: 0;
	border-radius: 0 0 2px 2px;
	border-top: 1px solid #4B5B41;
	display: block;
}
#header nav ul {
	width: 100%;
	height: 41px;
	line-height: 41px;
	display: block;
}
#header nav ul li {
	float: left;
	list-style: none;
	border-right: 1px solid #4B5B41;
	border-left: 1px solid #8B9357;
	border-top: 1px solid #8B9357;
}
#header nav ul li.home {
	border-left: none;
}
#header nav ul li.home a {
	display: block;
	width: 40px;
	height: 40px;
	background-image: url(/wp-content/themes/kriegsspiele/images/home.png);
	background-position: center center;
	background-repeat: no-repeat;
}
#header nav ul li.home.active a {
	background-color: rgba(255,255,255,0.25);
}
#header nav ul li a {
	display: block;
	height: 40px;
	line-height: 40px;
	width: 175px;
	text-align: center;
	color: #fff;
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 15px;
	text-shadow: 0 -1px 0 #1E2E23;
}
#header nav ul li a:hover {
	color: #D9D188;
	text-decoration: none;
}
#header nav div.more {
	width: 33px;
	height: 40px;
	position: relative;
	float: left;
	border-left: 1px solid #8B9357;
	border-radius: 0 0 2px 0;
	border-top: 1px solid #8B9357;
}

#header nav div.more:hover {
	background-color: rgba(255,255,255,0.25);
}

#header nav div.more span {
	width: 33px;
	height: 40px;
	display: block;
	border-radius: 0 0 2px 0;
	background: url(/wp-content/themes/kriegsspiele/images/arrow-down.png) no-repeat center center;
}
#header nav div.more ul.children {
	width: 160px;
	padding: 0 10px;
	height: 0;
	overflow: hidden;
	position: absolute;
	top: 41px;
	right: 0;
	z-index: 999;
	background: #4B5B41;
	display: none;
	border: none;
	border-radius: 2px;
	transition: all 0.3s linear;
}

#header nav div.more:hover ul.children {
	display: block;
	height: auto;
}

#header nav div.more ul.children li {
	display: block;
	width: 160px;
	text-align: left;
	border: none;
}
#header nav div.more ul.children li a {
	text-align: left;
}
/* CONTENT */

#content {
	width: 100%;
	position: relative;
	margin: 20px 0;
}
/* WELCOME TEXT */

#content .wctext {
	width: 100%;
	position: relative;
}
#content .wctext h2, #content .wctext h3, #content .wctext h4 {
	width: 100%;
	position: relative;
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	color: #999;
	font-size: 18px;
	text-transform: uppercase;
}
/* POST */

#content .post {
	width: 306px;
	margin: 0 20px 20px 0;
	overflow: hidden;
	float: left;
}
#content .post.last {
	margin: 0 0 20px 0;
	float: right;
}
#content .post a.more:hover {
	text-decoration: none;
}
#content .post a.more img.thumb {
	width: 306px;
	height: 220px;
	display: block;
	background: #f5f5f5;
	border-radius: 2px;
}
#content .post a.more h3 {
	color: #999;
	width: 270px;
	padding: 0 0 0 36px;
	background-image: url(/wp-content/themes/kriegsspiele/images/work-icon.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	display: block;
	margin: 10px 0;
	line-height: 30px;
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 22px;
}
#content .post a.more:hover h3 {
	color: #000;
	background-image: url(/wp-content/themes/kriegsspiele/images/work-icon-black.png);
	text-decoration: none;
}
#content .post .entry {
	width: 100%;
	height: 90px;
	line-height: 20px;
	overflow: hidden;
	color: #333;
	font-size: 15px;
	text-align: justify;
	margin: 20px 0 0 0;
}
#content .post .entry p {
	margin: 0;
}

#content .post a.rmore {
	width: 100%;
	height: 20px;
	line-height: 20px;
	display: block;
	text-align: right;
	margin: 10px 0 0 0;
	color: #999;
}

#content .post a.rmore:hover {
	color: #000;
	text-decoration: none;
}

/* SINGLE */

#content .single {
	float: left;
	width: 100%;
	text-align: justify;
}

#content .single h2 {
	width: 100%;
	line-height: 30px;
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 24px;
	border-bottom: 1px solid #ccc;
	margin: 0 0 10px 0;
	padding: 0;
}

#content .single .text {
	width: 100%;
}
#content .single #rating {
	float: right;
	padding-bottom: 15px;
}

#content .single .entry h2, #content .single .entry h3, #content .single .entry h4 {
	width: 100%;
	line-height: 30px;
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 20px;
	margin: 0 0 8px 0;
	text-align: left;
	color: #999;
	border-bottom: none;
}

#content .single .entry h3 {
	line-height: 20px;
}

#content .single .entry h4 {
	line-height: 14px;
}

#content .single .entry a.btn {
	width: 100%;
	line-height: 40px;
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 20px;
	display: block;
	background: linear-gradient(to bottom, #9dd53a 0%, #a1d54f 50%, #80c217 51%, #7cbc0a 100%);
	text-align: center;
	border-radius: 2px;
	color: #fff;
	text-shadow: 0 -1px 0 #000;
}

#content .single .entry a.goto {
	width: 250px;
	height: 40px;
	line-height: 40px;
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 -1px 0 #000;
	font-size: 20px;
	text-align: center;
	background: linear-gradient(to bottom, #9dd53a 0%, #a1d54f 50%, #80c217 51%, #7cbc0a 100%);
	position: absolute;
	top: -10px;
	right: 0;
}

#content .single .entry a.btn:hover {
	color: #ffdd00;
	text-decoration: none;
}

#content .single .entry ul {
	margin: 0 0 20px 20px;
}

/* SIDEBAR */

#sidebar {
	float: right;
	width: 250px;
	margin: 0 0 0 0;
}

#nav-toggle {
	display: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
}

/* FOOTER */

#footer {
	text-align: center;
	padding: 0 0;
	font-size: 11px;
	line-height: 13px;
}
#footer p {
	margin: 0;
}

@media (max-width: 1000px) {
	#wrapper {
		width: 90%;
		margin: 10px 2.5%;
		padding: 10px 2.5%;
	}
	#header a.logo {
		background-size: cover;
		height: 120px;
	}
	#header .h1 {
		display: none;
	}
	#nav-toggle {
		display: table;
		width: 60%;
		height: 30px;
		line-height: 30px;
		text-align: center;
		font-weight: 700;
		font-size: 16px;
		margin: 20px auto;
		border-radius: 2px;
		background: #4B5B41;
		color: #fff;
	}
	#header nav {
		height: 0;
		overflow: hidden;
		padding: 0;
		border: none;
		transition: all 0.3s linear;
	}
	#header nav.active {
		height: auto;
	}
	#header nav ul {
		height: auto;
		display: inline-block;
		margin: 0;
	}
	#header nav ul li {
		width: 100%;
		border: none;
	}
	#header nav ul li a,
	#header nav ul li.home a {
		width: 100%;
		text-align: center;
	}
	#header nav div.more {
		width: 100%;
		border: none;
		height: auto;
	}
	#header nav div.more span.more {
		display: none;
	}
	#header nav div.more ul.children {
		position: relative;
		left: inherit;
		top: inherit;
		width: 100%;
		display: inline-block;
		height: auto;
		padding: 0;
	}
	#header nav div.more ul.children li {
		width: 100%;
	}
	#header nav div.more ul.children li a {
		text-align: center;
	}
	#content .post {
		width: 100%;
		margin: 0 0 20px 0;
	}
	#content .post a.more h3 {
		width: 90%;
		padding: 0 0 0 10%;
	}
	#content .post a.more img.thumb {
		width: 100%;
		height: auto;
	}
	#content .single .entry a.goto {
		display: none;
	}
	#content .single div.entry img,
	#content .single div.entry img.alignleft,
	#content .single div.entry img.alignright,
	#content .single div.entry img.aligncenter {
		padding: 0;
		display: table;
		margin: 0 auto 20px auto;
		float: none;
		max-width: 100%;
		height: auto;
	}
	#content .single div.entry div.alignleft,
	#content .single div.entry div.alignright,
	#content .single div.entry div.aligncenter {
		padding: 0;
		display: table;
		margin: 0 auto 20px auto;
		float: none;
		max-width: 100%;
		height: auto;
		overflow: hidden;
	}
	#content .single div.entry iframe {
		width: 100% !important;
	}
	#content .single div.entry h2,
	#content .single div.entry h3,
	#content .single div.entry h4 {
		line-height: 32px;
	}
	#content .single .entry a.btn {
		font-size: 16px;
	}
}
