/*
Theme Name: labmark
Theme URI: http://wordpress.org/
Description: Labmark theme specific for the people pages, this is version 0.5.2
Author: elliotnolten.com
Version: 0.5.2
Tags: 
*/

/*
AvdH 26-05-2011: Change content img to max-width 495, removed width:auto (bug in twenty10 1.1), change content img attachment to max-width:495
*/


/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
body {
	background:#FFF;
	line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}

ol, ul {
	list-style: none;
}

blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}


/* =Fonts
-------------------------------------------------------------- */
body,
input,
textarea,
.page-title span,
.pingback a.url {
	font-family:Tahoma, Geneva, sans-serif;
	font-size:11px;
	line-height:18px;
	color:#000;
}
h1, h2{color:#ffa422; font-weight:bold; line-height:18px;}
h1{font-size:17px; margin:0 0 10px 0;}
h2{font-size:13px; margin:0 0 7px 0;}
h3, h4{color:#000; font-weight:bold; line-height:18px; font-size:11px; margin-bottom:3px;}
h4{}
h1 a:hover, h1 a:link, h1 a:visited, h1 a:focus,
h2 a:hover, h2 a:link, h2 a:visited, h2 a:focus,
h3 a:hover, h3 a:link, h3 a:visited, h3 a:focus,
h4 a:hover, h4 a:link, h4 a:visited, h4 a:focus{text-decoration:none;}
a:link, a:visited, a:hover, a:focus{color:#345cbe; text-decoration:none;}

/* =Structure
-------------------------------------------------------------- */

/* The main theme structure */
#wrapper {
	margin:0 auto;
	width:100%;
}
#access .menu-header,
div.menu,
#info,
#banner,
#container{
	margin:5px auto 0 auto;
	width:960px;
}

/* =Global Elements
-------------------------------------------------------------- */

/* Main global 'theme' and typographic styles */
body {
	background: #FFF;
}
body,
input,
textarea {
	color: #000;
	font-size: 11px;
	line-height: 18px;
}
hr {
	background-color: #e7e7e7;
	border: 0;
	clear: both;
	height: 1px;
	margin-bottom: 18px;
}

/* Text elements */
p {
	margin-bottom: 18px;
}

ul {
		margin: 0;
	}

ol {
	list-style: decimal;
	margin: 0 0 18px 1.5em;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}

/*
ul ul,
ol ol,
ul ol,
ol ul {
	margin-bottom: 0;
}
*/
dl {
	margin: 0 0 24px 0;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 18px;
}
strong {
	font-weight: bold;
}
cite,
em,
i {
	font-style: italic;
}
big {
	font-size: 131.25%;
}
ins {
	background: #ffc;
	text-decoration: none;
}
blockquote {
	font-style: italic;
	padding: 0 3em;
}
blockquote cite,
blockquote em,
blockquote i {
	font-style: normal;
}
pre {
	background: #f7f7f7;
	color: #222;
	line-height: 18px;
	margin-bottom: 18px;
	padding: 1.5em;
}
abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
sup,
sub {
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
input[type="text"],
textarea {
	background: #f9f9f9;
	border: 1px solid #ccc;
	box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	padding: 2px;
}

/* Text meant only for screen readers */
.screen-reader-text {
	position: absolute;
	left: -9000px;
}


/* =Header
-------------------------------------------------------------- */

#header {
	width:100%;
	padding:0;
	margin:0 auto;
}

#header h1{font-family:Georgia, serif; color:#FFF;}

.header-top{width:960px; height:55px; margin:0 auto 10px auto; vertical-align:middle;}
.header-logos{float:left; position:relative; height:45px; width:auto; display:inline;}
.tudlogo{float:left; margin:0; display:inline;}
.studiolablogo {float:left; margin:28px 0 0 0; display:inline;}

#masthead{position:relative; width:100%; z-index:-2; height:135px; padding:0; margin:0;}
.header-graphic{position:absolute; top:60px; width:100%; height:40px; background:url(images/header-graphic.png) repeat-x;}
/* This is the custom header image */
#banner{position:relative; height:135px; width:960px; margin:0 auto; padding:0;}
#banner .banner-wrap{
	position:relative;
	width:780px;
	margin:0;
	height:135px;
	clear: both;
	float:right;
	display: block;}
#banner img {width:780px; height:135px;}
#banner .header-title{z-index:1; position:absolute; top:60px; left:0; width:auto; height:20px; background:#000; padding:10px 20px 10px 10px; margin-left:20px;}
#banner .header-title h1{float:left; display:inline; clear:none; position:relative; line-height:1.0em; padding:0; margin:0; vertical-align:middle;}
#banner .header-title img{float:left; display:inline; position:relative; height:20px; width:20px; margin:0 5px 0 0; vertical-align: middle;}
#banner .header-title h1{font-family:Georgia, "Times New Roman", Times, serif; font-size:17px; color:#FFF; font-weight:normal;}
#banner .content-top-border{position:absolute; bottom:0; left:0; margin-left:20px; width:740px; height:11px; background:#FFF; border-top:2px solid #000;}

/* =Menu
-------------------------------------------------------------- */

#access {
	background:none;
	display: block;
	margin: 0 auto;
	width:960px;
}
#access .menu-header,
div.menu {
	float:right;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height:1.0em;
	margin-top:20px;
	width: auto;
}
#access .menu-header ul,
div.menu ul {
	list-style: none;
	margin: 0;
}
#access .menu-header li,
div.menu li {
	float: left;
	position: relative;
}
#access a {
	color: #858585;
	display: block;
	line-height: 38px;
	padding: 0 10px;
	text-decoration: none;
}

#access li:hover > a,
#access ul ul :hover > a {
	color: #000;
	text-decoration:underline;
}
#access ul li:hover > ul {
	display: block;
}
#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
	color: #000;
	text-decoration:underline;
}
* html #access ul li.current_page_item a,
* html #access ul li.current-menu-ancestor a,
* html #access ul li.current-menu-item a,
* html #access ul li.current-menu-parent a,
* html #access ul li a:hover {
	color: #000;
	text-decoration:underline;
}



/* =Content
-------------------------------------------------------------- */

/* SubMenu */
#sub-navigation{float:left; display:inline; width:180px; height:auto; margin:0 20px 0 0; padding:20px 0 0 0; background:#FFF; font-size:11px;}
#sub-navigation ul{margin:0 0 30px 0;}
#sub-navigation ul.info{color:#000;}
#sub-navigation ul.info li{height:auto; padding:2px 10px; margin:0; border:none;}
#sub-navigation ul.info a.mail{color:#345cbe; text-decoration:none;}
#sub-navigation ul.pages li{height:auto; padding:5px 10px; border-top:1px solid #e5e5e5;}
#sub-navigation ul.pages li a{text-decoration:none; color:#505050; font-size:11px; line-height:18px;}
#sub-navigation ul.pages li.current_page_item{background:#f9f9f9;}
#sub-navigation ul.pages li.current_page_item a{color:#000; font-weight:normal;}

#main {
	padding:0;
	margin:0 auto;
	display:inline; 
}
#content {
	float:left;
	margin-top:20px;
	margin-left:10px;
	width:495px; 
}

#content #post{float:left; display:inline; width:100%;}
#content .entry-content{float:left; display:inline; width:100%	;}
#content .entry-utility{float:left; display:inline; margin:0 0 20px 0;}

/* =categorypage
-------------------------------------------------------------- */
#category{float:left; margin:0 0 20px 0;}
.entry{float:left; width:auto; margin:0; padding:13px 10px 20px 10px; border-top:1px #d9d9d9 solid;}
.post{width:485px;}
.post-txt{float:left; display:inline; width:330px;}
.post-txt a{float:left; color:#000;}
.post-thumb{float:left; display:block; width:100px; height:75px; overflow:hidden; margin:0 20px 0 0;}
a.more{float:left; color:#000; text-decoration:underline; font-size:11px; line-height:16px;}

/* =singlepostpage
-------------------------------------------------------------- */
.entry-meta{border-bottom:1px #d9d9d9 solid;}
.entry-content{margin:10px 0; padding:10px 0;}
.entry-utility{width:100%; border-top:1px #d9d9d9 solid;}

/* =Images
-------------------------------------------------------------- */

#content img {
	margin: 0;
	height: auto;
	max-width: 495px;
/*
	width: auto;
*/
}
#content .attachment img {
	max-width: 495px;
}
#content .alignleft,
#content img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 10px;
}
#content .alignright,
#content img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 10px;
}
#content .aligncenter,
#content img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
}

#content .alignnone,
#content img.alignnonet {
	display: inline;
	margin-top: 10px;
}
#content img.alignleft,
#content img.alignright,
#content img.aligncenter,
#content img.alignnone {
	margin-bottom: 12px;
}
#content .wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	padding: 4px;
	text-align: center;
}
#content .wp-caption img {
	margin: 5px 5px 0;
}
#content .wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
#content .wp-smiley {
	margin: 0;
}
#content .gallery {
	margin: 0 auto 18px;
}
#content .gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
#content .gallery img {
	border: 2px solid #cfcfcf;
}
#content .gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
#content .gallery dl {
	margin: 0;
}
#content .gallery img {
	border: 10px solid #f1f1f1;
}
#content .gallery br+br {
	display: none;
}
#content .attachment img { /* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}



/* =Navigation
-------------------------------------------------------------- */

.navigation {
	color: #888;
	font-size: 12px;
	line-height: 18px;
	overflow: hidden;
	float:left;
}
.navigation a:link,
.navigation a:visited {
	color: #888;
	text-decoration: none;
}
.navigation a:active,
.navigation a:hover {
	color:#ffa422;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}


#nav-below {
	margin:20px 0;
	width:100%;
}

/* =Widget Areas
-------------------------------------------------------------- */

.widget-area ul {
	list-style: none;
	margin-left: 0;
}
.widget-area ul ul {
	list-style: square;
	margin-left: 1.3em;
}
.widget_search #s {/* This keeps the search inputs in line */
	width: 60%;
}
.widget_search label {
	display: none;
}
.widget-container {
	margin: 0 0 18px 0;
}
.widget-title {
	color: #222;
	font-weight: bold;
}
.widget-area a:link,
.widget-area a:visited {
	text-decoration: none;
}
.widget-area a:active,
.widget-area a:hover {
	text-decoration: underline;
}


/* Main sidebars */
#main .widget-area ul {
	margin-left: 0;
	padding:0;
}
#main .widget-area ul ul {
	border: none;
	margin-left:10px;
	padding: 0;
}
#primary {
	float:right;
	width:225px;
	margin:20px 0;
}

/* =Footer
-------------------------------------------------------------- */

#footer {
	float:left;
	clear: both;
	width: 100%;
	display:inline;
	margin-top:50px;
}
#info {
	overflow: hidden;
	padding:0;
	width:960px;
	height:80px;
	margin:0 auto 50px auto;
	border-top:1px solid #cacaca;
}
#info .name{float:left; width:780px; margin-left:10px; padding:10px 50px 0 0; line-height:16px;}
#info .contact{float:left; width:780px; margin-left:10px; padding:10px 50px 0 0; color:#505050; line-height:16px;}
#info a{color:#000;}
img#wpstats {
	display: block;
	margin: 0 auto 10px;
}


/* =Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */

pre {
	-webkit-text-size-adjust: 140%;
}
code {
	-webkit-text-size-adjust: 160%;
}
#access,
.entry-meta,
.entry-utility,
.navigation,
.widget-area {
	-webkit-text-size-adjust: 120%;
}
#site-description {
	-webkit-text-size-adjust: none;
}
