/*  
Description: Styles for the product detail pages on the cannondalespares.com website
Author: Jamie Wightman
Copyright (c) 2013 Revel Outdoors Ltd.
Author URI: http://jamiewightman.com/
*/


#productDetail {
    float: left;
    width: 100%;
    position: relative;
    border-bottom: 0px;
    background-color: #ffffff;
}

#productDetailImageBorder {
    background-color: #ffffff;
    width: 100%;
    float: left;
    text-align:center; 
    margin-right: 10px;
}

#productDetailImageBorder p {
    font-size: 1.0em;
    text-align: center;
}

#productDetailImageBorder a {
    text-decoration: none;
}

#productDetailImage img {
    width: 100%;
    max-width: 400px;
    max-height: 600px;
}

#productDetailInfo {
    float: left;
    width: 100%;
    margin-left: 0px;
}

#productDetailBasket {
    float: left;
    width: 100%;
    margin-top: 0px;
}

#productDetailSale {
    float: left; 
    top: 10px; 
    left: 10px; 
    position: relative;
}

#purchaseOptions {
    margin: 0px;
    width: 100%;
    border-top: 1px solid #cccccc;
}

.purchaseOptionsRow {
    padding-bottom: 10px;
    padding-top: 10px;
    float: left;
    width: 100%;
    border-bottom: 1px solid #cccccc;
    margin-right: 10px;
}

.purchaseOptionsRow:hover {
    background-color: #eeeeee;
}

.purchaseOptionsVariety {
    float: right;
    width: 62%;
    width: fit-content;
    /*border: 1px solid;*/
}

.purchaseOptionsVariety p {
    text-align: center;
}

.purchaseOptionsButton {
    width: 30%;
    float: right;
    text-align: center;
    margin-right: 20px;
    margin-top: 10px;
}

.purchaseOptionsButton a, .purchaseOptionsButton p {
    font-size: 1.6em;
    width: 80px;
}


.productDescriptionText {
    margin-top: 35px;
    padding: 10px;
    border: 1px solid #cccccc;
    border-top: 0px;
    background-color: #ffffff;
    clear: left;
}

#productDescriptionText h3 {
    border-top: 1px dashed #cccccc;
    margin-top: 20px;
    color: #CC6600;
}

#productSocial {
    padding: 10px;
    float: left;
    max-width: 280px;
    border: 1px solid;
}

.productDelivery {
    float: left;
    width: 100%;
    border: 1px solid #cccccc;
    margin-bottom: 10px;
    margin-top: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.productDelivery h4 {
    color: #999999;
    margin: 10px; padding: 0px;
}
.productDelivery p {
    color: #999999;
}

#productDetailDescription {
    margin-top: 10px;
    float: left;
    color: #666666;
    width: 100%;
    margin-bottom: 20px;
}

#productTabDescription a:hover,  #productTabSpecs a:hover {
    text-decoration: underline;
}

#specs {
    margin-left: 20px;
    margin-bottom: 20px;
    border-collapse: collapse;
    text-align: left;
    font-size: 1.2em;
}

#specs td {
    border-bottom: 1px dashed #cccccc;
    padding: 5px;
}

#zoomWindow {
    z-index: 200; 
    position: fixed; 
    left: 1%; 
    top: 1%; 
    width: 97%; 
    height: 97%; 
    background-color: #ffffff; 
    border: 1px solid #cccccc;
    display: none;
}

#zoomImage {
    text-align: center; 
    width: 97%;
    height: 97%
}

#zoomImage img {
    margin-top: 20px;
    max-width: 95%;
    max-height: 95%;
}

#zoomClose {
    z-index: 400; 
    float: right; 
    position: absolute; 
    top: 5px; 
    right: 10px;
    font-size: 2.0em;
}

.productDescriptionText img {
    max-width: 260px;
}

@media only screen and (min-width: 560px) {      
    .productDescriptionText img {
        max-width: 400px;
    }

    .purchaseOptionsButton {
        width: 30%;
    }

    .purchaseOptionsButton a, .purchaseOptionsButton p {
        width: 140px;
    }
    
    .purchaseOptionsVariety {
        width: 62%;
    }
}

@media only screen and (min-width: 960px) {
    .productDescriptionText img {
        max-width: 100%;
    }

    #productDetailImageBorder {
        width: 48%;
    }
    
    #productDetailInfo {
        width: 50%;
    }
}

