* {
    padding: 0px;
    margin: 0px;
    font-family: Arial, Verdana, 'Microsoft YaHei', sans-serif;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.blackwhite{
    filter: grayscale(100%);
}

a {
    text-decoration:inherit;
    color: inherit;
}
textarea, input[type=button], input[type=text], input[type=password], select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border: 1px solid #999;
    font-size: 16px;
    /*padding: 0 6px 0 6px;*/
    outline: none;
}
::-webkit-input-placeholder { /* WebKit browsers */
    color: #aaa;
    font-size: 14px;
    line-height: 38px;
}

#mainDate *[dateWnd] {

}
#mainDate *[weekall]{
    font-weight: bolder;
    text-align: center;
    border-bottom: 1px solid #ddd;
}
#mainDate *[week] {
    width: 30px;
    line-height: 30px;
}
#mainDate *[dayline] {
    text-align: center;
}
#mainDate *[day]{
    width: 28px;
    line-height: 28px;
    border: 1px #fff solid;
}
#mainDate *[day]:active{
    background-color: #ddd;
}
.dateDayTdOver{
    background-color: #eee;
    border: 1px #ddd solid;
    border-radius: 5px;
    width: 28px;
    line-height: 28px;
    cursor: pointer;
}
.dateDayTdSelected{
    background-color: #ff8a23;
    border: 1px #ff8a23 solid;
    border-radius: 5px;
    width: 28px;
    line-height: 28px;
    color: #fff;
    cursor: pointer;
}
#mainDate *[yearinput] {
    font-size: 12px;
    border: none;
    cursor: pointer;
}
#mainDate *[yearpop]{
    cursor: pointer;
    border: solid 1px #ddd;
    background-color: #fff;
    border-radius: 3px;
}
#mainDate *[yearline]{
    float: left;
    width: 60px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    padding: 3px 10px 3px 10px;
}
#mainDate *[yearline]:hover {
    text-align: center;
    color: #fff;
    background-color: #ff8a23;
    border-radius: 3px;
}
#mainDate *[monthinput] {
    font-size: 12px;
    border: none;
    cursor: pointer;
}
#mainDate *[monthpop]{
    cursor: pointer;
    border: solid 1px #ddd;
    background-color: #fff;
    border-radius: 3px;
}
#mainDate *[monthline]{
    float: left;
    width: 40px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    padding: 3px 10px 3px 10px;
}
#mainDate *[monthline]:hover{
    color: #fff;
    background-color: #ff8a23;
    border-radius: 3px;
}

#mainAlert *[alertWnd] {
    position: fixed;
    left: 20%;
    right: 20%;
    top: 20%;
    background-color: #fff;
    border-radius: 3px;
    z-index: 11;
}
#mainAlert *[close]{
    background-image: url(/js/images/btnClose.png);
    background-repeat: no-repeat;
    height:12px;
    width:12px;
    background-position:-12px 0;
    margin: 0px 8px 0 0;
}
#mainAlert *[close]:hover{
    background-position:0 0;
}
#mainAlert *[titlediv] {
    margin: 8px 0 0 10px;
    font-size: 14px;
}
#mainAlert *[message] {
    padding: 30px;
    font-size: 20px;
    line-height: 38px;
    text-align: center;
    word-break: break-all;
    overflow: auto;
    max-height: 300px;
}
#mainAlert *[button] {
    background-color: #f0f0f0;
    text-align: center;
    font-size: 14px;
    padding-bottom: 10px;
    overflow: hidden;
    border: none;
}

.waitline {
    position: fixed;
    z-index: 500;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 2px;
    background-color: rgb(50, 124, 197);
    -webkit-animation-name: loadline; /*动画名称，需要跟@keyframes定义的名称一致*/
    -webkit-animation-duration: 20s; /*动画持续的时间长*/
    -webkit-animation-iteration-count: infinite; /*动画循环播放的次数*/
    animation-name: loadline; /*动画名称，需要跟@keyframes定义的名称一致*/
    animation-duration: 20s; /*动画持续的时间长*/
    animation-iteration-count: infinite; /*动画循环播放的次数*/
    /*box-shadow: 0 0 8px rgb(75, 174, 208), 0 0 5px rgb(75, 174, 208);*/
    transition: all 20s;
}
@keyframes loadline {
    from {
        right: 100%;
    }
    90% {
        right: 0%;
        left: 0%;
    }
    to {
        left: 100%;
    }
}

input[readonly] {
    background-color: #f0f0f0;
}

@media screen and (max-width: 640px) {
    #mainAlert *[alertWnd] {
        position: fixed;
        left: 5px;
        right: 5px;
        top: 20%;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 10px;
        z-index: 11;
        width: auto;
        margin-left: 0px;
    }
    #mainAlert *[button]  > div > input{
        height: 25px;
        width: auto;
        border: none;
        padding: 0 15px 0 15px;
        border-radius: 20px;
        line-height: 20px;
        text-align: center;
        float: right;
        margin: 7px 10px 0 0;
    }

}



#mainHintPop {
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: #666;
}


#mainHintPop *[one] {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0px 0px 15px #000;
    margin: 20px 0 0 0;
    transition: 0.3s;
    overflow: hidden;
    transform: translateX(120%);
}

#mainHintPop a {
    transition: 0.3s;
    color: #03518d;
    text-decoration:underline;
}

#mainHintPop a:hover {
    color: #039bff;
}

#mainHintPop *[text] {
    margin: 30px 20px 20px 20px;
    line-height: 30px;
    min-width: 100px;
}

#mainHintPop *[btnCls] {
    position: absolute;
    right: 5px;
    top: 5px;
}

#mainHintPop *[time] {
    position: absolute;
    left: 5px;
    top: 5px;
    font-size: 14px;
    color: #999;
}