/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-color:#464646;
}
body.home {
    background-image: url(../images/philipp-tingler_768.jpg);
}
#circle {
	position:fixed;
	left:-55px;
	bottom:-135px;
	width:270px;
	height:270px;
	background:url(../graphics/circle_540.png) no-repeat ;
	background-size:270px 268px;
}
#circle div.links {
	position:absolute;
	left:63px;
	bottom:140px;
}
#circle a:link, #circle a:active, #circle a:visited {
	text-decoration:none;
	color:#FFF;
}
#circle a:hover {
	text-decoration:none;
	color:#FFF;
}
#circle p {
	font-size:14px;
	line-height:18px;
	margin:0;
}
#circle p.twitter {
	background:url(../graphics/twitter_icon_12.png) no-repeat left;
	padding-left:20px;
}
#claim {
	position:fixed;
	font-family:'helvetica-ultra-compressed';
	color:#a3a3a3;
	opacity:0.55;
}
#impr {
	display:none;
}
div.emblem2 {
	position:fixed;
	bottom:228px;
	right:5px;
	display:block;
	width:61px;
	height:39px;
	background:url(../graphics/wappen_522.png) no-repeat right;
	background-size:61px 39px;
	border-bottom:#a3a3a3 2px solid;
	opacity:0.55;
}
div.emblem1 {
	display:none;
}
nav {
	position:fixed;
	left:0;
	width:66px;
	font-family:'akzidenz-grotesk_stdMdCn';
	font-size:24px;
	line-height:28px;
	color:#FFF;
}
nav div.item {
	position:relative;
	padding-left:7px;
}
nav div.item a:link, nav div.item a:hover, nav div.item a:active, nav div.item a:visited {
	text-decoration:none;
	color:#FFF;
}
nav #nav1 {
	border-top:#FFF 2px solid;
}
nav #nav2 {
	border-top:#FFF 2px solid;
}
nav #nav3 {
	border-top:#FFF 2px solid;
}
#homebtn {
	position:fixed;
	top:10px;
	left:10px;
	width:43px;
	height:16px;
	background:url(../graphics/homebtn_364.png) no-repeat;
	background-size:43px 16px;
}
div.content {
	position:absolute;
	background-color:#000;
	opacity:0.75;
	font-size:14px;
	color:#FFF;
}
div.innercontent {
	margin:0 10px;
}
div.innercontent a:link, div.innercontent a:active, div.innercontent a:visited {
	text-decoration:none;
	color:#FFF;
}
label {
	clear:both;
	display:block;
}
.inputshort {
	padding:0;
	clip:rect(1px,1px,1px,1px);
	position:absolute !important;
	white-space:nowrap;
	height:1px;
	width:1px;
	overflow:hidden;	
}
.inputlong {
	clear:both;
	width:96%;
	padding:5px;
	max-width:500px;
	color:#000;
	margin:5px 0 20px 0;
}
.inputtext {
	clear:both;
	width:96%;
	max-width:500px;
	color:#000;
	margin:5px 0 20px 0;
	padding:5px;
}
.buttonform {
	clear:both;
	color:#000;
	margin:5px 0 0 0;
	border:none;
	border-radius:2px;
	background-color:#FFF;
	padding:7px 7px 5px 7px;
	opacity:0.9;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
}

@media only screen and (max-width: 767px) {
#claim {
	bottom:88px;
	right:-69px;
	font-size:42px;
	line-height:53px;
	letter-spacing:0.05em;
	/* Safari */
	-webkit-transform: rotate(-90deg);
	/* Firefox */
	-moz-transform: rotate(-90deg);
	/* IE */
	-ms-transform: rotate(-90deg);
	/* Opera */
	-o-transform: rotate(-90deg);
	/* Internet Explorer */
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
}

@media only screen and (min-width: 480px) {
}

@media only screen and (min-width: 768px) {
body.home {
	background-image: url(../images/philipp-tingler.jpg);
}
#circle {
	left:-110px;
	bottom:-270px;
	width:540px;
	height:540px;
	background:url(../graphics/circle_1080.png) no-repeat;
	background-size:540px 536px;
}
#circle div.links {
	left:125px;
	bottom:285px;
}
#circle p {
	font-size:16px;
	line-height:24px;
}
#circle p.twitter {
	background:url(../graphics/twitter_icon_20.png) no-repeat left;
	padding-left:30px;
}
#claim {
	bottom:0;
	right:20px;
	font-size:84px;
	line-height:105px;
	letter-spacing:0.03em;
}
#impr {
	display:block;
	position:fixed;
	color:#a3a3a3;
	bottom:195px;
	right:-160px;
	font-size:12px;
	line-height:14px;
	/* Safari */
	-webkit-transform: rotate(-90deg);
	/* Firefox */
	-moz-transform: rotate(-90deg);
	/* IE */
	-ms-transform: rotate(-90deg);
	/* Opera */
	-o-transform: rotate(-90deg);
	/* Internet Explorer */
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
	opacity:0.55;
}
#impr a:link, #impr a:hover, #impr a:active, #impr a:visited {
	text-decoration:none;
	color:#a3a3a3;
}
div.emblem1 {
	display:block;
	width:116px;
	height:65px;
	background:url(../graphics/wappen_522.png) no-repeat right;
	background-size:102px 65px;
}
div.emblem2 {
	display:none;
}
nav {
	left:0;
	width:116px;
	font-size:38px;
	line-height:45px;
	letter-spacing:1px;
}
nav.home {
	top:32%;
}
nav.pages {
	top:39%;
}
nav div.item {
	padding-left:14px;
}
nav #nav1 {
	border-top:#FFF 3px solid;
}
nav #nav2 {
	border-top:#FFF 3px solid;
}
nav #nav3 {
	border-top:#FFF 3px solid;
}
#homebtn {
	top:20px;
	left:20px;
	width:80px;
	height:30px;
	background:url(../graphics/homebtn_364.png) no-repeat;
	background-size:80px 30px;
}
div.content {
	left:25%;
	width:50%;
	top:39%;
}
div.innercontent {
	margin:3px 20px;
}
.inputlong {
	width:97%;
}
.inputtext {
	width:97%;
}
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 768px), (min-resolution: 192dpi) and (min-width: 768px)  {
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
