/*
** Copyright 2014-2016 The Earlham Institute
** 
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
** 
**     http://www.apache.org/licenses/LICENSE-2.0
** 
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/

body {
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	color: #373a3c;
	-webkit-text-size-adjust: 100%;
}

a {
	text-decoration: none;
}

h1 {
	font-size: 1.1em;
}

footer { 
	margin-top: 1.0em;
	text-align: right; 
	font-size: 0.9em;
}



span.key {
	padding-left: 1.0em;
}

table {
	border-collapse: collapse;
}

th {
	background-color: white;
}

td, th {
  padding: .75em;
  vertical-align: top;
  border-top: 1px solid #eceeef;
}


tr.odd {
	background-color: rgba(0,0,0,.05);
}

tr:last {
  border-bottom: 1px solid #eceeef;	
}

img.button {
	padding-left: 0,5em;
	padding-right: 0.5em;
	vertical-align: middle;
	cursor: pointer;
}

.metadata_container {

}

ul.metadata  {
	margin-top:  0px;
	list-style-type: none;
}


#listings_table ul.metadata  {
	display: none;
}

ul.metadata li:first-child {
	border-top-right-radius: .25rem;
  border-top-left-radius: .25rem;
}

ul.metadata li {
	padding: 0.25em;
	border-top: 1px solid rgba(0, 0, 0, 0.3);
	border-left: 1px solid rgba(0, 0, 0, 0.3);
	border-right: 1px solid rgba(0, 0, 0, 0.3)
}

ul.metadata li:last-child {
	border-bottom-left-radius: 0.25em;
	border-bottom-right-radius: 0.25em;
	border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}



#edit_metadata_pop_up {
	background: #f7f7f7;
	position: absolute;
	display: none;
	left: 50%;
	top: 50%;
	margin-left: -250px; /* half of width */
	text-align: right;
	z-index: 20;
	padding: 2.0em;
	width: 500px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); 
	-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);  
	-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); 
}

#edit_metadata_pop_up legend {
  padding: 0.2em 0.5em;
  color: rgba(0, 0, 0, 0.5); ;
  font-size:90%;
  text-align:right;
  width: auto;
}

#edit_metadata_pop_up fieldset {
	border: 1px ridge rgba(0, 0, 0, 0.5); 
	border-radius: 5px;
	margin-bottom: 1.0em;
}

#edit_metadata_pop_up  input {
  width: 70%;
}

#edit_metadata_pop_up  label {: 
  width: 30%;
  text-align:right;
  padding-right: 1.0em;
}

#edit_metadata_pop_up .edit_group {
	display: none;
}

#save_metadata{
  padding-left: 32px;
	padding-right: 0px;
}

#cancel_metadata{
  padding-left: 32px;
	padding-right: 0px;
}





.add_metadata {
	padding-left: 2.5em;
}


nav { 
  margin-top: 1.0em;
  margin-bottom: 1.0em;
}

nav.header {
	font-size: 1.3em;
}


footer {	
	margin-top: 2.0em;
	text-align: left;
}


form.download_metadata select.format {
	margin-bottom: 1.0em;
}

form.download_metadata div.buttons {
	text-align: right;
}

ul.autocomplete {
	display: none;
	border: 1px solid grey;
	position: absolute;
	background-color: #eceeef;
	list-style: none;
	padding: 0;
	margin: 0;
}


ul.autocomplete li {
	padding-left: 0;
}

ul.autocomplete li:hover {
	font-weight: bold;
	cursor: pointer;
}


#info 
{
	display: flex;
}


form.search_form {
	padding: 1.0em;
	padding-top:  1.0em;
	padding-bottom:  1.0em;
  max-width: 50%;
}

form.search_form legend {
	font-size: 1.2em;
}

form.search_form label{
  font-size: 0.9em;
	padding-right: 0.5em;
}


form.search_form input {
  margin-right:  1.0em;
	display: inline-block;
}

section.user {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 2.0em;
  max-width: 50%;
}

section.user h2 {
	margin-top: 0;
	font-size: 1.2em;
}



ul.footer_menu
{
  list-style-type: none;
  margin: 0;
  padding-left: auto;
  padding-right: auto;
  text-align: center;
  overflow: hidden;
}

ul.footer_menu li
{
 // float: left;
  display: inline-block;

}

ul.footer_menu li a
{
  display: block;
  text-align: center;
  padding: 16px;
}

