body {
    font: 9pt Verdana, Arial, Helvetica, sans-serif;
    background: #ffffff url('../img/bg.png') repeat-y 0 0;
}

a {
    text-decoration: none;
    color: #0000ff
}

a:hover {
    text-decoration: underline
}

a img {
    border: 0;
    vertical-align: middle;
}

[hidden] {
    display: none !important;
}

.button {
    border: 1px outset #999999;
    border-radius: 3px;
    box-shadow: 0 15px 20px -20px #000000 inset;
    font-weight: bold;
    font-family: Roboto, sans-serif;
    font-size: 13px;
    color: #000000;
    padding: 1px 5px 2px 5px;
    display: inline-block;
    text-transform: uppercase;
}

.button:hover {
    text-decoration: none;
    border-color: #cccccc;
}

.button:active {
    border-style: inset;
}

.uppercase {
    text-transform: uppercase;
}

#header {
    background-color: #ffffff;
    height: 90px;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
}

#header nav.languages {
    float: right;
    margin: 5px;
}

#header nav.languages a {
    display: block;
    float: left;
    margin-left: 5px;
}

#header h1 {
    float: left;
    margin: 0;
    width: 175px;
    height: 90px;
    line-height: 90px;
    text-align: center;
    vertical-align: middle;
}

#header h1 a {
    display: inline-block;
    vertical-align: middle;
}

#header h1 a img {
    display: block;
}

#header #headright {
    float: left;
    margin: 0;
}

#headbar {
    clear: both;
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background-color: #6186af;
    height: 30px;
    width: 100%;
    z-index: 9;
}

#headbar div {
    float: left;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    line-height: 30px;
}

#headbar div p {
    margin: 0 5px;
}

#headbar a.cartbutton {
    position: absolute;
    right: 0;
    top: 0;
    margin: 4px 10px 0 0;
    background: #ffffff url('../img/cart_small.png') no-repeat 5px 50%;
    padding-left: 20px;
}

#sidebar {
    position: fixed;
    top: 120px;
    left: 0;
    bottom: 0;
    width: 175px;
    float: left;
    background-color: #b7cddf;
    z-index: 10;
}

#sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: Arial, sans-serif;
}

#sidebar ul li {
    line-height: 30px;
    height: 30px;
    font-weight: 700;
    font-size: 13px;
    font-family: Roboto, sans-serif;
    border-bottom: 1px solid #ffffff;
}

#sidebar ul li.header {
    background: #34646c url('../img/arrow_white.png') no-repeat 0 50%;
    color: #ffffff;
    padding-left: 37px;
}

#sidebar ul li.subheader {
    padding: 0 0 0 10px;
    border-bottom: none;
}

#sidebar ul li a {
    color: #000000;
    display: block;
    width: 155px;
    padding: 0 10px;
}

#sidebar ul li a span {
    font-size: 0.85em;
}

#sidebar ul li a:hover {
    text-decoration: none;
    background-color: #d0d9e0;
}

#sidebar p {
    font-size: 11px;
    letter-spacing: 1px;
    margin: 10px;
}

#sidebar form {
    padding: 10px;
    border-bottom: 1px solid #ffffff;
}

#sidebar form label {
    font-weight: 700;
    font-size: 13px;
    font-family: Roboto, sans-serif;
}

#sidebar form input[type="text"],
#sidebar form input[type="password"],
#sidebar form input[type="search"] {
    width: 150px;
}

#sidebar form select {
    width: 155px;
}

#sidebar form input[type="submit"] {
    margin-top: 5px;
    width: 80px;
    text-align: left;
    background: #ffffff url('../img/submit_arrow.png') no-repeat 100% 50%;
}

#content {
    min-width: 465px;
    margin-top: 120px;
    background-color: #ffffff;
    padding: 10px 10px 40px 10px;
    border-left: 175px solid #b7cddf;
}

h3 {
    color: #707070;
    font: 700 19px Verdana, sans-serif;
    margin-bottom: 20px;
}

h4 {
    color: #000000;
    font: 700 15px Verdana, sans-serif;
    margin-bottom: 5px;
}

/* Etusivu */
#infopage {
    max-width: 700px;
    padding: 10px;
    letter-spacing: 1px;
}

#infopage p {
    margin-bottom: 20px;
    line-height: 1.32em;
}

#infopage ul {
    list-style: none;
    margin-bottom: 20px;
    padding: 0;
}

#infopage .right + ul.hasmargin {
    margin-right: 160px;
}

#infopage ul li.header {
    font-weight: bold;
    margin-top: 20px;
}

#infopage ul li.leftmargin {
    margin-left: 15px;
}

#infopage ul li.arrow {
    background: transparent url('../img/arrow_orange.png') no-repeat 0 50%;
    padding-left: 15px;
}

#infopage ul.hasmargin li {
    margin-bottom: 15px;
}

/* Kaupan sis�lt� */
#content p {
    margin-bottom: 15px;
}

#content h3:first-child,
#infopage h3:first-child {
    margin-top: 0;
}

#infopage {
    font: normal 11pt Calibri;
}

#infopage ul.header {
    font: bold 10pt Verdana;
}

/* Kaupan tuotelista */
.products {
    border-spacing: 0;
    width: 100%;
}

.products th {
    background-color: #34646c;
    font-size: 1.05em;
    color: #ffffff;
    padding: 5px;
    text-align: left;
    vertical-align: bottom;
}

.products tr .price {
    text-align: right;
}

.products tr td {
    padding: 5px;
    vertical-align: top;
}

.products tr td form {
    display: inline;
}

.products tr td form {
    padding-top: 5px;
}

.products tr td a {
    color: black
}

input.productcount {
    width: 42px;
    font-size: 1.2em;
    font-family: Verdana, sans-serif;
    padding: 2px;
}

.products .addtocart {
    margin-top: 5px;
    text-align: center;
    font-size: 0.7em;
}

.products .photo {
    text-align: center;
}

.products .productcount.green {
    background-color: #aaffaa;
    border: 1px solid #cccccc;
}

.menu {
    font-weight: bold;
    font-size: 1.1em;
}

.menu .current {
    color: #000000;
}

.addtocartbutton {
    width: 40px;
}

/* Ostoskori */
table.cart {
    border-spacing: 215px !important;
    width: 100%;
}

table.cart th {
    background-color: #34646c;
    text-align: left;
    color: #ffffff;
    padding: 2px 1px;
}

table.cart td {
    padding: 2px 1px;
}

table.cart td a {
    color: black;
}

table.cart .cartstatus {
    width: 16px;
}

.silver,
table.cart tr:nth-of-type(odd),
table .cart tr.odd {
    background-color: #e2e2e2;
}

.right {
    float: right !important;
}

/* Rekister�idy */
.regerror {
    font-size: 16px;
    color: red;
    font-weight: bold;
}

.red {
    color: red;
}

#submitorder label,
#register label {
    display: inline-block;
}

#register label {
    width: 160px;
}

#submitorder div label {
    width: 200px;
}

#showpricescheckbox label {
    width: auto !important;
    padding-right: 5px;
}

#submitorder div,
#register div {
    margin-bottom: 5px;
    display: block;
}

#submitorder #orderby,
#submitorder #reference,
#submitorder #shipto-name,
#submitorder #shipto-dept,
#submitorder #shipto-address,
#submitorder #orderconfirmationemail,
#submitorder #delivery-notification-type,
#submitorder #shipto-notification-email,
#submitorder #shipto-notification-sms,
#register #company-company,
#register #company-dept,
#register #company-address,
#register #billing-company,
#register #billing-dept,
#register #billing-address,
#register #contact-person,
#register #contact-email,
#register #other-orderconfirmationemail {
    width: 320px;
}

#register #company-city,
#register #company-phone,
#register #company-vatnumber,
#register #billing-city,
#register #contact-phone,
#register #other-password,
#register #other-passwordre {
    width: 150px;
}

#submitorder #shipto-city {
    width: 239px;
}

#submitorder #shipto-postalcode,
#register #company-postalcode,
#register #billing-postalcode {
    width: 70px;
}

#register #other-devicecount {
    width: 20px;
}

#register #other-orderconfirmationemail {
    margin: 0 0 5px 160px;
}

#register #other-terms {
    margin-top: 20px;
}

#register input + .red {
    margin-left: 5px;
}

#register .button + .red {
    margin-left: 300px;
}

/* L�het� tilaus */
.shippingmethods {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5em 0;
}

.shippingmethods li {
    display: inline;
    width: auto;
}

.shippingmethods li label {
    width: auto;
    min-width: 10em;
    max-width: none !important;
    margin-bottom: 3px;
}

#submitorder .topmargin {
    margin-top: 30px;
}

#submitorder #notes {
    width: 520px;
    height: 80px;
}

tr .countinput {
    width: 50px
}

tr .addtocartbutton {
    width: 50px
}

/* Tuotesivu */
.box {
    border: 1px solid #aaaaaa;
    border-radius: 3px;
    box-shadow: 5px 5px 10px -10px #000000;
    background-color: #fafafa;
    margin-bottom: 10px;
}

#productphoto {
    float: left;
    width: 380px;
    height: 350px;
    margin-right: 10px;
    text-align: center;
}

#productphoto a {
    cursor: zoom-in;
}

#productphoto span {
    border-top: 1px solid #aaaaaa;
    background-color: #6186af;
    display: block;
    padding: 5px;
    font: 14px Roboto;
    color: #ffffff;
}

#productphoto a:hover {
    text-decoration: none;
}

#productphoto .img {
    width: 380px;
    height: 320px;
    margin: auto;
    background-color: #ffffff;
    display: table-cell;
    vertical-align: middle;
}

#productphoto img {
    border-radius: 3px;
    max-width: 380px;
    max-height: 320px;
    display: block;
    margin: auto;
}

#addtocart {
    float: left;
    width: 380px;
    height: 350px;
}

#addtocart h4,
#productinfo h4 {
    font-size: 14px;
    padding: 5px 10px;
    margin: 0;
    border-bottom: 1px solid #aaaaaa;
    background-color: #b7cddf;
}

#addtocart .price {
    margin: 10px;
    padding: 10px;
    box-shadow: 4px 4px 10px -2px #000000;
    background-color: #ffffff;
    border-radius: 5px;
}

#addtocart .price span.a {
    font-size: 14px;
    font-weight: bold;
    display: block;
}

#addtocart .price span.b {
    font-size: 18px;
}

#addtocart .notice {
    margin: 10px;
}

#addtocart .notice span {
    display: block;
    font-size: 14px !important;
}

#addtocart p {
    margin: 10px;
}

#addtocart .add {
    margin: 40px 10px 10px 10px;
}

#addtocart .add label {
    font-weight: bold;
}

#addtocart .add input {
    font-size: 12px;
}

#addtocart .add input.green {
    background-color: lightgreen;
    border: 1px solid #aaaaaa;
}

#addtocart .add button {
    margin-top: 5px;
    display: block;
}

#addtocart .addedtocart {
    float: right;
    text-align: center;
}

#productinfo {
    display: block;
    max-width: 772px;
}

#productinfo p {
    display: table-row;
}

#productinfo p span {
    padding: 10px;
    display: table-cell;
    border-bottom: 1px solid #cccccc;
}

#productinfo p span.c {
    font-weight: bold;
    white-space: nowrap;
    padding-right: 0;
}

#productinfo p span.d {
    width: 100%;
}

#productinfo .longdesc {
    margin: 10px;
}

#productinfo .longdesc span.e {
    font-weight: bold;
}

#productinfo .longdesc span.f {
}

#productinfo hr {
    margin: 0;
    border: 0;
    border-bottom: 1px solid #cccccc;
}

.qtip {
    max-width: 300px;
}

.qtip img {
    max-width: 100%;
    max-height: 100%;
}

.qtip .qtip-tip {
    display: none !important;
}


/* Tulostaminen */
@media print {
    #sidebar, #headbar, #header, button, .countinput, .photo, .addtocartbutton {
        display: none !important
    }

    #content {
        border-left: none;
        margin-top: 0
    }

    .products tr.odd td {
        border-top: 1px solid black
    }
}
