input[type='email'], input[type='password'] {
	margin-bottom: 0;
}

#cart-aio-account input[disabled] {
	border: 1px solid #efefef !important;
	background: #ffffff;
	cursor: auto;
	box-shadow: none;
	-webkit-box-shadow: none;
}

div.cart-aio {
	border: 1px solid #ececec;
	padding: 30px 25px 25px;
	margin-top: 45px;
	margin-bottom: 60px;
	position: relative;
	background: #f5f5f5;
}

div.cart-aio > div.legend {
	width: auto;
	font-size: 11px;
	line-height: 1;
	padding: 11px 14px;
	border: none;
	position: absolute;
	top: -34px;
	left: -1px;
	z-index: 2;
	color: #ffffff;
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: 1px;
}

#shippingform-editor h3 {
	margin: 5px 0;
	font-size: 16px;
	line-height: 22px;
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 1px;
}

#shippingform-response h3 {
	margin: 0;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 20px;
	letter-spacing: 1px;
}

h3.shipping-ruletitle {
	padding: 20px 10px;
}

#address-items {
	overflow-y: visible;
	white-space: nowrap;
	vertical-align: text-top;
	margin: 0;
	padding: 0;
	clear: both;
}

.address-item {
	text-align: left;
	float: left;
	max-width: 100%;
	width: 255px;
	min-height: 260px;
	border: 1px solid #f3f3f3;
	padding: 12px 14px;
	margin: 0px 15px 15px 0;
	white-space: normal;
	line-height: 1.5;
	vertical-align: top;
	background: #fbfbfb;
	list-style: none;
	position: relative;
	display: table-cell;
}

.address-item:hover {
	border: 1px solid #e8e8e8;
}

.address-item .address-action {
	opacity: 0;
	position: absolute;
	right: 8px;
	top: 8px;
	display: block;
}

#address-items button.remove-address,
#address-items a.btn-default {
	border: 1px solid #222222;
	background: #222222;
	color: #ffffff;
	font-size: 14px;
	line-height: 34px;
	width: 34px;
	height: 34px;
	text-align: center;
	margin: 0;
	border-radius: 100%;
	padding: 0;
}

.address-item:hover .address-action {
	opacity: 1;
}

.address_name {
	font-size: 14px;
	font-weight: bold;
	line-height: 1.4;
	margin: 5px 0 8px;
	max-width: 154px;
	text-transform: uppercase;
	display: block;
	letter-spacing: 1px;
}

span.address_company,
span.address_po_box,
span.address_address,
span.address_landmark,
span.address_district,
span.address_country {
	display: block;
}

.cart_address_box {
	margin: 10px auto 2px;
	clear: both;
	text-align: center;
	position: absolute;
	bottom: 10px;
	width: calc(100% - 28px);
}

.cart_address_buttons button {
	padding: 6px 16px 6px 12px;
	border: none;
	outline: 0 !important;
}

.cart_address_box button.disabled,
.cart_address_box button.disabled:hover {
	background: #dedede;
	color: #333333;
}

fieldset.completed {
	padding: 30px 0 40px !important;
}

#jform_params_balance_wallet-info #jform_params_balance_reload {
	padding: 5px 10px;
	margin: 0 5px !important;
}

/*
div.modal {
	width: 90%;
	margin-left: -45%;
}
*/
div[id^="address-form"] {
	text-align: left !important;
	/*
	width: 480px !important;
	margin-left: -240px !important;
	*/
}

div[id^="address-form"] table {
	width: 90%;
	margin-left: 3%;
}

div[id^="address-form"] table th,
div[id^="address-form"] table td {
	padding: 4px 0;
}

div[id^="address-form"] input,
div[id^="address-form"] textarea,
li.select2-search-field,
li.select2-search-field > input {
	width: 100%;
	height: 32px;
}

div[id^="address-form"] textarea {
	min-height: 80px;
}

.margin-top-10 {
	margin-top: 10px;
}

.margin-5 {
	margin: 5px;
}

.btn-save-address {
	margin-bottom: 20px;
}

.invalid {
	color: #e40000 !important;
}

input.invalid, select.invalid, textarea.invalid {
	border: 1px solid #f19090 !important;
	box-shadow: 0 0 20px -3px #de4f4f !important;
	-moz-box-shadow: 0 0 20px -3px #de4f4f !important;
	-webkit-box-shadow: 0 0 20px -3px #de4f4f !important;
	-ms-box-shadow: 0 0 20px -3px #de4f4f !important;
	-o-box-shadow: 0 0 20px -3px #de4f4f !important;
	color: #000000;
}

#address-viewer {
	text-align: left;
	padding: 0;
}

#address-billing-text, #address-shipping-text {
	margin-bottom: 10px;
	padding: 0;
}

#address-viewer .address_label {
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	background: #ffffff;
	padding: 5px 20px 4px;
	letter-spacing: 1px;
	position: relative;
	line-height: 24px;
}

.details_add {
	padding: 12px 20px 15px;
	background: #f9f9f9;
	min-height: 252px;
	font-size: 13px;
}

.cartfinalbtnsarea {
	text-align: center;
	margin-top: 20px;
}

#cart-aio-items .cart-items-body {
	background: #fafafa;
}

/* Cart items table */
table.cart-items-table {
	background: #fffbf7;
}

.cart-items-table th, .cart-items-table td {
	padding: 6px 12px !important;
	border: 1px solid;
	text-decoration: none;
	line-height: 1.7;
}

.cart-items-table th {
	background: #e4e0bf;
}

.cart-items-table > tbody > tr:hover > th,
.cart-items-table > tbody > tr:hover > td {
	background: #d5f5f9;
}

tr.shoprule-info td, tr.shoprule-info th {
	background: #fffbf7 !important;
	border: 1px solid;
}

.cart-items-table .grand-total {
	font-size: 24px;
}

.star, .tbd {
	color: red !important;
}

.btn-remove-item {
	color: #aa0000;
	font-weight: normal;
	margin: auto 6px;
}

/* Cart items table */
#payment-forms {
	clear: both;
}

.payment-tabs .payment-method {
	border: 1px solid #d3d3d3;
	border-top: 0;
	margin-top: -18px;
	padding: 8px;
}

.payment-table {
	width: 100%;
}

#payment-methods .accordion-group.panel {
	background: #fbfbfb;
	border: none;
	margin-bottom: 10px;
	border-radius: 0;
}

#payment-methods .accordion-inner {
	border-top: none;
}

#payment-forms a.accordion-toggle {
	text-decoration: none;
	padding: 6px 15px;
	display: block;
	background: #ffffff;
	color: #222222;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 13px;
}

#payment-methods .accordion-body.collapse {
	overflow: hidden;
}

.payment-method {
	padding: 5px 10px;
}

div.select2-container .select2-choice span.select2-arrow {
	border-left: 1px solid;
	background: #ffffff;
}

div.select2-container .select2-choice {
	border: 1px solid;
	background: #ffffff;
	height: 30px;
	position: relative;
	z-index: 9999;
}

.select2-container-active .select2-choice,
.select2-container-active .select2-choices {
	box-shadow: none;
}

div.select2-drop, div.select2-drop-active {
	border: none;
	margin: 0px;
	padding: 15px 12px 4px;
	z-index: 99999;
}

div.select2-drop-active input {
	border: 1px solid #e6e6e6;
	background: #f5f5f5;
	padding: 6px 20px;
}

div.select2-drop-active input:focus {
	border: 1px solid #e4e4e4;
}

.couponbtnarea input[type="text"] {
	height: auto;
	border: 1px solid #f7f7f7;
	padding: 8px 20px;
	outline: 0 !important;
	display: inline-block !important;
}

.couponbtnarea input[type="text"]:focus {
	border: 1px solid #e4e4e4;
}

.couponbtnarea input.readonly {
	background: #f5f5f5;
	border-color: #e8e8e8;
	color: #ababab;
}

.couponbtnarea .btn-apply-coupon {
	padding: 8px 16px;
	margin-left: 8px;
}

.payment-method-logo {
	max-height: 90px;
}

.cart-items-table .package-items {
	margin: 1px 1px 1px 15px;
}

/** modal cart item table */

.nopadd {
	padding: 0 !important;
}

.formcheckout .formfield {
	margin-bottom: 15px;
}

.formcheckout .formfield input {
	padding: 8px 18px;
	width: 100%;
	outline: 0 !important;
	border: 1px solid #f9f9f9;
	height: auto;
	margin-bottom: 6px;
}

.formcheckout .formfield input:focus {
	border-color: #e0e0e0;
}

.formcheckout .formfield input[disabled] {
	background: #ffffff;
	opacity: 0.8;
}

.formcheckout .formfield button,
.formcheckout .formfield a {
	padding: 6px 14px 6px 14px;
	outline: 0 !important;
	height: 38px;
	text-transform: uppercase;
	font-size: 12px;
	line-height: 24px;
	margin: 0 3px 6px;
}

div.cart-aio > div.legend2 {
	right: -1px;
	left: auto;
	cursor: pointer;
}

#modal-cart .aio-message-container {
	position: absolute;
	width: 80%;
	top: 15%;
	z-index: 9999;
	margin: 30px auto 20px;
	left: 0;
	right: 0;
}

#modal-cart .btnrightless {
	float: right;
	margin: 16px 50px 0 0;
}

.cart-items-table {
	background: #f5f5f5;
}

#summary-items .cart-items-table {
	background: #fbfbfb;
}

.cart-items-body .row {
	margin-bottom: 15px;
	border-bottom: 1px dashed #d2d2d2;
	position: relative;
}

.cart-items-body .row:last-child {
	margin-bottom: 0;
	border: none;
	padding-bottom: 0;
}

.cart-item-header {
	position: relative;
	z-index: 9;
	padding: 5px 15px;
	background: #ffffff;
}

.cart-item-header h3 {
	margin: 0;
	padding: 16px 0;
	font-size: 18px;
	line-height: 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.cart-item-header .btn-refresh {
	color: #ffffff;
	outline: 0 !important;
	margin: 10px 0;
}

#modal-cart .cart-item-header .btn-refresh {
	margin: 10px 40px 10px 0;
}

.cart-item-header .btn-refresh:hover,
.cart-item-header .btn-refresh:focus {
	background: #333333;
	color: #ffffff;
}

.cart-items-body .cart-item-inner {
	padding: 18px 20px 15px;
	min-height: 220px;
	max-height: 450px;
	overflow: hidden;
	overflow-y: scroll;
}

.product_thumbnail {
	max-width: 100px;
	margin-right: 20px;
	max-height: 95px;
	overflow: hidden;
	float: left;
}

.product_thumbnail:hover,
.product_thumbnail:hover img,
.product_thumbnail:focus {
	margin-right: 20px;
	float: left;
}

.product_thumbnail img {
	max-width: 100%;
}

.cart_product_info {
	display: inline-block;
	width: calc(100% - 138px);
	min-height: 95px;
}

.seller_info {
	margin-bottom: 10px;
	font-style: italic;
	font-size: 13px;
	line-height: 1.3;
}

.quantity-box input.item-quantity {
	width: 70px;
	padding: 5px 10px;
	margin-left: 12px;
	display: inline-block;
	border-radius: 100px;
	text-align: center;
	border: 1px solid #efefef;
}

.quantity-box input.item-quantity:focus {
	border-color: #eaeaea;
	outline: 0;
}

.cart_product_info h3 {
	margin: 0 0 5px;
	padding: 0;
	font-size: 13px;
	line-height: 16px;
	letter-spacing: 1px;
}

.cart-items-table .cart-item-prices {
	display: inline-block;
	margin: 0;
	padding: 0;
}

.cart-items-table .cart-item-prices li {
	display: inline-block;
	width: 80px;
	margin-bottom: 10px;
}

.cart-item-prices li label {
	display: block;
	margin: 0;
	text-transform: uppercase;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 1px;
	line-height: 1.5;
}

.clearbtn {
	position: absolute;
	right: 0;
	top: 0;
}

.cart_price_taxes {
	padding: 15px 0 8px;
}

.cart-items-footertop {
	padding: 8px 15px;
	border-top: 0;
	background: #ffffff;
}

.cart-items-footertop .grosscost {
	padding: 5px 0;
}

.cart-items-footertop .grosscost.boxseperator {
	border-left: 1px solid #dedede;
}

.cart-items-footertop ul {
	list-style: none;
	display: block;
	margin: 0;
	padding: 0;
}

.cart-items-footertop ul li {
	text-align: right;
}

ul.cart-prices {
	padding: 5px 0;
}

ul.cart-prices li {
	width: calc(100% - 30px);
}

.cart-items-footer {
	padding: 15px;
	background: #ffffff;
	border-top: 1px dotted #9e9e9e;
}

.cart-items-footer .star-note {
	padding: 15px 15px 0;
	color: #cc0000;
	line-height: 14px;
	font-size: 12px;
}

.cart-items-footer .star-note.disclaimer {
	color: #777777;
}

.cart-items-footer .totalamountfloat {
	float: right;
}

.cart-items-footer .btnfloat {
	float: left;
}

.payableamount h3 {
	text-align: right;
	margin: 0;
	padding: 0;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: bold;
}

.shoprule-info {
	padding: 5px 15px;
	margin-top: 4px;
	border: 1px dashed #d2d2d2;
}

.shoprule-info label {
	font-weight: normal;
	display: inline-block;
	vertical-align: text-bottom;
	margin: 0;
}

.shoprule-info h4 {
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 24px;
}

.shoprule-descriptions .rulesinfo {
	color: #555555;
	font-size: 13px;
	line-height: 18px;
}

.shoprule-amountchange {
	text-align: right;
	padding: 5px 0;
}

.shoprule-amountchange ul {
	text-align: right;
}

.shoprule-amountchange ul li {
	display: inline-block;
	min-width: 140px;
}

.couponbtnarea {
	margin-bottom: 15px;
}

.couponsarea {
	margin: 10px 0 25px;
}

/* Product Modal */
#modal-cart .modal-content {
	border-radius: 0;
}

#modal-cart .modal-content .modal-header {
	padding: 0;
	margin: 0;
	border: none;
}

#modal-cart .modal-header h3 {
	display: none;
}

#modal-cart .modal-content .modal-body {
	padding: 0;
	min-height: 220px;
}

#modal-cart .modal-header .close {
	position: absolute;
	top: 18px;
	right: 10px;
	background: #ffffff;
	width: 30px;
	height: 30px;
	opacity: 1;
	font-size: 20px;
	line-height: 1;
	display: block;
	z-index: 99;
	outline: 0 !important;
}

#modal-cart .modal-footer {
	display: none;
}

.modal-body .emptycart {
	padding: 75px 20px 100px;
}

.address-form {
	padding: 10px 35px 0;
}

.address-form input[type='text'],
.address-form input[type='email'],
.address-form textarea,
.address-form input[type='tel'] {
	width: 100%;
	color: #333333;
	background: #ffffff;
	padding: 10px 20px;
	margin-bottom: 15px;
	border: 1px solid #efefef;
	height: auto;
}

.address-form select {
	border: 1px solid #efefef !important;
	height: 42px !important;
}

.address-form .address-residential input[type=radio] {
	width: auto !important;
	margin-left: 0 !important;
	height: auto;
}

.address-form .address-residential label {
	margin-right: 20px;
}

.address-form a.select2-choice {
	border: 1px solid #efefef !important;
	height: auto !important;
	line-height: 25px;
	padding: 8px 15px;
}

.address-form a.select2-choice span.select2-arrow {
	border-left: 1px solid #e4e4e4 !important;
	background: transparent;
	line-height: 38px;
	width: 40px;
}

.address-form a.select2-choice span.select2-arrow b {
	background-position: 8px 4px;
	background-size: 82px;
}

.address-form .address-state_loc a.select2-choice {
	height: 42px !important;
}

#modal-cart .ajax-overlay,
#modal-cart .ajax-overlay:after,
#cart-aio-container .ajax-overlay,
#cart-aio-container .ajax-overlay:after {
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
}

#modal-cart .ajax-overlay,
#cart-aio-container .ajax-overlay {
	z-index: 100;
	display: none;
}

#modal-cart .ajax-overlay:after,
#cart-aio-container .ajax-overlay:after {
	z-index: 101;
	content: ' ';
	background: #ffffff;
	opacity: 0.7;
}

#modal-cart .ajax-overlay:before,
#cart-aio-container .ajax-overlay:before {
	z-index: 102;
	position: absolute;
	left: 50%;
	top: 50%;
	-ms-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	font-family: FontAwesome, serif;
	content: "\f110";
	font-size: 4em;
	animation: fa-spin 1.5s infinite linear;
}

#cart-aio-container .ajax-running {
	position: relative;
}

#modal-cart .ajax-running .ajax-overlay,
#cart-aio-container .ajax-running .ajax-overlay {
	display: block;
}

.shipping-itemsquotes .cart-item {
	border-bottom: 1px dotted #dddddd;
	padding: 12px 0px;
}

.shipping-itemsquotes .product-thumb {
	max-width: 70px;
	float: left;
	max-height: 70px;
	overflow: hidden;
}

.shipping-itemsquotes .cart-item:last-child {
	border: none;
}

.shipping-itemsquotes .product-info {
	float: left;
	width: calc(100% - 85px);
	margin-left: 12px;
}

.shipping-itemsquotes .product-info h3 {
	font-size: 14px !important;
	line-height: 18px !important;
}

.shipping-itemsquotes a.select2-choice {
	border: 1px solid #efefef !important;
	height: auto !important;
	line-height: 25px;
	padding: 8px 15px;
}

.shipping-itemsquotes a.select2-choice span.select2-arrow {
	border-left: 1px solid #e4e4e4 !important;
	background: transparent;
	line-height: 38px;
	width: 40px;
}

.shipping-itemsquotes a.select2-choice span.select2-arrow b {
	background-position: 8px 4px;
	background-size: 82px;
}

.itemised-cart .row {
	border-bottom: 1px dotted #dddddd;
	padding: 5px 0;
}

.itemised-cart .cart-item-title {
	font-weight: 500;
	letter-spacing: 1px;
	font-size: 13px;
}

@media (min-width: 992px) {
	.cart_price_taxes {
		text-align: right;
		margin-right: 8px;
	}

	.billing-cart .cart-item-prices {
		width: 100%;
	}

	.cart-item-prices li {
		text-align: center;
	}

	.cart-item-prices li:last-child {
		width: 78px;
	}

	.btnareacheckout {
		text-align: right;
	}
}

@media (max-width: 991px) {
	.cart-items-footer .bntareacart .btn {
		padding: 8px 12px;
		font-size: 12px;
	}

	.cart-items-table .cart-item-prices li:last-child {
		width: auto;
	}
}

@media (min-width: 768px) {
	.billing-cart .cart_price_taxes {
		padding: 0;
	}

	.cart-items-body .row {
		padding-bottom: 15px;
	}

	.cart-items-footertop ul li strong {
		min-width: 48px;
		display: inline-block;
	}

	.cart-items-footertop .grosscost ul li strong {
		min-width: 70px;
	}
}

@media (max-width: 767px) {
	.cart-items-footer .totalamountfloat,
	.cart-items-footer .btnfloat {
		float: none;
	}

	.cart-items-table .cart-item-prices {
		float: none;
	}

	.bntareacart {
		text-align: right;
		margin: 12px 0 8px;
	}

	.cart-items-table .cart-item-prices li {
		width: 88px;
	}

	.shoprule-amountchange ul,
	.shoprule-amountchange ul li {
		text-align: left;
	}

	ul.cart-prices li {
		width: 100%;
	}
}

@media (max-width: 600px) {
	.col-xxs-12 {
		width: 100% !important;
	}

	.col-xxs-6 {
		width: 50% !important;
	}

	.cart-items-body {
		padding: 18px;
	}

	.cart_price_taxes {
		padding: 18px 0 0;
	}

	.cart-items-footertop ul li {
		line-height: 1.85;
	}

	ul.cart-prices {
		padding: 0;
	}

	ul.cart-prices li {
		width: 100%;
	}

	.cart-items-footertop .grosscost.boxseperator {
		border-top: 1px solid #dedede;
		border-left: none;
		padding-top: 15px;
		margin-top: 15px;
	}

	div.cart-aio {
		padding: 20px;
	}

	.cart_address_buttons button {
		padding: 6px 14px 6px 10px;
	}

	.cart-items-table .cart-item-prices li,
	.shoprule-amountchange ul li {
		display: block;
		width: 100%;
	}

	.cart-item-prices li label {
		display: inline-block;
		margin: 0 10px 0 0;
	}

	.cart-items-table .cart-item-prices li label,
	.shoprule-amountchange ul li label {
		min-width: 105px;
		position: relative;
	}

	.cart-items-table .cart-item-prices li label:after,
	.shoprule-amountchange ul li label:after {
		content: ':';
		position: absolute;
		right: 10px;
	}

	.shoprule-descriptions {
		text-align: right;
		margin-top: 6px;
	}
}

@media (max-width: 420px) {
	.product_thumbnail {
		max-width: 120px;
		margin-right: 0;
		margin-bottom: 15px;
		float: none;
	}

	.cart_product_info {
		width: 100%;
		min-height: auto;
	}

	.cart_price_taxes {
		padding: 15px 0 0;
	}

	.cart-items-table .cart-item-prices {
		width: calc(100% - 35px);
	}

	.shoprule-info label {
		margin-top: 15px;
	}

	.cart-items-footer .bntareacart .btn {
		letter-spacing: 1px;
		display: block;
		width: 100%;
	}

}
