*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body,
html {
    height: 100%
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    margin: 0;
    padding: 0;
}

body,
a {
    color: #333;
}

body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: 500;
}

strong {
    font-weight: bold;
}

small {
    font-size: 80%;
}

img {
    border: 0;
    vertical-align: middle;
}

input,
button,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    padding: 0;
    border: 0;
}

input[type="checkbox"],
input[type="radio"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 3px 0 0;
    margin-top: 1px \9;
    line-height: normal;
}

input {
    line-height: normal;
}

input::-ms-clear,
input::-ms-reveal {
    display: none;
}

textarea {
    overflow: auto;
    resize: none;
}

::-webkit-file-upload-button {
    font: inherit;
    -webkit-appearance: button;
}

label {
    display: inline-block;
}

ul,
ol {
    list-style: none;
}

table {
    width: 100%;
    max-width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}

.clearfix:before,
.clearfix:after,
.row:before,
.row:after,
.container:before,
.container:after {
    content: "";
    display: table;
}

.clearfix:after,
.row:after,
.container:after {
    clear: both;
}

.container {
    margin-right: auto;
    margin-left: auto;
}

.pull-left {
    float: left !important;
}

.pull-right {
    float: right !important;
}

.icon {
    position: relative;
    display: inline-block;
    background: url("../img/sprites.png") no-repeat;
    vertical-align: top;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:after {
    content: "";
    display: table;
    clear: both;
}

.btn-group {
    margin-top: 30px;
}

.btn-group .btn {
    margin-left: 20px;
}

.btn-group .btn:first-child {
    margin-left: 0;
}

.control-label,
.form-control-static {
    height: 30px;
    line-height: 30px;
    overflow: hidden;
}

.control-label {
    text-align: right;
}

.form-control-static {
    display: inline-block;
}

.form-control {
    width: 200px;
    height: 30px;
    padding: 2px 9px;
    border: 1px solid #e3e3e3;
    background-color: #fff;
    background-image: none;
}
.form-group.error .form-control{
    border: 1px solid #ff0000;
    color: #ff0000;
}

.form-control-code {
    width: 130px;
    margin-right: 10px;
}

.form-control:focus {
    outline: 0;
}

.form-control::-moz-placeholder {
    color: #999;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: #999;
}

.form-control::-webkit-input-placeholder {
    color: #999;
}

.form-control::-ms-expand {
    background-color: transparent;
    border: 0;
}

textarea.form-control {
    height: 80px;
    line-height: 24px;
}

.form-control[readonly] {
    background-color: #f8f9fd;
}

.form-tips {
    margin-top: 10px;
    font-style: italic;
    color: #999;
}

input[type="file"] {
    margin-top: 4px;
    margin-bottom: 4px;
}

.btn {
    display: inline-block;
    border: 1px solid transparent;
    background-image: none;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
}

.btn:active {
    outline: 0;
}

.btn[disabled] {
    filter: alpha(opacity=65);
    opacity: .65;
    cursor: not-allowed;
}

.btn-default,
.btn-primary,
.btn-danger,
.btn-secondary,
.btn-cancel {
    width: 100px;
    height: 30px;
    line-height: 28px;
    border-radius: 3px;
}

.btn-default {
    border: 1px solid #e3e3e3;
    background-color: #fff;
}

.btn-primary {
    color: #fff;
    background-color: #2790ff;
}

.btn-secondary {
    color: #fff;
    background-color: #35bff9;
}

.btn-danger {
    color: #fff;
    background-color: #ff5e5e;
}

.btn-cancel {
    color: #fff;
    background-color: #a8aaaf;
}

.btn-block {
    display: block;
    width: 100%;
}

.modal {
    position: fixed;
    z-index: 1999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    display: none;
}

.modal:after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    background-color: #000;
    filter: alpha(opacity=50);
    opacity: .5;
}

.modal-dialog {
    position: relative;
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    background-color: #fff;
}

.modal-header {
    height: 51px;
    overflow: hidden;
    padding: 10px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-title {
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    font-size: 14px;
    font-weight: normal;
}

.modal-title i {
    float: left;
    width: 20px;
    height: 20px;
    margin-top: 5px;
    margin-right: 10px;
}

.modal-title .icon-edit {
    background-position: -40px -90px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    background-color: #f7f6f9;
}

.modal-close .icon-close {
    top: 8px;
    width: 13px;
    height: 14px;
    background-position: -240px 0;
}

.dialog-form {
    padding-top: 40px;
    padding-bottom: 40px;
}

.dialog-form .btn-group {
    padding-left: 180px;
}

.dialog-form .control-label,
.dialog-form .form-control {
    float: left;
}

.dialog-form .control-label {
    width: 180px;
    padding-right: 20px;
}
.dialog-form .form-tips{
    margin-left: 180px;
}
.dialog-form .form-group.error .form-tips{
   color: #ff0000;
}

.dialog-form .form-tips:before{
    content: "";
    display: table;
    clear: both;
}


.dialog-form .error-tip{
    margin-left: 180px;
    color: #ff0000;
}
.dialog-form .form-control {
    width: 320px;
}

.col {
    position: relative;
    float: left;
    min-height: 1px;
}

.col-4 {
    width: 33.33333333%;
}

.col-6 {
    width: 50%;
}

.col-8 {
    width: 66.66666667%;
}

.card {
    border-radius: 10px;
    background-color: #fff;
}

.card .card-header,
.card .card-body {
    padding: 10px;
}

.card .card-body {
    padding-top: 0;
}

.card .card-title {
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    font-size: 14px;
    font-weight: normal;
}

.card .card-title .icon-bg {
    float: left;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 50%;
    text-align: center;
    background-color: #f1f3fb;
}

.card .card-title .icon-sound {
    top: 8px;
    width: 17px;
    height: 14px;
    background-position: -270px 0;
}

.blank {
    overflow: hidden;
}

.mt60 {
    margin-top: 60px;
}

.tipbox-error{border: 1px solid #f2dede;background: #fcf8e3;}
.tipbox-error .tipbox-explain a{color: #39b9ff;}

.noPermission{text-align: center; height: 500px; margin-top: 86px; font-size: 15px; color: red;}
.m-form .input-error{border: 1px solid red}
