.nifty-header-cart {
    display: inline-block;
}

#menu-main {
    display: inline-block;
    vertical-align:top;
}

.nifty-header-cart .cart-bg {
    background: url(images/sprite.png) no-repeat scroll 0 -76px transparent;
    position: relative;
    width: 120px;
    height: 91px;
    float: left;
}

.nifty-header-cart em.count {
    position: absolute;
    top: 16px;
    left: 48px;
    font-style: normal;
    font-size: 15px;
}

.nifty-header-cart em.total {
    position: absolute;
    bottom: 13px;
    left: 12px;
    font-family: 'JosefinSansBold',arial,sans-serif;
    font-style: normal;
    font-size: 15px;
}

.nifty-header-cart div.header-cart-arrow {
    background: url(images/sprite.png) no-repeat scroll -120px -76px transparent;
    position: relative;
    width: 32px;
    height: 91px;
    display: inline-block;
    cursor: pointer;
}


.nifty-header-cart div.header-cart-arrow span.arrow {
    background: url(images/sprite.png) no-repeat scroll -13px -62px transparent;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -7px;
    margin-left: -9px;
    width: 17px;
    height: 14px;
    display: block;
    text-indent: -9999px;
}


.nifty-header-cart .cart-contents {
    position: absolute;
    top: 99%;
    right: 2px;
    display: none;
    background: url(images/cart-bg.png) repeat scroll 0 0 #f2f2f2;
    box-shadow: 0 0 3px rgba(0,0,0,0.4);
    z-index: 1000;
    border-radius: 5px;
    border: 1px solid #ccc;
    cursor: auto;

    padding: 10px 0;
    padding: 1rem 0;

    font-size: 15px;
    font-size: 1.5rem;

    min-width: 300px;
    min-width: 30rem;

    width: 500px;
    width: 50rem;
}

.nifty-shopping-cart-wrapper {
    line-height: 1.2em;
    position: relative;
    min-height: 3em;
}

.nifty-header-cart .cart-contents  p.empty {
    color: #b45353;
}

.nifty-header-cart .cart-contents .nifty-shopping-cart-wrapper th {
    white-space: nowrap;
}

.nifty-header-cart .cart-contents .nifty-shopping-cart-wrapper tr td span.pricedisplay {
    white-space: nowrap;
}

.nifty-header-cart .cart-contents  .nifty-shopping-cart-wrapper .nifty-shoppingcart table tbody td.product-name {
    text-align: left;
    min-width: 50%;
    word-wrap: break-word;
    overflow: hidden;
}

.nifty-header-cart .cart-contents  .nifty-shopping-cart-wrapper .nifty-shoppingcart .checkout-total {
    white-space: nowrap;
}

.nifty-header-cart .cart-contents .nifty-shopping-cart-wrapper .nifty-shoppingcart table .product-name {
    width:50%;
    text-align: left;
}

.nifty-header-cart .cart-contents  .nifty-shopping-cart-wrapper .nifty-shoppingcart table .product-quantity {
    text-align: center;
    width: 100px;
}

.nifty-header-cart .cart-contents .nifty-shopping-cart-wrapper .nifty-shoppingcart table .product-price {
    width:100px;
}



.nifty-header-cart .cart-contents p.empty {
    width: 200px;
    height: 30px;
    position: absolute;
    top: 55%;
    left: 50%;
    margin-top: -15px;
    margin-left: -100px;
    text-align: center;
    color: #b45353;
}

.nifty-shopping-cart-wrapper .empty {
    margin-top: 10px;
}


.nifty-header-cart .cart-contents .visitshop:link, .nifty-header-cart .cart-contents .visitshop:visited {
    color: #666;
}

.nifty-header-cart .cart-contents .visitshop:link, .nifty-header-cart .cart-contents .visitshop:visited {
    color: #666;
}


.nifty-header-cart .cart-contents .remove_button {
    background: url(images/sprite.png) no-repeat scroll -41px -62px transparent;
    outline: none;
    border: none;
    text-indent: -9999px;
    cursor: pointer;
    width: 14px;
    height: 14px;
    padding: 0;
}


/* based on default width of 280 */
.nifty-header-cart .cart-contents .cart_item_description {width:100%;}
.nifty-header-cart .cart-contents .cart_item_image {float:left; width:40%;height:auto;margin-right: 3%;}
.nifty-header-cart .cart-contents .cart_item_image img { width:100%; }
.nifty-header-cart .cart-contents .cart_item_title {width:55%;height:auto;display:inline-block;}

.nifty-header-cart .cart-contents .cart-widget-links {
    text-align: center;
    height: 3.0em;
}

.nifty-shopping-cart-wrapper a.emptycart:link,
.nifty-shopping-cart-wrapper a.emptycart:visited {
    text-decoration:none;
    color:#666;
    font-size:11px;
}


.nifty-shopping-cart-wrapper  a.gocheckout {
    -moz-box-shadow:inset 0px 1px 0px 0px #c1ed9c;
    -webkit-box-shadow:inset 0px 1px 0px 0px #c1ed9c;
    box-shadow:inset 0px 1px 0px 0px #c1ed9c;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #9dce2c), color-stop(1, #8cb82b) );
    background:-moz-linear-gradient( center top, #9dce2c 5%, #8cb82b 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9dce2c', endColorstr='#8cb82b');
    background-color:#9dce2c;
    -webkit-border-top-left-radius:20px;
    -moz-border-radius-topleft:20px;
    border-top-left-radius:20px;
    -webkit-border-top-right-radius:20px;
    -moz-border-radius-topright:20px;
    border-top-right-radius:20px;
    -webkit-border-bottom-right-radius:20px;
    -moz-border-radius-bottomright:20px;
    border-bottom-right-radius:20px;
    -webkit-border-bottom-left-radius:20px;
    -moz-border-radius-bottomleft:20px;
    border-bottom-left-radius:20px;
    text-indent:0;
    border:1px solid #83c41a;
    display:inline-block;
    color:#ffffff;
    font-family:Arial;
    font-size:13px;
    font-weight:bold;
    font-style:normal;
    height:36px;
    line-height:36px;
    width:112px;
    text-decoration:none;
    text-align:center;
    text-shadow:1px 1px 0px #689324;
    float:right;
}

.nifty-shopping-cart-wrapper  a.gocheckout:hover {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #8cb82b), color-stop(1, #9dce2c) );
    background:-moz-linear-gradient( center top, #8cb82b 5%, #9dce2c 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#8cb82b', endColorstr='#9dce2c');
    background-color:#8cb82b;
}

.nifty-shopping-cart-wrapper  a.gocheckout:active {
     position:relative;
     top:1px;
 }

.nifty-header-cart .cart-contents a.emptycart {
    -moz-box-shadow:inset 0px 1px 0px 0px #f29c93;
    -webkit-box-shadow:inset 0px 1px 0px 0px #f29c93;
    box-shadow:inset 0px 1px 0px 0px #f29c93;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fe1a00), color-stop(1, #ce0100) );
    background:-moz-linear-gradient( center top, #fe1a00 5%, #ce0100 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fe1a00', endColorstr='#ce0100');
    background-color:#fe1a00;
    -webkit-border-top-left-radius:20px;
    -moz-border-radius-topleft:20px;
    border-top-left-radius:20px;
    -webkit-border-top-right-radius:20px;
    -moz-border-radius-topright:20px;
    border-top-right-radius:20px;
    -webkit-border-bottom-right-radius:20px;
    -moz-border-radius-bottomright:20px;
    border-bottom-right-radius:20px;
    -webkit-border-bottom-left-radius:20px;
    -moz-border-radius-bottomleft:20px;
    border-bottom-left-radius:20px;
    text-indent:0;
    border:1px solid #d83526;
    display:inline-block;
    color:#ffffff;
    font-family:Arial;
    font-size:13px;
    font-weight:bold;
    font-style:normal;
    height:36px;
    line-height:36px;
    width:112px;
    text-decoration:none;
    text-align:center;
    text-shadow:1px 1px 0px #b23e35;
    float:left;
}

.nifty-shopping-cart-wrapper  a.emptycart:hover {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ce0100), color-stop(1, #fe1a00) );
    background:-moz-linear-gradient( center top, #ce0100 5%, #fe1a00 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce0100', endColorstr='#fe1a00');
    background-color:#ce0100;
}

.nifty-shopping-cart-wrapper  a.emptycart:active {
     position:relative;
     top:1px;
 }

