body {
  font: 14px "Avenir", Arial, sans-serif;
  padding: 0;
  margin: 0;
}

input {
  font: 14px "Avenir", Arial, sans-serif;
}

header {
	height: 30px;
	line-height: 30px;
	background: #353d51;
	color: white;
	margin-bottom: 20px;
	padding: 0 40px;
}
header .right {
	float: right;
	font-size: 10px;
	vertical-align: middle;
}
header a,
header a:hover {
	color: white;
}


header a object {
	height: 25px;
	margin-top: 6px;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

button {
	box-shadow: none;
	border: none;/*1px solid #eee;*/
	border-radius: 4px;
	background: #353d51;
	color: white;
	padding: 3px 20px;
	margin: 0;
	min-width: 50px;
	cursor: pointer;
	text-shadow: 1px 1px 2px black;
	font-size: 10px;
}
/*
button:hover {
}
button:active {
}*/

input {
	padding: 6px 15px;
	border: 1px solid #ccc;
	border-radius: 4px;
	color: #333;
	background: white;
	font-size: 14px;
}

h1, h2, h3, h4 {
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: normal;
	color: #353d51;
	margin-top: 20px;
}

body > .content {
	padding: 0 20px;
}

#message-box {
	position: fixed;
	top: 35px;
	right: 50px;
	width: 200px;
	height: 55px;

	/*border: 3px dashed red;*/
	background: rgba(30,30,40,0.8);
	border-radius: 4px;
	z-index: 20;
	color: white;
	box-shadow: 5px 5px 20px rgba(0,0,0,0.5);
	opacity: 0;
	display: none;
}
#message-box-icon {
	position: absolute;
	left: 10px;
	top: 10px;
	font-size: 25px;
	font-weight: 100;
}
#message-box-text {
	position: absolute;
	right: 5px;
	top: 10px;
	width: 150px;
	font-size: 12px;
	/*border: 2px dotted red;*/
}

@keyframes show-message {
	0% 	{ right: 0px; opacity: 0;}
	100% 		{ right: 50px; opacity: 1; }
}

@-webkit-keyframes show-message {
	from 	{ right: 0px; opacity: 0;}
	to 		{ right: 50px; opacity: 1; }
}

@keyframes hide-message {
	from 	{ right: 50px; opacity: 1; }
	top 	{ right: 0px; opacity: 0; }
}

@-webkit-keyframes hide-message {
	from 	{ right: 50px; opacity: 1; }
	top 	{ right: 0px; opacity: 0; }
}

#progress-box, #waiting-box {
	position: fixed;
	top: -150px;
	left: 50%;
	margin-left: -300px;
	/*top: 0;*/
	width: 600px;
	height: 200px;
	/*padding-bottom: 20px;*/
	background: white;
	z-index: 10;

	/*border: 2px solid red;*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.5);
	display: none;
}
#waiting-box {
	height: 150px;
}

@keyframes show-progress {
	0% 	{ top: -150px; }
	100% 		{ top: 0px; }
}

@-webkit-keyframes show-progress {
	from 	{ top: -150px; }
	to 		{ top: 0px; }
}


@keyframes hide-progress {
	from 	{ top: 0px; }
	top 	{ top: -150px; }
}

@-webkit-keyframes hide-progress {
	from 	{ top: 0px; }
	top 	{ top: -150px; }
}

#progress-box-header, #waiting-box-header {
	background-color: #353d51;
	color: white;
	line-height: 30px;
	padding: 5px 20px;
	height: 20px;
}

#progress-box-title, #waiting-box-title {
	color: white;
}

#progress-box-circle {
	position: absolute;
	top: 50px;
	left: 50%;
	margin-left: -50px;
}

#progress-box-state {
	width: 500px;
	position: absolute;
	left: 50%;
	top: 150px;
	margin-left: -250px;
	text-align: center;
}

#waiting-box-icon {
	font-size: 30px;
	color: #353d51;
	position: absolute;
	left: 50%;
	top: 60px;
	margin-left: -15px;
}
#waiting-box-state {
	width: 500px;
	position: absolute;
	left: 50%;
	top: 100px;
	margin-left: -250px;
	text-align: center;
}

.modal, .full-modal {
	display: none;
}

.modal {
	position: fixed;
	top: -100%;
	left: 50%;
	margin-left: -300px;
	/*top: 0;*/
	width: 600px;
	/*height: 400px;*/
	padding-bottom: 20px;
	background: white;
	z-index: 10;

	/*border: 2px solid red;*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.5);
}

.modal-content {
	overflow: hidden;
	/*border: none;*/
	/*outline: none;*/
	/*border-radius: 30px;*/
	background: none;
}

.modal-header {
	background-color: #353d51;
	color: white;
	line-height: 30px;
	padding: 5px 20px;
}
.modal-title {
	font-size: 16px;
	color: white;
}
.modal-header .close {
	position: absolute;
	font-size: 10px;
	text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
	right: 10px;
	top: 5px;
}

.modal-container {
	background-color: white;
	overflow-y: auto;
	max-height: 450px;
}

.modal-body {
	padding: 10px 10px;
}

.modal-body .form-group {
	padding: 0;
	margin: 0;
	margin-bottom: 10px;
	height: inherit;
	min-height: inherit;
}

.modal-body .help-block{
	font-size: 10px;
	width: 160px;
	text-align: right;
	padding-right: 10px;
}

.modal-body label {
	display: inline-block;
	width: 160px;
	padding-right: 10px;
	margin: 0;
	text-align: right;
	vertical-align: middle;
}
.modal-body input {
	display: inline-block;
	width: 360px;
}

.modal-footer {
	text-align: right;
	padding-bottom: 20px;
}

.full-modal {
	position: fixed;
	top: -100%;
	left: 0;
	width: 100%;
	height: 100%;
	background: white;
	z-index: 10;
}
.full-modal-header {
	width: 100%;
	height: 30px;
	background-color: #353d51;
}
.full-modal-header h4 {
	color: white;
	line-height: 30px;
	vertical-align: middle;
	margin: 0;
	padding-left: 20px;
}
.full-modal-buttons {
	position: absolute;
	right: 20px;
	top: 5px;
	/*border: 3px solid red;*/
}
.full-modal-buttons button {
	background-color: white;
	margin-right: 5px;
	color: #353d51;
	text-shadow: 1px 1px 3px #777;
}

/*-- Login --*/

.login-page {
	height: 100%;
	width: 100%;
	position: fixed;
	background-color: #eee;

	background-image: url('/bg');
	background-size: cover;
}

.login-page object {
	position: fixed;
	left: 40%;
	top: 40%;
	margin-top: -150px;
	margin-left: -100px;
	height: 600px;
	opacity: 0.1;
}

.login-widget {
	position: fixed;
	
	width: 450px;
	height: 200px;

	left: 25%;
	margin-left: -200px;
	top: 50%;
	margin-top: -125px;

	overflow: hidden; 

	background-color: white;
	border-radius: 4px;
	/*border: 1px solid #353d51;*/
	/*border-radius: 4px;*/
	box-shadow: 5px 5px 40px rgba(0,0,0,0.3);

	animation: login-animation 0.5s ease forwards;
	-webkit-animation: login-animation 0.5s ease forwards;
}

@keyframes login-animation {
	from { left: 20%; opacity: 0; }
	to { left: 25%; opacity: 1; }
}

@-webkit-keyframes login-animation {
	from { left: 20%; opacity: 0; }
	to { left: 25%; opacity: 1; }
}

.login-widget .content {
	/*padding: 20px;*/
	height: 160px;
	/*position: relative;*/
}

.login-widget .title {
	background: #353d51;
	height: 40px;
	margin-bottom: 20px;
	color: white;
	line-height: 40px;
	padding-left: 20px;
}
.login-widget .form-group {
	height: 30px;
	margin-bottom: 10px;
	margin-left: 20px;
}

.login-widget .form-group .fa {
	height: 30px;
	width: 40px;
	text-align: center;
	line-height: 30px;
	vertical-align: top;	
	background: #eee;
	color: white;
	border-radius: 4px 0 0 4px;
	border: 1px solid #eee;
}

.login-widget input {
	width: 250px;
	height: 18px;
	font-size: 12px;
	border: 1px solid #eee;
	border-radius: 0 4px 4px 0;
	vertical-align: top;
}

.login-widget button {
	position: absolute;
	right: 20px;
	bottom: 20px;
}
