html,body{
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.mask{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 22000;
    display: table;
    width: 100%;
    height: 100%;
}
.mask >div{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.mask .loader {
    display: inline-block;
    -webkit-animation: loading 1.1s infinite linear;
    animation: loading 1.1s infinite linear;
    border-color: #ddd #ddd #ddd #fff;
    border-style: solid;
    border-width: 5px;
    border-radius: 50%;
    height: 36px;
    width: 36px;
    margin: auto;
    box-shadow: 0px 0px 2px rgba(0,0,0,0.2), inset 0px 0px 2px rgba(0,0,0,0.2);
}

@-webkit-keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}
@keyframes loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.common-container{
    display: table;
    width: 100%;
    table-layout: fixed;
}
.common-container> div{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    float: none;
    padding: 5px;
}
.module-top {
    background-color: #5BAFDD;
    border-bottom: 1px solid #ccc;
}
.module-main {
    background-color: #eee;
}
.module-bottom {
    background-color: #eee;
}
.form-group{
    width: 100%;
}
.module-main .main-container{
    padding: 10px;
    display: inline-block;
    width: 100%;
}
.top-container.navbar-nav, .main-menu-area.navbar-nav{
    float: none;
    margin: 0;
}
.navbar-nav .open .dropdown-menu{
    position: absolute;
    float: left;
    min-width: 160px;
    padding: 0;
    margin: 2px 0 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}
.navbar-nav .open .dropdown-menu li >a{
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
    text-align: center;
    color: #333 !important;
}
.navbar-nav .open .dropdown-menu li.disabled >a{
    color: #999 !important;
}
.navbar-nav .open .dropdown-menu li:first-child >a{
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.navbar-nav .open .dropdown-menu li:last-child >a{
    border-bottom: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.panel-default{
    border-color: #e1ecf4;
}

.modal-dialog{
    margin-top: 60px;
}
.modal{
    background-color: rgba(0,0,0,0.3);
    position: absolute;
    z-index: 30000;
}
.dialog-component .modal{
    z-index: 20000;
}

.toolbar{
    padding: 5px 0;
    display: inline-block;
    width: 100%;
}
.modal-header .close{
    font-size: 30px;
}

.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:focus, .dropdown-menu > .disabled > a:hover{
    color: #999;
}


.navbar-nav .dropdown-menu{
    max-height: 75vh;
}
.navbar-nav .open .dropdown-menu{
    position: absolute;
    float: left;
    min-width: 160px;
    padding: 0;
    margin: 2px 0 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}
.navbar-nav .open .dropdown-menu li >a{
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
    text-align: center;
    color: #333 !important;
}
.navbar-nav .open .dropdown-menu li:first-child >a{
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.navbar-nav .open .dropdown-menu li:last-child >a{
    border-bottom: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.navbar-nav .dropdown-menu li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}
.navbar-nav .dropdown-menu li > a:hover,
.navbar-nav .dropdown-menu li > a:focus {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}
.navbar-nav .dropdown-menu li.active > a,
.navbar-nav .dropdown-menu li.active > a:hover,
.navbar-nav .dropdown-menu li.active > a:focus {
    color: #fff;
    text-decoration: none;
    background-color: #337ab7;
    outline: 0;
}
.navbar-nav .dropdown-menu li.disabled > a,
.navbar-nav .dropdown-menu li.disabled > a:hover,
.navbar-nav .dropdown-menu li.disabled > a:focus {
    color: #777;
}
.navbar-nav .dropdown-menu li.disabled > a:hover,
.navbar-nav .dropdown-menu li.disabled > a:focus {
    text-decoration: none;
    cursor: not-allowed;
    background-color: transparent;
    background-image: none;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control{
    background-color: #e2e2e2;
}
input.form-control, textarea.form-control{
    padding-left: 2px;
    padding-right: 2px; 
}

.line-info{
    display: table;
    width: 100%;
}

.line-info .info-caption{
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size: 30px;
}

.line-info .info-left{
    display: table-cell;
    vertical-align: middle;
}

.line-info .info-right{
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}
.search-word-remove{
    float: right;
    margin-top: -30px;
    margin-right: 5px;
    font-size: 18px;
    padding: 3px 2px 1px 2px;
    border: 1px solid #d5d5d5;
    border-radius: 2px;
    color: #666;
    cursor: pointer;
    display: none;
}
.no-result{
    padding: 8px 0;
    text-align: center;
    color: #666;
    font-size: 16px;
    clear: both;
}

.modal-title, .modal-footer{
    text-align: center;
}

.modal-dialog .alert-icon{
    color: #ffbf00;
    font-size: 30px;
}

.modal-dialog .success-icon{
    color: #3c763d;
    font-size: 40px;
    margin-top: 12px;
}

.modal-dialog .confirm-icon{
    color: #ffbf00;
    font-size: 40px;
    margin-top: 12px;
}

.message-dialog .info-caption{
    width: 60px;
    text-align: left;
    padding-left: 10px;
    font-size: 40px;
}
.message-dialog .modal-body{
    min-height: 96px;
    font-size: 16px;
}
.message-dialog{
    margin: 80px auto;
    width: 300px;
}
.module-bottom{
    z-index: 999;
}
.message-dialog .cancel-btn, .message-dialog .confirm-btn{
    width: 105px;
}
.form-error > span{
    display: block;
    padding: 3px;
    color: #ac2925;
}
.search-container .search{
    position: absolute;
    left: 5px;
    right: 50px;
}
.search-container .search-btn{
    float: right;
    font-size: 25px;
    padding: 5px 10px;
    color: #999;
    cursor: pointer;
}

.pull-down{
    margin-bottom: 10px;
    margin-top: -8px;
    text-align: center;
    color: #999;
    position: relative;
}

.pull-icon{
    transition: color;
    -webkit-transition: color;
    transition-duration: 0.5s;
    -webkit-transition-duration: 0.5s;
    transition-timing-function: ease;
    -webkit-transition-timing-function: ease;
}
.pull-icon.pulling{
    color: #ccc;
}

.pull-up{
    text-align: center;
    color: #999;
    height: 36px;
    position: relative; 
}


.pull-down .glyphicon,.pull-up .glyphicon{
    font-size: 30px;
    top: 9px;
}

.pull-down .pull-down-label,.pull-down .pull-up-label{
    font-size: 16px;
    color: #666;
}

.list-group-item:first-child > label{
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.list-group-item:last-child > label{
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.page-title{
    display: inline-block;
    font-size: 25px;
    width: 65%;
    min-height: 30px;
    color: #fff;
}

.top-container .left-menu, .top-container .right-menu{
    font-size: 25px;
}

.top-container .left-menu > *:first-child, .top-container .right-menu > *:first-child{
    color: #eee;
    cursor: pointer;
}
.top-container .left-menu > *:first-child span, .top-container .right-menu > *:first-child span{
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    padding: 5px;
    border-radius: 5px;
}
.top-container .glyphicon-menu-hamburger:before{
    vertical-align: text-bottom;
}
.top-container .left-menu{
    text-align: left;
    padding-left: 0.5em;
}
.top-container .right-menu{
    text-align: right;
    padding-right: 0.5em;
}
.list-group-item {
    font-size: 20px;
    border-color: #e1ecf4;
    color: #2b76a8;
}


.module-main .list-group-item:nth-child(even), .modal-body .list-group-item:nth-child(even){
    background-color: #f4f8fa;
}

.diy-scrollbar{
    position: relative;
}

.diy-scrollbar >*:nth-child(2) > div, .diy-scrollbar >*:nth-child(3) > div{
    opacity: 0.4;
}

.info-warning{
    color: #d43f3a;
}
.txt-important, .txt-money{
    color: #ec971f;
}

.module-top > .list-head{
    color: #fff;
}
.list-footer{
    padding: 5px 0;
}

.module-bottom .list-footer{
    border-top: 1px solid #bbb;
}

.message-dialog pre,.message-info pre{
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    white-space: pre-wrap;
    word-break: break-all;
    word-wrap: break-word;
}


.module-main .panel{
    background: none;
}

.module-main .panel-heading{
    font-size: 18px;
}
.main-container.menu-area .member-info-area{
    text-align: center;
    color: #fff;
}
.main-container.menu-area .member-info{
    padding: 10px 0;
}
.menu-area .list-group-item{
    padding: 0;
}

.menu-area .list-group-item > a{
    display: inline-block;
    width: 100%;
    padding: 10px 15px;
    text-decoration: none;
    color: #555;
}

.menu-area .list-group-item .glyphicon, .menu-area .list-group-item .fa{
    color:#ec971f;
    margin-right: 6px;
}
.member-module .do-recharge-info{
    padding-bottom: 10px;
}
.dialog-component .modal-body{
    max-height: 310px;/*兼容旧版本浏览器*/
    max-height: 65vh;
    overflow: auto;
    margin: 0;
    padding: 0;
}
.dialog-component .modal-body .list-group{
    margin: 0;
}
.module-main{
    background-color: #F5F5F5;
}
.list-group-item{
    border-color: #ddd;
}

/*设备尺寸适配*/
@media screen and (max-width: 500px) {
    .page-title {
        font-size: 15px;
    }
    .top-container .left-menu, .top-container .right-menu{
        font-size: 20px;
    }
    .top-container .left-menu > *:first-child span, .top-container .right-menu > *:first-child span{
        line-height: 19px;
    }

    .list-group-item{
        font-size: 16px;
    }
    .top-menu-area > div{
        font-size: 16px;
    }
    .pull-down .glyphicon, .pull-up .glyphicon{
        font-size: 28px;
    }
    .modal-dialog{
        margin-top: 30px;
    }
    .modal-dialog.message-dialog{
        margin: 80px auto;
    }
    .top-menu-result{
        font-size: 13px;
    }
    .dialog-component .modal-body{
        max-height: 70vh;
    }
    .layout-bottom .main-menu-area > div{
        font-size: 16px;
    }
    .layout-bottom .main-menu-area .dropdown-menu{
        min-width: 110px;
    }
    .layout-bottom .main-menu-area > div span:last-child{
        font-size: 13px;
    }
    .common_style .top-menu-area .active-tab{
        border-radius: 12px;
    }
    .module-main .panel-heading{
        font-size: 16px;
        padding: 8px 12px;
    }
    .list-head, .list-footer{
        font-size: 14px;
    }
    .data-list-component .component-main .list-group-item{
        font-size: 14px;
    }
}

@media screen and (max-height: 300px) {
    .modal-dialog{
        margin-top: 5px;
    }
    .dialog-component .modal-body{
        max-height: 60vh;
    }
}
.modal-header .btn:active,.modal-header .btn:focus{
    box-shadow: none;
}
.modal-dialog{
    margin-left: auto;
    margin-right: auto;
}
.agent-module .dropdown-menu .menu-body li{
    position: relative;
    padding: 0;
}
.agent-module .dropdown-menu li span{
    position: absolute;
    right: 5px;
    top: 0;
    color: #333;
}
.role-set-btn {
    margin-top: 2px;
    margin-bottom: 3px;
}

mark.active{
    background-color: #a75300;
}
h1{
    font-size: 1.4em;
}
h2{
    font-size: 1.3em;
}
h3{
    font-size: 1.2em;
}



.subscription-container {
    max-width: 500px;
    margin: 0 auto;
}

/* 订阅卡片 */

.subscription-container .plan-card {
    background: white;
    border-radius: 12px;
    padding: 0.3em;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 2px solid #bbb;
    margin: 0.8em 0.2em;
}

.subscription-container .recommended {
    border: 2px solid #007aff;
}

.subscription-container .recommended-badge {
    position: absolute;
    top: -14px;
    right: 20px;
    background: #007aff;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.subscription-container .active-plan {
    border: 4px solid #ff5900;
}

.subscription-container .active-badge {
    position: absolute;
    top: -14px;
    right: 20px;
    background: #d76010;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.price {
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0;
}

.price span {
    font-size: 16px;
    font-weight: normal;
    color: #666;
}

.save-note {
    color: #007aff;
    font-weight: bold;
    margin: -10px 0 10px;
}

.features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.features li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.features li:before {
    content: "✓";
    color: #007aff;
    position: absolute;
    left: 0;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

.clr-picker{
    z-index: 59999;
}

.clr-field input {
      width: 150px;
      height: 32px;
      padding: 0 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-family: inherit;
      font-size: inherit;
      font-weight: inherit;
      box-sizing: border-box;
    }
.square .clr-field button,
.circle .clr-field button {
    width: 22px;
    height: 22px;
    left: 5px;
    right: auto;
    border-radius: 5px;
}

.square .clr-field input,
.circle .clr-field input {
    padding-left: 36px;
}

.circle .clr-field button {
    border-radius: 50%;
}

.full .clr-field button {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}
