/* -----------------------
Base styles
------------------------*/

body
{
	margin: 0;
	padding: 0;
	color: #333;
	background-color: #eee;
	font: 1em/1.2 "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
}

input, .ui-dialog, .ui-corner-bottom, textarea
{
	font: 1em/1.2 "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
}

select
{
  font: 1em/1.2 "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
  height: 25px;
}

h1,h2,h3,h4,h5,h6
{
	margin: 0 0 .5em;
	font-weight: 500;
	line-height: 1.1;
}

h1 { font-size: 2.25em; } /* 36px */
h2 { font-size: 1.75em; } /* 28px */
h3 { font-size: 1.375em; } /* 22px */
h4 { font-size: 1.125em; } /* 18px */
h5 { font-size: 1em; } /* 16px */
h6, .ui-corner-bottom { font-size: .875em; color: #777; padding-bottom: 5px; } /* 14px */

p
{
	margin: 0 0 1.5em;
	line-height: 1.5;
}

blockquote
{
	padding: 1em 2em;
	margin: 0 0 2em;
	border-left: 5px solid #eee;
}

hr
{
	height: 0;
	margin-top: 1em;
	margin-bottom: 2em;
	border: 0;
	border-top: 1px solid #ddd;
}

table
{
	background-color: transparent;
	border-spacing: 0;
	border-collapse: collapse;
	border-top: 1px solid #ddd;
}

th
{
	padding: .5em 1em .5em 0;
	vertical-align: middle;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

td
{
	padding: .5em 1em .5em 0;
	vertical-align: top;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

td.details
{
  font-size: 0.95em;
  color: #777;
}

tr.separate
{
  border-bottom-style: double;
}

th.alternate,
td.alternate
{
  background-color: #f9f9f9;
}

th.sortable
{
  cursor: pointer;
}

.highlight td.alternate
{
  background-color: inherit;
}

a { text-decoration: none; }
a:link { color: #333; }
a:visited { color: #333; }
a:focus { color: #333; }
a:hover { color: white; background-color: royalblue; }
a:active { color: white; background-color: red; }

div.space
{
  height: 5px;
}

/* -----------------------
Layout styles
------------------------*/

.container
{
	max-width: 70em;
	margin: 0 auto;
}

.header
{
	color: #fff;
	background: #777;
	padding: 1em 1.25em;
}

.header-heading { margin: -13px -10px -5px -10px; }

.nav-bar
{
	background: #000;
	padding: 0;
}

.content
{
	padding: 1em 1.25em;
	background-color: #fff;
}

.footer
{
	color: #fff;
	background: #000;
	padding: 1em 1.25em;
}

.right
{
  float: right;
}

.error
{
  font-size: .875em;
  color: red;
}

.centre
{
  text-align: center;
}

.textRight
{
  text-align: right;
}

/* -----------------------
Dropdown Button
------------------------*/

.dropdown 
{
  position: relative;
  display: inline-block;
  z-index: 999;
}

.dropdown-content
{
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 210px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a
{
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font: normal 18px/1.2 "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
}

.dropdown-content a:hover 
{
  background-color: #f1f1f1;
}

.dropdown-content hr
{
	height: 0;
	margin-top: 3px;
	margin-bottom: 3px;
	border: 0;
	border-top: 1px solid #ddd;
}

.dropdown-content .title
{
  padding: 6px 16px;
  font-weight: bold;
}

.dropdown-show
{
  display: block;
}

/* -----------------------
Nav
------------------------*/

.nav
{
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav li
{
	display: inline;
	margin: 0;
}

.nav a
{
	display: block;
	padding: .7em 1.25em;
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid gray;
}

.nav a:link { color: white; }
.nav a:visited { color: white; }

.nav a:focus
{
	color: black;
	background-color: white;
}

.nav a:hover
{
	color: white;
	background-color: green;
}

.nav a:active
{
	color: white;
	background-color: red;
}

/* -----------------------
Single styles
------------------------*/

.img-responsive { max-width: 100%; }

.table-responsive { overflow-x: auto; }

.img-logo
{
    height: 64px;
    width: 64px;
    margin-right: 0.25em;
    margin-bottom: -0.22em;
    vertical-align: text-bottom;
}

.btn,
.btn-disabled
{
	color: #fff !important;
	background-color: royalblue;
	border-color: #222;
	display: inline-block;
	padding: .5em 1em;
	margin-bottom: 0;
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: .2em;
	text-decoration: none;
}

.btn.top
{
	background-color: transparent;
  padding: 0;
}

.btn-disabled
{
	background-color: gray;
}

.btn:hover
{
	color: #fff !important;
	background-color: green;
}

.btn.top:hover
{
	color: #fff !important;
	background-color: royalblue;
}

.btn:focus
{
	color: #fff !important;
	background-color: black;
}

.btn:active
{
	color: #fff !important;
	background-color: red;
}

.table
{
	width: 100%;
	max-width: 100%;
	margin-bottom: 20px;
}

.table thead th
{
	padding-left: 0;
}

.table tbody
{
	font-size: .8em;
}

table.simple
{
	border-top: 0;
}

table.simple th,
table.simple td
{
	padding: 0 .5em 0 0;
	border-bottom: 0;
}

.list-unstyled
{
	padding-left: 0;
	list-style: none;
}

.list-inline
{
	padding-left: 0;
	margin-left: -5px;
	list-style: none;
}

.list-inline > li
{
	display: inline-block;
	padding-right: 5px;
	padding-left: 5px;
}

.input-align
{
  height: 23px;
  line-height: 23px;
  vertical-align: middle;
  border: 1px solid #aaa;
  padding-left: 1px;
}

.highlight
{
	background-color: #dff2bf;
}

.dialog-content
{
  font-size: .8em;
}

.ui-accordion-header-active
{
  border: 1px solid royalblue;
  background: royalblue;
}

.ui-accordion .ui-accordion-content
{
  padding: 1em;
}

/* -----------------------
Wide styles
------------------------*/

@media (min-width: 44em)
{
	.header { padding: 1.5em 3em; }
	.nav-bar { padding: 1em 3em; }
	.content { padding: 2em 3em; }
	.footer { padding: 2em 3em; }
	
	.nav li
	{
		display: inline;
		margin: 0 1em 0 0;
	}
	
	.nav a
	{
		display: inline;
		padding: 0;
		border-bottom: 0;
	}
}

/* -----------------------
Google Material Icons
------------------------*/

/* Rules for sizing the icon. */
.material-icons.md-18 { font-size: 18px; vertical-align: top; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

/* Rules for using icons as black on a light background. */
.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }

/* Rules for using icons as white on a dark background. */
.material-icons.md-light { color: rgba(255, 255, 255, 1); }
.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }

/* -----------------------
Alerts
------------------------*/

.alert 
{
  padding: 20px;
  background-color: #f44336;
  color: white;
  transition: opacity 0.6s;
  margin-bottom: 15px;
  text-shadow: none;
  display: none;
}

.alert i 
{
  vertical-align: middle;
}

.alert.success { color: #4F8A10; background-color: #DFF2BF;}
.alert.info { color: #00529B; background-color: #BDE5F8;}
.alert.warning { color: #9F6000; background-color: #FEEFB3;}
.alert.error { color: #D8000C; background-color: #FFBABA;}

.closebtn 
{
  padding-left: 15px;
  font-weight: bold;
  float: right;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}
  
/* -----------------------
Show/hide tables on Mobile/PC views
------------------------*/
@media only screen and (max-width: 599px)  {

  #transactionsTable,
  #transactionsTablePaging,
  #accountsTable {
    display: none;
  }
  
  #transactionsTableResponsive,
  #transactionsTableResponsivePaging,
  #accountsTableResponsive {
    display: 'table';
  }
}

@media only screen and (min-width: 600px)  {

  #transactionsTable,
  #transactionsTablePaging,
  #accountsTable {
    display: 'table';
  }
  
  #transactionsTableResponsive,
  #transactionsTableResponsivePaging,
  #accountsTableResponsive {
    display: none;
  }
}