.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 500;
}

main {
    padding-top: 5px;
    max-width: 1140px;
    margin: 0 auto;
    font-size: 1rem;
}

.carousel-control-next,
.carousel-control-prev {
    background: none;
    border: none;
}

.main_bg {
    background: var(--main_bg);
    color: #fff;
}

.top_text .nav-link {
    text-decoration: none;
}

.top_text .Tlink::after {
    content: '';
    display: block;
    width: 0;
    right: 0;
    height: 2px;
    background: var(--top_text);
    transition: .3s;
}

.top_text .Tlink:hover::after {
    color: var(--top_text);
    width: 100%;
    left: 0;
}

.top_text .dropdown-toggle :focus {
    color: var(--top_text);
    border-bottom: 2px solid var(--top_text);
}

.top_text a {
    color: var(--top_text);
}

.top_text a:hover {
    color: var(--top_text);
}

.top_text i {
    color: var(--top_text);
}

.btn-brand button {
    color: var(--button_text);
    background: var(--button_color);
}

.btn-brand button:hover,
.btn-brand button:focus {
    color: var(--button_text);
    box-shadow: none;
}

.icon {
    font-size: 1.25rem;
}

.header {
   
    font-size: 1rem;
}

.dropdown-menu li {
    display: unset !important;
    text-decoration: none;
}

.logo {
    width: 100px;
    cursor: pointer;
}

.headershadow{
    -webkit-box-shadow: 3px 3px 5px #6c757d;
    -moz-box-shadow: 3px 3px 5px #6c757d;
    box-shadow: 2px 0px 5px #6c757d;
}
/*----------footer--------*/

.footcolor {
    background: #212529;
    padding: 20px 0;
    border-top: 1px solid #fff;
    color: #fff;
}

.footcolor a,
.footcolor p {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    line-height: 2;
}

.fofootcolorot h5 {
    font-weight: 800;
    color: #c5a880;
    padding-bottom: 10px;
}

.follow {
    text-align: center;
}

.follow a {
    width: 26px;
    color: #E9AFAF;
    margin: 5px;
}

.qucik_link a:hover {
    border-bottom: 1px solid #fff;
}

.qucik_link {
    text-align: center;
}

@media only screen and (max-width: 800px) {
    .all_product {
        align-self: center!important;
    }
}

.lblCartCount {
    font-size: 0.85rem;
    background: #C83737;
    color: #fff;
    padding: 0 5px;
    vertical-align: top;
    margin-left: -10px;
    margin-top: 0px;
}

.badge {
    padding-left: 9px;
    padding-right: 9px;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
}

.label-warning[href],
.badge-warning[href] {
    background-color: #c67605;
}

.mobile-bottom-nav {
    position: fixed;
    padding-bottom: 30px;
    bottom: 0px;
    left: 0;
    right: 0;
    z-index: 1000;
    color: #000 !important;
    /*give nav it's own compsite layer*/
    will-change: transform;
    transform: translateZ(0);
    display: flex;
    box-shadow: 0 -2px 3px -2px rgb(131, 131, 131);
    background-color: #fff;
}

.mobile-bottom-nav a {
    color: #000;
}

.item {
    flex: 1 1 0px;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.mobile-bottom-nav .item .active {
    color: #C83737;
}

.item-content {
    display: flex;
    text-align: center;
}

.icon button {
    color: #fff
}

.icon button:hover {
    color: #fff
}

.icon button:active {
    outline: none;
    border: none;
}

.icon button:focus {
    outline: none !important;
    box-shadow: none
}

.search input:focus {
    outline: none;
}

.input_search {
    background-color: #212529;
    border-bottom: 1px solid #fff;
    border-right: none;
    color: #fff;
}

.dropdown-menu {
    background-color: #fff;
    z-index: 100;
}

a.dropdown-item:hover {
    background-color: #49b293;
    color: #fff;
}

.bg_color {
    background: #fff;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

img[src=""] {
    display: none;
}

.text_2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* number of lines to show */
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
}

.price {
    font-size: 1.6rem;
    font-family: "微軟正黑體", Arial;
}

.cost,
.currency {
    font-size: 1.2rem;
}

.footer {
    font-size: 1.2rem;
}

.btn {
    font-size: 1rem;
}

.hourglass {
    font-family: 'Font Awesome 5 Free';
}

.hourglass:before {
    content: '\f251';
    -webkit-animation: iconAnimation2 3s infinite;
    -moz-animation: iconAnimation2 3s infinite;
    -o-animation: iconAnimation2 3s infinite;
    -ms-animation: iconAnimation2 3s infinite;
    animation: iconAnimation2 3s infinite;
}

@keyframes iconAnimation2 {
    0% {
        content: '\f251';
        -webkit-transform: rotate(0deg);
    }
    50% {
        content: '\f252';
        -webkit-transform: rotate(0deg);
    }
    75% {
        content: '\f253';
        -webkit-transform: rotate(0deg);
    }
    100% {
        content: '\f253';
        -webkit-transform: rotate(180deg);
    }
}

@media (max-width:992px) {
    .btn {
        font-size: 1.8rem;
    }
    .price {
        font-size: 2.8rem;
    }
    .lookmore{
        font-size: 1.4rem;
    }
    .cost,
    .currency {
        font-size: 1.8rem;
    }
    .header {
        font-size: 2rem;
    }
    .footer {
        font-size: 1.6rem;
    }
    .footer nav {
        padding: 10px;
    }
    .footer i {
        font-size: 45px;
    }
    .navbar-toggler {
        font-size: 2rem;
        color: #000;
    }
    .lblCartCount {
        font-size: 20px;
        background: #C83737;
        color: #fff;
        vertical-align: top;
        margin-left: -25px;
        /*padding: 5px 15px;*/
        margin-top: 0px;
    }
    .logo {
        width: 150px;
        cursor: pointer;
    }
    main {
        max-width: 800px;
        font-size: 1.8rem;
    }
    h5 {
        font-size: 2rem;
    }
    .foot,
    .foot a {
        font-size: 1.8rem;
    }
    .foot i {
        font-size: 2.5rem;
    }
    .dropdown-menu {
        font-size: 1.8rem;
        text-align: left;
    }
    .countdown_new{
        font-size: 1.6rem;
    }
}

.red {
    color: #F10215;
}
.account-control > a:hover {
    color: rgba(162,4,1,1);
    border-color: rgba(162,4,1,1);
}

.dropdown-container:before {
    position: absolute;
    left: 0;
    right: 0;
    top: -23px;
    bottom: 0;
    content: "";
    box-shadow: 0 3px 10px rgb(0 0 0 / 20%);
    display: block;
}
.user:hover .dropdown-container{
    display:block;
    -webkit-animation-duration:300ms;
    -moz-animation-duration:300ms;
    animation-duration:300ms;
    animation-delay:100ms;
    -webkit-animation-delay:100ms;
    -moz-animation-delay:100ms;
    -webkit-animation-fill-mode:both;
    -moz-animation-fill-mode:both;
    animation-fill-mode:both;

    -webkit-transform-origin:0 0 0;
    -moz-transform-origin:0 0 0;
    -ms-transform-origin:0 0 0;
    z-index:5
}
.user .dropdown-container.active{
    content: "";
    display: block;
    -webkit-animation-duration:300ms;
    -moz-animation-duration:300ms;
    animation-duration:300ms;
    animation-delay:100ms;
    -webkit-animation-delay:100ms;
    -moz-animation-delay:100ms;
    -webkit-animation-fill-mode:both;
    -moz-animation-fill-mode:both;
    animation-fill-mode:both;

    -webkit-transform-origin:0 0 0;
    -moz-transform-origin:0 0 0;
    -ms-transform-origin:0 0 0;
    z-index:5
}
.dropdown-container {
    content: "";
    display: none;
    width: 300px;
    position: absolute;
    right: auto;
    left: 65%;
    top: 100%;
    min-width: 120px;
    padding: 7px 30px 30px 30px;
    background-color: #fff;
    color: #000;
}

.dropdown-container .form-content {
    position: relative;
    z-index: 1;
}
