/* Product description column */
/* -------------------------- */

#model-title    { margin-bottom: 0; }
#model-title span {
    color: #999;
    display: block;
    font-size: 22px;
}

/* Product code */
#model-metadata
{
    color:#777;
    margin-bottom: 10px;
}
#model-rating
{
    margin-left: 25px;
}

#tabs {
    border-bottom:1px solid #e5e5e5;
    margin:10px 0 20px;
    overflow:hidden;
}
#tabs a:link, #tabs a:visited {
    display:block;
    float:left;
    border:1px solid #e5e5e5;
    color:#777;
    line-height:26px;
    padding:0 10px;
    text-decoration:none;
    margin:0 5px -1px 0;
}
#tabs a:hover { color:#d19c9c; }
#tabs a:active { outline:none; }
#tabs a.current { background:#e5e5e5; color:#000; }

#reviews .rating { margin:0 20px 0 -80px; }
#reviews li { margin-bottom:20px; padding-left:80px; }

.no-comments { color:#777; }

/* Product image */

#model-image-wrapper
{
    border: 1px solid #ddd;
    background-color: white;
    margin: -1px;
    position: relative;
    display: block;
}

#model-image, #model-manufacturer-logo
{
    max-width: 280px;
    display: block;
    margin: 0 auto;
}
a#model-image-wrapper:hover
{
    border-color: #ccc;
    -moz-box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px;
}
a#model-image-wrapper .zoom
{
    background-color: #ddd;
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 3px;
}
a#model-image-wrapper:hover .zoom { background-color: #ccc; }


/* Tags */

#model-tags
{
    margin-top: 5px;
    margin-bottom: 5px;
}


/* Product description */

#model-blurb
{
    margin-top: 10px;
}


/* Product ordering details */
/* ------------------------ */

/* Price */

#model-price
{
    line-height: 1.2;
    color: #4b9b05;
}

#model-price .current
{
    font-size: 40px;
    white-space: nowrap;
}
#model-price .original
{
    text-decoration: none;
    color: black;
    font-size: 20px;
    display: block;
}

#model-price .from
{
    font-size: 20px;
    line-height: 1.75;
    float: left;
    text-align: right;
    padding-right: 0.25em;
}

#model-price .your-price { display:block; }
#model-price .special
{
    padding-right: 68px;
    background: url("../img/buttons/fi/ale.png") 100% 50% no-repeat;
}

/* Joustoraha part payment price */

#model-part-payment-price {
    font-size: 14px;
    margin-top: 1em;
}
#model-part-payment-price .price {
    font-size: 18px;
}

/* Add-to-cart form */

#model-cart
{
    margin: 20px 0;
}

#model-cart table   { width: 195px; }
#model-cart td,
#model-cart th    { padding: 0 0 0.5em; }
#model-cart label { padding-right: 0.5em; }
#model-cart td    { text-align: right; }

#model-cart #id_quantity
{
    width: 2em;
    text-align: right;
}

#add-to-cart:hover,
#add-to-cart:focus  { opacity: 0.8; }
#add-to-cart:active { opacity: 0.7; }

#add-to-cart {
    cursor: pointer;
    -webkit-transition: opacity 0.2s ease-out;
    background:url("../img/buttons/fi/lisaa_ostoskoriin.png") no-repeat left top;
    border:0 none;  
    display:block;
    height:28px;
    line-height:0;
    margin:0;
    overflow:hidden;
    padding:0;
    text-indent:-9999px;
    width:195px;
}
#add-to-cart.en { background-image:url("../img/buttons/en/add_to_cart.png"); }
#add-to-cart.not-available { background-position:left -28px; cursor: default; }


/* Delivery info and availability */

#model-delivery-info p
{
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
    border-bottom: 1px solid #ddd;
}

#model-availability table     { width: 100%; font-size: 11px; }
#model-availability thead th
{
    text-align: center;
    color: #676464;
    background-color: #ddd;
    padding: 0.5em;
    text-shadow: rgba(255, 255, 255, 0.5) 0 1px 1px;
}
#model-availability td        { text-align: center; border-bottom: 1px solid #eee; }
#model-availability td.here   { background-color: #f6f6f6; }
#model-availability th.here   { color: black; }

#model-availability p.success   { background-color: #37B10E; padding: 4px; }
#model-availability p.error     { background-color: #E35A5C; padding: 4px; }

.model-availability-key     { color: #999; text-align: center; font-size: 11px; margin: 1em 0; }
.model-availability-key h4  { margin: 0; display: inline; }
.model-availability-key ul  { display: inline; margin: 0; padding: 0; list-style: none; list-style-image: none; }
.model-availability-key li  { display: inline; margin-left: 0.5em; white-space: nowrap; }


/* Related products */

#models-related, #models-other-parts
{
    clear: both;
    padding-top: 20px;
}

/* Badges */

.badge  { vertical-align: middle; }
