/**
 * 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 .afqQuotesCartOver {
    height: 100%;
}
#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: 35px;
    right: auto;
    background: #FFF;
    width: 370px;
    -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);
    left: auto;
    padding: 15px;
}

/* reset some edits for RIGHT side display of top row */
#header .header-nav #quotesCart .quotes_cart {
    margin-right: 0;
    margin-left: 0.9375rem;
    font-family: Roboto;
}

#header .header-nav #quotesCart .quotes_cart .ajax_quote_quantity {
    color: #556667;
    position: absolute;
    top: -7px;
    height: 18px;
    width: 18px;
    background-color: white;
    border-radius: 50%;
    font-size: 11px;
    margin-left: -5px;
    text-align: center;
    font-family: "Lato";
}

/* reset some settings for the mobile looks */
#_mobile_quotesCart {
    height: 48px;
}

@media (max-width: 450px) {
    #_mobile_quotesCart{
        margin-right:20px;
    }
}

#_mobile_quotesCart .quotes_cart {
    margin-left: 1px !important;
}

/* product list in the quotes cart */

#quoteProductList .product-list-content .products {
    margin-bottom: 0;
}
#quoteProductList .product-list-content .products .product-details {
    text-align: left;
}

#quoteProductList .product-list-content .products .product-details a{
    font-size: 14px !important;
}

#quoteProductList .product-list-content .products .item {
    border-bottom: 1px solid #000000;
    color: #000000;
    text-align: left;
    /*height: 85px;*/
}

#quoteProductList .product-list-content .products .item .cart-images {
    width: 75px;
    display: inline-block;
}

#quoteProductList .product-list-content .products .item .product-name {
    min-width: 175px;
    display: inline-block;
    vertical-align: middle;
    font-size: 18px;
    font-family: "Roboto";
    font-weight:normal;
}
#quoteProductList .product-list-content .products .item .product-quantity {
    display: inline-block;
}

#quoteProductList .product-list-content .products .item .remove-wrap {
    height: 30px;
    width: 30px;
    background-color: #cc071e;
    display: inline-block;
    text-align: center;
    line-height: 30px;
}
#quoteProductList .product-list-content .products .item .remove-wrap a {
    color: white !important;
    font-size: 21px;
}

#quoteProductList .product-list-content .products .item a {
    color: #556667 !important;
}

#quoteProductList .product-list-content .quotes-cart-prices {
    padding: 15px 0;
}

#quoteProductList .unvisible {
    display: none;
}

.quotes_cart_block .alert {
    margin-bottom: 0;
    color: black;
    text-align: center;
}

.quotes_cart_block .cart-images {

}

.quotes_cart_block .cart-images img {
    width: 75px;
    height: 75px;
}

.quotes_cart_block .cart-info {
    overflow: hidden;
    position: relative;
    color: #556667;
    text-align: left;
}

.quotes_cart_block .cart-info .product-name,
.quotes_cart_block .cart-info .product-quantity,
.quotes_cart_block .cart-info .remove-wrap {
    display: inline-block;
    float: left;
}

.quoteCartButtons {
    padding: 15px 0;
}

/*****************************************************************************
					  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 {
    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;
    position: relative;
}

#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: 25px;
    padding: 0.175rem 0.5rem;
    width: 3rem;
    float: left;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    text-align: center;
    border: none !important;
}

#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 */
