﻿* {
    margin: 0px;
    padding: 0px;
}

body {
	
     /*background: url('/images/bg.jpg');*/
  background: #f9f8f7;
  background-size: 100%;
}


header {
    width: 100%;
    height: 50px;
    line-height: 50px;
    /* background-color: #FFFFFF; */
     background: #000000;
     /*  background: url('/images/bg.jpg');*/
    text-align: center;
    position: relative;
    /*position: fixed;
    top: 0px;
    left: 0px;*/
}
/*.home_header {
    background-color: #ffbd84;
}*/

.navBtn {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    float: left;
}

.navIcon {
    font-size: 28px;
    color: #ffffff;
}

.exit {
    font-size: 24px;
    color: #fff;
}

.thisHtml {
    font-size: 18px;
    font-family: LatoBold;
    color: #ffffff;
}

.userBox {
    width: 50px;
    height: 50px;
    font-size: 22px;
    float: right;
    color: #ffffff;
}

.Logout {
    width: 50px;
    height: 50px;
    font-size: 22px;
    float: right;
    color: #fff;
    margin-right: 22px;
}

.nav {
    z-index: 50;
    width: 90%;
    position: absolute;
    /* top: 50px; */
    left: 0px;
    text-align: left;
    display: none;
    background: #fff;
height: 100%;
}

    .nav ul {
        list-style: none;
        background: #fff;
        overflow: hidden;
        margin-top: 20px;
        text-align: center;width: 100%;
    }

        .nav ul li {
            color: #000;
            height: 30px;
            line-height: 30px;
            margin: 20px 0;
            display: block;
            /* font-size: 16px;
            font-family: LatoBold; */
            margin-bottom: 15px;
            float: none;
        }


  /* nav动画 */      
  .nav-in {
    -webkit-animation: 'InLeft'0.5s 1;

}
.nav-out {
    -webkit-animation: 'OutLeft'0.5s 1;
}

@keyframes InLeft {
    0% {
        -webkit-transform: translateX(-120px);

    }

    100% {
        -webkit-transform: translateX(0);
        display: none;
    }
}
@keyframes OutLeft {
    0% {
        left: 0px;
    }

    100% {
        left: -80%;

    }
}

/*购物车展示*/
.foodList {
    width: calc(100% - 20px);
    max-height: 400px;
    background: #fff;
    padding: 0 10px;
    overflow: auto;
    display: none;
}
/*/*购物车展示*/
/*.tfoot {
    width: calc(100% - 20px);
    max-height: 400px;
    background: #fff;
    padding: 0 10px;
    overflow: auto;
    display: none;
}*/


.table {
    width: 100%;
    table-layout: fixed;
    border-top: 1px solid #ccc;
    padding: 10px 0;
}

    .table:nth-child(1) {
        border-top: none;
    }

    .table thead td {
        padding: 0 5px;
    }

        .table thead td:nth-child(1) {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .table thead td:nth-child(2) {
            width: 70px;
            text-align: center;
        }

    .table tbody tr td {
        color: #91a5af;
        padding-left: 15px;
    }



.cartIcon {
    font-size: 24px;
    color: #fff;
    position: relative;
}

.cartNum {
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 20px;
    position: absolute;
    top: -8px;
    right: -12px;
    background: #aaa;
    color: #fff;
    font-size: 12px;
}



@font-face {
    font-family: LatoBold;
    src: url('/phone/fonts/Lato-Bold.ttf');
}

@font-face {
    font-family: LatoRegular;
    src: url('/phone/fonts/Lato-Regular.ttf');
}

.hide {
    display: none;
}

.icon {
    font-family: "iconfont" !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

footer {
    width: 100%;
    background-color: #2a2e30;
    padding: 25px 0;
}

    footer p {
        text-align: center;
        color: #bbb;
        margin-bottom: 0px;
        font-family: Dinbold;
        font-size: 14px;
    }

/* loading部分的css */
.loading-box {
    z-index: 18;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    background: rgba(0,0,0,0.3);
    display: none;
}

    .loading-box img {
        width: 100px;
        height: 100px;
        position: absolute;
        top: 50%;
        margin-top: -50px;
        left: 50%;
        margin-left: -50px;
    }

.tfoot {
    color: green;
    font-family: Arial,Helvetica,sans-serif;
}

.caidan-backg{
    background: rgba(0,0,0,0.3);
    width: 100%;
    height: 100%;
    position: absolute;
    display: none;
    z-index: 99;
    transition: all .4s;
}
.li-border {
    width: 50%;
    height: 40px !important;
    line-height: 40px !important;
    background: #000;
    margin: 20px auto !important;
    color: #fff !important;
    padding-left: 0 !important;
    text-align: center;
    border-radius: 10px;
}