/**
 * @source    media/css/tetradatlas.css
 * @copyright	Copyright (C) 2026 Garganey Consulting. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */


fieldset.adminform-species label {
  min-width: 160px !important;
}

.view-tetradupload input[type="radio"],
.view-atlasupload input[type="radio"] {
	margin: 0 4px 3px 8px;
}
.view-tetradupload ul,
.view-atlasupload ul,
.view-habitatfeatureupload ul,
.tetradatlas-nav-pane ul {
	list-style-type: none;
}
   
.italic {
  font-style: italic;
}
p.secondary-title {
  margin: 3px 0 0 6px;
} 

ul.adminformlist ul {
  padding-left: 20px !important;
}
ul.adminformlist ul li label {
  width: 160px !important;
}
.com_tetradatlas .map-grid {
  display: grid; 
  grid-gap: 20px;
  grid-template-columns: none; /* over-ridden by config paramaters */ 
}
.com-tetradatlas .map-grid div.column-1 {order: 1;}
.com-tetradatlas .map-grid div.column-2 {order: 2;}
.com-tetradatlas .map-grid div.column-3 {order: 3;}

.tetradatlas-nav-pane h3 {
  color: #fff;
  font-size: 16px;
}
.tetradatlas-table {
  float: right;
/*  width: 673px; */
}

table#species-table1 {
  font-size: 12px;
  border-collapse: collapse;
}
table#species-table1 td {
  width: 167px;
  border: 1px solid #D4CEB9;
  padding: 0;
}
table#species-table1 img {
	padding: 4px 4px 0 0;
}
.tetradatlas-map {
  background-repeat: no-repeat;
  margin-top: 10px;
}
.tetradatlas-map-pane h2,
.tetradatlas-table h2 {
	padding: 4px 0 0 0;
	font-size: 1.857em; /* 26px */
}
.tetradatlas-map-pane h2 span {
  font-weight: normal;
  font-size: 0.75em; 
  font-style: italic;
}
.view-distcomparison h2 span,
.view-habcomparison h2 span {
	font-style: inherit;
	font-size: 0.972em;
	color: inherit;
	width: 335px;
	float: right;	
}
.tetradatlas-map-pane h3,
.tetradatlas-table h3 {
	padding: 2px 0 0 0;
	font-size: 1.429em; /* 20px */
}
.tetradatlas-table h3 {
	padding-bottom: 8px;
}
.view-distcomparison h3 span,
.view-habcomparison h3 span {
	width: 335px;
	float: right;	
}
.tetradatlas-map-pane {
  height: auto;
	position: relative; /* allow absolute positioning of children */
	margin-bottom: 32px;
}
.tetradatlas-map-pane img {
	box-sizing: content-box;
}

.tetradatlas-map-pane div.habitats {
  position: absolute; 
  left: 0;
  bottom: 0;
  z-index: 20;
  padding: 0 5px 2px 5px;
  background: #fff;
}
.tetradatlas-map-pane div.habitats p {
	margin: 3px 0 -3px 0;
}
.tetradatlas-map-pane div.habitats ul {
  list-style-type: none;
  margin: 2px 0 0 0;
  padding-left: 0;
}
.tetradatlas-map-pane div.habitats li {
  height: 18px;
}
.tetradatlas-map-pane div.habitats ul span {
  padding-left: 4px;
  font-size: 0.8em;
  vertical-align: top;
}
.tetradatlas-map-pane div.habitats ul span input {
  margin-right: 5px;
}

.tetradatlas-map-pane div.credits {
  position: absolute;
  right: 10px;
  bottom: -16px; 
	font-size: 0.5625rem;
	line-height: 1.2em;
  z-index: 20;	
}
.tetradatlas-map-pane div.credits p {
	margin-top: 6px;
}
.tetradatlas-map {
  position: relative;
  height: auto;
}
.tetradatlas-map .underlay {
	display: none;
	position: absolute;
}
.tetradatlas-nav-pane,
.tetradatlas-nav-adjacent,
.tetradatlas-counts,
.tetradatlas-description {
  position: relative;
  line-height: 24px;
  border: 1px solid #202020;
  margin: 6px 0;
}
.tetradatlas-counts {
  padding-bottom: 4px;
}
.tetradatlas-nav-pane h3,
.tetradatlas-nav-adjacent h3,
.tetradatlas-counts h3,
.tetradatlas-description h3 {
  text-align: center;
  font-size: 1rem;
}
.tetradatlas-nav-pane li {
  font-size: 0.9em;
  padding: 0 6px;
}
.tetradatlas-counts img {
	margin-bottom: 3px;
	vertical-align: top;
}
.tetradatlas-counts p.total {
  border-top: 2px solid #202020; 
}
.tetradatlas-counts p {
  display: inline;
  line-height: 20px;
  font-size: 0.8em;
  margin: 0;
  position: absolute;
}
.tetradatlas-counts p.c1 {
  padding: 4px 0 0 4px;
  width: 15px;
}
.tetradatlas-counts p.c2 {
  padding: 0 0 0 4px;
  left: 23px;
  width: 114px;
}
.tetradatlas-counts p.c3 {
  padding: 0 0 0 4px;
  left: 110px;
  width: 58px;
  text-align: right;
}
.tetradatlas-counts p.c4 {
  padding: 0 0 0 4px;
  left: 148px;
  width: 58px;
  text-align: right;
}
.tetradatlas-counts p.c2c3 {
  padding: 0;
  left: 23px;
  width: 172px;
  text-align: left;
}
.tetradatlas-counts p.c3c4 {
  padding: 0;
  right: 18px;
  text-align: right;
}
.tetradatlas-counts p.c2c3c4 {
  padding: 0;
  right: 18px;
  text-align: left;
}
.tetradatlas-counts p.caveat {
	padding: 26px 10px 4px 14px;
	display: block;
	position: relative;
	line-height: 1.2em;
}
.tetradatlas-description p {
  padding: 4px 10px 10px 10px;
  font-size: 0.875em;
  line-height: 1.2em;	
}

.tetradatlas-table a {
	display: block;
	padding: 0 0 0 4px;
}
.tetradatlas-table a:not([class]) {
  text-decoration: none;
}
.tetradatlas-table a:hover {
	color: #202020;
	background: #c0c0c0;
	text-decoration: none;
}
.tetradatlas-table a img {
	float: right;
}
.hints {
  position: absolute;
  bottom: 0;
  margin: 0 0 -2px 0;
  background: #FFF;
  border: 1px solid #d4ceb9;
}
.hints p {
  padding: 2px 6px 4px 6px;
  font-size: 0.65em;
}
.hints p span {
  border-bottom: 1px dashed;
}
span.zoom {
	border: 1px solid #808080; 
	border-radius: 5px;
	background: #c0c0c0;
	margin-right: 10px; 
	padding: 2px 8px;
}
span.zoom a {
	color: #202020;
	font-size: 0.875em;
}
.acknowledgement {
  position: absolute;
  bottom: 0;
  left: 200px;
  width: 112px;
  font-size: 0.65em;
}
.tetradatlas-warning {
	color: #FF0000;
	font-weight: bold;
}
.tetradatlas-nav-adjacent table {
    border-collapse: collapse;
    font-size: 0.7em;
    height: 160px;
    margin: 4px 0 0 0;
    width: 212px;
}
.tetradatlas-nav-adjacent table tr {
    margin: 0;
    padding: 0;
}
.tetradatlas-nav-adjacent table tr td.thistetrad {
    background-color: #c0c0c0;
    color: #202020;
}
.tetradatlas-nav-adjacent table tr td {
    border: 1px solid #d4ceb9;
    height: 67px;
    width: 67px;
}
.tetradatlas-nav-adjacent table tr td a, 
.tetradatlas-nav-adjacent table tr td p {
    display: block;
    font-size: 1.33em;
    height: 67px;
    width: 67px;
    margin: 0;
    padding: 23px 0;
    text-align: center;
    text-decoration: none;
}
.tetradatlas-nav-adjacent table tr td a:hover {
	background: #c0c0c0;
	color: #202020;
}

div.header {
	height: 34px;
}
div.main div.header-right {
	height: 108px;
	margin-top: -102px;
}
div.main div.header-right span {
  font-size: 0.875em;
  padding: 0 4px 0 8px;
}
div.main .main-right {
	margin-top: 10px;
}
.map-controls,
.table-controls,
.summary-controls {
	margin: 6px 0 0 0; 
	padding: 2px 5px 2px 5px; 
	position: relative;
}
.map-controls .select-error,
.table-controls .select-error,
.summary-controls .select-error {
	background-color: #FF4444;
}
.map-controls span,
.table-controls span,
.summary-controls span {
  display: block;
  font-size: 1rem;
  margin: 10px 0;
  font-weight: 500;  
}
.map-controls select,
.table-controls select,
.summary-controls select {
	margin-left: 2px;
	width: 100%;
	margin-top: 4px;
}

.species-seq button {
	font-size: 1em;
	vertical-align: top;
  border-radius: 4px;
  width: 100px;
}
.species-seq button.active {
  background: #fff;
  color: #a0a0a0;
}

.map-control-button button,
.table-control-button button,
.summary-control-button button {
  width: 100%;
  height: 30px;
  border-radius: 4px;
}
p.under-development {
	position: absolute;
	top: 250px;
	left: 100px;
	font-size: 40px;
	z-index: 100;
}