﻿
/*---------------------
  Custom Hr
-----------------------*/
.custom-hr {
    width: 100%; 
    padding-top:20px; 
    margin:0;
}

    .custom-hr > div {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #ccc;
        line-height: 0.1em;
    }
        .custom-hr > div > span {
            background: #f1f1f1;
            padding: 0 10px;
            font-size:16pt;
        }

/*---------------------
  Middle Nav
-----------------------*/
.dp-menu {
    height: auto;
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
    background: #fff;
}

    .dp-menu .swiper-item {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        height: auto;
        overflow: hidden;
        align-items: flex-start;
    }

    .dp-menu .menu-nav4 {
        width: 25%;
        text-align: center;
        margin-bottom: 8px;
        position: relative;
    }

        .dp-menu .menu-nav4 .menu-btn {
            display: inline-block;
            overflow: hidden;
            position: relative;
            border-radius: 0%;
            width: 44px;
            height: 44px;
        }

.menu-btn > div, .menu-btn > img {
    width: 100%;
    height: 100%;
}

.dp-menu .menu-nav4 .menu-text {
    color: #808080;
}

.dp-menu .menu-nav4:hover{
    text-decoration: none;
}
.dp-menu .menu-nav4:hover .menu-text {
    color: #2c4799;
}

        
/*---------------------
  Bottom Nav
-----------------------*/
            .dp-tabbar {
    height: auto;
    position: relative;
}

.dp-tabbar-module {
    position: fixed;
    display: flex;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height: 55px;
    bottom: 0;
    font-size: 12px;
    color: #999;
    z-index: 999999;
    box-sizing: initial;
}

.dp-tabbar-cut{
    position: absolute;
    height: 40%;
    width: 100%;
    top: 60%;
    background: #fff;
}

.dp-tabbar-sideL {
    position: relative;
    height: 100%;
    background: #fff;
    flex: 1;
    display: flex;
    align-items: center;
    border-radius: 0 14px 0 0 !important;
    padding-right: 20px;
    box-shadow: 0 -1px 10px 0 rgba(50,50,50,.2);
}

.dp-tabbar-sideR {
    position: relative;
    height: 100%;
    background: #fff;
    flex: 1;
    display: flex;
    align-items: center;
    border-radius: 14px 0 0 0 !important;
    padding-left: 20px;
    box-shadow: 0 -1px 10px 0 rgba(50,50,50,.2);
}

.dp-tabbar-center {
    position: relative;
    width: 52px;
    height: 100%;
    margin: 0 -1px;
    background-image: radial-gradient(circle at center top, rgba(0, 0, 0, 0) 27px, rgb(255, 255, 255) 27px);
    z-index:1;
}

    .dp-tabbar-center .dp-tabbar-icon {
        box-shadow: 0 0 10px 0 rgba(50,50,50,.2);
    }

.dp-tabbar-item {
    flex: 1;
    text-align: center !important;
    overflow: hidden;
    align-items: center;
}

.dp-tabbar-icon {
    width: 25px;
    height: 25px;
    display: inline-block;
    overflow: hidden;
    position: relative;
    margin-bottom: 2px;
}

.dp-tabbar-icon > div {
    width: 100%;
    height: 100%;
}

.dp-tabbar-text {
    line-height: 15px;
    font-size: 12px;
    color: #808080;
    overflow: visible;
    white-space: nowrap;
    z-index: 99;
}


.dp-tabbar-center .dp-tabbar-icon {
    position: absolute;
    top: -22px;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 45px;
    width: 45px;
    border-radius: 50px !important;
}

.dp-tabbar-center .dp-tabbar-icon > img{
    padding:5px;
}

.dp-tabbar-center .dp-tabbar-text{
    position: absolute;
    width: 100%;
    line-height: 1;
    top: 36px;
    text-align: center;
}
.dp-tabbar-item:hover{
    text-decoration: none;
}
.dp-tabbar-item:hover .dp-tabbar-text {
    color: #2c4799;
}

.dp-tabbar-img {
    background-position: 0% 0%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

    .dp-tabbar-img[data-home] {
        background-image: url(/assets/img/btnav-home.png);
    }

    .dp-tabbar-img[data-category] {
        background-image: url(/assets/img/btnav-category.png);
    }

    .dp-tabbar-img[data-info] {
        background-image: url(/assets/img/btnav-info.png);
    }

    .dp-tabbar-img[data-cart] {
        background-image: url(/assets/img/btnav-cart.png);
    }

    .dp-tabbar-img[data-profile] {
        background-image: url(/assets/img/btnav-profile.png);
    }

.dp-tabbar-item:hover .dp-tabbar-img[data-home] {
    background-image: url(/assets/img/btnav-home2.png);
}

.dp-tabbar-item:hover .dp-tabbar-img[data-category] {
    background-image: url(/assets/img/btnav-category2.png);
}

.dp-tabbar-item:hover .dp-tabbar-img[data-info] {
    background-image: url(/assets/img/btnav-info2.png);
}

.dp-tabbar-item:hover .dp-tabbar-img[data-cart] {
    background-image: url(/assets/img/btnav-cart2.png);
}

.dp-tabbar-item:hover .dp-tabbar-img[data-profile] {
    background-image: url(/assets/img/btnav-profile2.png);
}

/*
@media (min-width: 991px) {
    .dp-tabbar {
        display: none !important;
    }
}
*/

.dp-tabbar .cart-item {
    position: absolute;
    background: red;
    color: #fff;
    top: 0px;
    font-weight: 400;
    right: 0;
    text-align: center;
    border: 1px solid red;
    font-size: 10px;
    min-width: 10px;
    line-height: 10px;
}
