@charset "utf-8";
html, body {
    height: 100%;
}

body {
    font: 18px 'Lucida Sans Unicode', 'Trebuchet MS', Arial, Helvetica;    
    margin: 0;
}

#login-outer {
	width:100%;
	padding-top:200px;
}

#login {
    background-color: #fff;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
    background-image: -webkit-linear-gradient(top, #fff, #eee);
    background-image: -moz-linear-gradient(top, #fff, #eee);
    background-image: -ms-linear-gradient(top, #fff, #eee);
    background-image: -o-linear-gradient(top, #fff, #eee);
    background-image: linear-gradient(top, #fff, #eee);  
    height: 400px;
    width: 450px;
    margin: 0 auto;
    padding: 3px;
    z-index: 0;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;  
    -webkit-box-shadow:
          0 0 2px rgba(0, 0, 0, 0.2),
          0 1px 1px rgba(0, 0, 0, .2);
    -moz-box-shadow:
          0 0 2px rgba(0, 0, 0, 0.2),  
          1px 1px   0 rgba(0,   0,   0,   .1),
          3px 3px   0 rgba(255, 255, 255, 1);
    box-shadow:
          0 0 2px rgba(0, 0, 0, 0.2),  
          0 1px 1px rgba(0, 0, 0, .2);
}

#login form {
	position:relative;
	width:100%;
	height:100%;
	z-index:10;
}

#login form:before {
    content: '';
    position: absolute;
    z-index: -1;
    border: 1px dashed #ccc;
    top: 5px;
    bottom: 5px;
    left: 5px;
    right: 5px;
    -moz-box-shadow: 0 0 0 1px #fff;
    -webkit-box-shadow: 0 0 0 1px #fff;
    box-shadow: 0 0 0 1px #fff;
}

#login fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    width:100%;
    float:left;
    clear:both;
    position:relative;
}

.logo {
	width:100%;
	position:relative; 
	padding-top:36px;
	padding-bottom:24px;
}

.logo img {
	display:block;
	margin:0 auto;
	width:50%;
}

.login-title {
	width:100%;
	text-transform: uppercase;
	text-align: center;
	margin: 0 0 30px 0;
	letter-spacing: 10px;
	font: bold 45px Arial, Helvetica;
	position: relative;
}

#inputs1 input, #inputs2 input {
    background: #f1f1f1 url(/images/login-sprite.png) no-repeat;
    padding: 10px 0 10px 30px;
    margin: 0 0 10px 30px;
    width: calc(100% - 90px); /* 353 + 2 + 45 = 400 */
    border: 1px solid #ccc;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
    -webkit-box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
    box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
}

#username {
	font: 18px 'Lucida Sans Unicode', 'Trebuchet MS', Arial, Helvetica;
    background-position: 5px -2px !important;
}

#password {
	font: 18px 'Lucida Sans Unicode', 'Trebuchet MS', Arial, Helvetica;
    background-position: 5px -52px !important;
}

#inputs1 input:focus, #inputs2 input:focus {
    background-color: #fff;
    border-color: #c46e74;
    outline: none;
    -moz-box-shadow: 0 0 0 1px #c46e74 inset;
    -webkit-box-shadow: 0 0 0 1px #c46e74 inset;
    box-shadow: 0 0 0 1px #c46e74 inset;
}

#submit {		
    background-color: #ffb94b;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#c46e74), to(#c20e1a));
    background-image: -webkit-linear-gradient(top, #c46e74, #c20e1a);
    background-image: -moz-linear-gradient(top, #c46e74, #c20e1a);
    background-image: -ms-linear-gradient(top, #c46e74, #c20e1a);
    background-image: -o-linear-gradient(top, #c46e74, #c20e1a);
    background-image: linear-gradient(top, #c46e74, #c20e1a);
    
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    
    border-width: 1px;
    border-style: solid;
    border-color: #a6a6a6;

    float: left;
    height: 35px;
    padding: 0;
    width: 120px;
    cursor: pointer;
    font: bold 18px Arial, Helvetica;
    color: #ffffff;
	margin-left:30px;
}

#submit:hover,#submit:focus {		
    background-color: #fddb6f;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#c20e1a), to(#c46e74));
    background-image: -webkit-linear-gradient(top, #c20e1a, #c46e74);
    background-image: -moz-linear-gradient(top, #c20e1a, #c46e74);
    background-image: -ms-linear-gradient(top, #c20e1a, #c46e74);
    background-image: -o-linear-gradient(top, #c20e1a, #c46e74);
    background-image: linear-gradient(top, #c20e1a, #c46e74);
}	

#submit:active {		
    outline: none;
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;		
}

#submit::-moz-focus-inner {
  border: none;
}

#login #actions {
    margin-top:15px;
}

#loader {
	position:relative;
	float:left;
	padding:3px 0 0 42px;
	display:none;
}

#rempass {
	font:13px 'Lucida Sans Unicode', 'Trebuchet MS', Arial, Helvetica;
	padding:5px 30px 0 0;
	float:right;
}

#error_message {
	position:relative; 
	float:left; 
	padding-top:8px; 
	top:0; 
	left:0; 
	width:100%;
	font: 13px 'Lucida Sans Unicode', 'Trebuchet MS', Arial, Helvetica;
	text-align:center;
	color:#F00;
}


.error {
    background-color:#6F6968;
    border:1px solid #333;
    border-left:none;
    width:145px;
    height:30px;
    position:absolute;
    top:9px;
    font-size:12px;
    letter-spacing:0px;
    color:#ddd;
    -moz-border-radius:0px 5px 5px 0px;
    -webkit-border-top-right-radius:5px;
    -webkit-border-bottom-right-radius:5px;
    border-radius:0px 5px 5px 0px;
}

.error span {
    margin-left:10px;
    line-height:30px;
    text-shadow:1px 1px 1px #333;
}

.custom-checkbox, .custom-radio { position: relative; }
	
.custom-checkbox input, 
.custom-radio input {
	position: absolute;
	left: 2px;
	top: 3px;
	margin: 0;
	z-index: 0;
}

.custom-checkbox label, 
.custom-radio label {
	display: block;
	position: relative;
	z-index: 1;
	font-size: 1.3em;
	padding-right: 1em;
	line-height: 1.1;
	padding: 4px 0 0 25px;
	margin: 0 0 .3em;
	cursor: pointer;
}

.custom-checkbox label { background: url(/images/checkbox.gif) no-repeat; }

.custom-radio label { background: url(/images/radiobutton.gif) no-repeat; }

.custom-checkbox label, .custom-radio label {
	background-position: -10px -15px;
}

.custom-checkbox label.hover,
.custom-checkbox label.focus,
.custom-radio label.hover,
.custom-radio label.focus {
	background-position: -10px -115px;
}

.custom-checkbox label.checked, 
.custom-radio label.checked {
	background-position: -10px -214px;
}

.custom-checkbox label.checkedHover, 
.custom-checkbox label.checkedFocus {
	background-position: -10px -314px;
}

.custom-checkbox label.focus, 
.custom-radio label.focus {
	outline: 1px dotted #ccc;
}

@media only screen and (max-width : 780px) {
	#login-outer {
		padding-top:20px;
	}

	#login {
		width:100%;
		max-width: 450px;
		margin:0 auto;
		padding:0;
		top:0;
		left:0;
	}
	
	#submit {
		width:80px;
	}
	
	#loader {
		padding:3px 0 0 25px;
	}
	
	.error {
		right:29px;
		border-radius:5px;
		background-color:#ff0000;
    	border-left:1px solid #333;
		font-size:13px;
		color: #fff;
	}
	
	.error span {
		text-shadow:none;
	}
	
	#error_message {
		padding-top:20px;
	}
}
