

/* Media queries for responsive adjustments (optional) */
@media only screen and (min-width: 601px) {

  /*#region Search DIV */

  .ansp_use_site
  {
    width:25%;
    

  }

  .ansp_news_peale
{
  width: 100%; /* Occupy full width of its parent */
  margin-top: auto; /* Push it to the bottom of its parent */
  margin-top:10px;
  text-align:justify
}
  
.ansp_peale_box_row{
  float:left;
    margin-left: 0%;
    width:100%;
}

  .ansp_peale_box_left
  {
    float:left;
    margin-left: 0%;
    width:20%;
    margin-top:10px;
    height: auto; /* Adjust height to auto to accommodate wrapping */
    min-height:100px;
  }

  .ansp_peale_box_center {
    display: flex;
    float:left;
    flex-wrap: wrap;
    margin-left: 5%;
    width: 30%;
    margin-top: 10px;
    min-height:100px;
    height: auto; /* Adjust height to auto to accommodate wrapping */
}

    .ansp_peale_box_center img {
        margin: 5px;
        max-width: 100%; /* Ensure images do not exceed the container width */
    }

  .ansp_peale_box_right
  {
    float:left;
    margin-left: 5%;
    width:35%;
    margin-top:10px;
    min-height:100px;
    height: auto; /* Adjust height to auto to accommodate wrapping */

  }

  .ansp_peale_taxonomy_left
  {
    float:left;
    margin-left: 0%;
    width:20%;
    margin-top:10px;
  }

  .ansp_peale_taxonomy_center
  {
    float:left;
    margin-left: 5%;
    width:30%;
    margin-top:10px;
  }

  .ansp_peale_taxonomy_right
  {
    float:left;
    margin-left: 5%;
    width:35%;
    margin-top:10px;
  }

  .ansp_peale_data_left
  {
    float:left;
    margin-left: 0%;
    width:30%;
    margin-top:10px;
    font-weight:bold;
    height:50px;
  }

  .ansp_peale_data_right
  {
    float:left;
    margin-left: 5%;
    width:65%;
    margin-top:10px;
    height:50px;
  }

  .ansp_vireo_image_full
  {
    display:block;
    width:100%;
    margin-left:0%;
    margin-top:10px;
    text-align: center;
    align-items: center;
  }
  .ansp_vireo_text_full
  {
    display:block;
    width:100%;
    margin-left:0%;
    margin-top:10px;
  }

  .ansp_peale_header_div
  {

    text-align: center;
    
    display:block;
    width:100%;
    margin-left:0%;
   margin-top:10px;
    
  }


  .ansp_search_btn_div
  {
    float:left;
    width:20%;
    margin-left:5%;
    margin-top:20px;
  }

  .ansp_button_block
  {
    width:100%;
  }

  .ansp_search_option_div
  {
    width:100%;
  }

  /*#endregion Search DIV */

  /*#region buttons for next and previous*/

  .ansp_prev_button,
  .ansp_next_button {
      float: left;
      width: 15%; /* Adjust the width as needed */
      margin: 0 2.5%; /* Add margin to center the buttons */
  }

  .ansp_page_text
  {
    margin-left: 5%;
    float:left;
    width:15%;
  }

  .btn_next
  {
    width:100%;
  }

  .ansp_page_number
  {
    float:left;
    width:90%;
    margin-left:0%;
    text-align:left;
  }
  
  

  /*#endregion buttons for next and previous*/

  /*#region btn-group*/

  .ansp_btn_group {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top:20px;
  }

  /*#end region btn-group*/

    /*#region advanced search */


    #ansp_ent_adv_search .mb-3 {
      margin-left: 20px; /* Adjust the value as needed */
      margin-bottom: 20px; /* Adjust the value as needed */
  }
  
  
    /*#endregion advanced search */

  

   /*#region navigation menu */


   #mobile-nav {
    display: none;
    }


  /*#endregion navigation menu */



  /* Reset base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body styles */
body {
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
    min-height: 100vh; /* Ensures body fills the viewport height */
    display: flex;
    flex-direction: column; /* Stacks content vertically */

}




.ansp_header_img
{
  float:left;
}


#ansp_search_results {
  /* Your main content section */
  flex-grow: 1; /* Expands to fill remaining space */
}

/* Container for content */
.container {
  margin: 0 auto; /* Center horizontally */
  padding: 20px;
  max-width: 1140px; /* Adjust for your desired content area width */
 
  display: flex; /* Establish a flexbox layout for the container */
  flex-wrap: wrap; /* Allow content to wrap to multiple lines */

}

/* Responsive headings */
h1,
h2,
h3 {
  margin: 1em 0;
  font-weight: 400;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

/* Basic paragraph styles */
p {
  margin-bottom: 1em;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

/* Links */
a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.ansp_div_search_results
{
    float:left;
    width:80%;
    margin-top:40px;
    margin-left:10%;
}

.ansp_data_row_header
{
    display:block;
    width:100%;
}


#suggestionsList {
    position: absolute;
    top: 100%; /* Adjust based on your input box position */
    left: 0;
    float:left;
    width: 100%;
    z-index: 10; /* Make it appear above other elements */
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    padding: 5px;
    display: none; /* Initially hidden */
    margin-top:-10px;
  }
  
  .suggestion {
    padding: 5px;
    cursor: pointer;
    list-style: none;
    border-bottom: 1px solid #ddd;
    /* Highlight matched part of suggestion (optional) */
    background-color: #fffcfc;
    word-break: break-all;
  }
  
  .suggestion:hover {
    background-color: #f5f5f5;
  }
  
  #suggestionsList.active {
    display: block; /* Show suggestions on input */
  }

  #spinner-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    z-index: 1000;
    display: none;
  }
  
  #spinner-box.active {
    display: block;
  }
  
  .spinner {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    width: 50px;
    height: 50px;
    animation: spin 1s infinite linear;
  }
  
  .dot {
    background-color: #333;
    border-radius: 50%;
    width: 10px;
    height: 10px;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .ansp_search_letter_btns
  {
    margin-left:10px;
    font-weight:bold;
  }

  .ansp_spinner_loading
  {
    width:100%;
    text-align:center;
  }

  .ansp_genus_header
  {
    margin-top:30px;
  }

  .ansp_collapse
  {
    margin-top:20px;
  }

  #header {
    background-color: black;
    color: white; /* Optional: set text color to white */
    text-align: center; /* Optional: center the text */
    padding: 10px; /* Optional: add padding for spacing */
  }

  #footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: auto; /* Pushes footer to bottom */
  }

  .rotate-icon i {
    transition: transform 0.2s ease-in-out; /* Adjust duration and easing as needed */
  }
  .rotate-icon[aria-expanded="true"] i {
    transform: rotate(45deg); /* Adjust rotation degree as desired */
  }


  .header-nav {
    display: flex;
    align-items: center;
}

.header-nav img {
    order: 1; /* Move image to the left */
}

.header-nav select {
    width: 150px; /* Adjust dropdown width as needed */
}




.carousel-smaller {
  max-width: 400px; /* Adjust this value as needed */
  margin: 0;
}

.carousel-inner img {
  width: 300px; /* Adjust as needed */
  height: 400px; /* Adjust as needed */
}

/*
.carousel-inner img {
  max-width: 100%;
  height: auto;
}
*/




.carousel-caption {
  font-size: 14px; /* Adjust as needed */
}



.left-section {
  float: left; /* Or use flex: 1; for a more modern approach */
  width: 50%; /* Adjust as needed */
}

.right-section {
  /* No need to float this one, it will fill the remaining space */
  width: 50%; /* Adjust as needed */
  float:left;
}

/* In your RobbyPHP8.css file, add these styles: */
.carousel-inner {
  display: flex; /* Display carousel items horizontally */
}

.ansp_home_header
{
  text-align: center;
  width:100%;
  float:left;
}

.left-section,
.right-section {
  flex: 1; /* Let them take equal width, expanding to fill available space */
}

.ansp_cite_website {
  width: 100%; /* Occupy full width of its parent */
  margin-top: auto; /* Push it to the bottom of its parent */
}

.ansp_news
{
  width: 100%; /* Occupy full width of its parent */
  margin-top: auto; /* Push it to the bottom of its parent */
  margin-top:20px;
  text-align:justify
}


.back-to-top {
  position: fixed; /* Fix it to the bottom right corner */
  bottom: 20px;
  right: 20px;
  z-index: 9999; /* Ensure it's above other content */
  display: none; /* Hide it initially */
}


.genus_link_row
{
  margin-top:20px;
}



.ms-auto {
  float:right;
  padding-right: 20px; /* Adjust the value for desired padding */
  width:250px;
}

.ansp_cite_web_0
{
  text-align: left;
}

.ansp_btn_browse
{
  margin-left:30px;
}

.ansp_cite_web_1
{
  margin-top:30px;
}

.inline-div {
  display: inline-block;
  width: 48%;
  vertical-align: top;
}

.block-div {
  width: 100%;
  margin-top: 10px;
}

.clearfix {
  clear: both;
}

.ansp_ent_header
{
  text-align: center;
}

.ansp_ent_search
{
  width:100%;
}


}

@media only screen and (max-width: 600px) {


   /*#region btn-group*/

   .ansp_btn_group {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top:20px;
  }

  /*#end region btn-group*/

    /*#region advanced search */


    #ansp_ent_adv_search .mb-3 {
      margin-left: 20px; /* Adjust the value as needed */
      margin-bottom: 20px; /* Adjust the value as needed */
  }
  
  
    /*#endregion advanced search */

  /*#region navigation menu */


  .hamburger-menu {
    background: #333; /* Dark background color */
    color: #fff; /* White text color */
    border: none;
    font-size: 24px;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}



.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
}

.dropdown-item:hover {
    background: #f1f1f1;
}

.dropdown-menu {
  position: absolute;
  top: 50px; /* Adjust based on your header height */
  right: 10px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none; /* Initially hidden */
}

.dropdown-menu.show {
  display: block; /* Show when the class is added */
}


  /*#endregion navigation menu */



  /* Adjust styles for smaller screens, like mobile devices */
  .container {
    padding: 10px;
  }




   /* Reset base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body styles */
body {
  font-family: sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
    min-height: 100vh; /* Ensures body fills the viewport height */
    display: flex;
    flex-direction: column; /* Stacks content vertically */

}




.navbar {
  background-color: transparent !important;
}

.ansp_header_img {
  float:left;
  
}

#ansp_search_results {
  /* Your main content section */
  flex-grow: 1; /* Expands to fill remaining space */
}

/* Container for content */
.container {
  margin: 0 auto; /* Center horizontally */
  padding: 20px;
  max-width: 1140px; /* Adjust for your desired content area width */
 
  display: flex; /* Establish a flexbox layout for the container */
  flex-wrap: wrap; /* Allow content to wrap to multiple lines */

}

/* Responsive headings */
h1,
h2,
h3 {
  margin: 1em 0;
  font-weight: 400;
}

h1 {
  font-size: 1.75rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

/* Basic paragraph styles */
p {
  margin-bottom: 1em;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

/* Links */
a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.ansp_div_search_results
{
    float:left;
    width:90%;
    margin-top:10px;
    margin-left:5%;
}

.ansp_data_row_header
{
    display:block;
    width:100%;
}


#suggestionsList {
    position: absolute;
    top: 100%; /* Adjust based on your input box position */
    left: 0;
    float:left;
    width: 100%;
    z-index: 10; /* Make it appear above other elements */
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    padding: 5px;
    display: none; /* Initially hidden */
    margin-top:-10px;
  }
  
  .suggestion {
    padding: 5px;
    cursor: pointer;
    list-style: none;
    border-bottom: 1px solid #ddd;
    /* Highlight matched part of suggestion (optional) */
    background-color: #fffcfc;
    word-break: break-all;
  }
  
  .suggestion:hover {
    background-color: #f5f5f5;
  }
  
  #suggestionsList.active {
    display: block; /* Show suggestions on input */
  }

  #spinner-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    z-index: 1000;
    display: none;
  }
  
  #spinner-box.active {
    display: block;
  }
  
  .spinner {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    width: 50px;
    height: 50px;
    animation: spin 1s infinite linear;
  }
  
  .dot {
    background-color: #333;
    border-radius: 50%;
    width: 10px;
    height: 10px;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .ansp_search_letter_btns
  {
    margin-left:20px;
    font-weight:bold;
    width:5%;
    margin-top:20px;
  }

  .ansp_spinner_loading
  {
    width:100%;
    text-align:center;
  }

  .ansp_genus_header
  {
    margin-top:30px;
  }

  .ansp_collapse
  {
    margin-top:20px;
  }

  #header {
    background-color: black;
    color: white; /* Optional: set text color to white */
    text-align: center; /* Optional: center the text */
    padding: 10px; /* Optional: add padding for spacing */
  }

  #footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: auto; /* Pushes footer to bottom */
  }

  .rotate-icon i {
    transition: transform 0.2s ease-in-out; /* Adjust duration and easing as needed */
  }
  .rotate-icon[aria-expanded="true"] i {
    transform: rotate(45deg); /* Adjust rotation degree as desired */
  }


  .header-nav {
    display: flex;
    align-items: center;
}

.header-nav img {
    order: 1; /* Move image to the left */
}

.header-nav select {
    width: 150px; /* Adjust dropdown width as needed */
}




.carousel-smaller {
  max-width: 400px; /* Adjust this value as needed */
  margin: 0;
}

.carousel-inner img {
  width: 300px; /* Adjust as needed */
  height: 400px; /* Adjust as needed */
}

/*
.carousel-inner img {
  max-width: 100%;
  height: auto;
}
*/








.left-section {
  float: left; /* Or use flex: 1; for a more modern approach */
  width: 50%; /* Adjust as needed */
}

.right-section {
  /* No need to float this one, it will fill the remaining space */
  width: 50%; /* Adjust as needed */
  float:left;
}

/* In your RobbyPHP8.css file, add these styles: */
.carousel-inner {
  display: flex; /* Display carousel items horizontally */
}

.ansp_home_header
{
  text-align: center;
  width:100%;
  float:left;
}

.left-section,
.right-section {
  flex: 1; /* Let them take equal width, expanding to fill available space */
}

.ansp_cite_website {
  width: 100%; /* Occupy full width of its parent */
  margin-top: auto; /* Push it to the bottom of its parent */
}

.ansp_news
{
  width: 100%; /* Occupy full width of its parent */
  margin-top: auto; /* Push it to the bottom of its parent */
  margin-top:20px;
  text-align:justify;
}


.back-to-top {
  position: fixed; /* Fix it to the bottom right corner */
  bottom: 20px;
  right: 20px;
  z-index: 9999; /* Ensure it's above other content */
  display: none; /* Hide it initially */
}


.genus_link_row
{
  margin-top:20px;
}



.ms-auto {
  float:right;
  padding-right: 20px; /* Adjust the value for desired padding */
  width:250px;
}

.ansp_cite_web_0
{
  text-align: left;
}

.ansp_btn_search
{
 
  width:40%;
}

.ansp_btn_browse
{
  margin-left:30px;
  width:40%;
}

.ansp_cite_web_1
{
  margin-top:30px;
}

.inline-div {
  display: inline-block;
  width: 48%;
  vertical-align: top;
}

.block-div {
  width: 100%;
  margin-top: 10px;
}

.clearfix {
  clear: both;
}

.ansp_ent_header
{
  text-align: center;
}

.ansp_ent_search
{
  width:100%;
}
}

/* You can add more media queries for different screen sizes */
