body {
	margin: 0;
	padding: 0;
	font-weight: 400;
	background: #3D8AC4; /* Old browsers */
	background: -moz-linear-gradient(top, #3D8AC4 0%, #1D477A 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3D8AC4), color-stop(100%,#1D477A)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #3D8AC4 0%,#1D477A 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #3D8AC4 0%,#1D477A 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #3D8AC4 0%,#1D477A 100%); /* IE10+ */
	background: linear-gradient(to bottom, #3D8AC4 0%,#1D477A 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3D8AC4', endColorstr='#1D477A',GradientType=0 ); /* IE6-8 */
	background-repeat: no-repeat;
	background-attachment: fixed;
}

div, input, h1, span {
	font-family: Tahoma, Helvetica, sans-serif;
	font-size: 18px;
	font-style: normal;
}

.wf-active div,
.wf-active input,
.wf-active h1,
.wf-active span {
	font-family: 'Lato';
}

#logo {
    /*background: url('/?smlogo=2') center bottom no-repeat;*/
    background: url('/images/custom/login_mainlogo.png') center bottom no-repeat;
    background-size: 52%;
    width: 100%;
    height: 120px;
    margin: 0 auto;
    padding-top: 20px;
}

/** {
	border: 1px solid red;
}*/

h1 {
	font-style: normal;
	font-weight: 700;
	font-size: 20px;
	line-height: 20px;
	min-height: 20px;
	margin-top: 10px;
	padding-bottom: 10px;
	color: black;
	padding-top: 25px;
	text-align: center;
}

h1 span {
	font-size: 20px;
	margin-left: 10px;
}

h1 a {
	text-decoration: none;
	color: inherit;
}

#login_box, #login_box_bg {
	height: 190px;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
}

#login_box {
	padding: 20px;
	width: 360px;
}

body {
   background: url('/images/custom/bg.svg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#login_box_outer {
/*	background: #FFFFFF; */
/*	background-image: linear-gradient(-180deg, #FFFFFF 0%, #E6F3FF 100%);
    border-radius: 10px;
    height: 330px;
    z-index: -1;
    position: absolute;
    top: 113px;
    left: 0;
    right: 0;
    box-shadow: 0px 2px 12px 0px rgba(45,45,45,0.50); */
    background-image: linear-gradient(-180deg, #FFFFFF 0%, #FFFFFF 100%);
}

#login_box_bg {
	position: absolute;
	width: 650px;
	height: 480px;
	background: #FFFFFF;
}

#login_username, #login_password {
	cursor: pointer;
	width: 85%;
	margin-left: 20px;
	min-height: 22px;
}

#username, #password {
	/*
	width: 85%;
	margin-left: 20px;
	*/
	padding: 5px;
	background-color: #fff !important;
	-webkit-box-shadow: 0 0 0px 1000px #fff inset;
	border: 1px solid #BCBCBC;
	border-radius: 3px;
	outline: none;
	min-height: 23px;
}

#login_password {
	margin-top: 10px;
}

#username:focus,
#password:focus {
	border: 1px solid gray;
	outline: none;
}

#login_username_field {
	margin-bottom: 5px;
}

#error {
	border-bottom: 1px solid #D0021B;
	color: #D0021B;
	background: #F7E6E8;
	font-weight: bolder;
	width: 100%;
	margin-bottom: 0px;
	text-align: center;
	z-index: 1000;
	position: absolute;
	top: 0;
	left: 0;
}

#error span {
	display: block;
	padding: 5px;
	font-size: 14px;
	font-weight: 700;
}

form {
	display: inline;
	margin: 0;
	padding: 0;
}

#login_button {
	text-align: center;
	margin-top: 20px;
	/*
	margin-left: 95px;
	*/
}

#login_button_label {
	/*
	font-size: 28px;
	font-weight: bold;
	
	margin-left: 10px;
	line-height: 64px;
	*/
}

#login_button_link {
	color: black;
	outline: none;
	text-decoration: none;
}

#login_button input {
	visibility: hidden;
	position: absolute;
	left: -999em;
}

i.lock {
	color: #F89D06;
}

#login_button_link .login_ok {
	color: #61B801;
    font-size: 1.5em;
    top: 8px;
}

#login_button_link:hover .login_ok {
	color: #519A02;
}

.fa-inverse {
    font-size: 0.8em!important;
    top: -2px;
    left: 1px;
}