/* 
	Theme Name: FDF Mod for WordPress
	Theme URL: http://www.fdfmod.org/
	Description: Based on Tiny by GeckoandFly
	Author:  Smartti
	Author URI: http://www.fdfmod.org/
	Version: 1.1
		
	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php
	
*/


* {
	margin: 0;
	padding: 0;
	}

html, body {
	background: black;
	color: white;
	}
body {
	text-align: center; /* IE quirks auto margins workaround */
	font: 70%/160% Verdana, Arial, Helvetica, sans-serif;
/*	padding: 10px; */
	}
html>body { font-size: 11px; } /* for modern browsers that can resize px */

#wrap {
	width: 600px;
	margin: 1px auto; /* auto centers the div */
	text-align: left; /* after centering #wrap above for IE we return to normal alignment */
	background: black;
	}

#header {
	height: 210px;
	margin: 0px;
	overflow: hidden;
	background: transparent url('/logo.png') no-repeat;
	}

/* ugly fb-like */

#fb-like {
        position: relative;
        top: 26px;
        left: 525px;
	width: 100px;
}

#menu {
	background: #1a1a1a;
	text-align: right;
	margin: 0px;
	padding: 5px;
	border-bottom: 1px solid #007BC2;
	}

#content {
	text-align: left;
	}

#footer {
        width: 600px;
	background: black;
	padding: 0px 0px 20px 0px;
	color: #888;
	text-align: center;
	}

/*	Header image and link	 */

#header h1 {
	font-size: 3.5em;
	line-height: 1em;
	margin: 0;
	}

#header h1 a {
	text-indent: -9999px;
	display: block;
	width: 600px;
	height: 200px;
	}

h1 a:link, h1 a:visited, h1 a:hover, h1 a:active {
	text-decoration: none;
	}

#smlink {
	float: left;
	text-align: left;
	font-weight: bold;
	margin: 0;
	}

#searchform, #searchform p {
	margin: 0;
	}
#searchform input {
	width: 110px;
	font: 1em Verdana, Arial, Helvetica, sans-serif;
	font-style: italic;
	background: #fff;
	color: #999;
	margin: 0;
	padding: 2px;
	border: 1px solid #888;
	}
#searchform input:focus {
	border-color: #36d;
	font-style: normal;
	color: black;
	}

/*	Giving block elements a default margin.	 */

h2, h3, h4, h5, h6, p, ul, ol, dl, pre, fieldset, address, table {
	margin: 1em 0;
	}

/* 	General styling		*/

h2 {
	font: normal 2em/120% Verdana, Arial, Helvetica, sans-serif;
        margin-bottom: 10px;
        margin-top: 10px;
	margin-right: 250px;
	}

h3 {
	font: normal 1.5em/120% Verdana, Arial, Helvetica, sans-serif;
	margin-bottom: .3em;
	border-bottom: 1px solid #007BC2;
	}

h4 {
	font-size: 1.1em;
	}

h5 {
	font-size: 1em;
	}

address {
	font-style: italic;
	}

blockquote {
        color: #ccc;
	margin: 5px; 0;
	padding: 0 10px 0 10px;
	}

dt {
	margin: 1em 0 .5em 0;
	font-weight: bold;
	}

code, pre, var {
	font-family: 'bitstream vera sans mono', 'andale mono', monospace;
	font-size: 1em;
	}

dd {
	margin: .5em 0 1em 1.5em;
	}

img {
	border: none;
	}
#content img { 
        }

#content p {
	text-align: justify;
	clear: right;
	}

#content form p {
	text-align: left;
	}

ol {
	margin-left: 3em;
	}

textarea {
	width: 320px;
        background-color: #ccc;
        border: 1px solid #454;
        font: 1em Verdana, Arial, Helvetica, sans-serif;
	}

ul {
	list-style: square;
	margin-left: 1.5em;
	}

a:link {
	color: #007BC2;
	text-decoration: none;
	}
a:visited {
        color: #007BC2;
	text-decoration: none;
	}
a:hover, a:active {
	text-decoration: none;
	color: gray;
	}
a.smlink, a.smlink:link, a.smlink:visited {
	color: #ffffff;
	text-decoration: none;
	}
a.smlink:active {
        text-decoration: none;
	color: gray;
	}
h2 a, h2 a:link, h2 a:visited, h2 a:hover, h2 a:active {
	color: #ffff;
	text-decoration: none;
	}


.commentlink {
	text-align: right;
	}

ol.commentlist {
	list-style: none;
	margin-left: 0;
	}

.commentlist li {
	color: #fff;
	font-style: normal;
	padding: 1em;
	}

.commentlist .alt {
        background: #202020;
	}

.commentlist p {
	margin: .6em 0 0 0;
	}

.hilite {
	background: #f93;
	}

#content .more {
	margin-top: -1em;
	text-align: right;
	}

.posted {
	color: #888;
	float: right;
	width: 250px; 
	text-align: right !important;
	text-align: right; 
	max-width: 250px; 
	overflow: hidden;
	}

.posted cite {
	font-weight: bold;
	font-style: normal;
	}

#postcomment {
	text-align: left;
	}

input#submitComment {
	padding: 2px 4px;
	}

input#submitComment:hover {
	cursor: pointer;
	}


/*	Navigation links		*/

#navigation {
        width:600px;
	}
.prev {
	display: block;
	float: left;
	text-align: left;
	width: 48%;
	}

.next {
	display: block;
	float: right;
	text-align: right;
	width: 48%;
	}

.moar {
	display: block;
	text-align: center;
	width: 100%;
}

.nav:after {
    content: ".";
    display: block;
    height: 0;
    overflow: hidden;
    clear: both;
    visibility: hidden;
}

* html .nav { height: 1%; }

.viiva {
    background: #007BC2;
    width: 600px;
    border-top: 1px solid #007BC2;
    height: 0px;
/*    margin-bottom: 10px; */
}

.pampula {
    clear: both;
}

.error404 {
    font: bold 2em Verdana, Arial, Helvetica, sans-serif;
}

.releasenotes {
    background: #007BC2;
    border: 3px solid #0060A0;
    padding: 3px;
    font: bold 1.3em Verdana, Arial, Helvetica, sans-serif;
        -moz-border-radius: 9px;
        border-radius: 9px;
}

.releasenotes a:hover {
    color: #003050;
}

#content p { 
    padding-bottom: 4px;
}

h2 a {
    color: white !important;
}

li .posted {
    float: left;
    width: 590px;
    max-width: 590px;
    text-align: left !important;
    margin-bottom: 5px;
}

.posted cite {
    font: 1.2em Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
}



/* smartin roplaus - linkkiborderit veks? */

a:active, a:focus {
    outline:none;
}

#sidebar  {
    position: relative;
    top: 0;
/*    float: left;
    margin: 0;
    padding: 0;
    width: 200px; */
    list-style-type: none;
}

#sisalto {
/*    margin-left: 200px; */
    min-height: 400px;
}
.widgettitle {
    font: 1.2em Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
}

h2.widgettitle {
    margin: 0;
    margin-bottom: 5px;
}


li.page_item {
    list-style-type: none;
}

/* featuren linkkilootawidgetin tyylit */

#featCol1 {
    float: left;
    width: 35%;
}

#featCol2 {
    float: left;
    clear: right;
    width: 33%;
}

#featCol3 {
    float: right;
    width: 32%;
}

ul#sidebar {
    margin-left: 0;
}

li#text-3.widget {
    margin-bottom: 70px;
}

.featLink {
    font: 1.2em Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
    color:  #007BC2;
}

img.centered {
        display: block;
        margin-left: auto;
        margin-right: auto;
        }

img.alignright {
        padding: 4px;
        margin: 0 0 2px 7px;
        display: inline;
        }

img.alignleft {
        padding: 4px;
        margin: 0 7px 2px 0;
        display: inline;
        }

.alignright {
        float: right;
        }

.alignleft {
        float: left;
        }


