/* ==========================================================================
 Base styles: opinionated defaults
 ========================================================================== */

html {
	color: #333333;
	font-family: helvetica;
	font-size: 1em;
	line-height: 1.2;
	background: #FFFFFF;
}

/*
 * 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.
 */

::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
 ========================================================================== */
*:focus {
	outline: none;
}

body {
	padding-top: 40px;
	padding-bottom: 0px;
	font-size: 1em;
}

div.content {
	width: 748px;
	height: 376px;
	margin-left: auto;
	margin-right: auto;
}

div#detailed {
	width: 740px;
	height: 368px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 4px;
}

div#info:hover {
	cursor: pointer;
}

div#mosaic {
	margin-top: 22px;
	width: 748px;
	height: 376px;
}
h1 {
	display: inline;
	padding-left: 2px;
	margin: 0px;
	font-size: 24px;
	font-family: Helvetica;
}

h2 {
	padding: 0px;
	padding-top: 4px;
	margin: 0px;
	margin-bottom: 10px;
	font-size: 20px;
	font-family: Helvetica;
}

ul#categories {
	display: inline;
	padding-left: 20px;
}

ul#categories li {
	font-size: 14px;
	display: inline-block;
}

ul#categories li a {
	padding-right: 14px;
	color: #000000;
	text-decoration: none;
	display: block;
}

ul#categories li.active a {
	text-decoration: underline;
}

ul#categories li a:hover {
	text-decoration: underline;
}

ul.projects {
	margin: 0;
	padding-top: 4px;
	padding-left: 4px;
	padding-right: 0px;
	padding-bottom: 0px;
}

ul.projects li.item {
	padding: 0px;
	margin: 0px;
	margin-right: 4px;
	margin-bottom: 4px;
	width: 120px;
	height: 120px;
	float: left;
	overflow: hidden;
}

ul.projects li.blank {
	margin-right: 4px;
	margin-bottom: 4px;
	width: 120px;
	height: 120px;
	float: left;
	overflow: hidden;
}

ul.projects li.item:hover {
	cursor: pointer;
}

div.crop {
	position: relative;
	margin-top: -20px;
}

@-moz-document url-prefix() {
    div.crop {
        margin-top: 0px;
    }
}

img.centered {
	width: 100%;
	position: absolute;
}

img.large {
	margin-top: 4px;
}

p.description {
	padding-left: 40px;
	padding-right: 40px;
}

p#click {
	color: #CCCCCC;
	font-style: italic;
}

a#impressum {
	font-size: 14px;
	color: #CCCCCC;
	text-decoration: none;
}

div#back {
	font-size: 0.9em;
	color: #CCCCCC;
	position: absolute;
	padding-top: 6px;
	left: 50%;
	margin-left: -98px;
}

#overlay {
	font-family: tahoma, arial;
	position: absolute;
	bottom: 0;
	width: 720px;
	z-index: 600;
	background: black;
	color: white;
	padding: 10px;
	opacity: .5;
}
======================================================================
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;
}
}
