/*
Theme Name: SSCR
Theme URI: http://sscr.de
Author: Jonas Pelzer
Author URI: http://jonaspelzer.de
*/

/*
blue: #272d7a
red: #d7242a

light blue: #e8e6f1
light red: #fcece7
*/
	

* {
	margin: 0;
	padding: 0;
	//outline: solid 1px red;
}

body {
	font-family: 'Fira Sans', sans-serif;
	background: #eee; /*check*/	
	overflow-x: hidden;
}

html {
	overflow-x: hidden;
}

header {
	display: block;
	position: relative;
	
	transition: .4s;
}

h1 {
	font-family: 'Lora', serif;
	width: 100%;
	max-width: 1200px;
	font-size: 38pt;
	letter-spacing: 2pt;
	text-shadow: #000 0px 1px 1px;
	
	position: absolute;
	bottom: 0;
	//height: 120px;
	background: url(gradient.png) repeat-x bottom;
	height: 90px;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	
	-webkit-animation-name: h1;
	-webkit-animation-duration: 1.2s;
	-webkit-animation-direction: alternate;
	-webkit-animation-timing-function: ease-out;
}

h1 a {
	color: #fff !important;
	text-decoration: none;
}

h1 a:hover {
	text-decoration: none;
}

#cover {
	display: block;
	width: 100%;
	max-width: 1200px; /*check*/
	margin: auto; /*check*/
	height: 400px;
	background: no-repeat center bottom;
	/*-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;*/
	
	position: relative;
	
	-webkit-animation-name: cover;
	-webkit-animation-duration: 1.2s;
	-webkit-animation-direction: alternate;
	-webkit-animation-timing-function: ease-out;
}

#cover_replacement {
	background: url(http://sscr.de/wp-content/themes/sscr/fotos/startseite.jpg) no-repeat center bottom;
	display: block;
	width: 100%;
	max-width: 1200px; /*check*/
	margin: auto; /*check*/
	height: 400px;
	margin-top: -400px;
	
	-webkit-animation-name: cover;
	-webkit-animation-duration: 1.2s;
	-webkit-animation-direction: alternate;
	-webkit-animation-timing-function: ease-out;
}

#wrapper {
	width: 100%;
	max-width: 1200px;
	margin: auto;
	background: #fff; /*check*/
	clear: both;
	position: relative;
	transition: .4s;
}

#wrapper:after {
	content: ' ';
	display: block;
	clear: both;
}

nav, #content, h1 a { /* Außenstege */
	margin-left: 40px;
	margin-right: 40px;
}

h1, h2, h3 {
	font-weight: bold;
	border: none !important;
}



/* NAVIGATION */

nav {
	display: block;
	font-size: 14pt;
	line-height: 38pt;
	padding-top: 19pt;
}

ul#menu li {
	list-style-type: none;
	display: inline-block;
	margin-right: 10px;
}

nav a, nav a:visited {
	text-decoration: none;
	border-bottom: solid 4px transparent;
	transition: .4s;
	padding-bottom: 4px;
	color: #272d7a;
}

nav a:hover {
	border-bottom: solid 4px #e8e6f1;
	color: #d7242a;
	padding-bottom: 0;
}

nav li.current_page_item a, nav li.current_page_item a:visited {
	border-bottom: solid 4px #d7242a;
	color: #272d7a;
	padding-bottom: 0;
}

#togglemenu {
	height: 30px;
	width: 180px;
	
	background: url(menutoggle.svg) no-repeat;
	background-position: top left;
	cursor: pointer;
}

#togglemenu span {
	font-style: italic;
	padding-left: 40px;
	line-height: 35px;
	display: block;
}

@media screen and (min-width: 1110px) {
	#togglemenu {
		display: none;
	}
	
	ul#menu {
		display: block !important;
		left: 0;
	}
	
	#wrapper, header {
		left: 0 !important;
	}
}

@media screen and (max-width: 1110px) {
	#togglemenu {
		display: block;
		
		/*position: absolute;
		z-index: 1001;*/
	}
	
	#togglemenu #toggle_close {
		display: none;
	}
	
	ul#menu {
		//display: none;
		
		position: fixed;
		background: #272d7a;
		//background: rgba(39,45,122,0.9);
		top: 0;
		left: -340px;
		bottom: 0;
		overflow-y: auto;
		z-index: 1000;
		width: 250px;
		height: 100%;
				
		transition: .4s;
		box-shadow: inset -2px 0px 4px rgba(0,0,0,0.6);
	}
	
	ul#menu li {
		display: block;
		
		margin-left: 50px;
	}
	
	ul#menu li:first-child {
		margin-top: 38pt;
	}
	
	ul#menu li:last-child {
		margin-bottom: 38pt;
	}
	
	ul#menu li a {
		color: #fff;
	}
	
	#wrapper, header {
	}
}





/* CONTENT */

#content {
	font-size: 14pt;
	line-height: 19pt;
	color: #222;
	margin-top: 76pt;
	position: relative;
}

#content a, a:visited {
	color: #272d7a;
	text-decoration: none;
	transition: .2s;
}

#content a:hover {
	//text-decoration: underline;
	//border-bottom: solid 2px #d7242a;
	color: #d7242a;
}

/*#content a:after {
	content: ' ➞';
	margin-left: -5px;
	opacity: 0;
	transition: margin-left .2s;
}

#content a:hover:after {
	margin-left: 5px;
	opacity: 1;
}*/

#content img {
	margin-top: 19pt;
	max-width: 100%;
	height: auto;
}

article img {
	outline: solid 1px #ccc;
}


h2 {
	font-family: 'Lora', serif;
	font-size: 28pt;
	line-height: 38pt;
	margin-bottom: 38pt;
	letter-spacing: 1pt;
}

h3 {
	font-family: 'Lora', serif;
	font-size: 14pt;
	line-height: 19pt;
}

article {
	margin-bottom: 38pt;
}

h2, h3, p {
	width: 65%;
	margin-bottom: 19pt;
}

article h3 {
	margin-bottom: 0;
}

.date {
	//font-style: italic;
	color: #999;
	margin-bottom: 19pt;
	display: block;
}

ul {
	margin-bottom: 19pt;
}

#sidebar {
	width: 25%;
	position: absolute;
	top: 0;
	right: 0;
	//border-left: solid 1px #ccc;
	padding-left: 2%;
	height: 100%;
	overflow: auto;
}

#sidebar p, #sidebar h3 {
	width: 100%;
}

#sidebar ul {
	list-style-type: none;
}

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

ul#boote img {
	width: 100%;
	max-width: 730px;
	display: block;
	margin-bottom: 10px;
}

ul#boote li {
	list-style-type: none;
}

/*ul#boote li {
	display: inline-block;
	width: 260px;
	height: 300px;
	position: relative;
	cursor: help;
	background: #e8e6f1;
	margin-right: 10px;
	margin-bottom: 10px;
	overflow: hidden;
}

ul#boote li img {
	position: absolute;
	top: 0;
	margin-top: 0;
	margin-bottom: 0;
	//min-height: 300px;
	//min-width: 100%;
	width: 100%;
	height: 100%;
}

ul#boote p {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 230px;
	font-size: 9pt;
	line-height: 11pt;
	opacity: 0;
	background: #fff;
	padding: 5px;
}

ul#boote li:hover p {
	opacity: 1;
}*/

.kleingedrucktes p {
	font-size: 7pt;
	line-height: 9pt;
	margin-bottom: 9pt;
}

.kleingedrucktes h4 {
	font-size: 7pt;
	line-height: 9pt;
	font-weight: bold;
}

ul#galerien li {
	list-style-type: none;
}

ul#suchergebnisse li {
	list-style-type: none;
}

#gwolle_gb_entries {
	margin-top: 38pt;
}

#gwolle_gb_entries img {
	display: none;
}

#loginform label {
	width: 200px;
	display: inline-block;
}



/* BÖRSE */

.adverts-options, .adverts-single-author-avatar {
	display: none;
}

.rslides_container img {
	display: block !important;
	background: red;
}

label[for=advert_category], #advert_category {
	display: none !important;
}

.adverts-list-empty {
	border-bottom: none !important;
}

hr {
	margin-bottom: 19pt;
	border: none;
}

.advert-link {
	font-style: inherit !important;
	font-weight: inherit !important;
	font-size: inherit !important;
	color: inherit !important;
	margin-top: 8px;
}





/* CALL TO ACTION BUTTONS */

a.calltoaction, input[type=button] {
	display: inline-block;
	//padding: 6px 12px;
	height: 38pt;
	line-height: 38pt;
	padding-left: 12px;
	padding-right: 12px;
	border: solid 1px #272d7a;
	text-decoration: none;
	background: #e8e6f1;
	transition: background .2s;
	white-space: nowrap;
	color: #272d7a;
	
	font-family: inherit;
	font-size: inherit;
}

a.calltoaction:hover, input[type=button]:hover {
	background: #fcece7;
	color: #272d7a !important;
	cursor: pointer;
}

a.calltoaction:active, input[type=button]:active {
	position: relative;
	top: 1px;
}

a.calltoaction:after, input[type=button]:after {
	content: ' ➞';
	margin-left: -20px !important;
	opacity: 0;
	transition: margin-left .2s;
}

a.calltoaction:hover:after, input[type=button]:hover:after {
	margin-left: 5px !important;
	opacity: 1;
}




/* FOOTER */

footer {
	clear: both;
	display: block;
	width: 100%;
	margin-top: 76pt;
	padding-bottom: 75pt;
	padding-top: 19pt;
	background: #fff; /*check!*/
	//margin-bottom: 57pt;
}

footer img {
	margin: auto;
	display: block;
	clear: both;
}

footer p {
	display: inline-block;
	margin: auto;
	text-align: center;
	color: #ccc;
	width: 100%;
	margin-top: 38pt;
	font-size: 14pt;
	line-height: 19pt;
}

footer a, footer a:visited {
	color: #666;
	text-decoration: none;
	transition: .2s;
}

footer a:hover {
	color: #333;
}

footer form {
	width: 250px;
	margin: auto;
	margin-top: 19pt;
	height: 20px;
}

footer form input#s {
	width: 172px;
	outline: none;
	border: solid 1px #ccc;
	height: 20px;
	padding-left: 4px;
	padding-right: 4px;
	
	font-family: 'Fira sans', sans-serif;
}

footer form input#s:focus {
	outline: none;
	border: solid 1px #272d7a;
}

footer form input#searchsubmit {
	width: 60px;
	height: 22px;
	border: solid 1px #272d7a;
	background: #e8e6f1;
	outline: none;
	color: #272d7a;
	transition: .2s;
	/*position: relative;
	top: -1px;*/
	
	font-family: 'Fira sans', sans-serif;
}

footer form input#searchsubmit:hover {
	background: #fcece7;
}



/* ANIMATION */

@-webkit-keyframes cover {
	0% {background-position: center top}
	100% {background-position: center bottom}
}

@-webkit-keyframes h1 {
	0% {opacity: 0}
	100% {opacity: 1}
}




/* BREAKPOINTS */

@media screen and (max-width: 830px) {
	h1 {
		font-size: 30pt;
		height: 100px;
	}
	
	h2, h3, p {
		width: 100%;
	}
	
	#sidebar {
		margin-top: 76pt;
		position: static;
		width: 100%;
	}
}

@media screen and (max-width: 690px) {
	h1 {
		text-transform: uppercase;
		letter-spacing: 4pt;
		//font-size: 25pt;
		//height: 90px;
	}
	
	h1 span {
		display: none;
	}
	
	nav, #content, h1 a { /* Außenstege */
		margin-left: 20px;
		margin-right: 20px;
	}
	
	a.calltoaction {
		height: auto;
		padding: 12px;
		line-height: 20pt;
		white-space: pre-wrap;
	}
	
	#togglemenu span {
		display: none !important;
	}
	
	#togglemenu {
		width: 40px;
	}
}

@media screen and (max-width: 560px) {
	ul#boote li {
		width: 100%;
		height: auto;
		background: #fff;
		cursor: auto;
	}
	
	ul#boote li img {
		position: static;
	}
	
	ul#boote p {
		position: static;
		opacity: 1;
	}
}