/*
Theme Name: Sonnenhof
Theme URI: http://cvhdev01/home/praktikant/wp_sonnenhof/
Version: 1.0
*/
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
header
/* Waldorffont */
/* zuerst IE6/7/8 */
@font-face {
   font-family: Waldorf;
   src: url('fonts/Waldorf1.eot');
}

/* dann für alle anderen Browser */
@font-face {
   font-family: Waldorf;
   src: url('fonts/Waldorf1.ttf') format('truetype');
}

/* jetzt lässt sich der Font wie jede andere Schrift benutzen, z.B.: */
h1 { font-family: Waldorf, Helvetica, sans-serif; }

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, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*-------------------------------------*/
/*------------CSS RESET END------------*/ 
/*-------------------------------------*/

body {
	background-color: silver;
	background-image: url(pics/hintergrundbild.jpg);
	background-attachment: fixed;
	font: 16px Century Gothic, sans-serif;
	height: 100%;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	font-family: Waldorf;
	border: none !important;
}

a {
	text-decoration: none;
	color: rgb(231, 52, 51);
	line-height: 2em;
}

footer {
	background: #E73433 !important;
	color: #FFF;
	text-align: center;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

strong, b {
	color: #e73433;
}

a > strong {
	padding: 0px 6px;
	color: #FFF;
	background-color: #e73433;
	border-radius: 10px;
}

hr {
	margin-top: 1em;
	margin-bottom: 1em;
}

/*-------------------------------------*/
/*---------------CLASSES---------------*/
/*-------------------------------------*/
.foogallery-container {
	overflow: visible !important;
}

.alignleft {
	float: left;
	margin-right: 1em;
}

.widget-title {
	display: none;
}

.simple-image {
	position: absolute;
	margin-left: 52em;
	margin-top: 25px;
}

.kita-grill {
	position: absolute;
	margin-left: 10em;
}

.txt {
	width: 300px;
	margin-bottom: 10em;
}

.wpex_div {
	margin-bottom: 2em;
}

.wpex-link {
	border-bottom: 1px solid #eac64b;
}

.field > .views-field-body > .field-content > p {
	max-width: 600px;
	margin-left: 13.5em;
}

.galerie {
	width: 76%;
}

.menu, #footer>ul, .down {
	padding: 0;
	margin: 0 auto;
	text-align: center;
	width: 100%;
}

/*--------------------------------------*/
/*-----------------ID's-----------------*/
/*--------------------------------------*/
#galerie, #liedtexte {
	position: absolute;
	margin-left: 45em;
	margin-top: -8em;
	padding: 0.5em 3em;
	background-color: rgb(231, 52, 51);
	color: #FFF !important;
	border-radius: 1em;
}

#liedtexte {
	margin-top: -12em;
	background-color: rgb(231, 52, 51);
}

#formular {
	width: 100%;
}

#erzieher {
	float: left;
	margin-top: 1.5em;
	margin-left: 4em;
}

#pages-3, #pages-5 {
	position: absolute;
	width: 0px;
	margin-top: 54px;
	font-weight: bold;
	font-size: 18px;
	right: 10em;
}

#container {
	background: #f1ebdc;
	overflow: hidden;
	position: relative;
}

#container, .cl-effect-19, #header, footer {
	width: 1100px;
	margin: 0 auto;
	padding: 20px;
	background-color: #f1ebdc;
	position: relative;
}

/*-------------------------------------*/
/*-----ANGABEN BESTIMMTER ELEMENTE-----*/
/*-------------------------------------*/
.menu>li, #footer>ul>li {
	display: inline;
}

#footer>ul>li>a {
	color: #FFF;
}

/*-------------------------------------*/
/*---------POSITIONING-CONTENT---------*/
/*-------------------------------------*/

#content p {
	width: 60%;
}

#sidebar-header {
	float: right;
	width: 40%;
}

#content ul {
	list-style-image: url(pics/minus.png);
}

#content li {
	padding: 0.5em 0;
}

#content ul, ol {
	margin-left: 1em;
	padding: 1em 0;
	width: 60%;
}

/*--------------------------------------*/
/*--------------TEST RULES--------------*/
/*--------------------------------------*/
h1 {font-size: 26px; color: #e73433;}
h2 {font-size: 26px; color: #e73433;}
h3 {font-size: 22px; color: #e73433;}

h1, h2, h3 {
	padding-top: 1em;
	padding-bottom: 1em;
}

/*-------------------------------------*/
/*---LOGIN UND MENU EFFEKT ALLGEMEIN---*/
/*-------------------------------------*/
*,
*:after,
*::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

nav a {
	position: relative;
	display: inline-block;
	outline: none;
	color: #fff;
	text-decoration: none;
	text-shadow: 0 0 1px rgba(255,255,255,0.3);
	font-size: 20px;
}

nav a:hover,
nav a:focus,
nav .menu-parent {
	outline: none;
}

/*---------------------------------------*/
/*----------LOGIN HOVER EFFECT-----------*/
/*---------------------------------------*/
.cl-effect-2 a {
	line-height: 39px;
	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;
	perspective: 1000px;
}

.cl-effect-2 a span {
	position: relative;
	display: inline-block;
	text-transform: uppercase;
	text-align: center;
	padding: 0 3em;
	background: #F2CF11;
	-webkit-transition: -webkit-transform 0.3s;
	-moz-transition: -moz-transform 0.3s;
	transition: transform 0.3s;
	-webkit-transform-origin: 50% 0;
	-moz-transform-origin: 50% 0;
	transform-origin: 50% 0;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.csstransforms3d .cl-effect-2 a span::before {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 100%;
	background: #E3BD00;
	content: attr(data-hover);
	-webkit-transition: background 0.3s;
	-moz-transition: background 0.3s;
	transition: background 0.3s;
	-webkit-transform: rotateX(-90deg);
	-moz-transform: rotateX(-90deg);
	transform: rotateX(-90deg);
	-webkit-transform-origin: 50% 0;
	-moz-transform-origin: 50% 0;
	transform-origin: 50% 0;
}

.cl-effect-2 a:hover span,
.cl-effect-2 a:focus span,
.cl-effect-2 .menu-parent span {
	-webkit-transform: rotateX(90deg) translateY(-22px);
	-moz-transform: rotateX(90deg) translateY(-22px);
	transform: rotateX(90deg) translateY(-22px);
}

.csstransforms3d .cl-effect-2 a:hover span::before,
.csstransforms3d .cl-effect-2 a:focus span::before,
.csstransforms3d .cl-effect-2 .menu-parent span::before {
	background: #FFD500;	
}

/*--------------------------------------*/
/*----------MENU HOVER EFFECT-----------*/
/*--------------------------------------*/
.cl-effect-19 {
	background-color: #FF4E4E;
	padding: 5px;
	text-align: center;	
}

.cl-effect-19 a {
	line-height: 2em;
	margin: 4px;
	-webkit-perspective: 800px;
	-moz-perspective: 800px;
	perspective: 800px;
	width: 200px;
}

.cl-effect-19 a span {
	position: relative;
	display: inline-block;
	width: 100%;
	padding: 0 14px;
	background: #e73433;
	-webkit-transition: -webkit-transform 0.4s, background 0.4s;
	-moz-transition: -moz-transform 0.4s, background 0.4s;
	transition: transform 0.4s, background 0.4s;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform-origin: 50% 50% -100px;
	-moz-transform-origin: 50% 50% -100px;
	transform-origin: 50% 50% -100px;
}

.csstransforms3d .cl-effect-19 a span::before {
	position: absolute;
	top: 0;
	left: 100%;
	width: 100%;
	height: 100%;
	color: #e73433;
	background: #FFF;
	content: attr(data-hover);
	-webkit-transition: background 0.4s;
	-moz-transition: background 0.4s;
	transition: background 0.4s;
	-webkit-transform: rotateY(90deg);
	-moz-transform: rotateY(90deg);
	transform: rotateY(90deg);
	-webkit-transform-origin: 0 50%;
	-moz-transform-origin: 0 50%;
	transform-origin: 0 50%;
	pointer-events: none;
}

.cl-effect-19 a:hover span,
.cl-effect-19 a:focus span, 
.cl-effekt-19 .menu-parent span {
	background: #e73433;
	-webkit-transform: rotateY(-90deg);
	-moz-transform: rotateY(-90deg);
	transform: rotateY(-90deg);
}

.csstransforms3d .cl-effect-19 a:hover span::before,
.csstransforms3d .cl-effect-19 a:focus span::before,
.csstransforms3d .cl-effekt-19 .menu-parent span::before {
	background: #FFF;	
}

/*---------------------------------------*/
/*---------SUB MENU HOVER EFFECT---------*/
/*---------------------------------------*/
.effect1 span {
	color: rgb(255, 132, 132);
}

.effect1 span::before {
	content: attr(data-hover);
	color: rgb(231, 52, 51);
	position: absolute;
	transition: transform 0.3s, opacity 0.3s;
	-moz-transition: -moz-transform 0.3s, opacity 0.3s;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
}

.effect1 span:hover::before,
.effect1 span:focus::before {
	opacity: 0;
}

/*--------------------------------------*/
/*---------SUB MENU YELLOW LINE---------*/
/*--------------------------------------*/
.shade1 {
	width: 3px;
	background-color: #F2CF11;
	margin: 0px -2em;
	padding: 1.5em 0px;
}

.effect1 {
	margin: 0px 2em;
}

/*---------------------------------------*/
/*---------LOGIN DROP DOWN MENU--------- */
/*---------------------------------------*/
.color-4 {
	position: absolute;
	right: 2em;
}

.color-4 ul {
	position: relative;
}

.color-4 nav ul li a {
	text-decoration: none;
	list-style: none;
	color: #FFF;
	background-color: #F2CF11;
}

.color-4 nav ul li a:hover {
	background-color: #DAB800;
}

.color-4 nav ul li {
	display: inline-block;
}

.color-4 nav ul li a {
	display: block;
}

.color-4 nav ul ul {
	display: none;
}

.color-4 nav ul ul li {
	display: block;
}

.color-4 nav ul ul ul {
	position: absolute;
	margin: -39px 0 0 -183px;
	width: 100%;
}

.color-4 nav ul li:hover > ul {
	display: block;
}

/*--------------------------------------*/
/*----------RESPONSIVE DESIGN---------- */
/*--------------------------------------*/

/* Kleine Monitore */
@media only screen and (max-width: 1280px) {

	#container, .cl-effect-19, #header, footer {
		width: 86%;
	}

	.simple-image {
		margin-left: 65%;
	}

	.galerie {
		width: 71%;
	}

	#intern, #intern1 {
		margin-left: 57%;
	}
}

/* Große Tabletts */
@media only screen and (max-width: 980px) {

	.simple-image {
		margin-left: 60%;
	}

	#erzieher {
		margin-left: 3em;
	}
}

/* Normale Tabletts */
@media only screen and (max-width: 760px) {
	
	li {
		margin-bottom: 1px;
	}

	.h1 {
		width: 55%;
	}

	.simple-image {
		margin-left: 55%;
	}

	#menu1 {
		position: static;
		display: none;
	}

	.galerie {
		width: 60%;
	}	

	.show-menu {
		display: block !important;
	}

	#erzieher {
		margin-left: 1em;
	}

	#intern, #intern1 {
		margin-left: 50%;
	}
}

/* Mini Tabletts */
@media only screen and (max-width: 600px) {

	.simple-image {
		margin-left: 50%;
	}

	.erzieher {
		margin-left: -13em;
	}

	#content p, #content ul, #content ol {
		width: 100%;
	}

	.galerie {
		width: 100%;
	}

	#pages-3, #pages-5 {
		left: 42%;
		position: relative;
		margin-bottom: 3em;
	}

	#erzieher {
		margin: 1em;
	}

	#intern, #intern1 {
		position: relative;
		margin-left: 0px;
		margin-top: 1em;
		display: block !important;
		text-align: center;
	}

	.field > .views-field-body > .field-content > p {
	margin-left: 0em;
	}
}

/* Smartphones */
@media only screen and (max-width: 480px) {

	.simple-image {
		margin-left: 20%;
		margin-top: -25px;
	}

	.logo {
		width: 100%;
		margin-top: 2em;
	}

	#pages-3, #pages-5 {
		left: 2em;
	}

	#drop, #drop2, .down3 {
		display: none;
	}

	.erzieher {
		margin-left: 0px;
	}

	#erzieher {
		margin: 1em;
	}

	#sidebar-header {
		position: relative;
		float: none;
		width: 100%;
	}
}

/* Smartphones */
@media only screen and (max-width: 320px) {

	.simple-image {
		margin-left: 10%;
	}
}

/*-------------------------------------*/
/*-----------RESPONSIVE MENU-----------*/
/*-------------------------------------*/
li #menu1 {
	display: none;
}

li #menu1 li {
	display: block;
	float: none;
}

li #menu1 li a {
	width: auto;
	min-width: 100px;
	padding: 0 20px;
}

#menu1 li a:hover + .hidden, .hidden:hover {
	display: block;
}

.show-menu {
	color: #fff;
	background: rgb(231, 52, 51);
	padding: 10px 0;
	display: none;
	font-size: 20px;
}

input[type=checkbox] {
    display: none;
}

input[type=checkbox]:checked ~ #menu1{
    display: block;
}

/*--------------------------------------*/
/*------------LOGIN FORMULAR------------*/
/*--------------------------------------*/
.login-remember {
	display:none;
}

#wp-submit {
	background-color: rgb(231, 52, 51);
	color: #FFF;
	border-style: none;
	padding: 0.3em 2em;
	font-size: 17px;
}

#loginform-wplfta {
	margin-left: auto;
	margin-right: auto;
	width: 145px;
}

#loginform-wplfta p {
	margin: 1em 0;
}