:root{
  --icbf-snow-white: #fff !important;
  --icbf-black: #000;
  --icbf-grey: rgba(0, 0, 0, 0.05);
  --icbf-thumper-grey: rgba(0, 0, 0, 0.2);
  --icbf-charcoal: #555;
  --icbf-rhino-grey: rgba(0,0,0,0.5);
  --icbf-battleship-grey: rgba(0, 0, 0, 0.4);
  --icbf-mist-grey: #ccc;
  --icbf-smoke-grey: #e6e6e6;
  --icbf-silver: #ddd;
  --icbf-tramp-grey: #eee;
  --icbf-dumbo-grey: rgba(0, 0, 0, 0.3);
  --icbf-ice-grey: rgba(0, 0, 0, 0.08);
  --icbf-form-grey: #212529;
  --icbf-off-white: rgba(0,0,0, 0.0235);
  --icbf-dull-white: rgba(0,0,0, 0.05);
  --icbf-definitely-white: #f9f9f9;
  --icbf-squint-white: #f4f4f4;
  --icbf-form-white: #dee2e6;
  /* reds */
  --icbf-wine-red: #9e0908 !important;
  --icbf-danger-red: #9d261d !important;
  --icbf-cherry-red: #b94a48 !important;
  --icbf-error-red: #DC3545 !important;
  --icbf-light-red: #f4c8c5 !important;
  /* oranges */
  --icbf-orange:#f5980e !important;
  --icbf-light-orange:#fad0a9 !important;
  /* yellows */
  /* --icbf-brown:#856514 !important; */
  --icbf-mud-brown: #664D00 !important;
  --icbf-bumblebee-yellow: #E0A800 !important;
  --icbf-desert-yellow: #FFC107 !important;
  --icbf-minion-yellow: #FAE033 !important;
  --icbf-sunflower-yellow: #ffee8c !important;
  --icbf-sunshine-yellow: #fefad4cc !important;
  --icbf-light-yellow:#fff6d9 !important;
  /* greens */
  /* --icbf-forest: #436e43 !important; */
  --icbf-springboks-green: #468847 !important;
  --icbf-fiona-green: #198754 !important;
  --icbf-pascal-green: #009933 !important;
  --icbf-green:#46a546 !important;
  --icbf-lime: #6ead2b !important;
  --icbf-tinker-green:#6eac2c !important;
  --icbf-light-green: #9cdb59 !important;
  --icbf-cucumber-green: #cdeacd !important;
  --icbf-melon-green: #d6e9c6 !important;
  --icbf-mint-green: #dff0d8 !important;
  /* blues */
  --icbf-deep-blue: #386cac !important;
  --icbf-blue: #2d69a8 !important;
  --icbf-teal: #026890 !important;
  /* --icbf-ocean: #336e7b !important; */
  --icbf-stitch-blue: #448dae !important;
  --icbf-link-blue: #007AB8 !important;
  --icbf-dory-blue: #0088cc !important;
  --icbf-monday-blue: #4297d7 !important;
  --icbf-genie-blue: #2191c0 !important;
  --icbf-wendy-blue: #5e9ed6 !important;
  --icbf-storm-blue: #7EA4BE !important;
  --icbf-jasmine-blue: #80bdff !important;
  --icbf-lavender-blue: rgba(0, 123, 255, 0.25) !important;
  --icbf-bubblegum-blue: #6dd8ff !important;
  --icbf-light-blue: #77d5f7 !important;
  --icbf-baby-blue:#CAE5FF  !important;
  --icbf-wind-blue: #79c9ec !important;
  --icbf-elsa-blue: #cff4fc !important;
  --icbf-powder-blue: #eaf5f7 !important;
  /* purples */
  --icbf-purple: #6f42c1 !important;
  --icbf-light-purple: #f5f0ff !important;
  /* pinks */
  --icbf-light-pink: #ffd1dc !important;
  --icbf-ballerina-pink: #f2dede !important;
  --icbf-dirty-pink: #eed3d7 !important;

}

.page-header .text-secondary {
  margin-top: 1em;
}
.page-header .divider {
  padding-top: 0.2em;
}
.page-header h4 {
  margin-right: 0.5em;
}

.evaluations h4 {
	font-size: 14px;
}


/* =============================================================================
   DATABOX
   ========================================================================== */

.databox-mobile h3 {
    text-align: left;
    padding: 5px;
    border-bottom: 1px solid #ccc;
}

@media (max-width: 991px) {
    .databox-mobile h3 {
        background-color: var(--icbf-blue);
        color: white;
        border-bottom: 1px solid var(--icbf-blue);
    }
}

.databox {
  margin-left: 0;
  margin-top: 0;
  border: 1px #ddd solid;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -o-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
  color: #555;
  margin-bottom: 20px;
  background: #fff;
  padding-bottom: 1px;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
  font-size: 12px;
}

.databox h3 {
  text-align: left;
  border: none;
  border-bottom: 1px #ccc solid;
  padding: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 26px;
}

.databox p {
  padding-right: 1em;
  padding-left: 1em;
}

.compact.databox h3 {
  border-bottom: 1px #ddd solid;
  padding: 5px 15px;
  margin-bottom: 10px;
  text-align: left;
}

.databox .btn {
  margin-left: 1em;
}

.datarow {
  margin-bottom: 14px;
  min-height: 29px;
}
.compact .datarow {
  line-height: 28px;
  margin-bottom: 10px;
}

.datarow label {
  font-size: 13px;
  line-height: 16px;
  float: left;
  width: 140px;
  padding-left: 10px;
  text-align: left;
  color: #404040;
}
.small .datarow label {
  width: 140px;
}
.medium .datarow label {
  width: 190px;
}
.large .datarow label {
  width: 230px;
}

.datarow .detail {
  margin-left: 240px;
  line-height: 19px;
}

.medium .datarow .detail {
  margin-left: 200px;
}

.small .datarow .detail {
  margin-left: 150px;
}

.compact .datarow .detail {
  margin-left: 150px;
  line-height: 19px;
}

.datarow .detail span {
  padding-left: 10px;
  display: inline-block;
}

.compact .datarow label {
  padding-top: 0px;
  font-size: 12px;
  float: left;
  width: 100px;
  padding-left: 10px;
  text-align: left;
  color: #404040;
  font-weight: bold;
  position: absolute;
}

.compact .datarow .detail {
  padding-left: 100px;
  margin-left: 0;
  padding-top: 0;
}

/* added start compactwide by E fitz 15-oct-14
   the compact label was too small\ narrow . Gave it a wider width allowing 20 characters and then wordwrapping
  without affecting the detail div
  */
.compactwide .databox h3 {
  border-bottom: 1px #ddd solid;
  padding: 5px 15px;
  margin-bottom: 10px;
  text-align: left;
  word-wrap: break-word;
}

.compactwide .datarow {
  line-height: 28px;
  margin-bottom: 10px;
}

.compactwide .datarow label {
  padding-top: 0px;
  font-size: 12px;
  float: left;
  width: 140px;
  padding-left: 10px;
  text-align: left;
  color: #404040;
  font-weight: bold;
  /*  position:absolute; commenting out for now as it is breaking accordian */
  word-wrap: break-word;
}

.compactwide .datarow .detail {
  padding-left: 150px;
  margin-left: 0;
  padding-top: 0;
  word-wrap: break-word;
}

/* added end compactwide by E fitz 15-oct-14 */

.databox ul {
  margin-bottom: 0;
}

.databox li {
  margin: 10px 0;
}

.databox .more {
  text-align: right;
  display: block;
  padding: 10px;
}

.databox .control-label {
  font-weight: bold;
}

.databox .control-group {
  padding: 0 10px;
}

.databox .form-search {
  padding: 0 10px;
  margin-bottom: 10px;
}

.editable form {
  margin: 0;
}

.compact .datarow {
  margin-bottom: 12px;
}
.edit-submit {
  margin: 0 10px;
}
.datarow label {
  font-weight: bold;
}
.datarow .edit-button {
  opacity: 0.4;
  margin: 0 10px;
}
.datarow:hover .edit-button {
  opacity: 1;
}

.datarow .detail span.editable-field-validation-error {
  display: block;
  color: #aa0000;
}


/* =============================================================================
   Data Tables Responsive Expanding Row
   ========================================================================== */

table.dataTable > tbody > tr.child ul.dtr-details {
    list-style-type: none;
    padding: 0;
    line-height: 2;
}

table.dataTable > tbody > tr.child ul.dtr-details li {
    display: flex;
    align-items: center;
}

table.dataTable > tbody > tr.child span.dtr-title {
    flex: 0 0 auto; 
    width: 150px; 
    margin-right: 10px; 
}

table.dataTable > tbody > tr.child span.dtr-data {
    flex: 1 1 auto; 
}

/*-------------*/

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
}


/* Side menu for use with Sensor Admin */
.sidemenu-parent-container {
	margin-bottom: 50px;
}

.sidemenu-container {
	float: left; 
	min-width: 260px; 
	width: auto; 
	margin-right: 10px;
}

.sidemenu-details-container {
	overflow: hidden;
}

.sidemenu-container .tree {
	padding: 10px 10px 0px 10px; 
	min-height: 390px;
}

.sidemenu-details-container .databox {
	min-height: 400px;
}

.sidemenu-details-container h3 {
	padding-left: 10px;
}

.sidemenu-details-container .databox-content {
	padding: 0px 10px;
}

/* ---------------------------------------------------------------------------------------------------
    Modal Overflow Table
   ---------------------------------------------------------------------------------------------------*/

   table.table-bs-overflow {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    table-layout: auto;
}

table.table-bs-overflow th {
    font-size: 1em;
    font-weight: bold;
    text-align: left;
    padding: 0.75em;
    color: black;
    border: 1px solid #ddd;
}

table.table-bs-overflow td {
    font-size: 0.9em;
    padding: 0.75em;
    border: 1px solid #ddd;
    color: #333;
}

table.table-bs-overflow tbody tr:nth-child(odd) td {
    background-color: rgba(0, 0, 0, 0.04);
}

/* Full Table Styling on Larger Screens (Desktop) */
@media (min-width: 768px) {
    table.table-bs-overflow th,
    table.table-bs-overflow td {
        display: table-cell;
        padding: 0.75em;
        text-align: center;
    }

    table.table-bs-overflow thead {
        display: table-header-group;
    }
}

@media (max-width: 767px) {
    /* Hide the table header */
    table.table-bs-overflow thead {
        display: none;
    }

    /* Convert rows to card layout */
    table.table-bs-overflow tbody tr {
        display: block;
        margin-bottom: 10px;
        padding: 10px;
        background-color: #fff;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }

    /* Display each cell as a block with labels on the left */
    table.table-bs-overflow tbody td[header-label] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5em 0.5em;
        border: none;
        border-bottom: 1px solid #ddd;
        text-align: left;
        position: relative;
    }

    /* Use the header-label attribute as the label for each cell */
    table.table-bs-overflow tbody td[header-label]::before {
        content: attr(header-label);
        font-weight: bold;
        color: black;
        flex: 1;
        padding-right: 10px;
    }

    /* Cells without a header-label*/
    table.table-bs-overflow tbody td:not([header-label]) {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0.5em 0.5em;
        margin: 0;
        text-align: center;
        border: none;
        border-bottom: 1px solid #ddd;
    }

    /* Style the button itself for centering within the card */
    table.table-bs-overflow tbody td:not([header-label]) button {
        margin: 0 auto; /* Center the button */
        display: block;
    }

    /* Style the button itself for centering within the card */
    table.table-bs-overflow tbody td:not([header-label]) .btn-of-single {
        width: 100%;
        box-sizing: border-box;
    }

    /* Remove border and shadow for the card (no outer border) */
    table.table-bs-overflow tbody tr {
        box-shadow: none;
        border: none;
    }

    /* Remove bottom border for the last cell in each row */
    table.table-bs-overflow tbody tr td:last-child {
        border-bottom: none;
    }
}

/* ---------------------------------------------------------
Custom CSS to make all card headers look the same 
------------------------------------------------------------*/

.card-header{
  background-color: var(--icbf-blue) ;
  color: white !important;
  font-size: 16px;
  display: block;
  font-weight: bold;
  margin-bottom: 0em;
}

.card-header-clear{
  background-color: white ;
  color: black !important;
  font-size: 16px;
  display: block;
  font-weight: bold;
  margin-bottom: 0em;
}

/* -------------------------------------------------------
Custom CSS for small tables with rounded corners 
----------------------------------------------------------*/
.small-table-rounded>thead>tr>th{
        
  border-top-left-radius: var(--bs-border-radius) !important;
  border-top-right-radius: var(--bs-border-radius) !important;
  background-color: var(--icbf-blue) !important;
  color: white !important;
  text-align: center;
  font-size: 16px;
  margin-bottom: 0;
  font-weight: bold;
}
.small-table-rounded>tbody,
.small-table-rounded>tbody>tr>td{
  border: 1px solid var(--icbf-mist-grey) !important;
}

/* --------------------------------------------------------
Custom CSS to style all input fields like Bootstrap's form-control
---------------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"] {
  display: block;
  padding: 0.375rem 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--icbf-form-grey);
  appearance: none;
  background-color: white;
  background-clip: padding-box;
  border: 1px solid var(--icbf-form-white);
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus {
  border-color: var(--icbf-jasmine-blue);
  outline: 0;
  box-shadow: 0 0 0 0.2rem var(--icbf-lavender-blue);
  }

select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
 
  display: block;
  width: 100%;
  padding: .375rem 2.25rem .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--icbf-form-grey);
  appearance: none;
  background-color: white;
  background-image: var(--bs-form-select-bg-img);
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
  border: 1px solid var(--icbf-form-white);
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }


select:focus {
  border-color: var(--icbf-jasmine-blue);
  outline: 0;
  box-shadow: 0 0 0 0.2rem var(--icbf-lavender-blue);
  }

/* Custom CSS for link to ensure they pass the standard  */
a{
  color: var(--icbf-link-blue);
}

/* ---------------------------------------------------------------------
Custom CSS for button suits
------------------------------------------------------------------------*/

/* The styling for the button itself */
.icbf-button-styling{
  border:  var(--icbf-blue) 1px  solid !important;
  box-shadow: #8080802b 1px 2px 7px;
  border-radius: 10px;
  transition: background-color 0.3s ease;
  color: var(--icbf-blue);
  min-height: 84px;
  font-size: 16px;
  font-weight: bolder;
  padding: 2;
  text-align: center;
}

.icbf-button-styling:hover{
  border-color: var(--icbf-jasmine-blue);
  outline: 0;
  box-shadow: 0 0 0 0.2rem var(--icbf-lavender-blue);
}

.list-group-item {
  padding: 15px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  margin-bottom: 4px;
  padding: 0;
}

/* Styling for the image, if it gets used */
.image-column {
  margin: 1px;
  padding: 0;
  min-height: 82px;
  background-color: var(--icbf-snow-white);
  border-right: 1px var(--icbf-blue) solid;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 82px;
}

.image-column-noline {
  margin: 1px;
  padding: 0;
  min-height: 82px;
  background-color: var(--icbf-snow-white);
  border-right: 1px var(--icbf-snow-white) solid;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 82px;
}

/* Tooltip information icon */
.bi-info-circle {
  color: white;
  cursor: pointer;
}

/* ============================================================================
Clear table
=============================================================================== */
.small-table-clear>thead>tr>th{
  background-color: var(--icbf-tramp-grey) !important;
  text-align: center;
  margin-bottom: 0;
  font-weight: bold;
  border: 1px solid var(--icbf-mist-grey) !important;
}

.small-table-clear>tbody,
.small-table-clear>tbody>tr>td{
  border: 1px solid var(--icbf-mist-grey) !important;
}


/* =============================================================================
Main Colours
========================================================================== */

.bg-red{
  background-color: var(--icbf-error-red) !important;
  color: white !important;
}

.bg-dark-red{
  background-color: var(--icbf-wine-red) !important;
  color: white !important;
}

.bg-red-subtle,
.bg-danger-subtle{
  background-color: var(--icbf-light-red) !important;
}

.text-orange{
  color: var(--icbf-orange) !important;
}
.bg-orange{
  background-color: var(--icbf-orange) !important;
  color: white !important;
}
.bg-orange-subtle{
  background-color: var(--icbf-light-orange) !important;
}

.bg-yellow{
  background-color: var(--icbf-sunflower-yellow) !important;
}

.bg-yellow-subtle,
.bg-warning-subtle{
  background-color: var(--icbf-sunshine-yellow) !important;
}

.text-green{
  color: var(--icbf-pascal-green) !important;
}
.bg-green,
.bg-success{
  background-color: var(--icbf-pascal-green) !important;
  color: white !important;
}

.bg-green-subtle,
.bg-success-subtle{
  background-color: var(--icbf-cucumber-green) !important;
}

.text-blue{
  color: var(--icbf-dory-blue) !important;
}

.bg-blue{
  background-color: var(--icbf-dory-blue) !important;
  color: white !important;
}

.bg-blue-subtle,
.bg-info-subtle{
  background-color: var(--icbf-elsa-blue) !important;
}

.bg-purple {
  background-color: var(--icbf-purple) !important;
  color: white !important;
}

.bg-purple-subtle {
  background-color: var(--icbf-light-purple) !important;
}

.table-header-blue{
  background-color: var(--icbf-blue) !important;
  color: white !important;
}

.marttracker-secondary-btn{
  width:95%; 
  border-color:var(--icbf-blue); 
  border-width: 1px;
  color: var(--icbf-blue) !important;
  font-weight: bold;
  background-color:var(--icbf-snow-white);
}

.marttracker-secondary-btn:hover{
  border-color: var(--icbf-jasmine-blue);
  outline: 0;
  box-shadow: 0 0 0 0.2rem var(--icbf-lavender-blue);
}

/* table.dataTable > tbody > tr.child ul.dtr-details li:nth-child(even) {
  box-shadow: inset 0 0 0 9999px var(--icbf-grey) !important;
}
.dtr-control{
  display: inline-flex;
}
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before{
  margin-right:1em;
}
table.dataTable>tbody>tr.child ul.dtr-details{
  display:initial;
} */
 
.btn-info{
  background-color: var(--icbf-genie-blue) !important; 
  color: white !important; 
  border: 1px solid var(--icbf-blue) !important; 
}
.btn-info:hover{
  box-shadow: inset 0 0 0 9999px rgba(0,0,0,0.1);
}

.btn-light-outline {
    border: 1px solid #C0C0C0 !important;
}

.animal-search-accordion .accordion-button:not(.collapsed) {
    background-color: #d4edda;
    color: #000000;
    border-color: #c3e6cb; 
}

.animal-search-accordion .accordion-button:focus {
    box-shadow: none;
    outline: none;
}

.animal-search-accordion .accordion-button.collapsed {
    background-color: #f8f9fa; 
    color: #000000;
    border-color: #ddd;
}

.accordion-datarow {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    min-height: 29px;
}

.accordion-datarow label {
    flex: 0 0 140px;
    font-size: 13px;
    line-height: 16px;
    padding-left: 10px;
    text-align: left;
    color: #404040;
    margin: 0;
}

.accordion-detail {
    flex: 1;
    padding-left: 10px;
    line-height: 19px;
}

.accordion-detail span {
    display: inline-block;
}
  

@media (max-width: 991px) {
    .animal-search-accordion .accordion-button:not(.collapsed) {
        background-color: #d4edda;
        color: #155724;
        border-color: #c3e6cb;
    }

    .animal-search-accordion #headingAI .accordion-button:not(.collapsed) {
        background-color: #d4edda; 
        color: #155724;
    }

    .animal-search-accordion #headingBreed .accordion-button:not(.collapsed) {
        background-color: #d4edda; 
        color: #155724;
    }

    .animal-dropdown {
        position: relative;
    }

    .dropdown-menu-striped {
        position: absolute !important; 
        top: 100% !important; 
        left: 0 !important; 
        right: 0 !important; 
        z-index: 1050 !important; 
    }

    .dropdown-menu-striped li:nth-child(odd) {
        background-color: var(--icbf-cucumber-green);
    }

    /* Hide Carbon button manually under 450px */
    @media (max-width: 450px) {
        .hide-under-450 {
            display: none !important;
        }
        .show-under-450 {
            display: block !important;
        }
    }

    .hide-under-450 {
        display: inline-block;
    }
    .show-under-450 {
        display: none;
    }

    .btn-group-selected {
        background-color: #28a745 !important; 
        border-color: #28a745 !important;     
        color: white !important;              
    }
}

.user-choice-modal .modal-content {
    background-color: #235b96 !important;
    color: white;
}

.user-choice-modal .card-body .responsive-p {
    font-size: 1rem;
}

@media (max-width: 991.98px) {
    .user-choice-modal .rep-ter-modal-width {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
  
    @media (max-height: 500px) and (min-width: 576px) {
        .user-choice-modal .rep-ter-modal-width {
            max-width: 90%;
        }
    }

    .btn-group-more-blue {
        background-color: var(--icbf-monday-blue);
        color: white !important;
        border: .1px solid white !important;
        border-radius: 5px !important;
        padding: 10px 20px;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        cursor: pointer;
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }

    .btn-group-more-blue:hover {
        background-color: white !important; 
        color: var(--icbf-monday-blue) !important;
        border-color: white !important; 
    }

    .btn-group-more-blue:active {
        background-color: #357ab7 !important;
        border-color: #357ab7 !important;
    }
}
  
  

@media (max-width: 400px), (max-height: 400px) {
    .user-choice-modal .responsive-h5 {
        font-size: 1rem;
    }

    .user-choice-modal .card-body .responsive-p {
        font-size: 0.75rem;
    }
}

@media (min-width: 991.98px) {

    .user-choice-modal .modal-body {
        height: 45vh;
    }

    .waveWrapper {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: 0;
        pointer-events: none;
        overflow: hidden;
    }
    
    .waveWrapperInner {
        position: absolute;
        width: 100%;
        height: 100%;
        bottom: -1px;
    }
    
    .bgTop {
        z-index: 3;
        opacity: 0.5;
    }
    .bgMiddle {
        z-index: 2;
        opacity: 0.75;
    }
    .bgBottom {
        z-index: 1;
    }
    
    .wave {
        position: absolute;
        left: 0;
        width: 200%;
        height: 100%;
        background-repeat: repeat no-repeat;
        background-position: 0 bottom;
        background-size: 50% 100px;
        transform-origin: center bottom;
    }
    
    .waveTop {
        background-size: 50% 100px;
    }
    
    .waveMiddle {
        background-size: 50% 120px;
    }
    
    .waveBottom {
        background-size: 50% 100px;
    }
    
    .waveAnimation .waveTop {
        animation: move_wave 3s;
        animation-delay: 1s;
    }
    
    .waveAnimation .waveMiddle {
        animation: move_wave 10s linear infinite;
    }
    
    .waveAnimation .waveBottom {
        animation: move_wave 15s linear infinite;
    }
    
    @keyframes move_wave {
        0% {
          transform: translateX(0) translateZ(0) scaleY(1);
        }
        50% {
          transform: translateX(-25%) translateZ(0) scaleY(0.55);
        }
        100% {
          transform: translateX(-50%) translateZ(0) scaleY(1);
        }
    }
}

.bs_switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 18px;
}

.bs_switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.bs_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.bs_slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.bs_slider {
    background-color: #2196F3;
}

input:focus+.bs_slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.bs_slider:before {
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
}

.bs_slider.bs_round {
    border-radius: 34px;
}

.bs_slider.bs_round:before {
    border-radius: 50%;
}
.toggle-text, .icbf-menu-search-toggle-text {
    font-weight: 700;
    overflow: hidden;
    line-height: 2;
    color: #235b96;
    letter-spacing: 1.2px;
    font-size: 11px;
}

@media (max-width: 450px) {
    .animal-search-group .rounded-start-responsive {
        border-top-left-radius: var(--bs-border-radius) !important;
        border-bottom-left-radius: var(--bs-border-radius) !important;
    }
  
    .animal-search-group .rounded-end-responsive {
        border-top-right-radius: var(--bs-border-radius) !important;
        border-bottom-right-radius: var(--bs-border-radius) !important;
    }
}
  
@media (min-width: 451px) {
    .animal-search-group .rounded-start-responsive {
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
    }
  
    .animal-search-group .rounded-end-responsive {
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }
}

.ani-search-eval-expiration {
    color: #c33a3a !important;
    font-weight: bold !important;
    font-size: 11px !important;
}

table .red-error {
    color: #561510 !important;
    border-bottom-color: #9D261D !important;
    background-color: #f4c8c5  !important;
}


.border-top-2{
  border-top: var(--icbf-black) 2px solid !important;
}
.border-bottom-2{
  border-bottom: var(--icbf-black) 2px solid !important;
}
.border-start-2{
  border-left: var(--icbf-black) 2px solid !important;
}
.border-end-2{
  border-right: var(--icbf-black) 2px solid !important;
}

.ancestry_module_empty{
  /* background-color: lightgrey; */
   background: repeating-linear-gradient(
    135deg,               /* angle of the stripes */
    #ffffff,             /* first color */
    #ffffff 10px,        /* end of first color */
    #e0e0e0 10px,        /* start of second color */
    #e0e0e0 20px         /* end of second color */
  );
}


.tree{
  position: relative;
  margin:0;
}
.tree li{
  list-style:none;
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
  position: relative;
  align-items:flex-start;
  height:50%
}

.tree>ul:first-child,
.tree>ul:nth-child(2){
  margin:0;
  padding:0;
}
.tree ul {
  position: relative;
  margin-left: 1.5em; /* match the left offset of li::before */
  padding-left: 1.5em; /* space for the vertical line */
  display: flex;
  flex-direction: column;
}

.tree ul>li {
  display: flex;
  flex-direction: row; 
  flex: 1 1 auto;
  align-items: stretch;
}

.tree li>div{
  position: relative;
  border: 1px solid var(--icbf-storm-blue) !important;
  border-radius: 0.2rem;
  margin: 0;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: center;
  min-height:5em;
  padding-left: 0.3em;
  
}

.tree>ul>li>div{      /* */
  width: 30%;
}

.tree>ul>li>ul>li>div{
  width: 45%;
}

.tree>ul ul ul{
  width: 50%;
  padding-right: 0;
}

.tree>ul ul{
  width: 63%;
  align-items: stretch;
}

@media (max-width:1310px) {
  .tree li{min-height:8em}
}

@media (max-width: 630px) {
  .tree {
    font-size: 10px;
  }
  .tree li{
    min-height: 11em;
  }
}

@media (max-width: 440px) {
  .tree li{
    min-height: 17em;
  }
}



.tree ul ul li::before { /* Creates the horizontal line left of every node*/
  content: "";
  position: absolute;
  left: -1.5em;
  width: 1.5em;
  height: 0.25em;
  background: var(--icbf-storm-blue);
  top: 50%;
  transform:translateY(-50%);
}


.tree ul ul::before { /* Creates Vertical line*/
  content: "";
  position: absolute;
  left: 0;
  top: 50%; 
  width: .25em;
  height: 50%;
  background: var(--icbf-storm-blue);
  transform: translateY(-50%);
}




.tree>ul>li>ul>li>div::after,
.tree>ul>li>div::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1.6em;              /* aligns to the right border */
  width: 1.6em;               /* horizontal line length */
  height: 0.25em;             /* line thickness */
  background-color: var(--icbf-storm-blue);
  transform: translateY(-50%);
}

.small-table-header {
  background-color: var(--icbf-tramp-grey) !important;
  text-align: center;
  margin-bottom: 0;
  font-weight: bold;
  border: 1px solid var(--icbf-mist-grey) !important;
}

.w-95{
  width: 95%;
}

@media (min-width:992px){
  .w-lg-45{
    width:45% !important;
  }
  .w-lg-95{
    width:95% !important;
  }
}

/* CSS Styling for view beef euorstar page */
.small-table-clear.eurostars th {
    color: #fff !important;                
    background-color: #555 !important;  
}

table.small-table-clear.eurostars td  {
    color: #555; 
    
}

.copybtn {
    background-color: #2D69A8;   
    color: #fff;                 
    border: 1px solid #77d5f7       
}

/* Always keep modal small and centered, even on mobile - SPECIFIC TO SHARE MODAL */
.share-modal .modal-dialog {
  max-width: 500px;
  width: 95vw;
  margin: 1.75rem auto;
}

.share-modal .modal-content {
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.share-modal .modal-body {
  overflow-y: auto;
  max-height: 60vh;
}

/* Small modal styling for disclaimer and similar modals */
.disclaimer-modal .modal-dialog {
  max-width: 500px;
  width: 95vw;
  margin: 1.75rem auto;
}

.disclaimer-modal .modal-content {
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.disclaimer-modal .modal-body {
  overflow-y: auto;
  max-height: 60vh;
}

table.eurostars tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

td.header1 {
  font-weight: bold;
  color: var(--icbf-form-grey);
  font-size: 12px;
  padding: 8px;
  text-align: center;
  border: 1px solid var(--icbf-mist-grey);

}

/* These sets used for barry board big text */
.big-tight-text {
  font-size: 500%;
  line-height: 0.8;
}

.fs-6em {
  font-size: 6em;
}