/*
 common
 theme: #0F1DAE #0F1DAE
 theme press: #102EBF #102EBF

 btn: #0F1DAD #0F1DAD
 btn press: #102EBE #102EBE
*/
html {
    background: transparent none repeat scroll 0 0;
    margin: 0;
}
body {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    background: #efefef;
    font-family: FontAwesome;
}

/* header */
.header_dummy {
    width: 1px;
    height: 45px;
}
#header {
    position: fixed;
    top: 0;
    max-width: 600px;
    width: 100%;
    z-index: 99;
}
#header_left, #header_title, #header_right {
    line-height: 45px;
    background-color: #0F1DAE;
    color: #FFF;
    font-size: 22px;
    text-align: center;
}
#header_title {
    position: relative;
}
#header_left {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 32px;
    padding: 0 20px;
}
#header_right {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0 20px;
    visibility: hidden;
}
#header_left:active, #header_right:active {
    color: #ccc;
}

/* footer */
.footer_dummy {
    width: 1px;
    height: 50px;
}
.footer_container {
    width: 100%;
    max-width: 600px;
    position: fixed;
    bottom: 0;
    line-height: 50px;
    background-color: white;
    color: #919191;
    white-space: nowrap;
}
.footer_item, .footer_item_current {
    line-height: 1.8;
    width: 50%;
    float: left;
    text-align: center;
}
.footer_item_current {
    /*background-color: #102EBF;*/
    color: #0F1DAD;
}
.footer_icon {
    display: inline-block;
    margin-top: 3px;
}
.footer_word {
    display: block;
    margin-top: -6px;
    margin-bottom: 3px;
}
.footer_item:active {
    color: #ccc;
}

/* common */
.custom_popup_whole {
    position: fixed;
    z-index: 499;
    top: 0;
    max-width: 600px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
}
.custom_popup_content {
    position: fixed;
    max-width: 600px;
    width: 100%;
    height: 70%;
    bottom: -70%;
    background: white;
}
.custom_popup_close_content {
    text-align: right;
    border-bottom: solid 1px #ccc;
}
.custom_popup_close_content span {
    padding: 10px;
    margin: 0;
    display: inline-block;
}
.custom_popup_close_content span:active {
    color: #ccc;
}
.custom_popup_input {
    border-radius: 5px;
    border: none;
    background: #ddd;
    width: 94%;
    margin: 10px 3% 0 3%;
    text-align: center;
    padding: 5px 10px;
}
#custom_popup_list {
    overflow-y: scroll;
    height: 70%;
}
.custom_popup_item {
    margin: 0;
    text-align: center;
    padding: 10px;
}
.custom_popup_item:active {
    background: #ddd;
}
.praise_normal, .praise_love {
    font-size: 30px;
    margin-left: -28px;
    cursor: pointer;
    color: #ccc;
}
.praise_love {
    color: #FE5859 !important;
}
.praise_content {
    display: inline-block;
    width: 32%;
    text-align: center;
    position: relative;
}
.praise_text {
    white-space: nowrap;
    position: absolute;
    top: 50%;
    transform: translate(5px,-50%);
}
#autoCompleteContent {
    position: absolute;
    background: #eee;
    max-height: 300px;
    overflow-y: scroll;
    margin-top: 10px;
}
#autoCompleteContent p {
    padding: 5px;
    margin: 5px 0;
}
#autoCompleteContent p:hover {
    background: #ddd;
}
.chooseImg {
    max-width: 80%;
    max-height: 200px;
    margin-top: 10px;
}
.role_span {
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin: 0;
    font-size: 14px;
    display: inline-block;
    padding: 2px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0.8;
    color: white;
}
.triangle_status {
    width: 0;
    height: 0;
    border-top: 100px solid red;
    border-left: 100px solid transparent;
    position: absolute;
    top: 0;
    float: right;
}
.red_btn, .red_btn_loading {
    width: 92%;
    background-color: #0F1DAD;
    padding: 10px;
    text-align: center;
    font-size: 18px;
    color: white;
    border: none;
    border-radius: 5px;
    margin: 30px 4% 10px 4%;
}
.am-usm12 {
    width: 100%;
    height: 80px;
}
.red_bnh {
    width: 92%;
    padding: 10px;
    text-align: center;
    font-size: 18px;
    color: #0C0C0C;
    border: none;
    border-radius: 5px;
    margin: 30px 4% 10px 4%;
}

.red_btn:active {
    background-color: #102EBE;
}
.red_btn_loading {
    background-color: #afafaf !important;
    cursor: wait !important;
}
.item_container, .item_container_fixed {
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 10px 0 10px;
}
.item_container:active {
    background-color: #dedede;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 10px 0 10px;
}
.item_img {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    vertical-align: middle;
}
.item_word_container {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}
.item_word_container span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 450px;
}
.item_title {
    font-size: 20px;
    font-weight: 800;
}
.item_right {
    font-size: 22px;
    float: right;
    margin-top: 26px;
}
.item_grid {
    margin-top: 5px;
    display: grid;
    grid-template-columns: 30% 30% 30%;
}
.item_grid div {
    text-align: center;
    border: black solid 1px;
    padding: 5px 0;
    margin: 5px 15%;
    border-radius: 5px;
}
#dynamic_panel_container {
    position: fixed;
    top: 45px;
    width: 100%;
    max-width: 600px;
}
.dynamic_panel_item {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    background-color: white;
}
.dynamic_panel_item_checked {
    border-bottom: 2px solid #0F1DAE;
    color: #0F1DAE;
}

/* home */
.home_ore_price {
    color: #0F1DAE !important;
}
.home_panel_container {
    border: 0 none;
    margin: 0;
    outline: 0 none;
    padding: 0;
    vertical-align: baseline;
    overflow: hidden;
}
.home_function_menu {
    width: 25%;
    float: left;
    text-align: center;
    margin: 10px 0;
    background: #FFF;
    padding: 10px 0;
}
.home_function_menu img {
    width: 50%;
    display: block;
    margin: 0 auto;
}
.home_ore_container {
    width: 100%;
    height: auto;
    background: #FFF;
    padding-top: 5px;
    margin-bottom: 10px;
}
.home_ore_title {
    width: 95%;
    margin-left: 10px;
    padding: 5px 10px;
    border-left: 5px solid #1eaec6;
    font-size: 14px;
}
.home_ore_inner {
    margin: 0.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.home_ore_inner li {
    width: 48%;
    height: auto;
    margin: 1%;
    background: #FFF;
    text-align: center;
    color: #ffffff;
    list-style: outside none none;
}
.home_ore_inner li span {
    display: block;
}
.home_ore_inner li span img {
    width: 90%;
    margin: 2%;
}
.home_ore_inner li .home_ore_info {
    color: #333;
    font-size: 14px;
    padding: 10px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    line-height: 20px;
}
.home_ore_inner li .home_ore_price {
    color: #333;
    font-size: 14px;
    padding-bottom: 10px;
}

/* ore */
.ore_detail_info {
    max-width: 300px;
    position: absolute;
    bottom: 0;
    padding-left: 20px;
    padding-bottom: 20px;
    margin: 0 auto;
}
.ore_detail_t1, .ore_detail_t2, .ore_detail_p {
    color: white;
}
.ore_detail_t1 {
    font-size: 26px;
    word-wrap: break-word;
    word-break: break-all;
    overflow: hidden;
}
.ore_detail_t2 {
    font-size: 18px;
}

/* mine */
.mine_header {
    /*background-image: url("/static/img/mine_bg2.png");*/
    /*background-size:100% 100%;*/
    background-color: #0F1DAE;
    text-align: center;
    padding: 30px 0;
}
.mine_header img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
}
.mine_header p {
    color: white;
}
.mine_header_account, .mine_header_name, .mine_header_level {
    margin: 5px 0 0 0;
}
.mine_core {
    background: white;
    white-space: nowrap;
}
.mine_core .mine_core_content {
    width: 33%;
    text-align: center;
    margin: 10px 0;
    display: inline-block;
}
.mine_core_right_border {
    border-right: #aaa solid 1px;
}
.mine_core_top_border {
    border-top: #aaa solid 1px;
}
.mine_core_line {
    display: inline-block;
    width: 1px;
    margin: 10px 0;
    background-color: #aaa;
}
.mine_function {
    margin-top: 10px;
}
.mine_func_icon {
    width: 30px;
    margin: 0 10px;
}
.mine_function_item {
    background-color: white;
    padding: 10px;
}
.mine_function_item:active {
    background-color: #f6f6f6;
}
.mine_function_item_line {
    background-color: #aaa;
    height: 1px;
    margin: 0 10px;
}
.mine_func_arrow {
    float: right;
    margin-top: 5px;
}
.mine_version {
    text-align: center;
    display: block;
    margin-bottom: 10px;
}

/* mine bill */
.mine_bill_operation_bar {
    position: fixed;
    top: 45px;
    background: white;
    white-space: nowrap;
    margin-bottom: 10px;
    width: 100%;
    max-width: 600px;
    height: 40px;
}
.mine_bill_operation_bar div {
    width: 33.3%;
    text-align: center;
    padding: 10px 0;
    display: inline-block;
}
.mine_bill_operation_bar div:active {
    background-color: #f6f6f6;
}
.mine_bill_operation_type, .mine_bill_operation_date {
    border-right: #aaa solid 1px;
}

/* mine accinfo */
.item_accinfo, .item_accinfo_top {
    padding: 10px;
    background-color: white;
}
.item_accinfo_top {
    margin-top: 10px;
}
.item_accinfo_title {
}
.item_accinfo_word {
    margin-top: 5px;
    font-size: 18px;
    display: block;
}
.item_accinfo_line {
    height: 1px;
    margin: 0 0 0 10px;
    background-color: #aaa;
}
.item_accinfo_word_input {
    border: none;
    background: none;
    width: 100%;
}
.item_accinfo_title_dynamic_add {
    display: inline-block;
    margin-left: 30px;
    padding: 2px 10px;
    border: black solid 1px;
    border-radius: 5px;
}
.item_accinfo_title_dynamic_add:active {
    background-color: #ddd;
}

/* mine profile */
.item_profile, .item_profile_top, .item_avatar {
    background-color: white;
}
.item_profile_top {
    margin-top: 10px;
}
.item_avatar:active {
    background-color: #f0f0f0;
}
.item_profile_title {
    display: inline-block;
    font-size: 13px;
    padding: 10px;
}
.item_profile_word {
    display: inline-block;
    float: right;
    border: none;
    background: none;
    color: #afafaf;
    padding: 10px;
    width: 62%;
    font-size: 12px;
    text-align: right;
    margin-top: 1px;
}
.item_avatar div {
    display: inline-block;
    float: right;
    margin: 10px;
}
.item_profile_avatar {
    display: inline-block;
    float: right;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 4px 10px 0 0;
}
.item_profile_qr {
    height: 155px;
    margin: 10px;
    display: inline-block;
}

/* mine exchange */
.item_exchange, .item_exchange_top {
    background-color: white;
}
.item_exchange_top {
    margin-top: 10px;
}
.item_exchange_title {
    display: inline-block;
    width: 35%;
    padding: 10px;
    font-size: 15px;
}
.item_exchange_word {
    border: none;
    background: none;
    color: #afafaf;
    padding: 10px;
    font-size: 14px;
    margin-top: 1px;
    width: 63%;
}
.explain_exchange {
    padding: 10px;
    color: #a0a0a0;
}
.explain_exchange p {
    /*text-indent: 25px;*/
    margin: 0;
}

/* news */
.news_detail_title {
    text-align: center;
    font-size: 28px;
    margin-top: 20px;
}
.news_detail_date {
    font-size: 12px;
    text-align: center;
    color: #afafaf;
}
#news_detail_body {
    margin: 10px;
}
.news_detail_sign {
    text-align: right;
    margin-right: 30px;
}

/* qr */
#qr_content {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    padding: 40px 0;
}

/* service */
#service_container img {
    width: 75%;
    max-width: 500px;
    margin: 15px auto;
}
#service_container div {
    text-align: center;
}

/* login */
.login_content {
    background: url("/static/img/qr_bg.jpg") no-repeat;
    background-size: 100% 100%;
    min-height: 100%;
}
.login_field_content {
    filter:alpha(Opacity=50);-moz-opacity:0.5;opacity: 0.5;
    background-color: #000000;
    border-radius: 10px;
    margin: 30px;
}
.login_item {
    color:white;
}
.login_item_title {
    display: inline-block;
    font-size: 18px;
    padding: 10px;
    width: 30%;
}
.login_item_word {
    display: inline-block;
    border: none;
    background: none;
    color: #afafaf;
    padding: 10px 10px 10px 0;
    width: 63%;
    font-size: 16px;
    text-align: left;
    margin-top: 1px;
}
#login_verify_img, #register_verify_img {
    display:inline-block;
    width: 100px;
    height:45px;
    margin-bottom: 1px;
    border: none;
}
#login_register, #login_forget, #login_ban {
    color: white;
    margin: 10px 25px;
}
#login_register:active, #login_forget:active {
    color: #cfcfcf;
}

/* register */
.register_notice {
    padding: 20px 10px;
}
.register_notice .register_title {
    font-weight: bold;
}
.register_notice .register_chk_work {
    color:#0F1DAE;
}
.font_download {
    text-align: center;
    margin: 20px 0;
}

/* bind */
.bind_item {
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    max-height: 32px;
}
.bind_input {
    background: none;
    border: #cfcfcf solid 1px;
    border-radius: 3px;
    display: block;
    padding: 5px 8px;
}
.bind_left {
    display: inline-block;
    width: 65%;
    max-height: 32px;
}
.bind_right {
    display: inline-block;
    overflow: hidden;
    max-height: 32px;
    width: 30%;
    white-space: nowrap;
    margin: 0 0 0 3%;
}