/*---------------------------------------------------------------------------
 Main CSS for Project
 version:    1.0
 date:       00/00/00
 author:     Author Name
 website:    http://www.fusion.fi
 -----------------------------------------------------------------------------
COLORS:
 
 -General:
 white:			#fff
 black:			#000
 
 -Lines:
 light gray:	#e5e5e5
 darker gray:	#7f7f7f
 
 -Text:
 light gray:	#bbb
 medium gray: 	#666
 darker gray:	#959595
 dark gray:		#333
 
 GRID:
 100 + 20 + 100 + 20 ...
 
 SIZES / VERT.:
 12px = 1em
 15px = 1.25em = line height
 30px = 2.5em = 1 grid row
 ---------------------------------------------------------------------------*/


/* Body
--------------------------------------------------------------------------- */
body {
    font-family: Helvetica, Arial, sans-serif;
	color: #333;
}


p {
	color: #333;
}

/* Links
--------------------------------------------------------------------------- */
a {
	color: #f90;
    text-decoration: none;
    border-bottom: 1px solid #f90;
}

a:visited {
	color: #f90;
}

a:hover {
	color: #222;
	border-bottom-color: #fff;
}

a:active {
	color: #f90;
}

/* Button functionality */
button, a {
	background-position: center bottom;
}

button:hover, a:hover {
	background-position: center center;
}

button:active, a:active {
	background-position: center top;
}

/* Submitbutton */
button.submit {
	border: none;
	outline: none !important;
	padding: 0;
	margin: 0; 
	height: 30px;
	width: 130px;
	text-indent: -9000px;
	background: transparent url(../img/layout/button_submit.png) no-repeat center bottom; 
}

button.submit:hover { background-position: left center; }
button.submit:active { background-position: left top; }


/* Input Elements------------------------------------------------------------*/

/* Button functionality */
button, a {
	background-position: center bottom !important;
}

button:hover, a:hover {
	background-position: center center !important;
}

button:active, a:active {
	background-position: center top !important;
}


/* Other elements
--------------------------------------------------------------------------- */
hr {
    background: #666;
    color: #666;
    clear: both;
    float: none;
    width: 100%;
    /* height: .1em; */
	height: 1px; 
    margin: 0 0 2.45em;
    border: none;
}

hr.space {
    background: #fff;
    color: #fff;
}

/* Javscript available */
body.js {
	
}

.js {
	
}

/* Javscript not available */
.no-js {
	
}

/* Only for print view */
.print-only {
	display: none;
}

/*----------------------------------------------------------------------------
 Header
 ----------------------------------------------------------------------------*/
#header {
 	padding-top:3em;
	padding-bottom: 1.5em;
	text-align: left;
	width: 100%;
	text-align: center;
	position: relative;
	background: #1b1b1b url(http://www.fusion.fi/img/layout/header_bottom_dropshadow.png) repeat-x bottom;
}

#header h1 {  }
#header h1 a { border: none; position: relative; }

#header div {
	margin: 0 auto;
	width: 905px;
}

/* Jump to content link, container used for gradient */
#jump-to-content {
	position: absolute;
	width: 1346px;
	height: 125px;
	top: 0;
	left: 0;
	z-index: 0;
	background: transparent url(http://www.fusion.fi/img/layout/header_gradient_bg.png) no-repeat center top;
}

#jump-to-content a { visibility: hidden; }

/* Main Navigation ----------------------------------------------------------*/
ul#main-nav { 
	float: right;
	list-style: none;
	margin: 13px 0 3em 0;
	position: relative;
}

ul#main-nav li ul {
	padding: 0;
	margin: 8px 0 0 0;
	list-style: none;
}

ul#main-nav li {
	padding: 0;
	width: 130px;
	margin-right: 25px;
	float: left;
}

ul#main-nav li ul li {
	width: 130px;
	margin-right: 0;
	float: none;
}

ul#main-nav li a {
	text-shadow: 0px 1px 1px black;
	color: #fff;
	border: none;
	padding-left: 5px;
}

ul#main-nav ul a {
	background: none !important;
	text-indent: inherit !important;
	width: auto !important;
	height: auto !important;
	/* display: inherit !important; */
	margin-bottom: 0 !important;
	font-size: inherit !important;
}

ul#main-nav ul a:hover {
	color: #ccc;
	
}

ul#main-nav li#main-nav-work a,
ul#main-nav li#main-nav-blog a,
ul#main-nav li#main-nav-contact a {
	display: block;
	height: 11px;
	text-indent: -9999px;
	outline: none;
	background: transparent url(http://www.fusion.fi/img/layout/main_nav_fusion_but.png) no-repeat 5px bottom !important;
}

ul#main-nav li#main-nav-blog {
	height:3em;
	line-height:3em;
	padding-top:1.4em !important;
	border-left: 1px solid #666;
}

ul#main-nav li#main-nav-blog a {
	height: 17px;
	width: 62px;
	background-image: url(http://www.fusion.fi/img/layout/main_nav_blog_but.png) !important;
}

ul#main-nav li#main-nav-contact a {
	background-image: url(http://www.fusion.fi/img/layout/main_nav_contact_but.png) !important;
}

ul#main-nav li#main-nav-work a:hover,
ul#main-nav li#main-nav-blog a:hover,
ul#main-nav li#main-nav-contact a:hover {
	color: #ccc;
	background-position: 5px bottom;	
}

ul#main-nav li#main-nav-work a:active,
ul#main-nav li#main-nav-blog a:active,
ul#main-nav li#main-nav-contact a:active {
	color: #f90;
	background-position: 5px bottom;
	outline: none;
}

ul#main-nav ul li a {
	text-indent: 0 !important;
}

ul#main-nav li#main-nav-contact ul li a,
ul#main-nav li#main-nav-work ul li a {
	background-image: none !important;
}

/* Current page indications */
ul#main-nav li.current a, ul#main-nav li.active a {
	background-position: 5px top;
	color: #f90;
}


/*----------------------------------------------------------------------------
 Content / General Styles
 ----------------------------------------------------------------------------*/
#content {
	margin: 0 auto;
	padding:3em 0;
    width: 595px;
	font-size: 125%;
}

/* Headlines */
h2 {
	color: #222;
	line-height: 1.2em;
	margin-bottom: 0;
}

h2 a,
h3 a {
	color: #222;
	border: none;
}

h2 a:hover,
h3 a:hover {
	color: #222;
	border: none;
}

h3 {
	margin-bottom:0;
	line-height: 1.5em;	
}

/* Article meta informtion, like date, amt. of comments etc. */
p.meta {
	color: #999;
}

p.meta a {
	color: #999;
	border-color: #999;
}

p.meta a:hover {
	color: #222;
	border-color: #222;
}

/* Further articles or links boxes */
p.further {
	background-color: #eee;
	padding: .5em 15px .35em 15px;
	margin-bottom: 0;
}

p.further a {
	border: none;
	font-weight: bold;
}

p.further a.rss,
ul.articles-listing li a.rss {
	padding-left: 25px;
	background: transparent url(../img/layout/rss_icon.gif) no-repeat left center !important;
}

/* Listing of articles or links */
ul.articles-listing,
ul.elsewhere-listing {
	list-style: none;
	margin: 0 0 .5em 0;
	padding: 1.5em 0 0 0;
	clear: both;
}

ul.articles-listing li,
ul.elsewhere-listing li {
	padding-bottom: 1.5em;
	padding-top: 1.5em;
	border-top: 1px solid #eee;
}

ul.articles-listing li a.title,
ul.elsewhere-listing li a.title {
	font-size: 1.2em;
	line-height: 1.2em;
	border: none;
}

ul.articles-listing li p,
ul.elsewhere-listing li p {
	padding-left: 0;	
}

ul.articles-listing li p.meta {
	margin-bottom: 0;
}

/* elsewhere specific styles */
.elsewhere {
	border: 1px solid #ddd;
	background: #eee;
	padding: 1.2em 19px;
	margin: 1em 0 1em 0;
}

.elsewhere p.further {
	margin-bottom: 1.5em;
	background-color: #fff;
}

.elsewhere ul.elsewhere-listing {
	margin-bottom: 0;
	border-top: 1px solid #ddd;
	padding-top: 0;
}

.elsewhere ul.elsewhere-listing li {
	border-color: #fff;
	border-bottom: 1px solid #ddd;
	margin-bottom: 0;
}

.elsewhere ul.elsewhere-listing li p.meta {
	margin-bottom: 0;
}

.elsewhere ul.elsewhere-listing li img.thumb {
	float:left !important;
	margin:0 1.5em 0 0;
}

.elsewhere ul.elsewhere-listing li.last {
	padding:1.5em 10px 0 5px !important;
	border-bottom: none;
}

.elsewhere ul.elsewhere-listing li.last p {
	margin-bottom: 0 !important;
}

/* small caps look for cats and external links */
.meta .category,
.external-link {
	font-variant: small-caps;
    text-transform: lowercase;
    line-height: 1%;
    font-weight: bold;
}

/* Tags */
ul.tags {
	list-style: none;
	margin-right: 0;
	margin-left: -155px !important;
}

ul.tags li {
    font-size: 0.8em;
    line-height: 1.875em;
    text-align: right;
	margin-bottom: 0.625em;
	margin-right: 5px;
	padding: 0;
	float: left;
	clear: none;
	border: none;
}

ul.tags li a,
.tag {
    display: block;
    background: #ccc url(../img/layout/tag_bg.gif) no-repeat center right !important;
    border: none;
	color: #666;
    padding: 0 18px 0 8px;
}

body.tag {
	background: none !important;
	color: #222;
	padding: 0;
}

ul.tags li a:hover {
	color: #222;
}

ul.tags.pull-one li {
	float: right;
	margin-right: 0;
	margin-left: 5px;
}

/*----------------------------------------------------------------------------
 PAGE SPECIFIC STYLES (by body ID)
 ----------------------------------------------------------------------------*/

/* HOME
 ----------------------------------------------------------------------------*/

/* Most recent article */
body#home .last-article {
	margin-bottom: 3em;	
}


/* ARTICLE
 ----------------------------------------------------------------------------*/
body#article .excerpt {
	padding-bottom: 1.5em;
	
	border-bottom: 1px solid #eee;
}

body#article #more {
	padding-top: 1.5em;
}

.post-navigation {
	background-color: #eee;
	padding: .5em 0;
	margin-top: 3em;
}

.post-navigation p {
	padding: 0 15px;
	margin: 0;
	font-size: .8em; 
	line-height: 1.875em;
}

form#comments label strong {
	display: block;
	font-weight: normal;
	width: 125px;
	float: left;
	padding-left: 5px;
	margin-right: 20px;
	padding-top: .4em;
}

p.comment-legend {
	margin-left: 150px;
}

#comments dl {
	margin-top: .5em;
	padding-left: 0;
}

#comments dl dt {
	width: 125px;
	float: left;
	padding-top: 2em;
	font-size: .8em; 
	line-height: 1.875em;
	font-weight: normal;
	color: #666;
}

#comments dl dt.admin {
	background: #f90;
}

#comments dl dt.admin,
#comments dl dt.admin a {
	color: #fff !important;
}

#comments dl dd {
	border-top: 1px solid #eee;
	padding-left: 155px;
	padding-top: 1.5em;
	margin-left: 0;
}

#comments textarea {
	width: 433px;
}

/* ARCHIVE
----------------------------------------------------------------------------*/
body#archive h3 {
	margin-bottom: 1em; 
}

body#archive .day {
	background: #222;
	color: #fff;
	font-size: .8em;
	padding: .1em 5px;
	width: 90px;
}

/* By date */
/*body#archive ul {
	border-top:1px solid #eee;
	margin-bottom: 3em;
}*/

body#archive ul ul {
	margin-bottom: 0;
}

body#archive ul ul,
body#archive ul li {
	border: none;
	list-style: none;
}

body#archive ul li {
	padding-left: 0;
}

body#archive ul li strong {
	display: block;
	padding-left: 5px;
	border-bottom: 1px solid #eee;
	margin-bottom: 1em;
}

body#archive ul li strong a.rss {
	text-indent: -9999px;
	font-size: .8em; 
	margin-left: .5ex;
	border: none;
	font-weight: normal;
}

body#archive ul li li {
	padding: 0;
}

body#archive ul.tags {
	margin:0 0 3em;
	padding:1.5em 0 0;
	border-top:1px solid #EEEEEE;
}

/* Tag */
h3 .tag {
	display: inline;
	padding-top: .2em;
	padding-bottom: .2em;
	color: #222;
}

/* 404
----------------------------------------------------------------------------*/
h2.error-404 {
	
}

h2.error-404 span {
	font-size: 10em;
	font-weight: bold;
	display: block;
}

/*----------------------------------------------------------------------------
 THE GRID
 ----------------------------------------------------------------------------*/

/* Layout -------------------------------------------------------------------*/
.one 		{ width: 130px; margin-right: 25px; float: left; }
.two		{ width: 285px; margin-right: 25px; float: left; }
.three		{ width: 440px; margin-right: 25px; float: left; }
.four		{ width: 595px; margin-right: 25px; float: left; }
.five		{ width: 750px; margin-right: 25px; float: left; }
.six		{ width: 905px; }

/*
.seven			{ width: 820px; margin-right: 20px; float: left; }
.eight			{ width: 940px; margin-right: 20px; float: left; }
.nine			{ width: 1060px; }
*/
.level-one 		{ margin-left: 0; }
.level-two 		{ margin-left: 130px; }
.level-three 	{ margin-left: 285px; }
.level-four 	{ margin-left: 440px; }
.level-five 	{ margin-left: 595px; }
.level-six 		{ margin-left: 750px; }
/*
.level-seven 	{ margin-left: 720px; }
.level-eight 	{ margin-left: 840px; }
.level-nine 	{ margin-left: 960px; }
*/
.pull-one 		{ margin-left: -130px; }
.pull-two 		{ margin-left: -285px; }
.pull-three 	{ margin-left: -440px; }
.pull-four 		{ margin-left: -595px; }
.pull-five 		{ margin-left: -750px; }
.pull-six 		{ margin-left: -905px; }
/*
.pull-seven 	{ margin-left: -840px; }
.pull-eight 	{ margin-left: -960px; }
*/
.left			{ float: left !important; }
.right			{ float: right !important; }
.center			{ margin: 0 auto; }

.last 			{ margin: 0 !important; padding: 0 !important; }


/*----------------------------------------------------------------------------
 Footer
 ----------------------------------------------------------------------------*/ 
#footer {
 	clear:both;
	border-top: 1px solid #e8e8e8;
	padding: .5em 5px 0 5px;
	margin-bottom: 3em;
}

#footer ul#footer-nav {
	list-style: none;
	float: left;
} 

#footer ul#footer-nav li {
	float: left;
	padding: 0 15px 0 0;
	margin-right: 12px;
	background: transparent url(http://fusion.fi/img/layout/footer_nav_bullet.gif) no-repeat center right;
}

#footer ul#footer-nav li.last {
	background: none;
}

#footer ul#footer-nav li a {
	color: #666;
	border: none;
}

#footer ul#footer-nav li a:hover {
	border-bottom: 1px solid #ccc;
	color: #ccc;
}

#footer p {
	float: right;
	padding: 0;
	color: #666;
}


/*----------------------------------------------------------------------------
 ClearFix
 ----------------------------------------------------------------------------*/
.clear:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clear {
    display: inline-block;
}
/* Hides from IE-mac \*/
* html .clear {
    height: 1%;
} .clear {
    display: block;
}
/* End hide from IE-mac */