/*

colors:
-
light-grey: #a6a6a6
dark-grey:	#505050

size:
base (81.25%): 13px
-
13px -> 1em
20px -> 1.54em
22px -> 1.69em

*/

body { 
  text-align: right; /* IE */ 
  background: #e5e5e5 url(../gfx/gradient.gif) repeat-y top left;
  /*background: #fff;*/
  font-size: 81.25%;
}
body, p, h1, h2, h3, a {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.3;
  color: #505050;
}

/* Forcing vertical scrollbars in Netscape, 
   Firefox and Safari browsers */
   
html { height: 100%; margin-bottom: 1px;}


/* main containers */
#container {
  text-align: left;
  width: 850px;
  border-top: 1px solid #bebebe;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: 20px;
}

#header {
  width: 850px;
  height: 100px;
  position: relative;
}
#ident { width: 190px; float: left; padding-top: 5px; }
#main-navigation { width: 640px; float: right; }

#pdf-navigation {
  position: absolute;
  right: 2px;
  bottom: 0;
}

#sidebar {
  width: 190px; /* leave 10px margin */
  float: left;
}

#content {
  width: 640px;
  margin-left: 20px;
  float: right;
  border-top: 1px solid #bebebe;
}
#content.favs {
  border: 0;
}

#content-home {
  width: 650px;
  margin-left: 0;
  float: right;
  border-top: 0;
  margin-top: 1px;
}

#content-category {
  width: 640px;
  margin-left: 20px;
  float: right;
  border-top: 0;
}


#footer {
  clear:both;
  width: 640px;
  margin-left: 210px;
  padding-top: 3px;
  border-top: 1px solid #bebebe;
}  



a, a:link, a:visited,
.current-cat a.favs-pdf-download, .current-cat a.favs-pdf-download:link, .current-cat a.favs-pdf-download:visited { 
  color: #a6a6a6; 
  text-decoration: none; 
  font-weight: bold; 
}

a:hover, a:active,
.wp-pagenavi .current,
a.current, a.current:link, a.current:visited,
.current_page_parent a, .current_page_parent a:link, .current_page_parent a:visited,
.current_page_ancestor a, .current_page_ancestor a:link, .current_page_ancestor a:visited,
.current_page_item a, .current_page_item a:link, .current_page_item a:visited,
.current-cat-parent a, .current-cat-parent a:link, .current-cat-parent a:visited,
.current-cat a, .current-cat a:link, .current-cat a:visited,
.current-cat a.favs-pdf-download:hover, .current-cat a.favs-pdf-download:active
{ 
  color: #505050;
  font-weight: bold;
}
a:before { content: "\2014"}

#ident a:before { content: ""; }


/* navigation */
#main-navigation 	{ padding-top: 3px; }
#main-navigation a { text-transform: uppercase; margin-right: 20px; }

#pdf-navigation a { font-size: 0.85em; margin: 0 0 0 10px; }
#pdf-navigation a.internal { margin: 0; padding:0; background-image: none; }
a.internal:before { content: ""; }


/* sidebar */
#sidebar ul { margin-bottom: 1em; }
#sidebar li {
  border-top: 1px solid #bebebe;
  padding: 3px;
  list-style-type: none;
  text-transform: uppercase;
}
#sidebar li li { border:0; padding-left: 0;}

#sidebar li a { display: block; padding-bottom: 3px; }
#sidebar li a:before { content: ""}
#sidebar li li  a { display: inline; padding-bottom: 0; text-transform: none; }
#sidebar li li  a:before { content: "\2014"}

#sidebar abbr { font-size: 0.85em; }

.children a,.children a:link, .children a:visited { color: #a6a6a6; }
.children .current-post a,
.children a:hover, .children a:active { color: #505050; }


/* ident */
/*
h1 		{ font-size: 0.7692em; text-transform: uppercase; margin-left: 3px; margin-top: 5px; margin-bottom: 15px; font-weight: bold; color: #a6a6a6; }
*/
#logo 	{ margin-left: 3px; }

/* home */
#content-home h2 { display: none; }

#content-home { overflow: hidden; padding-bottom: 5px; }

.project-teaser {
	float: left;
	width: 315px;
	height: 177px;
	overflow: hidden;
	float: left;
	background: #eee;
	position: relative;
	margin: 0 0 15px 10px;
	display: inline; /* ie double margin bug */
}
.teaser-text {
  position: absolute;
  bottom: 2px;
  left: 2px;
  width: 311px;
  background: transparent url(../gfx/trans80.png);
}	
.teaser-text h3 { padding: 3px 2px 2px; }
.teaser-text a, .teaser-text a:link, .teaser-text a:visited { display: block; color:#505050; font-size: 0.85em; }
.teaser-text a.hover,
.teaser-text a:hover, .teaser-text a:active { color: #a6a6a6; }

.project-teaser img.hover {
	filter:alpha(opacity=75);
	-moz-opacity:.75;
	opacity:.75;
}

/* category */
#content-category h2 { display: none; }

.projectlisting li {
  border-top: 1px solid #bebebe;
  list-style-type: none;
}
a.catthumb-link:before { content: ""; }
a.catthumb-link, a.catthumb-link:link, a.catthumb-link:visited { display: block; width: 120px; height: 67px; overflow: hidden; margin-bottom: 8px;}
a.catthumb-link:hover, a.catthumb-link:active, a.catthumb-link.hover  {
	filter:alpha(opacity=75);
	-moz-opacity:.75;
	opacity:.75;
}

.projectlisting h3 { margin-top: 3px; margin-bottom: 0.3em; }
.projectlisting h3 a, .projectlisting h3 a:link,.projectlisting h3 a:visited { color:#505050; } 
.projectlisting h3 a:hover,.projectlisting h3 a:active,.projectlisting h3 a.hover { color:#a6a6a6; } 

/* dat */
.data-container { margin-bottom: 1.5em; }
.data { font-weight: bold; }
.data-label { text-transform: uppercase; color: #a6a6a6; }

/* single */
.project-detail { margin-bottom: 2em; }
.project-detail p { padding-right: 10px;}
.single .data-container { margin-bottom: 1em; }
.single .gallery { margin-bottom: 1em; }
.single h2 {  padding-right: 120px; margin-bottom: 0.75em; font-weight: bold; font-size: 1.69em; line-height: 1.2; }


/* pages */
.page-detail { width: 640px; overflow: hidden; } /* avoid wideing col as img has additional padding */
.page-detail { margin-bottom: 2em; } 
.page-detail h3 { font-weight: bold; }
.page-detail p { padding-right: 120px; }
.page-detail img { margin-bottom: 1em; }

.page-detail a, .page-detail a:link, .page-detail a:visited { color: #505050; }
.page-detail a:hover, .page-detail a:active { color:#a6a6a6; background-position: 0px 0px; }

.page-detail ul { list-style-type: none; padding-right: 120px; margin-bottom: 1em;}
.page-detail li { }
/*.page-detail li:before { content: "\002D"}*/


/* contact data */
#contact-data .page-detail a, #contact-data .page-detail a:link, #contact-data .page-detail a:visited { color: #505050; font-weight: normal; }
#contact-data .page-detail a:before { content: ""}
#contact-data .page-detail a:hover, #contact-data .page-detail a:active { color:#a6a6a6; text-decoration: underline;  }


/* profile */
#profile .page-detail li { font-weight: bold; margin-bottom: 1em; }
#profile .page-detail li em { font-weight: normal; font-style: normal; }
#profile .page-detail p { margin-bottom: 0; }

/* partner */
#partner .page-detail li { padding-left: 0; background-image: none; font-weight: bold; margin-bottom: 1em; margin-bottom: 0; }
#partner .page-detail li em { font-weight: bold; font-style: normal; color:#a6a6a6; }
#partner .page-detail p { margin-bottom: 0; }




/* gallery */
.gallery .gallery-bigimg { display:block; width: 640px; height: 360px; overflow: hidden; background-color: #eee; border-top: 1px solid #bebebe;}
.gallery .gallery-navigation { overflow: hidden; }
.gallery .gallery-navigation { margin-left: -10px; }
.gallery .gallery-navigation li { list-style-type: none; float:left; margin-left: 10px; margin-top: 8px;}

.gallery .gallery-navigation li a, 
.gallery .gallery-navigation li a:link, 
.gallery .gallery-navigation li a:visited { display: block; width:120px; height:67px; overflow: hidden; background-color: #eee; }

.gallery .gallery-navigation li a:before { content: ""}

.gallery .gallery-navigation li a:hover, 
.gallery .gallery-navigation li a:active { 
	filter:alpha(opacity=75);
	-moz-opacity:.75;
	opacity:.75;
}

.gallery .gallery-navigation li a.current { 
	filter:alpha(opacity=40);
	-moz-opacity:.40;
	opacity:.40;
} 


/* wp-plugin pagenavi */
.wp-pagenavi {
    border-top: 1px solid #bebebe;
    padding: 3px 0 15px;
    display: block;
}
.wp-pagenavi.pages {display: none; }
.wp-pagenavi a, .wp-pagenavi .current { margin-right: 5px; }
.wp-pagenavi .current:before { content: "\2014"}

/* forms */

.hint { font-size: 0.85em; }

label { font-weight: bold; }
label small { font-weight: normal; font-size: 0.85em; }
input, textarea { font-family: inherit; }

/* Fieldsets */
fieldset    { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend      { font-weight: bold; font-size:1.2em; }

/* Text fields */
input.text, input.title   { width: 300px; margin:0; }
input.text, input.title   { border:1px solid #bebebe; background:#eee; padding:1px; }
input.text:focus,
input.title:focus         { border:1px solid #505050; background:#fff; }
input.title               { font-size:1.5em; }

/* Textareas */
textarea            { width: 400px; height: 250px; margin:0 0.5em 0.5em 0; }
textarea            { border:1px solid #bebebe; background:#eee; padding:5px; }
textarea:focus      { border:1px solid #505050; background:#fff; }


form p { position: relative; }
.ajax-loader { position: absolute; right: 150px; }
/* additional formating in plugins css */



p 		{ margin-bottom: 1em; }
.lbl 	{ font-weight: bold; }
.em 	{ display: block; }
.adr 	{ display: block; margin-bottom: 1em; }


/* footer */
.toplink { float: left; }
#copyright { float: right; padding-top: 2px; font-size: 0.85em; font-weight: bold; color: #a6a6a6; }
#copyright a { padding: 0; }
#copyright a:before { content: ""}




/* helpers */
ul.inline 	{ 
	list-style-type: none;
}
ul.inline li { display: inline; }

.hide { text-indent: -9999px; text-decoration: none; overflow:hidden; display:block; width:1px; height:1px;}

pre.debug { text-align: left; padding: 1em; background-color: #FF9; }


/* favs */
#sidebar .favcount { font-size: 0.85em; margin: 0; }
#sidebar ul.favs-sidebar { margin: 0;}
.favs-listing h3 { margin-bottom: 1.5em; }
.favs-listing h3 a.item-removefav, .favs-listing h3 a.item-removefav:link, .favs-listing h3 a.item-removefav:visited { font-size: 0.85em; color: #a6a6a6; line-height: 2; }
.favs-listing h3 a.item-removefav:hover, .favs-listing h3 a.item-removefav:active { color: #505050; }

.favs-listing .sort-handle { font-size: 0.85em; color: #a6a6a6; font-weight: bold; cursor: move; }
.favs-listing .sort-handle:before { content: "\2014"}

/*
	safari
*/
a, h2, .data { text-shadow: 0 0 0 #e5e5e5; }



/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clear { display: inline-block; }   
.clear:after, .container:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}
* html .clear { height: 1%; }
.clear { display: block; }


#lang_sel_man{
	float:right;
}

#lang_sel_man a{
	margin-right:10px;
}

#lang_sel_man a:before { 
	content: ""
}

#lang_sel_man .active{
	color:#505050;
}

#main-navigation ul.inline{
	float:left;
}

#lang_sel li{
	width: 85px;
}

#lang_sel a.lang_sel_sel{
	background: url(/wp-content/plugins/sitepress-multilingual-cms/res/img/nav-arrow-down.png) white 53px 3px no-repeat;
}