/*  
Theme Name: GeoLocalSEO
Theme URI: http://geolocalseo.com/blog
Description: A Local Theme
Version: 1.0
Author: Steve Hatcher
Author URI: http://www.axemedia.com/
Modified 2011-2013 by kari
*/
/* font-size:
            16px/16 = 1em
            14px/16 = 0.875em
            12px/16 = 0.75em
            10px/16 = 0.625em
             8px/16 = 0.5em
   font-family :
            Arial, Helvetica, sans-serif;
            "Times New Roman", Times, serif;
            "Courier New", Courier, monospace
*/

* {margin:0;padding:0}

body {font-family:Verdana, Helvetica, Arial, sans-serif;font-size:10pt;line-height:1.3em;color:#181818;background-color:#f2f2f2}
/*body {font-family:Times, Times New Roman, serif;}*/

/*Opera Fix*/
body:before {/* thanks to Maleika (Kohoutec)*/
             content:"";
             height:100%;
             float:left;
             width:0;
             margin-top:-32767px;/* thank you Erik J - negate effect of float*/
}

#head, #menu, #foot {width:960px;margin:0 auto;padding:0 10px 0 10px}

/* ---  PRINT HEADER 1/2 --- */
#headprint {width:600px;margin:0 auto;padding:0 0 0 0}

/*.orange {color:#FE9900}
.grey {color:#666}
.lgrey {color:#999}
.green {color:#87c300}
.red {color:red}
.sininen {color: #0066ff}
.violetti {color: #64378C}
 tahtokeino: 
.orangee9 {color:#e94e0d}  content h1 h2, menu 
.orangeff {color:#ff7e00}
.grey18 {color:#181818}
.grey50 {color:#504f54}  menu active link 
.grey51 {color:#515151} logon teksti
.grey66 {color:#666666}
.grey80 {color:#808080}
.grey8f {color:#8f8e93} taustakuva
.greyf2 {color:#f2f2f2}*/

html, body, #wrap {height: 100%}
body > #wrap {height: auto; min-height: 100%}
/*#main {width:960px;margin:0 auto;padding:30px 10px 262px 10px }*/
#main {width:960px;margin:0 auto;padding:10px 10px 141px 10px;overflow:auto; background-color:#ffffff}  /* bottom padding must be same height as the footer */
#baseline {position: relative;margin-top: -121px;height: 120px;clear:both} /* margin-top: negative value of footer height */

/* CLEAR FIX*/
.clearfix:after {content: ".";
                 display: block;
                 height: 0;
                 clear: both;
                 visibility: hidden}
.clearfix {display: inline-block}
/* Hides from IE-mac \*/
* html .clearfix {height: 1%}
.clearfix {display: block}
/* End hide from IE-mac */

/* common a, img settings */

a {color:#ff7e00}
a:hover {color:#e94e0d;font-weight:bold}
/*a:visited {color: #181818}*/

a img {border: 0px solid #ff7e00}
a:hover img {border: 2px solid #ff7e00}

/* ---  HEADER  --- */
#headspace {height:120px;color:#fff}
#headspace h1 {color:#515151;font-size:24px;font-weight:bold}
#headspace p {color:#e94e0d;font-size:18px;font-weight:bold;margin:12px 0 6px 0}
#logo {width:210px;float:left;padding:10px 0 0 0}
#headtext {width:380px;float:left;padding:38px 0 0 0}
#headtext_kylat {float:left;padding:38px 0 0 0}
#headimage {float:left;padding:15px 0 0 0}

/* ---  PRINT HEADER 2/2 --- */
#headtextprint {width:580px;float:left;padding:38px 0 0 0}

/* ---  NAVIGATION  --- */
#navigation {height:40px;background:#e94e0d url('images/nb94.gif') repeat-x;color:#fff;text-align: left}
#menu ul {font-size:18px} /* font-size:20px */
#menu li{display:block;float:left;margin-right:0px} /* margin-right:50px */

#nav a {color:#fff;text-decoration:none;display: block}
#nav a:hover {text-decoration:underline}

#nav, #nav ul {padding: 0;margin: 0;list-style: none;line-height: 1}

#nav li { float: left}

#nav li.home a{
    height:40px;
    background:url('images/gwhome1.gif') no-repeat;
    width:100px;margin-right:0;
    padding: 40px 0 0 0;overflow: hidden;height: 0px !important;
}
#nav li.home a:hover{background:url('images/gbhome1.gif') no-repeat}

#nav li.kyynaro a.parent{
    height:50px;
    background:url('images/gwhome4.gif') no-repeat;
    width:100px;margin-right:0;
    padding: 40px 0 0 0;overflow: hidden;height: 0px !important;
}
#nav li.kyynaro a.parent:hover{background:url('images/gbhome4.gif') no-repeat}

#nav li.autoilu a.parent{
    height:50px;
    background:url('images/gwhome3.gif') no-repeat;
    width:90px;margin-right:0;
    padding: 40px 0 0 0;overflow: hidden;height: 0px !important;
}
#nav li.autoilu a.parent:hover{background:url('images/gbhome3.gif') no-repeat}

#nav li.torpparit a.parent{
    height:50px;
    background:url('images/gwhome2.gif') no-repeat;
    width:110px;margin-right:0;
    padding: 40px 0 0 0;overflow: hidden;height: 0px !important;
}
#nav li.torpparit a.parent:hover{background:url('images/gbhome2.gif') no-repeat}

#nav li.suku a.parent{
    height:40px;
    background:url('images/gwhome6.gif') no-repeat;
    width:100px;margin-right:0;
    padding: 40px 0 0 0;overflow: hidden;height: 0px !important;
}
#nav li.suku a.parent:hover{background:url('images/gbhome6.gif') no-repeat}

#nav li.tietoja a.parent{
    height:40px;
    background:url('images/gwhome5.gif') no-repeat;
    width:100px;margin-right:0;
    padding: 40px 0 0 0;overflow: hidden;height: 0px !important;
}
#nav li.tietoja a.parent:hover{background:url('images/gbhome5.gif') no-repeat}

/* #nav li.blog a{
    height:40px;
    background:url('images/gwhome5.png') no-repeat;
    width:120px;margin-right:0;
    padding: 40px 0 0 0;overflow: hidden;height: 0px !important;
}
#nav li.blog a:hover{background-position: 0 -40px}

#nav li.contact a{
    height:40px;
    background:url('images/gwhome5.png') no-repeat;
    width:120px;margin-right:0;
    padding: 40px 0 0 0;overflow: hidden;height: 0px !important;
}
#nav li.contact a:hover{background-position: 0 -40px} */

#nav li ul {position: absolute;width: 15em;left: -999em}
#nav li:hover ul {left: auto}

/* ---------- 2nd Level nav styles here -------- */

#nav li.child a {line-height:1.2em;padding-left:8px;padding-bottom:5px;width:255px;z-index: 50;font-size:13px}
#nav ul.sub {margin-top:0;width:255px;background-color:#e94e0d}
#nav li ul ul {margin: -1em 0 0 10em;background-color:#D9CCB2} /* joku harmaa */
#nav li:hover ul ul, #nav li.sfhover ul ul {left: -999em}
#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul {left: auto}

/* ---  Feature  --- */
/*
#big {height:347px;background:#000 url('images/sp.gif') repeat-x;font-size:15px;color:#fff;padding:20px 0 0 0;border-bottom:2px solid #ff7e00}
#pitch {width:620px;float:left}
#pitch p {margin:10px 0 10px 0}
#pitch p.find {font-size:18px;color:#3c8aff;font-weight:bold}
#pitch a {color:#3c8aff}
#pitch h3 {margin:20px 0 10px 0; font-size:18px;font-weight:bold;color:#FE9900}
#pitch ul {list-style:circle;list-style-position:inside;margin-bottom:20px}
#pitch li {font-weight:bold;margin:5px 0 5px 0}
#serp {width:300px;float:right}
#serp img {margin:15px 0 10px 0}
*/

/* ---  CONTENT  --- */
/* #main {padding:30px 0 20px 0;clear:both}*/
#content {width:650px;float:left;padding-bottom:40px}

/*#content .entry h1 {margin: 0 0 5px 0;font-size: 24px;line-height:1.4em;padding:10px 0 0 0;color:#ff7e00}*/
/*#content h2 {margin: 25px 0 8px 0;font-size: 20px;line-height:1.4em;color:#e94e0d}
#content h2 a {color:#181818;text-decoration:none}

#content h3 {margin:20px 0 0 0;color:#ff7e00;font-size:18px}
#content h3 a {color:#181818;text-decoration:none}
#content h3 a:hover {color:#ff7e00;text-decoration:none} */

#content h2 {margin: 25px 0 8px 0;font-size: 20px;line-height:1.4em;color:#181818}
#content h2 a {color:#ff7e00;text-decoration:none}
#content h2 a:hover {color:#e94e0d;text-decoration:none}

#content h3 {margin:20px 0 0 0;color:#181818;font-size:18px}
#content h3 a {color:#ff7e00;text-decoration:none}
#content h3 a:hover {color:#e94e0d;text-decoration:none}

#content h4 {margin:20px 0 0 0;color:#181818;font-size:14px}
/*#content h4 a {color:#181818;text-decoration:none}*/

#content p {margin:8px 0 8px 0}
#content p.postdate {margin:0 0 12px 0;font-size:0.8em;color:#666}
#content p.quote {margin:0 0 0 24px;font-size:0.9em}
#content p.quotebr {margin:8px 0 0 24px;font-size:0.9em}
#content p.quoteli {margin:0 0 8px 24px;font-size:0.9em}
#content p.quotetitle {margin:0 0 0px 24px;font-size:0.9em;font-weight:bold}
#content p.quotetitlebr {margin:8px 0 0px 24px;font-size:0.9em;font-weight:bold}
.quote {margin:0 0 0 24px;font-size:0.9em}
.quotebr {margin:8px 0 0 24px;font-size:0.9em}
.reference {font-size:0.9em}
.lihavointi {
    font-weight: bold;
}
.kursiivi {
    margin:0 0 0 24px;
    font-style: italic;
    font-size: 0.9em;
}
td.content {vertical-align: text-top}

#content ul {margin:10px 0 0 0}
#content li {margin:0 0 10px 0;list-style-position:inside;list-style-type:square}

/* kontrahdit.css */
#pdflist {
    /*float: left;
    vertical-align: middle;
    overflow: visible;
    color: black;
    text-align: left;
    padding: 5px; */
}

table.pdflist {

}

tr.pdflist {
    vertical-align: text-top;
}

td.pdflist {
    vertical-align: text-top;
}

td.pdflist20 {
    vertical-align: text-top;
    width: 20%;
}

td.pdflist40 {
    vertical-align: text-top;
    width: 40%;
}

.kuva {border:1px solid #ff7e00;width: 300px;text-align: left;}
.kuvamedium {border:1px solid #ff7e00;width: 600px;text-align: left;}
.kuvaleft {float: left;  margin: 5px 10px 10px 5px}
.kuvaright {float: right;  margin: 5px 5px 10px 20px}
/*.kuva img {border:0px solid #181818;border-bottom-width:1px} */
.kuva img {border:0px solid #181818}
.kuvadesc {border:0px solid #181818;font-size:0.9em;color:#181818; margin: 10px}

.teksti {border:0px solid #ff7e00;width: 300px;text-align: left;}
.tekstileft {float: left;  margin: 5px 10px 10px 5px}
.tekstiright {float: right;  margin: 5px 5px 10px 20px}

/* #content img {border:1px solid #ff7e00;margin:10px 0 5px 0} kari: orange 
#content img.right {float:right;margin:0 0 10px 10px}
#content img.left {float:left;margin:0 10px 0 10px}
#content img.wp-smiley {border:none;margin:0 0 0 2px}
#content p.img {margin:10px 10px 10px 10px;font-size:0.8em;color:#666} 

#content left {float:left;} 
#content right {float:right;}
#content img.no-border {border:none;padding:0 15px 0 0;margin-top:5px}  

#content pre {padding:10px 0;color:blue}*/

/* ---  SIDEBAR  --- */

#sidelines {width:265px;float:right;padding-bottom:40px}
#sidelines h3 {color:#181818;text-align:left;margin:30px 0 15px 0;font-size:18px;font-weight:bold}
/*#sidelines h3.alert {font-size:16px;color:#ff0000;text-align:center;margin:15px 0 15px 0}

#sidelines h3.feed {float:left;font-size:0.95em}
#sidelines img.feed {float:left;margin-bottom:20px}
#sidelines img.twitter {margin-top:10px}*/

#sidelines p {text-align:left;font-size:10pt;margin:5px 0 5px 0}
#sidelines li {text-align:left;list-style:none;height:1.6em}
/*#sidelines li a {color:#181818;text-decoration:none;font-size:1.2em}
#sidelines li a:hover {color:#e94e0d}*/
#sidelines li a {color:#ff7e00;text-decoration:none;font-size:1.2em}
#sidelines li a:hover {color:#e94e0d;font-weight:bold}
/*#sidelines li a:visited {color:#ff7e00}*/
/*#sidelines li a:visited {color:#808080}*/

/* ---  FOOTER  --- */

#baseline {background-color:#f2f2f2;color:#000000;border-top:1px solid #e94e0d;font-size:11px}
/*#foot {background-color:#f2f2f2}*/
#foot p {margin:0 0 10px 0}
#foot a {color:#000;text-decoration:none}
#foot a:hover {color:#e94e0d;text-decoration:none}

#foot h4 {font-size:11px;font-weight:bold;margin:0}

#foot ul {list-style:none}
#foot ul.sub li {margin-left:8px}

#foot #kyynaro {width:100px;float:left;padding-top:20px;padding-right:20px}
#foot #autoilu {width:100px;float:left;padding-top:20px;padding-right:20px}
#foot #torpparit {width:100px;float:left;padding-top:20px;padding-right:20px}
#foot #suku {width:100px;float:left;padding-top:20px;padding-right:20px}
/*#foot #meta {width:120px;float:left;padding-top:45px}*/
#foot #meta {width:100px;float:left;padding-top:20px}
#foot #valid {width:100px;float:left;padding-top:20px}

/* ---------- Begin Images ------------ */
/*p img {padding: 0;max-width: 300px}
img.center {display: block;margin-left: auto;margin-right: auto;margin-top:5px;margin-bottom:5px}
img.right {padding: 0;margin: 10px 0 15px 15px;clear:right}
img.left {padding: 0;margin: 10px 15px 15px 0;clear:left}
img.left2 {padding: 0;margin: 5px 15px 5px 0;display: block}*/


/* Begin Various Tags & Classes */
/*a {color: #0066ff}
a:visited {color: #64378C}
a:hover {color: #87c300}

a img {border: 1px solid #ff7e00}
a:hover img {border: 2px solid #ff7e00}*/

/*blockquote {margin: 20px 30px 0 10px;padding: 5px 5px 2px 20px;border-left: 5px solid #8f8e93;background-color:#f2f2f2}
blockquote p {height: 1%}
blockquote cite {margin: 0;display: block}*/

/*code {font: 1em 'Courier New', Courier, Fixed}

hr {display: none}

.center {text-align: center}
.right {float: right}
.left {float: left}*/

/* --------- WP styles ----------*/
/*.older-newer {margin:5px 30px 10px 0;padding:0 0 20px 0;font-size:0.9em}
.older-newer a:link {text-decoration: underline}
.older-newer a:visited {text-decoration: underline}
.older-newer a:hover { text-decoration: underline}
.older-newer a:active {text-decoration: underline}

.post {margin-bottom:25px;padding-bottom:15px}
.postmeta {font-size:8pt;margin:0;padding:0}
.postmetadata ul, .postmetadata li {
    display: inline;
    list-style-type: none;
    list-style-image: url('none')}

p.postmeta {padding-top:15px}
p.wp-caption-text {font-size:0.8em;color:#7D644D;padding-bottom:0.9em;margin-top:5px}
post-edit-link {margin:0;font-size:0.9em}

#left p.postdate {margin:-15px 0 0 0 ;padding:0;font-size:8pt}
#left .entry {margin-top:30px;margin-bottom:25px}

#comment-stuff {width:488px;float:left}
#comment-stuff h3 {font-style: italic;margin-top:25px}
.commentlist {font-weight: normal;margin:10px 0 10px 0}
.commentlist cite{font-weight: normal;font-style: normal;font-size: 8pt}
.commentlist cite a {font-weight: bold;font-style: normal;font-size: 8pt}
.commentlist p {font-weight: normal;text-transform: none;margin:5px 0 5px 0}
.commentmetadata {font-weight: normal}*/

/* Begin Form Elements */
/*select {width: 130px}

#commentform input {width: 170px;padding: 2px;margin: 5px 5px 1px 0}
#commentform textarea {width:400px;padding: 2px}
#commentform #submit {margin: 0;float: left}

#searchform {margin:0 0 20px 0;padding:0; text-align:left}
#searchform input {margin:0;padding:0}
#searchform input#s {width: 190px;padding:3px}

label.screen-reader-text {display:none}*/

/* Begin Comments*/
/*#comment-area.alt {margin: 10px 0 10px 0;background-color:#f9f9f9;border-left: 3px solid #FCD79E}
#comment-area {border-left: 3px solid #E3EECA;margin:5px 10px 0 0;padding: 10px}
.commentlist {padding: 0;text-align: justify}
.commentlist li {margin: 15px 0 3px;padding: 5px 10px 3px;list-style: none}
.commentlist p {margin:5px 0 5px 0}
#commentform p {margin: 5px 0}
.nocomments {text-align: center;margin: 0;padding: 0}
.commentmetadata {margin: 0;display: block}*/

