@import url(https://fonts.googleapis.com/css?family=Raleway:400,700);
html, body {
	padding: 0px;
	margin: 0px;
}

body {
	background: #2C3E50;
	font-family: "Raleway";
	width: 100%;
	height: 100%;
}

#container {
	width: 600px;
	height: 300px;
	margin: 300px auto;
}

#login {
	width: 100%;
	height: 100%;
}

#left {
	width: 50%;
	height: 100%;
	font-size: 25px;
	background: #169FE6;
	color: white;
	float: left;
}

#logo {
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.logo {
	text-align: center;
	font-size: 50px;
}

.slogan {
	text-align: center;
	font-size: 14px;
	margin-top: -10px;
}

#right {
	width: 50%;
	height: 100%;
	background: #FFF;
	float: left;
}

#login_content {
	position: relative;
	width: 100%;
	height: 100%;
}

#message {
	width: 260px;
	padding: 20px;
}

.ok {
	background: #DFF2BF;
	color: #008000;
	font-weight: bold;
	font-size: 14px;
	position: absolute;
	z-index: -1;
	top: -56px;
}

.fail {
	background: #FCE3DF;
	color: #C00;
	font-weight: bold;
	font-size: 14px;
	position: absolute;
	z-index: -1;
	top: -88px;
}

.header {
	margin-bottom: 30px;
	font-size: 25px;
}

#top {
	margin-left: 20px;
	margin-right: 20px;
	padding-top: 20px;
}

.fa {
	color: #646464;
	margin-left: 5px;
	margin-right: -39px;
	text-align: center;
	position: relative;
	width: 30px;
	font-size: 1.2em;
	z-index: 3;
}

.fa.invalid {
	color: #C00;
}

input[type=text], input[type=password] {
	background: #FFF;
	border: #DCDCDC 1px solid;
	display: block;
	padding: 10px 10px 10px 35px;
	color: #646464;
	margin-bottom: 10px;
	width: 213px;
}

input[type=text] {
	margin-top: -29px;
	margin-bottom: 20px;
}

input[type=text].invalid {
	border: #C00 1px solid;
}

input[type=password].invalid {
	border: #C00 1px solid;
	color: #C00;
}

input[type=text].invalid::-webkit-input-placeholder, input[type=password].invalid::-webkit-input-placeholder {
    color: #C00;
}

input[type=text].invalid:-moz-placeholder, input[type=password].invalid:-moz-placeholder {
   color: #C00;
   opacity: 1;
}

input[type=text].invalid::-moz-placeholder, input[type=password].invalid::-moz-placeholder {
   color: #C00;
   opacity: 1;
}

input[type=text].invalid:-ms-input-placeholder, input[type=password].invalid:-ms-input-placeholder {
   color: #C00;
}

input[type=password] {
	margin-top: -29px;
}

input[type=password] {
	margin-bottom: 20px;
}

input[type=text]:focus, input[type=password]:focus {
	color: #646464;
	outline: none !important;
	border: #169FE6 1px solid;
}

::-webkit-input-placeholder {
    color: #646464;
}

:-moz-placeholder {
   color: #646464;
   opacity: 1;
}

::-moz-placeholder {
   color: #646464;
   opacity: 1;
}

:-ms-input-placeholder {
   color: #646464;
}

#remember {
	display: none;
	box-sizing: border-box;
	padding: 0;
}

#remember:before {
	border-radius: 3px;
	outline: none;
}

#remember:checked + .remember:before {
	content: "\2713";
	font-size: 15px;
	color: #169FE6;
	text-align: center;
	line-height: 15px;
	border: 1px solid #169FE6;
}

.remember:before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 10px;
	position: absolute;
	left: 0;
	bottom: 0px;
	background: #FFF;
	border: 1px solid #DCDCDC;
}

.remember {
	display: inline-block;
	position: relative;
	padding-left: 23px;
	margin-right: 15px;
	font-size: 14px;
}

.support {
	background: #169FE6;
}

.login {
	background: #2C3E50;
}

.support, .login {
	width: 130px;
	height: 40px;
	border: 0px;
	color: #FFF;
	font-weight: 800;
	text-transform: uppercase;
}

.support:hover, .login:hover, .remember:hover, #remember:hover {
	cursor: pointer;
}

#bottom {
	background: #C6DBEF;
	width: 100%;
	height: 80px;
	line-height: 80px;
	text-align: center;
	bottom: 0px;
	position: absolute;
}

@media screen and (max-width: 1250px) {
	#container {
		width: 100% !important;
		margin: 150px auto !important;
	}
	
	#left {
		display: none !important;
	}
	
	#right {
		width: 100% !important;
	}
	
	#message {
		width: auto !important;
	}
}