@charset "utf-8";
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; }
/* remember to define focus styles! */
:focus { outline: 0; }
body { line-height: 1; color: black; background: white; }
ol, ul { list-style: none; }
/* tables still need 'cellspacing="0"' in the markup */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
/* end reset */

/* general */
html { -webkit-font-smoothing: antialiased; }
body {
 width: 100%;
 background: #24577B;
 color: #555;
 font-size: 14px; 
 margin: 0 auto;
 text-align: center;
 font-family: Futura, "Trebuchet MS", Verdana, Helvetica, sans-serif;
}
a { color: #24577B; text-decoration: none; }
a:visited { color: #254492; }
a:hover, a:active { color: #000; text-decoration: underline; }
h1, h2, h3, h4, h5 { text-rendering: optimizeLegibility; }
h2 { font-size: 3em; margin: 20px 0 10px; line-height: 1; color: #aaa; text-transform: uppercase; letter-spacing: 0; }
h2.pagetitle { margin-left: -3px; }
p { margin: 0 0 10px; line-height: 1.5; }

h3 { font-size: 1.6em; margin: 0 0 10px; clear: both; }
h3 a { color: #254492; }

a.skip { position: absolute; top: 0; left: 0; color: #24577B; }
a.skip:hover { color: #aaa; }

strong, b { font-weight: bold; }
em, i { font-style: italic; }

/* structure */
div#header, div#content { width: 800px; margin: 0 auto; text-align: center; clear: both; }

/* header */

div#header { position: relative; background: transparent; padding: 40px 0 0; color: #ddd; }
div#header a:link, div#header a:visited { color: #fff; text-decoration: none; }
div#header a:hover, div#header a:active { color: #fff; text-decoration: underline; }
h1 { color: #fff; font-size: 4em; text-align: left; text-transform: uppercase; margin: 0 300px 20px 0; text-shadow: #555 1px 1px 1px; }
h1 a:hover, h1 a:active { text-decoration: none !important; }

/* nav */

.nav { font-size: 13.5px; border-top: 1px solid #24577B; }
.nav ul { display: inline; float: left; }
.nav li { float: left; margin-left: 1px; z-index: 10; position: relative; }
.nav ul.navFirst li { margin-left: 0; }
.nav li a:link, .nav li a:visited { display: block; background: #697979; color: #fff; text-decoration: none !important; padding: .9em 6px; vertical-align: middle; border-top-right-radius: 5px; border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px; -moz-border-radius-topright: 5px; -moz-border-radius-topleft: 5px; }
.nav li a:hover, .nav li.Current a, body.InfoPageID-2 li.InfoPageID-2 a, body.InfoPageID-4 li.InfoPageID-4 a { background: #e3e3e3 !important; color: #555 !important; text-decoration: none !important; }
.nav li.Current a:hover { background: #e3e3e3 !important; color: #333 !important; }

.nav ul.CustomerNavigation { float: right; }
.nav ul.CustomerNavigation li { margin-right: 0; margin-left: 1px; }
.nav ul.CustomerNavigation li:first-child { margin-left: 0; } 

/* minicart */

#cart { position: absolute; top: 80px; right: 0; width: 20em; font-size: 90%; text-align: right; text-shadow: #555 1px 1px 1px; }

/* content */

div#content { z-index: 9; width: 800px; position: relative; text-align: left; background: #e3e3e3; line-height: 1.2; padding: 0 0 20px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px; -moz-border-radius-bottomright: 5px; -moz-border-radius-bottomleft: 5px; }

/* sections */

div.section { clear: both; padding: 10px 60px; background: #e3e3e3; }
div#intro { margin: 0 0 10px; padding: 30px 60px 0; }
div#intro div { padding: 10px 20px; position: relative; background: transparent url(img/header.jpg) no-repeat 100% 25%; color: #555; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; }

div.section li { width: 210px; height: 20em; float: left; text-align: center; background: #fff; color: #555; margin: 0 24px 20px 0; position: relative; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; }

div.section li.LastProd { margin-right: 0; }

div.section ul p { margin: 5px; font-size: 90%; line-height: 1.2; }
div.section ul p.price { font-size: 100%; }
div#intro p { margin: 10px 250px 10px 0; font-size: 100%; }

div.section div.productListImage { height: 160px !important; } 
div.section li img { width: 200px; max-height: 150px; border: 5px solid #fff; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; }
div.section li a:hover img { border-color: #aaa; }

div.section li .BuyFormQuantity { display: none; }
div.section li .BuyForm { position: absolute; bottom: 0; left: 0; width: 210px; padding: 5px 0 0; margin: 0 auto; text-align: center; background: transparent; font-size: 90%; color: #333; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; }

div.section li form { display: inline; }
div.section li fieldset { display: inline; padding: 0; vertical-align: middle; }
div.section form button { cursor: pointer; background: #697979; border: 1px solid #697979; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; }
div.section li form.BuyForm button { width: 210px !important; padding: 3px 0 !important; margin: 0; }
div.section form button span { display: block; color: #fff; font-weight: bold; padding: 6px; }
div.section form button:hover, div.section form button:hover span { background: #616161; border-color: #616161; color: #fff; }

div.section fieldset p { margin-right: 200px; }

/* metafunctions */
div.section div.metaFunctions { clear: both; font-size: 100%; font-weight: normal; text-align: left; padding-left: 5px; background: #aaa; font-size: 90%; color: #000; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; }
div.section div.metaFunctions p { padding: 10px; text-align: right; }
div.section div.metaFunctions p a { color: #fff; }

.homepage div.section div.metaFunctions { background: none !important; padding: 0; }
.homepage div.section div.metaFunctions ul { height: 3em; margin: 20px 0; padding-top: 20px; }
.homepage div.section div.metaFunctions li { width: 330px; margin: 0 20px 0 0; height: auto; background: transparent; text-align: center; }
.homepage div.section div.metaFunctions li.CategoryID-6 { margin: 0; }
.homepage div.section div.metaFunctions a { background: #697979; color: #fff; padding: 10px; display: block; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; }

.homepage div.section div.metaFunctions a:hover { background: #616161; }

div.section dt { font-weight: bold; margin: 20px 0 5px; }
div.section dd p { margin: 0; }

/* forms */

form#Payment { min-height: 300px; height: 300px; }

/*form, fieldset { clear: both; }*/

form h2 { display: none; }
form fieldset { margin: 20px 0; }
form label { float: left; width: 130px; vertical-align: middle; padding-top: 5px; }
form label.GroupLabel { float: none; width: auto; clear: both; font-weight: bold; margin-bottom: 10px; }
#OrderNewsletter { margin-top: 20px; }
form #OrderNewsletter label { width: auto; padding-top: 5px; }
form input, form textarea, form select { width: 200px; vertical-align: middle; padding: 5px; background: #ddd; font-weight: bold; border: 1px solid #aaa; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; }
form select { width: 210px; }

form input:focus, form textarea:focus { background: #fff; border-color: #777; }

.Checks label { display: block; width: 100%; line-height: 1.5; }
.Checks input { float: left; width: auto; vertical-align: middle; margin-right: 5px; margin-bottom: 10px !important; background: none; border: none; }

form .FormItem, form .FormItem div { margin-bottom: 10px; }

form .GroupItem { clear: both; padding-top: 20px; }

form p { width: 430px; }
form p.FormAltAction { width: 340px; padding: 0; margin-bottom: 20px; }

.FormHelp, .FormSubmit { width: 342px; text-align: left; }
.FormHelp { padding-top: 10px; font-size: 90%; }

.CheckoutLoginStage .FormHelp, .CheckoutLoginStage .FormSubmit { width: 500px; text-align: left; }

.BuyForm fieldset { margin: 0; }
div.section li form .FormSubmit { width: auto; }
div.section li form .FormItem, div.section li form .FormItem div { margin-bottom: 0; }

/* product pages */
div.product h3.productPrice { clear: none; font-size: 1.4em; }

div.product div.product-image { float: right; margin: 5px 0 20px 40px; }
div.product div.product-image img { border: 5px solid #aaa; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; }
div.product #ProductThumbnails { float: right; display: inline; margin: 8px 10px 0 0; }
div.product #ProductThumbnails li { width: auto; height: auto; border: 0; margin: 0 1px 0; background: none; }
div.product #ProductThumbnails li img { width: 36px; height: 28px; border-width: 2px; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; }
div.product a:hover img { border-color: #697979; }

div.product form { margin: 40px 0 0; display: inline; }
div.product form fieldset { padding: 5px 0; text-align: left; width: 400px; }
div.product form .FormItem { margin-bottom: 0; }
div.product .BuyFormVariationSelect { float: left; margin-left: 10px; padding: 7px 4px; }
div.product .BuyFormVariationSelect label { float: none; width: auto; cursor: pointer; padding: 7px 0; }
div.product .BuyFormVariationSelect select { width: auto;}
div.product .BuyFormQuantity { float: left; margin-left: 10px; }
div.product .BuyFormQuantity label { float: none; width: auto; cursor: pointer; padding: 7px 0; }
div.product .BuyFormQuantity input { border: 1px solid #e3e3e3; background: #e3e3e3; padding: 7px 4px; width: 2em; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; }
div.product .BuyFormQuantity input:focus { border-color: #fff; background: #fff; }
div.product .FormSubmit { display: inline; margin-left: 10px; }

div.product div.section div.metaFunctions { margin-top: 20px; }

/* info pages */
#InfoPage { line-height: 1.5; }
#InfoPage h3 { margin-top: 20px; }
#InfoPage ul { list-style-type: circle; margin-right: 200px; }
#InfoPage ol { list-style-type: decimal; margin-top: 20px; margin-right: 200px; }
#InfoPage li { width: auto; height: auto; margin-bottom: 10px; background: transparent; float: none; text-align: left; border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; }
#InfoPage p { margin-right: 200px; }

#InfoPage form#ContactForm { float: left; width: 380px; }

#InfoPage #contactInfo { float: left; width: 200px; margin-top: 20px; }
#InfoPage #contactInfo p { margin-right: 0; }

/* cart */

table { margin: 20px 0; border: 1px solid #ccc; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; }
table#CartTable, table#PreviewTable { width: 100%; background: #aaa; }
#fancy_inner table, #fancy_inner table th, #fancy_inner table td { border: none; }

table caption { display: none; }

table tr { margin-bottom: 20px; }
table tr.even { background: #ddd; }
table#CartTable tr.odd, table#PreviewTable tr.odd { background: #e3e3e3; }

table th { padding: 10px 5px; vertical-align: middle; border-bottom: 1px solid #ccc; }
table th h3 { font-size: 1em; padding: 0; margin: 0; }
table td { padding: 10px 5px; vertical-align: middle; border-bottom: 1px solid #ccc;  }
table tfoot th.CartShippingCost, table tfoot th.CartTotal, table th.CartProductsTotal { text-align: right; padding-right: 20px; }
table td.CartPic { text-align: center; }
table td img { border: 2px solid #fff; }
table td a:hover img { border: 2px solid #ddd; }
table td .FormItem { margin: 0; }
table td a, table td .FormItem a { vertical-align: middle; }
table td input { width: auto; }

table thead { background: #aaa; color: #333; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; }
table tfoot .CartProductsTotal, table tfoot .CartShippingCost { background: #e3e3e3; }
table tfoot .CartTotal { color: #000; font-size: 1.2em; border-bottom: none !important; }

.CartProduct dl { display: none; }
.VariationName { display: none; }

#UpdateCart { text-align: right; }
fieldset#ShoppingCartSubmit { width: auto; text-align: right; }
fieldset#ShoppingCartSubmit button { float: right; vertical-align: middle; }
fieldset#ShoppingCartSubmit p { width: auto; display: inline; line-height: 34px; margin-right: 10px; margin-bottom: 0 !important; padding-bottom: 0; vertical-align: middle; font-size: 90%; }

.FormItem h2 { font-size: 1.6em; text-transform: none; color: #333; }

#NewCustomerContinue { margin-top: 20px; }

/* a.Button */
a.Button { cursor: pointer; background: #697979; border: 1px solid #697979; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; width: auto; padding: 6px 12px; color: #fff; font-size: 90%; }
a.Button:hover { background: #616161; border-color: #616161; color: #fff; text-decoration: none; }

/* shipping & payment */

h2#CheckoutConfirm { font-size: 1.6em; text-transform: none; color: #333; }

p.label { font-size: 1.6em; margin-top: 20px; }
form#Shipping label, form#Payment label { display: block; width: 100%; float: none; }
form#Shipping label input, form#Payment label input { float: left; vertical-align: middle; margin-right: 5px; width: auto; }
form#Shipping p.FormHelp, form#Payment p.FormHelp { clear: both; text-align: left; margin-top: 0; padding-top: 0; width: auto; }
form#Shipping .FormSubmit, form#Payment .FormSubmit { text-align: left;  width: auto; }
form#Payment .FormSubmit button { float: left; vertical-align: middle; margin-right: 10px; }
form#Payment .FormSubmit p.FormAltAction { line-height: 34px; width: auto; }

form#ContinueToPaymentForm label { width: 100%; }
form#ContinueToPaymentForm textarea { width: 300px; }
form#ContinueToPaymentForm p.FormHelp { clear: both; text-align: left; margin-top: 0; padding-top: 0; font-size: 90%; }
fieldset.FormSubmit { width: auto; text-align: left; }
fieldset.FormSubmit button { float: left; margin-right: 10px; }
fieldset.FormSubmit p.FormAltAction { line-height: 34px; width: auto; }

fieldset#ShoppingCartSubmit button { margin-right: 0; }

.vahvistus_tilaa form .FormItem { text-align: left; }

p.FormErrorMessage { margin: 30px 0 0; color: #f00; }

/* success */

fieldset#OrderFinished { width: auto; }
fieldset#OrderFinished h2 { font-size: 1.6em; color: #333; text-transform: none; }
fieldset#OrderFinished h3 { margin-top: 20px; }
fieldset#OrderFinished tr { margin-bottom: 10px; }
fieldset#OrderFinished th { border-bottom: 1px solid #aaa; }
fieldset#OrderFinished td { border-bottom: 1px solid #aaa; }

.aside { position: absolute; top: 92px; right: 0; width: 220px; margin-right: 40px; }
body.CheckoutConfirmation div.aside, body.CheckoutLoginStage div.aside { display: none !important; }

/* customerpages specialities */
dl#AccountInformation { width: 250px; margin-right: 20px; float: left; }
dl#OrderStatus dt, dl#OrderStatus dd { padding: 5px 0 0; font-size: 16px; }

/* footer */

div#footer { width: 800px; margin: 0 auto 40px; height: 6em; clear: both; background: transparent; color: #ddd; line-height: 1.5; text-align: center; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px; -moz-border-radius-bottomright: 5px; -moz-border-radius-bottomleft: 5px; font-size: 90%; }

#footer .nav { height: 2em; }
#footer .nav li a:link, #footer .nav li a:visited { border-top-right-radius: 0px; border-top-left-radius: 0px; -webkit-border-top-right-radius: 0px; -webkit-border-top-left-radius: 0px; -moz-border-radius-topright: 0px; -moz-border-radius-topleft: 0px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px; -moz-border-radius-bottomright: 5px; -moz-border-radius-bottomleft: 5px; }

#footer .nav ul.InfoNavigation li { margin-left: 0; margin-right: 1px; }
#footer .nav ul.InfoNavigation li.InfoPageID-1 { margin-left: 50px; }

#footer .nav ul.CustomerNavigation { float: right; }
#footer .nav ul.CustomerNavigation li { margin-right: 0; margin-left: 1px; }
#footer .nav ul.CustomerNavigation li:first-child { margin-left: 0; } 

#footer p { clear: both; margin: 20px 0 0; text-shadow: #555 1px 1px 1px; }
#footer p.address { margin: 10px 0 50px; }
#footer a { color: #fff !important; }

/* fx */
.nav li a, #cart, div.section form button span, .homepage div.section div.metaFunctions a, #footer p { -webkit-text-stroke: 1px transparent; }
@media only screen and (max-device-width:480px) {.nav li a, #cart, div.section form button span, .homepage div.section div.metaFunctions a, #footer p {-webkit-text-stroke:0 black;}}


/* Checkoutin maksuunsiirtymissivu
-------------------------------------------------------------- */

div.section form .CheckoutTransferToPayment { width: 31.3%; float: left; height: 120px; clear: none; text-align: center; margin: 0 2% 10px 0; padding: 0; }
div.section form .CheckoutTransferToPayment button {
	vertical-align: middle; 
	height: 120px; 
	width: 100%;
	padding: 0 10px; 
	text-align: center; 
	cursor: pointer; 
	background: #697979;
	border: none; 
	color: #fff;
	-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;
	-moz-box-shadow: 0 1px 2px #aaa; -webkit-box-shadow: 0 1px 2px #aaa; box-shadow: 0 1px 2px #aaa;
}
div.section form .CheckoutTransferToPayment button:hover { background: #616161; color: #fff; }
div.section form .CheckoutTransferToPayment button img {
	display: block; 
	padding: 4px; 
	background: #fff;
	border: none; 
	margin: 0 auto 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
