/*! nice Validator 0.7.2
 * (c) 2012-2014 Jony Zhang <zj86@live.cn>, MIT Licensed
 * http://niceue.com/validator/
 */
.n-inline-block,.nice-validator input,.nice-validator select,.nice-validator textarea,.msg-wrap,.n-icon,.n-msg{display:inline-block;*display:inline;*zoom:1}
.msg-box{position:relative;*zoom:1}
.msg-wrap{position:relative;white-space:nowrap}
.msg-wrap,.n-icon,.n-msg{vertical-align:top}
.n-arrow{position:absolute;overflow:hidden;background:none;display:none;}
.n-arrow b,.n-arrow i{position:absolute;left:0;top:0;border:0;margin:0;padding:0;overflow:hidden;font-weight:400;font-style:normal;font-size:0.3rem;font-family:serif;line-height:0.35rem;_line-height:0.375rem}
.n-arrow i{text-shadow:none}
.n-icon{width:0.75rem;height:0.75rem;overflow:hidden;background-repeat:no-repeat}
.n-msg{display:inline-block;line-height:0.5rem;margin-left:0.05rem;*margin-top:-0.025rem;_margin-top:0;font-size:0.7rem;font-family:microsoft yahei;}
.n-error{color:#ff4d48}
.n-ok{color:#390}
.n-tip,.n-loading{color:#808080}
.n-error .n-icon{background-position:0 -3.3rem;}
.n-ok .n-icon{/*background-position:-16px 0*/ background-position:0 0;}
.n-tip .n-icon{/*background-position:-32px 0*/ background-position:0 -2.25rem;}
.n-loading .n-icon{background:url("loading.gif") 0 center no-repeat !important}
.n-top,.n-right,.n-bottom,.n-left{display:inline-block;line-height:0;vertical-align:top;outline:0;}
.n-bottom{display:block;line-height:0;vertical-align:top;outline:0}
.n-top .n-arrow,.n-bottom .n-arrow{height:0.15rem;width:0.3rem;left:0.2rem;}
.n-left .n-arrow,.n-right .n-arrow{width:0.15rem;height:0.3rem;top:0.15rem;background:none;}
.n-top{vertical-align:top;}
.n-top .msg-wrap{margin-bottom:0.15rem}
.n-top .n-arrow{bottom:-0.15rem;}
.n-top .n-arrow b{top:-0.15rem}
.n-top .n-arrow i{top:-0.175rem}
.n-bottom{vertical-align:bottom;}
.n-bottom .msg-wrap{margin-top:0.15rem}
.n-bottom .n-arrow{top:-0.15rem;}
.n-bottom .n-arrow b{top:-0.025rem}
.n-bottom .n-arrow i{top:0}
.n-left .msg-wrap{right:100%;margin-right:0.15rem}
.n-left .n-arrow{right:-0.15rem;}
.n-left .n-arrow b{left:-0.15rem}
.n-left .n-arrow i{left:-0.175rem}
.n-right .msg-wrap{margin-left:0.15rem}
.n-right .n-arrow{left:-0.15rem;}
.n-right .n-arrow b{left:0.025rem}
.n-right .n-arrow i{left:0.05rem}
.n-default .n-left,.n-default .n-right{margin-top:0.125rem}
.n-default .n-top .msg-wrap{bottom:100%}
.n-default .n-bottom .msg-wrap{top:100%}
.n-default .msg-wrap{position:absolute;z-index:1;}
.n-default .msg-wrap .n-icon{background-image:url("validator_default.png")}
.n-default .n-tip .n-icon{display:none}
.n-simple .msg-wrap{position:absolute;z-index:1;}
.n-simple .msg-wrap .n-icon{background-image:url("validator_bg.png")}
.n-simple .n-top .msg-wrap{bottom:100%}
.n-simple .n-bottom .msg-wrap{top:100%}
.n-simple .n-left,.n-simple .n-right{margin-top:0.125rem}
.n-simple .n-bottom .msg-wrap{margin-top:0.075rem}
.n-simple .n-tip .n-icon{display:none}
.n-yellow .msg-wrap{ position:absolute;z-index:1;padding:0.1rem 0.15rem;font-size:0.3rem;/*border:1px solid transparent;background-color:#fffcef;border-color:#ffbb76;color:#db7c22;box-shadow:0 1px 3px #ccc;border-radius:2px;*/}
.n-yellow .msg-wrap .n-arrow b{color:#ffbb76;text-shadow:0 0 0.05rem #ccc}
.n-yellow .msg-wrap .n-arrow i{color:#fffcef}
.n-yellow .msg-wrap .n-icon{background-image:url("validator_bg.png");background-size:100% auto;}
.n-yellow .n-top .msg-wrap{bottom:100%}
.n-yellow .n-bottom .msg-wrap{top:100%}
.n-yellow .n-tip,.n-yellow .n-ok,.n-yellow .n-loading{/*background-color:#f8fdff;border-color:#ddd;color:#333;box-shadow:0 1px 3px #ccc;*/}
.n-yellow .n-tip .n-arrow b,.n-yellow .n-ok .n-arrow b,.n-yellow .n-loading .n-arrow b{color:#ddd;text-shadow:0 0 0.05rem #ccc}
.n-yellow .n-tip .n-arrow i,.n-yellow .n-ok .n-arrow i,.n-yellow .n-loading .n-arrow i{color:#f8fdff}
.n-yellow .n-tip .n-icon{display:none}
