﻿/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    z-index: 999;
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 10px;
    color: #000;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.modal-textalert {
    font-size: 16px;
    text-align: center;
    margin-top: 20px;
}

.mt20 {
    margin-top: 20px;
}

.input-group-addon {
    border-radius: unset;
}

.upload {
    background-color: #c53030;
    cursor: pointer;
    color: #fff;
}

    .upload:hover {
        background-color: #7e1010;
    }

select {
    padding: 10px !important;
    height: 42px !important;
    border-radius: 4px !important;
    border: 1px solid #ddd !important;
}

.see-detail {
    color: #af0f0f !important;
}

    .see-detail:hover {
        color: #ff0000 !important;
    }

.track-address-left {
    border-radius: 10px;
    background-color: #f4f4f4;
    padding-top: 15px;
    padding-bottom: 15px;
    height: 120px;
    max-height: 120px;
    padding: 15px;
}

.track-address-right {
    border-radius: 10px;
    background-color: #f4f4f4;
    padding-top: 15px;
    padding-bottom: 15px;
    height: 120px;
    max-height: 120px;
    padding: 15px;
}

.addaddress {
    font-size: 16px !important;
    color: #ff0000 !important;
    font-weight: 100 !important;
}

.radioaddress {
    margin-top: -12px;
    margin-left: 15px;
    margin-right: -15px;
}

.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}

.icon-midle {
    /*padding-top: 2px;*/
}

.product-unit {
    cursor: pointer;
    display: inline-block;
    min-width: 8rem;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 1.2rem;
    height: 3.4rem;
    line-height: 1;
    margin: 0 8px 8px 0;
    color: rgba(0,0,0,.8);
    text-align: center;
    white-space: nowrap;
    border-radius: 2px;
    position: relative;
    background: #fff;
    outline: 0;
    border: 1px solid rgba(0,0,0,.09);
}

    .product-unit:hover, .product-unit.active {
        color: #f2020b;
        border: 1px solid #c53030;
    }

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

del {
    text-decoration-style: solid;
    text-decoration-color: #ff0000;
    font-size: 13px;
}

.add-fav {
    padding: 5px;
    font-size: 11.5px;
    border: 1px solid;
    float: left;
    margin-left: 5px;
    border-radius: 6px;
}

.fav-no {
    color: #808080 !important;
}

.add-fav-noboder {
    padding: 5px;
    font-size: 20px;
    margin-left: 5px;
    /*float: left;*/
}

.unitname {
    font-size: 14px;
    color: #000;
    font-weight: 500;
}

.between {
    border: 1px solid #ccc;
    width: 100%;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 8px rgb(0 0 0 / 8%), 0 0 9px rgba(0,0,0,.05);
    transition: .3s transform cubic-bezier(.155,1.105,.295,1.12),.3s box-shadow,.3s -webkit-transform cubic-bezier(.155,1.105,.295,1.12);
}

.mainmenu-area ul.navbar-nav li a.active {
    /*background: #bd0200;
    color: #fff;
    border-radius: 4px;*/
    border-bottom: 3px solid #bd0200;
    background-color: #fff;
}

.mainmenu-area ul.navbar-nav li a:hover {
    background-color: #fff;
    color: #bd0200;
}

.btn-submit {
    background: none repeat scroll 0 0 #c53030;
    border: medium none;
    color: #fff;
    padding: 11px 20px;
    text-transform: uppercase;
    border-radius: 4px;
}

.footer-wid-title {
    font-size: 18px !important;
}

@media (min-width: 1200px) {
    .container {
        width: 80% !important;
    }
}

/*.single-shop-product:hover {
    border: 1px solid #ff0000!important;
}*/

.p-current {
    color: #000;
    font-weight: 600;
}

#divLoading {
    display: none;
}

    #divLoading.show {
        display: block;
        position: fixed;
        z-index: 9999;
        background-image: url('../images/loading.gif');
        background-size: 30px 30px;
        background-color: #666;
        opacity: 0.4;
        background-repeat: no-repeat;
        background-position: center;
        left: 0;
        bottom: 0;
        right: 0;
        top: 0;
    }

#loadinggif.show {
    left: 50%;
    top: 50%;
    position: absolute;
    z-index: 101;
    width: 32px;
    height: 32px;
    margin-left: -16px;
    margin-top: -16px;
}

.cart-right-group {
    height: 100px;
    overflow-y: scroll;
}

.cart-right {
    right: 52px;
    padding: 10px !important;
    width: 250px !important;
    z-index: -1 !important;
}

.cart-right-del {
    width: 10px;
    float: left;
    padding-top: 10px;
}

.cart-right-name {
    width: 100px;
    float: left;
    font-size: 10px;
    padding: 5px;
}

.cart-right-img {
    float: left;
    padding-right: 5px;
}

div.cart-right-del > a:hover, div.cart-right-del:hover {
    color: #b0230e !important;
    background-color: #fff !important;
}

div.cart-right-del > a {
    padding: 10px !important
}

.chat {
    width: 50px;
    /*height: 75px;*/
    /*background: #fff;*/
    font-size: 20px;
    text-align: center;
    position: fixed;
    /*box-shadow: 0 2px 4px 0;*/
    right: 10px;
    z-index: 9999;
    bottom: 0;
    /*padding-left: 5px;
    padding-right: 5px;*/
}

    .chat a {
        color: #000 !important;
        text-decoration: none;
    }


/*NEW MENU*/

#menu-bar ul li.menu-dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
}

.menu-dropdown {
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,.2);
    z-index: 100;
}

    .dropdown-content a {
        color: #777;
        padding: 2px 10px;
        text-decoration: none;
        display: flex !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        z-index: 20;
        transition: .2s;
        line-height: normal;
    }

.main-group-cat {
    width: 1366px;
    max-width: 1325px;
}

@media only screen and (max-width: 768px) {
    .main-group-cat {
        width: 600px;
        max-width: 768px;
    }
}

@media only screen and (min-width: 768px) {
    .main-group-cat {
        width: 600px;
        max-width: 600px;
    }
}

@media only screen and (min-width: 992px) {
    .main-group-cat {
        width: 768px;
        max-width: 768px;
    }
}

@media only screen and (min-width: 1200px) {
    .main-group-cat {
        width: 992px;
        max-width: 992px;
    }
}

.main-category {
    display: inline-block;
    width: 25%;
    background-color: #f9f9f9;
    float: left;
    position: relative;
    padding: .85rem 0;
    height: 475px;
    overflow: scroll;
    overflow-x: hidden;
    overflow-y: scroll;
}

    .main-category::-webkit-scrollbar-track {
        border: 1px solid #ccc;
        padding: 2px 0;
        background-color: #ddd;
    }

    .main-category::-webkit-scrollbar {
        width: 10px;
    }

    .main-category::-webkit-scrollbar-thumb {
        border-radius: 10px;
        box-shadow: inset 0 0 6px rgba(0,0,0,.3);
        background-color: #737272;
        border: 1px solid #ccc;
    }

    .main-category li {
        text-align: left;
        padding: .5rem .5rem 0 .5rem;
    }

.li-menu {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 240px;
    /*    white-space: nowrap;*/
}

.main-category-item {
    padding-bottom: .5rem;
    border-bottom: .5px solid #ddd;
}

.main-category ul {
    list-style: none;
    padding-left: 0;
}

.main-category li {
    text-align: left;
    padding: .5rem .5rem 0 .5rem;
}

.sec-category {
    display: inline-block;
    width: 75%;
    background-color: #fff;
    position: relative;
    padding: .85rem 0;
    height: 475px;
    overflow: scroll;
    overflow-x: hidden;
    overflow-y: scroll;
}

    .sec-category::-webkit-scrollbar-track {
        border: 1px solid #ccc;
        padding: 2px 0;
        background-color: #ddd;
    }

    .sec-category::-webkit-scrollbar {
        width: 10px;
    }

    .sec-category::-webkit-scrollbar-thumb {
        border-radius: 10px;
        box-shadow: inset 0 0 6px rgba(0,0,0,.3);
        background-color: #737272;
        border: 1px solid #ccc;
    }

    .sec-category > div > ul {
        list-style: none;
        padding-left: 1rem;
    }

.add-on {
    display: none;
}

.add-active {
    display: block;
    background-color: #fff;
}

.menu-secondary-item div {
    padding: 10px;
    height: 50px;
}

.icon-bar {
    background: none repeat scroll 0 0 #bf0101 !important;
}


@media only screen and (max-width: 767px) {
    .navbar-toggle {
        border-color: #bf0101 !important;
    }
}

@media only screen and (max-width: 767px) {
    .navbar-collapse.collapse.in {
        background: none repeat scroll 0 0 #bf0101;
        position: relative;
        z-index: 99;
    }
}

.disabled {
    background: none repeat scroll 0 0 #ccc !important;
}

.dropdown-search-history {
    margin-top: 42px;
    padding: 10px 0px;
    color: #8E8E8E;
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,.2);
    border-radius: 4px;
    z-index: 100;
}

    .dropdown-search-history ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

        .dropdown-search-history ul li {
            line-height: 25px;
            cursor: pointer;
        }

            .dropdown-search-history ul li span {
                padding-left: 20px;
                font-size: 12px;
            }

            .dropdown-search-history ul li:hover {
                background-color: #F7F7F7;
            }


#btnTotop {
    display: inline-block;
    background-color: #ddd;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 24px;
    position: fixed;
    bottom: 140px;
    right: 11px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

    #btnTotop::after {
        content: "\f077";
        font-family: FontAwesome;
        font-weight: normal;
        font-style: normal;
        font-size: 1.4em;
        line-height: 50px;
        color: #fff;
    }



    #btnTotop:hover {
        cursor: pointer;
        background-color: #808080;
    }

    #btnTotop:active {
        background-color: #555;
    }

    #btnTotop.show {
        opacity: 1;
        visibility: visible;
    }

@media only screen and (max-width: 767px) {
    .navbar-header {
        text-align: center;
        position: absolute;
        top: -7rem;
        left: 15px;
    }

    #slide-list {
        margin-top: 30px;
    }

    .navbar-toggle {
        padding: 12px 10px !important;
    }

    #timecountdown {
        padding-left: 0;
    }

    ul#timecountdown > li {
        display: inline-block;
        font-size: 20px;
        list-style-type: none;
        padding: 0.5em;
        text-transform: uppercase;
    }

    .content-xs {
        padding-top: 30px;
    }
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

i > span {
    font-family: 'Prompt', sans-serif;
}

@media only screen and (max-width: 1460px) {
    .hidetextfav {
        display: none;
    }
}


