
.AjaxMiniCartWrapper {
    position: relative;
    text-align: center;
    display: inline-block;
}

    .AjaxMiniCartWrapper #cart {
        display: inline-block;
        padding: 0 10px;
        border-radius: 6px;
    }

div.pnlLoginMini {
    width: 320px;
    height: 400px;
    padding: 5px;
    background: #fff;
    box-shadow: 1px 1px 6px 3px #ddd;
    margin: 0 auto;
    margin-top: 50vh;
    position: relative;
    transform: translate(0, -50%);
}

a.minicart-box {
    color: #7a7a7a;
    display: inline-block;
    width: 100%;
}

#cart.pulse {
    animation: pulse 1s;
}

@keyframes pulse {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.2)
    }

    100% {
        transform: scale(1)
    }
}

.emp .icon-cart {
    background: #eee url(/desktopmodules/nb_store/img/shopping-basket.svg) no-repeat center center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 5px;
    display: inline-block;
    background-size: 20px 20px !important;
    position: relative;
    vertical-align: middle;
    margin-right: 6px;
}

.icon-cart {
    width: 32px;
    height: 32px;
    max-width: fit-content;
    border-radius: 5px;
    display: inline-block;
    background-size: 20px 20px !important;
    position: relative;
    vertical-align: middle;
    /* margin-right: 6px; */
    /* fill: green; */
}

    .icon-cart svg {
        width: 24px;
        height: auto;
        transform: scale(1,1) scale(-1,1);
    }

        .icon-cart svg path {
            fill: black;
        }

#cartNum .num {
    position: absolute;
    top: -8px;
    color: #fff;
    font-family: arial;
    font-weight: bold;
    font-size: 11px;
    right: -7px;
    background-color: #a7a7a7;
    border-radius: 50%;
    display: block;
    width: 17px;
    height: 17px;
    line-height: normal;
    text-align: center;
    padding-top: 2px;
    transition: all 0.3s;
}

.cartinfo {
    display: none;
    position: absolute;
    /*left: 0;*/
    top: calc(100% - 3px);
    width: 300px;
    background: #fff;
    border-radius: 5px;
    -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .2);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .2);
    z-index: 1;
}

    .cartinfo .cartheader {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding: 12px 16px 12px 12px;
        font-size: 16px;
        font-size: 1.143rem;
        line-height: normal;
    }

    .cartinfo .cartcount {
        font-size: 12px;
        font-size: .857rem;
        line-height: normal;
        color: #81858b;
    }

    .cartinfo .cartlink {
        font-weight: 700;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        color: #0fabc6;
        font-size: 12px !important;
        font-size: .857rem !important;
        line-height: normal !important;
    }

        .cartinfo .cartlink span:after {
            content: "\E0BF\00FE0E";
            font-size: 18px;
            font-size: 1.286rem;
            line-height: normal;
        }

    .cartInfo .basketList {
        max-height: 293px;
        overflow-y: scroll;
        overflow-x: hidden;
        list-style: none;
        border-top: 1px solid #f0f0f1;
        margin-bottom: 0;
        /*display: flex;
    justify-content: center;
    flex-direction: column;*/
    }

        .cartInfo .basketList::-webkit-scrollbar {
            width: 0px;
            background: transparent;
        }

    .cartInfo .basketListItem {
        padding: 5px 0;
        border-bottom: 1px solid #f0f0f1;
        position: relative;
    }

        .cartInfo .basketListItem:last-child {
            border-bottom: none;
        }

    .cartInfo .basketListItemImage {
        width: 75px;
        max-width: 75px;
        max-height: 75px;
        position: relative;
    }

        .cartInfo .basketListItemImage img {
            max-height: 100%;
            max-width: 100%;
            overflow: hidden;
            max-height: 75px;
        }

    .cartInfo .basketListItemContent {
    }

    .cartInfo .basketListItem .titleItem {
        font-size: 12px !important;
        font-weight: 700;
        margin-bottom: 5px;
        color: #424750;
    }

    .cartInfo .basketListItem .footerItem {
    }

    .cartInfo .basketListItem .props {
        color: #81858b;
        font-size: 10px;
        line-height: normal;
        width: calc(100% - 40px);
        display: inline-block;
    }

        .cartInfo .basketListItem .props .propsItem:not(:last-child) {
            padding-left: 8px;
            margin-left: 8px;
            border-left: 1px solid #f0f0f1;
        }

        .cartInfo .basketListItem .props .propsItem {
            display: -webkit-inline-box;
            display: -ms-inline-flexbox;
            display: inline-flex;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
        }

    .cartInfo .basketListItem .remove {
        background: #fff;
        border: 0;
        outline: 0;
        color: #a1a3a8;
        cursor: pointer;
        float: left;
        transition: all 0.3s;
        position: absolute;
        left: 15px;
        bottom: 4px;
    }

        .cartInfo .basketListItem .remove:hover {
            color: #a56565;
        }

        .cartInfo .basketListItem .remove:before {
            content: "\f1f8";
            font-family: fontawesome;
            font-size: 14px;
            line-height: normal;
        }

    .cartInfo .footer {
        padding: 8px;
        border-top: solid 1px #ddd;
        margin-top: 8px;
    }

        .cartInfo .footer .totalText {
            margin-bottom: 4px;
            font-size: 10px;
            /* float: right; */
        }

        .cartInfo .footer .total:after {
            content: '';
            display: table;
            clear: both;
        }

        .cartInfo .footer .totalAmount {
            font-size: 10px;
            /* font-weight: 700; */
            display: inline-block;
            /* margin-right: 15px; */
            margin-bottom: 0;
            float: right;
            line-height: 35px !important;
        }

        .cartInfo .footer .submit-order {
            transition: all 0.3s;
            border: solid 1px #ddd;
            padding: 5px 15px;
            background-color: #66c36f;
            color: #fff;
            border-radius: 6px;
            float: left;
        }

            .cartInfo .footer .submit-order:hover {
                background-color: #4ba554
            }

        .cartInfo .footer .totalAmount .totalAmountNumber {
            font-size: 16px;
            line-height: normal;
            margin-left: 1px;
            margin-right: 5px;
            font-weight: bold;
        }

.cartInfo {
    display: none;
    Position: absolute;
    right: 0;
    top: 30px;
    width: 300px;
    z-index: 1;
    padding-top: 10px;
}

    .cartInfo .cartInfo-wrap:after {
        content: '';
        position: absolute;
        right: 12px;
        top: -20px;
        border-left: solid 10px transparent;
        border-top: solid 10px transparent;
        border-right: solid 10px transparent;
        border-bottom: solid 10px #ffffff;
        /* box-shadow: 0px 0px 6px 2px #0000004f; */
    }

.cartInfo-wrap {
    min-height: 100px;
    /* box-shadow: 0px 0px 6px 2px #0000004f; */
    border-radius: 4px;
    background-color: #fff;
    filter: drop-shadow(0px 0px 6px rgba(0,0,0,0.3));
}

.cartInfo .empty-cart {
    /* line-height:100px; */
    text-align: center;
    padding: 84px 0 34px;
    font-size: 15px;
    background: url('/desktopmodules/nb_store/img/icon-empty-cart.png') no-repeat center 15px;
    background-size: 50px;
    color: #696969;
}

    .cartInfo .empty-cart i {
        display: inline-block;
        width: 100%;
    }

.cartInfo .loader-shade {
    content: '';
    width: 100%;
    /* height: 100%; */
    position: absolute;
    lefT: 0;
    top: 10px;
    background-color: #00000021;
    z-index: 1;
    min-height: 100px;
    transition: all 0.2s;
    /* transform: scale(0); */
    display: none;
    border-radius: 4px;
}

.cartInfo.loading .loader-shade {
    /* transform: scale(1);*/
    display: block;
}

.show-loading .cartInfo {
    min-height: 40px;
}

    .show-loading .cartInfo .loading {
        position: absolute;
        left: 0;
        top: 0;
        background-color: red;
        width: 100%;
        height: 100%;
    }

/*#cart:hover~.cartInfo,
.cartInfo:hover {
    display: block
}*/

.addToCart {
    position: relative;
    width: 100%;
    transition: all 0.3s;
}

.show-loading.addToCart,
.show-loading.addToCart span,
.show-loading.addToCart span:after {
    font-size: 0;
}

.addToCart:after,
.addToCart:before {
    content: "";
    position: absolute;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
    width: 20px;
    height: 20px;
    opacity: 0;
    transition: all 0.3s;
}

.show-loading.addToCart:after,
.show-loading.addToCart:before {
    opacity: 1;
}

.addToCart:after {
    background: url('/desktopmodules/NB_Store/img/Spin.gif') no-repeat;
    background-position: center;
    background-size: contain;
}

.addToCart:before {
    z-index: 100;
    animation: spin 1s infinite;
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.cartInfo .cartheader .cartcount {
    float: right;
}

.cartInfo .cartheader .cartlink {
    float: left;
    color: #49a4e3;
    transition: all 0.3s;
}

    .cartInfo .cartheader .cartlink:hover {
        color: #3889c1
    }

.cartInfo .cartheader {
    padding: 4px 15px;
}

    .cartInfo .cartheader:after {
        display: table;
        content: '';
        clear: both
    }

.basketList .basketListItem a {
    display: flex;
    width: 100%;
    padding: 0 15px 0 29px;
}

.basketList .basketListItem .basketListItemImage {
    float: right;
}

.basketList .basketListItem .basketListItemContent {
    float: right;
    width: calc(100% - 75px);
    padding-right: 15px;
    text-align: right;
}



.cartInfo .loader,
.cartInfo .loader:before,
.cartInfo .loader:after {
    border-radius: 50%;
    width: 1.5em;
    height: 1.5em;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: load7 1.8s infinite ease-in-out;
    animation: load7 1.8s infinite ease-in-out;
    /* transform:translate(-50%,-50%) scale(0); */
}

.cartInfo.loading .loader {
    /*transform: translate(-50%,-50%) scale(1);*/
    display: block;
}

.cartInfo .loader {
    color: #585858;
    font-size: 10px;
    /* margin: 80px auto; */
    position: relative;
    text-indent: -9999em;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
    position: absolute;
    left: 50%;
    top: calc(50% - 2.5em);
    transform: translate(-50%,-50%);
    display: none;
}

    .cartInfo .loader:before,
    .cartInfo .loader:after {
        content: '';
        position: absolute;
        top: 0;
    }

    .cartInfo .loader:before {
        left: -3.5em;
        -webkit-animation-delay: -0.32s;
        animation-delay: -0.32s;
    }

    .cartInfo .loader:after {
        left: 3.5em;
    }

@-webkit-keyframes load7 {
    0%, 80%, 100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }

    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

@keyframes load7 {
    0%, 80%, 100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }

    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

@media all and (max-width:767px) {
    .cartInfo {
        display: none !important;
    }
}
