/*
 * Default viewport - Mobile first
 */

body {
    background-attachment: scroll;
    background-image: url("../images/bg_body_gray.png");
    background-position: center top;
    background-repeat: repeat-x;
    border: 0 none;
    color: #666666;
    font: 90% / 1.7em "Lucida Grande", "Lucida Sans", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    text-shadow: 0 1px 0 #FFFFFF;
}

/* 
 * Site structure 
 */

#container {
    background-color: #EAECEE;
	margin: 0;
	padding: 0 16px;
}

#page {
	margin: 70px auto 0;
	max-width: 684px;
	padding: 0;
	position: relative;
	top: -45px;
}
#top {
	/* set animation */
	-webkit-transition: width 1s, position 1s, padding 1s;
	transition: width 1s, position 1s, padding 1s;
	border-bottom: 1px solid #bbb;
}
#sticky {
	display: none;
}
@media only screen and (min-width: 570px) {
	#sticky {
		background: #d1dce8 none repeat scroll 0 0;
		border-bottom: 1px solid #ccc;
		box-sizing: border-box;
		height: 52px;
		left: 0;
		padding-left: 16px;
		padding-right: 16px;
		position: fixed;
		/*text-shadow: none;*/
		top: 0;
		width: 100%;
	}
	#sticky #logo #title h1 {
		font-size: 1.5em;
	}
	#sticky #logo #header h2 {
		font-size: 1.2em;
	}
	#sticky #logo {
		height: auto;
		width: auto;
		min-width: auto;
	}
	#sticky #nav {
		padding-top: 25px;
	}
}

#logo {
	cursor: pointer;
	height: 72px;
	width: auto;
	min-width: 240px;
}
#logo #title {
    color: #444444;
}
#logo #header h2 {
    color: #52A5F2;
    font-family: Geneva, Arial, Helvetica, SunSans-Regular, sans-serif;
    font-size: 1.6em;
    font-weight: normal;
    margin: 0;
    text-align: left;
}
#logo .plus {
	color: #888;
}

#content {
	clear: both;
	padding-bottom: 6px;
	padding-top: 10px;
	text-align: left;
	font-size: 1.2em;
}

#bottomarea {
    background-attachment: scroll;
    background-color: #cdd9e6; /*#D0DBE7;*/
    /*background-image: url("../images/bg_bottom_gray.png");*/
    background-position: center top;
    background-repeat: repeat-x;
    border-top: 1px solid #ccc;
    bottom: 0;
    clear: both;
    margin: 0;
    padding: 0;
    position: static;
    text-align: left;
    height: 80px;
    width: 100%;
}

#bottomarea #copyright {
    margin: 0 auto;
    padding: 8px 24px 0;
    font-size: 0.9em;
	max-width: 684px;
}

#copyright .linebreak {
	display: block;
}


/* 
 * Navigation 
 */

/* Highlight active page link */
#profil #nav a[href^="profil"],
#webwork #nav a[href^="webwork"],
#kontakt #nav a[href^="kontakt"],
#datenschutz #nav a[href^="datenschutz"]
{
    font-weight: bold;
    padding-top: 0;
    text-decoration: none;
}
#nav ul {
  list-style: none outside none;
  margin: 0;
  padding: 0;
}
#nav ul li {
  float: left;
  font-size: 1.24em;
  margin: 0 24px 0 0;
  padding-top: 2px;
}
#nav a {
    color: #666666;
    font-weight: 500;
    height: 24px;
    letter-spacing: 1px;
    text-decoration: none;
}
#nav a.selected {
    font-weight: bold;
    padding-top: 0;
    text-decoration: none;
}
#nav a:hover {
    color: #EE6600;
    text-decoration: none;
}

/* 
 * Content
 */

.item {
	text-align: left;
}
div.item:not(:first-child):before {
    content: "\2212";
    display: block;
    margin-top: 12px;
    margin-bottom: 12px;
}
.item p {
	margin: 15px 0;
}
.item img {
	border: 1px solid #cccccc;
    background-size: auto 100%;
    width: 100%;
	max-width: 600px;
	height: 100%;
	max-height: 400px;
}
#content h1 {
    background-attachment: inherit;
    background-position: left bottom;
    background-repeat: no-repeat;
    color: #444444;
    font: bold 1.7em "Lucida Grande", "Trebuchet MS", Verdana, Geneva, Arial, Sans-Serif;
    margin: 12px 0 24px;
    padding: 0;
    text-align: left;
    text-decoration: none;
}
.subheader, .paginate {
	margin-top: -20px;
    font-size: 1em;
    text-align: left;
	text-transform: uppercase;	
}
.paginate {
	margin-top: 20px;
	text-align: right;
}
.subheader a, .paginate a{
	cursor: pointer;
	color: #666;
}
.subheader a.selected, .paginate a.selected  {
	color: #666;
    font-weight: bold;
}
.subheader a:hover, .subheader a:hover  {
    color: #EE6600;
}
#content h2 {
    color: #444444;
    font: bold 1.5em "Trebuchet MS", "Lucida Grande", Verdana, Geneva, Arial, Sans-Serif;
    padding: 0;
    text-align: left;
}

#content li {
    background-position: 0 -2px;
    color: #555555;
    display: list-item;
    list-style-image: url("../images/bullet_4sq_1.gif");
    margin-bottom: 6px;
    margin-left: -20px;
}

#content h3 {
    color: #444444;
    font: bold 0.6em "Trebuchet MS", "Lucida Grande", Verdana, Geneva, Arial, Sans-Serif;
    margin: 0 0 10px;
    padding: 0;
    text-align: left;
    text-decoration: none;
}

#content p {
    border: 0 none;
    color: #555555;
    margin-bottom: 4px;
	text-align: left;
}

#content p.bold {
    font-variant: small-caps;
    font-weight: 900;
    text-decoration: none;
}

#content p.date {
    font-size: 0.5em;
}

#content p img {
    border: 1px solid #9D9D9D;
    margin: 0;
    padding: 2px;
}

#content div.floatleft img {
    border: 1px solid #9D9D9D;
    float: left;
    margin: 0 6px 0 0;
    padding: 2px;
}

#content span.bullet {
    border: 0 none;
    bottom: 1px;
    color: #CC3300;
    float: left;
    font-family: "Trebuchet MS", Geneva, Arial, Helvetica, SunSans-Regular, sans-serif;
    font-weight: 900;
    margin-right: 3px;
    position: relative;
}

#content a.text:link, #content a.text:visited {
    border-bottom: 1px solid #CCCCCC;
    color: #000000;
    font-weight: normal;
    text-decoration: none;
}

#content a.text:hover, #content a.text:active {
    border-bottom: 1px solid #93BCE1;
    color: #5496D0;
    text-decoration: none;
}


/*
 * HTML Tag formatting
 */
.external::after {
    content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAA1UlEQVQoka3RrwrCUBQGcB9hjzJ2Zx5afQKbZXe2ockmmH0HTYJVq8GiQY/ci3/CigNNgkEmE2Sbn8nB5m4Q/OC07xfOOaXSP8I4DRkn5EdZ7g585KMEekNoBieZRxlQbUsyHUpMhxLGN4lhE6bLqxowTojiF/Z+CMsVadk7P9Afn4pBEMawXIHR7JKWLVeAcbp1Bz4MTjIDAGCyuKLeO4C8O2qdLUxnE+m20A17PdcbQvsCH2S5ArtjiHKTItUpMwsGYYxn9FKDSkuKokdV23JVCH7JGzz68CQJViGkAAAAAElFTkSuQmCC);
    color: #5496D0;
    padding-left: 2px;
}

a {
    font-family: Arial, Helvetica, sans-serif;
	text-decoration: none;
    color: #5496D0;
}

a:link,
a:visited {
    color: #5496D0;
}

a:hover {
    color: #3E8EFF;
}

p {
    color: #444444;
    margin: 0;
    padding: 0;
}

h1 {
    font: 2.5em Geneva, Arial, Helvetica, SunSans-Regular, sans-serif;
    padding-right: 0;
    text-align: left;
	margin: 0;
}

h2 {
    color: #888888;
    font-family: "Trebuchet MS", Geneva, Arial, Helvetica, SunSans-Regular, sans-serif;
    font-size: 1.2em;
    font-style: normal;
    font-weight: normal;
}
h2 a {
    color: #666666;
    font-family: Geneva, Arial, Helvetica, SunSans-Regular, sans-serif;
    margin: 0;
    text-align: left;	
}
h2 a:hover {
	color: #EE6600;
}

h3 {
    color: #666666;
    font: bold 0.7em "Trebuchet MS", Geneva, Arial, Helvetica, SunSans-Regular, sans-serif;
    margin: 4px 0 2px;
    padding: 0;
}

h4 {
    color: #FFFFFF;
    font: 1.2em "Trebuchet MS", Geneva, Arial, Helvetica, SunSans-Regular, sans-serif;
    margin: 0 0 60px;
    padding: 0;
    position: relative;
    text-align: right;
}

h5 {
    color: #FFFFFF;
    font: 1.2em / 1.8em "Trebuchet MS", Geneva, Arial, Helvetica, SunSans-Regular, sans-serif;
    margin: 0 0 60px;
    padding: 0;
    position: relative;
}

/* Other formatting */
.justified {
   text-align: justify;
}

.clear {
    clear: both;
    margin: 0;
    padding: 0;
}
.hide {
	display: none;
}
.more {
	cursor: pointer;
	color: #5496D0;
}
/*
 * Other viewports
 */

/* Landscape or mobile with larger viewport */
@media only screen and (min-width: 400px) {
	#copyright .linebreak {
		display: inline;
	}

	#copyright .linebreak:before {
		content: "|";
	}
}
@media only screen and (max-width: 524px) {
	#nav {
		font-size: 80%;
	}
}
@media only screen and (min-width: 570px) {
	#top {
		height: 68px;
	}
	#logo {
		float: left;
	}
	#nav {
		/*padding-top: 38px;*/
		float: right;
	}
	#nav ul li {
		margin: 0 0 0 24px;
	}
	#content h1 {
		font-size: 1.8em;
	}
}

/* Tablets */
@media only screen and (min-width: 600px) {
	#page {
		margin: 95px auto 0;
	}
	#content {
		padding-top: 48px;
	}
}

/* Desktop */
@media only screen and (min-width: 1100px) {
	#top {
		height: 98px;
	}
	#content {
		font-size: 1.2em;
	}
	#content h1 {
		font-size: 2em;
	}
	#nav ul li {
		font-size: 1.1em;
	}
}