.HolyGrail {
  display: flex;
  height: 100vh;
  margin: 0 !important;
  flex-flow: column nowrap;
  background: #dfedfe url("../images/login_bg.png") no-repeat 50% 50%;
}

.header {
  height: 10vh;
  position:relative;
  
}
.footer {
  height: 20vh;
  position:relative;
}
.HolyGrail_content {
  width: 755px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -377.5px;
  margin-top: -270px;
}
.main {
	width: 454px;
	height: 420px;
	padding: 60px 0 60px 302px;
	background: url("../images/login_box_bg.png") no-repeat 50% 50%;
}
.main>.title {
	width: 312px;
	height: 52px;
	margin: 50px 68px 30px 68px;
	background: url("../images/logo.png") no-repeat 50% 50%;
	text-indent: -999em;
}
.main>form {
	height: 260px;
	display: flex;
	flex-flow: column nowrap;
	justify-content:center;
	align-items:center;
	padding: 0 70px;
}
form>.user_name,
.pass_world,
.login_btn{
	height: 25%;
	width: 100%;
	display: flex;
	flex-flow: column nowrap;
	justify-content:center;
	align-items:center;
}
form>.kaptcha{
    height: 25%;
    width: 100%;
    display: flex;
    flex-flow: row;
    justify-content: initial;
    align-items: center;
}
.title {
	font-size: 25px;
}
#username {
	padding-left:40px;
	background:url(../images/user.png) no-repeat 0 50%;
}
#username:focus{
	padding-left:40px;
	background:url(../images/user_active.png) no-repeat 0 50%;
}
#username:-webkit-autofill {
	padding-left:40px;
	background:url(../images/user.png) no-repeat 0 50%;
	-webkit-box-shadow: 0 0 0px 1000px white inset;
}
#password {
	padding-left:40px;
	background:url(../images/pass.png) no-repeat 0 50%;
}
#password:focus{
	padding-left:40px;
	background:url(../images/pass_active.png) no-repeat 0 50%;
}
#password:-webkit-autofill {
	-webkit-box-shadow: 0 0 0px 1000px white inset;
	padding-left:40px;
	background:url(../images/pass.png) no-repeat 0 50% !important;
}
#password1 {
	padding-left:40px;
	background:url(../images/pass.png) no-repeat 0 50%;
}
#password1:focus{
	padding-left:40px;
	background:url(../images/pass_active.png) no-repeat 0 50%;
}
#password1:-webkit-autofill {
	-webkit-box-shadow: 0 0 0px 1000px white inset;
	padding-left:40px;
	background:url(../images/pass.png) no-repeat 0 50% !important;
}
.login_btn {
	
}
#submit{
	width: 100%;
}
.forget_pass {
	width: 100%;
	display: flex;
	justify-content:center;
}
.forget_pass>a {
	width: 100%;
	text-align: right;
	color: red;
	text-decoration: none;
	font-size: 14px;
}
.forget_pass>a:hover {
	text-decoration: underline;
}
.logo {
	position: absolute;
    bottom: 0;
    left: 3%;
}
.logo>img {
	padding-bottom: 5px;
	height: 60px;
}
.qrcode_contain {
    width: 100px;
    height: 125px;
    position: absolute;
	padding-top: 20px;
    right: 13%;
    text-align: center;
}
.qrcode {
    width: 100%;
    height: 80%;
    background: url(../images/QRcode.png) no-repeat center;
    -moz-background-size: 100% 100%;
    background-size: 100% 100%;
}
.qrcode_contain>span {
	font-size: 12px;
}
input{
	border: 1px solid #efefef;
	width: 264px;
	outline:none;
	padding: 8px 8px;
	line-height: 22px;
	border-radius: 5px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	-webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s}
input:focus{
	border-color: #2999FC;
	outline:none;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(41, 154, 252, 0.6);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(41, 154, 252, 0.6);
}
#submit{
	background-color: #507DA2;
	color: #FFFFFF;
	font-size: 17px;
}
.errors{
	color: red;
}
.col-sm-2{
	width:20%; 
	text-align:right;
	padding-right:5px;
	display:inline-block;
	font-size: 15px;
	line-height: 40px;
}
.col-sm-10{
	width: 70%; 
	padding:5px 10px;
	display:inline-block;
	vertical-align: top;
	text-align: left;
}
.col-sm-10>input{
	padding-left:10px;
	height:23px;
	width: 100%;
}
.col-sm-10>input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0px 1000px white inset;
}
.form-group{
	margin: 20px 10px;
}

.copyright {
	margin-top: -20px;
	font-size: 14px;
	color: #666;
	line-height: 24px;
	text-align: center;
}
.copyright p {
	padding: 0;
	margin: 0;
}

#submit {
	padding: 0;
	cursor: pointer;
	border: 0 none;
	width: 100%;
	height: 46px;
	line-height: 46px;
	background-color: #2999FC;
	border-radius: 30px;
	font-size: 16px;
	color: #fff;
}

#submit:hover {
	background-color: #1384e7;
}