/*
THEME NAME: Thematic
THEME URI: http://themeshaper.com/thematic-for-wordpress/
DESCRIPTION: A highly extensible, search-engine optimized WordPress Theme Framework featuring 13 widget-ready areas, grid-based layout samples, styling for popular plugins and more.
VERSION: 0.6.5
AUTHOR: Ian Stewart
AUTHOR URI: http://themeshaper.com/
TAGS:three columns,two columns,fixed width,simple,seo,microformats,widgets,framework,options page,hooks,filters,valid XHTML,valid CSS
.
This work, like WordPress, is released under GNU General Public License, version 2 (GPL).
http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
.
*/

/* Reset browser defaults */
@import url('library/styles/reset.css');

/* Apply basic typography styles */
@import url('library/styles/typography.css');

/* Apply a basic layout */
@import url('library/layouts/2c-l-fixed.css');

/* Prepare theme for plugins */
@import url('library/styles/plugins.css');

@import url('library/styles/easycontact.css');

/* Un-comment the line below to set a grid with 18px line-height */
/*body { background:url(images/960_grid_12_col.gif) repeat-y top center; }*/


/* =Global Elements
-------------------------------------------------------------- */
* { margin: 0;}

html, body { height: 100%;}

body {
	font-family:Verdana, Arial, sans-serif;
}

#entirepage {	
	min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -135px;
	background-repeat: repeat-y;
	background-position: left top;
	background-color: #a10012;
	background-image: url(images/main_bg_long_v4.gif);
}

#wrapper {}

a:link, a:visited {
    color:#a20403;
    text-decoration:none;
}
a:hover {
    text-decoration:underline;
}
blockquote {
    font-style:normal;
}
blockquote em, blockquote cite, blockquote i {
    font-style:normal;
}
input, textarea {
    font-family:Georgia, serif;
}
.caps {
    font-size:0.625em;
    text-transform:uppercase;
    letter-spacing:1px;
}
.important {
    font-weight:bold;
}
.current_page_item, .current-cat {}

.breadcrumb {margin-left: 0px; padding: 0 0 5px 5px; text-transform:uppercase; font-size: .7em;}
.breadcrumb a {color:#000099; padding: 0 0 5px 5px; background-image:url(images/breadcrumb_bg.gif); background-repeat:no-repeat; background-position:left bottom; line-height:1em;}

span.current {display:none;}

div.textwidget, span.rss {
	text-align: center;
	margin-bottom: 15px;
}

#custom-sidebar {padding-bottom: 20px; width:596px; clear:both;}

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

#header {
	background-image: url(images/header_v4.jpg);
	background-repeat: no-repeat;
	background-position: left top;
    height:206px;
}

#branding, #blog-title, #blog-title a, #blog-description { display:none; visibility:hidden;}

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

#access {
	position:absolute;

	padding-top:140px;
	margin-left:5px;
	padding-bottom: 5px;
}
.skip-link {
    display:none;
}
#mini {float:left; display:inline;}

div#menuwrap {
	float:left;
	display:inline;
    padding:10px 0 12px 65px;
	clear:right;
}
div#menu {

		float:left;
    overflow:hidden;  /*clears the inner float  */
	text-transform:uppercase;
	font-size:1em;
	letter-spacing: -1px;
	white-space:nowrap;
}
#menu .aside ul {
    margin:0;
	padding:0;
    list-style:none;
}
#menu .aside ul ul {
    display:none;
	list-style:none;
}
#menu .aside li, li .page_item, li .current_page_item {
	display:inline;    	
}

#menu a {
    display:block;
    float:left;
    margin:0 10px 5px 0;
    padding:1px 6px 5px 0;
	color:#2772B3;

    border-right:1px solid #a20403;
    text-decoration:none;
}
#menu a:hover {
    color:#b11f1f;
	border-color:#3B86C7;
	background-image:url(images/menulink_underline.gif);
	background-repeat: no-repeat;
	background-position: center bottom;	
}
#menu .current_page_item a, #menu .current-cat a {
	background-image:url();
    color:#b11f1f;
    border-color:#3B86C7;
}
#menu a:focus {
	background-image:url();
    color:#002e7b;
    border-color:#2772B3;
}

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

#main {
    padding:24px 0;
}
#content { margin-left: 40px;}
  
.hentry {
    margin:9px 0 0 0;
    padding:44px 1px 36px 1px;
    border-top:1px solid #e0e0e0;
}
.p1 {
    margin:0;
    padding:0 0 36px 0;
    border:none;
}
.page-title {
	font-family:"Times New Roman", Times, serif;
    font-size:2.8em;
	line-height:1em;
	letter-spacing: -2px;
	font-weight: bold;
    padding:8px 0 15px 3px;
	color: #a1000d;
	background-image:url(images/pagetitle_bg.gif);
	background-repeat:no-repeat;
	background-position:left bottom;
}
.page-title span {
    font-size:1em;
    font-weight:normal;
    font-style:italic;
}
.entry-title {
	font-family:"Times New Roman", Times, serif;
    font-size:2.8em;
    line-height:1em;
	letter-spacing: -2px;
	font-weight: bold;
    padding:8px 0 15px 3px;
	color: #a1000d;
	background-image:url(images/entrytitle_bg.gif);
	background-repeat:no-repeat;
	background-position:left bottom;
}
.entry-title a {
	text-decoration:none;
	color: #a1000d;
}
.entry-meta {
    font-size:.7em;
    color:#787878;
}
.entry-meta a {
    color:#787878;
    font-style:italic;
}
.entry-meta a:hover {
}
.published {display:none;}
.entry-meta .author, .entry-meta .meta-sep { display:none; }

.entry-meta abbr {
}
.entry-content {
    margin:18px 0 27px 0;
	padding:0 0 18px 0;
    overflow:hidden;
	background-image:url(images/entrytitle_bg.gif);
	background-position:left bottom;
	background-repeat:no-repeat;
}
.entry-content a {background-color:#FFFFFF;}

.entry-content p, .entry-content ul, .entry-content ol {font-family:Geneva, Arial, Helvetica, sans-serif; letter-spacing: 1px; padding: 0 2em 0 0;}

.entry-content h1, .entry-content h2, .entry-content h3 {color: #ff0000;}

.entry-content h1, .entry-content h2 {
    font-size:1.2em;
    font-weight:bold;
    margin:0 0 1.2em 0;
    padding:1.2em 0 0 0;
}
.entry-content h3 {
	font-size:1em;
    font-weight:bold;
    text-transform:uppercase;
    letter-spacing:1px;
    margin:0 0 1.2em 0;
    padding:1.2em 0 0 0;
}
.entry-content h4 {
	font-weight:bold;
	font-size:1em;
	letter-spacing:1px;
 	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #ff0000;
	border-bottom-color: #ff0000;
    margin:0 0 .8em 0;
}
.entry-content h5 {
    font-size:1em;
    text-transform:uppercase;
    letter-spacing:1px;
}
.entry-content h6 {
    font-size:1em;
    text-transform:uppercase;
    letter-spacing:1px;
}
.entry-content ul {
    list-style:square url(images/red_bullet.gif) outside;
    margin:0 0 18px 1.5em;
}
.entry-content ul ul {
    list-style:square url(images/blue_bullet.gif) outside;
    margin:0 0 18px 1.5em;
}
.entry-content ul ul ul {
    list-style:circle outside;
    margin:0 0 18px 1.5em;
}

.entry-content ul.sub-cats {
    list-style:square url(images/nav-red.gif) outside;
    margin:0 0 18px 1.5em;
}

li.column2 {list-style:none;}

.entry-content dl {
    margin:0 1.5em;
}
.entry-content dt {
    font-weight:bold;
}
.entry-content dd {
    margin:0 0 18px 0;
}
.entry-content abbr, .entry-content acronym, .entry-content .help {
  border-bottom: 1px dotted #333;
  cursor: help;
}
.content-column, .entry-content .linkcat {
	list-style:none;
	float:left;
}
.more-link {
    font-weight:bold;
    font-style:italic;
    display:block;
}
.page-link {
    margin:0 0 18px 0;
}
.page .edit-link {
    float:left;
    clear:both;
}

.entry-utility {display:none;}

.entry-utility {
    font-size:11px;
    color:#787878;
}
.entry-utility a {
    font-style:italic;
    color:#787878;
}
.entry-utility a:hover {
}
.comments-link a {
    font-weight:bold;
    color:#2772B3;
}

/* =Tags
-------------------------------------------------------------- */
div#tag-archive { 
	margin:2px 0 0 0;
    padding:4px 1px 3px 1px;
    border-top:1px solid #eeeeee;
}

div#tag-archive h2.entry-title {font-size:1em;}

div#post-relation {
	background-image:url(images/ruutupaperi.gif);
	background-position:top right;
	background-repeat:repeat;
	border-top: 1px dotted #CCCCCC;
	border-left: 1px dotted #CCCCCC;
	border-bottom: 2px solid #aaaaaa;
	border-right: 2px solid #aaaaaa;
	margin-top: 36px;
	padding: 18px;
}

div#post-relation ul {list-style-type:none;}
div#post-relation ul a {
	background-image:url(images/nav-red.gif);
	background-position:top left;
	background-repeat:no-repeat;
	padding-left:25px;
}
div#post-relation ul a:hover {
	background-image:url(images/nav-arrow.gif);
	background-color:#FFFFFF;
	background-repeat: no-repeat;
	background-position: top left;
}

.related-cat {color: #000099; text-transform:uppercase; font-size: 1em; border-bottom: 1px solid #000099;}
.related-cat a {color: #000099;}

#tag-link, .post-tags a {
	color:#444444;
	text-transform:uppercase;
	font-size: .9em;
	background-color:#FFFFFF;
	background-image:url(images/tag_blue.png);
	background-position:top left;
	background-repeat:no-repeat;
	padding:0 0 0 20px;
}

.post-tags {}


/* =Comments
-------------------------------------------------------------- */
#comments {display:none;}

/* =Author Info
-------------------------------------------------------------- */

#author-info {margin:18px 0 36px 0;}
#author-info p:first-line {font-weight:bold;}
#author-info .avatar {
    float:left;
    width:72px;
    height:72px;
    margin:0 10px 0 0;
    padding:5px;
    background:#B5D1EA;
    position:relative;
    top:4px;
}

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

.navigation {
    margin:0px 0 36px 0;
    overflow:hidden;
}
.nav-previous {
	float: left;
	width:50%;
}
.nav-next {
	float: right;
	width:50%;
	text-align:right;
}
#nav-above,#nav-below {
	width: 100%;
}
#nav-above {
    margin:18px 0 36px 0;
}
.home #nav-above, .single #nav-above {
    display:none;
}
.paged #nav-above {
    display:block;
}

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

/*  Remember the baseline   */

.entry-content img { margin: 0 0 18px 0; max-width:100%; }

.alignleft,
img.alignleft,
img.align-left {
	float: left;
	margin-right:20px;
}
.alignright,
img.alignright,
img.align-right {
	display: block;
	float: right;
	margin-left:20px;
}
.aligncenter,
img.aligncenter,
img.centered {
	margin: 0 auto 18px auto;
	display: block;
	float: none;
	clear: both;
}
.wp-smiley, .ve-logo { /* Prevent the smileys from breaking line-height */
	max-height:12px;
	margin:0 !important;
}

/* =Asides (widgetized areas)
-------------------------------------------------------------- */

div#secondary ul.xoxo ul, div#primary ul.xoxo ul {list-style-type:none; margin-left: -10px;}

div#primary .xoxo a {
	background-image:url(images/nav-red.gif);
	background-position:top left;
	background-repeat:no-repeat;
	padding-left:25px;	
}
div#primary .xoxo a:hover {
	background-image:url(images/nav-arrow-red.gif);
	background-color:#FFFFFF;
	background-repeat: no-repeat;
	background-position: top left;
}


div#secondary .xoxo a {
	font-size:.95em;
	letter-spacing: -1px;
	text-transform:uppercase;
	color:#2772B3;
	background-image:url(images/nav-blue.gif);
	background-position:top left;
	background-repeat:no-repeat;
	padding-left:25px;
}

div#secondary .xoxo a:hover {
	background-image:url(images/nav-arrow.gif);
	background-color:#FFFFFF;
	background-repeat: no-repeat;
	background-position: top left;
}

h3.widgettitle {
    border-top: 1px dotted #a20403;
    border-top: 1px dotted #a20403;

    padding: 0 0 20px 0;
}

.aside ul {
    margin:0;
    list-style:none;
}
.aside ul ul {
    list-style:square;
}
.aside h3 {
    font-size:0.875em;
    font-weight:bold;
}
/* Begin Calendar styles */
.aside table {
    border-top:1px solid #e0e0e0;
    margin:0 0 8px 0;
}
.aside th {
    border-left:1px solid #e0e0e0;
}
.aside tr {
    border-bottom:1px solid #e0e0e0;
    border-right:1px solid #e0e0e0;
    line-height:35px;
}
.aside td {
    border-left:1px solid #e0e0e0;
    padding:0 10px
}
.aside caption { /* Make the caption match h3 styles */
    font-size:0.875em;
    font-weight:bold;
    text-align:left;
    margin:0 0 9px 0;
}
.aside tfoot tr {
    border:none;
    line-height:36px;
}
.aside tfoot td {
    border:none;
    padding:0;
}
.aside #next {
    text-align:right;
}
/* End Calendar styles */
/* Begin Search styles */

li#customizable-search {width: 220px; margin-right: 30px;}
li#customizable-search h3.widgettitle {display:none;}
form#searchform table, form#searchform tbody, form#searchform tr, form#searchform td, form#searchform img, #seachbutton, #noresults-searchsubmit {
/*	background-color: #FFFFFF; */
	margin: 0;
	padding: 0;
	border: none;
	height: 24px;
	vertical-align: bottom;
	line-height: 18px;
}

form#searchform input#s, #searchtextbox, #noresults-s, #error404-s {
	background-color: #FFFFFF;
	border-left:3px solid #b11f1f; border-bottom:2px solid #b11f1f; border-top:2px solid #b11f1f; 
	height: 20px;
	font-size: 16px;
	width: 180px;
	margin: 0;
	padding: 0;
}

form#searchform input#seachbutton, #error404-serchsubmit{
	_padding:9px 0 0 0; /* IE crap */
}

.aside form {
    margin:4px 0 10px 0;
}
/* End Search styles */

/* Begin RSS widget styles */
/* I think I'm going to have to reset some stuff in functions.php for the RSS widget. It stinks for styling. */
/* End RSS widget styles */
#content .widgetcontainer {
    border-top:1px solid #e0e0e0;
    padding:35px 1px 18px 1px;
    margin:18px 0 36px 0;
}
#index-top .widgetcontainer,
#single-top .widgetcontainer,
#page-top .widgetcontainer {
    border-top:none;
    border-bottom:1px solid #e0e0e0;
    padding:0 1px 53px 1px;
    margin:0 0 36px 0;
}
#content .aside:first-child .widgetcontainer:first-child {
    padding-top:18px;
}
.page #content .aside:first-child .widgetcontainer:first-child {
    padding-top:0;
}
#content .aside h3 {
    font-size:24px;
    line-height:26px;
    padding:8px 0 20px 0;
    font-weight:bold;
}
#single-bottom .widgetcontainer {
    border-top:none;
}
.main-aside {}

.main-aside h3 { padding:17px 0 1px 0;}

.main-aside ul ul { margin:0 0 18px 13px;}

.main-aside ul ul ul { margin:0;}

.sub-aside h3 {}

ul.bullets li.cat-item {display:list-item; list-style:square;}

#navt li .cat-item {list-style:square;}

#tertiary ul.xoxo{}

#location_navi .widgetcontainer {
	padding: 0 0 0 20px;

}

#footer .widgetcontainer { padding:0 1px; margin:0 0 18px 0;}
#footer .widgetcontainer ul { margin:0 0 0 13px;}
#footer .widgetcontainer ul ul {}

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

#footer, #push {height:175px; clear:both;}
#footer {
	background-repeat: no-repeat;
	background-position: left top;
	background-image: url(images/footer_silhuetti_v4.gif);
        background-color: #a10012;
    color:#000;
    padding:10px 0 0 0;

}
#footer a {
    color:#fff;
}

div#footer div#first{width: 100%;}
div#footer div#first ul, div#footer div#first ul li {display:inline;}
div#footer div#first li, div#footer div#second li, div#footer div#third li {display:inline;}
div#footer a {border-right: 1px solid #fff; padding-right: 3px;}
div#footer div.textwidget {width: 300px; display:inline;}

#subsidiary {padding:108px 0 0 0;}
#subsidiary .aside {
    padding-bottom:2px;
}
#siteinfo {
    padding:2px 0 0 0;
}

#generator-link {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: .85em;
    letter-spacing: .15em;
}

/* =PageNavi
-------------------------------------------------------------- */

/* Use !important to override PageNavi CSS 

.wp-pagenavi {
    margin:0 0 0 0;
    line-height:36px;
}
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:active {
    color:#2772B3 !important;
    background:#transparent !important;
    border:1px solid #e0e0e0 !important;
}
.wp-pagenavi a:hover {
    color:#000 !important;	
}
.wp-pagenavi span.pages {
    margin-left:0 !important;
    padding-left:0 !important;
}
.wp-pagenavi span.current {
    border:1px solid #e0e0e0 !important;
}
.wp-pagenavi span.extend {
    margin:0 !important;
}
*/
/* Link Indication plugin --------------------------------------------- 

a.liinternal { padding-right: 26px; background: #FFFFFF url(images/linkindicator_ve_internal.gif) no-repeat right; white-space:nowrap; max-height:12px; margin:0 !important;}
*/
a.liexternal { padding-right: 14px; background: #FFFFFF url(images/link-icon_external_01.gif) no-repeat right; white-space:nowrap; max-height:12px; margin:0 !important;}
a.liwikipedia { padding-right: 14px; background: url(images/link-icon_wikipedia.gif) no-repeat right; max-height:12px; margin:0 !important;}
a.liimdb { padding-right: 18px; background: url(images/link-icon_imdb.png) no-repeat right; max-height:12px; margin:0 !important;}
a.liftp { padding-right: 13px; background: url(images/link-icon_ftp_01.png) no-repeat right; max-height:12px; margin:0 !important;}
a.limailto { padding-right: 18px; background: url(images/link-icon_mail.png) no-repeat right; max-height:12px; margin:0 !important;}
a.lipdf { padding-right: 13px; background: url(images/link-icon_pdf_01.png) no-repeat right; max-height:12px; margin:0 !important;}
a.lidoc { padding-right: 13px; background: url(images/link-icon_word_12x12.png) no-repeat right; max-height:12px; margin:0 !important;}
a.lixls { padding-right: 14px; background: url(images/link-icon_excel_12x12.png) no-repeat right; max-height:12px; margin:0 !important;}
a.lizip { padding-right: 14px; background: url(images/link-icon_zip_01.png) no-repeat right; max-height:12px; margin:0 !important;}
a.liswf { padding-right: 23px; background: url(images/swf-icon.gif) no-repeat right; max-height:12px; margin:0 !important;}
/* Link Indication plugin --------------------------------------------- */


.xoxo li #qtranslate-language-chooser {display:inline; margin: 0 0 0 0;}
.qtranslate_language_chooser li {display:inline; margin: 0 0 0 0;}
#qtrans_language_chooser .qtranslate_language_chooser {display:inline; margin: 0 0 0 0;}
#qtrans_language_chooser {display:inline; font-size:1.1em;}
#qtrans_language_chooser a {border-right:1px solid; padding-right:2px;}
ul #qtrans_language_chooser li {display:inline; padding-left: 6px; list-style-type:circle;}

div#qtrans {display:inline; float:right;}
#qtrans_language_chooser {list-style-type:none; display:inline; margin: 0 0 0 0;}
#qtrans_language_chooser li {list-style-type:none; display:inline; margin: 0 0 0 0; padding-left: 3px; background-color: #dddddd; text-transform:uppercase; font-size:12px;}
.active, .active a {display:none;}


/* --------------------------------------------- */
div#chgfont {display:inline; float:right; margin: 0 0 0 0; border-right:1px solid;}
img#chgfontsizeimgdec, img#chgfontsizeimginc {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	vertical-align: middle;
	border-bottom:1px dotted;
}
img#chgfontsizeimgdec {text-align:right;} img#chgfontsizeimginc {text-align:left;}
/* --------------------------------------------- */
div#print {display:inline; float:right; margin: 0 0 0 3px; padding: 3px 0 0 5px; vertical-align: middle;}

div#content span.rss {
	background-image:url(images/small_rss.gif);
	background-repeat:no-repeat;
	background-position: left top;
	padding: 0 0 0 25px;	
}
div#rss, div#creativecommons {
	width: 99%;
	text-align: center;
	border-top: 1px dotted #b11f1f;
	padding-top: 2px;
}
span#creativecommons a, span#generator-link a {border:none;}
div#secondary .xoxo a.rss{
	background:none;
	background-repeat:no-repeat;
	background-position: center bottom;
	padding: 15px 15px 3px 0;	
}
div#secondary .xoxo a.rss:hover {
	background-image:url(images/menulink_underline.gif);
}

.ddsg_credits {display:none; text-align: right; font-size:40%;}