﻿/*!
*namespace: uu   (Ultuum User-interface)
*    class:      (uu-，用于全局和布局样式，图标和颜色包括标签及伪类)
*         : login(uu-login-，登录页面专用)
*  version: 1.0  last modify 2015/01/02
*/
/*===============================uu-(全局)=================================*/
/*----------------------------------滚动条---------------------------------*/
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: rgba(0,0,0,.0);
    -webkit-appearance: none;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,.3);
    border: 1px solid rgba(255,255,255,.4);
    -webkit-border-radius: 4px;
    border-radius: 4px;
}
/*-------------------------------标签和全局类------------------------------*/
* {
    outline: none;
    -webkit-touch-callout: none !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

    *:before,
    *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

body,
input,
select,
textarea,
button {
    font-size: 16px;
    font-family: 'microsoft yahei', 'STHeiti STXihei', 'Microsoft JhengHei', Verdana, Helvetica, sans-serif, Arial;
    line-height: 1.3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: .5em;
    margin-bottom: .35em;
    font-weight: 500;
    line-height: 1.1;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 17px;
}

p {
    line-height: 1.3;
    font-size: 16px;
    margin-top: .25em;
    margin-bottom: .25em;
}
/*   global link     */
a {
    color: #07f; /*类IOS原生链接颜色*/
    text-decoration: none;
    cursor: pointer;
}

    a:hover,
    a:focus {
        color: #6af;
        text-decoration: none;
        outline: 0;
    }
/*-----------------------------------布局类--------------------------------*/
html {
    height: 99.9%;
}

body {
    height: 99.9%;
    margin: 0;
    font-size: 16px;
    color: #444;
    background-color: #efeff4;
    overflow-x: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
div {
    position: relative;
}

.um-page {
    background-color: #efeff4;
    padding-bottom: 90px; /*当内容高度大于视口时可显示全部内容，解决fixed footer*/
}
    /*解决首个元素有margin时，出现滚动条的情况*/
    .um-page:before {
        content: "";
        display: table;
    }

.um-content {
    padding: 0 10px 10px 10px; /*moblie page总是顶边无空白*/
    background-color: #efeff4;
}

    .um-content > h1,
    .um-content > h2,
    .um-content > h3,
    .um-content > h4,
    .um-content > h5,
    .um-content > h6,
    .um-content > p {
        margin-left: 10px;
    }

body .um-page .um-hide {
    display: none;
}

@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('/fonts/glyphicons-halflings-regular.eot');
    src: url('/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('/fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('/fonts/glyphicons-halflings-regular.woff') format('woff'), url('/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

.um-size-14 {
    font-size: 14px;
}

/*===============================uu-c-(组件样式)===========================*/
/*-----------------------------------button--------------------------------*/
/*.............basic & box bar.............*/
.um-page .um-c-btn,
.um-page .um-c-btn-box,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    display: inline-block;
    text-align: center;
    font-size: 16px;
    color: #fff;
    text-align: center;
    vertical-align: top;
    margin: 3px;
    padding: 10px 15px; /*右边padding同.um-c-listview li a，左边不缩进*/
    border: 0;
    background-color: #07f;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation; /*IE10，减少300ms延时*/
    cursor: pointer;
}

    input[type="button"][disabled],
    input[type="submit"][disabled],
    input[type="reset"][disabled] {
        cursor: not-allowed;
        background-color: #ccc;
        opacity: 1;
    }

.um-page a.um-c-btn,
.um-page a.um-c-btn-box {
    color: #fff; /*覆盖a伪类链接样式*/
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.um-page .um-c-btn:active,
.um-page .um-c-btn-box:active {
    background-color: #ccc;
}
/*.............box button专用.............*/
.um-page .um-c-btn-box,
input.um-c-btn-box[type="button"],
input.um-c-btn-box[type="submit"],
input.um-c-btn-box[type="reset"] {
    width: 100%;
    display: block;
    font-size: 17px;
    margin: 0 0 12px 0;
}
/*-----------------------------------check & radio-------------------------*/
input[type="checkbox"],
input[type="radio"] {
    width: 25px;
    height: 25px;
    margin: 0;
}
/*-------------------------------全局组件不可用----------------------------*/
body .um-page .um-c-disable {
    background-color: #ddd;
    border: 1px solid #bbb;
    cursor: not-allowed;
}
/*checkbox和radio*/
body .um-page .um-c-checkbox.um-c-disable,
body .um-page .um-c-radio.um-c-disable {
    background-color: inherit;
    border-width: 0;
}

body .um-page .um-c-disable:before,
body .um-page .um-c-disable:after {
    color: #ddd;
    background-color: #ddd;
    border: 1px solid #bbb;
    cursor: not-allowed;
}
/*-------------------------模拟 check & radio(无label)---------------------*/
.um-c-checkbox,
.um-c-radio {
    display: inline-block;
    margin: 0;
    padding: 0 0 0 1px;
    font-style: normal;
    text-decoration: none;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .um-c-checkbox:before,
    .um-c-radio:before,
    .um-c-checkbox:after,
    .um-c-radio:after {
        display: inline-block;
        width: 26px;
        height: 26px;
        margin-left: 3px;
        margin-right: 3px;
        font-size: 15px;
        color: #fff;
        font-weight: normal;
        font-style: normal;
        font-family: 'Glyphicons Halflings';
        text-align: center;
        line-height: 24px;
        border: 1px solid #f50;
        background-color: #fff;
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        -webkit-transition: all .2s;
        transition: all .2s;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    /*radio的唯一区别属性*/
    .um-c-radio:before,
    .um-c-radio:after {
        -webkit-border-radius: 20px;
        border-radius: 20px;
    }
    /*选择框出现左边*/
    .um-c-checkbox:before,
    .um-c-radio:before {
        content: "\e013";
    }
/*选择框出现右边*/
.um-c-right {
}
/*.um-c-checkbox.um-c-right:before,
.um-c-checkbox.um-c-right:before {content: none;}
.um-c-checkbox.um-c-right:after,
.um-c-checkbox.um-c-right:after {content: "\e013";}*/
/*选中状态*/
.um-c-checked:before,
.um-c-checked:after {
    background-color: #f50;
}



/*=======================页面专有样式，预定义无需类支持====================*/
/*------------------------------专用-login(table布局)----------------------*/
/*.............背景.............*/
.um-login-theme {
    background-color: #1370A6;
}

.um-login {
    background-color: #1370A6;
    background-image: url(/images/loginBg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
}

    .um-login .um-content {
        background-color: transparent;
    }
/*.............整体布局.............*/
.um-page.um-login {
    display: table; /*table是唯一在body下可以高度100%的元素，利用此特性做垂直居中的容器*/
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 50px 0;
    border-width: 0;
}

    .um-page.um-login > .um-content {
        display: table-cell;
        margin: 0;
        vertical-align: middle; /*实现垂直居中*/
        padding: 0 0 0 33%; /*实现偏右*/
    }

        .um-page.um-login > .um-content > .um-login-panel {
            position: relative;
            width: 320px;
            height: 320px;
            margin: 0 auto; /*实现水平居中*/
            padding: 20px;
            background-color: #fff;
            overflow: hidden;
            -webkit-border-radius: 25px; /*9px*/
            border-radius: 25px;
            -webkit-box-shadow: 0 1px 20px RGBA(0,0,0,.15);
            box-shadow: 0 1px 20px RGBA(0,0,0,.15);
        }
/*.............头脚.............*/
.um-login-top-bar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 50px;
    z-index: 12;
    background-color: #000;
    opacity: 0.4;
    z-index: 12;
    filter: alpha(opacity=40);
    -webkit-box-shadow: 0px 1px 5px RGBA(255,255,255,0.9);
    -moz-box-shadow: 0px 1px 5px RGBA(255,255,255,0.9);
    box-shadow: 0px 1px 5px RGBA(255,255,255,0.9);
}

.um-login-bottom-bar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: #000;
    opacity: 0.4;
    z-index: 13;
    filter: alpha(opacity=40);
    -webkit-box-shadow: 0px -1px 5px RGBA(255,255,255,0.9);
    -moz-box-shadow: 0px -1px 5px RGBA(255,255,255,0.9);
    box-shadow: 0px -1px 5px RGBA(255,255,255,0.9);
}
/*.....头脚内容，使用和panel类似的方式....*/
.um-login-top-cnt,
.um-login-bottom-cnt {
    padding: 18px 0 0 33%;
}

    .um-login-top-cnt a,
    .um-login-bottom-cnt span {
        display: block;
        width: 270px;
        margin: 0 auto;
        font-size: 14px;
        color: #fff;
        text-align: right;
        text-decoration: none;
    }

    .um-login-bottom-cnt span {
        font-size: 12px;
    }
/*.............面板头部.............*/
.um-login-header {
    display: table;
    width: 100%;
    height: 70px;
    margin: 0;
    padding: 0;
    border: 1px solid #fff;
}

    .um-login-header h1 {
        display: table-cell;
        margin: 0;
        padding-top: 2px;
        font-size: 26px;
        font-weight: 300;
        color: #0e3c7b;
        text-align: center;
        vertical-align: middle;
    }

    .um-login-header span {
        font-size: 16px;
    }
/*.............单行布局.............*/
.um-login-input {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #ccc;
}

.um-login-mainbutton {
    margin: 0;
    padding: 8px 0 0 0;
}

.um-login-switch {
    min-height: 34px;
    margin: 0;
    padding: 6px 0 0 0;
    text-align: right;
}
/*.............辅助元素.............*/
.um-login-securitycode {
    position: absolute;
    width: 70px;
    height: 28px;
    top: 6px;
    right: 6px;
    cursor: pointer;
}

.um-login-valid {
    position: absolute;
    width: 8px;
    height: 20px;
    top: 14px;
    left: -5px;
    color: #e00;
    display: none;
}

.um-login-info {
    display: table;
    float: left;
    width: 200px;
    height: 30px;
    margin: 3px 0 0 0;
    font-size: 12px;
    color: #1af;
    text-align: left;
    overflow: hidden
}

    .um-login-info ul {
        display: table-cell;
        margin: 0;
        padding: 0;
        vertical-align: middle;
        list-style: none
    }

    .um-login-info li {
        display: inline
    }
/*.............login button.............*/
.um-page .um-content input.um-login-btn {
    margin-bottom: 0;
    font-size: 18px;
}

/*.............input.............*/
.um-login-panel input {
    -webkit-transition: all .15s;
    -o-transition: all .15s;
    transition: all .15s;
}

.um-login-input input {
    display: block;
    width: 100%;
    margin: 0;
    padding: 9px 6px;
    font-size: 18px;
    color: #333;
    border: none;
    outline: none;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased; /*icloud中为subpixel-antialiased;*/
}
    /*去掉自动填充的黄色，无法覆盖background，只有通过shadow实现*/
    .um-login-input input:-webkit-autofill {
        -webkit-box-shadow: 0 0 0px 80px #fff inset !important;
    }
/*.............input动作.............*/
.um-login-panel input[type="text"]:focus,
.um-login-panel input[type="password"]:focus,
.um-login-panel input[type="number"]:focus,
.um-login-panel input[type="tel"]:focus {
    border-color: #66afe9;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
/*--------------------------------login响应式布局-------------------------*/
@media all and (min-width: 0px) {
    .um-page.um-login > .um-content,
    .um-login-top-cnt,
    .um-login-bottom-cnt {
        padding-left: 0;
    }
}

@media all and (min-width: 769px) {
    .um-page.um-login > .um-content,
    .um-login-top-cnt,
    .um-login-bottom-cnt {
        padding-left: 33%;
    }
}

@media all and (min-height: 0px) {
    .um-page.um-login {
        padding: 0;
    }

    .um-login-top-bar {
        display: none;
    }

    .um-login-bottom-bar {
        display: none;
    }
}

@media all and (min-height: 430px) {
    .um-page.um-login {
        padding: 50px 0;
    }

    .um-login-top-bar {
        display: block;
    }

    .um-login-bottom-bar {
        display: block;
    }
}

.field-validation-valid {
    display: none;
}

