@background: #666666;
@foreground: #EEEEEE;
@transitionTime: .6s;

@font-face {
	font-family: AvantGarde;
	src: url('AvantGarde World-Book.otf');
	font-weight: normal;
	font-style: normal;
}


* {
	margin: 0;
	padding: 0;
}

html, body {
	height: 100%;
}

body {
	font-family: AvantGarde, sans-serif;
	color: #666666;
	background: rgb(226,226,226); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(226,226,226,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(254,254,254,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(226,226,226,1)), color-stop(50%,rgba(219,219,219,1)), color-stop(51%,rgba(209,209,209,1)), color-stop(100%,rgba(254,254,254,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* IE10+ */
	background: linear-gradient(top,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#fefefe',GradientType=0 ); /* IE6-9 */
	overflow: hidden;
}

form {
	-moz-border-radius: 8px;
	border-radius: 8px;
	background: #f1f1f1;
	width: 400px;
	margin: 2em auto;
	padding: 2em;
	
	h1 {
		margin-bottom: 1em;
		font-size: 1.6em;
	}
	
	input, label {
		display: block;
	}
	
	input[type='text'], input[type='password'], select, option, textarea {
		font-size: 14px;
		background-color: @foreground;
		color: @background;
		margin-bottom: 14px;
		padding: 4px;
		width: 100%;
	}
	
	input[type='submit'], input[type='button'] {
		font-size: 14px;
		.borders;
		border-color: #666666;
		padding: 4px 16px;
		margin-top: 30px;
		margin-right: -12px;
		margin-left: 22px;
		float: right;
		cursor: pointer;
		cursor: hand;
		.animate(background-color border-color color, @transitionTime);
		background-color: @foreground;
		color: @background;
		
	}
	
	input[type='submit']:hover, input[type='button']:hover {
		background-color: @background;
		color: @foreground;
		//border-color: #ffffff;
	}
	
}

form:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.borders {
	border-width: 2px;
    border-style: solid;
    border-color: @foreground;
}

.animate(@prop, @duration) {
	-webkit-transition-property: @prop;
	-webkit-transition-duration: @duration;
	-moz-transition : @prop @duration;
	-o-transition : @prop @duration;
	-ms-transition : @prop @duration;
}

#header {
	padding: 1em;
	text-align: right;
	color: @background;
	
	a {
		color: @background;
		text-decoration: none;
	}
	
	a:hover {
		color: #000000;
	}
}

iframe {
	width: 100%;
	height: 100%;
}
