﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

footer {
    position: fixed;
    bottom: 0;
    height: 30px;
    width: 100%;
    text-align: center;
    color: #000;
    background-color: #fff;
}

.button-wrapper .btn {
    margin-bottom: 15px;
}

/* Validation error styles*/
.field-validation-error {
    color: #f00;
}
.field-validation-valid {
    display: none;
}
.input-validation-error {
    border: 1px solid #f00;
    background-color: #fee;
}
.validation-summary-errors {
    font-weight: bold;
    color: #f00;
}
.validation-summary-valid {
    display: none;
}

/* Accessories tab styles*/
.item-grid:after {
	content: "";
	display: block;
	clear: both;
}
.item-box {
	position: relative;
	width: 100%;
	float: left;
	margin: 0 0 80px;
}

.item-accessory .picture{
    border: 1px solid blue;
    height: 250px;
    width:250px;
    padding: 20px;
}

.item-accessory .picture .acc-img{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.accessory-grid .item-box {
	width: 24%;
	margin: 0 0.5% 50px;
}

.accessory-grid .item-box:nth-child(3n+1) {
	clear: none;
}

.accessory-grid .item-box:nth-child(4n+1) {
	clear: both;
}

/* Order tab styles*/

.table-wrapper {
	overflow-x: auto;
}

.fan-acc-panel {
    overflow-y: hidden !important;
    overflow-x: hidden;
    margin-bottom: 50px;
}

.cart {
    margin: 0 2.5%;
    width: 70%;
}

.cart th {
	border-width: 1px 1px 0;
	border-style: solid;
	border-color: #ddd;
    background-color: #f6f6f6;
    padding: 10px;
    white-space: nowrap;
	font-weight: normal;
}

.cart td {
	min-width: 50px;
	border-width: 1px;
	border-style: solid;
    border-color: transparent #ddd #ddd;
    background-color: #fff;
    padding: 20px;
	color: #444;
    text-align:right;
}

.cart .product {
    width: 250px;
	text-align: left;
}

.cart .product-id {
    white-space: nowrap;
    width: 100px;
}

.cart .unit-price,
.cart .subtotal {
    white-space: nowrap;
    width: 120px;
}
.cart .quantity input {
    width: 50px;
    text-align: center;
}

.cart .product-picture {
    width: 140px;
}

.cart .percentage {
    width: 50px;
    text-align: right;
    display: inline-table;
}

.cart .percentage-cell {
    float: right;
}

.cart-footer {
	margin: 0 0 20px;
    padding-left: 700px;
}

.cart-footer:after {
	content: "";
	display: block;
	clear: both;
}

.cart-footer .cart-total {
	float: right;
    width: 350px;
	max-width: 100%;
	background-color: #f9f9f9;
	padding: 10px;
	color: #444;
}    

.cart-total td {
	width: 50%;
	padding: 5px 0;
	text-align: right;
}

.cart-total-right .percentage {
    width: 50px;
    text-align: right;
    display: inline-table;
}

.cart-total-right .percentage-cell {
    float: right;
}
.cart-total-right .value-summary {
    margin-right: 12px;
}

.cart-total .offer-totals {
	font-size: 20px;
	color: #4ab2f1;
}

