@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Light'), local('OpenSans-Light'), url(https://themes.googleusercontent.com/static/fonts/opensans/v7/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(https://themes.googleusercontent.com/static/fonts/opensans/v7/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Bold'), local('OpenSans-Bold'), url(https://themes.googleusercontent.com/static/fonts/opensans/v7/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}


body {
	font-family: 'Open Sans', 'Tahoma', arial, verdana, helvetica, sans-serif;
	color: #ccc;
	font-size: 12pt;
	background: #000;
	margin:0;
}

#page {
	margin: 0px auto 100px;
	max-width: 1200px;
	padding: 0 20px;
}

h1, h2, h3 {
	color: #fff;
}

#content {
	width: 100%;
	padding: 20px 0 0 0;
}

#header {
width: 100%; 
}

#header h1 { font-size: 3em; color: #D86060; margin: 10px; text-align: center;}

#menu {
	background-color: #000;
	width: 100%;
	text-align: center;
	margin: 0; 
	padding: 10px 0 20px 0;
	border-radius: 3px;
	font-weight: bold;
}

#searchforms {
	background-color: #3D4450;
	padding: 10px;
	margin: 0 0 20px 0;
	border-radius: 3px;
	border: solid 2px #999;
	display:flex;
}

#bibform {
	text-align:right;
	flex:1;
}

#taxonform {
	text-align:right;
	flex:1;
}

#imageform {
	text-align:right;
	flex:1;
}



input {
	width: 50%;
	background-color: #222;
	font-weight: bold;
	color: #fff;
	margin: 2px 0;
	padding: 3px;
	border: solid #999 1px;
	border-radius: 2px;
	font-size: 1em;
}

input[type=submit], input[type=reset]{
	background-color: #666;
	width: auto;
	padding: 6px;
	border: solid #999 0px;
	background-color: #D86060;
	color:#fff;
}


#footer {
    background-color: #666;
    bottom: 0;
	left: 0;
    color: #fff;
    font-size: 0.8em;
    opacity: 0.9;
    padding: 5px 0;
    position: fixed;
    text-align: center;
    width: 100%;
	padding: 20px 0;
}


OL OL     { list-style-type: decimal }     

.figcap	  { font-size: 0.8em; color: #999 }

.ref	  { 
    text-indent: -2em; margin-left: 2em; color: #ccc;
    padding-bottom: 1em;
}



.main-data-table {
padding: 2px;
border-radius: 3px;
background-color: #333;
}

.main-data-table table {
width:100%;
}

.main-data-table td {
padding:4px;
}

.results-table {
border: solid 0px #666;
border-radius: 3px;
background-color: #333;
padding:0;
margin:0;
}

.results-table table {
width:100%;
}

.results-table td {
font-size: 0.9em;
padding:2px;
margin:2px;
}


#filters {
position: absolute;
top: 100px;
left: 10px;
width: 150px;
border: dotted green 0px;
}

#maincontent {
position: absolute;
top: 100px;
left: 190px;
border: dotted red 0px;
}

#main {
margin: 0 auto 50px;
text-align: center;
top: 10px;
/*left: 150px;*/
}

#heading { 
text-align: center;
margin: 30px auto;
padding: 0 10px;
}




#greeting {
margin: 0 10%;
}

#gimage {
height: 300px;
width: 300px;
}




.openwinlink {
    color: #5686c5;
    text-decoration: none;
    cursor: pointer;
}

.results0 {
background-color: #f1f1f1; 
color: #333; 
padding: 5px 20px;
border-radius: 3px;
max-width:960px;
}


#map { border-radius: 3px; border: solid 1px #333;}

a:link    { text-decoration: none; 
            color: #cce0ff; }
a:active  { color: #cce0ff }
a:visited { text-decoration: none; 
            color: #cce0ff; }
a:hover	  { text-decoration: underline; 
            color: #cce0ff; 
            background-color: none; }


h2 a:link, h2 a:visited, h2 a:hover { 
text-decoration: none;
color: #fff;
}

td a:hover, .results a:hover { 
text-decoration: underline;
color: pink;
}


.vertical-text {
	text-orientation: sideways-left;
}

#kit { width: 200px; }

#kasutaja { font-size: 0.8em; color: #46C14D; padding: 5px; position: absolute; right: 10px; top: 5px;}

.tiny td, .tiny th {font-size: 0.7em;}


.taxon_description {
	padding: 0 0 0 40px;
	color:#ccc;
}



.hr {width: 100%; border-top: solid 3px #666; margin: 10px 0 10px;}

  .ui-tooltip {
    font-size: 0.9em;
  }


.results-table th, .main-data-table th{
font-weight: bold;
text-align: left;
background-color: #000;
color: #999;
padding: 0 2px;
}

.results-table tr:nth-child(2n+1), .main-data-table tr:nth-child(2n+1){
    background-color: #222;
}
.results-table tr:nth-child(2n+1) td, .main-data-table tr:nth-child(2n+1) td{
    border-right: 1px solid #333;
}
.results-table tr:nth-child(2n), .main-data-table tr:nth-child(2n) {
    background-color: #111;
}

/* MEDIA QUERIES */
@media screen and (max-width: 600px) {
	body { font-size: 0.8em; }
	h1 { font-size: 1.2em; }
}

@media screen and (max-height: 600px) {
	body { font-size: 0.8em; }
	h1 { font-size: 1.2em; }
}
