/* =========================================================================
/* ====== CART PREVIEW
/* =======================================================================*/

.cart-button.empty-cart { margin-left: 2%; }

#cart-drop {
    display: none;
}

#cart-drop.open {
    display: block;
}

.cart-preview .name, .cart-preview .qty,
.cart-preview .price, .cart-preview .tools {
	display: inline-block;
	height: auto;
	vertical-align: middle;
}

/*.cart-preview {
	padding:.75em;
	font-size:14px;
	line-height:25px;
	font-weight:normal;
}*/

.cart-preview li {
	padding-bottom:3px;
}

.cart-preview .button {
	top:0;
}

.cart-preview a {
	color:#333;
	display:block;
}

body.cart-open {
    position: fixed;
}

.cart-tick {
    border-bottom: 7px solid #fff;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    height: 0;
    left: 11px;
    position: absolute;
    top: 56px;
    width: 0;
    visibility: hidden;
}

.cart-tick.show {
    visibility: visible;
    z-index: 10;
}

.cart-icon {
    position: relative;
}

.cart-count {
    background: #e74a3c;
    color: #fff;
    display: block;
    height: 22px;
    line-height: 1em;
    padding-top: 6px;
    position: absolute;
    left: 25px;
    top: 0;
    font-size: 10px;
    text-align: center;
    width: 22px;

    -webkit-border-radius: 25px;
    -moz-border-radius: 5px;
    border-radius: 25px;
}

.cart-nav {
    margin-top: 7px;
    position: relative;
}

.cart-loading {
    font-size: 14px;
    text-align: center;
}

.cart-loading i {
    color: #b6b6b6;
    font-size: 50px;
    padding: 20px;
}

.cart-empty p {
    text-align: center;
    margin: 20px 0;
    font-size: 16px;
    color: #464646;
}

.cart-empty i {
    font-size: 60px;
}

#cart-trigger .icon-shopping-cart {
    font-size: 21px;
    margin-left: 1px;
}

.f-dropdown.content.cart-preview {
    border: none;
    height: 100%;
    z-index: 2000;
}

/* Remove the Default Cart Dropdown tick */
#cart-drop:before { border: none; }
#cart-drop:after { border: none; }

#cart-drop.open {
    /* Important is overwriting the css that is put in by Foundation JS */
    top: 68px !important;
    padding: 0;
    width: 100% !important;
}

.cart-inner {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: -70px;
}

.cart-line-items {
    list-style: none;
}

.cart-preview li {
    background: #fff;
    height: 50px;
    line-height: 33px;
    padding: 0;
    width: 100%;
}

.cart-preview li:nth-child(even) {
    background: #f6f6f6;
}

.cart-preview li:hover, .cart-preview li:nth-child(even):hover {
    background: #f1f1f1;
}

.cart-preview .name {
    color: #333333;
    font-size: 16px;
    font-weight: bold;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 0 0 0 10px;
    width: 46%;
    white-space: nowrap;
}

.cart-preview .price {
    color: #379e30;
    font-size: 16px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 20%;
    white-space: nowrap;
}

.cart-preview img.thumbnail {
    margin-left: 10px;
    margin-top: -6px;
    max-width: 30px;
    max-height: 39px;
}

.cart-preview input.qty {
    display: inline-block;
    font-size: 16px;
    height: 30px;
    margin-top: 10px;
    padding: 0;
    text-align: center;
    width: 8%;
}

.cart-preview .cart-line-items .decrement-qty, 
.cart-preview .cart-line-items .increment-qty {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    display: inline-block;
    text-align: center;
    padding: 0;
    height: 32px;
    width: 5%;
}

.cart-preview .btn-remove {
    color: #cdcdcd;
    display: inline-block;
    text-shadow: 1px 1px 1px #ffffff;
    font-size: 22px;
}

.cart-preview .btn-remove:hover {
    color: #e1313c;
}

.cart-preview .cart-heading {
    background: #f6f6f6;
    height: 25px;
    line-height: 25px;
}

.cart-preview .cart-heading h4 {
    color: #999999;
    display: inline-block;
    font-size: 12px;
}
.cart-preview .cart-heading .prod-name {
    padding-left: 10px;
    width: 50%;
}

.cart-preview .cart-heading .prod-currency {
    width: 19%;
}

.cart-preview .cart-info {
    background: #7e7e7e url(../../img/ui/grey_wash_wall.png);
    display: block;
    height: 106px;
    position: absolute;
    bottom: 70px;
    width: 100%;

    box-shadow: inset 0px 11px 15px -11px rgba(0,0,0,0.75);
    -moz-box-shadow: inset 0px 11px 15px -11px rgba(0,0,0,0.75);
    -webkit-box-shadow: inset 0px 11px 15px -11px rgba(0,0,0,0.75);
}

.cart-preview .cart-info p {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px 0;
    text-align: center;
    text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.4);
}

.cart-preview .cart-info p span {
    /*color: #4bdd42;*/
}

.cart-preview .cart-info .cart-button {
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    margin-left: 1%;
    padding: 5px 3px;
    text-align: center;
    width: 30%;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.cart-preview .cart-info .cart-button.update-cart {
    background: #28AAE1;
    border-color: #12709a;
    color: #FFF;
    margin-left: 3%;
}

.cart-preview .cart-info .cart-button.update-cart:hover {
    background: #2cbcf7;
}

.cart-preview .cart-info .cart-button.empty-cart {
    background: #e74a3c;
    border-color: #b1382c;
    color: #FFF;
}

.cart-preview .cart-info .cart-button.empty-cart:hover {
    background: #e64136;
}

.cart-preview .cart-info .cart-button.checkout-cart {
    background: #40cc48;
    border-color: #4d9a4b;
    color: #FFF;
}

.cart-preview .cart-info .cart-button.checkout-cart:hover {
    background: #6ece5e;
}

.cart-preview .cart-info .cart-button i{
    margin-right: 5px;
}

#cart-items{
    display: block;

    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/* === SIMPLE CART === */

.cart-simple {
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.15);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.15);
    box-shadow: 0 5px 10px rgba(0,0,0,.15);
}

.cart-simple .cart-info {
    background: #fff;
}

.cart-simple .cart-info p {
    color: #444;
    text-shadow: none;
}

.cart-simple .cart-info .cart-button {
    width: 47%;
}

.cart-simple .cart-info {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}


/* ==============================================================================
/* ====== SMALL
/* ============================================================================= */

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

    header .cart-account-container {
        text-align: left;
    }

    .cart-preview .cart-line-items .increment-qty,
    .cart-preview .cart-line-items .decrement-qty {
        display: none;
    }

    .cart-preview .cart-info p {
        padding: 0;
        margin: 6px 0;
    }

    .cart-preview .cart-info {
        height: 78px;
    }

    #cart-drop.open {
        /* Important is overwriting the css that is put in by Foundation JS */
        left: 0 !important;
    }
    .cart-nav{
        margin-left: -8px;
    }
    .cart-tick{
        left: 13px;
    }
    .cart-preview .cart-info p{
        font-size: 15px;
    }

    /* FIX FOR THE CART DROPPING TO TWO LINES ON SMALL */
    .cart-account-container {
        width: 22%;
    }
    .cart-nav {
        margin-right: 0;
    }

    .cart-preview img.thumbnail {
        display: none;
    }

    .cart-preview .name {
        width: 51%;
    }

    .cart-preview .cart-heading .prod-name {
        width: 52%;
    }

    #cart-drop.cart-simple .cart-inner {
        height: 162px;
    }

}
/* ==============================================================================
/* ====== MEDIUM & BELOW
/* ============================================================================= */
@media only screen and (max-width: 979px) {

    body.fixed-cart {
        position: fixed;
        height: 100%;
        width: 100%;
    }

    #cart-drop.open {
        left: 0 !important;
        max-width: 979px;
        width: 100%;
    }

    #cart-drop.cart-simple {
        height: 110px;
    }

    .cart-simple .cart-inner {
        height: 176px;
    }


}

/* ==============================================================================
/* ====== LARGE & ABOVE
/* ============================================================================= */

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

    #cart-drop.open{
        border-bottom: 1px solid #DDD;
        border-left: 1px solid #DDD;
        border-right: 1px solid #DDD;
        max-height: 500px;
        max-width: 768px;

        -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.15);
        -moz-box-shadow: 0 5px 10px rgba(0,0,0,.15);
        box-shadow: 0 5px 10px rgba(0,0,0,.15);
    }

    #cart-drop.open.fixed {
        right: auto !important;
        left: 50% !important;
        margin-left: -199px;
        margin-right: auto;
        position: fixed !important;
    }

    .cart-preview .cart-info{
        bottom: 0;
    }

    #cart-items {
        height: 368px;  /* Default Height of Cart items scroll box */
    }

    /* === SIMPLE CART === */
    #cart-drop.open.cart-simple {
        /* Move to shame.css */
/*        left: 50% !important;
        margin-left: 185px;*/
        max-height: 107px;
        max-width: 386px;
    }

}