/*  
Theme Name: NowOffice
Theme URI: http://anioni.com
Description: Theme for Now Office website (based on Hemingway theme originally by Kyle Neath).
Version: 0.5
Author: Pauli Ojala
Author URI: http://anioni.com
*/



/*-----------------------------------------------------------------------------------------------
  Global Styles
-----------------------------------------------------------------------------------------------*/

* {
	padding:0;
	margin:0;
}
h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl, fieldset, address { margin:1em 0; }
li, dd { margin-left:5%; }
fieldset { padding: .5em; }
select option{ padding:0 5px; }

.hide, .print-logo, .close-button{ display:none; }
.left{ float:left; }
.right{ float:right; }
.clear{ clear:both; height:1px; font-size:1px; line-height:1px; }
a img{ border:none; }

/*-----------------------------------------------------------------------------------------------
  Layout / Base Page Styling
-----------------------------------------------------------------------------------------------*/

html {
	overflow-y: scroll;
}

body {
	padding-top: 20px;;
	background:#fff;
	color:#000;
	font-size:11px;
	font-family:Helvetica, Arial, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Arial, sans-serif;
}

/* This class sets the width and position for all rows */
.inside{
	width:80%;
	min-width:65em;
	max-width:85em;
	margin:0 auto;
}

a{
	color:#000;
}

a:focus
{
-moz-outline-style: none;
}

h1{
	/*color:#b040a0;*/
	color:#000;
	font-size:1.5em;
	font-weight:normal;
	margin:1.5em 0;
}

h2, h3{
	font-size:1.15em;
	color:#000;
	font-weight:normal;
}
#primary h2{
	color:#444;
}

p{
	line-height:1.75em;
}

ul li{
	list-style-type:square;
	margin:0.5em 0 0.5em 2em;
}

blockquote{
	margin-left:1em;
	padding-left:1em;
	border-left:2px solid #444;
	color:#444;
}

pre{
	width:100%;
	padding:1em 0;
	overflow:auto;
	border-top:1px dotted #ccc;
	border-bottom:1px dotted #ccc;
}

table{
	width:100%;
	border-spacing:2px;
	margin:1.5em 0;
}
table th, table td{ padding:0.3em 0.75em }
table th{
	background:#444;
	color:#fff;
	text-align:left;
}
table td{
	background:#ccc;
	color:#000;
}
table caption{
	text-align:left;
	color:#000;
	margin-bottom:-1em;
	margin-top:1em;
}

.rule{
	border-top:1px solid #444;
	height:1px;
	font-size:1px;
	line-height:1px;
	margin:1.5em 0;
}


/*-----------------------------------------------------------------------------------------------
  Projects lightbox
-----------------------------------------------------------------------------------------------*/

.projectBox {
    padding: 12px;
    padding-top: 9px;
    padding-bottom: 2px;
    border: 1px;
    border-color: #555; /*#a8a8a8;*/
    border-style: solid;
	height: 548px;
    /*background-image: url(images/greygrad_900px_tummempi.jpg);*/
}

.projectBoxTopBordered {
    margin-top: 12px;

    padding: 12px;
    padding-top: 9px;
    padding-bottom: 2px;
    border: 1px;
    border-color: #a8a8a8;
    border-style: solid;
    /*background-image: url(images/greygrad_900px_tummempi.jpg);*/
}

table.lightbox {
	background:#fff;
}

td.lightbox {
	background:#fff;
}

a.imageListLinkSel {
	color: #000;
}

a.imageListLink {
	color: #a0a0a0;
}



/*-----------------------------------------------------------------------------------------------
  Header
-----------------------------------------------------------------------------------------------*/
#header{
	position:absolute;
	width:99%;
	background:#fff;
}
#header .inside{
	width: 99%;
	padding:44px 0 0 0;
	margin-bottom: 0em;
	text-align: right;
}

#header h2{
    font-family: Arial, sans;
    font-weight: bold;
    letter-spacing: 0px;
	
	/*font-size:3.1em;*/
	font-size:1.0em;
	
	margin:0 0.5em 0 0;
	padding:0 0.5em 0.25em 0;
	/*border-right:1px solid #808080;  --NOW mod PO 08.05.02 */ 
	float:left;
}
#header h2 a{ text-decoration:none; }

#header p{
	padding:1em 0;
	margin:0;
	line-height:1em;
}

/*-----------------------------------------------------------------------------------------------
  Primary Items
-----------------------------------------------------------------------------------------------*/

#primary{
	background:#fff;
	padding:1px 0 2em 0;
	color:#808080;
}

#primary.onecol-stories .primary{
	float:left;
	width:50%;
}
#primary.onecol-stories .secondary{
	float:right;
	width:40%;
	margin:0 0 0 10%;
}

#primary.twocol-stories .story{
	float:left;
	width:48%;
	margin:0 0 0 4%;
	display:inline;
}
* html #primary.twocol-stories .story{
	margin-left:2%;
}
#primary.twocol-stories .first, * html #primary.twocol-stories .first{
	margin:0 0 0 0;
}

.story h3{
	/*font-size:1.15em;
	font-weight:normal;*/
	/*color:#444;*/
	margin:0 0 0.2em 0;
}

.story h3 a{
	/*color:#444;*/
	text-decoration:none;
	/*border-bottom:1px dotted #666;*/
}

.story {
	margin-top: 2em;
}

.story .first {
	margin-top: 2em;
}

.story .details{
	text-align:left;
	margin:0.2em 0;
	padding:0.2em 0;
	border-top:1px solid #ccc;
	font-size:0.95em;
	color:#666;
}
.story .details .read-on{
	text-align:right;
	background:url(images/readon_black.gif) 100% 60% no-repeat;
	padding-right:20px;
	display:block;
}
.story .details a{
	color:#666;
	text-decoration:none;
}
.story .details a:hover{ color:#000; }

/* Single Post Styles */

#primary .primary{
	float:right;
	width:65%;
}
#primary .secondary{
	float:right;
	width:30%;
	margin-right:5%;
	padding-top:0.65em;
	display:inline;
}
* html #primary .secondary{ margin-right:3%; }

.secondary .featured p{
	border-bottom:1px solid #333333;
	border-top: 1px solid #333333;
	padding:0.5em 0 0.6em 0;
	line-height:1.5em;
	margin:1em 0 0 0;
}
.secondary .featured dl{
	margin:0 0;
	border-bottom:1px solid #333333;
	padding:0.5em 0 0.6em 0;
}
.secondary dt{
	display:inline;
	margin:0;
	padding:0;
	color:#555;
}
.secondary dd{
	display:inline;
	margin:0;
	padding:0;
}
.secondary dd a{ color:#808080; }
.secondary dd a:hover{ color:#000; }

.single-post h1, .single-post h2{ margin-top:0; }

/*-----------------------------------------------------------------------------------------------
	Secondary Items
-----------------------------------------------------------------------------------------------*/

#secondary{
	background:#F3F3F3;
	padding:1px 2em;
	border-top:1px solid #1C1C1C;
}

.comment-head{
	border-bottom:1px solid #1C1C1C;
	padding:0.8em 2em 1.0em 2em;
}
.comment-head h2{
	font-size:1.5em;
	margin:0;
}
.comment-head a{
	text-decoration:none;
	color:#868686;
}
.comment-head .details{
	font-size:0.95em;
}

ol#comments{
	list-style-type:none;
	margin:2em 0;
}
ol#comments li{
	list-style-type:none;
	margin:2em 0;
}

#comments cite{
	float:left;
	width:31%;
	font-style:normal;
	text-align:right;
}
* html #comments cite{ width:30.6%; }
#comments cite span{
	display:block;
}
#comments cite .author{ font-size:1.2em; }
#comments cite .author a{
	text-decoration:none;
}
#comments cite .admin-tools{
	margin:5px 0;
}
#comments cite .admin-tools a{
	float:right;
	margin:0 5px;
	padding:0px 3px 3px;
	background:#666;
	border:1px solid #999;
	text-decoration:none;
}
#primary .secondary .admin-tools{ margin:1em 0; }

#preview{
	margin:1em 0;
	padding:0.5em;
	border:1px solid #333;
}
#preview p{ margin:1em 0 0 0; }
#errors{ color:#FF0000; font-weight:bold; }

#comments .pingback cite .author{
	display:block;
	padding-top:68px;
	background:url(images/trackback_pingback.gif) 100% 0 no-repeat;
}

#comments .content{
	float:left;
	width:60%;
	margin-left:1.9%;
	border-left:1px solid #868686;
	padding: 0 0 0 2%;
}
#comments .content p{
	margin:0 0 1em 0;
}
#comments .content h3{
	margin:0;
	font-size:1em;
}

#comment-form{
	margin:5em 0 5em 35.4%;
	width:36em;
}
input.textfield{
	width: 15em;
	margin:5px 0;
}
textarea.commentbox{
	width:28em;
	height:10em;
	padding:0.25em;
	margin:5px 0;
	font-size:1.25em;
	font-family:Arial, Helvetica, sans-serif;
}
label.text{
	position:relative;
	left:0.5em;
	top:-0.5em;
}
.formactions input.submit{ 
	float:right; 
	margin:-1em 0 0 0;
	padding:0 0.5em;
}
.formactions .spinner{
	float:right;
	margin:-8px -20px 0 0;
}

/* ---NOW Office three column mode--- */

#nowc{
	padding:2em 0 0 0;
	
	/*width: 620px;*/
}

#nowc .block{
	float:left;
	width: 30%;
	margin:0 0 0 5%;
}

* html #nowc .block{
	margin-left:3.9%;
}
#nowc .twice-length{ width:65%; }
#nowc .thrice-length{ width:100%; }
#nowc .first, * html #nowc .first{
	clear:both;
	margin:0;
}
#nowc .second, * html #nowc .second{
	margin:0 0 0 1%;
}
#nowc .third, * html #nowc .third{
	margin:0 0 0 7%;
}
#nowc .block-separator{
	clear:both;
	height:2.5em;
}

/*
#nowc .block h2 {
	margin:0 0 2em 0;
}*/

/* -- uudet animoidut sarakkeet -- */

#animColContent {
	width:600px;
}

#firstCol {
	/*background: #ffd;
	width:200px;
	height:300px;
	float:left;*/
}

#secondCol {
	/*background: #dff;
	width:200px;
	height:300px;
	clear:none;
	float:left;*/
}

#thirdCol {
	/*background: #fdf;
	width:200px;
	height:300px;
	float:right;
	clear:none;*/
}

.colHeadBox {
	position:absolute;
	height:70px;
	vertical-align:bottom;
	visibility:hidden;
}

.colContent {
	margin-top:100px;
}

a.headerLink {
	color: #000;
	text-decoration: none;	
}

  /* column defaults (will be modified by script)*/
/*
#firstCol h1 {
	font-size: 34px;
	margin-top: 10px;
}*/

#firstCol .colHeadBox {
	visibility:visible;
}

#secondCol .colContent {
	visibility: hidden;
}

#thirdCol .colContent {
	visibility: hidden;
}

h3.projectTitle {
	display: inline;
	font-size: 11px;
}

.project {
	margin-top: 1em;
}

.projectShortInfo_outer {
	display: inline;
	/*position: relative;*/
	padding-left: 20px;
}

.projectShortInfo {
	display: inline;
	clear: none;
	/*
	position: absolute;
	top: -20px;
	left: 150px;
	width: 200px;
	height: 100px;*/
	visibility: hidden;
}

.projectDetails {
	display: none;
}


/*-----------------------------------------------------------------------------------------------
  Ancillary Items
-----------------------------------------------------------------------------------------------*/

#ancillary{
	padding:0em 0 0 0;
}
#ancillary .block{
	/*float:left;
	width: 30%;
	margin:0 0 0 5%;  		--nowMod PO 08.05.02*/
	clear:both;
	margin-bottom: 16px;
}
* html #ancillary .block{
	/*margin-left:3.9%;   	--nowMod PO 08.05.02*/
}
#ancillary .twice-length{ width:65%; }
#ancillary .thrice-length{ width:100%; }
#ancillary .first, * html #ancillary .first{
	clear:both;
	margin:0;
}
#ancillary .block-separator{
	clear:both;
	height:2.5em;
}

#ancillary h2, #ancillary h3 {
	margin:0 0 8px 0;
}

ul.dates, ul.counts, ul.blogroll ul, ul.pages{
	list-style-type:none;
	margin:1.5em 0 2em 0;
	border-top:1px solid #909090;
}
ul.dates li, ul.counts li, ul.blogroll ul li, ul.pages li{
	list-style-type:none;
	margin:0;
	padding:0.5em 0;
	border-bottom:1px solid #909090;
}
ul.dates .date{
	color:#858585;
	padding:0 1.5em 0 0;
}

ul.counts .count{
	float:right;
	color:#858585;
}

ul.dates a, ul.counts a, ul.blogroll a, ul.pages a{
	color:#6F6F6F;
	text-decoration:none;
}
ul.dates a:hover, ul.dates a:hover .date, ul.counts a:hover, ul.counts a:hover .count, ul.blogroll a:hover, ul.pages a:hover{ 
	color:#003;
}

ul.blogroll{ margin-top:0; }
ul.blogroll li{
	list-style-type:none;
	margin:0;
}

ul.pages ul{
	margin:0;
}
ul.pages ul li{
	border:none;
	margin-left:2em;
	list-style-type:square;
}
/*-----------------------------------------------------------------------------------------------
  Foooter
-----------------------------------------------------------------------------------------------*/

#footer{
	clear:both;
	color:#939393;
	margin:2em 0 3em 0;
}
#footer .inside{
	background:url(images/footer_black.gif) 50% 0 repeat-x;
	padding:1em 0;
}
#footer p{
	margin:0;
	font-size:0.95em;
}
#footer p.copyright{ float:left; }
#footer p.attributes{ float:right; }
#footer p.attributes a{
	padding:0 0 0 1em;
	text-decoration:none;
	color:#525252;
}
#footer p.attributes a:hover{
	color:#000;
}

/*-----------------------------------------------------------------------------------------------
  Search
-----------------------------------------------------------------------------------------------*/

#search{
	float:right;
	width:150px;
	margin:2px 0 0 0;
	-moz-opacity:0.4;
	opacity:0.4;
	filter: alpha(opacity=40);	
	text-align:right;
}
#search:hover{
	-moz-opacity:1.0;
	opacity:1.0;
	filter: alpha(opacity=100);	
}
#search .searchimg{
	float:left;
	width:14px;
	height:13px;
	background:url(images/search.gif) 0 0 no-repeat;
	position:relative;
	top:4px;
}
#search input{ 
	width:125px; 
	font-size: 0.85em; 
	background:#ddd;
	margin-top:2px;
}
#search input:focus{
	background:#FFF;
}

#searchform{
	margin:1em 0;
}

#searchform #s{
	background:#222;
	border:none;
	border-bottom:1px solid #333;
	width:30em;
	color:#666666;
	padding:0.25em;
}

#searchform #searchsubmit{
	background:#000;
	color:#666;
	border:none;
	font-size:0.9em;
	text-transform:uppercase;
	letter-spacing:0.25em;
}

/* Legacy Typo CSS */

#search-results{
	width:30%;
	background:#333;
	padding:0 0 0 0;
	float:right;
	-moz-opacity:0.9;
	border-top:1em solid #000;
}
#search-results h3{
	font-weight:bold;
	text-align:left;
	margin:0;
	padding:0 0 1em 0;
	background:#000;
	
}
#search-results small{
	display:block;
	text-align:left;
	font-size:0.9em;
	padding:0.5em 1em 0.7em 1em;
	border-top:1px solid #666;
	border-bottom:1px solid #555;
}
#search-results small a{
	color:#CCC;
}
#search-results ul li{
	list-style-type:none;
	padding:0 1em 0.5em 1em;
	margin:0.5em 0;
}
#search-results ul li:hover{
	background:#202020;
}
#search-result ul{ margin:0; }
#search-results ul li a{
	text-decoration:none;
	border-bottom:1px dotted #CCC;
}

#search img.archives-icon{
	margin:0 7px 0 0;
	top:1px;
}