/* yui3 reset.css */

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

fieldset,
img {
    border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
i,
var {
    font-weight: normal;
    font-style: normal;
}

ol,
ul {
    list-style: none;
}

a {
    text-decoration: none;
}

caption,
th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}

q:before,
q:after {
    content: '';
}

abbr,
acronym {
    font-variant: normal;

    border: 0;
}

sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;

    *font-size: 100%;
}

legend {
    color: #000;
}

iframe {
    display: block;
}

em,
strong {
    margin: 0 2px;

    font-weight: bold;
}


/* yui3 fonts */

select,
input,
textarea {
    font-family: 'Microsoft YaHei', Tahoma, Verdana;
    font-size: 13px;
}

table {
    font: 100%;
    font-size: inherit;
}

pre,
code,
kbd,
samp,
tt {
    font-family: monospace;
    line-height: 100%;

    *font-size: 108%;
}

button {
    font-family: 'Microsoft YaHei', Tahoma, Verdana;
}


/* 滚动条 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px
}

::-webkit-scrollbar-button {
    width: 0;
    height: 0
}

::-webkit-scrollbar-button:end:increment,
::-webkit-scrollbar-button:start:decrement {
    display: block
}

::-webkit-scrollbar-button:vertical:end:decrement,
::-webkit-scrollbar-button:vertical:start:increment {
    display: none
}

::-webkit-scrollbar-thumb:horizontal,
::-webkit-scrollbar-thumb:vertical,
::-webkit-scrollbar-track:horizontal,
::-webkit-scrollbar-track:vertical {
    border-color: transparent;
    border-style: solid
}

::-webkit-scrollbar-track:vertical::-webkit-scrollbar-track:horizontal {
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box
}

::-webkit-scrollbar-thumb {
    min-height: 28px;
    padding-top: 100;
    background-color: rgba(0, 0, 0, .2);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border-radius: 5px;
    -webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, .1), inset 0 -1px 0 rgba(0, 0, 0, .07)
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, .4);
    -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, .25)
}

::-webkit-scrollbar-thumb:active {
    background-color: rgba(0, 0, 0, .5);
    -webkit-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, .35)
}

::-webkit-scrollbar-thumb:horizontal,
::-webkit-scrollbar-thumb:vertical,
::-webkit-scrollbar-track:horizontal,
::-webkit-scrollbar-track:vertical {
    border-width: 0
}

::-webkit-scrollbar-track:hover {
    background-color: rgba(0, 0, 0, .05);
    -webkit-box-shadow: inset 1px 0 0 rgba(0, 0, 0, .1)
}

::-webkit-scrollbar-track:active {
    background-color: rgba(0, 0, 0, .05);
    -webkit-box-shadow: inset 1px 0 0 rgba(0, 0, 0, .14), inset -1px -1px 0 rgba(0, 0, 0, .07)
}

.scrollbar-hover::-webkit-scrollbar,
.scrollbar-hover::-webkit-scrollbar-button,
.scrollbar-hover::-webkit-scrollbar-thumb,
.scrollbar-hover::-webkit-scrollbar-track {
    visibility: hidden
}

.scrollbar-hover:hover::-webkit-scrollbar,
.scrollbar-hover:hover::-webkit-scrollbar-button,
.scrollbar-hover:hover::-webkit-scrollbar-thumb,
.scrollbar-hover:hover::-webkit-scrollbar-track {
    visibility: visible
}
::-webkit-scrollbar-corner {
    background:transparent;
}
/* IE 滚动条 */
html,
body,
ul,
li,
div {
    /*三角箭头的颜色*/
    scrollbar-arrow-color: #ccc;
    /*滚动条滑块按钮的颜色*/
    scrollbar-face-color: #ccc;
    /*滚动条整体颜色*/
    scrollbar-highlight-color: #fff;
    /*滚动条阴影*/
    scrollbar-shadow-color: #fff;
    scrollbar-shadow-color: rgba(255,255,255,.3);
    /*滚动条轨道颜色*/
    scrollbar-track-color: #f2f2f2;
}

/* 工具样式 */

.center-block {
    display: block;

    margin-right: auto;
    margin-left: auto;
}

.clearfix:before,
.clearfix:after {
    display: table;

    line-height: 0;

    content: '';
}

.clearfix:after {
    clear: both;
}

.l {
    float: left !important;
}

.r {
    float: right !important;
}

.hidden {
    display: none !important;
}

.hidden-accessible {
    position: absolute !important;
    top: 0;
    left: -999999em !important;
}

.invisible {
    visibility: hidden !important;
}

.trans {
    -webkit-transition-timing-function: ease-in-out;
            transition-timing-function: ease-in-out;
    -webkit-transition-duration: .2s;
            transition-duration: .2s;
}


/* 用于IE8 强制:before/:after伪类元素重绘 */

.content-empty:after,
.content-empty:before {
    content: '' !important;
}


/* margin-right: 5n 5~20 */

.mr1 {
    margin-right: 1px !important;
}

.mr5 {
    margin-right: 5px !important;
}

.mr10 {
    margin-right: 10px !important;
}

.mr15 {
    margin-right: 15px !important;
}

.mr20 {
    margin-right: 20px !important;
}


/* margin-bottom: 5n 5~20 */

.mb5 {
    margin-bottom: 5px !important;
}

.mb10 {
    margin-bottom: 10px !important;
}

.mb15 {
    margin-bottom: 15px !important;
}

.mb20 {
    margin-bottom: 20px !important;
}


/* 文字排版 */

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-nowrap,
.nobr {
    overflow: hidden;

    white-space: nowrap;
}

.text-ellipsis {
    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;
}


/* 文字大小写转换 */

.text-lowercase {
    text-transform: lowercase;
}

.text-uppercase {
    text-transform: uppercase;
}


/* 文字颜色 */

.text-normal {
    color: #333;
}

a.text-normal:hover {
    color: #145ccd;
}

.text-primary {
    color: #3280fc;
}

a.text-primary:hover {
    color: #0462f7;
}

.text-danger {
    color: #d2322d;
}

a.text-danger:hover {
    color: #a82824;
}

.text-warning {
    color: #e48600;
}

a.text-warning:hover {
    color: #b16800;
}

.text-success {
    color: #229f24;
}

a.text-success:hover {
    color: #19751a;
}

.text-info {
    color: #39b3d7;
}

a.text-info:hover {
    color: #2596b8;
}

.text-minor,
a.text-minor:hover {
    color: #666;
}

.text-assist,
a.text-assist:hover {
    color: #999;
}

.text-special,
a.text-special:hover {
    color: #6e612f;
}

.text-bold {
    font-weight: bold;
}

/* 平滑滚动 */
* {
    scroll-behavior: smooth;
}