/* CSS Styling for view beef euorstar page */
.small-table-clear.eurostars th {
    color: var(--icbf-snow-white) !important;                
    background-color: var(--icbf-charcoal) !important;  
}

table.small-table-clear.eurostars td  {
    color: var(--icbf-charcoal); 
    
}

.copybtn {
    background-color: var(--icbf-blue);   
    color: var(--icbf-snow-white);                 
    border: 1px solid var(--icbf-light-blue)       
}

.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;
}

.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: var(--icbf-light-grey-bg2);
}

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);

}

/* Bull Search V2 Commit  */

.btn-light-outline {
    border: 1px solid var(--icbf-silver-grey) !important;
}

.animal-search-accordion .accordion-button:not(.collapsed) {
    background-color: var(--icbf-success-green);
    color: var(--icbf-black);
    border-color: var(--icbf-success-border); 
}

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

.animal-search-accordion .accordion-button.collapsed {
    background-color: var(--icbf-light-grey-bg); 
    color: var(--icbf-black);
    border-color: var(--icbf-silver);
}

.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: var(--icbf-text-grey);
    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: var(--icbf-success-green);
        color: var(--icbf-success-text);
        border-color: var(--icbf-success-border);
    }

    .animal-search-accordion #headingAI .accordion-button:not(.collapsed) {
        background-color: var(--icbf-success-green); 
        color: var(--icbf-success-text);
    }

    .animal-search-accordion #headingBreed .accordion-button:not(.collapsed) {
        background-color: var(--icbf-success-green); 
        color: var(--icbf-success-text);
    }

    .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: var(--icbf-bootstrap-green) !important; 
        border-color: var(--icbf-bootstrap-green) !important;     
        color: white !important;              
    }
}

.user-choice-modal .modal-content {
    background-color: var(--icbf-bootstrap-blue-dark) !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: var(--icbf-bootstrap-blue) !important;
        border-color: var(--icbf-bootstrap-blue) !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: var(--icbf-mist-grey);
    -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: var(--icbf-material-blue);
}

input:focus+.bs_slider {
    box-shadow: 0 0 1px var(--icbf-material-blue);
}

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: var(--icbf-bootstrap-blue-dark);
    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: var(--icbf-error-text-red) !important;
    font-weight: bold !important;
    font-size: 11px !important;
}