﻿/* Reset */

.order *
{
    box-sizing: border-box !important;
}

.order #map *
{
    box-sizing: content-box !important;
}

input[type="text"]
{
    padding: .375rem .75rem;
}

.order ul
{
    padding: 0 !important;
}

.order ul li
{
    font-size: 100% !important;
    line-height: 100% !important;
}

.order ul li:before
{
    content: "" !important;
}

.order-success
{
    width: 100%;
    padding-top: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.cd-cart-container *, .cd-cart-container *::after, .cd-cart-container *::before
{
    box-sizing: border-box !important;
}

.cd-cart-container h1, .cd-cart-container h2, .cd-cart-container h3
{
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 16px !important;
    font: inherit !important;
    color: #2b3e51 !important;
    vertical-align: baseline !important;
}

.cd-cart-container img
{
    max-width: 100% !important;
}

/* Cart */

.cd-cart {
    /* cart content */
    pointer-events: none;
}
.cd-cart .wrapper {
    pointer-events: auto;
}
.cd-cart .body {
    position: relative;
    z-index: 1;
    height: calc(100% - 40px);
    padding: 0px 0 0px;
    margin: 0px 0 0px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-transition: opacity .2s;
    transition: opacity .2s;
}
.cd-cart table th, .cd-cart table td 
{
    padding: 3px;
}
.cd-cart .body ul {
    overflow: hidden;
    padding: 0 1.4em;
    position: relative;
    padding-bottom: 90px;
	margin-bottom: 0px;
}
.cd-cart .body li {
    position: relative;
    opacity: 0;
    -webkit-transform: translateX(80px);
    -ms-transform: translateX(80px);
    transform: translateX(80px);
    -webkit-transition: opacity 0s .2s, -webkit-transform 0s .2s;
    transition: opacity 0s .2s, -webkit-transform 0s .2s;
    transition: opacity 0s .2s, transform 0s .2s;
    transition: opacity 0s .2s, transform 0s .2s, -webkit-transform 0s .2s;
}
.cd-cart .body li::after {
    clear: both;
    content: "";
    display: block;
}
.cd-cart .body li:not(:last-of-type) {
    margin-bottom: 20px;
}
.cd-cart .body li.deleted {
    /* this class is added to an item when it is removed form the cart */
    position: absolute;
    left: 1.4em;
    width: calc(100% - 2.8em);
    opacity: 0;
    -webkit-animation: cd-item-slide-out .3s forwards;
    animation: cd-item-slide-out .3s forwards;
}
.cd-cart .body li.deleted + li {
    -webkit-animation: cd-item-move-up-mobile .3s;
    animation: cd-item-move-up-mobile .3s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
.cd-cart .product-image {
    display: inline-block;
    position: relative;
    float: left;
    /* the image height determines the height of the list item - in this case height = width */
    width: 50px;
    height: 50px;
}
.cd-cart .product-image a img {
	max-width:100%;
	max-height:100%;
}
.cd-cart .product-image img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
.cd-cart .product-details {
    position: relative;
    display: inline-block;
    float: right;
    width: calc( 100% - 50px);
    padding: 0.3em 0 0 0.5em;
}
.cd-cart .discount
{
	color:red;
}
.cd-cart .product-details::after {
    clear: both;
    content: "";
    display: block;
}
.cd-cart h3, .cd-cart .price, .cd-cart h3, .cd-cart .rent-price {
    font-weight: bold;
}
.cd-cart h3 {
    width: 100%;
    float: left;
    /* truncate title with dots if too long */
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.cd-cart h3 a {
    color: #2b3e51;
}
.cd-cart h3 a:hover {
    color: #2c97de;
}
.cd-cart .price {
    float: right;
    width: 100px;
    text-align: right;
}
.cd-cart .rent-price {
    float: right;
    width: 100px;
    text-align: right;
}
.cd-cart .actions {
    height: 1.6em;
    line-height: 1.6em;
}
.cd-cart .actions::after {
    clear: both;
    content: "";
    display: block;
}
.cd-cart .delete-item, .cd-cart .quantity {
    float: left;
    color: #808b97;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.cd-cart .delete-item {
    margin-right: 1em;
}
.cd-cart .delete-item:hover {
    color: #e94b35;
}
.cd-cart .quantity label {
    display: inline-block;
    margin-right: .3em;
}
.cd-cart .select {
    position: relative;
}
.cd-cart .select::after {
    /* switcher arrow for select element */
    content: '';
    position: absolute;
    z-index: 1;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    display: block;
    width: 12px;
    height: 12px;
    background: url(/Shop/Assets/cd-icon-select.svg) no-repeat center center;
    pointer-events: none;
}
.cd-cart select {
    position: relative;
    padding: 0 1em 0 0;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 100%;
    margin: 0;
    color: #808b97;
}
.cd-cart select:focus {
    outline: none;
    color: #2b3e51;
    box-shadow: 0 1px 0 currentColor;
}
.cd-cart select::-ms-expand {
    /* hide default select arrow on IE */
    display: none;
}
.cart-open .cd-cart .wrapper {
    height: 100%;
    width: 100%;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}
.cart-open .cd-cart header, .cart-open .cd-cart .body {
    opacity: 1;
}
.cart-open .cd-cart header {
    -webkit-transition: opacity .2s .2s;
    transition: opacity .2s .2s;
}
.cart-open .cd-cart .body {
    -webkit-transition: opacity 0s;
    transition: opacity 0s;
}
.cart-open .cd-cart .body li {
    -webkit-transition: opacity .3s .2s, -webkit-transform .3s .2s;
    transition: opacity .3s .2s, -webkit-transform .3s .2s;
    transition: transform .3s .2s, opacity .3s .2s;
    transition: transform .3s .2s, opacity .3s .2s, -webkit-transform .3s .2s;
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}
.cart-open .cd-cart .body li:nth-of-type(2) {
    -webkit-transition-duration: .4s;
    transition-duration: .4s;
}
.cart-open .cd-cart .body li:nth-of-type(3) {
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
}
.cart-open .cd-cart .body li:nth-of-type(4), .cart-open .cd-cart .body li:nth-of-type(5) {
    -webkit-transition-duration: .55s;
    transition-duration: .55s;
}
@media only screen and (min-width: 768px) 
{
    .cd-cart .body li:not(:last-of-type) {
        margin-bottom: 0px;
    }
    .cd-cart .body li.deleted + li {
        -webkit-animation: cd-item-move-up .3s;
        animation: cd-item-move-up .3s;
    }
    .cd-cart .product-image {
        width: 90px;
        height: 90px;
    }
    .cd-cart .product-details {
        padding: 1.4em 0 0 1em;
        width: calc( 100% - 90px);
    }
    .cd-cart h3, .cd-cart .price {
        font-size: 100%;
    }
}

@-webkit-keyframes cd-item-move-up-mobile {
    0% {
        padding-top: 70px;
    }
    100% {
        padding-top: 0px;
    }
}
@keyframes cd-item-move-up-mobile {
    0% {
        padding-top: 70px;
    }
    100% {
        padding-top: 0px;
    }
}
@-webkit-keyframes cd-item-move-up {
    0% {
        padding-top: 104px;
    }
    100% {
        padding-top: 0px;
    }
}
@keyframes cd-item-move-up {
    0% {
        padding-top: 104px;
    }
    100% {
        padding-top: 0px;
    }
}
@-webkit-keyframes cd-item-move-down-mobile {
    0% {
        padding-top: 0px;
    }
    100% {
        padding-top: 70px;
    }
}
@keyframes cd-item-move-down-mobile {
    0% {
        padding-top: 0px;
    }
    100% {
        padding-top: 70px;
    }
}
@-webkit-keyframes cd-item-move-down {
    0% {
        padding-top: 0px;
    }
    100% {
        padding-top: 104px;
    }
}
@keyframes cd-item-move-down {
    0% {
        padding-top: 0px;
    }
    100% {
        padding-top: 104px;
    }
}
@-webkit-keyframes cd-item-slide-out {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        -webkit-transform: translateX(80px);
        transform: translateX(80px);
        opacity: 0;
    }
}
@keyframes cd-item-slide-out {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        -webkit-transform: translateX(80px);
        transform: translateX(80px);
        opacity: 0;
    }
}
@-webkit-keyframes cd-item-slide-in {
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
    0% {
        -webkit-transform: translateX(80px);
        transform: translateX(80px);
        opacity: 0;
    }
}
@keyframes cd-item-slide-in {
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
    0% {
        -webkit-transform: translateX(80px);
        transform: translateX(80px);
        opacity: 0;
    }
}
