/*
Theme Name: Speedcars.fi
Theme URI: http://www.speedcars.fi/
Description: Speedcars.fi-sivustolle suunniteltu sivupohja.
Version: 1.0
Author: Teemu Jonkkari

Default Speedcars.fi by Teemu Jonkkari || http://www.jonkkari.com/
*/

body,div,table,h1,h2,h3,h4,h5,ul,li {
   margin: 0;
   padding: 0;
   background-color: transparent;
}
body {
   color:#ededed;
   font-size: 14px;
   font-family: Arial, Helvetica, 'DejaVu Sans', sans-serif;
   background:#1e1e1e url(images/taustaruudukko.png) repeat;
   min-width:810px;
}
a {
   color: #000;
   font-style: normal;
   text-decoration: none;
}
a:hover {
   text-decoration: underline;
}
span {
   font-style: normal;
}
tr {
   vertical-align: top;
}
img {
   border-collapse:collapse;
   border:none;
}
strong {
   color:#ebeb37;
   letter-spacing:0.3em;
   font-family:Arial, 'DejaVu Sans Mono', Helvetica, sans-serif;
}

/* HEADER-OSA */
div.header {
   height:40px;
   background:transparent;
}
div.header div.logo {
   float:left;
   width:240px;
   padding-top:5px;
   padding-left:10px;
}
div.header div.navigointi {
   color:#FFF;
   float:right;
   width:510px;
   vertical-align:top;
   padding-top:10px;
   margin: 0 25px 0 0;
}
div.navigointi ul {
   list-style:none;
}
div.navigointi ul li {
   float:right;
   padding: 0 7px 0 7px;
}
li.page_item a:hover {
   text-decoration:underline;
}
li.current_page_item a {
   text-decoration:underline;
}
li.current_page_item a:hover {
   text-decoration:none;
}
div.navigointi a, div.copyright a {
   color:#ededed;
}

/* BANNER-OSA **/
div.banner { 
   width:inherit;
   height:187px;
   border-top:#FFF solid 1px;
   border-bottom:#FFF solid 1px;
   background:#000;
}
div.banner img#banner { 
   position:absolute;
   z-index:1;
   left:0px;
}
div.banner img#bmw { 
   position:absolute;
   z-index:2;
   right:10px;
}

/* BREADCRUMB-OSA **/
div#breadcrumb {
   color:#ebeb37;
   width:inherit;
   font-size:0.9em;
   padding:10px 0 5px 25px;
   height:13px;
   text-transform: lowercase;
}
div#breadcrumb a {
   color:#ebeb37;
   text-transform:lowercase;
}

/* SISALTO-OSA **/
div.sisalto {  background:transparent; min-height:650px; }
.paivitetty { width:100%; display:block; font-size:11px; color:#CCCCCC; }

/* NAVIGOINTILAATIKON REUNUKSET */
table.navigointi { border:none; border-collapse:collapse; width:210px; height:inherit; margin-bottom:40px; margin-left:25px; margin-top:30px; background:url(images/semitransparent.png) repeat; /* background:transparent; /* background:url(images/navigation.png) top left repeat-y; */ float:left; }

td.vy { width:7px; height:7px; background-image:url(images/vy.png); background-repeat:no-repeat; }
td.oy { width:7px; height:7px; background-image:url(images/oy.png); background-repeat:no-repeat; }
td.y {  height:7px; background-image:url(images/y.png); background-repeat:repeat-x; }

td.v { width:7px; background-image:url(images/v.png); background-repeat:repeat-y; }
td.o { height:7px; background-image:url(images/o.png); background-repeat:repeat-y; }

td.va { width:7px; height:7px; background-image:url(images/va.png); background-repeat:no-repeat; }
td.a { height:7px; background-image:url(images/a.png); background-repeat:repeat-x; }
td.oa { width:7px; height:7px; background-image:url(images/oa.png); background-repeat:no-repeat; }

/* SIDEBAR */
div#sidebar { width:100%; margin-top:15px; margin-bottom:15px; }
div#sidebar h2 { visibility:hidden; display:none; }
div#sidebar ul,#sidebar li, #sidebar ul ul li { list-style: none; }
div#sidebar ul ul li { width:180px; height:41px; border:1px solid #FFF; margin-top:10px; margin-left:auto; margin-right:auto; background:#1e1e1e url(images/button.png) left repeat-x; }
div#sidebar ul ul li div.button { height:28px; width:160px; padding-left:20px; padding-top:13px; background:#1e1e1e url(images/button.png) repeat-x top left; }
div#sidebar ul ul li div.button:hover { background:#1e1e1e url(images/button_.png) repeat-x top left; cursor:pointer; text-decoration:underline; }
div#sidebar ul ul li:hover, div#sidebar ul ul li.current_page_item div.button { background:#1e1e1e url(images/button_.png) left top repeat-x; text-decoration:underline; }
div#sidebar ul ul li:hover, div#sidebar ul ul li.current_page_item div.button:hover { text-decoration:none; }
div#sidebar ul ul li a { color:#ebeb37; }

div.content { 
   float:left;
   padding:20px;
   margin-left:35px;
   margin-top:30px;
   margin-bottom:35px;
   max-width:680px;
   width:auto;
   background:url(images/semitransparent.png) repeat;
   -moz-border-radius: 10px;
   -webkit-border-radius: 10px;
   border-radius: 10px;
}
div.content h2 { 
   font-family:Arial, 'DejaVu Sans Mono', Helvetica, sans-serif;
   font-weight:normal;
   letter-spacing:2px;
   color:#FFF;
   font-size:20px;
   margin-bottom:20px;
   display:block;
}
div.content p {
   padding:0 0 15px 0;
   margin:0;
}
div.entry {
   padding-right:10px;
   width:650px;
}
div.entry ol, div.entry ul {
   margin-left:30px;
   margin-bottom:15px;
}
div.entry ol { 
   margin-bottom:25px;
}
div.entry ol li {
   margin-left:-25px;
   line-height:20px;
   white-space:nowrap;
   margin-right:20px;
}

div.entry ul li { margin-left:10px; list-style:square; line-height:20px; }

div.entry ul li a, div.entry p a { color:#ededed; }

div.entry form, div.entry #usermessagea { float:left; }

.postmetadata { visibility:hidden; display:none; }

/* IMAGE CAPTION */
.aligncenter, div.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; }
.alignright { float: right; margin-left:20px; }
.wp-caption, .gallery-item { width:auto; border: 1px solid #464646; text-align: left; margin-bottom: 15px; margin-right:10px; }
.wp-caption img, .gallery-icon img { margin:5px 5px 0 5px; padding: 0; border:none; }
.wp-caption p.wp-caption-text, div.gallery-item p { font-size: 12px; line-height: 17px; padding: 8px 4px 8px 10px; margin: 0; }

div.gallery-item p {
   padding: 5px 4px 8px 10px;
   margin: 0;
}
.gallery .gallery-item {
   clear:none;
   float:left;
}

/* FOOTER-OSA */
div.footer { 
   color:#ededed;
   width:100%;
   height:191px;
   border-top:#FFF solid 1px;
   background:url(images/semitransparent.png) repeat;
}
div.information {
   height:161px;
   padding-bottom:5px;
}
div.infobox:first-child {
   width:380px;
   background:url(images/vert_viiva.png) top right no-repeat;
}
div.infobox {
   float:left;
   width:360px;
}
div.infobox h2 { 
   font-family: 'DejaVu Sans Mono', Arial, Helvetica, sans-serif;
   font-weight:normal;
   letter-spacing:2px;
   color:#ebeb37;
   font-size:18px;
   margin-left:25px;
   padding-top:10px;
   padding-left:30px;
   background:url(images/ok.png) no-repeat left;
}
div.infobox ul li { 
   margin-left:25px;
   margin-top:10px;
   list-style:none;
}
div.footer div.copyright {
   font-size:0.8em;
   height:20px;
   text-align:right;
   margin-right:15px;
}
.random, iframe {  background:transparent; }

/* Kunniataulukko */
table.kunniataulukko { 
   margin-right: 10px;
   width:290px;
   margin-bottom:30px;
}
table.kunniataulukko tbody tr td:first-child { 
   text-align:right;
}

div#diaesitys, div#pdiaesitys { 
   position: relative;
}
#diaesitys div { 
   position: absolute;
   top: 0px;
   left: 0px;
}
#pdiaesitys div {
   position: absolute;
   top: 0px;
   left: 0px;
   border: 1px solid #464646;
   padding: 3px;
   background:url(images/semitransparent.png) repeat;
}
div#liput {
   float:right;
   width:130px;
}
div#liput img { 
   margin:0 6px 0 0;
}
div.gallery-item {
   float: left;
   text-align: center;
   padding:0;
   border:0;
   margin:0;
   width:190px;
}
span.gallery-icon { 
   margin:0;
   padding:0;
   border:0;
}
span.gallery-icon img { 
   margin:0;
   padding:0;
   border:0;
}
img.attachment-thumbnail {
   margin:0;
   border:0;
}
p.gallery-caption {
   margin:0;
   border:0;
   display:none !important;
}

#gallery-1 .gallery-item {
	 width: 190px !important; 
}
