/*
 * Lusai CSS file
 *
 * @version   1.0.0
 * @date      2012-5-20
 * @author    lxh
 * @email     lxh@lusai.com
 * @copyright Copyright (C) 2012 www.lusai.com All rights reserved.
 */

body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td {
	margin: 0;
	padding: 0;
}

body,button,input,select,textarea {
	font-size: 12px;
	font-family: -apple-system-font,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei UI,Microsoft YaHei,Arial,sans-serif;
}

html {
	width: 100%;
	height: 100%;
	background-color: #444;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
    text-align: center;
}

h1,h2,h3,h4,h5,h6 {
	font-size: 100%;
}

address,cite,dfn,em,var,i,b,s {
	font-style: normal;
}

code,kbd,pre,samp {
	font-family: courier new,courier,monospace;
}

ul,ol {
	list-style: none;
}

a {
	color: #319eff;
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

sup {
	vertical-align: text-top;
}

sub {
	vertical-align: text-bottom;
}

legend {
	color: #000;
}

fieldset,img {
	border: 0;
}

img {
	display: inline-block;
	vertical-align: top;
}

button,input,select,textarea {
	font-size: 100%;
}

input::placeholder {
	color: #ccc !important;
}

form {
	padding: 48px;
	background-color: #fff;
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-image: url(../images/logo-black.png);
	background-position: 50% 10%;
	background-repeat: no-repeat;
	background-size: 100px 100px;
	padding-top: 128px;
}

form p:nth-child(2) {
	margin-top: 8px;
}

form p:nth-child(3) {
	margin-top: 24px;
}

input {
	border: none;
	outline: none;
	padding: 14px;
	width: 240px;
	color: #101010;
	font-size: 14px;
	border: 1px solid #e7e7eb;
	border-radius: 5px;
}

input:focus {
	padding: 13px;
	border: 2px solid #10aeff;
}

button {
	border: none;
	outline: none;
	background-color: transparent;
	color: #fff;
	background: #10aeff;
	width: 96px;
	line-height: 1.88235294;
	font-size: 14px;
	border-radius: 5px;
	padding: 8px 0;
	position: relative;
}

button b {
	font-weight: normal;
}

.ing,
button:hover,
button:active {
    background: #0E9CE5;
}

button i {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -9px;
	margin-left: -9px;
	opacity: 0;
}

.ing b {
	opacity: 0;
}

.ing i {
	opacity: 1;
}

.footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 64px;
    color: rgba(255,255,255,0.15);
    background-color: rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer p {
    padding: 0 36px;
}

.toptips {
  display: none;
  position: fixed;
  top: 50%;
  margin-top: -30px;
  left: 0;
  right: 0;
  z-index: 5000;
}

.toptips_inner {
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  padding: 10px 20px;
  color: #fff;
  word-wrap: break-word;
  word-break: break-all;
}

.toptips_warn {
  background-color: #fa5151;
}

.toptips_primary {
  background-color: #07c160;
}


/*ROTATE*/
@-webkit-keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    50% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    50% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.rotate {
    border-radius: 100%;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-bottom-color: transparent;
    width: 14px;
    height: 14px;
    background: transparent !important;
    display: inline-block;
    -webkit-animation: rotate 0.75s 0s linear infinite;
    animation: rotate 0.75s 0s linear infinite;
}