@import url(http://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,latin-ext);

body {
	font-family: "Roboto",Arial,Helvetica,sans-serif;
	font-size: 14px;
	margin: 0;
	padding: 0;
	background-color: #f0f0f0;
	color: #555555;
}

h1 {
	color: #3774B5;
	padding: 0;
	margin: 10px 0;
	font-size: 1.6em;
	text-align: center;
}

a:link, a:visited {
	color: #4784C5;
}

.file {
	padding: 5px;
	margin: 5px auto;
	border: 1px solid #aaa;
	box-shadow: 0 0 2px rgba(0,0,0,0.2);
	background-color: #f5f5f5;
	width: 75%;
}

.file.filestotal {
	border: 0 none;
	box-shadow: none;
	background-color: transparent;
	margin: 5px 0;
	width: auto;
}

.file .filename {
	font-weight: bold;
}
.file .filesize, .file .speed {
	float: right;
}

.file .preview {
	float: left;
	max-height: 70px;
	overflow: hidden;
	max-width: 95px;
	text-align: center;
}

.file .preview img {
	max-width: 100%;
	max-height: 100%;
}

.file.with-preview .filecont {
	margin-left: 100px;
}

.file .error {
	color: #AA0000;
}

.file .success {
	color: #008800;
}

.file a.remove {
	float: right;
	color: #AA0000;
}

progress {
	width:100%;
}

.progress {
	-moz-box-sizing: border-box;
	-moz-user-select: none;
	box-sizing: border-box;
	user-select: none;
	background: none repeat scroll 0 0 #DDDDDD;
	border: 1px solid #AAAAAA;
	border-radius: 2px;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2) inset;
	height: 18px;
	position: relative;
	margin: 2px 0;
	
}

.progress .progress-bar {
	background: #a4cafc;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2E0Y2FmYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM1OTkwY2IiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top, #a4cafc 0%, #5990cb 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a4cafc), color-stop(100%,#5990cb));
	background: -webkit-linear-gradient(top, #a4cafc 0%,#5990cb 100%);
	background: -o-linear-gradient(top, #a4cafc 0%,#5990cb 100%);
	background: -ms-linear-gradient(top, #a4cafc 0%,#5990cb 100%);
	background: linear-gradient(to bottom, #a4cafc 0%,#5990cb 100%);

	height: 100%;
	width: 0%;
	box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.3) inset;
	transition: width 100ms ease;
}

.progress .progress-text {
	color: #222222;
	font-size: 10px;
	font-weight: bold;
	line-height: 16px;
	position: absolute;
	text-align: center;
	text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.4);
	width: 100%;
	height: 100%;
}

#utotal {
	background-color: #F5F5F5;
	border: 1px solid #AAAAAA;
	margin: 5px 0;
	padding: 5px;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.browse {
	font-size: 50px;
	left: 0;
	top:0;
	opacity: 0;
	position: absolute;
}

.wrapper {
	margin: 10px auto;
	max-width: 990px;
	padding: 0 5px
}

#dropzone {
	background: #eee;
	border: 1px solid #aaa;
	min-height: 100px;
	padding: 5px;
}

#dropzone.dragover {
	background-color: #EEFFEE;
	box-shadow: 0 0 5px rgba(0, 100, 0, 0.5) inset;
}

.header {
	background: none repeat scroll 0 0 #FFFFFF;
	border-bottom: 2px solid #AAAAAA;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
	height: 50px;
	width: 100%;
}

.hcont {
	margin: 0 auto;
	padding: 5px;
	max-width: 990px;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	height:100%;
}

.hcont .logo {
	height: 100%;
	float:left;
}
.hcont .nav {
	float: right;
	margin: 5px 0;
}

.hcont .nav ul {
	padding: 0;
	margin: 0;
}

.hcont .nav li {
	list-style: none;
	display: inline-block;
}

.hcont .nav div.menu {
	display: none;
	text-align: right;
}

.hcont .nav div.menu i {
	padding: 0px 20px;
	display: inline-block;
	cursor: default;
	font-size: 150%;
}

.hcont .nav a {
	border-left: 1px solid #BBBBBB;
	border-right: 1px solid #BBBBBB;
	display: inline-block;
	font-size: 15px;
	height: 100%;
	margin-left: -1px;
	padding: 5px 20px;
	color: #555;
	text-decoration: none;
}

.hcont .nav .active a {
	color: #3774B5;
}

@media screen and (max-width: 600px) {
	.hcont .nav {
		position: relative;
		float: right;
		width: 180px;
		height: 30px;
		z-index: 20;
	}
	.hcont .nav div.menu {
		display: block;
	}
	.hcont .nav ul {
		display:none;
		width: 100%;
		position: absolute;
		border: solid 1px #aaa;
		border-radius: 5px;
		box-shadow: 0 1px 2px rgba(0,0,0,.3);
		background-color: #fff;
	}
	.hcont .nav li {
		display: block;
		margin: 0;
	}
	
	.hcont .nav a {
		display: block;
		text-align: left;
		border: 0 none;
	}
	.hcont .nav .active a {
	}

	/* on nav hover */
	.hcont .nav:hover {
		background-image: none;
	}
	.hcont .nav:hover ul {
		display: block;
	}	
}

#loginbox {
	margin: 20px auto;
}

#login_content {
	margin: 0 auto;
	max-width: 300px;
	text-align: center;
	width: 100%;
	position:relative;
	background: #ddd;
	border: 1px solid #ccc;
	border-radius: 5px;
}

#login_content div {
	padding: 5px 0;
	margin: 0 5px;
}

#login_content div.nickgroup {
	background-color: rgba(0, 0, 0, 0.15);
	border-radius: 5px;
}

.wrapper .logo {
	display: block; 
	width: 100%; 
	max-width: 220px; 
	margin: 20px auto;
}

#loginbox .inp {
    	border: 1px solid #bbb;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) inset;
	color: #555555;
	font-size: 150%;
	max-width: 180px;
	padding: 3px;
	text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
	width: 100%;
}

#loginbox .nslink {
    	float: right;
}

#loginbox .inp:focus {
  border-color: #0099DD;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) inset, 0 0 4px rgba(0, 128, 255, 0.3);
  outline: none;
}

#loginbox label {
  display: block;
  font-size: 10px;
  margin: 0 auto;
  max-width: 180px;
  text-align: left;
  font-weight: normal;
  text-transform: uppercase;
  width: 100%;
}

#login_button {
     background: #008000;
     background: -moz-linear-gradient(top , #00B000 0%, #008000 95%) repeat scroll 0px 0px transparent;
     background: -webkit-linear-gradient(top , #00B000 0%, #008000 95%) repeat scroll 0px 0px transparent;
     background: -o-linear-gradient(top , #00B000 0%, #008000 95%) repeat scroll 0px 0px transparent;
     background: -ms-linear-gradient(top , #00B000 0%, #008000 95%) repeat scroll 0px 0px transparent;
     background: linear-gradient(top , #00B000 0%, #008000 95%) repeat scroll 0px 0px transparent;
     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00B000', endColorstr='#008000',GradientType=0);
     border: 1px solid #888888;
     box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2) inset;
     border-radius: 5px;
     color: #eee;
     font-size: 18px;
     font-weight: normal;
     margin: 10px;
     padding: 6px 20px;
     text-shadow: 0 0 0px rgba(255, 255, 255, 0.5);
     text-transform: uppercase;
     
}

#login_button:hover {
     
     box-shadow: 0 3px 5px 0px rgba(0, 0, 0, 0.2) inset;
     
}

#login_button:active {
	/*background: none repeat scroll 0% 0% #005000;
	box-shadow: 0px 0px 3px #111111 inset;*/
	box-shadow: 0 0 1px 20px rgba(0, 0, 0, 0.05) inset, 0 3px 5px 0 rgba(0, 0, 0, 0.6) inset;
	color: #ddd;
	transition: all 200ms ease 0s;
}

#loginbox .error {
	background-color: #E5E5E5;
	border: 1px dotted #FF0000;
	color: #FF0000;
	margin: 5px;
}

button, span.button, .field .button {
	white-space: nowrap;
	display: inline-block;
	cursor: pointer;
	color: #555555;
	font-size: 12px;
	vertical-align: middle;
	border: 1px solid #aaaaaa;
	padding: 3px 6px;
	font-family: Arial,sans-serif;
	text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
	background: #eeeeee;
	background: -moz-linear-gradient(top, #eeeeee 0%, #dddddd 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#dddddd));
	background: -webkit-linear-gradient(top, #eeeeee 0%,#dddddd 100%);
	background: -o-linear-gradient(top, #eeeeee 0%,#dddddd 100%);
	background: -ms-linear-gradient(top, #eeeeee 0%,#dddddd 100%);
	background: linear-gradient(to bottom, #eeeeee 0%,#dddddd 100%);
	font-weight: bold;
	margin-right: -1px; 
	box-shadow: 0 1px 0 #F5F5F5 inset;
}

button:first-child, span.button:first-child {
	border-radius: 4px 0 0 4px;
}

button:last-child, span.button:last-child {
	border-radius: 0 4px 4px 0;
}

button:active, span.button:active, .field .button:active {
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset;
}

.btn_green, span.button.btn_green {
	background-color: #44AA44;
	border-color: #449944;
}

.btn_orange, span.button.btn_orange {
	background-color: #DDAA44;
	border-color: #CC9944;
}

.btn_red, span.button.btn_red {
	background-color: #BB4444;
	border-color: #994444;
}

button[disabled=disabled], button:disabled {
	background: none repeat scroll 0 0 #eeeeee;
	color: #999999;
	cursor: default;
}

button[disabled=disabled]:active, button:disabled:active {
	box-shadow: none;
}

button::-moz-focus-inner,
    input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.button_browse {
	position: relative;
	overflow: hidden;
}
#fileinp {
	cursor:pointer;
}

.lister_table_wr {
	overflow: auto;
}

.lister_table {
	width: 100%;
	border-collapse: collapse;
	
}

.lister_table tr td, .lister_table tr th {
	border-bottom: 1px solid #aaa;
	padding: 5px 10px;
}

.lister_table tr th a {
	color: #333;
	text-decoration: none;
}

.lister_table tr.odd td {
	background-color:#fff;
}

.lister_table tr.even td {
	background-color:#f5f5f5;
}

.lister_table tr:hover td {
	background-color:#DDF5FF;
}

.lister_pager {
	margin: 5px;
	text-align: center;
}

.lister_pager a, .lister_pager span {
  background-color: #FFFFFF;
  border: 1px solid #AAAAAA;
  border-radius: 3px;
  display: inline-block;
  margin: 0 2px;
  padding: 0 5px;
  text-decoration: none;
}

.lister_pager span {
	border-color: transparent;
	background-color: transparent;
	font-weight: bold;
}

.align_right {
	text-align: right;
}

.align_center {
	text-align: center;
}

form.form {
	background-color: #e8e8e8;
	border: 1px solid #aaaaaa;
	padding: 10px;
}

.field {
	padding:2px;
}

.field label {
	font-weight: bold;
	display: inline-block;
	width: 150px;
	text-align: left;
	margin-right: 5px;
}

.field.error, .field .error {
	color: #a00;
}


.field .input {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
    	border: 1px solid #bbb;
	border-radius: 2px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) inset;
	color: #555555;
	max-width: 100%;
	padding: 5px;
	text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
}


.field .input:focus {
  border-color: #0099DD;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) inset, 0 0 4px rgba(0, 128, 255, 0.3);
  outline: none;
}

.field .input.error, .field .input.error:focus {
  border-color: #CC0000;
  color: #555555;
}

.field .input.error:focus {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) inset, 0 0 4px rgba(225, 0, 0, 0.3);
}

.field .form-value {
	display: inline-block;
	padding: 5px;
}

.field .button {
	font-size:15px;
	border-radius: 2px;
	padding: 5px 10px;
}

.formbuttons {
	margin-top: 10px;
}

.c {
	text-align:center;
}

/*error tooltip*/

.errortooltip {
    position: absolute;
    top: -1000px;
    background: #fff;
    padding: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    border: 2px solid #f00;
    color: #AA0000;
}
.errortooltip .arrow {
	height: 0;
	margin: 0px auto;
	position: relative;
	width: 20px;
}

.errortooltip .arrow div {
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid #f00;
	height: 0;
	position: absolute;
	top: 7px;
	width: 0;
}

.errortooltip .arrow div + div {
	top: 5px;
	border-top: 10px solid #FFFFFF;
}



.errortooltip2 {
	position: absolute;
	top: -1000px;
	padding: 5px;
	background: #FFFFFF;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border: #FF0000 solid 2px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.3);
	color: #AA0000;
}

.errortooltip2:after {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 5px 5px 0;
	border-color: #FFFFFF transparent;
	display: block;
	width: 0;
	z-index: 1;
	bottom: -5px;
	left: 5px;
}

.errortooltip2:before {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 6px 6px 0;
	border-color: #FF0000 transparent;
	display: block;
	width: 0;
	z-index: 0;
	bottom: -8px;
	left: 4px;
}

