:root {
	 --color-red: #fb4846;
	 --color-blue: #2680eb;
	 --color-green: #29c231;
	 --color-yellow: #fcb039;
}

body {
	display: flex;
	background: url('../img/bg-222.svg') repeat-y #fff;
	background-size: 220px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin: 0;
}

body * {
	box-sizing: border-box;
}

img,
video,
audio {
	max-width: 100%;
}

body,
input,
textarea {
	font: 1em/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

hr {
	border: 1px solid #ccc;
	border-width: 0 0 1px 0;
}

.print-logo {
	display: none;
}

.mobile-header,
.main-nav .close {
	display: none;
}

.main-nav {
	background: #222;
	color: #eee;
	overflow: hidden;
	padding-bottom: 1px;
	text-align: left;
	flex: 0 0 auto;
	width: 220px;
}

.main-nav h3 {
	color: #555;
	font-size: 1em;
	font-weight: 300;
	letter-spacing: 2px;
	margin: 0;
	padding: 0.5em 1em;
	text-transform: uppercase;
}

.main-nav h3 {
	position: relative;
}

.main-nav h3 a {
	border-radius: 50px;
	font-size: 19px;
	position: absolute;
	padding: 0 0 0 2px;
	right: 1em;
	text-align: center;
	top: 3px;
	vertical-align: middle;
	width: 33px;
	height: 33px;
}

.main-nav a {
	color: #ccc;
	display: block;
	padding: 0.5em 1em;
	text-decoration: none;
}

.main-nav a:hover,
.dashboard .main-nav .dashboard a,
.jobs .main-nav .jobs > a,
.media .main-nav .media a,
.customers .main-nav .customers a,
.parts .main-nav .inventory a,
.resistor-values .main-nav .resistor-values a,
.bias-calculator .main-nav .bias-calculator a,
.categories .main-nav .categories a,
.settings .main-nav .settings a,
.users .main-nav .users a,
.login .main-nav .login a,
.register .main-nav .register a,
.reset .main-nav .reset a, 
.pages.current a {
	background: #333;
	color: #fff;
}

.main-nav li > a:hover {
	outline: 1px solid #666;
	outline-width: 1px 0;
}

.main-nav h3 > a:hover {
	border: 1px solid #666;
	top: 2px;
}

.main-nav .articles ul {
	display: none;
}

.categories .main-nav .articles, 
.tags .main-nav .articles {
	border-top: 1px solid #333;
	margin-top: -1px;
}

.articles .main-nav .articles ul, 
.categories .main-nav .articles ul, 
.tags .main-nav .articles ul {
	border-bottom: 1px solid #333;
	display: block;
}

.articles .main-nav .articles a, 
.categories .main-nav .articles a, 
.tags .main-nav .articles a {
	border-left: 10px solid #333;
	padding-left: 6px;
}

.articles .main-nav .articles ul a, 
.categories .main-nav .articles ul a, 
.tags .main-nav .articles ul a {
	padding-left: 20px;
}

.main-nav .logo {
	border-bottom: 1px solid #333;
	text-align: center;
}

.main-nav .logo img {
	margin: 20px;
	max-width: 100px;
	filter: invert(100%);
}

.main-nav .profile {
	border-top: 1px solid #333;
	background: #222;
	display: flex;
	bottom: 0;
	margin-top: 0.5em;
	padding: 1.5em 1em;
	position: fixed;
	width: 220px;
}

.main-nav .profile a {
	padding: 0;
}

.main-nav .profile a:hover {
	background: inherit;
	outline: none;
}

.select-menu {
	background: #fff url('../img/select-arrows.svg') top 4px right no-repeat;
	border: 1px solid #ccc;
	border-radius: 3px;
	display: inline-block;
	margin: -0.5em 0 0 0.5em;
	padding: 0.5em;
	position: absolute;
	width: 10em;
}

.select-menu ul {
	display: none;
}

.select-menu li:hover ul {
	border-top: 1px solid #eee;
	display: block;
	margin-top: 0.5em;
	padding-top: 0.5em;
}

.select-menu ul li + li {
	margin-top: 0.5em;
}

.avatar {
	border: 2px solid #fff;
	border-radius: 40px;
	margin-right: 1em;
	width: 50px;
}

.main {
	flex: 1 1 auto;
	padding: 0 20px;
	position: relative;
}

.main > footer {
	color: #666;
	font-size: smaller;
	padding: 20px;
	text-align: center;
}

.search {
	background: #efefef;
	display: flex;
	margin: 0 -20px;
	padding: 1em;
}

.search-suggest.active {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 0 0 5px 5px;
	box-shadow: 0 10px 10px rgba(0,0,0,0.15);
	margin-top: -20px;
	padding: 1em;
	position: absolute;
	width: 100%;
}

.search-suggest h4 {
	margin: 0;
} 

.search-suggest-parent {
	position: relative;
}

section > footer {
	text-align: center;
}

.pagination {
	line-height: 3em;
	text-align: center;
}

.pagination span,
.pagination a {
	padding: 0.25em;
}

.pagination .deact,
.pagination a {
	border: 1px solid #eee;
	border-radius: 2px;
}

.pagination .deact {
	color: #999;
}

.pagination a {
	background: #ddd;
	border-color: #ddd;
	text-decoration: none;
}

.pagination a:hover {
	background: #fff;
}


.media-container {
	height: 0;
	overflow: hidden;
	padding-bottom: 50%;
	padding-top: 30px;
	position: relative;
}

.media-container iframe,
.media-container object,
.media-container embed {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.media form figure img, 
.media .grid figure img {
	background: #ccc;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0;
}

dd + dt {
	margin-top: 1em;
}

dd ul {
	margin: 0;
}

nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

nav.tabs {
    border-bottom: 1px solid #ddd;
	margin: 40px 0;
    padding: 0 10px;
}

nav.tabs li {
    display: inline-block;
}

nav.tabs a {
    background: #efefef;
    border: 1px solid #ddd;
    border-radius: 3px 3px 0 0;
    margin-bottom: -1px;
    display: inline-block;
    padding: 0.5em 1em;
    text-decoration: none;
}

nav.tabs a.active {
	background: #fff;
	border-bottom: 1px solid #fff;
}

nav.tabs + form {
    margin-top: 2em;;
}

fieldset {
	border: 0;
	padding: 0;
}

fieldset + fieldset {
	margin-top: 2em;
}

legend {
	display: block;
	font-size: 1.5em;
	overflow: visible;
	padding: 0;
	width: 100%;
}

legend + p {
	color: #999;
	margin-top: 0;
}

fieldset ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

fieldset ul + ul {
	border-top: 1px solid #eee;
	margin-top: 1em;
}

fieldset .flex {
	display: flex;
	gap: 1em;
	justify-content: space-evenly;
	border-top: 0;
	margin-top: 0;
}

fieldset .flex + ul, 
fieldset .flex > ul {
	border-top: 0;
	margin-top: 0;
}

fieldset .flex > * {
	flex: 1 1 auto;
}

fieldset .grid * {
	text-align: center;
}

fieldset li {
	margin-top: 1em;
}

fieldset .note {
	color: #bbb;
	font-size: small;
}

.panel header {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.note:before {
	padding-right: 0.25em;
}

span.note:before {
	content: '\2190';
}

div.note:before {
	content: '\21B3';
}

input:required:invalid + .note.required,
select:required:invalid + .note.required,
textarea:required:invalid + .note.required  {
  color: var(--color-red);
}

input:required:valid + .note.required,
select:required:valid + .note.required,
textarea:required:valid + .note.required {
  color: var(--color-green);
}

input:required:invalid,
select:required:invalid,
textarea:required:invalid {
    border-color: var(--color-red);
}

input:required:valid + .note.required:after,
select:required:valid + .note.required:after,
textarea:required:valid + .note.required:after {
  content: '\2713';
  margin-left: 0.25em;
}

label {
	display: block;
}

.date-time-container {
	display: inline-block;
	margin-top: 0.25em;
}

.clear-default {
	color: #000;
	cursor: pointer;
	display: inline;
	text-decoration: underline;
}

.clear-default input {
	display: none;
}

input,
textarea,
select,
.selected_customer {
	background: #fff;
	border: 1px solid #ddd;
	padding: 10px;
	width: 100%;
}

input[type="text"], 
input[type="number"] {
	border-radius: 0;
}

input[type="checkbox"],
input[type="radio"],
input[size] {
	width: inherit;
}

input[readonly] {
	color: #ccc;
}

input[type="search"] {
	border-radius: 0 0 0 0;
}

.select[readonly] {
	color: #000;
	font-family: monospace;
	font-size: 1.2em;
}

input:required:invalid + .note {
	color: var(--color-red);
}

input:required:valid + .note {
	color: var(--color-green);
}

td.currency,
td.percentage,
input.currency, 
input.percentage {
	background-image: url('../img/$.svg');
	background-repeat: no-repeat;
	background-position: 0.5em center;
	background-size: 9px;
	text-align: right;
}

td.percentage,
input.percentage {
	background-image: url('../img/percentage.svg');
	background-position: right 0.25em center;
	background-size: 18px;
	padding-right: 1.5em;
}

input.quantity {
	text-align: right;
}

.media-id,
label[for="media-id"] {
	display: none;
	width: inherit;
}

.mce-content-body {
	background-image: none;
	display: block;
	font: 1em/1.5 "Helvetica Neue";
	padding: 0 1em;
}

label input {
	max-width: inherit;
	width: inherit;
}

.require-one {
	border: 1px solid var(--color-red);
	padding: 1em;
}

.require-one .or {
	display: block;
	font-size: 1.25em;
	font-style: italic;
	text-align: center
}

.button,
input[type='submit'],
a.cancel,
a.preview,
a.delete {
	border-radius: 2px;
	display: inline-block;
	padding: 0.25em 1em;
}

.actions li {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.actions input[type="submit"] {
	background: var(--color-green);
	border: 0;
	color: #fff;
	font-size: 1.25em;
	padding: 0.35em 1em;
}

.actions input[type="submit"].delete {
	background: var(--color-red);
}

a.cancel {
	border: 1px solid transparent;
}

.button,
input[type='submit'],
a.cancel:hover,
a.cancel:focus,
a.delete:hover {
	background: #ddd;
	text-decoration: none;
}

a.preview:hover,
a.preview:focus {
	background: var(--color-blue);
	color: #fff;
	text-decoration: none;
}

input.delete,
a.delete:hover,
a.delete:focus	 {
	background: var(--color-red);
	color: #fff;
	outline: none;
	text-decoration: none;
}

a.remove {
	background: #999;
	border: 0;
	border-radius: 20px;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	height: 30px;
	line-height: 26px;
	margin: -3px 0 0 20px;
	padding: 0;
	position: relative;
	left: 0;
	text-decoration: none;
	text-align: center;
	width: 30px;
}

td a.remove {
	display: none;
	left: inherit;
	position: absolute;
	right: 10px;
	top: 10px;
}

.time-sheet td a.remove {
	right: inherit;
	left: 0;
}

.time-sheet tr:hover a.remove, 
.balance-sheet tr:hover a.remove {
	display: inline-block;
}

a.remove:hover {
	background: var(--color-red);
}

.selected_customer {
    color: #777;
	display: flex;
	justify-content: space-between;
}

input[type='submit'] {
	color: #000;
	cursor: pointer;
	min-width: inherit;
	width: auto;
}

input[type='submit'].small {
	font-size: small;
}

.button:focus,
.cancel:focus,
select:focus,
input:focus {
	border: 1px solid var(--color-blue);
	box-shadow: 0 0 5px var(--color-blue);
	outline: none;
}

a.delete:focus {
	border: 1px solid var(--color-red);
	box-shadow: 0 0 5px var(--color-red);
}

a.delete:focus {
	border-color: #fff;
}

input[type="checkbox"]:focus {
	outline: 1px solid var(--color-blue);
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: #fff url('../img/select-arrows.svg') right no-repeat;
	border-radius: 3px;
	padding-right: 1.25em;
	width: inherit;
}

.checker label.selected,
.radioer label.selected,
.radioer input[type="radio"]:checked + label {
	background: #eee;
	border: 1px solid #3084fd;
	box-shadow: 0 0 5px #3084fd;
}

.checker label,
.radioer label {
	border: 1px solid #ddd;
	border-radius: 3px;
	display: inline-block;
	padding: 5px 10px 5px 2em;
	position: relative;
}

.radioer label {
	padding-left: 0.5em;
}

.checker input {
	left: 0.75em;
	position: absolute;
	top: 0.70em;
}

.select-boxes {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.select-boxes > * {
	border: 1px solid #ccc;
	border-radius: 5px;
	width: 200px;
	overflow: hidden;
	padding: 10px;
	text-align: center;
}

.select-boxes .icon {
	float: left;
	margin-right: 10px;
	width: 40px;
}

.select-boxes .icon.selected, 
.select-boxes .selected .icon.not-selected {
	display: none;
}

.select-boxes .selected .icon.selected {
	display: inline;
}

.select-boxes h4 {
	background: #eee;
	font-weight: normal;
	margin: -10px -10px 0 -10px;
	padding: 10px;
	text-align: left;
}

.select-boxes .selected {
	border-color: var(--color-blue);
}

.select-boxes .selected h4 {
	background: #89B4E8;
	color: #fff;
}

.select-boxes .inverse {
	clear: left;
	display: flex;
	flex-direction: column;
	flex-flow: column-reverse;
}

.select-boxes input[type='radio'] {
	width: initial;
}

.select-boxes input[size] {
	width: 3.5em;
}

.search {
	margin-bottom: 1em;
}

.search div {
	display: flex;
}

.search input[type="submit"] {
	border-radius: 0 2px 2px 0;
}

.button {
	border: 1px solid #ddd;
	display: inline-block;
	text-decoration: none;
}

.actions {
	background: #fff;
	bottom: 0;
	box-shadow: 0 -5px 5px rgba(0, 0, 0, 0.05);
	display: flex;
	justify-content: space-evenly;
	list-style: none;
	margin: 20px -20px;
	padding: 1.9em 0;
	position: -webkit-sticky;
	position: sticky;
	text-align: center;
	z-index: 100;
}

nav .new {
	border: 1px solid #ccc;
	border-radius: 2px;
	color: #000;
	float: right;
	font-size: 16px;
	padding: 0 0.25em;
	text-decoration: none;
}

.waiting {
	background: var(--color-yellow);
	border-radius: 10px;
	color: #844510;
	display: inline-block;
	font-size: small;
	padding: 0 0.5em;
}

.listing,
.grid {
	list-style: none;
	margin: 0;
	padding: 0;
}

.checklist {
	padding: 0;
}

.checklist ul {
	padding: 1rem;
}

.checklist, 
.checklist ul {
	list-style: none;
}

#invoice .checklist li:before {
	content: '\2713';
	margin-right: 0.25rem;
}

.grid, 
.checklists {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 20px;
}

.checklists {
	grid-template-columns: 1fr 1fr 1fr;
}

.checklists ul, 
.checklists h4 {
	margin: 0;
	padding: 0;
}

.grid > * {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	overflow: hidden;
	padding: 10px;
	position: relative;
	text-align: center;
}

.grid figcaption > * {
	margin: 0;
}

.grid img[src*='icon'],
fieldset figure img[src*='icon'] {
	display: block;
	margin: auto;
	max-width: 80px;
}

.grid figcaption {
	line-height: 2em;
	font-size: smaller;
}

.grid pre,
.grid code {
	word-wrap: break-word;
}

fieldset figure pre {
	margin-top: 0;
}

.grid .attached {
	background: var(--color-green);
	color: #fff;
	display: block;
	left: -25px;
	padding-left: 2.5em;
	position: absolute;
	text-align: left;
	transform: rotate(-25deg);
	top: 5px;
	width: 100%;
}

table {
	border-collapse: collapse;
	margin: 1em 0;
	width: 100%;
}

th,
td {
	padding: 10px;
	text-align: left;
}

tbody tr {
	border-top: 1px solid #ddd;
}

tbody tr:nth-child(odd) {
	background: #eee;
}

tbody tr:last-child {
	border-bottom: 1px solid #ddd;
}

tbody td.status {
	width: 100px;
}

tbody td:first-child img {
	vertical-align: middle;
	width: 18px;
}

.flag {
	background: #999;
	border-radius: 2px;
	color: #fff;
	display: inline-block;
	font-size: small;
	padding: 0 0.25em;
}

.flag.draft {
	background: #666; 
	opacity: .6;
}

.flag.new {
	background: var(--color-blue);
}

.flag.unpaid {
	background: var(--color-red);
}

.flag.in-progress, 
.flag.paid {
	background: var(--color-green);
}

.flag.on-hold {
	background: var(--color-yellow);
}

tbody .feature-1 td {
	font-weight: bold;
}

tbody tr.current-user {
	background: var(--color-blue);
	border: 2px solid var(--color-blue);
	color: #fff;
}

tbody tr.current-user a {
	color: #fff;
}

tbody tr.current-user .current {
	background: rgba(255,255,255,0.85);
	color: var(--color-blue);
}

table .hidden-cell {
	display: none;
}

th.currency, 
th.quantity {
	text-align: center;
}

td.currency, 
td.quantity {
	text-align: right;
	width: 7.5em;
}

.meta {
	color: #999;
	font-family: monospace;
}

.active-jobs .grid a {
	text-decoration: none;
}

.active-jobs .grid a:hover {
	box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.active-jobs h3 {
	margin: 0;
}

.balance-sheet, 
.time-sheet {
	border: 1px solid #ddd;
}

.balance-sheet thead, 
.time-sheet thead {
	background: #ddd;
}

.balance-sheet tbody tr:nth-child(odd), 
.time-sheet tbody tr:nth-child(odd) {
	background: inherit;
}

.balance-sheet tbody tr:first-child, 
#hourly-rate {
	display: none;
}

.balance-sheet.summary tbody tr:first-child {
	display: table-row;
}

#invoice .balance-sheet.summary, 
.balance-sheet.summary td p {
	margin: 0;
}

.balance-sheet.summary td p + p {
	margin-top: 1em;
}

.balance-sheet.carryover {
	margin: 0;
}

.balance-sheet.carryover, 
.balance-sheet.carryover tfoot tr:first-child {
	border-color: transparent;
}

.balance-sheet.carryover + table {
	margin-top: 0;
}

.balance-sheet tbody tr:last-child, 
.time-sheet tbody tr:last-child {
	border-bottom: none;
}

.balance-sheet tbody th {
	font-weight: normal;
}

.balance-sheet tbody tr.total > * {
	border-top: 1px solid #000;
	font-weight: bold;
}

tfoot td, 
tfoot td input[type='number'] {
	font-weight: bold;
}

tfoot .note {
	color: #999;
	font-weight: normal;
	padding: 0 10px;
	display: inline-block;
}

.balance-sheet tfoot tr,
.time-sheet tfoot tr {
	border-top: 1px solid #ddd;
}

.balance-sheet tfoot tr:first-child, 
.time-sheet tfoot tr:first-child {
	border-top: 1px solid #000;
}

.balance-sheet tbody td + td, 
.balance-sheet tfoot th + td, 
.time-sheet tbody td + td, 
.time-sheet tfoot th + td {
	border-left: 1px solid #ddd;
}

.balance-sheet tbody td + td:last-child, 
.balance-sheet tfoot th + td:last-child,
.balance-sheet.totals tbody th + td:last-child,
.time-sheet tbody td + td:last-child, 
.time-sheet tfoot th + td:last-child {
	border-left: 1px solid #000;
}

.time-sheet td, 
.balance-sheet td {
	padding: 0;
	position: relative;
}

.balance-sheet.summary td {
	padding: 10px;
}

.time-sheet td:first-child {
	width: inherit;
}

.time-sheet td.static,
.balance-sheet td.static {
	padding-right: 25px;
}

.balance-sheet .date.static {
	padding-left: 10px;
}

.balance-sheet tbody td + td.note:last-child {
	border-left-color: #ddd;
}

.time-sheet td input, 
.balance-sheet td input {
	background: transparent;
	border: 0;
}

.balance-sheet tfoot th,
.balance-sheet.totals tbody th,
.time-sheet td:last-child, 
.time-sheet tfoot th {
	text-align: right;
}

.time-sheet td.timer-running {
	
	color: var(--color-red);
	text-align: center;
}

.blink {
	animation: blink-animation 1s steps(5, start) infinite;
	-webkit-animation: blink-animation 1s steps(5, start) infinite;
  }
  @keyframes blink-animation {
	to {
	  visibility: hidden;
	}
  }
  @-webkit-keyframes blink-animation {
	to {
	  visibility: hidden;
	}
  }

.message {
	border-radius: 2px;
	color: #fff;
	cursor: pointer;
	display: flex;
	margin: 10px 10px 0 -10px;
	padding: 0.25em 0;
	position: absolute;
	width: calc(100% - 20px);
	z-index: 99;
}

.message .icon,
.message .close {
	margin: -0.25em 0;
	padding: 1.25em 0.5em;
	width: 40px;
}

.message .icon {
	border-right: 1px solid rgba(255,255,255,0.25);
	margin-right: 20px;
}

.message .close {
	margin-right: 10px;
	opacity: 0.5;
	width: 30px;
}

.message .icon img,
.message .close img {
	vertical-align: middle;
}

.message .text {
	flex-grow: 1;
}

.message:hover .close {
	opacity: 1;
}

.confirm {
	background: var(--color-green);
}

.error {
	background: var(--color-red);
}

.warning {
	background: var(--color-yellow);
}
a {
    color: #000;
}

section > header {
	position: relative;
}

section > header h1 a {
	margin-left: 20px;
	position: relative;
	text-decoration: none;
}

section > header h1 a::before {
	content: url('../img/chevron-left.svg');
	height: 10px;
	left: -20px;
	position: absolute;
}

section > header nav {
	top: 0.5em;
	position: absolute;
	right: 0;
}

.backdrop {
	background: rgba(0,0,0,0.25);
	height: 100%;
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 99;
}

.media-browser {
	background: #fff;
	border: 0;
	box-shadow: 0 0 10px rgba(0,0,0,0.25);
	height: 90%;
	left: 0;
	margin: 5%;
	top: 0;
	position: fixed;
	width: 90%;
	z-index: 100;
}

.media-select {
	background-image: none;
	padding-bottom: 5em;
}

.media-select .main-nav, 
.media-select > header,
.media-select > footer  {
	display: none;
}

.media-select .actions {
	background: #fff;
	bottom: 0;
	left: 1px;
	margin: 0;
	padding: 1em;
	position: fixed;
	width: 100%;
}

.gravatar img {
	border: 2px solid #fff;
	border-radius: 100px;
	box-shadow: 0 0 3px rgba(0,0,0,0.5);
	width: 50px;
	vertical-align: middle;
}

.hide {
	display: none;
}

.header-panel {
	border: 1px solid #ccc;
}

.header-panel tbody tr {
	border: 0;
}

.header-panel tbody tr:nth-child(odd) {
	background: transparent;
}

.header-panel th {
	color: #999;
	font-size: 0.75rem;
	font-weight: normal;
	padding: 5px 10px 0 10px;
	width: 33%;
}

.customers .header-panel th {
	width: 50%;
}

.header-panel tr + tr th {
	border-top: 1px solid #ccc;
}

.header-panel th + th {
	border-left: 1px solid #ccc;
	width: 33%;
}

.header-panel th[colspan="2"], 
.header-panel td[colspan="2"] {
	width: 66%;
}

.header-panel td {
	height: 35px;
	padding: 0 10px 5px 10px;
}

.header-panel td + td {
	border-left: 1px solid #ccc;	
}

.settings fieldset ul:first-child {
	/* display: none; */
}

.capacitance .grid {
	grid-template-columns: 1fr 1fr 1fr;
} 

@media only screen and (max-width: 1000px) {

	.grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media only screen and (max-width: 800px) {

	.grid {
		grid-template-columns: 1fr 1fr;
	}

}

@media only screen and (max-width: 35em) {

	body {
		background-image: none;
		display: block;
	}

	.mobile-header {
		display: block;
		background: #222;
		color: #fff;
		text-align: left;
		padding: 10px 20px;
	}

	.mobile-header a {
		color: #eee;
		position: absolute;
		top: 0.5em;
		right: 1em;
	}

	.main-nav {
		background: #222;
		box-shadow: 0 0 10px rgba(0,0,0,0.5);
		left: -240px;
		position: absolute;
		top: 0;
		z-index: 100;
	}

	.main-nav .close {
		display: block;
		font-size: 2em;
		text-align: right;
	}

	.main-nav .close a {
		padding: 0.25em;
	}

	.main-nav .profile {
		position: relative;
	}

	table th + th + th,
	table td + td + td,
	.main-nav .logo {
		display: none;
	}
	
	table.header-panel th + th + th, 
	table.header-panel td + td + td, 
	table.balance-sheet th + th + th, 
	table.balance-sheet td + td + td {
		display: table-cell;
	}

	tbody .hidden-cell {
		display: block;
	}

	thead .hidden-cell {
		display: inline;
	}
	
	nav.tabs {
		font-size: 0.9rem;
	}
	
	nav.tabs a {
		padding: 5px;
	}

	.actions {
		padding: 20px;
	}

}

@media only screen and (max-width: 29em) {

	body > header li + li {
		margin: 0.25em 0 0 0;
	}

}
