/**
* @author   Open Images Platform
* @since    May 2009
* @name     Stylesheet with the page lay-out stuff
* @version  '$Id$'
*/

div#topbar {
    background-color: #424242;
    border-bottom: 1px solid #000000;
    height: 25px;
    color: #fff;
    position: absolute;
    top: 0;
    width: 100%;
    text-align: right;
}

div#main
{
	width: 965px;
	min-height: 640px;
	margin: 25px 0 0 5px;
	padding: 0;
}

#header
{
	position: absolute;
	top: 25px;
	left: 5px;
	padding-left: 43px;
	padding-right: 22px;
	width: 277px;	/* for IE5/Win */
	voice-family: "\"}\"";
	voice-family: inherit;
	width: 212px;
}

#menu
{
	position: relative;
	top: 0;
	left: 277px;
	height: 44px;
	width: 688px;
	padding: 0;
	font-size: 1.1em;
}

/* columns */
div.wrap
{
	width: 100%;
	clear: both;
	background-image: url(images/dots2-bg-grey.png);
	background-repeat: repeat-x;
	background-position: 0 0;
	min-height: 266px;
	overflow: hidden; /* http://www.quirksmode.org/css/clearing.html */
}

div.left-column
{
	padding-left: 43px;
	padding-right: 22px;
    padding-top: 8px; /* 16 */
	background-image: url(images/dots2-bg-grey.png);
	background-repeat: repeat-x;
	background-position: 0 0px;
	min-height: 166px;
	width: 267px;	/* for IE5/Win */
	voice-family: "\"}\"";
	voice-family: inherit;
	width: 190px;
}
div.main-column
{
	padding-top: 10px;
	margin-bottom: 8px;
	width: 512px;
	min-height: 500px;
}
div.main-column.wide { width: 688px; }

div.right-column
{
	margin-left: 13px;
	padding-left: 13px;
	padding-right: 0;
	padding-top: 10px;
	margin-bottom: 8px;
	width: 186px;   /* for IE5/Win */
	voice-family: "\"}\"";
	voice-family: inherit;
	width: 150px;
}
div.right-column a { color: #666; }

div.left-column
{
	position: absolute;
	top: 438px;
	left: 5px;
}

#menu a:link,
#menu a:visited
{
	text-decoration: none;
	color: #494949;
}

#menu a:hover
{
	text-decoration: underline;
	color: #c00;
}

#menu a:active
{
	text-decoration: underline;
	color: #e00120;
}

#menu li.active a { color: #aaa; }

#header h1
{
	margin-bottom: 60px;
	margin-top: 44px;
}
#header p
{
	font-style: italic;
	font-size: 0.95em;
	line-height: 2em;
}

#topbar > div {
	width: 970px;
	position: relative;
}
#topbar ul.meta
{
	position: absolute;
	top: 0;
	right: 0;
	height: 18px;
	list-style: none;
	width: auto;
}
#topbar ul.meta li
{
	display: inline;
	list-style: none;
	float: left;
	font-size: 0.9em;
	line-height: 20pt;
	padding-left: 20px;
}

#topbar ul.meta li.you {
	white-space: nowrap;
	padding-left: 10px;
	padding-left: 10px;
}
#topbar ul.meta li.you span.user { 
    background-image: url(icons/dot-white.png);
    background-repeat: no-repeat;
    background-position: right 6px;
    padding-right: 10px;
    margin-right: 10px;
}
#topbar ul.meta li.logout {
	padding-left: 10px;
}
#topbar ul.meta li.logout,
#topbar ul.meta li.you a.login,
#topbar ul.meta li.you a.logout { text-transform: lowercase; }
#topbar ul.meta li a { color: #fff; }
#topbar ul.meta li a:link,
#topbar ul.meta li a:visited { 
    text-decoration: none; 
    color: #fff;
}
#topbar ul.meta li a:hover,
#topbar ul.meta li a:active {
	text-decoration: underline;
	color: #efefef;
}
#topbar ul.meta label { display: none; }


#menu ul.main
{
	list-style: none;
	height: 20px;
	width: 688px;
	position: absolute;
	top: 24px;
	left: 0;
}

#menu ul.main li
{
	list-style: none;
	float: left;
	padding-right: 34px;
}

#menu ul.main li.last { padding-right: 0; }
#menu ul.main li.form
{
	float: right;
	padding-right: 0;
}
#menu ul.main li form,
#menu ul.main li fieldset {
	margin: 0;
	padding: 0;
}
#menu ul.main select { width: auto; }
#menu ul.main label { display: none; }

#footer
{
	clear: both;
	width: 965px;
	background-image: url(images/dots2.png);
	background-repeat: repeat-x;
	background-position: 0 60px;
	padding-top: 80px;
	min-height: 266px;
	margin-left: 5px;
}

#footer div
{
	width: 160px;
	float: left;
	font-size: 0.85em;
}

#footer div.logos
{
	float: left;
	width: 234px;
	margin-left: 43px;
	font-size: 0.9em;
	color: #777;
}
#footer div.logos img {
	margin: 8px 4px 0 0;
}

#footer div.initiative
{
	float: left;
	width: 163px;
	margin-left: 45px;
}

#footer ul { list-style: none; }
#footer ul.footer { margin-top: 12px; }
#footer li
{
	margin-top: 2px;
	list-style: none;
}

#footer a:link, 
#footer a:visited 
{
	color: #555;
	text-decoration: none;
}
#footer a:hover, 
#footer a:active { text-decoration: underline; }


/* differences per page */
body.home > div#main { height: 680px; }
body.home > div#main > div.left-column { display: none; }

div.main-column,
body.home > div#main > div.main-column
{
	float: left;
	margin-left: 277px;
	top: 30px;
	margin-bottom: 4px;
	min-height: 200px;
}

div.right-column,
body.home > div#main > div.right-column
{
	float: right;
	margin-bottom: 4px;
}


body.home > div#main > div.wrap
{
	width: 789px;
	position: absolute;
	left: 5px;
	top: 439px; /*414*/
}

div.wrap > div.left-column
{
	position: static;
	display: block;
	float: left;
	padding-top: 8px;
	margin-top: 0;
	border: 0;
}

div.wrap > div.main-column
{
	float: left;
	padding-top: 16px;
	margin-left: 22px;
	width: 512px;
}

body.home div#main div.wrap div.right-column { display: none; }

body.media > div#main > div.left-column { top: 236px; }
body.media > div#main > div.right-column { margin-top: 157px; }
body.media > div#main { min-height: 700px; }
body.media > div#main div#header p { display: none; }

body.media div.main-column div.text
{
	position: absolute;
	top: 79px;
	left: 281px;
}

body.media div#tabs,
body.media div#ajaxtabs
{
    position: relative;
	top: 108px;
	left: 0;
	margin-bottom: 140px;
}
body.media div.wrap
{
	background-image: url(images/dots2.png);
	background-repeat: repeat-x;
	background-position: 0 20px;
}
body.media div.wrap h4 { margin-bottom: 10px; }

body.user-media div.related-grey
{
	position: relative;
	top: 0px;
	left: 0px;
	height: 338px;
}

body.user-media div.related-grey-border
{
	position: relative;
	top: 0px;
	left: 0px;
}



/* error pages */
body.error div.main-column
{
	padding-top: 10px;
	margin-bottom: 8px;
	width: 699px;
	margin-left: 274px;
	min-height: 320px;
}

body.error div.main-column h2,
body.error div.main-column h3 { text-transform: none; }

body.error #footer ul
{
	margin-left: 283px; /* 312 */
	list-style: none;
}

body.error #footer ul li
{
	list-style: none;
	float: left;
	margin-right: 3em;
	font-size: 0.85em;
}


/* the bordered and grey background divs */
div.related-grey-border
{
	background-image: url(images/dots2-bg-grey.png);
	background-repeat: repeat-x;
	background-position: 0 0;
	min-height: 266px;
	padding: 16px 8px 8px 8px;
	clear: both;
	margin-bottom: 1em;
}

div.related-grey
{
	background-image: url(images/bg-gr.png);
	background-repeat: repeat-x;
	background-position: 0 0;
	min-height: 266px;
	padding: 8px;
	clear: both;
	margin-bottom: 1em;
}

div.related-grey div.ui-tabs-panel div.ui-tabs { min-height: 200px; }

div.related
{
	min-height: 266px;
	clear: both;
	margin-bottom: 1em;
	padding-top: 8px;
}

div.related h2, div.related-grey h2 { margin-top: 0; }
div.related h3, div.related-grey h3 { margin-top: 0; }

body.home div#main div.right-column div.related
{
	margin-bottom: 0;
	padding-bottom: 0;
}
