/* ARN common styles that replace already defined phpBB CSS
 ---------------------------------------------------------- */
body {
  font-size: medium;
}

#page-body {
  margin: auto;
}

td {
  vertical-align: top;
}

td.bottom {
  vertical-align: bottom;
  display: table-cell;
}

.button, .button1, .button2, .button3 {
  display: inline-block;
  color: black;
  padding: 2px 8px;
  background: linear-gradient(lightgray, darkgray);
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  user-select: none;
  border: 1px solid black;
  border-radius: 4px;
}

.button, .button1, .button3 {
  font-weight: bold;
}

a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover {
  border-color: red;
  color: black;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

a.button1:active, input.button1:active, a.button2:active, input.button2:active, input.button3:active {
  border-color: red;
  color: red;
  background: linear-gradient(darkgray, lightgray);
  box-shadow: none;
  transform: translateY(0);
}

.badge, .arn_warning {
  background-color: red;
  color: yellow;
}

table {
  text-align: left;
  vertical-align: top;
}

.inputbox:hover {
  border-color: #333333;
}

.inputbox:focus {
  border-color: red;
}

a:hover.no_background {
  background: transparent;
}

.topic-title {
  text-shadow: 2px 2px lightgray;
}

fieldset, .content, .author, .notice, .input, .content, .content p, .postbody h3, dl.file dt, dl.thumbnail dd, fieldset.polls, a.button1, input.button1, input.button3, a.button2, input.button2 {
  font-family: unset;
}

/* ARN common CSS not defined in phpBB
 ------------------------------------- */
.arn_article {
  padding: 12px;
  border-radius: 4px;
  background: darkgray;
  background: linear-gradient(lightgray, white);
}

.arn_inputbox, .arn_textbox {
  border: 1px solid transparent;
  padding: 4px;
  margin-bottom: 4px;
  background-color: white;
  border-color: slategrey;
}

.arn_textbox {
  width: 40em;
  height: 6em;
};

.arn_quickfind {
  font-size: 66%;
  color: slategrey;
  width: 66%;
}

#arn_quickfind_results {
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
}

.arn_inputbox:hover, .arn_inputbox:focus {
  border-color: red;
  background-color: #fffad8;
  box-shadow: 2px 2px 4px slategrey;
}

.arn_inputbox:hover, .arn_inputbox:focus, .arn_textbox:hover, .arn_textbox:focus {
  border-color: red;
  background-color: #fffad8;
  box-shadow: 2px 2px 4px slategrey;
}

.arn_heading {
  font-weight: bold;
  color: black;
  text-align: left;
  font-size: 1.4em;
  padding-right: 4px;
  padding-bottom: 4px;
  padding-left: 12px;
  padding-top: 6px;
  margin: 6px 0px 0px 0px;
}

.arn_gallery {
  vertical-align: top;
  text-align: left;
  display: inline-block;
  max-width: 215px;
  float: none;
  padding: 5px;
}

.arn_gallery_admin {
  vertical-align: top;
  text-align: left;
  display: inline-block;
  max-width: 500px;
  float: none;
  padding: 5px;
}

.arn_art_1_col {
  vertical-align: top;
  text-align: left;
  max-width: 96%;
  display: inline-block;
  float: none;
  padding: 5px;
  font-size: smaller;
}

.arn_art_2_col {
  vertical-align: top;
  text-align: left;
  max-width: 48%;
  display: inline-block;
  float: none;
  padding: 5px;
  font-size: smaller;
}

.arn_youtube_iframe {
  aspect-ratio: 16 / 9;
   height: auto;
   width: 100%;
}

.arn_centered,
{
text-align: center;
}

div.arn_centered, table.arn_centered {
  display: table;
  text-align: left;
  margin-top: 10px;
  margin-bottom: 0px;
  margin-left: auto;
  margin-right: auto;
}

div.arn_leftside, table.arn_leftside {
  display: table;
  text-align: left;
  margin: 10px;
  margin-bottom: 0px;
  margin-left: 0px;
}

ul.arn_simple {
  display: inline-block;
  list-style: none;
  margin: 0px;
  border: 0px;
}

ul.arn_bulleted {
  list-style: disc;
  padding-left: 20px;
  padding-bottom: 20px;
  border: 0px;
}

ol.arn_bulleted {
  padding-left: 20px;
  padding-bottom: 20px;
  border: 0px;
}

ol.arn_refs {
  display: inline-block;
  list-style-position: inside;
  margin: 0px;
  padding-left: 20px;
  padding-bottom: 20px;
  border: 0px;
}

ol.arn_refs li:first-child {
  list-style: none;
  font-weight: bold;
  list-style-position: outside;
}

.arn_shadow, .avatar

/*used mostly for img tags */
  {
  max-width: 100%;
  height: auto;
  border: 1px darkgray solid;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  display: block;
}

/* Image with caption beneath in floated right box */
p.arn_brox {
  text-align: right;
  float: right;
  margin: 10px;
  padding: 0px;
  font-size: 0.8em;
  max-width: 640px;
}

p.arn_blox {
  text-align: left;
  float: left;
  margin: 10px;
  padding: 0px;
  font-size: 0.8em;
  max-width: 640px;
}

.arn_tablerowtitle1 {
  font-weight: bold;
  height: 100%;
  text-align: right;
  background-color: #d0d0d0;
  min-width: 160px;
  max-width: 480px;
  padding: 2px 12px 4px 12px;
  margin: 0px 1px 0px 1px;
  border-radius: 2px 0px 0px 2px;
}

.arn_tablerowtitle2 {
  font-weight: bold;
  height: 100%;
  text-align: right;
  background-color: #b0b0b0;
  min-width: 160px;
  max-width: 480px;
  padding: 2px 12px 4px 12px;
  margin: 0px 1px 0px 1px;
  border-radius: 2px 0px 0px 2px;
}

.arn_tablerow1 {
  border: 0px;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
  vertical-align: top;
  background-color: #f0f0f0;
  padding: 1px 12px 2px 12px;
  margin: 0px;
  border-radius: 1px 1px 1px 1px;
}

.arn_tablerow2 {
  border: 0px;
  border-bottom: 1px solid #d8d8d8;
  text-align: left;
  vertical-align: top;
  background-color: #e8e8e8;
  padding: 1px 12px 2px 12px;
  margin: 0px;
  border-radius: 1px 1px 1px 1px;
}

.arn_no_wrap {
  white-space: nowrap;
}

.arn_floatright {
  float: right;
}

#arn_quickfind_results {
  text-align: left;
  z-index: 44;
  visibility: hidden;
  width: 98%;
  background: transparent;
  margin-top: 12px;
  margin-bottom: 24px;
}

#ajax_label_results {
  text-align: left;
  z-index: 45;
  visibility: hidden;
  width: 98%;
  border: 1px solid darkgray;
  padding: 12px 12px 12px 12px;
  background-color: lightgray;
  border-radius: 4px 4px 4px 4px;
  box-shadow: 0px 0px 32px green;
}

a:hover.no_background {
  background: transparent;
}

/* Usable area is 98% */
.arn_third {
  float: left;
  max-width: 32.5%;
  padding: 0px;
  margin: 0px;
  margin-right: .5%;
  border: 0px;
}

.arn_double_third {
  float: left;
  max-width: 65%;
  padding: 0px;
  margin: 0px;
  margin-right: .5%;
  border: 0px;
}

.arn_half {
  float: left;
  max-width: 47.5%;
  padding: 0px;
  margin: 0px;
  margin-right: .5%;
  border: 0px;
}

.arn_species_thumbs {
  float: left;
  width: 46%;
  max-width: 685px;
  padding: 0px;
  margin: 0px;
  margin-right: .5%;
  border: 0px;
}

.arn_species_narrow_thumbs {
  float: left;
  width: 32%;
  max-width: 685px;
  padding: 0px;
  margin: 0px;
  margin-right: .5%;
  border: 0px;
}

.arn_species_data {
  float: left;
  max-width: 50%;
  padding: 0px;
  margin: 0px;
  margin-right: .5%;
  border: 0px;
}

.arn_species_wide_data {
  float: left;
  max-width: 62%;
  padding: 0px;
  margin: 0px;
  margin-right: .5%;
  border: 0px;
}

.arn_shadow, .avatar

/*used mostly for img tags */
  {
  border: 1px black solid;
  box-shadow: 4px 4px 4px slategrey;
}

.down {
  float: right;
  padding-right: 10px;
}

.arn_suggest_link {
  background: transparent;
  padding: 2px 6px;
}

.arn_suggest_link_over {
  text-decoration: none;
  color: yellow;
  background: purple;
  padding: 2px 6px;
}

#arn_GoogleMap, #arn_GoogleMapContainer {
  height: 100%;
}

#arn_GoogleMap
{
  min-height: 640px;
  position: relative;
}

#arn_GoogleMapOverview
{
  position: relative;
  left: -5px;
  bottom: 170px;
  min-height: 175px;
  width: 175px;
}

/* The 2024 way todo tooltips */
.postbody .content {
  overflow-x: unset;
  /* Must be unset for tooltips to display properly in forum */
}

/* Tooltip container */
@property --angle {
  syntax: '<angle>';
  inherits: true;
  initial-value: -10deg;
}

@keyframes scene-transition {
  to {
    --angle: 370deg;
  }
}

.arn_tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dashed slategrey;
  /* under the link hoverable text */
}

.arn_tooltip .arn_tooltip_image,
.arn_tooltip .arn_tooltip_text {
  visibility: hidden;
  /* Need this to limit hover area to just the .tooltip */
  opacity: 0;
  /* Need these two lines for transition */
  transition: opacity .5s ease-in-out;
  width: max-content;
  max-width: 320px;
  top: -60px;
  left: 105%;
  text-align: left;
  padding: 5px;
  border-radius: 6px;
  z-index: 1;
  position: absolute;
  -webkit-mask-image:
    conic-gradient(#fff 0deg,
      #fff calc(var(--angle) - 10deg),
      transparent calc(var(--angle) + 10deg),
      transparent 360deg),
    conic-gradient(transparent 340deg,
      #fff 360deg);
}

/* Show the tooltip text when you mouse over the tooltip container */
.arn_tooltip:hover .arn_tooltip_image {
  visibility: visible;
  opacity: 100%;
  animation: scene-transition 1s linear forwards;
}

.arn_tooltip:hover .arn_tooltip_text {
  visibility: visible;
  opacity: 100%;
  padding: 12px;
  margin: 4px;
  border-radius: 4px;
  background: linear-gradient(lightgray, white);
  animation: scene-transition .001s linear forwards;
}

.arn_tooltip:hover .postbody, .content

/* Needed for tooltips in forum to work */
  {
  overflow: inherit;
}
