#cartfly {
    clear: both;
    display: none;
    position: fixed;
    padding: 8px;
    min-height: 110px;
    min-width: 350px;
    left: 50%;
    top: 40%;
    margin-left: -305px;
    margin-top: -250px;
    background: #FFFFFF;
    border-top: 1px solid #DDDDDD;
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
    -webkit-border-radius: 7px 7px 7px 7px;
    -moz-border-radius: 7px 7px 7px 7px;
    -khtml-border-radius: 7px 7px 7px 7px;
    border-radius: 7px 7px 7px 7px;
    -webkit-box-shadow: 0px 0px 20px 1px #CECECE;
    -moz-box-shadow: 0px 0px 20px 1px #CECECE;
    box-shadow: 0px 0px 20px 1px #CECECE;
    z-index: 1333;
    width: 800px;
    max-height: 70%;
}

@media only screen and (max-height: 550px) {
    #cartfly {
        top: 0;
        left: 0;
        margin: 0;
        max-height: 90%;
    }
}

@media only screen and (max-width: 550px) {
    #cartfly {
        top: 0;
        left: 0;
        margin: 0;
        width: 220px;
        max-height: 90%;
    }

    #cartfly td.model, #cartfly td.price {
        display: none;
    }
}

#cartfly .cart-total {
    border-top: none;
}

#cartfly.active {
    display: block;
    z-index: 1334;
    overflow: auto;
}

input.product_quantity {
    width: 22px;
    float: left;
}

#cartfly table {
    width: 100%;
    margin-bottom: 0px;
    border-collapse: collapse;
    border-top: 1px solid #DDDDDD;
}

#cartfly td {
    padding: 7px 5px;
    min-width: 52px;
}

#cartfly thead td {
    color: #4D4D4D;
    font-weight: bold;
    background-color: #F7F7F7;
    border-bottom: 1px solid #DDDDDD;
}

#cartfly thead .remove, #cartfly thead .image {
    text-align: center;
}

#cartfly thead .name, #cartfly thead .model {
    text-align: left;
}

#cartfly thead .quantity, #cartfly thead .price, #cartfly thead .total {
    text-align: right;
}

#cartfly tbody td {
    vertical-align: top;
    border-bottom: 1px solid #DDDDDD;
}

#cartfly tbody .remove {
    vertical-align: middle;
}

#cartfly tbody .remove, #cartfly tbody .image {
    text-align: center;
}

#cartfly tbody .name, #cartfly tbody .model {
    text-align: left;
    color: #777;
    font-size: 14px;
    min-width: 90px;
}

#cartfly tbody .quantity, #cartfly tbody .price, #cartfly tbody .total {
    text-align: right;
}

#cartfly tbody span.stock {
    color: #F00;
    font-weight: bold;
}

#cartfly #total {
    border: none;
    margin-bottom: 0px;
}

#cartfly #total tbody td {
    border: none;
}

#cartfly .headingrightp a {
    float: right;
    cursor: pointer;
    display: inline-block;
    padding: 0px 0px 7px 20px;
    text-align: right;
    text-decoration: none;
    text-shadow: none;
    box-shadow: none;
    color: #4D4D4D;
    background: url("../image/remove.png") no-repeat scroll left 1px transparent;
    font-size: 16px;
    line-height: 16px;
}

#cart .headingrightp {
    display: none;
}

.mini-cart-total .ttl {
    width: 700px;
    font-size: 13px;
}

.mini-cart-total .vl {
    width: 100px;
    font-size: 13px;
}

#cartfly .mini-cart-total table {
    border: none;
    font-size: 13px;
}

#cartfly .headingright {
    display: none;
}

.headingrightp .buttons {
    border: none;
    margin-bottom: 0px;
}

.button_update, .button_delete {
    cursor: pointer;
}

.empty {
    text-align: center;
    font: 400 14px/22px "Tahoma", "Verdana", "Arial", sans-serif;
}

.top-cart-wrapper .content {
    display: none;
}

.top-cart-wrapper {
    float: left;
}

.header .headingright a:first-child {
    display: none;
}

.header .headingright {
    line-height: 14px;
}

.header .headingright a {
    font-weight: bold;
    font-size: 14px;
    line-height: 14px; /*text-transform: uppercase;*/
    color: #222; /*font-family: 'Open Sans';*/
}

.button_update, .button_delete {
    width: 16px;
}