
@media only screen and (min-width: 601px) {


  /*#region construction tab*/
  .ansp_buttons_lightbox_parent
  {
    float:left;
    width:100%;
  }



  .ansp_buttons_lightbox_link
  {
    width:100%;
    margin-top:20px;
    display:block;
  }

  .ansp_construction
  {
    font-size:14pt;
  }

  .ansp_back_page
  {
    margin-top:20px;
  }

  .ansp_next_page
  {
    margin-top:20px;
  }

  .ansp_jump_to_page
  {
    margin-left: 5%;
    float:left;
    width:15%;
    margin-top:20px;
  }


  .ansp_home_page_body_carousel {
    margin-top: 0px;
    width: 90%;
    margin-left: 5%;
    font-size: 12pt;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* if you want vertical stacking */
    text-align: center;
  }
  
  
  /*#endregion construction tab*/

/* 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 */

}


.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 */
}


.ansp_header_img
{
  float:left;
}


#ansp_search_results {
  /* Your main content section */
  flex-grow: 1; /* Expands to fill remaining space */
}


.container {
  margin: 0 auto; /* Center horizontally */
  padding: 20px;
  width: 90%; /* 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;
}



  #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 */
}






.ansp_home_header
{
  text-align: center;
  width:100%;
  float:left;
}

.ansp_search_full
{
  float:left;
  width:100%;
}


.ansp_search_left
{
  float:left;
  width:30%;
  text-align: right;
  margin-top: 10px;
}

.ansp_search_right
{
  float:left;
  margin-left:5%;
  width:65%;
  text-align: left;
  margin-top: 10px;
}


.ansp_adv_search_divs
{
  float:left;
  width:25%;
  
  font-size:10pt;
  margin-top:10px;
  margin-left:5%;
  
}




.ansp_search_buttons
{
  float:left;
    width:30%;
    margin-top:10px;
    margin-left:5%;
}


.ansp_div_search_results
{
    float:left;
    width:100%;
    margin-top:40px;
    margin-left:0%;
}

.ansp_div_search_results_buttons
{
    float:left;
    width:100%;
    margin-top:20px;
    margin-left:0%;
}

.ansp_page_number
{
  float:left;
  width:90%;
  margin-left:5%;
}

.ansp_back_page
{
  float:left;
  width:15%;
  margin-left:5%;
}

.ansp_next_page
{
  float:left;
  width:15%;
  margin-left:5%;
}

.ansp_vireo_image
{
  
  float:left;
  width:25%;
  margin-left:0%;
  height:300px;
  margin-top:10px;
  font-size:10pt;
}


.ansp_vireo_image img {
  max-width: 100%;
  height: auto;
  display: block;
}


.ansp_vireo_image_full
{
  
  display:block;
  width:100%;
  margin-left:0%;
 margin-top:10px;
  
}

.ansp_search_type
{
  float:left;
  width:35%;
  display:none;
}

.ansp_search_text
{
  float:left;
  width:60%;
}

.form-inline.ansp_search_div {
  width: 100%;
}




.div-100 {
  width: 100%; /* This can be removed if not needed for other reasons */
  display: block;
  flex-grow: 1;
}
.ansp_bird_information {
  display: block;
  width: 100%;
  margin-left: 0px;
  margin-top: 10px;
}

.ansp_bird_info_left {
  float: left;
  width: 25%;
  height: 30px;
}

.ansp_bird_info_right {
  float: left;
  width: 75%;
  height: 30px;
}

.ansp_bird_info {
  float: left;
  width: 50%;
  margin-top: 60px;
}

.ansp_lightbox_btn {
  width: 50%;
}




.ansp_lightbox_table
{
  width:100%;
  height:50vh;
  overflow-y:scroll;
  border:1px solid black;
}
.ansp_lightbox_grid {
  display: grid;
  grid-template-columns: 15fr 15fr 60fr 10fr; /* Adjusted this line */
  grid-auto-rows: 80px;
  height: 50vh;
  overflow-y: scroll;
  border: 1px solid black;
}

.ansp_lightbox_row {
  display: contents;
}

.ansp_table_lb_1, .ansp_table_lb_3, .ansp_table_lb_4, .ansp_table_lb_5 {
  word-wrap: break-word;
  text-align: center;
}

.ansp_table_lb_2 {
  word-wrap: break-word;
  text-align: left;
}

.ansp_table_lb_2h {
  font-weight: bold;
  text-align: left;
}

.ansp_table_lb_1h, .ansp_table_lb_3h, .ansp_table_lb_4h, .ansp_table_lb_5h {
  font-weight: bold;
  text-align: center;
}

.ansp_buttons_lightbox {
  float: left;
  width: 30%;
}

.lightbox_order
{
  margin-top:20px;
}

.ansp_count_lightbox {
  float: left;
  width: 100%;
}

.ansp_buttons_lightbox .btn-primary {
  width: 50%;
}


.ansp_next_back_btn
{
  width:100%;
}

.ansp_filter_div_sex
{
  margin-top:10px;
  float:left;
  width:20%;
  font-size:10pt;
  margin-left:5%;
}

.ansp_filter_div_age
{
  margin-top:10px;
  float:left;
  width:20%;
  margin-left:2%;
  font-size:10pt;
}

.ansp_filter_div_georegion
{
  margin-top:10px;
  float:left;
  width:20%;
  margin-left:2%;
  font-size:10pt;
}

.ansp_filter_div_social
{
  margin-top:10px;
  float:left;
  width:20%;
  margin-left:2%;
  font-size:10pt;

}

.ansp_filter_div_month
{
  margin-top:20px;
  float:left;
  width:20%;
  margin-left:5%;
  font-size:10pt;
 
}

.ansp_filter_div_activity
{
  margin-top:20px;
  float:left;
  width:20%;
  margin-left:2%;
  font-size:10pt;
 
}

.ansp_filter_height
{
  display:block;
  height:60px;
}

#ansp_dropdown_sex {
  font-size: 10pt;
}

#ansp_dropdown_sex option {
  font-size: 10pt;
}

#ansp_dropdown_age {
  font-size: 10pt;
}

#ansp_dropdown_age option {
  font-size: 10pt;
}


#ansp_dropdown_georegion {
  font-size: 10pt;
}

#ansp_dropdown_georegion option {
  font-size: 10pt;
}


#ansp_dropdown_social {
  font-size: 10pt;
}

#ansp_dropdown_social option {
  font-size: 10pt;
}

/* Custom CSS for the modal */
#localityModal .modal-dialog {
  width: 50vw; /* 50% of the viewport width */
  max-width: 50vw; /* Ensure it doesn't exceed 50% of the viewport width */
}

.ansp_locality_div {
  width: 100%;
  float: left;
  margin-top: 20px;
}

.ansp_title_div
{
  float:left;
  width:100%;
  text-align: center;

}

.ansp_image_carousel
{
  width:100%;
  
}



.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

.carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  overflow: hidden; /* Ensure the images don't overflow the container */
}

.carousel-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, z-index 0s 0.5s; /* Add transition for opacity and z-index */
}

.carousel-image.active {
  opacity: 1;
  z-index: 1;
  transition: opacity 0.5s ease-in-out, z-index 0s; /* Ensure z-index changes immediately */
}

.carousel-image.prev {
  opacity: 0;
  z-index: 0;
}
/*

.carousel-image {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  opacity: 0;
  transform: translateX(100%);
}

.carousel-image.active {
  opacity: 1;
  transform: translateX(0);
}

.carousel-image.prev {
  transform: translateX(-100%);
}

*/

.ansp_home_page_body
{
  margin-top:20px;
  width:90%;
  margin-left:5%;
  font-size:14pt;
}

.ansp_home_page_paragraph
{
  text-align: justify;
}



/* Media queries for responsive adjustments (optional) */
}


@media only screen and (max-width: 600px) {
  /* Adjust styles for smaller screens, like mobile devices */



  /*
  .container {
    
  }

  h1 {
    font-size: 1.75rem;
  }

  .ansp_vireo_image
{
  
  display:block;
  width:100%;
  margin-left:0%;
  height:300px;
  margin-top:10px;
  font-size:10pt;
}
  */


/*#region Home Page */


/*

.ansp_title_div
{
  float:left;
  width:100%;
  text-align: center;
  height:10vh;
}

.ansp_image_carousel
{
  width:100%;
  
}



.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}


.carousel {
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 80vh;
  position: relative;
}

.carousel-image {
 
  display: none;
}

.carousel-image.active {
  display: block;
}
*/

/*#endregion Home Page*/











/* 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 */

}


.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 */
}


.ansp_header_img
{
  float:left;
}


#ansp_search_results {
  /* Your main content section */
  flex-grow: 1; /* Expands to fill remaining space */
}


.container {
  margin: 0 auto; /* Center horizontally */
  padding: 10px;
  width: 90%; /* 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;
}



  #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 */
}






.ansp_home_header
{
  text-align: center;
  width:100%;
  float:left;
}

.ansp_search_full
{
  float:left;
  width:100%;
}


.ansp_search_left
{
  float:left;
  width:30%;
  text-align: right;
  margin-top: 10px;
}

.ansp_search_right
{
  float:left;
  margin-left:5%;
  width:65%;
  text-align: left;
  margin-top: 10px;
}


.ansp_adv_search_divs
{
  float:left;
  width:25%;
  
  font-size:10pt;
  margin-top:10px;
  margin-left:5%;
  
}




.ansp_search_buttons
{
  float:left;
    width:30%;
    margin-top:10px;
    margin-left:5%;
}


.ansp_div_search_results
{
    float:left;
    width:100%;
    margin-top:40px;
    margin-left:0%;
}

.ansp_div_search_results_buttons
{
    float:left;
    width:100%;
    margin-top:20px;
    margin-left:0%;
}

.ansp_page_number
{
  float:left;
  width:90%;
  margin-left:5%;
}

.ansp_back_page
{
  float:left;
  width:15%;
  margin-left:5%;
}

.ansp_next_page
{
  float:left;
  width:15%;
  margin-left:5%;
}

.ansp_vireo_image
{
  
  display:block;
  width:100%;
  margin-left:0%;
  height:300px;
  margin-top:10px;
  font-size:10pt;
}

.ansp_vireo_image_full
{
  
  display:block;
  width:100%;
  margin-left:0%;
 margin-top:10px;
  
}

.ansp_search_type
{
  float:left;
  width:35%;
  display:none;
}

.ansp_search_text
{
  float:left;
  width:60%;
}

.form-inline.ansp_search_div {
  width: 100%;
}




.div-100 {
  width: 100%; /* This can be removed if not needed for other reasons */
  display: block;
  flex-grow: 1;
}

.ansp_bird_info_left, .ansp_bird_info_right {
  float: none;
  width: 100%;
  height: auto;
  text-align: left;
  padding: 5px 0;
}

.ansp_bird_info {
  float: none;
  width: 100%;
  margin-top: 20px;
}

.ansp_lightbox_btn {
  width: 100%;
  margin-bottom: 10px;
}

.ansp_vireo_image_full img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.ansp_lightbox_btn
{
  width:50%;
}


.ansp_image_tag_vireo_full
{
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain; /* This will ensure the image fits within the container without being cropped */
}



/* #region lightbox */
.ansp_lightbox_table
{
  width:100%;
  height:50vh;
  overflow-y:scroll;
  border:1px solid black;
}
.ansp_lightbox_grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .ansp_table_lb_3h, .ansp_table_lb_1h, .ansp_table_lb_2h, .ansp_table_lb_5h
  {
    display:none;
  }

  
  .ansp_table_lb_3, .ansp_table_lb_1, .ansp_table_lb_2, .ansp_table_lb_5 {
    text-align: left;
    padding: 10px;
  }

  .ansp_image_tag_vireo_lightbox {
    width: 100%;
    height: auto;
  }

  .ansp_buttons_lightbox .btn-primary {
    width: 100%;
    margin-bottom: 10px;
  }

  .ansp_lightbox_row {
    margin-top:20px;
  }


/* #endregion lightbox */

.ansp_next_back_btn
{
  width:100%;
}

.ansp_filter_div_sex
{
  margin-top:10px;
  float:left;
  width:45%;
  font-size:10pt;
  margin-left:5%;
}

.ansp_filter_div_age
{
  margin-top:10px;
  float:left;
  width:45%;
  margin-left:5%;
  font-size:10pt;
}

.ansp_filter_div_georegion
{
  margin-top:10px;
  float:left;
  width:45%;
  margin-left:5%;
  font-size:10pt;
}

.ansp_filter_div_social
{
  margin-top:10px;
  float:left;
  width:45%;
  margin-left:5%;
  font-size:10pt;

}

.ansp_filter_div_month
{
  margin-top:20px;
  float:left;
  width:45%;
  margin-left:5%;
  font-size:10pt;
 
}

.ansp_filter_div_activity
{
  margin-top:20px;
  float:left;
  width:45%;
  margin-left:5%;
  font-size:10pt;
 
}

.ansp_filter_height
{
  display:block;
  height:60px;
}

#ansp_dropdown_sex {
  font-size: 10pt;
}

#ansp_dropdown_sex option {
  font-size: 10pt;
}

#ansp_dropdown_age {
  font-size: 10pt;
}

#ansp_dropdown_age option {
  font-size: 10pt;
}


#ansp_dropdown_georegion {
  font-size: 10pt;
}

#ansp_dropdown_georegion option {
  font-size: 10pt;
}


#ansp_dropdown_social {
  font-size: 10pt;
}

#ansp_dropdown_social option {
  font-size: 10pt;
}

/* Custom CSS for the modal */
#localityModal .modal-dialog {
  width: 50vw; /* 50% of the viewport width */
  max-width: 50vw; /* Ensure it doesn't exceed 50% of the viewport width */
}

.ansp_locality_div {
  width: 100%;
  float: left;
  margin-top: 20px;
}

.ansp_title_div
{
  float:left;
  width:100%;
  text-align: center;
  height:10vh;
}

.ansp_image_carousel
{
  width:100%;
  
}



.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

.carousel {
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 80vh;
  position: relative;
}

.carousel-image {
 
  display: none;
}

.carousel-image.active {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain; /* This will ensure the image fits within the container without being cropped */
}



.carousel-image.active {
  opacity: 1;
  z-index: 1;
  transition: opacity 0.5s ease-in-out, z-index 0s; /* Ensure z-index changes immediately */
}

.carousel-image.prev {
  opacity: 0;
  z-index: 0;
}
/*

.carousel-image {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  opacity: 0;
  transform: translateX(100%);
}

.carousel-image.active {
  opacity: 1;
  transform: translateX(0);
}

.carousel-image.prev {
  transform: translateX(-100%);
}

*/

.ansp_home_page_body
{
  margin-top:20px;
  width:90%;
  margin-left:5%;
  font-size:14pt;
}

.ansp_home_page_paragraph
{
  text-align: justify;
}
}

/* You can add more media queries for different screen sizes */
