/*
 * Styling for shop
*/

#body
{
	height: 1500px;
}

/*
 * Products page
 */
 
#content .products
{
	height: 1100px; 
	overflow: auto;
}

#content .products tr
{
	border-bottom: 1px dotted gray;
}

#content .products td
{
	padding-right: 10px;
}

#content .products img.product
{
	width: 300px;
}

#content .products img.thumb
{
    padding: 8px;
    width: 72px;
}

#content .products .MagicScroll
{
    margin-bottom: 20px;
}

#content .products .item
{
	border-bottom: 1px dotted gray;
}

/*
 * Build product start
 */

.build_product_start
{
	float: right;
	padding: 5px;
}

.build_product_start input.other_button
{
    padding: 5px;
}

.build_product_start input.build_product_button
{
    background: url('../img/shop_now_button.png') no-repeat;
    cursor: pointer;
    width: 100px;
    height: 30px;
    border: none;
    margin-top: 25px;
}

/*
 * Build product stage
 */

#build_product_stage fieldset
{
	margin-bottom: 10px;
}

#build_product_stage #product_image
{
	float: left;
	margin-right: 20px;
}

#build_product_stage #product_image img
{
	width: 300px;
}

#build_product_stage #product_description
{
	margin-left: 320px;
}

#build_product_stage #build_progress_bar {
	margin: 0 0 20px 0;
    width: 100%;
    display: block;
    clear: both;
    position: relative;
}
#build_product_stage #build_progress_bar:before {
    width: 100%;
    height: 1px;
    content: "";
    border-top: 1px dotted #aaa;
    position: absolute;
    left: 0;
    top: 15px;
}




#build_product_stage #build_progress_bar:after {
    content: "";
    display: table;
} 
#build_product_stage #build_progress_bar:after {
    clear: both;
}
#build_product_stage #build_progress_bar {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}
.progress-number {
    background: #fff;
    border: 1px solid #aaa;
    width: 28px;
    height: 28px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    display: block;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 5px;
    padding-top: 4px;
}
.current_stage {
    color: #66cc00;
}
.current_stage .progress-number {
    border-color: #66cc00;
    background: #66cc00;
    color: #fff;
}



#build_product_stage #build_progress_bar .current_stage,
#build_product_stage #build_progress_bar .stage
{
    width: 33.3%;
    float: left;

}

#build_product_stage #build_progress_bar .current_stage
{

}

#build_product_stage #version-label
{
	height: 42px;
}

#product_builder_stage_1_form #engraving_type-label
{
    padding-top: 4px;
}

#product_builder_stage_2_form table
{
	/*margin-top: 10px;*/
	width: 100%;
}

#product_builder_stage_2_form td
{
	vertical-align: top;
}

#product_builder_stage_2_form td.left
{
	width: 60%;
}

#product_builder_stage_2_form td.right
{
	width: 40%;
}

#product_builder_stage_2_form td div
{
	margin-bottom: 5px;
}

#product_builder_stage_2_form #custom_id_url
{
	text-align: center;
}

#product_builder_stage_2_form #submit_buttons
{
	text-align: center;
	padding-top: 10px;
}

/*
 * Shopping basket
 */

/* Navigator */

.shopping_basket_navigator
{
	margin: 10px 0;
	text-align: right;
	width: 100%;
    padding: 6px;
    border: 2px solid #ddd;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.shopping_basket_navigator form
{
	display: inline;
}

/* Content */

#shopping_basket_content
{
border: 2px solid #ddd;
    -webkit-border-radius: 4px;
    border-radius: 4px;
	width: 100%;
}

#shopping_basket_content a:link, 
#shopping_basket_content a:visited, 
#shopping_basket_content a:active
{
	color: #66cc00;
}

#shopping_basket_content a:hover
{
	color: black;
}

#shopping_basket_content table
{
    width: 100%;
}

#shopping_basket_content img
{
	margin-right: 20px;
	width: 200px;
    max-width: none;
}

#shopping_basket_content .item
{
	border-bottom: 1px dotted gray;
	width: 100%;
}

#shopping_basket_content table#card_info,
#shopping_basket_content table#tag_info
{
    border: 1px dotted gray;
    margin: 5px 0 5px 10px;
    padding: 5px;
    width: 90%;
}

#shopping_basket_content table#card_info .card_info_left,
#shopping_basket_content table#card_info .card_info_right
{
    width: 50%;
}

#shopping_basket_content table#tag_info td
{
    vertical-align: top;
}

#shopping_basket_total
{
	padding: 10px 20px 10px 0;
	text-align: right;
    line-height: 1.33;
}

/* Suggestions */

#shopping_basket_suggestions
{
	border: 2px solid #ddd;
    -webkit-border-radius: 4px;
    border-radius: 4px;
	font-size: 0.9em;
	overflow: auto;
	width: 100%;
}

#shopping_basket_suggestions_content
{
	padding: 20px;
    position: relative;
}

#shopping_basket_suggestions_text
{
	font-size: 1.2em;
	font-weight: bold;
	padding: 20px 0;
}

#shopping_basket_suggestions_content table
{
	text-align: center;
	width: 100%;
}

#shopping_basket_suggestions_content td
{
	width: 33%;
}

#shopping_basket_suggestions_content .build_product_start
{
	float: none;
}

#shopping_basket_suggestions_content .MagicScroll img
{
    padding: 5px;
    width: 200px;
}

/*
 * Checkout
 */

#checkout_page_content
{
    font-size: 0.8em;
}

#checkout_form dt
{
	width: 250px;
}
#checkout_form .terms_and_conditions a
{
    font-size: 0.8em;
}

#checkout_form .discount_code
{
    margin-top: 20px;
}

#checkout_form .address
{
	width: 250px;
}

#checkout_form #post_code
{
	width: 100px;
}
#payment-options
{
    text-align: left;
}
#payment-options img {
    margin-left: 51%;
}
/*
 * Payment
 */
#make_payment_form
{
	text-align: left;

}

#make_payment_form input[type="submit"]
{

}

/*
 * Checkout and Payment
 */

#checkout_progress_bar {
    margin: 30px 0;
    position: relative;
    width: 100%;
    display: block;
    font-size: 16px;
}
#checkout_progress_bar:before {
    border-top: 1px dotted #aaa;
    content: "";
    height: 1px;
    left: 0;
    top: 15px;
    position: absolute;
    width: 100%;
}
#checkout_progress_bar:after {
  content: "";
  display: table;
  clear: both;
}
#checkout_progress_bar .stage {
    float: left;
    width: 33.33%;
    font-size: 16px;
    position: relative;
    z-index: 10;
    
}
#checkout_progress_bar .stage .progress-digit {
    border: 1px solid #aaa;
    background: #fff;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    display: block; 
    height: 28px;
    width: 28px;
    text-align: center;
    padding-top: 4px;
margin-bottom: 5px;
}
#checkout_progress_bar .current_stage {
    float: left;
    width: 33.33%;
}
#checkout_progress_bar .current_stage .progress-digit {
    border: 1px solid #66cc00;
    background: #66cc00;
    color: #fff;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    display: block; 
    height: 28px;
    width: 28px;
    text-align: center;
    padding-top: 4px;
margin-bottom: 5px;
}

/*
 * Postage rates
 */

p.postage_rates_container
{
    border: 1px dotted #808080;
    padding: 10px;
    margin-top: 235px;
    width: 67%;
}

p.postage_rates_container a.postage_rates
{
    font-size: 0.8em;
}

a.postage_rates, #postage_rates_dialog a
{
    font-weight: normal;
}

#sidebar a.postage_rates:link, #postage_rates_dialog a:link,
#sidebar a.postage_rates:visited, #postage_rates_dialog a:visited,
#sidebar a.postage_rates:active, #postage_rates_dialog a:active
{
    color: black;
}

#sidebar a.postage_rates:hover, #postage_rates_dialog a:hover
{
    color: #66cc00;
}

#postage_rates_dialog table
{
    width: 100%
}

#postage_rates_dialog th
{
    text-align: left;
    width: 33%
}
.item h2 {
    font-size: 1.3em;
    padding: 16px 0 10px 0;
}
.item div, .shopping_basket_total div {
    line-height: 1.33;
}
#checkout_form fieldset, #braintree-payment-form fieldset, #paypal-payment-form fieldset {
    width: 100%;
    border-bottom: 2px solid #ccc;
    margin-bottom: 16px;
    display: block;
    padding: 1em;
    background: #eee;
}
#checkout_form fieldset:after, #braintree-payment-form fieldset:after,  #paypal-payment-form fieldset:after {
  content: "";
  display: table;
  clear: both;
}
#checkout_form fieldset legend, #braintree-payment-form fieldset legend,  #paypal-payment-form fieldset legend {
    display: block;
    font-size: 1.3em;
    background: #eee;
    padding: 5px;
    padding-bottom: 16px;
    float: left;
}
#checkout_form fieldset dl.zend_form dd, 
#checkout_form fieldset dl.zend_form dt,
#braintree-payment-form fieldset dd,
#braintree-payment-form fieldset dt{
    width: 100%;
    display: block;
}
#checkout_form fieldset dl.zend_form dt, #braintree-payment-form fieldset dt, #paypal-payment-form fieldset dt {
    padding-bottom: 3px;
    width: 49%;
    float: left;
    margin-right: 2%;
    text-align: right;
}
#checkout_form fieldset dl.zend_form dd, #braintree-payment-form fieldset dd, #paypal-payment-form fieldset dd {
    padding-bottom: 5px; 
    width: 49%;
    float: left;
}
#checkout_form fieldset dl.zend_form dd input[type="text"], 
#checkout_form fieldset dl.zend_form dd select, 
#paypal-payment-form fieldset dd select,
#paypal-payment-form fieldset dd input[type="text"]{
    width: 100%;
    height: 24px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #555;
}
#check_discount_code {
    margin-top: 10px;
}
.item_h2{font-size: 0.92em;font-weight: bold;text-align:center;margin-top: -16px;}
.item_a {
    color: green;
    text-decoration: none;
    border-bottom: solid 1px #000;
}
/************ shop media queries **************/



@media screen and (max-width: 767px) {
    #build_product_stage #build_progress_bar span {
        font-size: .9em;
    }
    .progress-number {
        padding-top: 6px;
    }
    #shopping_basket_content table tr td {
        display: block;
        width: 100%;
        padding: 10px;
    }
    .shopping_basket_navigator form input[type="submit"].btn.btn-primary {
        width: 100%;
        margin-bottom: 5px;
        padding-top: 4px;
        padding-bottom: 4px;
    }
    .shopping_basket_navigator {
        padding-bottom: 1px;
    }
    #shopping_basket_content img {
        display: block;
        margin: 0 auto;
    }
    #checkout_form fieldset dl.zend_form dt {
    width: 100%;
    float: none;
    margin-right: 0;
    text-align: left;
    display: block;
}
#checkout_form fieldset dl.zend_form dd {
    width: 100%;
    float: none;
    display: block;
}
#payment-options img {
    margin-left: 0;
}
}
@media screen and (max-width: 479px) {
    #build_product_stage #build_progress_bar span {
        font-size: .8em;
    }

}

