@import url('https://fonts.googleapis.com/css?family=Architects+Daughter|Merienda');
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono');

/* CSS für WPFormel.php */

.wpformel * {
	box-sizing:border-box;
	font-family:'Liberation Serif','Times New Roman',Serif;
	white-space:nowrap; }
.wpformel.formel {
	display:inline-block;
	vertical-align:middle; }	
.wpformel.neben {	
	vertical-align:top; 
	display:inline-block;
	text-align:left; }
.wpformel.unten {
	vertical-align:top; 
	display:block;
	text-align:center; }

html {
	padding: 0;
	margin: 0;
	height: auto;
}

	  
body {background: -moz-linear-gradient(top, cornflowerblue, lightblue);
	background: -webkit-linear-gradient(top, cornflowerblue, lightblue);
    background: -ms-linear-gradient(top, cornflowerblue, lightblue);
	font-size:12px;
    color:darkblue;
	font-family: 'Merienda', cursive;
	margin: 0;
	padding: 0;
	height: 200%;
      }

div#body {
	width:100%;
	max-width: 600px;
	height: 200%;
	margin-left:auto;
	margin-right:auto;
	padding-top: 105px;
}

/* ******************************************************** */
/* Header Block */


section#header {
	width:100%;
	max-width: 600px;
	display:block;
	height:35px;
	color: snow;
	position: fixed;
	margin-top: -103px;

}

h1#header  {
	height: 1.6em;
	text-align: center;	
	padding: 0.4em 0 0 0;
	margin: 0;
	border-radius:10px;
	-webkit-radius:10px;
	background-color: darkblue;
}

h1#header a {
	text-decoration: none;
	color: snow;
}

/* ******************************************************** */
/* Menü Block */

section#menu {
	width:100%;
	max-width: 600px;
	display:block;
	height:48px;
	position: fixed;
	margin-top:-56px;
	background:darkblue;
	border-top-left-radius:10px;
	-webkit-top-left-radius:10px;
	border-top-right-radius:10px;
	-webkit-top-right-radius:10px;
	border-bottom: 4px ridge darkblue;
}

nav ul {
	margin-left: -25px;
	margin-top: 2px;
}

nav  > ul  > li {
	padding-top:5px;
	position: relative;
	display: inline-block;
}

nav ul li ul li {
	padding: 5px;
	width: 12em;
	height: 0.9em;
	margin: 0px;
}
nav ul li ul {
	margin-top: 6px;
	border-left: 4px ridge snow;
	border-right: 4px ridge snow;
	border-bottom: 4px ridge snow;
	height: auto;
}

 nav a {
    text-decoration: none;
    font-weight: bold;
	font-size: 18px;
    color: snow; 
	display: block;
	padding: 0.2em;
	margin: 0em;
	background:linear-gradient(left top,blue,darkblue);
	background:-moz-linear-gradient(left top,blue,darkblue);
	background:-webkit-linear-gradient(left top,blue,darkblue);
	background:-ms-linear-gradient(left top,blue,darkblue);
	box-shadow:1px 1px 1px 1px #666;
	border-radius:10px;
	-webkit-border-radius:10px;
  }
  
.submenu a {
    text-decoration: none;
    font-weight: 200;
	font-size: 16px;
    color: snow; 
	display: block;
	padding: 0.1em;
	padding-left: 1em;
	margin: 0em;
	background:linear-gradient(left top,blue,darkblue);
	background:-moz-linear-gradient(left top,blue,darkblue);
	background:-webkit-linear-gradient(left top,blue,darkblue);
	background:-ms-linear-gradient(left top,blue,darkblue);
	box-shadow:1px 1px 1px 1px #666;
	border-radius:10px;
	-webkit-border-radius:10px;
  }
  
 nav a.quick {
    text-decoration: none;
    font-weight: normal;
	font-size: 13px;
    color: snow; 
	display: block;
	padding: 0.3em;
	margin: 0em;
	background:linear-gradient(left top,blue,darkblue);
	background:-moz-linear-gradient(left top,blue,darkblue);
	background:-webkit-linear-gradient(left top,blue,darkblue);
	background:-ms-linear-gradient(left top,blue,darkblue);
	box-shadow:1px 1px 1px 1px #666;
	border-radius:10px;
	-webkit-border-radius:10px;
  }
  
nav a:focus,
nav a:hover {
	background:linear-gradient(left top,silver,darkblue);
	background:-moz-linear-gradient(left top,silver,darkblue);
	background:-webkit-linear-gradient(left top,silver,darkblue);
	background:-ms-linear-gradient(left top,silver,darkblue);
}
	

nav .submenu  {
	visibility: hidden;
	position: absolute;
	display: none;
	background-color: darkblue;
	left: 25px;
	top: 35px;
	z-index: 10;
	padding: 0.1em;
	padding-bottom: 1em;
}


nav .submenu li { 
	display: block; 
  	font-size: 20px;
	padding: 0.4em;
	margin: 0em;
}


nav li:hover .submenu,
nav li:active .submenu, 
nav li:focus .submenu,
nav li:focus-within .submenu  { 
  visibility: visible;
  display: block;
}

nav p {
	padding: 0;
	margin: 0;
	font-size: 16px;
	color: grey;
}

nav p:first-letter {
	font-size: 20px;
	color: snow;
}

/* ******************************************************** */
/* Fuß Block */

section#footer {
	width: 100%;
	display: block;
	margin: 0;
	padding-top: 5px;
	color: snow;
	height: 150px;
	background:darkblue;
	border-bottom-left-radius:10px;
	-webkit-bottom-left-radius:10px;
	border-bottom-right-radius:10px;
	-webkit-bottom-right-radius:10px;
}

/* ******************************************************** */
/* Inhalts Block */

section#content {
	width:98.4%;
	display:block;
	min-height: 25em;
	margin-top: -5px;
	border-left: 5px solid darkblue;
	border-right: 5px solid darkblue;
	padding-bottom: 15px;
}


section.half {
	margin: 0;
	border: 0;
	padding: 0;
	/*width: 440px;*/
	width: 100%;
	display: inline-block;
	vertical-align: top;
}


article.overview {
	/*width:410px;*/
	width: 93%;
	display: inline-block;
	vertical-align: top;
	margin-left:5px;
	margin-right:5px;
	margin-top:5px;
	margin-bottom:5px;
	-webkit-border-radius:10px;
	border-radius:10px;
	background: snow;
	padding: 10px;
	height: auto;
}

#today {
  content:"";
  display:block;
  padding-bottom:100px; /* fixed header height*/
  margin-top:-100px; /* negative fixed header height */

}

article.overview header  {
	background-color:lightgrey;
	color:darkblue;
	font-size:15px;
	padding: 10px;
	margin:-8px;
	margin-bottom: 10px;
	border-top-left-radius:10px;
	border-top-right-radius:10px;
	-webkit-border-top-left-radius:10px;
	-webkit-border-top-right-radius:10px;
	font-weight: bold;
	}
	
article.overview h2 {
	color:grey;
	font-size:12px;
	padding: 2px;
	margin: 0px;
	font-weight: bold;
	}

article.overview footer  {
	background-color:lightgrey;
	color:grey;
	font-size:12px;
	padding: 10px;
	margin:-8px;
	margin-top: 10px;
	border-bottom-left-radius:10px;
	border-bottom-right-radius:10px;
	-webkit-border-bottom-left-radius:10px;
	-webkit-border-bottom-right-radius:10px;
	}

article.full {
	width:93%;
	display: inline-block;
	vertical-align: top;
	margin-left:5px;
	margin-right:5px;
	margin-top:5px;
	margin-bottom:5px;
	-webkit-border-radius:10px;
	border-radius:10px;
	background: snow;
	padding: 10px;
	height: auto;
}

article.full header  {
	background-color:lightgrey;
	color:darkblue;
	font-size:15px;
	padding: 10px;
	margin:-8px;
	margin-bottom: 10px;
	border-top-left-radius:10px;
	border-top-right-radius:10px;
	-webkit-border-top-left-radius:10px;
	-webkit-border-top-right-radius:10px;
	font-weight: bold;

	}
	
article.full h2 {
	color:grey;
	font-size:12px;
	padding: 2px;
	margin: 0px;
	font-weight: bold;
	}
	
article.full footer  {
	background-color:lightgrey;
	color:grey;
	font-size:12px;
	padding: 10px;
	margin:-8px;
	margin-top: 10px;
	border-bottom-left-radius:10px;
	border-bottom-right-radius:10px;
	-webkit-border-bottom-left-radius:10px;
	-webkit-border-bottom-right-radius:10px;
	}

figure {
	margin: 0px;
	padding: 0px;
}
	
div.bild {
	margin: 5px;
	margin-left: 0px;
	border: 1px solid lightgrey;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	padding: 6px;
	display: inline-block;
	text-align: center;
}

figure.mediathek {
	border: 1px solid lightgrey;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	width: 45%;
	display: inline-block;
	padding: 6px;
	margin: 1px;
	
}

div.bildtext {
	color: darkblue;
	font-size: 14px;
	font-style: italic;
	border-top: 1px solid lightgrey;
	padding-left: 10px;
	padding-right: 10px;
}
	
div.spruch {
font-size:20px;
font-family: 'Architects Daughter', cursive;
margin: 0.5em;
font-weight:bold;

}

p.aibuhr{
font-size:18px;
font-family: 'Roboto Mono';
letter-spacing: 0.5em;
color: grey;
margin: 0.5em;
font-weight:bold;	
}

p.fehler {
	margin: 0.5em 0.5em 0.5em 0.5em;
	padding: 0.5em 0.5em 0.5em 0.5em;
	display: block;
	color: red;
	font-size: 14px;
	border: 0.2em ridge red;
	font-weight:bold;	
}

h1.section {
	margin: 0 0.5em 0 0.5em;
	padding: 0.5em 0.5em 0.1em 0em;
	color: darkblue;
	border-bottom: 0.2em ridge darkblue
	
}

h1.meldung {
	margin: 0 0.5em 0 0.5em;
	padding: 0.5em 0em 0.1em 2em;
	color: snow;
}

h1.section a {
	text-decoration: none;
	color: snow;
	color: darkblue;
}


header a {
	text-decoration: none;	
}

input, textarea, select {
	display: block;
	font-family: 'Merienda', cursive;
	width: 97%;
	padding-left: 5px;
	padding-top: 2px;
	padding-bottom: 2px;
	margin-bottom: 5px;
	border-radius:5px;
	-webkit-border-radius:5px;
	font-size: 14px;
	}
	
button {
	font-size: 20px;
	padding-left: 5px;
	font-family: 'Merienda', cursive;
	padding-top: 15px;
	padding-bottom: 15px;
	border-radius: 10px;
	margin-top: 10px;
	margin-bottom:10px;
	margin-left: 5%;
	width: 90%;
	-webkit-border-radius:10px;
}

input.button {
		font-weight: bold;
		border-radius:10px;
		-webkit-border-radius:10px;
		margin-top:10px;
}

input.linebutton {
		display: inline;
		width: 128px;
		font-weight: bold;
		border-radius:10px;
		-webkit-border-radius:10px;
		margin-top:10px;
}

input.button:hover {
	background:linear-gradient(left top,snow,gray);
	background:-moz-linear-gradient(left top,snow,gray);
	background:-webkit-linear-gradient(left top,snow,gray);
	background:-ms-linear-gradient(left top,snow,gray);	
}

input.linebutton:hover {
	background:linear-gradient(left top,snow,gray);
	background:-moz-linear-gradient(left top,snow,gray);
	background:-webkit-linear-gradient(left top,snow,gray);
	background:-ms-linear-gradient(left top,snow,gray);	
}

input.ck {
		display:inline;
		width:20px;
}

input.ck2 {
		display:inline;
		width:115px;
}

table.dash, td, th{
	text-align: center;
	font-size:15px;
}

a.edit {
	border: 1px solid grey;
	color: grey;
	font-size: 10px;
	border-radius:5px;
	-webkit-radius:5px;
	padding-left: 5px;
	padding-right: 5px;
	text-decoration: none;
	margin-left: 10px;
	
}

a.wedit {
	border: 1px solid red;
	color: red;
	font-size: 10px;
	border-radius:5px;
	-webkit-radius:5px;
	padding-left: 5px;
	padding-right: 5px;
	text-decoration: none;
	margin-left: 10px;

}

a.hedit {
	border: 2px solid darkgreen;
	color: darkgreen;
	font-size: 12px;
	border-radius:5px;
	-webkit-radius:5px;
	padding-left: 5px;
	padding-right: 5px;
	text-decoration: none;
	margin-left: 10px;

}

a.links {
	text-decoration: none;
	color: darkblue;
}

a.links:visited {
	color: darkblue;
}

button.button a {
	text-decoration: none;
}

li.links {
		margin-top: 0.2em;
	margin-bottom: 0.2em;
}

li.termin {
	list-style-type: circle;
}

li.done {
	list-style-type: 'x ';
}

li.moved {
	list-style-type: '> ';
}

li.cancel {
	list-style-type: 'x ';
	text-decoration: line-through;
}

td {padding: 2px;
}

th {padding: 2px 6px 2px 6px;
	background-color: lightgrey;
}

td#abstand {
	padding-left: 1em;
}

tr#color {
	background-color: powderblue;
}
