/*
Theme Name: Schüleranmeldung
Author: Florian Turobin
Version: 1.0
*/
/* 	--------------------------------------
	CSS Reset
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  outline: none;
}
body { font-size: 62.5%; line-height: 1; font-family: Arial, Tahoma, Verdana, sans-serif; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }

blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
strong { font-weight: bold; }

input { outline: none; }

table { border-collapse: collapse; border-spacing: 0; }
img { border: 0; max-width: 100%; }

a { text-decoration: none; }
a:hover { text-decoration: underline; }

/* 	--------------------------------------
	Allgemein
*/

body {
	background: white;
	font-size: 10pt;
	font-family: 'Arial', sans-serif;
	font-weight: 400;
	text-align: left;
}

a {
	color: #da3610;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

p {
	color: #6A6A6A;
	font-size: 10pt;
	line-height: 1.7;
	padding: 14px 0;
	font-weight: 400;
}
blockquote {
	padding: 20px 30px;
	font-style: italic;
}
blockquote:before {
	content: "Zitat:";
}
img.alignright {
	float: right;
	padding: 10px 0 10px 17px;
}
img.alignleft {
	float: left;
	padding: 10px 17px 10px 0;
}
h1 {
	font-size: 20pt;
	font-weight: 100;
	color: #da3610;
	padding-bottom: 22px;
	line-height: 1.7;
}
h2 {
	font-size: 17pt;
	color: #565656;
	font-weight: 500;
	padding: 10px 0;
	line-height: 1.7;
}
h2 a {
	color: #565656;
}
h3, h4, h5, h6 {
	color: #565656;
	font-size: 13pt;
	padding: 8px 0;
	line-height: 1.6;
}

ul {
	list-style: disc;
	padding: 15px 0 15px 40px;
	color: #6A6A6A;
	font-size: 10pt;
	line-height: 1.7;
	font-weight: 400;
}

ul ul {
	padding: 5px 0 5px 20px;
}

ul li {

}
ul li a {

}
ul li a:hover {

}

ol {
	list-style: decimal;
	padding: 15px 0 15px 40px;
	color: #6A6A6A;
	font-size: 10pt;
	line-height: 1.7;
	font-weight: 400;
}

.clear {
	clear: both;
}

/* 	--------------------------------------
	Header
*/
#header_container {
	width: 100%;
	height: 117px;
	}
#header {
	max-width: 1040px;
	width: 90%;
	margin: 0 auto;
	padding: 0 5%;
}
#logo {
	width: 151px;
	height: 86px;
	background: url('img/logo.png');
	float: left;
	margin-top: 10px;
	z-index: 2;
}

/* 	Navigation 	*/
#main_menu {
	float: right;
	margin-top: 40px;
	height: 18px;
	z-index: 100;
}

ul#menu-hauptnavigation ul {
	display: none;
}

ul#menu-hauptnavigation li:hover > ul {
	display: block;
}


ul#menu-hauptnavigation {
	padding: 0 20px;
	list-style: none;
	position: relative;
	display: inline-table;
	left: 24px;
	bottom: 20px;
}
ul#menu-hauptnavigation:after {
	content: "";
	clear: both;
	display: block;
}

ul#menu-hauptnavigation li {
	float: left;
	font-weight: 400;
	font-size: 10pt;
}
ul#menu-hauptnavigation li:hover {
	text-decoration: none;
	background: #414141;
	color: white;
	z-index: 10;
	position: relative;
}
ul#menu-hauptnavigation li:hover a {
	color: white;
}

ul#menu-hauptnavigation li a {
	display: block;
	padding: 14px 16px;
	text-decoration: none;
	color: #979797;
	text-transform: uppercase;
}

ul#menu-hauptnavigation li.current_page_item {
	background: #da3610;
	color: white;
}
ul#menu-hauptnavigation li.current_page_item a {
	color: white;
}

ul#menu-hauptnavigation ul {
	background: #414141;
	border-radius: 0px;
	padding: 0;
	position: absolute;
	top: 100%;
}
ul#menu-hauptnavigation ul li {
	float: none;
	position: relative;
	list-style: none;
}
ul#menu-hauptnavigation ul li a {
	padding: 14px 16px;
	color: #fff;
}
ul#menu-hauptnavigation ul li a:hover {
	background: #343434;
}
ul#menu-hauptnavigation ul ul {
	position: absolute;
	left: 100%;
	top:0;
}



/* 	Subnavigation 	*/
#sub_menu {
	text-align: right;
	height: 18px;
}
ul#menu-sub-navigation {
	padding: 0;
	padding-top: 5px;
}
ul#menu-sub-navigation li {
	display: inline;
	list-style: none;
	font-weight: 400;
	font-size: 9pt;
	padding-left: 30px;
}
ul#menu-sub-navigation li a {
	color: #d2d2d2;
}
ul#menu-sub-navigation li a:hover {

}
ul#menu-sub-navigation li a.current {

}



/* 	--------------------------------------
	Main Content
*/
#content_container {
	max-width: 1040px;
	width: 90%;
	padding: 10px 5%;
	margin: 0 auto;
	height: auto;
}
/*	Content	*/
#content {
	float: left;
	width: 65%;
}

#content img.wp-post-image {
	max-width: 100%;
	max-height: 100%;
	padding: 20px 0;
}
#content img.wp-post-image {
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	transition: all 0.4s;
}
#content img.wp-post-image:hover {
	opacity: 0.92;
}

#content img.attachment-post-thumbnail {
	padding-top: 0;
}

#content table {
	width: 100%;
	height: auto;
	font-size: 9pt;
	margin: 25px 0;
}
#content table tr {
	background: #efefef;
}
#content table tr:nth-child(odd) {
	background: #fbfbfb;
}
#content table tr:last-child {
	border-bottom: none;
}
#content table tr:first-child {
	background: #da3610;
	/*background: #343434;*/
	color: white;
	font-weight: 600;
}
#content table tr td {
	padding: 5px 10px;
	vertical-align: middle;
	height: 40px;
	line-height: 1.7;
}

/*	Termine Table	*/
#content .termine_content table tr td:nth-child(1), #content .termine_content table tr td:nth-child(2), #content .termine_content table tr td:nth-child(3), #content .termine_content table tr td:nth-child(4) {
	width: 15%;
}
#content .termine_content table tr td:nth-child(5) {
	width: 35%;
}

/*	Classic Table	*/
#content table.classic_table {
	width: 100%;
	height: auto;
	font-size: 9pt;
	margin: 25px 0;
}
#content table.classic_table tr {
	background: none;
}
#content table.classic_table tr:nth-child(odd) {
	background: none;;
}
#content table.classic_table tr:last-child {
	border-bottom: none;
}
#content table.classic_table tr:first-child {
	background: none;
	color: #6A6A6A;
	font-weight: 400;
}
#content table.classic_table tr td {
	padding: 17px 0;
	vertical-align: middle;
	height: 40px;
	line-height: 1.7;
	border: none;
}

/* Newsletter */

.newsletter-subscription {

}

.newsletter-subscription table tr:first-child {
	background: none !important;
	color: black !important;
	font-weight: 600;
}
.newsletter-subscription table tr {
	background: none !important;
}
.newsletter table {
	box-shadow: none !important;
	vertical-align: middle !important;
}

.newsletter table th {
	vertical-align: middle !important;
}

.newsletter .newsletter-submit {
	border: none !important;
	border-radius: none !important;
	background-image: none !important;
	background: #da3610 !important;
	color: white !important;
	padding: 7px 15px !important;
}

.newsletter input {
	font-family: inherit !important;
	height: auto !important;
	font-weight: normal !important;
}
.newsletter input[type='submit'] {
	cursor: pointer;
}


.entry_detail {
	font-size: 8pt;
	font-weight: 300;
	color: #a8a8a8;
	padding-bottom: 50px;
}
.entry_date, .entry_category, .entry_category a {
	font-weight: 400;
	color: #a8a8a8;
}


.read_more a {

	color: #565656;
	transition: all 0.3s;
	-moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	font-weight: 400;
}

.read_more a:hover {
	text-decoration: underline;
}

/*	Sidebar	*/
#sidebar {
	float: left;
	width: 30%;
	margin-left: 5%;
	margin-top: -50px;
}
#sidebar h1 {
	font-size: 14pt;
	padding-bottom: 15px;
}
#sidebar .widget-element {
	padding-bottom: 50px;
}
#sidebar .post-date {
	display: block;
	font-size: 9pt;
	padding-bottom: 10px;
}
#sidebar ul {
	margin: 0;
	padding: 0;
}
#sidebar ul li {
	list-style: none;
	font-size: 13pt;
	color: black;
	font-weight: 300;
	padding: 0;
	margin: 0;
}
#sidebar ul li a {
	color: black;
}

#sidebar ul#termine li {
	font-size: 13pt;
}

#sidebar input, .newsletter input, input.newsletter-email {
	width: 50%;
	background: white;
	border: 1px solid #efefef;
	padding: 7px;
	font-size: 11pt;
	font-weight: 400;
	height: 15px;
}
#sidebar .search-box input[type="submit"] {
	background: #da3610 url('img/search.png') no-repeat center center;
	width: 31px;
	height: 31px;
	background-size: 15px 15px;
	border: none;
	cursor: pointer;
	-webkit-transition: background-color 0.8s;
}
#sidebar .search-box input[type="submit"]:hover {
	background: #f45531 url('img/search.png') no-repeat center center;
	background-size: 15px 15px;
}

#sidebar input[type="submit"] {
	background: #da3610;
	width: 31px;
	height: 31px;
	border: none;
	cursor: pointer;
	-webkit-transition: background-color 0.8s;
}
#sidebar input[type="submit"]:hover {
	background: #f45531;
	background-size: 15px 15px;
}

#sidebar  ::-webkit-input-placeholder { color: #afafaf; font-family: 'Arial', sans-serif; }
#sidebar  ::-moz-placeholder { color: #afafaf; font-family: 'Arial', sans-serif; } /* firefox 19+ */
#sidebar  :-ms-input-placeholder { color: #afafaf; font-family: 'Arial', sans-serif; } /* ie */
#sidebar  input:-moz-placeholder { color: #afafaf; font-family: 'Arial', sans-serif; }
/* 	--------------------------------------
	Footer
*/
#footer_container {
	width: 100%;
	background: #aeaeae;
}
#footer {
	max-width: 1040px;
	width: 90%;
	margin: 0 auto;
	padding: 30px 5%;
	font-size: 9pt;
}
ul#menu-footer-menue {
	float: left;
	padding: 0;
}

ul#menu-footer-menue li {
	list-style: none;
	font-size: 9pt;
	padding-right: 20px;
	line-height: 1.7;
	display: inline;
}
ul#menu-footer-menue li a {
	color: #eeeeee;
	text-decoration: none;
}
ul#menu-footer-menue li a:hover {
   text-decoration: underline;

}
ul#menu-footer-menue li:first-child,
ul#menu-footer-menue li:first-child a,
ul#menu-footer-menue li:first-child a:hover {
	color: white;
	font-weight: 600;
	text-decoration: none;
	padding-bottom: 10px;
}

#footer .go_to_top {
	display: none;
	padding-top: 10px;
	text-align: center;
}
#footer .go_to_top a {
	color: white;
}

#footer .footer-ad {
	text-align: right;
	padding-top: 5px;
}
#footer .footer-ad a {
	color: #dbdbdb;
}
/* 	--------------------------------------
	Form Elements
*/

input {
	background: white;
	border: 1px solid #da3610;
	padding: 7px;
}
input:focus {
	border: 1px solid #e84621;
}
input[type="submit"] {
	background: #da3610;
	color: white;
	padding: 7px 15px;
}

/* iPhone Webkit Fix */
input {
  -webkit-appearance: none;
  @include border-radius(0);
}

/* 	--------------------------------------
	Kontaktformular
*/

table#contactform tr td {
	padding-bottom: 15px;
	padding-right: 20px;
	vertical-align: middle;
}
table#contactform tr {
	background: none;
}
table#contactform tr:first-child {
	background: none;
	color: black;
	font-weight: 400;
}
table#contactform tr:nth-child(odd) {
	background: none;
}
table#contactform input {
	padding: 0;
}
table#contactform input, table#contactform textarea {
	width: 100%;
	height: 33px;
	outline: none;
	border: 1px solid #e8e8e8;
	padding-left: 10px;
	background: #fbfbfb;
	color: black;
	font-size: 13px;
	border-radius: 4px;
}
table#contactform textarea {
	margin: 0;
	padding: 8px 0px 8px 12px;
	max-width: 100%;
	min-height: 90px;
	font-size: 13px;
	font-family: 'Arial';
	border-radius: 4px;
}
table#contactform input[type=submit] {
	width: 200px;
	height: 33px;
	background: #da3610;
	border: none;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	color: white;
	float:left;
	padding: 0;
	transition: all 0.1s;
	-moz-transition: all 0.1s;
	-webkit-transition: all 0.1s;
}
table#contactform input[type=submit]:hover {
	width: 200px;
	height: 33px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	background: #d24b2c;
	color: white;
	cursor: pointer;
}
table#contactform placeholder {
	color: #e4e4e4;
}
table#contactform input::-webkit-input-placeholder {
    color: #e4e4e4;
}
table#contactform input:-moz-placeholder {
    color:    #e4e4e4;
}
table#contactform input:-ms-input-placeholder {
    color:    #e4e4e4;
}



/* Gallery z-index fix */
/*.ngg-galleryoverview {
	position: relative;
	z-index: -1;
}*/

/* 	--------------------------------------
	Responsiv
*/
@media only screen and (max-width: 1070px) {
	#shilouette {
		opacity: 0.5;
	}
}
@media only screen and (max-width: 1145px) {

	#main_menu {
		float: right;
		height: 18px;
	}
	ul#menu-hauptnavigation {
		padding: 0 5px;
	}

	ul#menu-hauptnavigation li a, ul#menu-hauptnavigation ul li a {
		padding: 10px;
	}
	#teaser_container {
		width: auto;
		height: auto;
		background: none;
		position: relative;
		float: right;
		z-index: -2;
		display: none;
	}


	#shilouette {
		opacity: 1;
		display: none;
	}


	#content {
		float: left;
		width: 100%;
		margin-top: 50px;
	}

	#sidebar {
		float: left;
		width: 100%;
		margin-left: 0;
		margin-top: 50px;
	}
	#sidebar .widget-element {
		width: 50%;
		float: left;
	}



}
@media only screen and (max-width: 710px) {

	#content img.size-full {
		max-width: 100%;
		height: auto;
	}
	#description {
		color: #eeeeee;
		font-size: 9pt;
		float: left;
		width: 100%;
	}
	ul#menu-footer-menue {
		float: none;
		margin: 0 auto;
		padding: 0;
		padding-top: 10px;
		padding-bottom: 10px;
		padding-left: 0;
	}
	ul#menu-footer-menue li {
		display: block;
		text-align: center;
		padding: 0;
	}
	#footer_container {
		height: auto;
	}
	#footer .go_to_top {
		display: block;
		padding-top: 10px;
	}
	#footer .footer-ad {
		text-align: center;
	}
}
@media only screen and (max-width: 640px) {
	#logo {
		margin: 0 auto;
		margin-top: 20px;
		float: none;
	}
	#sub_menu {
		text-align: center;
		padding-top: 20px;
		height: auto;
	}
	ul#menu-sub-navigation li {
		padding: 0 10px;
	}
	ul#menu-hauptnavigation {
		padding: 0;
		margin: 0;
		float: left;
		left: 0;
		bottom: 0;
		width: 100%;
	}
	ul#menu-hauptnavigation li {
		width: 100%;
		padding: 5px 0;
		margin: 0 auto;
		float: left;
	}
	ul#menu-hauptnavigation li a {
		 padding: 0 5%;
		 margin: 0;
	}

	ul#menu-hauptnavigation ul {
		background: #414141;
		border-radius: 0px;
		padding: 0;
		padding-top: 5px;
		margin: 0;
		position: relative;
		top: 100%;
		width: 100%;
	}
	ul#menu-hauptnavigation ul li {
		float: none;
		position: relative;
		list-style: none;
		width: 100%;
		padding: 0;
		margin: 0;
	}
	ul#menu-hauptnavigation ul li a {
		padding: 5px 10%;
		width: 80%;
		color: #fff;
		margin: 0;
	}
	ul#menu-hauptnavigation ul li a:hover {
		background: #343434;
	}

	ul#menu-hauptnavigation ul li.current_page_item {
		background: #da3610;
		width: 100%;
		color: white;
	}
	ul#menu-hauptnavigation ul li.current_page_item a {
		color: white;
		padding: 5px 10%;
		width: 80%;
	}

	ul#menu-hauptnavigation ul ul {
		position: relative;
		left: 0;
		top: 100%;
	}
	ul#menu-hauptnavigation ul ul li a {
		padding: 5px 15%;
		width: 70%;
		color: #fff;
		margin: 0;
	}
	ul#menu-hauptnavigation ul ul li.current_page_item a {
		color: white;
		padding: 5px 15%;
		width: 70%;
	}


	#main_menu {
		clear: both;
		height: auto;
		width: 100%;
		margin-top: 10px;
	}
	#sidebar .widget-element {
		width: 100%;
		float: left;
	}

	#content table {
		width: 100%;
		height: auto;
		font-size: 8pt;
	}
	#content table tr {
		background: #efefef;
	}
	#content table tr:nth-child(odd) {
		background: #fbfbfb;
	}
	#content table tr:last-child {
		border-bottom: none;
	}
	#content table tr:first-child {
		/*background: #da3610;*/
		background: #343434;
		color: white;
		font-weight: 600;
	}
	#content table tr td {
		padding: 10px 5px;
		vertical-align: middle;
		height: auto;
		line-height: 2;
	}
	#content .termine_content table tr td:nth-child(1), #content .termine_content table tr td:nth-child(2), #content .termine_content table tr td:nth-child(3), #content .termine_content table tr td:nth-child(4) {
		width: 20%;
		/*width: auto;*/
	}
	#content .termine_content table tr td:nth-child(5) {
		width: 20%;
		/*width: auto;*/
	}



}
/* 	--------------------------------------
	Retina
*/
@media all and (-webkit-min-device-pixel-ratio: 1.5) {
	#logo {
		width: 151px;
		height: 86px;
		background: url('img/logo@2x.png') left no-repeat;
		background-size: 151px 86px;
	}
	#shilouette {
		width: 450px;
		height: 171px;
		background: url('img/shilouette@2x.png') no-repeat;
		background-size: 450px 171px;
	}
	#sidebar input[type="submit"] {
		background: #da3610 url('img/search@2x.png') no-repeat center center;
		width: 31px;
		height: 31px;
		background-size: 15px 15px;
		border: none;
	}
	#sidebar input[type="submit"]:hover {
		background: #f45531 url('img/search@2x.png') no-repeat center center;
		background-size: 15px 15px;
	}
}