@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


/* 页面置灰 */

body.memorial {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: progid: DXImageTransform.Microsoft.BasicImage(grayscale=1);
    -webkit-filter: grayscale(1);
}

html,
body {
    color: #333;
    width: 100%;
    min-height: 100%;
    font-family: "微软雅黑";
}

body {
    min-width: 1366px;
}

ul,
li {
    list-style: none;
}

img {
    border: none;
}


/*清除浮动影响*/

.clear::after {
    content: "";
    display: block;
    visibility: hidden;
    height: 0;
    clear: both;
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

i,
b {
    font-weight: normal;
    font-style: normal;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: #333;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@media screen and (max-width:321px) {
    body {
        font-size: 10px;
    }
}

@media screen and (min-width:321px) and (max-width:400px) {
    body {
        font-size: 12px;
    }
}

@media screen and (min-width:400px) {
    body {
        font-size: 14px;
    }
}


/*获得焦点时取消默认外边框*/

input:focus,
textarea:focus,
button:focus {
    outline: none;
}

input[type=text]::-ms-clear {
    display: none;
}


/* 兼容标签 */

main,
header,
footer,
section,
article {
    display: block;
}


/*input,textarea提示字颜色*/

::-moz-placeholder {
    color: #bdbdbd;
    font-family: "微软雅黑";
}

::-webkit-input-placeholder {
    color: #bdbdbd;
    font-family: "微软雅黑";
}

:-ms-input-placeholder {
    color: #bdbdbd;
    font-family: "微软雅黑";
}


/*解决谷歌浏览器中的input背景色默认是黄色*/

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}


/*++修饰滚动条样式++*/


/* Let's get this party started */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-moz-scrollbar {
    width: 8px;
    height: 8px;
}


/* Track */

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 3px #efefef;
    -webkit-box-shadow: inset 0 0 3px #efefef;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: #efefef;
}

::-moz-scrollbar-track {
    box-shadow: inset 0 0 3px #efefef;
    -webkit-box-shadow: inset 0 0 3px #efefef;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: #efefef;
}


/* Handle */

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: #dddddd;
    box-shadow: inset 0 0 3px #dddddd;
    -webkit-box-shadow: inset 0 0 3px #dddddd;
}

::-moz-scrollbar-thumb {
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: #dddddd;
    box-shadow: inset 0 0 3px #dddddd;
    -webkit-box-shadow: inset 0 0 3px #dddddd;
}

::-webkit-scrollbar-thumb:window-inactive {
    background: #dddddd;
}

::-moz-scrollbar-thumb:window-inactive {
    background: #dddddd;
}


/* 隐藏IE默认在input框输入内容后显示“X”按钮 */

::-ms-clear {
    display: none;
}

::-ms-reveal {
    display: none;
}

.l,
.l1,
.l2,
.l3 {
    float: left;
}

.r,
.r1,
.r2,
.r3 {
    float: right;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mr-10 {
    margin-right: 10px;
}

.mr-20 {
    margin-right: 20px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.ml-10 {
    margin-left: 10px;
}

.ml-20 {
    margin-left: 20px;
}

.color-danger {
    color: #ff3333;
}

.color-warning {
    color: #ef571c;
}

.color-success {
    color: #81c03e;
}

.color-primary {
    color: #46afda;
}

.icon {
    background: url(../../images/icon.png);
}

.bg-opacity {
    display: none;
    position: fixed;
    z-index: 4;
    background: rgba(0, 0, 0, .3);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.bg-center {
    position: absolute;
    top: 50%;
    left: 50%;
    background: #fff;
    z-index: 2;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, .2);
    margin: auto;
    display: none;
    transform: translate(-50%, -50%);
}