/* @group Body */

body {
background-color: #ffffff;
border-top: 0px;
border-left: 0px;
border-right: 0px;
border-bottom: 0px;
margin: 0px;
padding: 0px;
}

body, td, th, p, figcaption, h1, h2, h3, h4, dd, li, input, textarea, select, label {
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
line-height: 1.9;
}

body, td, th, p, figcaption, dd, li, input, textarea {
font-weight: normal;
}

p.format-bar {
font-size: 12px;
line-height: 1.0;
margin-bottom: 2px;
}

/* @end */

/* @group Layout */

div#page {
width: 700px;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
background-color: #ffffff;
border: none;
padding: 0px;
overflow: hidden;
}

div#header {
position: fixed;
z-index: 4;
top: 0px;
width: 700px;
height: 60px;
background-image: url(https://michael-hussmann.de/images/mjh_header3.png);
background-size: contain;
background-repeat: no-repeat;
margin-left: auto;
margin-right: auto;
padding: 0px;
padding-bottom: 8px;
}

div#dropdownmenu {
position: fixed;
float: right;
display: none;
z-index: 5;
border: none;
height: 0px;
top: 0;
left: 0;
right: 0;
background: #f8f8f8ee;
box-shadow: none;
transition-property: display, height, box-shadow;
transition-duration: 0.5s;
}

div#dropdownmenu.show {
display: block;
height: auto;
box-shadow: 0px 4px 4px #666666;
}

div#dropdownmenu.hide {
display: none;
height: 0px;
box-shadow: none;
}

div#menu {
width: 160px;
margin-left: auto;
margin-right: auto;
padding: 0px;
padding-top: 0px;
padding-bottom: 16px;
padding-left: 16px;
}

div#dropdownmenu a {
height: 25px;
margin-top: 5px;
text-decoration: none;
font-size: 16px;
font-weight: bold;
color: #000000;
}

div#dropdownmenu a#here {
color: #d20000;
}

div#dropdownmenu a.menuitem {
width: 150px;
}

div#dropdownmenu a.submenuitem {
width: 134px;
margin-left: 20px;
}

div#dropdownmenu a:hover, div#dropdownmenu a:active {
color: #d20000;
}

a.menuitem, a.submenuitem {
display: block;
margin-left: 4px;
margin-right: 4px;
margin-top: 4px;
margin-bottom: 0px;
border: none;
}

main {
width: 672px;
margin: 0px;
border: none;
padding: 0px;
padding-top: 80px;
overflow: hidden;
padding-bottom: 20000px;
margin-bottom: -20000px;
}

div#topnav {
width: 100%;
height: 16px;
padding-top: 2px;
padding-bottom: 4px;
padding-left: 12px;
padding-right: 12px;
margin-left: 20px;
text-align: center;
background-color: #f1f1f1;
border: none; }

.handheld {display: none; }

.computer {display: block; }

/* @end */

/* @group Blocks */

div.block, article.block {
clear: both;
margin-top: 0px;
margin-bottom: 10px;
margin-left: 0px;
margin-right: 0px;
padding-left: 20px;
padding-right: 0px;
padding-top: 8px;
padding-bottom: 12px;
}

div.block:first-child, article.block:first-child {
padding-top: 2px;
}

div.opak:first-child, article.opak:first-child {
padding-top: 8px;
}

div.block:last-child, article.block:last-child {
padding-bottom: 4px;
}

div.block:after, article.block:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

div.opak, article.opak {
padding-top: 10px;
padding-bottom: 2px;
padding-left: 12px;
padding-right: 12px;
margin-top: 4px;
margin-left: 20px;
border: 5px solid #c8c8c8;
border-radius: 10px;
}

nav div.opak, search div.opak {
border-color: #d20000;
}

div.sharing_links {
clear: both;
background-color: #eeeeee;
padding-top: 10px;
padding-bottom: 8px;
padding-left: 0px;
padding-right: 2px;
margin-top: -12px;
margin-bottom: 30px;
margin-left: 20px;
margin-right: 0px;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}

div.sharing_links p {
line-height: 1.0;
margin-bottom: 0px;
padding-bottom: 4px;
text-align: center;
}

/* @end */

/* @group Header */

h1, h2, h3, h4 {
margin-top: 24px;
margin-bottom: 6px;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child, figure.left:first-child + h2, figure.left:first-child + h3 {
margin-top: 2px;
line-height: 1.0;
}

figure.left + h4, figure.left + h3 {
margin-top: 2px;
padding-top: 2px;
line-height: 1.0;
}

figure.right:first-child + h2, figure.right:first-child + h3 {
margin-top: -2px;
line-height: 1.0;
}

h1 {
font-size: 20px;
letter-spacing: 1px;
}

h2 {
font-size: 18px;
margin-top: 24px;
margin-bottom: 12px;
}

h3 {
font-size: 16px;
margin-top: 22px;
margin-bottom: 10px;
}

h2 + h3 {
margin-top: 12px;
}

h3 + h4 {
margin-top: 10px;
}

h3 p {
font-style: italic;
padding-top: 8px;
}

h4 {
font-size: 14px;
margin-top: 20px;
margin-bottom: 4px;
}

/* @end */

/* @group Newton */

div.Newton p, div.Newton h2, div.Newton h3, div.Newton h4, div.Newton a, div.Newton li {
color: #002200;
}

div.Newton {
border-color: #cccc99;
}

/* @end */

/* @group Bilder */

figure {
margin-top: 0px;
margin-bottom: 8px;
padding: 0px;
border: 0px;
line-height: 1.0;
}

figure.right {
float: right;
margin-left: 16px;
margin-right: 0px;
margin-bottom: 4px;
}

figure.left {
float: left;
clear: left;
margin-left: 0px;
margin-right: 16px;
margin-top: 4px;
margin-bottom: 6px;
}

figure.center {
clear: both;
width: 100%;
margin-left: auto;
margin-right: auto;
margin-top: 24px;
margin-bottom: 16px;
}

figure.center:first-child {
margin-top: 16px;
}

a > img {
border: 2px solid #000000;
}

/* @end */

/* @group Links */

a {
text-decoration: underline;
color: #dd0000;
}

a:visited, a:hover, a:active {
color: #dd5555;
}

a.navbar {
color: #000000;
font-weight: bold;
text-decoration: none;
letter-spacing: 1px;
line-height: 1.5;
}

a.navbar:visited {
color: #000000;
}

a.navbar:hover, a.navbar:active {
color: #cc0000;
}

h3 a {
text-decoration: none;
color: #000000;
}

h3 a:visited, h3 a:hover, h3 a:active {
color: #222222;
}

p.tags a, p.tags a:visited, p.format-bar a, p.format-bar a:visited {
color: #000000;
font-weight: bold;
}

/* @end */

/* @group HTML-Einbettung */

div.html-embedding {
margin-top: 12px;
padding-bottom: 12px;
border-bottom: 12px;
}

div.html-embedding:first-child {
margin-top: 0px;
}

div.html-embedding-left {
float: left;
margin-top: 5px;
margin-right: 14px;
padding-bottom: 12px;
}

div.html-embedding-right {
float: right;
margin-top: 4px;
margin-left: 12px;
padding-bottom: 12px;
}

/* @end */

/* @group Formatting */

.clear {
clear: both;
}

.versteckt {
display: none;
}

.rounded {
border-radius: 10px;
}

p {
margin-top: 0px;
margin-bottom: 14px;
}

figcaption {
font-size: 12px;
line-height: 1.5;
padding-top: 6px;
margin-top: 4px;
margin-bottom: 0px;
}

figure.center figcaption {
text-align: center;
margin-top: 2px;
padding-bottom: 4px;
}

p.tags, p.tags span, p.tags a {
line-height: 1.2;
}

strong, b {
font-weight: bold;
}

span.emphasis {
font-weight: bold;
letter-spacing: 1px;
}

p.extrabold {
font-size: 13px;
font-weight: bold;
}

label {
font-weight: bold;
}

p.formula {
padding-left: 30px;
font-style: italic;
}

p.poem {
padding-left: 50px;
margin-bottom: 0px;
}

p.poem_break {
line-height: 0.8;
margin-bottom: 0px;
}

blockquote {
background-color: #f3f3f3;
background-image: linear-gradient(to right, #f3f3f3, #fafafa);
font-style: italic;
margin-top: 8px;
margin-bottom: 12px;
margin-left: 0px;
margin-right: 4px;
padding-left: 12px;
padding-right: 20px;
padding-top: 8px;
padding-bottom: 1px;
border-left: 4px solid #cccccc;
border-radius: 0px 10px 10px 0px;
}

abbr {
border-bottom: none;
}

p.date {
font-size: 12px;
line-height: 1.7;
}

/* @end */

/* @group Tabellen */

table.rechenblatt {
background-color: #f1f1f1;
border-radius: 10px;
}

table.rechenblatt + table.rechenblatt {
margin-top: 8px;
}

th {
font-weight: bold;
background-color: #cccccc;
}

th:first-child {
border-top-left-radius: 10px;
}

th:last-child {
border-top-right-radius: 10px;
}

tr.dunkel {
background-color: #f1f1f1;
}

table.rechenblatt p {
line-height: 1.5;
}

/* @end */

/* @group Lists */

ul {
list-style-image: url(images/bullet.png);
padding-left: 15px;
}

div.Newton ul {
list-style-image: url(/images/bullet_newton.png);
}

li {
margin-top: 8px;
padding-left: 6px;
}

li:first-child {
margin-top: 0px;
}

li.emphasis {
list-style-image:url(images/redbullet.png);
}

dt {
font-size: 13px;
font-weight: bold;
padding-left: 9px;
margin-top: 10px;
border-left: 12px solid #555555;
}

dd {
padding-left: 0px;
margin-left: 22px;
margin-bottom: 16px;
}

dl.literatur dt {
padding-left: 0px;
margin-top: 0px;
border-left: none;
}

dl.literatur dd {
padding-left: 0px;
margin-left: 0px;
margin-bottom: 10px;
}

/* @end */

/* @group Fotoalben */

div.album img {
margin-bottom: 10px;
}

table.album {
border: 0px;
margin: 0px;
padding: 0px;
}

table.album img {
display: block;
width: 100%;
margin-top: 0px;
margin-bottom: 10px;
border-radius: 10px;
}

table.album td {
vertical-align: top;
padding-top: 0px;
padding-bottom: 0px;
}

table.album td.left {
padding-left: 0px;
padding-right: 6px;
}

table.album td.right {
padding-left: 6px;
padding-right: 2px;
}

div.overlay {
position: absolute; 
bottom: 0; 
background: rgba(0, 0, 0, 0.5);
width: 100%;
transition: 0.5s ease;
opacity: 0;
color: white;
font-size: 20px;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 2px;
padding-right: 0px;
margin: 0px;
text-align: center;
border-radius: 0px 0px 10px 10px;
}

table.album a {
position: relative;
}

table.album a:hover .overlay {
opacity: 1;
}

a.albumfotolink > img {
border: none;
}

/* @end */

/* @group Forms */

form, input {
margin: 0px;
padding: 0px;
}

textarea {
resize: vertical;
overflow: auto;
}

div.formbuttons {
clear: both;
text-align: right;
margin-right: 0px;
margin-top: 16px;
margin-bottom: 8px;
}

input[type=radio] {
margin-top: 3px;
}

input[type=text], input[type=search], input[type=number], input[type=file] {
padding-left: 4px;
border: solid 1px #a8a8a8;
border-radius: 7px;
}

input[type=submit] {
border-radius: 7px;
}

/* @end */

@media screen and (max-width: 700px) {
	.handheld {display: block; }
	.computer {display: none; }
	div.block, article.block {padding-top: 12px; margin-right: 16px; }
	div#page {width: auto; max-width: 700px; margin: 0px; }
	div#header {left: 0px; width: 100%; }
	main {width: auto; padding-top: 75px; padding-bottom: 0px; margin-bottom: 0px;}
	figure.center img {width: 100%;}
}

@media screen and (max-width: 780px) {main {padding-top: 72px; }}
@media screen and (max-width: 730px) {main {padding-top: 68px; }}
@media screen and (max-width: 690px) {main {padding-top: 62px; }}
@media screen and (max-width: 640px) {main {padding-top: 56px; }}
@media screen and (max-width: 550px) {main {padding-top: 52px; }}
@media screen and (max-width: 480px) {main {padding-top: 50px; }}