@charset "utf-8";

/* reset */
html,body {height:100%;box-sizing:border-box;}
body {background:#fff;color:#333;font-size:14px;margin:0 auto;line-height:1.42857143;font-family:"Myriad Set Pro","Helvetica Neue","Helvetica","Arial",sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;-webkit-tap-highlight-color:transparent;word-wrap:break-word;word-break:break-all;}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section {display:block;}
h1,h2,h3,h4,h5,h6 {font-weight:normal;margin:0;}
p {margin:0;}
a {text-decoration:none;color:inherit;}
a:hover {text-decoration:none;}
ul,ol {list-style:none;margin:0;padding:0;}
input,button,select,textarea {vertical-align:top;border:1px solid #d5d5d5;outline:none;background:#fff;padding:0;margin:0;font-family:inherit;line-height:inherit;color:inherit;font-size:inherit;}
/*input,button,textarea {-webkit-appearance:none;appearance:none;}*/
input::-webkit-contacts-auto-fill-button {visibility:hidden;pointer-events:none;opacity:0;}
textarea {resize:vertical;}
select {box-sizing:content-box;}
img {display:block;max-width:100%;border:none;}
label {cursor:pointer;}
svg {display:block;overflow:hidden;vertical-align:middle;}
.clearfix:before,.clearfix:after {content:"";display:table;visibility:hidden;} .clearfix:after {clear:both;} .clearfix {*zoom:1;}
table {width:100%;text-align:center;border-collapse:collapse;border:1px solid #d5d5d5;text-align:center;}
th,td {border:1px solid #d5d5d5;padding:0;}
input::-moz-placeholder, textarea::-moz-placeholder {color:#999;font-family:inherit;}
input:-ms-input-placeholder, textarea:-ms-input-placeholder {color:#999;font-family:inherit;}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {color:#999;font-family:inherit;}
input:placeholder, textarea:placeholder {color:#999;font-family:inherit;}
input[type="radio"],input[type="checkbox"] {vertical-align:middle;display:inline-block;}


/**
 * 自己写的STUI框架（供参考使用）
 */

/* block */
.block,
.st-btn.block,
.st-control.block {display:block;width:100%;box-sizing:border-box;}
/* disabled */
.disabled, [disabled],
.st-btn.disabled, .st-btn[disabled],
.st-control.disabled, .st-control[disabled],
.st-switcher.disabled, .st-switcher[disabled] {opacity:0.5;filter:alpha(opacity=50);cursor:not-allowed!important;}
.disabled, [disabled],
.disabled *, [disabled] *,
.st-btn.disabled, .st-btn[disabled],
.st-btn.disabled *, .st-btn[disabled] *,
.st-control.disabled, .st-control[disabled],
.st-control.disabled *, .st-control[disabled] *,
.st-switcher.disabled *, .st-switcher[disabled] *,
.st-switcher.disabled, .st-switcher[disabled] {cursor:not-allowed!important;}


/**
* site-button
* @type {[按钮类]}
* 按钮默认高度： 20+2+10 = 32
* sm高度：24
* lg高度：40
*/
.st-btn {line-height:20px;padding:5px 20px;box-sizing:border-box;display:inline-block;text-align:center;border:1px solid transparent;border-radius:0;color:#333;cursor:pointer;}
.st-btn:not(.disabled):not([disabled]):active {opacity:0.8;filter:alpha(opacity=80);}
.st-btn.sm {height:24px;padding:1px 10px;font-size:12px;}
.st-btn.lg {height:40px;padding:9px 30px;font-size:17px;}


/* site-button colors */
.st-btn {background-color:#ddd;}
.st-btn-primary {background-color:#2b99ff;color:#fff;}
.st-btn-info {background-color:#13d3c3;color:#fff;}
.st-btn-success {background-color:#26ab28;color:#fff;}
.st-btn-warning {background-color:#fd9b27;color:#fff;}
.st-btn-danger {background-color:#fc3d39;color:#fff;}
.st-btn:hover {background-color:#ccc;color:inherit;}
.st-btn-primary:hover {background-color:#2185f5;color:#fff;}
.st-btn-info:hover {background-color:#09bfb9;color:#fff;}
.st-btn-success:hover {background-color:#1c971e;color:#fff;}
.st-btn-warning:hover {background-color:#f3871d;color:#fff;}
.st-btn-danger:hover {background-color:#f2292f;color:#fff;}


/* site-button-group */
.st-btn-grp .st-btn {display:block;float:left;border-left-color:rgba(255,255,255,0.3);border-right-color:#ccc;}
.st-btn-grp .st-btn:first-child {border-left-color:transparent;}
.st-btn-grp .st-btn:last-child {border-right-color:transparent;}
.st-btn-grp .st-btn-primary {border-right-color:#2185f5;}
.st-btn-grp .st-btn-info {border-right-color:#09bfb9;}
.st-btn-grp .st-btn-success {border-right-color:#1c971e;}
.st-btn-grp .st-btn-warning {border-right-color:#f3871d;}
.st-btn-grp .st-btn-danger {border-right-color:#f2292f;}


/* site-button-line */
.st-btn-line {background-color:transparent;color:#666;border-color:#bbb;}
.st-btn-line.st-btn-primary {background-color:transparent;color:#2b99ff;border-color:#2b99ff;}
.st-btn-line.st-btn-info {background-color:transparent;color:#13d3c3;border-color:#13d3c3;}
.st-btn-line.st-btn-success {background-color:transparent;color:#26ab28;border-color:#26ab28;}
.st-btn-line.st-btn-warning {background-color:transparent;color:#fd9b27;border-color:#fd9b27;}
.st-btn-line.st-btn-danger {background-color:transparent;color:#fc3d39;border-color:#fc3d39;}


/* site-button-group site-button-line,  borders */
.st-btn-grp .st-btn-line {border-left-color:transparent;border-right-color:#bbb;}
.st-btn-grp .st-btn-line.st-btn-primary {border-right-color:#2b99ff;}
.st-btn-grp .st-btn-line.st-btn-info {border-right-color:#13d3c3;}
.st-btn-grp .st-btn-line.st-btn-success {border-right-color:#26ab28;}
.st-btn-grp .st-btn-line.st-btn-warning {border-right-color:#fd9b27;}
.st-btn-grp .st-btn-line.st-btn-danger {border-right-color:#fc3d39;}
.st-btn-grp .st-btn-line:first-child {border-left-color:#bbb;}
.st-btn-grp .st-btn-line:last-child {border-right-color:#bbb;}
.st-btn-grp .st-btn-line.st-btn-primary:first-child {border-left-color:#2185f5;}
.st-btn-grp .st-btn-line.st-btn-primary:last-child {border-right-color:#2185f5;}
.st-btn-grp .st-btn-line.st-btn-info:first-child {border-left-color:#09bfb9;}
.st-btn-grp .st-btn-line.st-btn-info:last-child {border-right-color:#09bfb9;}
.st-btn-grp .st-btn-line.st-btn-success:first-child {border-left-color:#1c971e;}
.st-btn-grp .st-btn-line.st-btn-success:last-child {border-right-color:#1c971e;}
.st-btn-grp .st-btn-line.st-btn-warning:first-child {border-left-color:#f3871d;}
.st-btn-grp .st-btn-line.st-btn-warning:last-child {border-right-color:#f3871d;}
.st-btn-grp .st-btn-line.st-btn-danger:first-child {border-left-color:#f2292f;}
.st-btn-grp .st-btn-line.st-btn-danger:last-child {border-right-color:#f2292f;}


/* site-button-group site-button-line,  hover borders  */
.st-btn-line:hover {border-color:transparent;}
.st-btn-grp .st-btn-line:first-child:hover {border-color:transparent;}
.st-btn-grp .st-btn-line:last-child:hover {border-color:transparent;}
.st-btn-grp .st-btn-line.st-btn-primary:first-child:hover {border-color:transparent;}
.st-btn-grp .st-btn-line.st-btn-primary:last-child:hover {border-color:transparent;}
.st-btn-grp .st-btn-line.st-btn-info:first-child:hover {border-color:transparent;}
.st-btn-grp .st-btn-line.st-btn-info:last-child:hover {border-color:transparent;}
.st-btn-grp .st-btn-line.st-btn-success:first-child:hover {border-color:transparent;}
.st-btn-grp .st-btn-line.st-btn-success:last-child:hover {border-color:transparent;}
.st-btn-grp .st-btn-line.st-btn-warning:first-child:hover {border-color:transparent;}
.st-btn-grp .st-btn-line.st-btn-warning:last-child:hover {border-color:transparent;}
.st-btn-grp .st-btn-line.st-btn-danger:first-child:hover {border-color:transparent;}
.st-btn-grp .st-btn-line.st-btn-danger:last-child:hover {border-color:transparent;}
.st-btn-line.st-btn-primary:hover {background-color:#2b99ff;color:#fff;}
.st-btn-line.st-btn-info:hover {background-color:#13d3c3;color:#fff;}
.st-btn-line.st-btn-success:hover {background-color:#26ab28;color:#fff;}
.st-btn-line.st-btn-warning:hover {background-color:#fd9b27;color:#fff;}
.st-btn-line.st-btn-danger:hover {background-color:#fc3d39;color:#fff;}


/**
* site-col
* @type {[栅格系统]}
*/
[class*="st-col-"] {float:left;box-sizing:border-box;}
.st-col-1 {width:8.3333%;}
.st-col-2 {width:16.6666%;}
.st-col-3 {width:25%;}
.st-col-4 {width:33.3333%;}
.st-col-5 {width:41.6666%;}
.st-col-6 {width:50%;}
.st-col-7 {width:58.3333%;}
.st-col-8 {width:66.6666%;}
.st-col-9 {width::75%;}
.st-col-10 {width:83.3333%;}
.st-col-11 {width:91.6666%;}
.st-col-12 {width:100%;}


/**
* site-control
* @type {[表单控件]}
*/
.st-control {line-height:20px;height:32px;box-sizing:border-box;padding:5px 10px;font-size:14px;border:1px solid #d5d5d5;border-radius:0;}
.st-control:focus {border-color:#bbb;}
input[type="radio"].st-control, input[type="checkbox"].st-control {border:none;padding:0;height:20px;}
textarea.st-control {min-height:60px;font-size:13px;line-height:16px;}
select.st-control[multiple] {height:100px;}
.st-control.sm {height:24px;padding:1px 6px;font-size:12px;}
.st-control.lg {height:40px;padding:9px 10px;font-size:17px;}


/**
* site-switcher
* @type {[滑块开关]}
*/
.st-switcher {display:inline-block;position:relative;border-radius:100px;cursor:pointer;background:#ddd;width:32px;height:16px;margin-top:-2px;vertical-align:middle;-webkit-transition:background-color 0.1s ease-in-out;transition:background-color 0.1s ease-in-out;}
.st-switcher-bar {position:absolute;top:1px;left:1px;width:14px;height:14px;border-radius:100%;background:#fff;-webkit-transition:all 0.1s ease-in-out;transition:all 0.1s ease-in-out;}
.st-switcher-control {position:absolute;z-index:3;top:0;left:0;width:100%;height:100%;cursor:pointer;opacity:0;filter:alpha(opacity=0);}
.st-switcher.active {background-color:#00be6d;}
.st-switcher.active .st-switcher-bar {left:17px;}
.st-switcher-rect .st-switcher-bar {border-radius:2px;box-shadow:0 0 1px rgba(0,0,0,0.5);}
.st-switcher-rect {border-radius:2px;}
.st-switcher.lg {width:46px;height:24px;}
.st-switcher.lg .st-switcher-bar {width:22px;height:22px;}
.st-switcher.lg.active .st-switcher-bar {left:23px;}
.st-switcher.disabled .st-switcher-control,
.st-switcher[disabled] .st-switcher-control {cursor:not-allowed;}


/**
* site-error
* @type {[错误提示]}
*/
.st-error {text-align:left;color:#fc3d39;display:none;font-size:13px;padding-top:5px;}
.st-tip {text-align:left;color:#999;font-size:13px;padding-top:5px;}
.st-error.active {display:block!important;}


/**
 * site-hr
 * @type {[中间有蚊子的分割线]}
 */
.st-hr {position:relative;text-align:center;}
.st-hr:before {position:absolute;top:50%;left:0;width:100%;height:1px;content:"";background:#ddd;}
.st-hr-txt {position:relative;z-index:2;background:#fff;display:inline-block;padding:0 10px;color:#999;}
.st-hr-left {text-align:left;}
.st-hr-left .st-hr-txt {padding-left:0;}
.st-hr-right {text-align:right;}
.st-hr-right .st-hr-txt {padding-right:0;}


/**
* site-avatar
* @type {[文件上传]}
*/
.st-avatar-rect {position:relative;width:80px;height:80px;display:block;box-sizing:border-box;border:1px solid #d5d5d5;background:#fff no-repeat center center;background-size:contain;background-image:none;cursor:pointer;overflow:hidden;}
.st-avatar-rect:before {content:"";position:absolute;top:50%;left:25%;width:50%;margin-top:-1px;height:2px;background:#ccc;}
.st-avatar-rect:after {content:"";position:absolute;top:25%;left:50%;height:50%;margin-left:-1px;width:2px;background:#ccc;}
.st-avatar-rect:hover {border-color:#bbb;}
.st-avatar-rect:hover:before, .st-avatar-rect:hover:after {background:#aaa;}
.st-avatar-rect input[type="file"] {filter:alpha(opacity=0)\0;visibility:visible\0;}
html:root .st-avatar-rect input[type="file"] {visibility:hidden;}
.st-avatar-filename {position:absolute;z-index:3;top:50%;left:0;width:100%;line-height:80px;margin-top:-40px;color:#fff;font-size:24px;text-align:center;white-space:nowrap;overflow:hidden;}
.st-avatar.active .st-avatar-rect {border-color:transparent;border-radius:12px;}
.st-avatar.active .st-avatar-rect:before,
.st-avatar.active .st-avatar-rect:after {display:none;}


/**
 * site-message
 */
.st-message {position:fixed;z-index:200;top:2.5%;right:2.5%;width:95%;max-width:360px;padding:10px 35px 10px 75px;box-sizing:border-box;background:#fff;box-shadow:0px 1px 2px rgba(0,0,0,0.15);opacity:0;filter:alpha(opacity=0);}
.st-message.shown {opacity:1;filter:alpha(opacity=100);}
.st-message-close {position:absolute;top:0;right:0;width:16px;height:16px;padding:7px;fill:#888;cursor:pointer;}
.st-message-close:hover {fill:#333;}
.st-message-content {min-height:44px;height:44px;position:relative;font-size:14px;color:#777;line-height:22px;box-sizing:border-box;overflow:hidden;text-align:justify;text-justify:distribute-all-lines;}
.st-message-type {position:absolute;top:0;left:0;width:64px;height:100%;padding:14px;background:#f5f5f5;box-sizing:border-box;}
.st-message-type svg {display:block;width:36px;height:36px;fill:#26ab28;}
.st-message:hover .st-message-content {height:auto;color:#333;}


/**
 * site-modal
 * size: 330  600  840
 */
.st-modal {display:none;position:fixed;z-index:101;top:0;left:0;width:100%;height:100%;}
.st-modal-content {position:relative;z-index:2;width:100%;max-width:600px;margin:0 auto;background:#fff;box-shadow:0px 1px 2px rgba(0,0,0,0.15);overflow:hidden;}
.st-modal-hd {position:relative;padding:15px 50px 15px 15px;font-size:17px;line-height:20px;min-height:50px;border-bottom:1px solid #eee;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.st-modal-hd.st-modal-hd-noclosebtn {padding:15px;}
.st-modal-bd {padding:15px;box-sizing:border-box;overflow:auto;-webkit-overflow-scrolling:touch;overflow-scrolling:touch;}
.st-modal-ft {padding:15px;text-align:right;border-top:1px solid #eee;}
.st-modal-close {position:absolute;top:0;right:0;width:18px;height:18px;padding:16px;fill:#888;cursor:pointer;}
.st-modal-close:hover {fill:#333;}
.st-modal.sm .st-modal-content {max-width:330px;}
.st-modal.lg .st-modal-content {max-width:840px;}
.st-modal-bg {position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;filter:alpha(opacity=0);}
.st-modal.shown .st-modal-bg {opacity:0.5;filter:alpha(opacity=50);}


/**
 * 小型确认框
 */
.st-confirm {position:absolute;z-index:150;width:100%;max-width:200px;box-sizing:border-box;text-align:left;background:#fff;box-shadow:0 3px 6px rgba(0,0,0,0.3);}
.st-confirm-hd {line-height:20px;font-weight:bold;padding:15px;font-size:15px;}
.st-confirm-bd {padding:0 15px 15px;}
.st-confirm-ft {text-align:right;padding:0 15px 15px;}
.st-confirm-ft .st-btn {padding:2px 10px;margin-left:5px;}


/* body.st-body-radius */
body.st-body-radius .st-btn {border-radius:3px;}
body.st-body-radius .st-btn-grp .st-btn:first-child {border-top-left-radius:3px;border-bottom-left-radius:3px;}
body.st-body-radius .st-btn-grp .st-btn:last-child {border-top-right-radius:3px;border-bottom-right-radius:3px;}
body.st-body-radius .st-btn-grp .st-btn {border-radius:0;}
body.st-body-radius .st-control {border-radius:3px;}