﻿body {
    background: #fefcec;
    margin: 0;
    padding: 0;
    color: #666666;
}
* {font-size: 1.2rem;}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {  font-size: 1rem;}
input:-moz-placeholder, textarea:-moz-placeholder {  font-size: 1rem;}
input::-moz-placeholder, textarea::-moz-placeholder {  font-size: 1rem;}
input:-ms-input-placeholder, textarea:-ms-input-placeholder {  font-size: 1rem;}
img{margin:0;}

.mainBody {
    min-width: 320px;
    max-width: 640px;
    min-height: 40rem;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding-bottom: 6rem;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fefcec;
    background-image: url(../img/bg.jpg?v=1);
    background-size: 100% auto;
    background-repeat: no-repeat;
}

.topbar{background-color:#fff;height:4rem;position: fixed;width:32rem;z-index:99;}
.topbar ul{height:100%;margin: 0;padding: 0;}
.topbar ul li{height:100%;line-height:4rem;list-style-type: none;float: left;}
    .topbar .goback {
        display: inline-block;
        width: 100%;
        height: 100%;
        background-image: url(../img/back.png);
        background-size: 2rem auto;
        background-repeat: no-repeat;
        background-position: 50%;
    }

.xgb-loading {
    width: 8rem;
    height: 8rem;
    border-radius: 0.5rem;
    background-color: #000;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    color: #fff;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.4;
    background-image: url(../img/loading.gif?v=1);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 3rem auto;
}

.maincontainer {
    margin-right: auto;
    margin-left: auto;
    margin-right: 1rem;
    margin-left: 1rem;
}

.footmenu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: 4rem;
    position: fixed;
    bottom: 0;
    z-index: 1000;
    width: 32rem;
    background-color:#fff;
    border-top:solid 1px #f3f3f3;
}
    .footmenu li {
        float: left;
        height: 100%;
        width: 25%;
    }
        .footmenu li a {
            height: 100%;
            width: 100%;
            text-align: center;
            display: inline-block;
            font-size: 0.8rem;
            background-position: 50% 0.4rem;
            background-repeat: no-repeat;
            background-size: 1.8rem auto;
            padding-top: 2.3rem;
        }
.footmenu .wxtd {background-image: url(../img/wxtd.png);}
.footmenu .wxtd:hover {color: #d08358;background-image: url(../img/wxtd_cur.png);}
.footmenu .wxtd_cur {color: #d08358;background-image: url(../img/wxtd_cur.png);}

.footmenu .xdybz {background-image: url(../img/xdybz.png);}
.footmenu .xdybz:hover {color: #d08358;background-image: url(../img/xdybz_cur.png);}
.footmenu .xdybz_cur {color: #d08358;background-image: url(../img/xdybz_cur.png);}

.footmenu .tcq {background-image: url(../img/tcq.png);}
.footmenu .tcq:hover {color: #d08358;background-image: url(../img/tcq_cur.png);}
.footmenu .tcq_cur {color: #d08358;background-image: url(../img/tcq_cur.png);}

.footmenu .my {background-image: url(../img/my.png);}
.footmenu .my:hover {color: #d08358;background-image: url(../img/my_cur.png);}
.footmenu .my_cur {color: #d08358;background-image: url(../img/my_cur.png);}


.btndef {
    background-color: #ecd17d;
    position: relative;
    display: inline-block;
    height: 3.6rem;
    border-radius: 0.4rem;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    padding: 0 2rem;
    margin: 0;
    font-family: inherit;
    line-height: 3.6rem;
    color: #fff;
    text-align: center;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    border: 0;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    width: auto;
}

    .btndef:hover {
        background-color: #dfc05d;
    }


.btncircle {
    background-color: #ecd17d;
    position: relative;
    display: inline-block;
    height: 3rem;
    border-radius: 1.5rem;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    padding: 0 1.5rem;
    margin: 0;
    font-family: inherit;
    line-height: 3rem;
    color: #fff;
    text-align: center;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    border: 0;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    width: auto;
}

    .btncircle:hover {
        background-color: #dfc05d;
    }

.btnhui {
    background-color: #a9a9a9;
}
    .btnhui:hover {
        background-color: #9f9f9f;
    }

.require {
    background-position: right 0.5rem top 50%;
    background-repeat: no-repeat;
    background-size: 0.7rem auto;
    background-image: url(../img/starred.png);
}

.deftable{border-left:solid 0.05rem #ccc;border-top:solid 0.05rem #ccc;}
.deftable td{border-bottom:solid 0.05rem #ccc;border-right:solid 0.05rem #ccc;padding:0.3rem 0.5rem;}