/*Tausta*/
html,
body { 
    background:#efefef url('http://www.autoviihde.fi/images/template/header_bg.png') repeat-x;
    background-color: black;
    height: 100%;
    margin:0;
	padding:0;
    font-family:arial,sans-serif;
	font-size:small;
	color:#666;
}
#wrapper { 
    width: 100%;
    position: relative; /* needed for footer positioning*/
	margin: 0 auto;
    height: auto !important; /* real browsers */
	height: 100%; /* IE6: treaded as min-height*/
    min-height: 100%; /* real browsers */
}
/*links */
a { color:#cf052b; text-decoration:none }
a:hover,
a:active,
a:focus { color:#202020; text-decoration:underline }
/*Headings &Titles */
h1 { font-size:150%; color:#FF9900; }
h2 { font-size:150%; color:#FF9900; }
h3 { font-size:125%; color:#069ce2; }
h4 { font-size:110%; color:#202020; }
h5 { font-size:140%; color:#069ce2; margin-bottom: 2px; }
h6 { font-size:150%; color:#069ce2; }
h6 span { font-size:150%; color:#FF9900; font-weight: bold; }
/*Kuvat */
img {
    border:  0px;
}
/*Header*/
#header {
    height: 110px;
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background-color: transparent;    
}
/*Logo*/
#logo { 
    background-color: transparent;
    width: 20%;
    height: 80px;
    margin-top: 35px;
    float: left;    
}
/*Menu Alue*/
#menu_area { 
    background-color: transparent;
    width: 80%;
    height: 80px;
    float: right;
    margin-top: 8px;
}
/*Oikean yläkulman valikko*/
#top_menu {
    text-align: right;
    color: gray;
    margin: 8px;
    font: 11px Verdana;
}
#top_menu a {
    text-decoration: none;
    color: white;
}
#top_menu a:hover, a:active, a:focus { 
    color:red; 
    text-decoration: none;
}
#top_menu span.round {
    padding: 4px 7px 2px 7px; 
    margin:25px auto 25px auto; 
    border: 1px dotted #333333; 
    border-radius: 5px 5px 5px 5px;
}
/*Tuotevalikko*/
#product_menu {
    text-align: right;
    float: right;
    margin: 17px -25px 0 0;
}
#product_menu ul.arrowunderline{
    list-style-type:none;
    margin:0;
    padding:0;
    text-align:center; /* enter "left", "right", or "center" to orient the menu accordingly */
    font: 14px Georgia;
}
#product_menu ul.arrowunderline li{
    display:inline;
    margin-right:50px; /* spacing between each menu item */
}
#product_menu ul.arrowunderline li a{
    position:relative;
    color:white;
    padding-bottom:8px; /*spacing between each menu item and arrow underline beneath it */
    text-decoration:none;
}
#product_menu ul.arrowunderline li a:hover{
    border-bottom:3px solid #0a9ee3; /* style of arrow underline */
}
#product_menu ul.arrowunderline li a:hover:after{ /* use CSS generated content to add arrow to the menu */
    content:'';
    width:0;
    height:0;
    position:absolute;
    left:50%;
    margin-left:-5px; /* value should match border-width below */
    bottom: 0;
    border-width:5px; /* value should match margin-left above */
    border-style:solid;
    border-color: transparent transparent #f5941f transparent; /* create up arrow */
}
/*Mainoskuva*/
#top_content {
    width: 100%;
    min-width: 100px;
    background-color: black;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
/*Kuvan koon muokkaus */
.etusivu_resize {
    width: 100%;
    height : auto;
}
/*Osta */
#osta {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
#osta img {
    float: right;
    margin-right: -100px;
    margin-top: -30px;
    z-index: 1000;
}
.hinta {
    float: right;
    margin-right: -220px;
    margin-top: 50px;
}
.hinta em {
    float: right;
    margin-right: 0px;
    margin-top: -40px;
    font-size: 11px;   
}
/*Yläkuva*/
#painikkeet {
    min-width: 1050px;
    background-color: black;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
#painikkeet img {
    margin: 40px 15px 15px 15px;
}
/*Footer alas*/
#push {
    width: 100%;
    height: 80px;
}
/*Footer*/
#footer {
    width: 100%;
    height: 80px;
    position: absolute;
    bottom: 0px;
}
#footer_container {
    position: relative;
    width: 1000px;
    margin: 10px auto 10px auto;
    font-size: small;
    color: white;
}
#footer_vasen { 
    width: 50%;
    float: left;
}
#footer_vasen a {
    text-decoration: none;
    color: red;
}
#footer_vasen span.round {
    padding: 4px 7px 2px 7px; 
    margin:25px auto 25px auto; 
    border: 1px dotted #333333; 
    border-radius: 5px 5px 5px 5px;
}
#footer_oikea { 
    width: 50%;
    float: right;
    text-align: right;
}
#footer_oikea span.round {
    padding: 4px 7px 2px 7px; 
    margin:25px auto 25px auto; 
    border: 1px dotted #333333; 
    border-radius: 5px 5px 5px 5px;
}
/*MATERIAALI*/
#main_content {
    width: 100%;
    margin: 0px;
    padding: 0px;
    background-color: white;
}
/*Main tuotevalikko*/
#main_tuotevalikko {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 20px;
}
/*Main tuotetiedot*/
#main_tuotetiedot {
    width: 1000px;
    margin: 5px auto 30px auto;
    height: 100%;
    min-height: 100%;
}
#ominaisuudet {
    position: relative;
    width: 1000px;
    vertical-align: text-top;
    vertical-align: top;
}
/*Tuotekuvauksen 2 kolumnia*/
.column_container {
    width: 100%;
    height: 250px;
}
.columns_20_vasen {
    width: 20%;
    float: left;
}
.columns_20_oikea {
    width: 20%;
    float: right;
}
.columns_30_vasen {
    width: 30%;
    float: left;
}
.columns_30_oikea {
    width: 30%;
    float: right;
}
.columns_40_vasen {
    width: 40%;
    float: left;
}
.columns_40_oikea {
    width: 40%;
    float: right;
}
.columns_50_vasen {
    width: 50%;
    float: left;
}
.columns_50_oikea {
    width: 50%;
    float: right;
}
.columns_60_vasen {
    width: 60%;
    float: left;
}
.columns_60_oikea {
    width: 60%;
    float: right;
}
.columns_70_vasen {
    width: 70%;
    float: left;
}
.columns_70_oikea {
    width: 70%;
    float: right;
}
.columns_80_vasen {
    width: 80%;
    float: left;
}
.columns_80_oikea {
    width: 80%;
    float: right;
}
/*Pyöreä kulmainen laatikko*/
.round_box {
    width: 100%;
    background: url('http://www.autoviihde.fi/images/template/box_bg.png') no-repeat;
    height: 220px;
    padding: 30px 30px 10px 10px;
}
.p_80 {
    width: 80%;
}
/*Tuotetietojen tabs*/
#tabs_wrapper {
    width: 1000px;
}
#tabs_container {
    border-bottom: none;
    border-bottom: solid 3px;
    border-color: #FF9900;
}
#tabs {
    list-style: none;
    padding: 5px 10px 4px 0;
    margin: 0 0 0 25px;
}
#tabs li {
    display: inline;
}
#tabs li a {
    border: none;
    padding: 4px 6px;
    text-decoration: none;
    outline: none;
    color: black;
    margin-right: 80px;
}
#tabs li a:hover {
    background-color: #069ce2;
    color: white;
    padding: 4px 6px;
}
#tabs li.active a {
    color: #069ce2;
    font-weight: bold;
    padding: 4px 6px 5px 6px;
}
#tabs li.active a:hover {
    background-color: #eeeeee;
    padding: 4px 6px 5px 6px;
    border-bottom: none;
}
 
#tabs li a.icon_accept {
    background-image: url(accept.png);
    background-position: 5px;
    background-repeat: no-repeat;
    padding-left: 24px;
}
#tabs li a.icon_accept:hover {
    padding-left: 24px;
}
 
#tabs_content_container {
    border: none;
    padding: 10px;
    width: 1000px;
    margin-top: 1px;
    margin-bottom: 30px;
}
.tab_content {
    display: none;
}
/*  VIHREÄ OIKEIN MERKKI LISTA */
ul.niceList { 
  margin-left:0em; 
  padding-left:0.2em; 
  margin-bottom:1em;   
}
ul.niceList li { 
  background:url(../images/varastossa.png) 0em 0.5em no-repeat; /* change background em accordingly */
  padding-left: 2.1em;
  padding-top: 0.5em; 
  list-style: none;
  font-size: 12px; 
}
.niceList ul li { background-image:url(../images/varastossa.png); }
h3 {
  color: #0287D3;
  margin-bottom: -10px;
  font-weight: bold;  
}
h4 {
  color: #0287D3;
  margin-bottom: -20px;
  font-weight: normal;  
}
em {
    color: #808080;
    font-size: 11px;
}
/*  KUVAGALLERIA */
.kuvagalleria {
    width: 100%;
}
.kuvagalleria ul li { display: inline; }