body {
  width: 100%; 
  color: #6B6B6B;
  font-family: Roboto, sans-serif;
  font-size: 1em;
}
h1 {
  color: #CEF7CF;
  font-size: 2rem;
  padding: 1rem 0 1rem 20px;
  margin: 0;
  font-weight: normal;  
}
h2 {
  margin: 0; 
  padding: 0 0 10px 0;
}
h3 {
}
h4 {
  margin: 20px 0 0 0;
}
h4 span {
  font-size: 60%;
}
th {
  text-align: left;
  border-bottom: 2px solid #666666;
  padding: 0 2px;
}
td {
  border-bottom: 1px solid #808080;
  padding: 0 2px;
}
td select {
	font-size: 1em;
}
.header {
  background: #195B2B;
  height: 4.5rem;
  position: relative
}
.header a {
	color: #CEF7CF;
	text-decoration: none;
	padding-left: 64px;
}
.header span {
	font-size: 65%;
}
.header a:hover {
	color: #fff;
}
.header img {
	position: absolute;
	top: 0;
	left: 0;
}
.header .login-status {
	position: absolute;
	right: 0.5rem;
	top: 3rem;
	color: #CEF7CF;
	font-size: 0.75rem;
}
.main {
	width: 100%;
  background: #FFFFFF;
  padding: 6px 20px;
  font-size: 0.875em;
}

.buttons {
  margin: 4px 0 4px 0 ;
}
.latin { font-style: oblique; }

/* menu */
nav ul.nav-tabs,
nav ul.nav-tabs li .dropdown-menu {
	background: #CEF7CF;
}
nav ul a,
nav .dropdown-menu a {
	color: #195B2B;
}
nav ul a:hover,
nav .dropdown-menu a:hover {
	color: #070707;
	background: #c0c0c0;
}
.dropdown-menu {
	background: #e0e0e0;
}
/* Manage record filter overrides */
.form-control {
	height: calc(2em + 2px);
	padding: 0 0.75rem;
	font-size: 0.875rem;
}
/* bootstrap table-scrollable */
table.table-scrollable {
  display: block;
  max-height: 600px;
  overflow-y: scroll;
}

/* Scrollable table */
.tableScrollable {
  position: relative;
  overflow: auto;
  max-height: 600px;
/*  margin-top: 20px; */
}
.tableScrollable table{
/*  width: 100%; */
/*  border-collapse: collapse; */
}
.tableScrollable th,
.tableScrollable td{
  padding: 0 8px;
  text-align: left;
  vertical-align: top;
}
.tableScrollable thead th {
  position: sticky;  /* Edge, Chrome, FF */
  top: 0;
  height: 30px;
  background: #E0E0E0;  /* Some background is needed */;
}


/* Table columns */
table.stats .col-count,
table.metastats .col-count { width: 200px; max-width: 200px; text-align: right; }

table .col-seq        { width: 12px !important; text-align: center; }
table .col-id         { width: 20px !important; text-align: right; }
table .col-chk        { width: 40px !important; min-width: 40px !important;}
table .col-species    { width: 300px; }
table .col-species-Sub-species { padding-left: 32px !important; }
table .col-count      { width: 120px; max-width: 120px; text-align: right; }
table .col-counttype  { width: 100px; max-width: 100px; }
table .col-date1      { width: 80px; }
table .col-dateprecision { width: width: 100px; max-width: 100px; }
table .col-site       { width: 190px; }
table .col-site-combo { width: 240px; }
table .col-site-combo .checkbox { width: 20px; float: left; }
table .col-site-combo .field    { width: 190px; float: right; }
table .col-observer   { width: 200px; }
table .col-observer-combo .checkbox { width: 20px; float: left }
table .col-observer-combo .field    { width: 200px; float: right }
table .col-flag       { width: 40px; }
table .col-accepted   { width: 126px; }
table .col-to         { width: 14px !important; max-width: 14px !important; }
table .col-checkbox   { width: 75px; text-align: center; }
table .col-checkbox-wide { width: 150px; text-align: center; }
table .col-filler     { width: 0; }
table .col-panel      { width: 60px; }
table .col-panel2     { width: 130px; }
table .col-year       { width: 80px; max-width: 80px; text-align: right; }
table .col-year2      { width: 80px; max-width: 80px; }
table .col-district   { width: 150px; max-width: 150px; }
table .col-gridref    { width: 160px; max-width: 160px; }
table .col-parentsite { width: 190px; }
table .col-district   { width: 190px; }
table .col-code       { width: 120px; }
table .col-source     { width: 300px; }
table .col-filename   { width: 300px; }
table .col-filedesc   { width: 250px; }
table .col-timestamp  { width: 150px; }
table .col-rank       { width: 80px; }
table .col-buttons-1  { width: 65px !important; min-width: 65px !important; }
table .col-buttons-2  { width: 170px !important; min-width: 170px !important; }
table .col-buttons-3  { width: 440px !important; min-width: 440px !important; }
table .align-left   { text-align: left; }
table .align-center { text-align: center; }
table .align-right  { text-align: right; }

table .species-rank-Sub-species { background: #FB8; }
table .species-rank-Hybrid { background: #9cf; }
table .species-rank-Aggregate { background: #cca; }


input#SpeciesExtra {width: 100%;}

.unmapped {color: #ff0000; font-style: italic;}

ul { 
	list-style-type: none; 
	margin-bottom: 0;
	padding-left: 10px;
}

.table thead th {
	vertical-align: top;
}
/* tighten small table */
.table-sm th,
.table-sm td {
	padding: 0.2rem;
}

tr.statusP,
td.countP { 
	background-color: #7FC9FF; 
}
tr.statusY,
td.countY { 
	background-color: #7FFF8E; 
}
tr.statusN,
td.countN { 
	background-color: #FF7F7F; 
}
.countU,
.countP,
.countY,
.countN {
	text-align: right;
	width: 60px;
	padding: 2px 5px;
}

td.KOSRP { background-color: #195B2B; color: #CEF7CF; }
td.BBRC { background-color: #01539F; color: #FFF; }

/* load form */
td {
	padding: 4px 2px;
	vertical-align: top;
}
.buttons td {
	padding-top: 0;
	vertical-align: inherit;
}

ul.loadSpecFields {
	background: #FFE97F;
	padding: 10px 20px;
	border: 1px dashed #195B2B;
	list-style-type: none;
}

.error {
	color: #CC0000;
	font-size: 0.75rem;
}
.error-large {
	color: #CC0000;
	font-size: 1.25rem;
}
div.dataForm {
	padding: 10px 0;
}
div.dataForm td {
	border: none;
}
	
/* datatables over-rides */
div.table-prolog {
	padding-bottom: 6px;
}
div.table-prolog label {
	white-space: nowrap;
	font-weight: bold;
}
div.table-prolog div.selector {
	display: inline;
	padding-right: 6px;
}
div.table-prolog div.selector select {
  padding: 4px;
}
select.custom-select-year {
	width: 150px;
}
select.custom-select-species {
	width: 250px;
}
div.dataTables_wrapper div.dataTables_length select {
	width: 100px;
}
table.dataTable tbody th, 
table.dataTable tbody td {
	padding: 0.2em 10px;
}
#datatable tbody td .btn-sm {
	padding: 0 0.5rem;
}
.form-row {
	margin: 5px -5px;
}
/* glyphs */
span.fa-question-circle {
	color: #007bff;
	padding: 0 6px;
}
.modal span.fa-plus-square,
.modal span.fa-minus-square {
	font-size: 1.25rem;
	padding-top: 6px;
	color: #A0A0A0;
}
.tooltip-inner { 
	width: 300px !important; 
	max-width: 100% !important;
	color: #202020;
	background: #CEF7CF;
	border: 2px solid #202020; 
}