.thumbnails>li {
    float: none;
    display: inline-block;
}
.thumbnails{
    text-align:center;
}
.product-list li {
    float:none;
    display: block;
    width: 100%;
    text-align: left;
}
.product-list li img {
    display: inline;
    box-shadow: none;
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	height: 100%;
}
.product-list li h6 {
    display: inline;
}
#category .product-list li a {
    display:inline-block;
    height: auto;
    width: auto;
    padding: 0;
}
#category .product-list li a.thumbnail {
	height: 100px;
	width: 100%;
}
body .product-list .row {
    background: none;
}
body .product-list .span2 {
    text-align: center;
    width: 170px !important;
}
body .product-list .row {
    margin-bottom: 15px;
}
.product-list div.price {
    text-align: right;
}
.btn-large {
    color: #fff;
    text-shadow: none;
}
#body_page a.btn.btn-large, a.btn.btn-large, .btn {
    background: url(/static/images/menu-top-background.png) 0 0 repeat-x;
    color: #fff;
    text-decoration: none;
    text-shadow: none;
}
#body_page a.btn.btn-large:hover, a.btn.btn-large:hover, .btn:hover,
#body_page a.btn.btn-large:active, a.btn.btn-large:active, .btn:active {
    text-decoration: underline;
    color: white;
    background: url(/static/images/menu-top-background.png) 0 0 repeat-x;
}
td.buttons {
    padding: 0;
    padding-top: 2px;
}

td.buttons .btn {
    margin-left: 0;
    padding: 4px;
}

.product-image-full {
	max-width: 60%;
}
.product-image-full img {
	max-height: 60%;
}

#product-images-thumb .row {
	width: 100%;
}

#product-images-thumb a.thumbnail {
	border: none;
	box-shadow: none;
}

#product-images-thumb a img {
	box-shadow: 0 0 10px #bbb;
	border-color: #ddd;
}

#product-images-thumb .no-background {
	background: none;
}

.container {
	max-width: 950px;
	width: 950px;
}

.placeholder {
	height: 90px;
}

#related-products.thumbnails span.price {
	display: inline-block;
	margin-top: 30px;
	font-size: 95%;
}

#related-products.thumbnails a {
	height: 200px;
}

.search {
	text-align: center;
}
.navbar-search {
	margin: auto;
	float: none;
	max-width: 200px;
}

.navbar-search input {
	width: 100%;
	max-width: 160px;
}

#backParent ul {
	list-style: none;
	margin-left: 0;
}

h2.cart-heading {
	clear: both;
}

.form-horizontal .controls {
	margin-left: 0;
}

.confirmation legend {
	text-indent: 8px !important;
	margin-bottom: 0;
}

#checkout-form .confirmation label {
	display: inline-block;
	min-width: 88px;
	width: auto;
	padding: 5px 10px 0 0;
}

#pin_credit_card_details #checkout-form label {

}

#checkout-form ul li div {
	display: inline-block;
}

#checkout-form li {
	color: #777;
}

.confirmation ul {
	margin: 10px;
}

.confirmation {
	width: 46% !important;
}

.form-horizontal .control-label {
	padding-right: 10px;
}

#checkout .left {
	display: initial !important;
}

#checkout .checkout-panel {
	float: left;
	margin: 0;
}

#checkout .checkout-panel li {
	padding: 10px 5px;
}

.order-totals {
	float: none;
}

#checkout .checkout-panel .order-totals {
	text-align: center;
	color: #FFF;
	font-weight: bold;
	font-size: 110%;
}

#checkout .checkout-panel .btn {
	float: none;
	margin: 0;
}

#checkout .checkout-panel li {
	border-bottom: none;
	color: white;
	font-size: 12px;
	text-align: left;
}

#checkout .checkout-panel img {
	margin-bottom: 5px;
}

#checkout .checkout-panel .price {
	width: 100%;
	text-align: right;
	margin-bottom: 5px;
	padding-right: 5px;
}

.input_id_same_billing_shipping label, .input_id_remember label {
	margin: 0;
}

.input_id_same_billing_shipping input, .input_id_remember input {
	margin-top: -2px !important;
}

#checkout-form .control-group input[type='checkbox'] {
	width: auto;
	margin-top: 9px;
	display: inline-block;
}

#checkout-form .control-group label {
	display: inline-block;
}

.discount-form.form-horizontal .control-group.input_id_discount_code {
	width: auto;
}

.discount-form.form-horizontal .control-group.input_id_discount_code .help-inline {
	display: block;
	text-align: right;
	padding-right: 2px;
}

.form-horizontal .control-group.input_id_discount_code {
	margin-bottom: 0;
	width: 100%;
}

.input_id_discount_code, .form-horizontal .input_id_discount_code .controls, .input_id_discount_code label, .input_id_discount_code input {
	display: inline-block;
}

.form-horizontal .input_id_discount_code .controls {
	width: 100%;
}

.discount-form input.btn {
	display: inline-block;
	float: none !important;
	margin-top: -48px;
}

#checkout-form .form-actions {
	margin-top: 0 !important;
}

#checkout-form {
	margin-top: 16px;
}

#add-cart .control-group ul {
	float: left;
}

#checkout-form .control-group.input_id_credit_card .controls label.control-label {
	display: none;
}

select.expiry {
	width: 202px;
}

#pin_credit_card_details .errors {
	margin-bottom: 20px;
}

.alert {
	margin-bottom: 0;
	margin-top: 5px;
}

.alert .close {
	color: #3a87ad;
}

.span2.left.after {
	display: none;
}
.span2.left.before {
	display: block;
}

form div.controls label {
	word-wrap: break-word;
}

textarea.xlarge {
	width: 100%;
	max-width: 480px;
}


@media (max-width: 979px) {
    .container {
        width: auto;
    }
    .span2 {
    	width: 100% !important;
    	background: url(/static/images/menu-top-background.png) no-repeat;
    	background-size: 100%;
    }
    body .container .row {
    	background: none;
    	width: 100%;
    }
    .nav-collapse.in.collapse {
    	background: url(/static/images/menu-top-background.png) no-repeat;
    	background-size: 100%;
    	margin-top: 4px;
    	border: 1px solid white;
    	z-index: 100;
    }
    #body_page {
		width: auto;
		padding: 0 24px;
		margin-left: 0px;
	}
	.form-horizontal .control-label {
		width: auto;
	}
	.form-shop .form-actions-wrap {
		margin-left: 0;
	}
	.form-shop .form-actions {
		margin: 5px 0 !important;
	}
	.editable-original {
		width: 100%;
		margin: 0;
	}
	body {
		width: 100%;
		margin: 0;
		padding: 0;
	}

	#header #logo-title a {
		width: 100%;
		background: url(/static/images/logo-luke-apthorpe-family-funeral-directors.jpg) no-repeat;
		background-size: 100%;
		background-color: #3E6E7C;
		background-position: center;
		padding-top: 16%;
	}
	#banner {
		width: 100%;
	}
	footer .container {
		width: 100%;
	}
	.navbar {
		background-color: #3E6E7C;
		padding: 8px 0 1px 0;
		margin: 0;
	}
	#body_row .span2 {
		width: auto !important;
	}

	#body_main {
		width: auto;
		margin: 0;
		padding: 0 24px;
	}

	#slider {
		width: 100%;
	}
	#category .thumbnails .placeholder {
		background: none;
	}
	.span2.left.after {
		display: block;
	}
	.span2.left.before {
		display: none;
	}
	#banner h1 {
		padding-left: 0px;
		padding-right: 0px;
		text-align: center;
	}
	#body_row .span2 {
		margin: 0;
		text-align: center;
	}
	.container #body_row .left ul {
		margin-left: 0;
	}
	.container #body_row .left li {
		width: 200px;
	}
	#slider {
		height: inherit;
	}
}
