/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 3 févr. 2016, 15:05:48
    Author     : benjamin
*/


.view-id-shopping_cart > .view-footer , .view-id-shopping_cart > .view-empty ,  .view-id-shopping_cart > .view-content{
    display: none;
}

#commerce-ajax-cart-preview > .view-shopping-cart > .view-footer , #commerce-ajax-cart-preview > .view-id-shopping_cart > .view-content{
    display: block;
}


.shopping-cart-hover{
    border-bottom: solid #ccc 1px;
}

.shopping-cart-hover-line-item {
    padding: 1em 0;
}

.field-name-commerce-price{
    font-weight: bold;
}


.cart-hover-text-display{
    float: left;
    text-transform: uppercase;
    padding-left: 10px;
}

.cart-hover-text-promo-display-sum{
    color:  rgb(239, 96, 121);
    font-weight: bold;
}

.cart-hover-total-price-display{
    text-align: right;
    font-weight: bold;
    padding-right: 10px;
}

.cart-hover-button-display{
    height: 3em;
}
.bn-button-cart{
    background-color: rgb(143, 214,189);
}

.bn-button-total{
    background-color: #DAD6D6;
    margin-top: 1em;
    padding-top: 10px;
}

.view-shopping-cart .cart-hover-button-display>a{
    color : white;
    text-transform: uppercase;
    text-indent: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-weight: bold;
    margin: 01em 0;

}
.cart-hover-footer-text{
    clear: both;
}
#commerce-ajax-cart-preview > .view-shopping-cart > .view-footer{
    box-shadow: 0px -2px 1px #ccc;
}

#commerce-ajax-cart-preview > div > div.view-content > div > div.views-field.views-field-commerce-total  {
    text-align: right;
    color:  rgb(143, 214,189);
}

#commerce-ajax-cart-preview .entity-commerce-product.commerce-product-product> .content > .field-type-image img{
    width: auto;
    height: 6em;
}

#commerce-ajax-cart-preview .entity-commerce-product.commerce-product-product> .content > div{
    display: inline;

}
#commerce-ajax-cart-preview .entity-commerce-product.commerce-product-product> .content > .commerce-product-title{
    width: 65%;

}


#commerce-ajax-cart-preview{
    width: 300px;
    padding: 5px;
    top: 44px !important;
}


.shopping-cart-hover .views-field-commerce-total>.field-content>.line_item_supp_flag>a{
    /* TODO mettre image def */
    background-image: url(../img/icons/green-trash.png);
    background-repeat: no-repeat;
}


.see-more-cart-wrapper{
    text-align: right;
}
.see-more-cart-wrapper .see-more-cart {
    display: inline;
    color: rgb(143, 214,189);
    text-align: right;
    font-weight: bold;
    font-size: 1.7rem;

}

.line-item-product-discount-wrapper{
    color: rgb(87, 41, 50);
    font-weight: bold;
    background-color: rgba(254, 240, 247, 0.68);
}
.line-item-product-discount-wrapper:hover{
    background-color: rgb(254, 240, 247);
}
.account-links.pull-right .cart-hover-wrapper{
    float: right;
    padding-left: 1rem;
}

.shopping-cart-hover .views-field-field-images {
    float: left;
}

.shopping-cart-hover .views-field-delete-line-item-rf {
    background: url('../img/icons/green-trash.png') no-repeat;
    position: relative;
    top: 3px;
}

.shopping-cart-hover .shopping-cart-hover-line-item.product-discount {
    background-color: rgba(254, 240, 247, 0.68);
}

.shopping-cart-hover .views-field-commerce-total,
.shopping-cart-hover .views-field-delete-line-item-rf,
.shopping-cart-hover .views-field-commerce-total li,
.shopping-cart-hover .cart-row-details-bottom-quantity {
    display: inline-block;
}

.shopping-cart-hover .views-field-commerce-total ul {
    margin: 0;
    padding: 0;
}

.shopping-cart-hover .views-field-title,
.shopping-cart-hover .views-field-field-web-designation {
    font-family: 'ebGaramondBold';
    font-size: 1.3rem;
    text-transform: uppercase;
}

.shopping-cart-hover .cart-row-details.product-discount /* .views-field-title,
.shopping-cart-hover .cart-row-details.product-discount .views-field-field-web-designation */ {
    color: rgb(87, 41, 50);
}

.shopping-cart-hover .views-field-quantity {
    text-transform: lowercase;
    font-size: 1.3rem;
    font-family: 'ptSansNarrowRegular';
}

.shopping-cart-hover .views-field-commerce-total {
    font-size: 1.3rem;
    margin-right: 10px;
}

.shopping-cart-hover .views-field-commerce-total  .commerce-price-savings-formatter-price .price-amount {
    font-size: 1.3rem;
    color: rgb(143, 214,189);
    font-family: 'ebGaramondBold';
}

.view-shopping-cart .cart-hover-text-promo-display {
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: 10px;
}

@media screen and (min-width: 768px){

}

@media screen and (max-width: 1200px){

}

@media screen and (min-width: 766px){

}

@media screen and (max-width: 766px){

}
