/**
 * 2007-2017 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-2017 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;
    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;
}
#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%;
}
.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:1100;
    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;
	background: #4cbb6c;
}
#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;
}


/*****************************************************************************
					  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: 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 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;
}


/* start blink animation */
@-webkit-keyframes blinker {  
  	from { opacity: 1.0; }
  	to { opacity: 0.0; }
}
@-moz-keyframes blinker {  
  	from { opacity: 1.0; }
  	to { opacity: 0.0; }
}
@-o-keyframes blinker {  
  	from { opacity: 1.0; }
  	to { opacity: 0.0; }
}
@keyframes blinker {  
  	from { opacity: 1.0; }
  	to { opacity: 0.0; }
}
.blink {
	text-decoration: blink;
  	-webkit-animation: blinker 1s cubic-bezier(1.0,0,0,1.0) infinite;
  	-moz-animation:    blinker 1s cubic-bezier(1.0,0,0,1.0) infinite;
  	-o-animation:      blinker 1s cubic-bezier(1.0,0,0,1.0) infinite; 
  	animation:         blinker 1s cubic-bezier(1.0,0,0,1.0) infinite;
}
/* end blink animation */



.askforaquote_shipping_table
{
	width: 100%;
}
.askforaquote_shipping_table td,
.askforaquote_shipping_table th
{
	padding: 5px;
}

/******** quantity up/down ***********/
#main .product-miniature .product-description {
	height: auto;
}

.afq-touchspin{
	width: auto;
    display: inline-block;
    box-shadow: 2px 2px 4px 0 rgba(0,0,0,.2);
    vertical-align: middle;
}

.afq-touchspin .input-group-btn-vertical {
	position: relative;
    white-space: nowrap;
    width: 1%;
    vertical-align: middle;
    display: table-cell;

        color: #232323;
    width: auto;
    float: left;

        width: auto;
}

.afq-touchspin .afq-btn-touchspin{
	background-color: #fff;
    border: 1px solid rgba(0,0,0,.25);
    height: 1.3125rem;
        height: 1.38rem;
}

.afq-touchspin .input-group-btn-vertical > .btn{
	    display: block;
    float: none;
    width: 100%;
    max-width: 100%;
    padding: 8px 10px;
    margin-left: -1px;
    position: relative;

    padding: .5rem .6875rem;
}

.afq-touchspin .input-group-btn-vertical > .btn i {
	position: absolute;
    top: 3px;
    left: 5px;
    font-size: 9px;
    font-weight: 400;

    top: .0625rem;
    left: .1875rem;
    font-size: .9375rem;

        font-size: 1rem;
    top: .125rem;
    left: .1875rem;
}

.afq-touchspin .input-group-btn-vertical > .btn.bootstrap-touchspin-up i::after{
	content: "\E5CE";
}

.afq-touchspin .input-group-btn-vertical > .btn.bootstrap-touchspin-down i::after{
	    content: "\E5CF";
}