/**
 * 2007-2018 PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to http://www.prestashop.com for more information.
 *
 *  @author    PrestaShop SA <contact@prestashop.com>
 *  @copyright 2007-2018 PrestaShop SA
 *  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 *  International Registered Trademark & Property of PrestaShop SA
 */
/*******************************************************************
					Cart Block Styles
********************************************************************/
#header .header-nav #quotesCart {display:inline-block;float:left;}
#header .header-nav #quotesCart .quotes_cart {
    margin-right: 0.9375rem;
    margin-left: 0.9375rem;
    text-align: right;
	position:relative;
}
#header .header-nav #quotesCart .quotes_cart_block {
	position:absolute;
	z-index:10;
	top:100%;
	left:0;
	right:auto;
	background:#FFF;
	width:250px;
    -webkit-box-shadow: 0px 5px 4px rgba(50, 50, 50, 0.5);
    -moz-box-shadow:    0px 5px 4px rgba(50, 50, 50, 0.5);
    box-shadow:         0px 5px 4px rgba(50, 50, 50, 0.5);
}
/* reset some edits for RIGHT side display of top row */
#header .header-nav .right-nav #quotesCart {display:inherit;}
#header .header-nav .right-nav #quotesCart .quotes_cart {
    margin-right: 0;
    margin-left: 0.9375rem;
    width: 140px;
}
#header .header-nav #quotesCart .quotes_cart_block {
	right:0;
	left:auto;
}
/* reset some settings for the mobile looks */
#_mobile_quotesCart .quotes_cart {
	margin-left:1px !important;
}
/* product list in the quotes cart */
#quoteProductList .product-list-content {
	padding:0 15px;
}
#quoteProductList .product-list-content .products {
	margin-bottom:0;
}
#quoteProductList .product-list-content .products .item {
	padding:15px 0;
	border-bottom:1px solid #EEE;
}
#quoteProductList .product-list-content .quotes-cart-prices {
	padding:15px 0;
}
#quoteProductList .unvisible {
	display:none;
}
.quotes_cart_block .alert {margin-bottom:0;}
.quotes_cart_block .cart-images {
	float: left;
	max-width:50%;
	padding-right: 5px;
}
.quotes_cart_block .cart-images img {
	max-width:100%;
	height:auto;
}
.quotes_cart_block .cart-info {
	overflow: hidden;
	position: relative;
}
.quoteCartButtons {
	background:#f9f9f9;
	border-top:1px solid #eee;
	padding:10px;
}
/*****************************************************************************
					  Quotes Layer Cart Css
*****************************************************************************/
.quotes_layer_cart_overlay {
	background-color: rgba(0,0,0,0.7);
	display: none;
	position: fixed;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 1050;
}
#quotes_layer_cart {
    position: fixed;
	top:50px;
	left:0;
	right:0;
	z-index:10100;
    max-width: 1140px;
    width: 100%;
	margin:30px auto;
    background-clip: padding-box;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0 none;
}
#quotes_layer_cart .quotes_layer_cart_header {
    border-bottom: 1px solid #e5e5e5;
    padding: 15px;
}
#quotes_layer_cart .quotes_layer_cart_header i.material-icons {
    margin-right: 1.875rem;
}
#quotes_layer_cart .quotes_layer_cart_header .cross {
    color: #000;
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    opacity: 0.2;
    text-shadow: 0 1px 0 #fff;
    background: transparent;
    border: 0 none;
    cursor: pointer;
    padding: 0;
}
#quotes_layer_cart .quotes_layer_cart_header .cross:hover {
    opacity: 1;
}
#quotes_layer_cart .quotes_layer_cart_header h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
	text-align:center;
	margin-bottom:0;
}
#quotes_layer_cart .quotes_layer_cart_body {
    background: #ebebeb;
    padding: 3.125rem 1.875rem;
}
#quotes_layer_cart .divide-right {
	border-right: 1px solid #acaaa6;
}
#quotes_layer_cart .product-image {
    width: 13.125rem;
}
#quotes_layer_cart .product-name {
    color: #2fb5d2;
    font-size: 1.125rem;
}
#quotes_layer_cart .button-container,
#quotes_layer_cart .cart-products-count {
    padding-left: 2.5rem;
}
#quotes_layer_cart .button-container button {
    margin-right: 0.3125rem;
	margin-bottom: 0.625rem;
}
/* flying to cart image CSS */
.quoteFlyImage {
	border:1px solid #CCC;
	box-shadow: 0px 0px 4px rgba(50, 50, 50, 0.3);
}
/*****************************************************************************
					  Quotes Cart details page
*****************************************************************************/
#quotes-detail-content {
	position:relative;
}
#quotes-detail-content .overlay-wrapper {
	background:url('../../views/img/refresh.gif') center center no-repeat rgba(0,0,0,0.5);
	display: none;
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 1050;
}
#quotes-detail-content .cart_quantity_input {
    background-color: white;
    color: #414141;
    height: 2.5rem;
    padding: 0.175rem 0.5rem;
    width: 3rem;
	border: 1px solid rgba(0, 0, 0, 0.15);
    float: left;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}
#quotes-detail-content .quote_row_total {
	text-align:right;
	padding:1rem 15px 0 15px;
}
/* submit section */
.quotesAlert {
	margin-bottom: 0.1875rem;
}
#quoteAuth .quoteSubmitOptions {
	padding: 15px 2.3125rem;
}
#quoteAuth .form-control-label {
	text-align:left;
}
#quoteAuth [data-action="show-password"] {
    background: #878787 none repeat scroll 0 0;
}
#quoteAuth #checkout-login-form .forgot-password {
    margin-left: 16.375rem;
}
#quoteAuth #checkout-login-form footer button,
#quoteAuth .quoteSubmitOptions .submit_quote {
	float:right;
}
.quoteActionForm .custom-checkbox {
	display:flex;
}

#quotes-cart-wrapper {
	position:relative;
}
#quotes-cart-wrapper .overlay {
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	z-index:10;
	background-color:rgba(0,0,0,0.7);
	background-image:url(../img/loading.gif);
	background-position:center;
	background-repeat:no-repeat;
}
/*****************************************************************************
					  Product page button
*****************************************************************************/
/* Product reassurance hook */
.reassuranceQuoteRow {
    background: white none repeat scroll 0 0;
    box-shadow: 2px 2px 11px 0 rgba(0, 0, 0, 0.1);
    padding: 1.25rem 1.875rem;
    margin-top: 2rem;
}
/* Product footer hook */
.footerQuoteRow {
    margin-top: 0.5rem; //2rem
}
.footerQuoteRow div.ask_offer {
    background: white none repeat scroll 0 0;
    //box-shadow: 2px 2px 11px 0 rgba(0, 0, 0, 0.1);
    padding: 1.25rem 0rem; //1.25rem 1.875rem
}
/* Quick view modal */
.modal-footer div.ask_offer {
	display:block;
	text-align:left;
	margin-bottom:15px;
}
@media (min-width: 768px) {
	.modal-footer div.ask_offer {
		float:right;
		width:50%;
		padding:0 15px;
	}
}
.modal-footer div.ask_offer {
}
/* Quantity field */
#afq_quantity_wanted_ask {
    background-color: white;
    color: #414141;
    height: 2.75rem;
    padding: 0.175rem 0.5rem;
    width: 3rem;
	display:inline-block;
	text-align:center;
	border:1px solid rgba(0, 0, 0, 0.15);
}
/*****************************************************************************
					      Quotes history
*****************************************************************************/
a.closeQuoteDetails {
	float:right;
}
a.toggleLegendPanel.btn-info {
	float:left;
}
#legendPanel .list-group-item {
	border:none;
}
#legendPanel .list-group-item span {
	font-size:12px;
}
@media (min-width: 768px) {
	#legendPanel .list-group-item {
		float:left;
		width:20%;
		text-align:center;
	}
	#legendPanel .list-group-item span {
		display:block;
	}
}
#block-quotes {
	font-size: 0.875rem;
}
#block-quotes .box {
    background: white none repeat scroll 0 0;
    box-shadow: 2px 2px 11px 0 rgba(0, 0, 0, 0.1);
    padding: 15px;
	margin:15px;
}
#block-quotes table#desktopQuotes .box {
	margin:15px 0;
}
@media (max-width: 767px) {
	.quotes_cart_product_image img {
		width:50px;
		height:auto;
	}
	#block-quotes .table th, #block-quotes .table td {
		padding:0.5rem;
		font-size:12px;
	}
}
.bargains_list {padding:0 15px}
.bargains_list .row {
	margin-top:15px;
}
.bargains_list .bargainBlock {
	border-radius:4px;
	padding:15px;
}
.bargains_list .customer_bargain p {
	color:#FFF;
}
.bargains_list span.date {
	float:right;
	font-size:11px;
}
.bargains_list p.bargain-message {
	margin-bottom:0;
}
.bargain_price_container .adminOffer {
	background: rgba(255,255,255,0.5) !important;
	border:1px solid #FFF;
	margin:15px 0;
}
.bargain_price_container .adminOffer > div {
	padding:15px;
}
a.acceptBargainOffer, a.rejectBargainOffer {
	color:#FFF !important;
}

/* mobile quotes history */
#block-quotes div#mobileQuotes {
	margin: 15px -1rem;
}
#block-quotes div#mobileQuotes .quote {
    border-bottom: 1px solid #f6f6f6;
    padding: 0.75rem 1rem;
}
#block-quotes div#mobileQuotes .quote:last-child {
    border-bottom: 0 none;
}
#block-quotes div#mobileQuotes .quote.activeQuote {
    box-shadow: 2px 2px 11px 0 rgba(0, 0, 0, 0.1);
	border:1px solid #CCC;
}
#block-quotes div#mobileQuotes .quote .quote_name {
	margin-bottom:5px;
	font-weight:bold;
}
#block-quotes div#mobileQuotes .bargain_price_container .adminOffer > div:last-child {
	margin-top:-15px;
}

.ASFcountInputInner > input {
	width: 75%;
}
.ASFcountInputInner > div {
	width: 25%;
}
.askforaquote_shipping_table {
	width: 100%;
}
.askforaquote_shipping_table td,
.askforaquote_shipping_table th {
	padding: 5px;
}

/********* customization *************/
#customization-loader {
    font-size: 22px;
    display: none;
    margin-top: -5px;
    -webkit-animation: afq-spin 2s infinite linear;
  	animation: afq-spin 2s infinite linear;
}

#customization-saved{
	display: none;
	margin-right: 10px;
}

@-webkit-keyframes afq-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes afq-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

/******** quantity up/down ***********/
#main .product-miniature .product-description {
	height: auto;
}

label[for="afq_quantity_wanted_ask"] {
	float: left;
	margin-top: 12px;
}

#product-list label[for="afq_quantity_wanted_ask"],
#js-product-list label[for="afq_quantity_wanted_ask"] {
	float: none;
	margin-top: 0px;
}

div.afq-touchspin {
	margin-right: 5px;
}


div.afq-touchspin.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down,
div.afq-touchspin.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
	height: 1.43rem;
}

div.afq-touchspin-product-list{
	float: none;
    vertical-align: middle;
}

div.afq-touchspin-product-list.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down,
div.afq-touchspin-product-list.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
	    height: 1.15rem;
}

div.afq-touchspin-product-list #afq_quantity_wanted_ask{
	width: 2.5rem;
	height: 2.2rem;
}
