/* extra Large Devices, Wide Screens */
@media only screen and (min-width : 1280px) {
    .commerce .tablecart{
        width:73% !important;
    }

    .overflow-cell{
        max-width: 697px !important;
        width: auto;
        overflow-x: auto;
        /* margin-top:18px !important; */
        padding-top: 65px !important;
    }

}
@media only screen and (min-width : 1280px) {
    .content-container {
        /*padding-top: 85px;*/
        padding-bottom: 60px;
        /*  min-height: 500px; */
    }

    .overflow-cell{
        max-width: 597px;
        width: auto;
        overflow-x: auto;
        /* margin-top:18px !important; */
        padding-top: 17px !important;
    }
    table:last-child .overflow-cell{
        max-width: 597px;
        width: auto;
        overflow-x: auto;
        /* margin-top:18px !important; */
        padding-top: 0px !important;
    }

    .enterprise-giftregistry-index-addselect,
    .enterprise-invitation-index-send,
    .sales-order-view,
    .cms-index-noroute,
    .storelocator-index-index,
    .helpdesk-ticket-index,
    .enterprise-invitation-index-index,
    .enterprise-rma-return-history,
    .enterprise-reward-customer-info,
    .enterprise-giftregistry-index-index,
    .enterprise-giftcardaccount-customer-index,
    .enterprise-customerbalance-info-index,
    .downloadable-customer-products,
    .newsletter-manage-index,
    .oauth-customer-token-index,
    .tag-customer-index,
    .review-customer-index,
    .sales-recurring-profile-index,
    .sales-billing-agreement-index,
    .sales-order-history,
    .customer-account-edit,
    .enterprise-rma-return-create,
    .customer-account-login,
    .customer-account-index,
    .customer-address-form,
    .customer-address-index,
    .enterprise-rma-return-view,
    .wishlist-index-index,
    .sales-order-shipment,
    .checkout-onepage-index,
    /*.enterprise-rma-guest-create { padding-top:101px; }*/

    .customer-account-forgotpassword,
    .cms-index-noroute,
    .storelocator-index-index,
    .customer-account-create,
    .customer-account-login
    /*.customer-account-logoutsuccess { padding-top: 100px;}*/


    /*.add-padding-top{ padding-top: 86px !important;}*/

    /*.add-margin-top{ margin-top: 155px !important;}
    */
}/* Large Devices, Wide Screens */
@media only screen and (max-width : 1280px) {

    .add-padding-top{ padding-top: 86px !important;}

    .add-margin-top{
        margin-top: 65px !important;
        margin-bottom: 0px !important;
    }
    .sales-order-history,
    .customer-account-index,
    .wishlist-index-index,
    .enterprise-rma-return-history,
    .newsletter-manage-index,
    .customer-address-form,
    .sales-order-view,
    .enterprise-rma-return-create,
    .enterprise-rma-return-view,
    .customer-account-edit,
    .customer-address-index,
    .sales-order-shipment,
    .enterprise-rma-guest-create {
        /*padding-top: 101px;*/

    }
    .enterprise-giftregistry-index-addselect,
    .enterprise-invitation-index-send,
    .helpdesk-ticket-index,
    .enterprise-invitation-index-index,
    .enterprise-reward-customer-info,
    .enterprise-giftregistry-index-index,
    .enterprise-giftcardaccount-customer-index,
    .enterprise-customerbalance-info-index,
    .downloadable-customer-products,
    .oauth-customer-token-index,
    .tag-customer-index,
    .review-customer-index,
    .sales-recurring-profile-index,
    .sales-billing-agreement-index,
    .customer-account-login,
    .checkout-onepage-index {
        /*padding-top:121px;*/
    }

    .customer-account-forgotpassword,
    .cms-index-noroute,
    .storelocator-index-index,
    .customer-account-login,
    .customer-account-logoutsuccess {
        /*padding-top: 161px;*/
    }

    .heading-background{
        margin-bottom:20px !important;
    }

    .content-container {
        /*padding-top: 85px;*/
        padding-bottom: 10px !important;
        /*  min-height: 500px; */
    }

    .commerce .tablecart{
        width:73% !important;
    }

    .overflow-cell{
        max-width: 697px;
        width: auto;
        overflow-x: auto;
        /* margin-top:18px !important; */
        padding-top: 16px !important;
    }
    table:last-child .overflow-cell:last-child{
        max-widt: 697px !important;
        width: auto;
        overflow-x: auto;
        /* margin-top:18px !important; */
        padding-top: 0px !important;
    }
    .customer-account-forgotpassword,
    .cms-index-noroute,
    .storelocator-index-index,
    .customer-account-create,
    .customer-account-login,
    .customer-account-logoutsuccess {
        /*padding-top: 15px;*/
    }

}
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
    .add-padding-top{ padding-top: 86px !important;}
    /*   .add-margin-top{ margin-top: 140px !important;} */
    .commerce .tablecart{
        width:100% !important;
    }
    .content-container {
        /*padding-top: 85px;*/
    }

}

/* Medium Devices, Desktops */
@media only screen and (max-width: 1024px){

    .add-padding-top{ padding-top: 86px !important;}
    /*    .add-margin-top{ margin-top: 120px !important;
        margin-bottom: 20px !important;} */

    .enterprise-giftregistry-index-addselect,
    .enterprise-invitation-index-send,
    .customer-account-login,
    a.helpdesk-ticket-index,
    .enterprise-invitation-index-index,
    .enterprise-reward-customer-info,
    .enterprise-giftregistry-index-index,
    .enterprise-giftcardaccount-customer-index,
    .enterprise-customerbalance-info-index,
    .downloadable-customer-products,
    .oauth-customer-token-index,
    .tag-customer-index,
    .review-customer-index,
    .sales-recurring-profile-index,
    .sales-billing-agreement-index,
    .customer-account-login,
    .checkout-onepage-index,
    .customer-account-forgotpassword,
    .cms-index-noroute,
    .storelocator-index-index,
    .customer-account-create,
    .customer-account-login,
    .customer-account-logoutsuccess {
        /*padding-top: 80px;*/
    }
    /* .sales-order-view,
    .customer-account-forgotpassword,
     .cms-index-noroute, 
    .storelocator-index-index,
      .customer-account-create, 
      .customer-account-login, 
      .customer-account-logoutsuccess { padding-top: 144px;} */

    .main-content table > tbody > tr > td.last {
        padding: 0.7692307692307693em;
        line-height: 1.6;
        vertical-align: middle;
        border: 0px solid #dedede;
        border-bottom: 1px solid #dedede;
        text-align: right;
    }
    .overflow-cell{
        max-width: 597px;
        width: auto;
        overflow-x: auto;
        /* margin-top:18px !important; */
        padding-top: 20px !important;
    }

}
@media only screen and (max-width: 900px){
    .sales-order-history,
    .customer-account-index,
    .wishlist-index-index,
    .enterprise-rma-return-history,
    .newsletter-manage-index,
    .customer-address-form,
    .sales-order-view,
    .enterprise-rma-return-create,
    .enterprise-rma-return-view,
    .customer-account-edit,
    .customer-address-index,
    .sales-order-shipment {
        padding-top: 80px;
    }
    .minicart{
        overflow-y: auto;
        height: 100%;
        /*height: auto;
        max-height: calc(100% - 74px);*/


    }
    .minicart .minicart-footer {
        margin-bottom: 30px;
    }

    .recaptcha-container {
        text-align: center;
    }

    .g-recaptcha {
        transform: scale(0.95);
        -webkit-transform: scale(0.95);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }

    .recaptcha-newsletter {
        transform: scale(0.85);
        -webkit-transform: scale(0.85);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
}
@media only screen and (max-width: 900px){
    .sales-order-history,
    .customer-account-index,
    .wishlist-index-index,
    .enterprise-rma-return-history,
    .newsletter-manage-index,
    .customer-address-form,
    .sales-order-view,
    .enterprise-rma-return-create,
    .enterprise-rma-return-view,
    .customer-account-edit,
    .customer-address-index,
    .sales-order-shipment {
        padding-top: 0;
    }
}
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    #wrapper {margin-top: 46px !important;}
    .content-container {
        /*padding-top: 45px;*/
    }
    .add-padding-top{
        padding-top: 120px !important;
    }
    .add-margin-top{
        margin-top: 70px !important;
        margin-bottom: 20px !important;
    }
    .catalog-product-view .add-padding-top {
        padding-top: 43px !important;
    }
    .minicart{
        overflow-y: auto;
        height: 100%;
        /*height: auto;
        max-height: calc(100% - 74px);*/

    }
    .minicart .minicart-footer {
        margin-bottom: 30px;
    }
    .customer-account-login,
    .enterprise-giftregistry-index-addselect,
    .enterprise-invitation-index-send,
    .helpdesk-ticket-index,
    .enterprise-invitation-index-index,
    .enterprise-reward-customer-info,
    .enterprise-giftregistry-index-index,
    .enterprise-giftcardaccount-customer-index,
    .enterprise-customerbalance-info-index,
    .downloadable-customer-products,
    .oauth-customer-token-index,
    .tag-customer-index,
    .review-customer-index,
    .sales-recurring-profile-index,
    .sales-billing-agreement-index,
    .customer-account-login,
    .checkout-onepage-index {
        /*padding-top: 14px !important;*/
    }

    .customer-account-forgotpassword,
    .customer-account-create,
    .customer-account-login,
    .customer-account-logoutsuccess { padding-top: 0px !important;}

    /*.cms-index-noroute #wrapper,*/
    /*!*.storelocator-index-index #wrapper,*!*/
    /*.customer-account-create #wrapper,*/
    /*.customer-account-login #wrapper,*/
    /*.customer-account-logoutsuccess #wrapper,*/
    /*.customer-account-index #wrapper {*/
    /*    padding-top: 46px !important;}*/


    .cart_item td:nth-child(5){

        margin-top:15px
    }


    .overflow-cell{
        max-width:297px;
        width: 100%;
        overflow-x: auto;
        /* margin-top:18px !important; */
        padding-top: 0px !important;
    }

}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 570px) {
    .add-padding-top{padding-top: 65px !important;}
    .add-margin-top{ margin-top: 40px !important;}




    .col-totals .totals{
        max-width:100% !important;
        margin:0;
    }

    .a-last{
        padding: 0px 10px !important;
    }

    .checkout-cart-index {

    }

    .minicart{
        width:100%;
        overflow-y: auto;
        height: 100%;
    }
    .minicart .minicart-footer {
        margin-bottom: 30px;
    }
    .cart_item td{
        float:left !important;
        /*width:100%;*/
        text-align:left

    }

    .cart_item td.product-remove{
        width:initial;
        text-align:left;
        margin-top:30px;

    }

    .cart_item td.product-thumbnail{
        width:initial;
        text-align:left;
        border:0 ;


    }
    .cart_item td.product-name{
        width:130px;
        text-align:left;
        display:block;
        padding-bottom:10px !important;
        border:0 ;

    }
    .cart_item td:nth-child(4):before{
        content:" ";
        width:100%;
        clear:both;
        display:block;
        border:0 ;

    }

    .shop_table.cart tr{
        border-top: 1px solid #000;
    }

    .shop_table.cart tr.first.last {
        border-top: none;
    }
    .cart_item td:nth-child(1){
        width:24px;
        /*display:none;*/
    }
    .cart_item td:nth-child(2){
        width:15%;
        /*display:none;*/
    }
    .cart_item td:nth-child(3){
        width: calc(55% - 24px);
        /*display:none;*/
    }
    .cart_item td:nth-child(4){
        width:30%;
        display:inline;
        border:0 ;
        padding-bottom: 0;
        text-align: center;
    }
    .cart_item td:nth-child(5){
        width:30%;
        display:inline;
        border:0 ;
        margin-top: 0;
    }
    .cart_item td:nth-child(6){
        width:30%;
        display:inline;
        border:0 ;
        padding-top: 0;
        text-align: center;
    }
    .commerce table.cart > tfoot > tr > td {
        text-align: center;
        padding: 4px 0px;
    }

    .minicart .minicart-body .cart-product .cart-product-details {
        float: left;
        color: #fff;
        max-width: 60%;
    }

    .overflow-cell{
        max-width:127px;
        width: auto;
        overflow-x: auto;
        /* margin-top:18px !important; */
        padding-top: 0px !important;
    }

    .enterprise-giftregistry-index-addselect,
    .enterprise-invitation-index-send,
    .customer-account-login,
    a.helpdesk-ticket-index,
    .enterprise-invitation-index-index,
    .enterprise-reward-customer-info,
    .enterprise-giftregistry-index-index,
    .enterprise-giftcardaccount-customer-index,
    .enterprise-customerbalance-info-index,
    .downloadable-customer-products,
    .oauth-customer-token-index,
    .tag-customer-index,
    .review-customer-index,
    .sales-recurring-profile-index,
    .sales-billing-agreement-index,
    .customer-account-login,
    .checkout-onepage-index,
    .customer-account-forgotpassword,
    .cms-index-noroute,
    .storelocator-index-index,
    .customer-account-create,
    .customer-account-login,
    .customer-account-logoutsuccess {
        /*padding-top: 38px;*/
    }
}

@media only screen and (max-width : 480px) {
    .catalog-product-view .add-padding-top {
        /*padding-top: 12px !important;*/
    }
    .minicart .minicart-body .cart-product .cart-product-details {
        max-width: 50%;
    }

}
@media only screen and (max-width : 450px) {
    .cart_item td:nth-child(2){
        width:20%;
        /*display:none;*/
    }
    .cart_item td:nth-child(3){
        width: calc(80% - 24px);
        /*display:none;*/
    }
    .cart_item td:nth-child(4){
        width:45%;
        display:inline;
        border:0 ;
        padding-bottom: 0;
        padding-top: 0;
        text-align: center;
    }
    .cart_item td:nth-child(5){
        width:10%;
        display:inline;
        border:0 ;
        margin-top: 0;
    }
    .cart_item td:nth-child(6){
        width:45%;
        display:inline;
        border:0 ;
        padding-top: 0;
        text-align: center;
    }
}
@media only screen and (max-width : 360px) {
    .cart_item td:nth-child(2){
        width:25%;
        min-height: 100px
    }
    .cart_item td:nth-child(3){
        width: calc(75% - 24px);
        min-width: 0;
        padding: 0.9em 0em 0.9em 0.2em;
        min-height: 100px
    }
    .cart_item td:nth-child(4){
        width:40%;
        display:inline;
        border:0 ;
        padding-bottom: 0;
        padding-top: 0;
        padding-right: 0;
        padding-left: 0;
        text-align: center;

    }
    .cart_item td:nth-child(5){
        width:20%;
        display:inline;
        border:0 ;
        margin-top: 0;
    }
    .cart_item td:nth-child(6){
        width:40%;
        display:inline;
        border:0 ;
        padding-top: 0;
        padding-right: 0;
        padding-left: 0;
        text-align: center;
    }
}
/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {




    .overflow-cell{
        max-width: 97px;
        width: auto;
        overflow-x: auto;
        /* margin-top:18px !important; */
        padding-top: 0px !important;
    }
}