﻿html{
    /* display: none; */
    
    /*自动换行*/
        /*word-break:break-all;
        white-space:normal;*/

    /*强制一行*/
        /*white-space: nowrap;*/
}

/*=====================================================
    RESET
=====================================================*/
dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, input, textarea, select, button, p {
    margin:0;
    padding:0;
}
h1, h2, h3, h4, h5, h6{
    font-weight: 400;
}
select{
    background:none;
    appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
    background: url("../images/arrow.png") no-repeat scroll right center transparent;
    padding-right: 14px;
}
dl, dt, dd, ul, ol, li {
    list-style: none;
}
em, i {
    font-style:normal;
    font-weight:normal;
}
a, img {
    border:none;
    outline:none;
}
img {
    vertical-align:top;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}
input, textarea, select,button {
    font-size: 100%;
    font-family: inherit;
    outline:none;
    border:1px solid #ccc;
    line-height: 1;
}
textarea {
    resize:none;
    word-wrap:break-word;
    word-break:break-all;
    overflow-y:auto; 
    border-color:#ddd;
}

input{
    background:none;
    border:none;
}
input[type="button"]{
    cursor:pointer;
    border:none;
}
input::-moz-placeholder, textarea::-moz-placeholder {
    color:#666;
}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    color:#c0c0c0;
}
input:-ms-input-placeholder, textarea::-ms-input-placeholder {
    color: #c0c0c0 !important;
}

/*清除掉浏览器记住密码时，输入框的黄色背景*/
    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        -webkit-transition-delay: 99999s;
        -webkit-transition: color 99999s ease-out, background-color 99999s ease-out;
    }
/*清除type=number类型的input默认样式*/
  
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        -webkit-appearance: none;
    }
    input[type="number"]{
        -moz-appearance: textfield;
    }


/*=====================================================
    BASIC
=====================================================*/
html {
    min-height: 100%;
}
body {
    font: 14px/1 "Microsoft YaHei";
    color: #666;
    background-color:#fff;
    padding:0;
    margin:0;
    min-height: 100%;
}

.displayNone{
    display:none !important;
}

a{
    color:#666;
    cursor:pointer;
    text-decoration:none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}
a:hover {
    color:#0074DB;
}
.clear,ul {
    clear: both;
}
.clear:after,ul:after {
    display: block;
    clear: both;
    content: "\0020";
    visibility: hidden;
    height: 0;
    line-height: 0;
}
.fl {
    float:left;
}
.fr {
    float: right;
}

.disabled{
    pointer-events:none;
}
.available{
    pointer-events:auto !important;
}

/*table布局*/
    .tableBox{
        display:table;
        width: 100%;
        /*边框合并*/
        border-collapse: collapse;
        /*边框距离  左右   上下*/
        /*border-spacing:0 0;*/
        /*显示隐藏空单元格*/
        /*empty-cells:hide;*/
        /*empty-cells:show;*/
    }
    .tableH{
        display:table-header-group;
    }
    .tableB{
        display:table-row-group;
    }
    .tableF{
        display:table-footer-group;
    }
    /*行显示*/
    .tableR{
        display:table-row;
    }
    /*单元格-横显示*/
    .tableCell{
        display:table-cell;
    }
    /*单元格-列显示*/
    .tableColumn{
        display:table-column;
    }

/*图片居中显示*/
    .img-box-bg{ 
        position:relative;
        z-index: -1;
        display:block;
        display:flex;
        align-items: center;
        justify-content: center;
    }
    .img-box-bg .img-box{ 
        flex-grow: 1;
        text-align: center;
    }
    .img-box-bg .img-box>img{
        height:auto;
    }

/* 用于内容上下居中，需要有高度 */
    .flex{
        display:flex;
    }
    .flexC{
        display:flex;
        align-items: center;
    }
    .flexCB{
        display:flex;
        align-items: center;
        justify-content: space-between;
    }
    .flexCenter {
      display: flex;
      height: 100%;
      justify-content: center;
      flex-direction: column;
    }
    .centerFlex {
      display: flex;
      height: 100%;
      justify-content: center;
      align-items: center;
    }
/*用于内容两侧居中*/
    .flexB{
        display:flex;
        justify-content: space-between;
    }
    .flexB::after{
        content:none;
    }
/*图片文字垂直居中对齐*/
    .flexImg{
        display:flex;
        align-items: center;
    }

    .icon{
        display: inline-block;
        font-size: 0;
    }
    .icon img{
        height: 100%;
        display: block;
    }
    .img_m img{
        width: 100%;
        display: block;
    }

/*图片文字垂直居中对齐*/
    .flexImg{
        display:flex;
        align-items: center;
    }

/*弹窗-基本样式*/
    .window-model{
        position:fixed;
        z-index: 999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        display: none;
    }
    .window-model-box{
        position:relative;
        z-index: 1;
        display:flex;
        height: 100%;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .window-model-shady{
        position:fixed;
        z-index: -1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background:rgba(0, 0, 0, 0.5);
    }
    .window-model-box .title{
        position:relative;
        z-index: 1;
        text-align: center;
    }
    .window-model-box .close{
        position:absolute;
        z-index: 1;
        text-align: center;
        right: 20px;
        top: 50%;
        width: 22px;
        height: 22px;
        line-height: 22px;
        margin-top: -11px;
        cursor:pointer;
    }

.input {
    width:200px;
    height:20px;
    line-height:20px;
    padding:4px 10px;
    color: #333;
    border: 1px solid #ddd;
    -webkit-appearance:none;
    border-radius:0;
    outline:none;
}
.textarea {
    width:200px;
    height:40px;
    line-height:20px;
    padding:4px 10px;
    color: #333;
    border: 1px solid #ddd;
    -webkit-appearance:none;
    border-radius:0;
    outline:none;
}
.input:focus, textarea:focus {
    border: 1px solid #0074DB;
}
.button {
    width:100px;
    height: 30px; 
    line-height:30px;
    font-size: 14px;
    text-align: center;
    color: #fff;
    background: #0074DB;
    border: 0;
    cursor: pointer;
}
.button:hover {
    background: #378FE5;
}
.button:disabled {
    color:#fff;
    background:#ccc;
    cursor:not-allowed;
}
.loading {
    width:32px;
    height:32px;
    background:url(../images/loading.gif) no-repeat center center; 
    position:absolute;
    top:50%;
    left:50%;
    margin-top:-16px;
    margin-left:-16px;
    display:none;
    z-index:1;
}

.displayNone{
    display:none !important;
}