toaster {
  display: none;
  /*margin-top: 55px;*/
  /* padding: 75px 80px 0px 90px;*/
  padding: 10px 0px 10px 10px;

  background-color: #00000044;
  color: white;
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 1100;
  pointer-events: all;
}

.latest_reg td {
  /* Style for the latest registration in table */
  background-color: #caf0be;
}

.alert-summary-wrap {
  max-height: 80vh;
  overflow-y: auto;
}
/*.alert-summary {
}*/

/* Height for the select2 selection box */
.select2-container--default .select2-selection--single {
  height: 38px;
  min-height: 38px;
  line-height: 38px;
  box-sizing: border-box;
}

/* Vertically center the text and caret */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px;
}

.summary-close {
  min-width: 80px;
  font-size: 20px;
}
.toaster_msg {
  pointer-events: all;
}

.select2-selection__rendered {
  text-align: left;
}
section {
  display: none;
  padding-top: 20px;
}

table {
  font-size: 12pt;
}
table thead {
  background-color: #7a75b7;
}

#meriking_form label {
  font-size: 13px;
  font-family: Calibri;
  font-weight: bold;
  text-wrap: nowrap;
}
.btn-rmtool {
  margin: 0px;
  padding: 2px;
}

.btn-form {
  background-color: #cff3eb3c;
  color: black;
  border-color: gray;
}

.rmform_set {
  background-color: #c1f182;
  color: black;
}

.rmedit {
  color: #3a33a5;
  font-size: 22px;
  margin-top: 5px;
  display: inline-block;
  text-align: center;
}
.rmdelete {
  color: #a53333;
  font-size: 22px;
  margin-top: 5px;
  display: inline-block;
  text-align: center;
}

.rmtransfer {
  color: #2a5bc4;
  font-size: 22px;
  margin-top: 5px;
  display: inline-block;
  text-align: center;
}

.btn-mm {
  color: #fff;
  background-color: rgb(68, 135, 146);
  border-color: black;
}
.btn-mm:hover {
  color: #fff;
  background-color: rgb(109, 158, 163);
  border-color: black;
}

.btn-mmtool {
  margin-right: 15px;
  margin-bottom: 3px;
}

.btn-rm-action {
  color: #fff;
  background-color: #7a75b7;
  border-color: black;
  margin-right: 15px;
  margin-bottom: 3px;
}

.btn-cancel {
  background-color: #b7b575;
}
.btn-cancel:hover {
  background-color: #c5c5a3;
}

.rmform {
  /* background-color: #fcffff;*/
  border-bottom: 1px solid #7a75b7;
  margin-bottom: 5px;
  padding-bottom: 5px;
  padding-top: 5px;
}

.app_wrap {
  background: linear-gradient(to bottom, #edf3fd, #ffffff);
  /*background: linear-gradient(to bottom, #f7edfd, #ffffff);*/
  min-height: 100%;
}

.table {
  background-color: #fff;
}
.rm_error {
  background-color: #fcd2dc;
}
.rm_form_error {
  color: rgb(255, 44, 44);
  font-size: 1em;
}

.rm_form_text {
  line-height: 36px;
}

.material-icons {
  vertical-align: middle;
  line-height: 0 !important;
  position: relative;
  top: -1px;
}

.datepicker thead {
  background-color: transparent;
}

/* ################ */

.form-label-group input:not(:placeholder-shown) ~ label,
.form-label-group input:-webkit-autofill ~ label /* <<<< Add these */ {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 12px;
  color: #777;
}

html,
body {
  height: 100%;

  font-family: "Cantarell", Corbel, Arial sans-serif;
}

/* fiks plagsom sak fra bootbox som er ment å ordne noe med scrollbar */
body.modal-open {
  padding-right: 0 !important;
}

.form-signin {
  width: 100%;
  max-width: 420px;
  padding: 15px;
  margin: auto;
}

.form-label-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-label-group > input,
.form-label-group > label {
  height: 3.125rem;
  padding: 0.75rem;
}

.form-label-group > label {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  margin-bottom: 0; /* Override default `<label>` margin */
  line-height: 1.5;
  color: #495057;
  pointer-events: none;
  cursor: text; /* Match the input under the label */
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: all 0.1s ease-in-out;
}

.form-label-group input::-webkit-input-placeholder {
  color: transparent;
}

.form-label-group input:-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-moz-placeholder {
  color: transparent;
}

.form-label-group input::placeholder {
  color: transparent;
}

.form-label-group input:not(:placeholder-shown) {
  padding-top: 1.25rem;
  padding-bottom: 0.25rem;
}

.form-label-group input:not(:placeholder-shown) ~ label {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 12px;
  color: #777;
}

.ringing_species_list_wrap {
  display: flex;
  flex-direction: column;
}

.ringing_ring_list_row {
  font-size: 10pt;
  background-color: #b3bae133;
  cursor: pointer;
}

.ringing_species_search_results {
  max-height: 35vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.ringing_ring_list_wrap {
  flex: 1; /* Each row takes up equal height */
  display: flex;
  flex-direction: column;
  max-height: 45vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.ringing_ring_modal {
  font-size: 11pt;
}

.modal_link {
  margin-left: 5px;
  color: #3a33a5;
  text-decoration: underline;
}

.foto_preview {
  max-width: 100px;
  margin-right: 5px;
  float: left;
}

.ringing_species_foto_preview {
}

.ringing_species_foto_results {
  text-align: left;
  border-top: 1px solid black;
  padding: 5px;
}

.styled-scrollbars {
}

.ringing_species_recent {
  border-top: 4px solid #7a75b7;
  background-color: #e5e6ec;
  max-height: 35vh;
  flex: 1; /* Each row takes up equal height */
  display: flex;
  flex-direction: column;

  overflow-y: auto;
  overflow-x: hidden;
}
.search_res {
  text-align: left;
  cursor: pointer;
  padding: 8px;
  border-bottom: 1px solid #ccc;
  margin: 4px 0;
}
.modal-content {
  background-color: #f8f9ff;
  /* background: linear-gradient(to bottom, #dee0ec, #ffffff);*/
  color: black;
  border-radius: 0.5em !important;
  filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.75));
}

.modal-dialog {
  min-width: 60vw;
}
.bootbox-body {
  min-height: 30vh;
  max-height: 80%;

  overflow-y: auto !important;
  overflow-x: hidden;
}

/* Fallback for Edge
  -------------------------------------------------- */
@supports (-ms-ime-align: auto) {
  .form-label-group > label {
    display: none;
  }
  .form-label-group input::-ms-input-placeholder {
    color: #777;
  }
}

/* Fallback for IE
  -------------------------------------------------- */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .form-label-group > label {
    display: none;
  }
  .form-label-group input:-ms-input-placeholder {
    color: #777;
  }
}

.btn-check::before {
  content: "check_box_outline_blank"; /* Material Icon text for an unchecked box */
  font-family: "Material Icons";
  left: 4px; /* Position to the left of the text */
  font-size: 18px;
  color: gray; /* Set color for the unchecked icon */
  padding-right: 8px; /* Space between icon and text */
}

/* When rmform_set is present, change the icon to a checkmark */
.btn-check.rmform_set::before {
  content: "check"; /* Change to a checkmark icon */
}

.rings_table_other_title {
  font-size: 16px;
  margin-top: 5px;
}

.species_flex {
  display: flex;
  width: 100%;
}
.species_flex_left {
  max-width: 150px;
}
.species_flex_right {
  max-height: 55vh;
  overflow-y: auto;
}

@-webkit-keyframes fadeIt {
  0% {
    background-color: #ffffff;
    opacity: 1;
  }
  50% {
    background-color: #bb46f247;
    opacity: 0.5;
  }
  100% {
    background-color: #ffffff;
    opacity: 1;
  }
}

.loading {
  background-image: none !important;
  -webkit-animation: fadeIt 1s infinite;
  animation: fadeIt 1.5s infinite;
  border: 2px dashed #000;
}

.loading::before {
  content: "...";
  color: #000;
  font-size: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* style for mobile */
@media only screen and (max-width: 767px) {
  .rmform .row {
    border-bottom: 1px dashed rgb(68, 65, 65);
    padding-bottom: 5px;
    margin-bottom: 5px;
  }
}

.gmap_marker {
  background-color: hotpink;
  color: #da4c0a;
  width: 40px;
  height: 50px;
  /* padding: 5px 10px;*/
  filter: drop-shadow(0px 0px -5px rgba(0, 0, 0, 0.75));
  /*border-radius: 5px;*/
}

/* ################ */

/* STYLES for embedded IMAGE in row/max 100%*/
.embed_wrap {
  position: relative;
  margin: 0 auto;

  max-width: 1000px;
  max-height: 1000px;

  margin-bottom: 40px;

  user-select: none;
}
.embed_wrap img {
  user-select: none;
  position: relative;
  /* cursor: url("data:image/svg+xml,%3Csvg width='23' height='23' viewBox='0 0 23 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.2444 11.3203H22.8718M11.5581 0.006558V22.634' stroke='hotpink' stroke-width='2'/%3E%3C/svg%3E") 12.5 12.5, crosshair;*/
  color: black;
}

.embed_image {
  margin: 0 auto;
}

.embed_point {
  margin: 0 auto;
  padding: 5px;
  border-radius: 5px;
  min-height: 38px;
  min-width: 35%;
  position: absolute;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.embed_point_neck {
  min-width: 50%;
  padding-right: 20px;
}

.embed_error {
  color: black;
  position: absolute;
  top: 30%;
  left: 15%;
  width: 70%;
  background-color: #daa5b0;
  padding: 10px;
  border-radius: 5px;
}

/* Radio select for the ringing colorring modal */
.embed_radio_nocolor label {
  display: inline-block;
  font-size: 14px;
  width: 30px;
  text-align: center;
  padding: 5px;
  border: dashed 4px rgb(136, 136, 136, 0.5);
  outline: 2px solid white;
  transition: all 0.3s;
  opacity: 0.7;
}

.embed_radio_nocolor input[type="radio"] {
  display: none;
}

.embed_radio_nocolor input[type="radio"] + label {
  /*border: dashed 2px gray;*/
}

.embed_radio_nocolor input[type="radio"]:checked + label {
  border: solid 4px black;
  outline: 2px solid black;
  opacity: 1;
}
.embed_radio_nocolor input[type="radio"][value="N"]:checked + label {
  border: solid 4px white;
}

.colorring_modal_flag {
  width: 50px;
}

/* End: colorring modal */

.datepicker-days td.disabled.day {
  color: #b00f0f; /* Or any color you want */
  /* Any other styles you wish to add */
}

/* ringing, map tabs */
.ringing_map_modal_tabs {
  margin-left: 20px;
}
.ringing_map_modal_tabs.nav-tabs {
  border: none;
}

.ringing_map_modal_tabs .nav-item {
  cursor: pointer;
  background-color: transparent;
  border: none;
  line-height: 1;
}
.ringing_map_modal_tabs .nav-link {
  background-color: transparent;
  color: black;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  margin: 0 5px;
}
.ringing_map_modal_tabs .nav-link.active {
  background-color: #aee28a;
  color: black;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  margin: 0 5px;
}

.biometry_list_item {
  padding: 3px;
  margin-left: 12px;
  margin-right: 20px;
  align-self: stretch;
  align-items: center;
}
.biometry_list_item select {
  max-width: 300px;
}
.biometry_list_item div {
  display: flex;
  align-items: center;
  gap: 10px; /* Adjust spacing */
}

.biometry_list_item label {
  white-space: nowrap; /* Prevents label from wrapping */
}

.mb-2 {
  margin-bottom: 0.2rem !important;
}

/* CUSTOM TAB IN RINGING MAP MODAL */
/* Litt strammere spacing og inline-minititler */
.form-row-condensed .col-form-label {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.form-row-condensed .form-control {
  height: calc(1.5em + 0.5rem + 2px);
  padding: 0.125rem 0.5rem;
}
.w-ch-4 {
  width: 4ch;
}
.w-ch-6 {
  width: 6ch;
}
.w-ch-8 {
  width: 8ch;
}
.w-ch-10 {
  width: 10ch;
}
.w-ch-12 {
  width: 12ch;
}
.mr-6 {
  margin-right: 0.6rem;
} /* litt tettere enn mr-2 */

.pos_convert {
  cursor: pointer;
  text-decoration: underline;
  color: #3a33a5;
}

/* CUSTOM rae */

.amin_rae_export {
  height: 300px;
  overflow: auto; /* or hidden, if you prefer */

  position: relative; /* stays in flow */
  width: 95vw; /* never wider than the page/container */
}

.admin_rae_history_comment {
  word-break: break-all;
  cursor: pointer;
  max-height: 3.6em;
  overflow: hidden;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.admin_rae_history_comment.expanded {
  max-height: none;
  cursor: default;
  -webkit-line-clamp: unset;
}
