/* Top Navigation Bar */
.topnav {
  background-color: #052c5a;
  overflow: hidden;
}

.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 4px 16px;
  text-decoration: none;
  font-size: 16px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #052c5a;
  font-weight: bold;
  color: white;
}

.topnav a.border {
  border-right: 1px solid #fff
}

/* Top Navigation Bar Level 2 */
.topnavL2 {
  background-color: #025f8a;
  overflow: hidden;
}

.topnavL2 a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 5px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnavL2 a:hover {
  background-color: #ddd;
  color: black;
}

.topnavL2 a.active {
  background-color: #052c5a;
  font-weight: bold;
  color: white;
}

.topnavL2 a.border {
  border-right: 1px solid #fff
}


/* Multi Column Layout */
.column {
  float: left;
  padding:10px;
}

.column.left {
  width: 48%;
}

.column.right {
  width: 48%;
  align-content: center;
}


/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - makes the two  columns stack on top of each other instead of next to each other */
@media screen and (max-width: 1500px) {
  .column.left, .column.right {
    width: 100%;
  }
}


/* Main Image on Detail page */
img {
	color:inherit
}

.mainimage {
  vertical-align: middle;
  border-style:solid;
  border-color: #888888;
  padding: 4px;
  height:400px;
  width:auto;
  max-height:400px;
  max-width:600px;
  object-fit: contain;
  display:block;
  margin-left:auto;
  margin-right:auto;
}
  
  
  
/* Thumbnail Gallery */
div.gallery {
  margin: 5px;
  border: 1px solid #ccc;
  float: left;
  width: 180px;
  height: 210px;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: auto;
  height: 120px; 
  display:block;  
  margin-left: auto;
  margin-right: auto;
}

div.desc {
  padding: 15px;
  text-align: center;
  font-size: 0.8em;
}  


/* Tag Tables */


.tagtable {
  display: table;
  width: 96%;
  display:block;  
  margin-left: auto;
  margin-right: auto;  
  border: None;
  padding: 5px;
  border-collapse: collapse;
}

.tagtable td {
  border: 1px solid #ddd;
  padding: 4px;
}

.tagtable th {
  padding-top: 4px;
  padding-bottom: 4px;
  padding-right: 8px;
  text-align: center;
  background-color: #052c5a;
  color: white;
}

/* unused */
.xxtagtable tr:first-child th{
  text-align: center;
  font-weight:boldest;
  }

.tagtable tr:nth-child(even){
  background-color: #f2f2f2;
}

.tagtable tr:hover {
  background-color: #ddd;
}

.tagtable td:empty {
  background-color: white;
  border: 1px solid white;
  padding-top: 4px;
}


/* Tag Lists  */

.taglist {
  display: table;
  margin-left: auto;
  margin-right: auto;  
  border: None;
  padding: 10px;
  border-collapse: collapse;
}

.taglist td {
  border: 1px solid #052c5a;
  padding: 20px;
  vertical-align: top;
}

.taglist th {
  padding-top: 4px;
  padding-bottom: 4px;
  padding-right: 8px;
  text-align: center;
  background-color: #052c5a;
  color: white;
}

.taglistCol {
  list-style-type: disc;
  -webkit-columns: 2;
  -moz-columns: 2;
  columns: 2;
  list-style-position: inside;
}

.taglistCol ul {
  list-style-type: disc;
  -webkit-columns: 2;
  -moz-columns: 2;
  columns: 2;
  list-style-position: inside;
}

.taglistCol li {
list-style-type: none;
position: relative;
padding-left: 15px;
}

.taglistCol li:before {
  content: "\25BA \0020";
  font-size: 6px;
  color: #052c5a;
  position: absolute;
  top: 5px;
  left: -10px;
}

.taglistCol4 {
  list-style-type: disc;
  -webkit-columns: 4;
  -moz-columns: 4;
  columns: 4;
  list-style-position: inside;
}

.taglistCol4 ul {
  list-style-type: disc;
  -webkit-columns: 4;
  -moz-columns: 4;
  columns: 4;
  list-style-position: inside;
}

.taglistCol4 li {
list-style-type: none;
position: relative;
padding-left: 15px;
}

.taglistCol4 li:before {
  content: "\25BA \0020";
  font-size: 6px;
  color: #052c5a;
  position: absolute;
  top: 5px;
  left: -10px;
}

/* Overlay for upload page (visible while uploading) */
#overlay {
  display: none;
  position: absolute;
  padding: 20px;
  text-align: left;
  overflow: auto;
  width: 560px; 
  height: 350px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background-color: rgba(32, 32, 48 ,0.85); 
  color: white;
  border: 4px solid darkred;
  font-size: large;

}

.selectedText {
  font-weight: bolder;
  color: yellowgreen;
}

.iframeMap {
  width: 96%;
  height: 550px;
  display: block;
  margin-left: 2%;
  margin-right: 2%;
  border: 2px solid darkgrey;
  
}