html {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	background: #34c4e2;
}

header, main {
	width: 100%;
	margin: 0 auto 0.5em auto;
}

header a {
	display: block;
	max-width: 100%;
	margin: 0 auto;
}

footer {
	width: 80%;
	margin: 0 auto 0.5em auto;
}

.formBox {
	width: 85%;
	margin: 0 auto 1em auto;
	padding: 1em 0 0 0;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	background: rgb(222,239,255); /* Old browsers */
	background: -moz-linear-gradient(45deg,  rgba(222,239,255,1) 0%, rgba(152,190,222,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,rgba(222,239,255,1)), color-stop(100%,rgba(152,190,222,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(45deg,  rgba(222,239,255,1) 0%,rgba(152,190,222,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(45deg,  rgba(222,239,255,1) 0%,rgba(152,190,222,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(45deg,  rgba(222,239,255,1) 0%,rgba(152,190,222,1) 100%); /* IE10+ */
	background: linear-gradient(45deg,  rgba(222,239,255,1) 0%,rgba(152,190,222,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#deefff', endColorstr='#98bede',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	-webkit-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.5);
	box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.5);
	border: 1px solid #000;
}

.errorBlock {
	display: block;
	width: 100%;
	margin: 0.2em auto 0.7em -7px;
	padding: 0.5em;
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
	background: #f00;
	color: #fff;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	-webkit-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.5);
	box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.5);
	border: 1px solid #000;
}

.errorBlock a {
	color: #fff;
}

.logBlock {
	float: right;
	font-size: 1.3em;
	margin: 0 auto 1em auto;
	padding: 1em;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	background: rgb(222,239,255); /* Old browsers */
	background: -moz-linear-gradient(45deg,  rgba(222,239,255,1) 0%, rgba(152,190,222,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,rgba(222,239,255,1)), color-stop(100%,rgba(152,190,222,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(45deg,  rgba(222,239,255,1) 0%,rgba(152,190,222,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(45deg,  rgba(222,239,255,1) 0%,rgba(152,190,222,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(45deg,  rgba(222,239,255,1) 0%,rgba(152,190,222,1) 100%); /* IE10+ */
	background: linear-gradient(45deg,  rgba(222,239,255,1) 0%,rgba(152,190,222,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#deefff', endColorstr='#98bede',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	-webkit-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.5);
	box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.5);
	border: 1px solid #000;
}

.logBlock a {
	color: #03f;
	text-decoration: none;
}

#loginForm, #fileSubmitForm {
	width: 80%;
	margin: 0 auto;
}

#loginForm:after, #fileSubmitForm:after, .clear, .fileItem:after {
	display: block;
	content: '';
	clear: both;
}

fieldset {
	border: 1px solid #000;
	padding: 1em 2em;
	margin-bottom: 1em;
}

legend {
	margin-left: -1.2em;
}

label {
	font-size: 1.3em;
}

input, select {
	font-size: 1.4em;
	width: 100%;
	margin: 0.2em 0 0.7em -0.4em;
	padding:5px;
	border:2px solid #ccc; 
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	-webkit-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.5);
	box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.5);
}

input:focus, select:focus {
	border-color:#333;
}

input:invalid {
	border-color:#f00;
}

input:valid {
	border-color:#6f9;
}

input[type=submit], .btn-primary {
	-moz-box-shadow:inset 0px 1px 50px 1px #bee2f9;
	-webkit-box-shadow:inset 0px 1px 50px 1px #bee2f9;
	box-shadow:inset 0px 1px 50px 1px #bee2f9;
	background: rgb(99,184,238); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(99,184,238,1) 0%, rgba(70,140,207,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(99,184,238,1)), color-stop(100%,rgba(70,140,207,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(99,184,238,1) 0%,rgba(70,140,207,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(99,184,238,1) 0%,rgba(70,140,207,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(99,184,238,1) 0%,rgba(70,140,207,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(99,184,238,1) 0%,rgba(70,140,207,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#63b8ee', endColorstr='#468ccf',GradientType=0 ); /* IE6-9 */
	-webkit-border-radius:15px;
	-moz-border-radius:15px;
	border-radius:15px;
	border:1px solid #3866a3;
	display:inline-block;
	color:#14396a;
	font-weight:bold;
	padding: 7px 14px;
	text-align:center;
	text-shadow:4px 4px 10px #7cacde;
	cursor:pointer;
	-webkit-box-shadow: 3px 3px 2px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow: 3px 3px 2px 0px rgba(50, 50, 50, 0.5);
	box-shadow: 3px 3px 2px 0px rgba(50, 50, 50, 0.5);
	width: auto;
	float: right;
}

input[type=submit]:hover , input[type=submit]:focus, .btn-primary:hover, .btn-primary:focus {
	background: rgb(70,140,207); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(70,140,207,1) 0%, rgba(99,184,238,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(70,140,207,1)), color-stop(100%,rgba(99,184,238,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(70,140,207,1) 0%,rgba(99,184,238,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(70,140,207,1) 0%,rgba(99,184,238,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(70,140,207,1) 0%,rgba(99,184,238,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(70,140,207,1) 0%,rgba(99,184,238,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#468ccf', endColorstr='#63b8ee',GradientType=0 ); /* IE6-9 */
}

input[type=submit]:active, .btn-primary:active {
	position:relative;
	top:1px;
}

select {
	max-width: 100%;
}

textarea {
	border:2px solid #6f9;
    width:100%;
    margin:5px 0;
    padding:3px;
	font-size: 1.3em;
}

textarea:disabled {
	border: 2px solid #666;
	background: #CCC;
	color: #000;
	font-weight: bold;
}

p {
	font-size: 1.3em;
}

.fileItem {
	padding: 1em;
	margin-top: 1em;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	background: rgb(222,239,255); /* Old browsers */
	background: -moz-linear-gradient(45deg,  rgba(222,239,255,1) 0%, rgba(152,190,222,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,rgba(222,239,255,1)), color-stop(100%,rgba(152,190,222,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(45deg,  rgba(222,239,255,1) 0%,rgba(152,190,222,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(45deg,  rgba(222,239,255,1) 0%,rgba(152,190,222,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(45deg,  rgba(222,239,255,1) 0%,rgba(152,190,222,1) 100%); /* IE10+ */
	background: linear-gradient(45deg,  rgba(222,239,255,1) 0%,rgba(152,190,222,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#deefff', endColorstr='#98bede',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	-webkit-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.5);
	box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.5);
	border: 1px solid #000;
}

.fileName{
	display: block;
	float:left;
	max-width: 80%;
}
.fileSize{
	display: block;
	font-size: 1em;
	color: #333;
	float:right;
}

.project {
	display: block;
	float:left;
	max-width: 100%;
}

.hidden {
	display: none;
}

.fileItem progress {
	margin-top: 0.5em;
	width: 100%;
}

.speed, .remaining {
	float: left;
	margin-right: 1em;
}

.b_transfered {
	float: right;
}

#uploadFile {
	width: 78%;
	font-size: 1.5em;
	position: relative;
	top: -0.2em;
	height: 1.5em;
	margin: 0;
}

.btn-primary {
	width: auto;
	float: right;
}

.fileUpload {
	position: relative;
	overflow: hidden;
	font-size: 1.5em;
	padding: 0.5em 1em;
}
.fileUpload input.upload {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	padding: 0;
	cursor: pointer;
	opacity: 0;
	filter: alpha(opacity=0);
}

.anchorBtn {
	text-decoration: none;
	color: #000;
	padding: 1em;
}

@media screen and (min-width: 100px) {
	#uploadFile {
		display: none;
	}
}

@media screen and (min-width: 353px) {
	#login {
		width: 300px;
	}
	
	#fileSubmit {
		width: 90%;
	}
}

@media screen and (min-width: 430px) {
	#uploadFile {
		width: 45%;
		display: inline;
	}
}

@media screen and (min-width: 600px) {
	#uploadFile {
		width: 60%;
	}
}

@media screen and (min-width: 640px) {
	.formBox {
		width: 544px;
	}
}

@media screen and (min-width: 844px) {
	#uploadFile {
		width: 78%;
	}
}

@media screen and (min-width: 937px) {
	header, main, footer {
		width: 937px;
	}
}

@media screen and (max-width: 640px) {
	html {
		font-size: 14px;
	}
}