body {
	font-family: 'Roboto', sans-serif !important;
	margin: 0;
	line-height: auto !important;
}

table { 
	border-spacing: 0px;
	border-collapse: separate;
	width: 100%;
}

tr {
	vertical-align: top;
}

td,th { 
	padding: 0px;
}

th {
	font-weight: normal;
	color: rgba(0,0,0,0.5);
}

a[href],
a[ng\:click] {
	text-decoration: underline;
	cursor: pointer;
	color: #333;
}

a[href]:hover,
a[ng\:click]:hover {
	text-decoration: underline;
}

hr {
	border: 0;
	border-top: 1px solid rgba(0,0,0,0.05);
	margin: 0;
	margin-bottom: 20px;
}

hr.strong {
	border-top: 3px solid rgba(0,0,0,0.2);
}

a.clean {
	text-decoration: none !important;
}

.inner {
	padding-left: 30px;
	padding-right: 30px;
	margin: 0 auto;
}

.disabled {
	opacity: 0.4 !important;
	pointer-events: none;
}

.capitalize {
	text-transform: capitalize;
}

button {
	padding: 7px 20px;
	margin: 0;
	background-color: #03A9F4;
	border: none;
	border-radius: 4px;
	color: white;
	text-shadow: -1px -1px 0px rgba(0,0,0,0.1);
	cursor: pointer;
	opacity: 0.9;
	outline: none !important;
	position: relative;
	overflow: hidden;

	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.1+100 */
	xbackground-image: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 100%); /* FF3.6-15 */
	xbackground-image: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.1) 100%); /* Chrome10-25,Safari5.1-6 */
	xbackground-image: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	xfilter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#1a000000',GradientType=0 ); /* IE6-9 */
}

button:hover {
	opacity: 1;
}

button.disabled {
	pointer-events: none;
	background-color: #CFD8DC;
	opacity: 1 !important;
	text-shadow: none;
	color: white;
}

button.secondary,
button.cancel {
	xbackground-color: rgb(122, 155, 184);
	background: transparent;
	border: 1px solid #03A9F4;
	text-shadow: none;
	color: #03A9F4;
}

button.small {
	padding: 4px 10px 4px 10px;
	font-size: 12px;
}

.spinner {
	display: none;
}

.loading-target:after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.3);
	
	opacity: 0;
	pointer-events: none;
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

.loading.loading-target:after,
.loading .loading-target:after {
	opacity: 1;
	pointer-events: auto;
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

.spinner {
	display: inline-block;
	vertical-align: middle;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);

	opacity: 0;
	pointer-events: none;
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

.loading.spinner,
.loading .spinner {
	opacity: 1;
	pointer-events: none;
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

.spinner:before {
	width: 12px;
	height: 12px;
}

h1,h2,h3,h4 {
	margin: 0;
	margin-bottom: 0.4em;
	font-weight: 300;
}

h4 {
	color: rgba(0,0,0,0.7);
	font-weight: 500;
}

code {
	background: rgba(0,0,0,0.04) !important;
}

textarea[readonly],
input[readonly] {
	background: rgba(0,0,0,0.04);
}

input[readonly] {
	cursor: text;
}

.code {
	font-size: 12px;
	font-family: monospace;
}

.inner > h1 {
	margin-top: 1em;
}

#header {
	background: white;
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	height: 50px;
	position: relative; /* force taking part in z-index game (for box-shadow) */
	z-index: 1;
}

#header a {
	text-decoration: none;
}

#header h1
{
	font-weight: 500;
	font-size: 21px;
	margin-top: 10px;
	float: left;
}

#header h1 a {
	text-decoration: none;
	color: #333;
}

#header ul#topmenu {
	list-style: none;
	padding: 0;
	float: right;
	margin-top: 16px;
	font-size: 12px;
	color: #aaa;
}

#header ul#topmenu li {
	display: inline-block;
	margin: 0px 8px;
	position: relative;
}

#header ul#topmenu a {
	color: #777;
}

/* disable inactive links */
#header ul#topmenu a:not([href]) {
	text-decoration: none;
	cursor: default;
}

#header ul#topmenu a[href]:hover {
	text-decoration: underline;
}

#main {
	min-height: 30em;
	margin-top: 30px;
}

#footer {
	padding: 20px 0px 100px 0px;
	background: #333;
	color: white;
}

label {
	vertical-align: top;
    line-height: 28px;	
	font-size: 14px;
	width: 8em;
	display: inline-block;
	 /* collides with bootstrap */
}

.fullwidth {
	width: 100% !important;
}

.autowidth {
	width: auto !important;
}

select,
textarea,
code,
input[type=text],
input[type=number],
input[type=url],
input[type=date],
input[type=datetime-local],
input[type=email],
input[type=password] {
	padding: 5px;
	margin: 0;
	margin-bottom: 8px;
	width: 20em;
	border: 1px solid rgba(0,0,0,0.2);
}

form .withnotes {
	margin-bottom: 0;
}

form .notes {
	margin-bottom: 15px;
	display: inline-block;
}

textarea {
	font-family: inherit;
}

select {
	padding-left: 1px;
	padding-top: 4px;
	padding-bottom: 4px;
}

form .error {
	color: brown;
	border-bottom: 1px solid rgba(165, 42, 42, 0.21);
	margin-bottom: 25px;
	padding-bottom: 5px;
}

form .error a {
	color: brown;
	text-decoration: underline;
}

form .action {
	font-size: 13px;
	text-decoration: underline;
}

form.singleline input {
	padding: 7px 10px;
	font-size: 16px;
}

form.singleline button,
form.singleline input {
	height: 34px;
	vertical-align: top;
}

.app {
	font-size: 12px;
	xpadding: 9px 15px;
	display: inline-block;
	vertical-align: top;
	margin-right: 30px;
	margin-bottom: 30px;
	width: 300px;
}

.app-details {
	min-height: 7em;
}

.app h3 {
	margin: 0;
	margin-bottom: 7px;
	xfont-weight: normal;
	font-size: 17px;
}

.app .info {
	color: rgba(0,0,0,0.4);
}

.app .separator {
	color: black;
	color: rgba(0,0,0,0.8);
	font-weight: bold;	
	xfont-size: 120%;
	margin: 0px 6px;
	letter-spacing: -2;
}

.app .actions {
	margin-top: 16px;
}

/****/

table.list {
	xmargin-top: 20px;
	table-layout: fixed;
}

table.list th {
	text-align: left;
	font-size: 13px;
	width: 100%;
	color: #555;
	padding-top: 12px !important;
	padding-bottom: 9px !important;
	text-transform: uppercase;
	font-weight: bold;
	border: none !important;
	background: #eee;
	text-shadow: 1px 1px rgba(255,255,255,0.5);
}

table.list tr:nth-child(odd) td {
	xbackground: #fafafa;
}

table.list tr:nth-child(even) td {
	xbackground: #f5f5f5;
}

table.list th,
table.list td {
	padding: 8px 10px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

table.list,
table.list th,
table.list td {
	border: 1px solid rgba(0,0,0,0.1);
}

table.list th,
table.list td {
	border-right: none;
	border-bottom: none;
}

table.list {
	border-top: none;
	border-left: none;
}

table.list td.index {
	text-overflow: initial;
	overflow: initial;
}

table.list td {
	font-size: 13px;
	vertical-align: middle;
}

table.list tr:hover td:not([rowspan]) {
	background: rgba(225, 245, 254, 0.5);
}

table.list .action {
	cursor: pointer;
	opacity: 0.8;
}

table.list .action {
	cursor: pointer;
}

table.list .action:not(:hover) {
	color: rgba(0,0,0,0.6) !important;
}

/************/

.red {
	color: red;
}

/************/

#ngProgress {
	margin: 0;
	padding: 0;
	z-index: 9998;
	background-color: rgb(56, 122, 182) !important;
	color: green !important;
	box-shadow: 0 0 10px 0; /* Inherits the font color */
	height: 1px !important;
	opacity: 0;

	/* Add CSS3 styles for transition smoothing */
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

#ngProgress-container {
	position: absolute;
	margin: 0;
	padding: 0;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9998;
}

/************/

.pretty-scroll::-webkit-scrollbar{
	-webkit-appearance: none;
	width: 6px;
	height: 12px;
}

.pretty-scroll::-webkit-scrollbar-track-piece
{
	background-color: rgba(0,0,0,0.04);
	opacity: 0;
	width: 6px;
	transition: opacity 1s;
}

.pretty-scroll:hover::-webkit-scrollbar-track-piece
{
	background-color: rgba(0,0,0,0.06);
	opacity: 1;
	transition: opacity 1s;
}

.pretty-scroll::-webkit-scrollbar-thumb{
	border-radius: 2px;
	background-color: rgba(0,0,0,0);
}

.pretty-scroll:hover::-webkit-scrollbar-thumb{
	background-color: rgba(0,0,0,0.1);
}

.pretty-scroll::-webkit-scrollbar-thumb:hover{
	background-color: rgba(0,0,0,0.5);
}

/*---------------------------------------------*/

.spinner:before {
	content: '';
	display: inline-block;
	font-size: 32px; /* [3] */
	border-bottom: 1px solid; /* [4] */
	vertical-align: middle;
	overflow: hidden;  /* [5] */
	text-indent: 100%; /* [5] */
	-webkit-animation: 0.4s spinner linear infinite;
	   -moz-animation: 0.4s spinner linear infinite;
			  animation: 0.4s spinner linear infinite;

}

.spinner:before,
.spinner:after {
	border-radius: 100%;
}

.spinner:after {
	content: "";
	position: absolute;
	top:	0;
	right:  0;
	bottom: 0;
	left:   0;
	border: 1px solid; /* [1] */
	opacity: 0.5; /* [2] */
}

@-webkit-keyframes spinner {
	to {
		-webkit-transform: rotate(360deg);
	}
}

@-moz-keyframes spinner {
	to {
		-moz-transform: rotate(360deg);
	}
}

@keyframes spinner {
	to {
		transform: rotate(360deg);
	}
}

/*---------------------------------------------*/

.fa:before {
	display:inline-block;
	font:normal normal normal 14px/1 FontAwesome;
	font-size:inherit;
	margin-right: 0.6em;
}

.fa.fa-lean:before {
	margin: 0;
}

button.small .fa:before {
	margin-right: 0.3em;
}

/*---------------------------------------------*/

a.invoice {
	display: none;
}
a.invoice[href] {
	display: block;
}

.invoice i.material-icons {
	opacity: 0.4;
	font-size: 20px;
}
.invoice i.material-icons:hover {
	opacity: 0.8;
}