

* {
	padding : 0px;
	margin : 0px;
}
/*div {
	border : 1px solid;
	border-color : black;
}*/
html {	
	height : 100%;
}
body {
		background : #E8E8E8;
	text-align: center;
	width : 100%;
	font-family : Arial,Helvetica;

	margin : 0px;
}
a {
	/*text-decoration: none;
	color: #000;*/
}

a:link, a:visited {
	/*	text-decoration: none;
	color: #000;*/
}

a:hover, a:active {
	/*text-decoration: none;
	color: #000;*/
}

img {
	border : 0px;
}
h1 {
	margin-top : 20px;
	margin-bottom : 20px;
	margin-left: 0px;
	font-size : 140%;
	letter-spacing : 3px;
	color : #000;
	#border-bottom : 1px dotted black;
}
h2 {
	font-size : 110%;
	margin-top : 20px;
	margin-bottom : 10px;
	color : #000;
}
h2.norm {
	font-size : 110%;
	color : #1E435A;
	margin-bottom : 5px;
	text-decoration : underline;
}
h3 {
	font-size : 105%;
	color : #000;
}
h4 {
	margin-top : 20px;
	margin-bottom : 0px;
	margin-left: 0px;
	font-size : 100%;
	color : #000;
}
p {
	margin-top : 10px;
	line-height : 20px;
}
ul {
	margin-left : 20px;
}
ul.referenssit li {
	margin-bottom : 10px;
}
input[type=text] {
	border: 1px solid #d6d5d5;
	background: #ffffff;
	color: #000000;
}
div.tyhja {	/*korjaus sivun alareunaan, korjaa containerin ulottumaan molemmille palstoille */
	clear : both;
	height : 1px;
	margin : 0 0 -1px;
	width : 100%;
}
div#feedback_box {	/* kelluva palauteboxi */
	height : 180px;
	width : 300px;
	position : fixed;
	right : 50px;
	bottom : 0px;
	background-color : #fff;
	border: 1px solid #bdbcbc;
}
#feedback_box p {
	font-size: 12px;
}
#feedback_box a {
	text-decoration: none;
	color: #000;
}
div.ylapalkki {	/* ilmoitusruutujen yläpalkki */
	height : 23px;
	width : 100%;
	background-color : #1E4A92;
	padding : 2px 0px 2px 10px;
	margin : 0px 0px 0px 0px;
	border-bottom: 1px solid #bdbcbc;
	font-weight : bold;
	text-align : left;
	/* näillä saadaan vähennettyä padding 100% leveydestä */
	-moz-box-sizing:    border-box;
   -webkit-box-sizing: border-box;
   box-sizing:        border-box;
}
#top_tausta { background : #90adc9;
	z-index : 1;
	position : relative; 
}
#top {
	z-index : 2;
	position : relative; 
	
	text-align : left;
	width : 1000px;
	background-image: url("../images/ahaa_elektroniikka_logo_top.gif");
	background-repeat: no-repeat;
	height : 100px;
	margin : 0px;
   margin-left: auto ;
   margin-right: auto ;
}
#top h1 {
	font-size : 40px;
	border : 0px;
	margin : 0px;
	margin-left : 7px;
	padding-top : 20px;
	color: #000;
}
	
#top2 {
	z-index : 2;
	position : relative; 
	text-align : left;
	vertical-align : middle;
	width : 959px;
	height : 40px;
	background-color : #1E4A92;
	margin : 0px;
	padding : 0px 20px 0px 21px;
	margin-left: auto ;
   margin-right: auto ;
   color: #FFF;
}
#top3 {
	z-index : 2;
	position : relative; 
	text-align : center;
	vertical-align : middle;
	width : 1000px;
	height : 39px;
	background-color : #d6d5d5;
	margin : 0px;
	padding : 0px 0px 0px 0px;
	margin-left: auto ;
   margin-right: auto ;
   border-bottom: 1px solid #bdbcbc;
   color: #000;
}
#container {
	z-index : 1;
	position : relative;
	background : #fff;
	
	text-align : left;
	width : 1000px;
	padding : 0px;
	margin : 0px auto 0px auto;
	overflow: hidden; /* This hides the excess padding in non-IE browsers */
	
}
#leftnav {
	width: 228px;
	margin-left: 20px;
	font-size: 12px;
	vertical-align: top;
	font-size: 85%;
	float : left;
	background-color: #F1F1F1;
	border-left: 1px solid #dfdddd;
	border-right: 1px solid #dfdddd;
}
#main {
	width : 710px;
	/*border : 0px solid #B7AFA3;*/
	margin : 0px;
	padding : 20px;
	font-size : 100%;
	float : left;
	color: #000;
}
#mainos_vas {
	position : fixed;
	z-index : 2;
	padding : 30px 0px 0px 0px;
	height : 600px;
	width : 170px;
	background-color : #fff;
	top : 100px;
	left : 50%;
	margin-left : -700px;background : #fff;

}
#mainos_oik {
	position : fixed;
	z-index : 2;
	padding : 30px 0px 0px 0px;
	height : 600px;
	width : 170px;
	background-color : #fff;
	top : 100px;
	right : 50%;
	margin-right : -700px;background : #fff;

}
#bottom {
	text-align : center;
	width : 1000px;
	background-color : #1E4A92;
	padding : 0px;
	height : 80px;
	margin : 0px;
	margin-left: auto ;
   margin-right: auto ;
   clear : both;
}
/* Start Mac IE5 filter \*/
#leftnav, #main
	{
	padding-bottom: 32767px !important;
	margin-bottom: -32767px !important; 
	}
/* End Mac IE5 filter */
#minicart {
	/*position: fixed;*/
	right: 0px;
	width: 130px;
	font-size: 10px;
	float : left;
}


ul, ol {
	font-family: Arial, Georgia, "Times New Roman", Times, serif;
	margin-top: 0px;
	padding-top: 0px;
}

#top2 a {
	/*/*/padding: 12px 20px 0px 20px; 
	display: block;
	border-left: 1px solid #2b5dae;
	border-right: 1px solid #2b5dae;
	margin-left: -1px;
	text-decoration: none;
	color: #FFF;
	font-family: Arial;
	height: 28px;
	font-size : 16px;
	float: left;
}

#top2 a:hover, #top2 a:active {
	background-color : #2254A6;
}

#top2 div.haku {
	float:right;
	margin-top:10px;
}

#top3 #left {
	text-align: left;
	position: inherit;
	left: 0px;
	line-height: 39px;
	float: left;
	margin-left: 20px;
}
#top3 #right {
	text-align: right;
	position: inherit;
	right: 0px;
	line-height: 39px;
	margin-right: 10px;
	vertical-align: middle;
}
#top3 img {
	vertical-align: middle;
}

#leftnav a {
	/*/*/padding: 7px 3px 7px 10px; 
	display: block;
	border: 1px solid #dfdddd;
	text-decoration: none;
	line-height: 14px;
	width: 215px; /* */
	background-color: #F1F1F1;
	color: #0f2e62;
	font-family: Arial;
	margin-left: -1px;
}

#leftnav a:link, #leftnav a:visited {
	color: #0f2e62;
}

#leftnav a:hover, #leftnav a:active {
	color: #0f2e62;
	background-color: #E6E6E6;
	border: 1px solid #dfdddd;
}

#leftnav ul {
	/*/*/padding: 0em;
	list-style-type: none; /* */
	margin: 0px;
}

#leftnav li {
	/*/*/margin: -1px 0px 0px 0px; /* */	
}
#leftnav img {
	margin: 0px;
}
#leftnav a#maksuturva {
	/*/*/padding: 0px;
	margin: 20px auto; 
	display: block;
	border: none;
	text-decoration: none;
	text-align: center;
	width: 165px;
	height: 294px;
}
#leftnav a#maksuturva:hover, #leftnav a#maksuturva:active {
	background-color: transparent;
	border: none;
}
#leftnav a#checkout {
	/*/*/padding: 0px;
	margin: 20px auto; 
	display: block;
	border: none;
	text-decoration: none;
	text-align: center;
	width: 150px;
	height: 400px;
}
#leftnav a#hs_ostokokemukset {
	/*/*/padding: 0px;
	margin: 20px auto; 
	display: block;
	border: none;
	text-decoration: none;
	text-align: center;
	width: 130px;
	height: 130px;
}
#leftnav a#checkout:hover, #leftnav a#checkout:active {
	background-color: transparent;
	border: none;
}
#main a {
	color: #1E4A92;
	border: none;
	text-decoration: underline;	
}
div.product_thumbnail {
	height: 120px;
	width: 160px;
	text-align: center;
	line-height:120px;
}
div.sivumainos_product_thumbnail {
	height: 120px;
	width: 100px;
	text-align: center;
	line-height:120px;
}
.sivumainos_product_thumbnail img {
	vertical-align: middle;
	border: 1px solid #dfdddd;
}.product_thumbnail img {
	vertical-align: middle;
	border: 1px solid #dfdddd;
}
.product_details {
	font-size: 14px;
	line-height: 18px;
}
.product_details img {
	vertical-align:middle;
	border: 1px solid #dfdddd;
}
.product_details span.qty {
	font-size: 12px;
	line-height: 14px;
}
#productList td {
	margin: 0px;
	padding: 0px 20px 20px 20px;
}
.sivumainos_productList td {
	margin: 0px;
	padding: 20px 0px 0px 0px;
	width : 140px;
}
table.hinnasto {
	width : 100%;
	border-collapse: collapse;
	border-spacing : 0;
}
table.hinnasto td {
	border : 1px solid black;
	margin : 0;
	padding : 5px;
	border-collapse: collapse;
	border-spacing : 0;
}
table.hinnasto td.hinta {
	text-align : center;
}
#main a.product {
	/*/*/padding: 7px 3px 7px 10px; 
	display: block;
	border: 1px solid #dfdddd;
	text-decoration: none;
	line-height: 18px;
	font-size: 14px;
	width: 100%; /* */
	background-color: #F1F1F1;
	color: #000;
	font-family: Arial;
	margin-left: -1px;
	height: 190px;
}
#main a.product:hover, a.product:active {
	background-color : #E6E6E6;
}
a.sivumainos_product {
	/*/*/padding: 0px; 
	display: block;
	border: 1px solid #dfdddd;
	text-decoration: none;
	line-height: 18px;
	font-size: 14px;
	width: 100%; /* */
	background-color: #F1F1F1;
	color: #000;
	font-family: Arial;
	margin-left: -1px;
	height: 190px;
}
a.sivumainos_product:hover, a.sivumainos_product:active {
	background-color : #E6E6E6;
}

.product span.product_name {
	font-weight: bold;
}
.product span.price {
	font-size: 12px;
	line-height: 14px;
}
.sivumainos_product span.product_name {
	font-weight: bold;
}
.sivumainos_product span.price {
	font-size: 12px;
	line-height: 14px;
}
.product span.qty {
	font-size: 10px;
	line-height: 12px;
}
.product_details span.arriving {
	font-style: italic;
	font-size: 12px;
	line-height: 12px;
}
span.sivumainos_otsikko {
	font-style: italic;
	font-size: 22px;
	color:red;
	font-weight:bold;
	text-decoration: blink;
}

p.footer {
	margin: 0px 0px 0px 0px;
	padding: 30px 0px 0px 0px;
	font-size: 12px;
}

.loadingDiv {
  position: fixed;
  top:0px;    
  left:0px;    
  right:0px;    
  bottom:0px;    
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  font-size: 250%;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
  display:flex;
  justify-content: center;
  align-items: center;
  z-index:1000;
}

.shippingMethodLabel > input{ /* HIDE RADIO */
    visibility: hidden; /* Makes input not-clickable */
    position: absolute; /* Remove input from document flow */
}

.shippingMethodLabel > input:checked + .shippingOption{ /* (RADIO CHECKED) DIV STYLES */
    background-color: lightgrey;
	border-style: solid;
	border-color: black; 
	border-radius: 5px;
}

.shippingOption
{
   min-height: 80px;
   margin: 10px;
	border-style: none;
	cursor:pointer;
	border-style: solid;
	border-color: transparent; 
	border-radius: 5px; 
	display:flex;
}
.shippingOption:hover{
   background-color:lightgrey;
}
div#noutopisteet {
  height: 450px; /* set a fixed height for the div */
  overflow-y: scroll; /* enable vertical scrollbar */
}

.paymentButtons
{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.paymentOption
{
   width: 180px;
   height: 120px;
   margin: 10px;
	cursor:pointer;
	border: 1px;
	border-style: solid;
	border-color: black; 
	border-radius: 5px; 
	text-align: center;
	font-size: 80%; 
	font-weight: bold;
	background: transparent;
}
.paymentOption:hover{
   background-color:lightgrey;
}
.paymentIcon {
	width: 100%;
	height: 55px;
	text-align: center;
	margin: auto;	
	margin-top: 0px;
}

div.paymentName {
	text-align: center;
	margin: auto;
	margin-top: 10px;
	width: 100%;
	font-size: 80%; 
	font-weight: bold;
}

div.shippingIcon {
	width: 130px;
	height: 55px;
	text-align: center;
	margin: auto;
	margin-left: 10px;
	margin-right: 0px;
}

div.shippingPrice {
	margin: auto;
	margin-left: 10px;
	margin-right: 0px;
	text-align: left;
	width: 70px;
	font-size: 100%; 
	font-weight: bold;
}

div.shippingDeliveryTime {
	margin: auto;
	margin-left: 10px;
	margin-right: 0px;
	text-align: left;
	width: 70px;
	text-align: center;
	font-size: 85%;
}

div.shippingText {
	margin: auto;
	margin-left: 10px;
	margin-right: 0px;
	text-align: left;
	font-size: 85%; 
	width: 500px;
}


div.shippingDescriptionDetails {
	font-size: 12px; 
}

div.product {
	background-color: #F1F1F1;
	border: 1px solid #dfdddd;
	padding: 7px;
}

#current a {
	color: #0f2e62; !important;
	/*/*/background-color: #E6E6E6 !important;
	border: 1px solid #dfdddd !important; /* */
}

.entryTable {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	background-color: #d6d5d5;
}

.entryTable td {
	padding : 3px;
}

.entryTableHeader {
	font-family: "Courier New", Courier, mono;
	font-size: 14px;
	color: #000;
	background-color: #F1F1F1;
	font-weight: bold;
	background-position: center;
}

.entryTable .label {
	background-color: #EFEFEF;
}

.entryTable .content {
	background-color: #FFFFFF;
}


.infoTable {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	background-color: #d6d5d5;
}

.infoTable td {
	padding: 3px;
}

.infoTableHeader {
	font-family: "Courier New", Courier, mono;
	font-size: 14px;
	color: #000;
	background-color: #F1F1F1;
	font-weight: bold;
	background-position: center;
}

.infoTable .label {
	background-color: #F1F1F1;
}

.infoTable .content {
	background-color: #FFFFFF;
}

.box {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	border: 1px solid #1E4A92;
}

.notice {
	color: #996600;
	font-weight: bold;
}

.addToCartButton {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color:#333333;
	font-weight:bold;
	border: 1px solid #ddb956;
	background-color:#EDB929;
}

#errorMessage {
	color: #990000;
	font-weight: bold;
}
ul#toimitusehdot {
	line-height : 20px;
	margin : 0px 0px 1.0em 15px;
}


