.is-computer #navbar-and-index_results {
    /*background: linear-gradient(to bottom, #000000, #0000FF) !important; /* Gradient from black to blue */
    /*background: linear-gradient(to bottom, #f1ecec, #4c4cf6) !important; /* Gradient from black to blue */

    /*background: linear-gradient(to bottom, #000000, #4c4cf6) !important;*/ /* Gradient from black to blue */
    background: linear-gradient(to bottom, #44909c, #b47d2500) !important; /* Gradient from black to blue */
    height: 400px;
}

/* NAVBAR*/
.is-computer .navbar-container header {
    background-color: transparent !important;
    border: none !important;
    }
    
    .is-computer #navbar-heading {
    color: white;
    }
    
    .is-computer #home-btn {
        color: white;
    }
    
    .is-computer .menu-link {
        color: white !important;
    }

/*11111111111111111*/
.is-computer #logo2-smartphone {
    display: none;
}

.is-computer #logo-container-a {
    display: none;
}

.is-smartphone #logo-container-a {
    display: inline-block; /* or block */
    text-decoration: none;
}

.is-smartphone #logo2-smartphone {
    display: block;
    width: 150px;
    height: auto;
    margin: 0 auto; /* Centers the image inside its container */
}
/*11111111111111111*/
    /* NAVBAR*/

/* orignal */
/* default hidden msg species is in results.php*/
/*background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */

body {
    height: 570vh;
    position: relative;
}

/*added to remove horizontal scroll*/
body.is-computer {
    overflow-x: hidden !important;
    /*background-color: red !important;*/
}

.is-computer .ad-image {
    flex: 1;
    margin-right: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    /*overflow: hidden;*/ /* commented*/
    height: 200px;
    padding: 0;
    margin-bottom: -10px;
}

.is-computer .ad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-count {
    position: absolute;
    /*
    bottom: 40px;
    left: 10px;
    */

    bottom: 25px;
left: 0.1px;

    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 2px 8px;
    /*border-radius: 5px;*/
    border-radius: 3px;
    font-size: 14px;
    height: 20px;
}

.image-count img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    margin-top: 1px;
    bottom: 20px;
}

.image-count span {
    position: absolute;
    top: 2px;
    right: 2px;
}

.camera-icon {
    position: relative;
    top: 4px;
    width: 16px;
    height: 16px;
    margin-right: 50px;
}

.dropdown-container {
    position: absolute;
    top: 537px;
    left: 221px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1em;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.dropdown-container label {
    white-space: nowrap;
    margin: 0;
}

.dropdown-container select {
    padding: 0.75em;
    border-radius: 7.9px;
    border: 1px solid #D0D0D0;
}

.search-container_results {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1em;
    transform: translateY(18px);
    background-color: #84a7b8;
    background-color: #5991c5;
    height: 75px;
    width: 550px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5em;
    margin: 0 auto;
    margin-top: 2%;
    /*border: 1px solid #010f18;*/
}

.is-computer .container {
    width: 650px;
    max-width: 1200px;
    margin: 180px auto 0 auto;
    padding: 20px;
    height: auto;
    transform: translate(-115px, 90px);
    box-sizing: border-box;
}

.is-smartphone .container {
    /*max-width: 1200px;*/
    /*max-width: 100%;*/
    
    margin: 180px auto 0 auto;  /* Centering the container horizontally */
    padding: 20px;
    height: auto;
    transform: translateY(90px);  /* Moves the container 90px down */

    box-sizing: border-box;
}

#find-button2 {
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4.4px;
    height: 47.2px;
    width: 131px;
    background-color: rgb(44, 177, 50);
    color: #fff7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid transparent;
    margin-top: 101px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.3s, border-color 0.3s;
}

#find-button2:hover {
    background-color: rgb(34, 154, 40);
    border-color: rgb(16, 22, 16);
}

/*/////////////////////////////   Ads container/styling  ////////////////////////////////////////////*/


.ad-item {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-height: 140px;
    /*box-shadow: 0 8px 24px rgba(78, 164, 218, 0.99);*/ /* Subtle but deep shadow for elevation */
    /*box-shadow: 0 8px 24px rgba(138, 204, 255, 0.7);*/
    /*box-shadow: 0 4px 20px rgba(99, 177, 237, 0.7);*/
    box-shadow: 0 2px 10px rgba(129, 187, 231, 0.7);
}

.ad-item img {
    max-width: 100%;
    height: auto;
    
    margin-bottom: 10px;
    /*background-color: red;*/
}

.ad-item .camera-icon {
    border-radius: 8px;
}

.ad-details {
    flex: 2;
    padding: 10px;
    position: relative;
}

.ad-details h3 {
    color: rgb(35, 61, 123);
    margin-top: 0;
}

.ad-details p {
    margin: 5px 0;
 
}

.ad-details .price {
    color: rgb(70, 78, 96);
    font-weight: bold;
    font-size: 1.4em;
    position: absolute;
    top: 0;
    right: 0;
    margin: 10px;
}

.posted-info{
    font-size: 0.9em; position: absolute; right: 10px; top: 110px;
    }

    
.author-info
{
    font-size: 0.9em; position: absolute; right: 10px; top: 130px;
}

.ad-item .ad-images {
    flex-basis: 200px;
    margin-right: 20px;
}

.no-ads {
    text-align: center;
    color: #777;
    font-size: 1.2em;
}

.container a {
    text-decoration: none;
    color: inherit;
}

.container img {
    display: block;
    max-width: 100%;
    height: auto;
}

.pagination {
    display: inline-block !important; /* Ensures the container respects vertical margins */
    justify-content: center !important; /* Keep the content centered */
    margin: 10px 0 !important; /* General margin */
    margin-bottom: 50px !important; /* Bottom margin */
    /*background-color: #ffffff !important;*/ /* Clean white background */
    /*background-color: rgba(173, 216, 230, 0.9);*/ /* Light Blue */
    background-color: rgba(61, 110, 223, 0.9);

    text-align: center !important; /* Centers the text inside the pagination */
    width: 100% !important; /* Take up full width of the parent */
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important; /* Adds a subtle shadow around the container */
    padding: 15px 0 !important; /* Adds padding around the content */
    /*transform: translateX(-15px) !important; /* Moves the pagination container 50px to the left */
    transform: translateX(-1px) !important; /* Moves the pagination container 50px to the left */
    border: 1px solid #eaedef !important;
    border-radius: 20px !important; /* Rounded corners */
}

.pagination a {
    margin: 0 5px !important; /* Horizontal margins */
    padding: 10px 15px !important; /* Padding */
    text-decoration: none !important; /* No underline */
    border-radius: 5px !important; /* Rounded corners */
    /*color: #007bff !important;*/ /* Text color */
    color: #ffffff !important; /* Text color */
    /*margin-top: 50px !important; /* Top margin for pagination links */
    /*margin-bottom: 100.5px !important; /* Bottom margin for pagination links */
    /*background-color: orange !important; /* Background color for links */
    font-weight: bold;
    font-size: 17px;
    text-decoration: underline !important;
}

/* added*/
.pagination.hidden {
    display: none !important;
}
/*
.pagination a.active {
    color: rgb(65, 46, 46) !important;
    text-decoration: underline !important;
}

*/
.pagination a.active {
    font-size: 20px;
}



.pagination a:hover {
    text-decoration: underline;
}

.pagination a.links-previous-and-next {
    text-decoration: none;
    color: #007bff;
    padding: 0 10px;
    border: transparent;
    background-color: transparent;
    margin-top: 100px;

    font-size: 15px !important;
    background-color: #ddd !important;
    border-radius: 25px !important;
    padding: 10px 20px !important;
    text-decoration: none !important;
    color: #333 !important;
}

.pagination a.links-previous-and-next:hover {
    background-color: #bbb !important;
}

.links-previous-and-next:hover {
    text-decoration: underline;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content_results,
.dropdown-content2_results,
.dropdown-content3_results {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 27.9%;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    max-height: 225px;
/*  overflow-y: auto;
    box-sizing: border-box;
*/

    scrollbar-width: thin;
    border-bottom: 1px solid #d0d0d0;
}
/*
.dropdown-content3_results {
    max-height: 200px;
    overflow-y: auto;
}
*/
.dropdown-content_results input,
.dropdown-content2_results input,
.dropdown-content3_results input {
    margin-top: 8px;
    margin-left: 8px;
    box-sizing: border-box;
    width: 90%;
    padding: 8px;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    border: 1px solid #d0d0d0;
    z-index: 1;
    margin-bottom: 8px;
}

.dropdown-content_results a,
.dropdown-content2_results a,
.dropdown-content3_results a {
    color: black;
    padding: 11px 16px 17px;
    text-decoration: none;
    display: block;
    font-size: 13px;
    border-bottom: 1px solid #d0d0d0;
    border-right: 1px solid #d0d0d0;
    border-left: 1px solid #d0d0d0;
    margin: 0 8px;
    text-align: center;
}

.dropdown-content_results a:hover,
.dropdown-content2_results a:hover,
.dropdown-content3_results a:hover {
    background-color: #f1f1f1;
}

.show {
    display: block;
}

.dropdown-select_results {
    padding: 0.75em;
    border-radius: 7.9px;
    border: 1px solid #d0d0d0;
    width: 158px;
    height: 3.2em;
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc(0.75em + 4px);
}

.dropdown-content_results::-webkit-scrollbar,
.dropdown-content2_results::-webkit-scrollbar,
.dropdown-content3_results::-webkit-scrollbar {
    width: 4px;
}

.dropdown-content_results::-webkit-scrollbar-track,
.dropdown-content2_results::-webkit-scrollbar-track,
.dropdown-content3_results::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

.dropdown-content_results::-webkit-scrollbar-thumb,
.dropdown-content2_results::-webkit-scrollbar-thumb,
.dropdown-content3_results::-webkit-scrollbar-thumb {
    background-color: #6b6767;
    border-radius: 5px;
}

.dropdown-content_results::-webkit-scrollbar-thumb:hover,
.dropdown-content2_results::-webkit-scrollbar-thumb:hover,
.dropdown-content3_results::-webkit-scrollbar-thumb:hover {
    background-color: #e0e0e0;
}

.dropdown-content_results {
    scrollbar-color: #888686 #f1f1f1;
}

.dropdown-menu_results {
    overflow-y: auto;
    /*background-color: rgb(207, 220, 178);*/
    /*background-color: #f9f9f9;*/
    /*removing will make it transparent*/
    width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    scrollbar-width: thin;
    border-bottom: 1px solid #d0d0d0 !important;
    /*background-color: pink;*/
    background-color: #f9f9f9;    
    z-index: 1;
    max-height: 149px;
    /*overflow-y: auto;*/
    box-sizing: border-box;
    
}

.dropdown-footer_results {
    background-color: #f9f9f9;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    height: 35px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-top: 1px solid #ccc;
    text-align: right;
    background-color: #f9f9f9;
}

#search-box_results {
    margin-top: 8px;
    box-sizing: border-box !important;
    width: 90% !important;
    padding: 8px !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    outline: none !important;
    border: 1px solid #d0d0d0 !important;
    z-index: 1 !important;
    margin-bottom: 8px !important;
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 10px 8px;
}

.close-btn_results {
    background-color: transparent;
    display: block;
    width: 47%;
    height: 24px;
    padding: 0;
    border: none;
    background-color: #444;
    color: white;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    margin-top: -5px;
    /* Center the button using margin */
    margin-left: auto;
    margin-right: auto;
    /*background-color: blue;*/
}

.close-btn_results:hover {
    background-color: #3d3d3d;
}

.show2,
.show3 {
    display: block;
}

#mutations-dropdown-select_results:disabled {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    cursor: not-allowed;
    opacity: 0.5;
}

/*commented while adding close button*/
/*
#dropdown-content_results {
    max-height: 200px;
    overflow-y: auto;
    width: -200px;
}
*/

.ad-search_h2 {
    position: relative;
    top: 205.5px;
    color: rgba(35, 61, 123, 0.9);
}

.is-computer .result-stats {
    font-size: 18px;
    font-family: Lato, sans-serif;
    position: relative;
    color: #7B8397;
    margin-left: 440.6px;

    transform: translateY(-55px);
    left: -2px;
    margin-bottom: -32px;

    white-space: nowrap;
}

.is-smartphone .result-stats {
    font-size: 18px;
    font-family: Lato, sans-serif;
    position: relative;
    color: #7B8397;
    margin-left: 440.6px;

    white-space: nowrap;
}

.result-stats-bold {
    color: #5F6A73;
    font-weight: bold;
}

/*///////////////////////////////////////////// Media  queries starting /////////////////////////////////////////////*/


/*points for future*/
/*actual :  used for media queries (chrome and checked from whatismyip.com)     */

/*
.is-smartphone .pagination {
    margin: 10px 0 !important;
    margin-bottom: 100px !important;
    text-align: center !important;
    width: 50% !important;
    padding: 15px 0 !important;
    transform: translateX(100px) !important;
}*/

/*           Smartphone    device # = (1)    tested on = 319px    (max-width:	320	px) { }    starting              */

@media only screen and (max-width: 320px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }
    
      body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
/*        background-color: red;*/
/*background-color: lightblue !important;*/
/*background-color: red;*/
    }
    
    


    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }
    

    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: 48.92px; /* Reduced by 20% */
        width: 270px;  /* Reduced by 20% */
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: 1em;
        margin: 20px auto;
        margin-top: 66px;
        position: relative;
        left: 0.1px; /* Move 10px to the left */
    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: 40px !important;
        left: -1px !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 2px 8px;
        border-radius: 5px;
        font-size: 14px;
        height: 20px;
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute; /* Keep this for positioning */
        bottom: 18px; /* Adjust this value for proper spacing */
        left: -5px !important; /* Positioning */
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6); /* Background for contrast */
        color: white;
        padding: 2px 8px;
        border-radius: 5px;
        font-size: 14px;
        /*height: 20px;*/   height: auto; /* Change to auto to fit content */
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: 17px;
        height: 17px;
        margin-right: 5px;
        margin-top: -1px;
        bottom: 20px;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: 2px;
        right: 2px;
    }
    
    /*.is-smartphone*/ .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        margin-top: 4.5px; /* Margin at the top */
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/
  
        color: #f5f5f5;  /*color 1   Soft White:*/         
        font-size: 6.6px !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;  /*color 1   Soft White:*/      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: -182.5px;
        transform: translateY(-2px); /* Moves 2px up */
      }   

      /*.is-smartphone*/ .is-smartphone .dropdown-select_results {
        padding: 0.75em;
        border-radius: 7.9px;
        border: 1px solid #d0d0d0;
        width: 85.5px;       /* Reduced by 10% */
        height: 2.800em !important;   /* Reduced by 10% */
        background-color: #fff;
        color: #333;
        text-align: left;
        padding-left: calc(0.75em + 4px);
        margin-left: -1px;
        font-family: Arial, sans-serif !important;
        font-size: 13.9px !important;
        font-weight: normal;
        font-style: normal;
        overflow: hidden;               /* Hides overflow text */
        text-overflow: ellipsis;        /* Adds ellipsis for overflow text */
        max-width: calc(10ch + 20px); /* Increase to accommodate "mutation" */
    }

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: 101px;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: 110px;
        left: 219px;
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(-210px);        
    }
    
    .is-smartphone .result-stats {
        font-size: 18px;
        font-family: Lato, sans-serif;
        color: #7B8397;
        white-space: nowrap;
        position: relative; /* Keep in document flow */
        margin-left: 0; /* Remove large margin to prevent off-screen shift */
        margin-top: 10px; /* Ensure it’s below other elements */
        display: block; /* Stack vertically */
        clear: both; /* Prevent overlap with floating elements */
        width: 100%; /* Ensure it fits within container */
        visibility: visible; /* Ensure it’s not hidden */
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
    }
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    
    body.is-smartphone select { /*      body.is-smartphone select {     */ 
        border-radius: 7.9px;
        border: 1px solid #D0D0D0;
        width: 190px;
        height: 3em;
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: 15px;
        /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }

    

    #info-posted {
        display: none;
       }
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; /* Ensure the parent has a defined height */
        display: flex;
        align-items: center;
        padding: 19px;
        margin-bottom: 10px;
        border: 1.2px solid #ddd;
        border-radius: 8px;

        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        height: 150px !important;
        max-height: 210px;

        /*transform: translate(100px, -1px);*/

        padding-top: 1px;
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        /*background: linear-gradient(135deg, #f9f9f9 0%, #e6e6e6 100%);*/
        border-color: #ccc; /* Softer border color */ /* Add a subtle border color change */
        transition: background-color 0.3s, box-shadow 0.3s; /* Add transition for smooth hover effect */
        display: flex; /* Use Flexbox for better layout control */
        justify-content: center; /* Center content horizontally */
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;
    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    


.is-smartphone .ad-image {
    overflow: visible;
}

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
          
        position: absolute;
        width: 29.4% !important;
        z-index: 1;
        max-height: 225px;
        left: 10.7px;
    }
    
    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: 29.4% !important;
        left: 104px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: 29.4% !important;
        z-index: 1;
        max-height: 225px;
    }

    

    
    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 10px !important;
        background-color: #ddd !important;
        border-radius: 25px !important;
        padding: 5px 5px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 5px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 5px !important;  /* Add space between buttons (adjust as needed) */
    }

    /*///////////////////////////////////////////////////////////////////////////////////////////////////////*/

    /* Styling for the 'by' (author) text */
.is-smartphone .author-info {
    display: none;
}

/* Styling for "Updated" or "Posted" text */
.is-smartphone #info-posted {
    display: none;
}

.is-smartphone #age-info {
    white-space: nowrap; /* Prevents text from wrapping to the next line */
    overflow: hidden; /* Hides the text that exceeds the container's width */
    text-overflow: ellipsis !important; /* Adds an ellipsis ('...') at the end of the truncated text */
    max-width: calc(20ch) !important; /* Limits the text to a maximum of 20 characters */
    display: none;
}

.is-smartphone #mutation-info {
    white-space: nowrap; /* Prevents text from wrapping to the next line */
    overflow: hidden; /* Hides the text that exceeds the container's width */
    text-overflow: ellipsis; /* Adds an ellipsis ('...') at the end of the truncated text */
    max-width: calc(20ch); /* Limits the text to a maximum of 20 characters */
  }  



  .is-smartphone #city-info {
    margin-top: 50px !important;   /* Keeps the top margin as 50px */
    margin-left: 0 !important;     /* Removes the negative margin, aligning it to the left */
    text-align: left !important;   /* Ensures content inside is aligned to the left */
}

.is-smartphone #gender-info {
    white-space: nowrap;
}
/*///////////////////////////////////////////////////////////////////////////////////////////////////////*/

/* Title of the bird */
.is-smartphone .ad-details h3.bird-name {
    /*font-size: 15px;*/
    font-size: 15px !important;
}

/* Styling for price */
.is-smartphone .ad-details .price {
    /*font-size: 17px;*/
    font-size: 17px !important;
}

/* General styling for Mutation, Gender, Age, and City */
.is-smartphone .info-text {
    /*font-size: 14px;*/
    font-size: 14px;
    /*background-color: red;*/
}

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    /*top: 66px !important;*/ /* Adjust top position to move it 20px up */
    

    position: absolute; /* Position it absolutely */
    /*top: 89px;*/ /* Adjust top position to align with mutation */
    /*top: 80px !important;*/ /* Adjust top position to align with mutation */
    top: 69px !important; /* Adjust top position to align with mutation */
    /*left: 0;*/ /* Align to the left */
    left: 11px; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    /*left: 50%;*/ /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    /*width: 50%;*/ /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}

.is-smartphone .trusted-icon {
    display: none;
}

}

/*           Smartphone    device # = (1)    tested on = 319px    (max-width:	320	px) { }    ending              */


/*           Smartphone    device # = (2)    tested on = 335px    (min-width: 321px) and (max-width: 350px) { }   starting        */

@media only screen and (min-width: 321px) and (max-width: 350px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
        /*background-color: lightcoral !important;*/
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
        /*background-color: blue;*/
        /*background-color: orchid;*/
        /*background-color: blue;*/
    }

    

    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }
    
    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        width: calc(270px * 1.046875);  /* Increased by 4.6875% */
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc(0.1px * 1.046875);
    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(40px * 1.046875) !important;
        left: calc(-1px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }
    .ad-item img:not(.is-smartphone .image-count img) {
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin-left: 66px !important;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: -173px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

    /*.is-smartphone*/ .is-smartphone .dropdown-select_results {
        padding: calc(0.75em * 1.046875);
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #d0d0d0;
        width: calc(85.5px * 1.046875);       
        height: calc(2.800em * 1.046875) !important;   
        background-color: #fff;
        color: #333;
        text-align: left;
        padding-left: calc((0.75em + 4px) * 1.046875);
        margin-left: calc(-1px * 1.046875);
        font-family: Arial, sans-serif !important;
        font-size: calc(13.9px * 1.046875) !important;
        font-weight: normal;
        font-style: normal;
        overflow: hidden;               
        text-overflow: ellipsis;        
        max-width: calc((10ch + 20px) * 1.046875);
    }

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

    .is-smartphone .result-stats {
        font-size: 18px;
        font-family: Lato, sans-serif;
        color: #7B8397;
        white-space: nowrap;
        position: relative; /* Keep in document flow */
        margin-left: 0; /* Remove large margin to prevent off-screen shift */
        margin-top: 10px; /* Ensure it’s below other elements */
        display: block; /* Stack vertically */
        clear: both; /* Prevent overlap with floating elements */
        width: 100%; /* Ensure it fits within container */
        visibility: visible; /* Ensure it’s not hidden */
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }


    
    
    #info-posted {
        display: none;
       }

    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

        height: 150px !important;
        max-height: 210px;


        padding-top: calc(1px * 1.046875);
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;
    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 10.7px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        left: calc(104px * 1.046875);
        margin-left: -1.5px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        margin-left: -1.5px;
    }

    
    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 10px !important;
        background-color: #ddd !important;
        border-radius: 25px !important;
        padding: 5px 5px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 5px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 5px !important;  /* Add space between buttons (adjust as needed) */
    }

    /*///////////////////////////////////////////////////////////////////////////////////////////////////////*/

    /* Styling for the 'by' (author) text */
.is-smartphone .author-info {
    display: none;
}

/* Styling for "Updated" or "Posted" text */
.is-smartphone #info-posted {
    display: none;
}

.is-smartphone #age-info {
    white-space: nowrap; /* Prevents text from wrapping to the next line */
    overflow: hidden; /* Hides the text that exceeds the container's width */
    text-overflow: ellipsis !important; /* Adds an ellipsis ('...') at the end of the truncated text */
    max-width: calc(20ch) !important; /* Limits the text to a maximum of 20 characters */
    display: none;
}

.is-smartphone #mutation-info {
    white-space: nowrap; /* Prevents text from wrapping to the next line */
    overflow: hidden; /* Hides the text that exceeds the container's width */
    text-overflow: ellipsis; /* Adds an ellipsis ('...') at the end of the truncated text */
    max-width: calc(20ch); /* Limits the text to a maximum of 20 characters */
  }  



  .is-smartphone #city-info {
    margin-top: 50px !important;   /* Keeps the top margin as 50px */
    margin-left: 0 !important;     /* Removes the negative margin, aligning it to the left */
    text-align: left !important;   /* Ensures content inside is aligned to the left */
}

.is-smartphone #gender-info {
    white-space: nowrap;
}
/*///////////////////////////////////////////////////////////////////////////////////////////////////////*/

/* Title of the bird */
.is-smartphone .ad-details h3.bird-name {
    /*font-size: 15px;*/
    font-size: 15px !important;
}

/* Styling for price */
.is-smartphone .ad-details .price {
    /*font-size: 17px;*/
    font-size: 17px !important;
}

/* General styling for Mutation, Gender, Age, and City */
.is-smartphone .info-text {
    /*font-size: 14px;*/
    font-size: 14px;
    /*background-color: red;*/
}

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    /*top: 66px !important;*/ /* Adjust top position to move it 20px up */
    

    position: absolute; /* Position it absolutely */
    /*top: 89px;*/ /* Adjust top position to align with mutation */
    /*top: 80px !important;*/ /* Adjust top position to align with mutation */
    top: 69px !important; /* Adjust top position to align with mutation */
    /*left: 0;*/ /* Align to the left */
    left: 11px; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    /*left: 50%;*/ /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    /*width: 50%;*/ /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}

.is-smartphone .trusted-icon {
    display: none;
}

}

/*           Smartphone    device # = (2)    tested on = 335px    (min-width: 321px) and (max-width: 350px) { }   ending        */


/*           Smartphone    device # = (3)    tested on = 375px    (min-width: 351px) and (max-width: 400px) { }   starting        */

@media only screen and (min-width: 351px) and (max-width: 400px) {

                                                       /* (375/335) */

                                                       html,
                                                       body { /* .is-smartphone */
                                                           overflow-x: hidden !important;
                                                           /*background-color: lightcyan !important;*/
                                                       }

                                                       body.is-smartphone { /* .is-smartphone */
                                                           background-color: #F4F4F4;
                                                           /*height: 793vh;*/
                                                           height: 855px !important;
                                                           /*background-color: #e6adad;*/ /* Soft Mint */
                                                           /*background-color: lightsalmon;*/
                                                           /*background-color: yellow;*/
                                                       }
     
                                                       

                                                       .is-smartphone .pagination {
                                                        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
                                                        text-align: center !important; 
                                                        
                                                        padding: 15px 0 !important; 
                                                        width: 100%;
                                                    }
                                                    
                                                    .is-smartphone .pagination a {
                                                        margin: 0 -4px !important; /* Horizontal margins */
                                                        padding: 10px 15px !important; /* Padding */
                                                        
                                                    }

                                                       /*.is-smartphone*/ .is-smartphone .search-container_results {
                                                           display: flex;
                                                           flex-wrap: nowrap;
                                                           justify-content: center;
                                                           align-items: center;
                                                           gap: 0.5em;
                                                           background-color: #84a7b8;
                                                           height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
                                                           width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
                                                           border: 1px solid #ddd;
                                                           border-radius: 8px;
                                                           box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                                                           padding: 0.5em;
                                                           padding-left: calc(1em * 1.046875);
                                                           margin: calc(20px * 1.046875) auto;
                                                           margin-top: calc(66px * 1.046875);
                                                           position: relative;
                                                           left: calc(0.1px * 1.046875);
                                                       }
                                                    
                                                       /*.is-smartphone*/ .is-smartphone .image-count {
                                                           position: absolute;
                                                           bottom: calc(38px * 1.046875) !important;
                                                           left: calc(-5px * 1.046875) !important; 
                                                           display: flex;
                                                           align-items: center;
                                                           background-color: rgba(0, 0, 0, 0.6);
                                                           color: white;
                                                           padding: calc(2px * 1.046875) calc(8px * 1.046875);
                                                           border-radius: 5px;
                                                           font-size: calc(14px * 1.046875);
                                                           height: auto; /* Change to auto to fit content */
                                                       }
                                                   
                                                       .is-smartphone .ad-image img {
                                                           width: 100%;
                                                           height: 100%;
                                                           object-fit: cover;
                                                       }
                                                       
                                                       /*.is-smartphone*/ .is-smartphone .image-count img {
                                                           width: calc(17px * 1.046875);
                                                           height: calc(17px * 1.046875);
                                                           margin-right: calc(5px * 1.046875);
                                                           margin-top: calc(-1px * 1.046875);
                                                           bottom: calc(20px * 1.046875);
                                                       }
                                                       
                                                       /*.is-smartphone*/ .is-smartphone .image-count span {
                                                           position: absolute;
                                                           top: calc(2px * 1.046875);
                                                           right: calc(2px * 1.046875);
                                                       }
                                                       
                                                       /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
                                                           font-size: 11.7px; /* Sets the font size */
                                                           
                                                           position: absolute; /* Positioning */
                                                           white-space: nowrap; /* Prevents text from wrapping to the next line */
                                                           left: calc(0px + 382px); /* Moves 4px to the left */
                                                   
                                                   /*       color: #f5f5f5;  /*color 1   Soft White:*/
                                                   /*       color: #faf3e0;  /*color 2  Light Beige:*/
                                                   /*       color: #f6e8b1;  /*color 3  Muted Yellow*/
                                                   /*       color: #f4a5a5;  /*color 4  Light Coral*/
                                                   /*       color: #d3cfcf;  /*color 5  Warm Gray*/
                                                   
                                                           font-size: calc(6.6px * 1.046875) !important;  
                                                           position: absolute; 
                                                           white-space: nowrap; 
                                                           color: #f5f5f5;      
                                                           margin-top: 4.5px; /* Margin at the top */
                                                           margin-left: -140px;
                                                           transform: translateY(-3px); /* Moves 2px up */
                                                       }   
                                                   
                                                       /*.is-smartphone*/ .is-smartphone .dropdown-select_results {
                                                           padding: calc(0.75em * 1.046875);
                                                           border-radius: calc(7.9px * 1.046875);
                                                           border: 1px solid #d0d0d0; 
                                                           width: calc(85.5px * 1.046875 * (375/335));       
                                                           height: calc(2.800em * 1.046875) !important;   
                                                           background-color: #fff;
                                                           color: #333;
                                                           text-align: left;
                                                           padding-left: calc((0.75em + 4px) * 1.046875);
                                                           margin-left: calc(-1px * 1.046875);
                                                           font-family: Arial, sans-serif !important;
                                                           font-size: calc(13.9px * 1.046875) !important;
                                                           font-weight: normal;
                                                           font-style: normal;
                                                           overflow: hidden;               
                                                           text-overflow: ellipsis;        
                                                           max-width: calc((10ch + 20px) * 1.046875);
                                                       }
                                                   
                                                       /*.is-smartphone*/ .is-smartphone #find-button2 {
                                                           margin-top: calc(101px * 1.046875);
                                                           top: 25%;
                                                           left: 50%;
                                                           transform: translate(-50%, -50%);
                                                       }
                                                   
                                                       /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
                                                           top: calc(110px * 1.046875);
                                                           left: calc(219px * 1.046875);
                                                           color: rgba(35, 61, 123, 0.9);
                                                           transform: translateX(calc(-210px * 1.046875));        
                                                       }
                                                   
                                                       .is-smartphone .result-stats {
                                                        font-size: 18px;
                                                        font-family: Lato, sans-serif;
                                                        color: #7B8397;
                                                        white-space: nowrap;
                                                        position: relative; /* Keep in document flow */
                                                        margin-left: 0; /* Remove large margin to prevent off-screen shift */
                                                        margin-top: 10px; /* Ensure it’s below other elements */
                                                        display: block; /* Stack vertically */
                                                        clear: both; /* Prevent overlap with floating elements */
                                                        width: 100%; /* Ensure it fits within container */
                                                        visibility: visible; /* Ensure it’s not hidden */
                                                    }
                                                   
                                                       /*.is-smartphone*/ .is-smartphone .result-stats-bold {
                                                           color: #5F6A73;
                                                           font-weight: bold;
                                                           
                                                       }
                                                      
                                                       /*.is-smartphone*/ .is-smartphone #no-results-message {
                                                           transform: translate(110px, -1px);
                                                       }
                                                   
                                                       
                                                   
                                                       body.is-smartphone select {  /*      body.is-smartphone select {     */ 
                                                           border-radius: calc(7.9px * 1.046875);
                                                           border: 1px solid #D0D0D0;
                                                           width: calc(190px * 1.046875);
                                                           height: calc(3em * 1.046875);
                                                           background-color: #fff;
                                                           color: #333;
                                                           /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
                                                           font-size: calc(15px * 1.046875);
                                                              /*position: relative;
                                                           z-index: -1;     */
                                                       }
                                                   
                                                       /*.is-smartphone*/ .is-smartphone label[for="options"] {
                                                           /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
                                                           position: relative;
                                                           z-index: -1;
                                                       }
                                                   
                                                   
                                                       

                                                       #info-posted {
                                                        display: none;
                                                       }
                                                       
                                                       /*.is-smartphone*/ .is-smartphone .ad-item {
                                                           position: relative; 
                                                           
                                                           align-items: center;
                                                           padding: calc(19px * 1.046875);
                                                           margin-bottom: 10px;
                                                           border: 1.2px solid #ddd;
                                                   
                                                           border-radius: 8px;
                                                           box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                                                           
                                                           height: 140px !important;
                                                           max-height: 210px;
                                                           
                                                           
                                                           padding-top: calc(1px * 1.046875);
                                                           
                                                           background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
                                                           border-color: #ccc;
                                                           transition: background-color 0.3s, box-shadow 0.3s; 
                                                           display: flex; 
                                                           justify-content: center; 
                                                           /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
                                                           /*overflow: visible;*/
                                                           overflow: hidden;
                                                           
                                                       }
                                                       
                                                       /*.is-smartphone*/ .is-smartphon .ad-item:hover {
                                                           background-color: #f1f1f1; 
                                                           box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
                                                       }
                                                       
                                                       
                                                   
                                                       .is-smartphone .ad-image {
                                                           overflow: visible;
                                                       }
                                                   
                                                       /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
                                                           position: absolute;
                                                           width: calc(29.4% * 1.046875) !important;
                                                           z-index: 1;
                                                           max-height: 225px;
                                                           left: 10.7px;
                                                       }
                                                   
                                                       /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
                                                           position: absolute;
                                                           z-index: 1;
                                                           max-height: 225px;
                                                           width: calc(29.4% * 1.046875) !important;
                                                           left: calc(104px * 1.046875 (375/335));
                                                           margin-left: -1.5px;
                                                       }
                                                   
                                                       /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
                                                           position: absolute;
                                                           width: calc(29.4% * 1.046875) !important;
                                                           z-index: 1;
                                                           max-height: 225px;
                                                           margin-left: -1.5px;
                                                       }
                                                   
                                                       
                                                       .pagination a.links-previous-and-next {
                                                        text-decoration: none;
                                                        color: #007bff;
                                                        
                                                        border: transparent;
                                                        background-color: transparent;
                                                        margin-top: 100px;
                                                    
                                                        font-size: 12px !important;
                                                        background-color: #ddd !important;
                                                        border-radius: 27px !important;
                                                        padding: 7px 7px !important;
                                                        text-decoration: none !important;
                                                        color: #333 !important;
                                                        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
                                                    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
                                                    }     


                                                    /*///////////////////////////////////////////////////////////////////////////////////////////////////////*/

    /* Styling for the 'by' (author) text */
.is-smartphone .author-info {
    display: none;
}

/* Styling for "Updated" or "Posted" text */
.is-smartphone #info-posted {
    display: none;
}

.is-smartphone #age-info {
    white-space: nowrap; /* Prevents text from wrapping to the next line */
    overflow: hidden; /* Hides the text that exceeds the container's width */
    text-overflow: ellipsis !important; /* Adds an ellipsis ('...') at the end of the truncated text */
    max-width: calc(20ch) !important; /* Limits the text to a maximum of 20 characters */
    display: none;
}

.is-smartphone #mutation-info {
    white-space: nowrap; /* Prevents text from wrapping to the next line */
    overflow: hidden; /* Hides the text that exceeds the container's width */
    text-overflow: ellipsis; /* Adds an ellipsis ('...') at the end of the truncated text */
    max-width: calc(20ch); /* Limits the text to a maximum of 20 characters */
  }  



  .is-smartphone #city-info {
    margin-top: 40px !important;   /* Keeps the top margin as 50px */
    margin-left: 0 !important;     /* Removes the negative margin, aligning it to the left */
    text-align: left !important;   /* Ensures content inside is aligned to the left */
}

.is-smartphone #gender-info {
    white-space: nowrap;
}
/*///////////////////////////////////////////////////////////////////////////////////////////////////////*/

/* Title of the bird */
.is-smartphone .ad-details h3.bird-name {
    /*font-size: 15px;*/
    font-size: 15px !important;

    white-space: nowrap; /* Prevents text from wrapping to the next line */
    overflow: hidden; /* Hides the text that exceeds the container's width */
    text-overflow: ellipsis; /* Adds an ellipsis ('...') at the end of the truncated text */
    max-width: calc(20ch); /* Limits the text to a maximum of 20 characters */
}

/* Styling for price */
.is-smartphone .ad-details .price {
    /*font-size: 17px;*/
    font-size: 17px !important;
}

/* General styling for Mutation, Gender, Age, and City */
.is-smartphone .info-text {
    /*font-size: 14px;*/
    font-size: 14px;
    /*background-color: red;*/
}

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    /*top: 66px !important;*/ /* Adjust top position to move it 20px up */
    

    position: absolute; /* Position it absolutely */
    /*top: 89px;*/ /* Adjust top position to align with mutation */
    /*top: 80px !important;*/ /* Adjust top position to align with mutation */
    top: 69px !important; /* Adjust top position to align with mutation */
    /*left: 0;*/ /* Align to the left */
    left: 11px; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    /*left: 50%;*/ /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    /*width: 50%;*/ /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}

.is-smartphone .trusted-icon {
    display: none;
}

}

/*           Smartphone    device # = (3)    tested on = 375px    (min-width: 351px) and (max-width: 400px) { }   ending        */


/*           Smartphone    device # = (4)    tested on = 425px    (min-width: 401px) and (max-width: 480px) { }   starting        */

@media only screen and (min-width: 401px) and (max-width: 450px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
        /*background-color: lightgoldenrodyellow !important;*/
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
        /*background-color: orange;*/
        /*background-color: lightpink;*/
        /*background-color: green;*/
    }
    
    
    
    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }

    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        width: calc(278px * 1.046875 * (375/335) * (425/375));  /* Increased by 4.6875% */
        /* * (425/375));*/
        
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc(0.1px * 1.046875);
    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
        left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
        
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: -86px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(100.5px * 1.046875 * (375/335));  
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

    .is-smartphone .result-stats {
        font-size: 18px;
        font-family: Lato, sans-serif;
        color: #7B8397;
        white-space: nowrap;
        position: relative; /* Keep in document flow */
        margin-left: 0; /* Remove large margin to prevent off-screen shift */
        margin-top: 10px; /* Ensure it’s below other elements */
        display: block; /* Stack vertically */
        clear: both; /* Prevent overlap with floating elements */
        width: 100%; /* Ensure it fits within container */
        visibility: visible; /* Ensure it’s not hidden */
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }


    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        
        height: 140px !important;
        max-height: 210px;
        
        
        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;
        
    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 10.7px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        left: calc(104px * 1.046875 (375/335));
        margin-left: -1.5px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        margin-left: -1.5px;
    }

    
    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 7px 7px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }

/*///////////////////////////////////////////////////////////////////////////////////////////////////////*/

    /* Styling for the 'by' (author) text */
    .is-smartphone .author-info {
        display: none;
    }
    
    /* Styling for "Updated" or "Posted" text */
    .is-smartphone #info-posted {
        display: none;
    }
    
    .is-smartphone #age-info {
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        overflow: hidden; /* Hides the text that exceeds the container's width */
        text-overflow: ellipsis !important; /* Adds an ellipsis ('...') at the end of the truncated text */
        max-width: calc(20ch) !important; /* Limits the text to a maximum of 20 characters */
        display: none;
    }
    
    .is-smartphone #mutation-info {
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        overflow: hidden; /* Hides the text that exceeds the container's width */
        text-overflow: ellipsis; /* Adds an ellipsis ('...') at the end of the truncated text */
        max-width: calc(20ch); /* Limits the text to a maximum of 20 characters */
      }  
    
    
    
      .is-smartphone #city-info {
        margin-top: 40px !important;   /* Keeps the top margin as 50px */
        margin-left: 0 !important;     /* Removes the negative margin, aligning it to the left */
        text-align: left !important;   /* Ensures content inside is aligned to the left */
    }
    
    .is-smartphone #gender-info {
        white-space: nowrap;
    }
    /*///////////////////////////////////////////////////////////////////////////////////////////////////////*/

/* Title of the bird */
.is-smartphone .ad-details h3.bird-name {
    /*font-size: 15px;*/
    font-size: 15px !important;
}

/* Styling for price */
.is-smartphone .ad-details .price {
    /*font-size: 17px;*/
    font-size: 17px !important;
}

/* General styling for Mutation, Gender, Age, and City */
.is-smartphone .info-text {
    /*font-size: 14px;*/
    font-size: 14px;
    /*background-color: red;*/
}

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    /*top: 66px !important;*/ /* Adjust top position to move it 20px up */
    

    position: absolute; /* Position it absolutely */
    /*top: 89px;*/ /* Adjust top position to align with mutation */
    /*top: 80px !important;*/ /* Adjust top position to align with mutation */
    top: 69px !important; /* Adjust top position to align with mutation */
    /*left: 0;*/ /* Align to the left */
    left: 11px; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    /*left: 50%;*/ /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    /*width: 50%;*/ /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}

/*.is-smartphone .ad-image img:not(.is-smartphone .image-count img):not(.feature-icon) {*/
.is-smartphone .trusted-icon {
    display: none;
}

}

/*           Smartphone    device # = (4)    tested on = 425px    (min-width: 401px) and (max-width: 480px) { }   ending        */


/*           Smartphone    device # = (5)    tested on = 475px    (min-width: 451px) and (max-width: 500px) { }   starting        */

@media only screen and (min-width: 451px) and (max-width: 500px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
        /*background-color: palegreen;*/
        /*background-color: lightblue;*/
        /*background-color: orange;*/
    }
    
    

    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }
    
    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (475/425));  /* add 6 px*/
        /* * (425/375));*/
        
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc(0.1px * 1.046875);
    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: -33.5px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(102.5px * 1.046875 * (375/335) * (475/425));   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

    .is-smartphone .result-stats {
        font-size: 18px;
        font-family: Lato, sans-serif;
        color: #7B8397;
        white-space: nowrap;
        position: relative; /* Keep in document flow */
        margin-left: 0; /* Remove large margin to prevent off-screen shift */
        margin-top: 10px; /* Ensure it’s below other elements */
        display: block; /* Stack vertically */
        clear: both; /* Prevent overlap with floating elements */
        width: 100%; /* Ensure it fits within container */
        visibility: visible; /* Ensure it’s not hidden */
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }


    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        
        height: 140px !important;
        max-height: 210px;
        
        
        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;

    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 10.7px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        left: calc(104px * 1.046875 (375/335));
        margin-left: -1.5px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        margin-left: -1.5px;
    }

    
    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 7px 7px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }

    /*///////////////////////////////////////////////////////////////////////////////////////////////////////*/

    /* Styling for the 'by' (author) text */
.is-smartphone .author-info {
    display: none;
}

/* Styling for "Updated" or "Posted" text */
.is-smartphone #info-posted {
    display: none;
}

.is-smartphone #age-info {
    white-space: nowrap; /* Prevents text from wrapping to the next line */
    overflow: hidden; /* Hides the text that exceeds the container's width */
    text-overflow: ellipsis !important; /* Adds an ellipsis ('...') at the end of the truncated text */
    max-width: calc(20ch) !important; /* Limits the text to a maximum of 20 characters */
    display: none;
}

  
.is-smartphone #mutation-info {
    white-space: nowrap; /* Prevents text from wrapping to the next line */
    overflow: hidden; /* Hides the text that exceeds the container's width */
    text-overflow: ellipsis; /* Adds an ellipsis ('...') at the end of the truncated text */
    max-width: calc(20ch); /* Limits the text to a maximum of 20 characters */
  }


  .is-smartphone #city-info {
    margin-top: 40px !important;   /* Keeps the top margin as 50px */
    margin-left: 0 !important;     /* Removes the negative margin, aligning it to the left */
    text-align: left !important;   /* Ensures content inside is aligned to the left */
}

.is-smartphone #gender-info {
    white-space: nowrap;
}

/* Title of the bird */
.is-smartphone .ad-details h3.bird-name {
    /*font-size: 15px;*/
    font-size: 15px !important;
}

/* Styling for price */
.is-smartphone .ad-details .price {
    /*font-size: 17px;*/
    font-size: 17px !important;
}

/* General styling for Mutation, Gender, Age, and City */
.is-smartphone .info-text {
    /*font-size: 14px;*/
    font-size: 14px;
    /*background-color: red;*/
}

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    /*top: 66px !important;*/ /* Adjust top position to move it 20px up */
    

    position: absolute; /* Position it absolutely */
    /*top: 89px;*/ /* Adjust top position to align with mutation */
    /*top: 80px !important;*/ /* Adjust top position to align with mutation */
    top: 69px !important; /* Adjust top position to align with mutation */
    /*left: 0;*/ /* Align to the left */
    left: 11px; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    /*left: 50%;*/ /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    /*width: 50%;*/ /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}

/*
.city-info {
    
}
*/
/*hii//////////////*/

/*///////////////////////////////////////////////////////////////////////////////////////////////////////*/



}

/*           Smartphone    device # = (5)    tested on = 475px    (min-width: 451px) and (max-width: 500px) { }   ending        */


/*           Smartphone    device # = (6)    tested on = 525px    (min-width: 501px) and (max-width: 550px) { }   starting        */

@media only screen and (min-width: 501px) and (max-width: 550px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
        /*background-color: palevioletred;*/
    }
    
    

    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }
    
    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (525 / 425));  /* add 6 px*/
        /* * (425/375));*/
        
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc(0.1px * 1.046875);
    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: 9px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(102.5px * 1.046875 * (375/335) * (525 / 425));   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

    .is-smartphone .result-stats {
        font-size: 18px;
        font-family: Lato, sans-serif;
        color: #7B8397;
        white-space: nowrap;
        position: relative; /* Keep in document flow */
        margin-left: 0; /* Remove large margin to prevent off-screen shift */
        margin-top: 10px; /* Ensure it’s below other elements */
        display: block; /* Stack vertically */
        clear: both; /* Prevent overlap with floating elements */
        width: 100%; /* Ensure it fits within container */
        visibility: visible; /* Ensure it’s not hidden */
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }


    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

        height: 140px !important;
        max-height: 210px;

        
        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;

    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 12.7px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        left: calc(104px * 1.046875 (375/335));
        margin-left: -1.5px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        margin-left: -1.5px;
    }

    
    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 7px 7px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }

    /* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    top: 66px !important; /* Adjust top position to move it 20px up */

    position: absolute; /* Position it absolutely */
    top: 89px; /* Adjust top position to align with mutation */
    left: 0; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    left: 50%; /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}



}

/*           Smartphone    device # = (6)    tested on = 525px    (min-width: 501px) and (max-width: 550px) { }   ending        */


/*           Smartphone    device # = (7)    tested on = 575px    (min-width: 551px) and (max-width: 600px) { }   starting        */

@media only screen and (min-width: 551px) and (max-width: 600px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
    }

    

    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }
    
    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        /*width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525));  /* add 6 px*/
        width: calc(290px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525));  /* add 6 px*/
        /*
      * (575/ 525)
      
*/
        
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc(0.1px * 1.046875);
    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: 63px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(104.5px * 1.046875 * (375/335) * (525 / 425) * (575/ 525));   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

     /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: relative;
        color: #7B8397;
        margin-right: 200px;
        transform: translate(105px , -83px);
        margin-left: 400px;
        margin-bottom: -32px;
        /*white-space: wrap;*/
    }

    /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: absolute; /* Change to absolute positioning */
        right: 0; /* Align to the right edge */
        color: #7B8397;
        margin-right: 20px; /* Adjust margin as needed */
        margin-bottom: -32px;       
        top: -50px; /* Adjust top position as needed */
        transform: none; /* Remove transform */
        margin-left: 70%;
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }


    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

        height: 140px !important;
        max-height: 210px;

        
        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;

    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 16px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        left: 192px;
        margin-left: -1.5px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 363px;
        margin-left: -1.5px;
    }

     

    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 7px 7px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    top: 66px !important; /* Adjust top position to move it 20px up */

    position: absolute; /* Position it absolutely */
    top: 89px; /* Adjust top position to align with mutation */
    left: 0; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    left: 50%; /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}



}

/*           Smartphone    device # = (7)    tested on = 575px    (min-width: 551px) and (max-width: 600px) { }   ending        */


/*           Smartphone    device # = (8)    tested on = 625px    (min-width: 601px) and (max-width: 650px) { }   starting        */

@media only screen and (min-width: 601px) and (max-width: 650px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
    }

    
    
    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }

    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        /*width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525));  /* add 6 px*/
        width: calc(290px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525) * ( 625 / 575));  /* add 6 px*/
    /*
       * ( 625 / 575)  
    */  
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc(0.1px * 1.046875);
    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }
    
    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: 107px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(104.5px * 1.046875 * (375/335) * (525 / 425) * (575/ 525) * ( 625 / 575));   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

     /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: relative;
        color: #7B8397;
        margin-right: 200px;
        transform: translate(105px , -83px);
        margin-left: 453px;
        margin-bottom: -32px;
        /*white-space: wrap;*/
    }

    /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: absolute; /* Change to absolute positioning */
        right: 0; /* Align to the right edge */
        color: #7B8397;
        margin-right: 20px; /* Adjust margin as needed */
        margin-bottom: -32px;       
        top: -50px; /* Adjust top position as needed */
        transform: none; /* Remove transform */
        margin-left: 70%;
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }


    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

        height: 140px !important;
        max-height: 210px;


        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;

    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 18px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        left: 192px;
        margin-left: 13.7px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 363px;
        margin-left: 29px;
    }

    

    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 9px 9px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    top: 66px !important; /* Adjust top position to move it 20px up */

    position: absolute; /* Position it absolutely */
    top: 89px; /* Adjust top position to align with mutation */
    left: 0; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    left: 50%; /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}



}

/*           Smartphone    device # = (8)    tested on = 625px    (min-width: 601px) and (max-width: 650px) { }   ending        */


/*           Smartphone    device # = (9)    tested on = 675px    (min-width: 651px) and (max-width: 700px) { }   starting        */

@media only screen and (min-width: 651px) and (max-width: 700px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
    }

    
    
    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }
    
    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        /*width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525));  /* add 6 px*/
        width: calc(290px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625));  /* add 6 px*/
    /*
       * ( 675 / 625)  
    */  
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc(0.1px * 1.046875);
    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: 151.5px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(104.5px * 1.046875 * (375/335) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625));   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

     /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: relative;
        color: #7B8397;
        margin-right: 200px;
        transform: translate(142px , -83px);
        margin-left: 453px;
        margin-bottom: -32px;
        /*white-space: wrap;*/
    }

    /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: absolute; /* Change to absolute positioning */
        right: 0; /* Align to the right edge */
        color: #7B8397;
        margin-right: 20px; /* Adjust margin as needed */
        margin-bottom: -32px;       
        top: -50px; /* Adjust top position as needed */
        transform: none; /* Remove transform */
        margin-left: 70%;
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }


    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

        height: 140px !important;
        max-height: 210px;


        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;

    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 18px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        left: 208px; /* Adjust this value as needed */
        margin-left: 13.7px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 394px; /* Adjust this value as needed */
        margin-left: 29px;
    }

    

    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 11px 11px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    top: 66px !important; /* Adjust top position to move it 20px up */

    position: absolute; /* Position it absolutely */
    top: 89px; /* Adjust top position to align with mutation */
    left: 0; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    left: 50%; /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}



}

/*           Smartphone    device # = (9)    tested on = 675px    (min-width: 651px) and (max-width: 700px) { }   ending        */


/*           Smartphone    device # = (10)    tested on = 725px    (min-width: 701px) and (max-width: 750px) { }   starting        */

@media only screen and (min-width: 701px) and (max-width: 750px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
        /*background-color: rgb(206, 215, 206) !important;*/
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
     /*height: 793vh;*/
     height: 855px !important;
    }

    

    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }
    
    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        /*width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525));  /* add 6 px*/
        width: calc(290px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675));  /* add 6 px*/
    /*
       * ( 725 / 675)  
    */  
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc(0.1px * 1.046875);
    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: 196.5px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(104.5px * 1.046875 * (375/335) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675));   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

     /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: relative;
        color: #7B8397;
        margin-right: 200px;
        transform: translate(142px , -83px);
        margin-left: 483px;
        margin-bottom: -32px;
        /*white-space: wrap;*/
    }

    /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: absolute; /* Change to absolute positioning */
        right: 0; /* Align to the right edge */
        color: #7B8397;
        margin-right: 20px; /* Adjust margin as needed */
        margin-bottom: -32px;       
        top: -50px; /* Adjust top position as needed */
        transform: none; /* Remove transform */
        margin-left: 70%;
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }


    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

        height: 140px !important;
        max-height: 210px;


        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;

    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 18px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        left: 224px; /* Adjust this value as needed */
        margin-left: 13.7px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 425px; /* Adjust this value as needed */
        margin-left: 29px;
    }

    

    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 11px 11px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    top: 66px !important; /* Adjust top position to move it 20px up */

    position: absolute; /* Position it absolutely */
    top: 89px; /* Adjust top position to align with mutation */
    left: 0; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    left: 50%; /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}



}

/*           Smartphone    device # = (10)    tested on = 725px    (min-width: 701px) and (max-width: 750px) { }   ending        */


/*           Smartphone    device # = (11)    tested on = 775px    (min-width: 751px) and (max-width: 800px) { }   starting        */

@media only screen and (min-width: 751px) and (max-width: 800px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
    }

    

    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }
    
    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        /*width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525));  /* add 6 px*/
        width: calc(294px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725));  /* add 6 px*/
    /*
       * ( 775 / 725)  
    */  
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc((-0.5px * 1.046875) + 0.3px);
        
/*        margin: calc(20px * 1.046875) auto; /* Center horizontally with auto margins */

    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: 196.5px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(106.5px * 1.046875 * (375/335) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725));   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

     /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: relative;
        color: #7B8397;
        margin-right: 200px;
        transform: translate(142px , -83px);
        margin-left: 500px;
        margin-bottom: -32px;
        /*white-space: wrap;*/
    }

    /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: absolute; /* Change to absolute positioning */
        right: 0; /* Align to the right edge */
        color: #7B8397;
        margin-right: 20px; /* Adjust margin as needed */
        margin-bottom: -32px;       
        top: -50px; /* Adjust top position as needed */
        transform: none; /* Remove transform */
        margin-left: 70%;
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }


    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        
        height: 140px !important;
        max-height: 210px;
        

        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;

    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 20px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        
        left: 255px;
        
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 425px; /* Adjust this value as needed */
        margin-left: 63.5px;
    }

    

    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 11px 11px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }


    /* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    top: 66px !important; /* Adjust top position to move it 20px up */

    position: absolute; /* Position it absolutely */
    top: 89px; /* Adjust top position to align with mutation */
    left: 0; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    left: 50%; /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}



}

/*           Smartphone    device # = (11)    tested on = 775px    (min-width: 751px) and (max-width: 800px) { }   ending        */


/*           Smartphone    device # = (12)    tested on = 825px    (min-width: 801px) and (max-width: 850px) { }   starting        */

@media only screen and (min-width: 801px) and (max-width: 850px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
    }

    

    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }
    
    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        /*width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525));  /* add 6 px*/
        width: calc(294px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775));  /* add 6 px*/
    /*
       * ( 825 / 775)  
    */  
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc((-0.5px * 1.046875) + 0.3px);
        
/*        margin: calc(20px * 1.046875) auto; /* Center horizontally with auto margins */

    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: 196.5px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(106.5px * 1.046875 * (375/335) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775));   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

     /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: relative;
        color: #7B8397;
        margin-right: 200px;
        transform: translate(142px , -83px);
        margin-left: 530px;
        margin-bottom: -32px;
        /*white-space: wrap;*/
        
    }

    /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: absolute; /* Change to absolute positioning */
        right: 0; /* Align to the right edge */
        color: #7B8397;
        margin-right: 20px; /* Adjust margin as needed */
        margin-bottom: -32px;       
        top: -50px; /* Adjust top position as needed */
        transform: none; /* Remove transform */
        margin-left: 70%;
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }

    
    /*
    .is-smartphone .result-stats-bold::After {
    content: '33'; 
    }
    */
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }


    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

        height: 140px !important;
        max-height: 210px;


        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;

    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 20px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        
        left: 271px;
        
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 425px; /* Adjust this value as needed */
        margin-left: 94px;
    }

    

    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 11px 11px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    top: 66px !important; /* Adjust top position to move it 20px up */

    position: absolute; /* Position it absolutely */
    top: 89px; /* Adjust top position to align with mutation */
    left: 0; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    left: 50%; /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}



}

/*           Smartphone    device # = (12)    tested on = 825px    (min-width: 801px) and (max-width: 850px) { }   ending        */


/*           Smartphone    device # = (13)    tested on = 875px    (min-width: 851px) and (max-width: 900px) { }   starting        */

@media only screen and (min-width: 851px) and (max-width: 900px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
    }

    

    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }
    
    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        /*width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525));  /* add 6 px*/
        width: calc(294px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825));  /* add 6 px*/
    /*
       * ( 875 / 825)  
    */  
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc((-0.5px * 1.046875) + 0.3px);
        
/*        margin: calc(20px * 1.046875) auto; /* Center horizontally with auto margins */

    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: 196.5px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(106.5px * 1.046875 * (375/335) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825));   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

     /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: relative;
        color: #7B8397;
        margin-right: 200px;
        transform: translate(142px , -83px);
        margin-left: 557px;
        margin-bottom: -32px;
        /*white-space: wrap;*/
        
    }

    /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: absolute; /* Change to absolute positioning */
        right: 0; /* Align to the right edge */
        color: #7B8397;
        margin-right: 20px; /* Adjust margin as needed */
        margin-bottom: -32px;       
        top: -50px; /* Adjust top position as needed */
        transform: none; /* Remove transform */
        margin-left: 70%;
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }

    
    /*
    .is-smartphone .result-stats-bold::After {
    content: '33'; 
    }
    */
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }


    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

        height: 140px !important;
        max-height: 210px;


        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;

    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 22px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        
        left: 285px;
        
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 455px; /* Adjust this value as needed */
        margin-left: 94px;
    }

    

    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 11px 11px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    top: 66px !important; /* Adjust top position to move it 20px up */

    position: absolute; /* Position it absolutely */
    top: 89px; /* Adjust top position to align with mutation */
    left: 0; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    left: 50%; /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}



}

/*           Smartphone    device # = (13)    tested on = 875px    (min-width: 851px) and (max-width: 900px) { }   ending        */


/*           Smartphone    device # = (14)    tested on = 925px    (min-width: 901px) and (max-width: 950px) { }   starting        */

@media only screen and (min-width: 901px) and (max-width: 950px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
    }

    
    
    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }

    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        /*width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525));  /* add 6 px*/
        width: calc(294px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875));  /* add 6 px*/
    /*
       * ( 925 / 875)  
    */  
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc((-0.5px * 1.046875) + 0.3px);
        
/*        margin: calc(20px * 1.046875) auto; /* Center horizontally with auto margins */

    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: 196.5px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(106.5px * 1.046875 * (375/335) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875));   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

     /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: relative;
        color: #7B8397;
        margin-right: 200px;
        transform: translate(160px , -83px);
        margin-left: 557px;
        margin-bottom: -32px;
        /*white-space: wrap;*/
        
    }

    /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: absolute; /* Change to absolute positioning */
        right: 0; /* Align to the right edge */
        color: #7B8397;
        margin-right: 20px; /* Adjust margin as needed */
        margin-bottom: -32px;       
        top: -50px; /* Adjust top position as needed */
        transform: none; /* Remove transform */
        margin-left: 70%;
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }

    
    /*
    .is-smartphone .result-stats-bold::After {
    content: '33'; 
    }
    */
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }


    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

        height: 140px !important;
        max-height: 210px;


        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;

    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 24px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        
        left: 301px;
        
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 488px; /* Adjust this value as needed */
        margin-left: 94px;
    }

    

    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 11px 11px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    top: 66px !important; /* Adjust top position to move it 20px up */

    position: absolute; /* Position it absolutely */
    top: 89px; /* Adjust top position to align with mutation */
    left: 0; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    left: 50%; /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}



}

/*           Smartphone    device # = (14)    tested on = 925px    (min-width: 901px) and (max-width: 950px) { }   ending        */


/*           Smartphone    device # = (15)    tested on = 975px    (min-width: 951px) and (max-width: 1000px) { }   starting        */

@media only screen and (min-width: 951px) and (max-width: 1000px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
    }

    

    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }
    
    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        /*width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525));  /* add 6 px*/
        
        width: calc(300px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875) * ( 975 / 925));  /* add 6 px*/
    /*
       * ( 975 / 925)  
    */  
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc((-0.5px * 1.046875) + 0.3px);
        
/*        margin: calc(20px * 1.046875) auto; /* Center horizontally with auto margins */

    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: 196.5px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(108.5px * 1.046875 * (375/335) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875) * ( 975 / 925));   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

     /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: relative;
        color: #7B8397;
        margin-right: 200px;
        transform: translate(160px , -83px);
        margin-left: 581px;
        margin-bottom: -32px;
        /*white-space: wrap;*/
        
    }

    /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: absolute; /* Change to absolute positioning */
        right: 0; /* Align to the right edge */
        color: #7B8397;
        margin-right: 20px; /* Adjust margin as needed */
        margin-bottom: -32px;       
        top: -50px; /* Adjust top position as needed */
        transform: none; /* Remove transform */
        margin-left: 70%;
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }

    
    /*
    .is-smartphone .result-stats-bold::After {
    content: '33'; 
    }
    */
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }


    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

        height: 140px !important;
        max-height: 210px;
        




        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;

    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 24px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        
        left: 324px;
        
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 528px; /* Adjust this value as needed */
        margin-left: 94px;
    }

    

    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 11px 11px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    top: 66px !important; /* Adjust top position to move it 20px up */

    position: absolute; /* Position it absolutely */
    top: 89px; /* Adjust top position to align with mutation */
    left: 0; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    left: 50%; /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}



}

/*           Smartphone    device # = (15)    tested on = 975px    (min-width: 951px) and (max-width: 1000px) { }   ending        */


/*           Smartphone    device # = (16)    tested on = 1025px    (min-width: 1001px) and (max-width: 1050px) { }   starting        */

@media only screen and (min-width: 1001px) and (max-width: 1050px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
    }

    

    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }
    
    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        /*width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525));  /* add 6 px*/
        
        width: calc(300px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875) * ( 975 / 925) * ( 1025 / 975));  /* add 6 px*/
    /*
       * ( 1025 / 975)  
    */  
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc((-0.5px * 1.046875) + 0.3px);
        
/*        margin: calc(20px * 1.046875) auto; /* Center horizontally with auto margins */

    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: 196.5px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(108.5px * 1.046875 * (375/335) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875) * ( 975 / 925) * ( 1025 / 975));   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

     /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: relative;
        color: #7B8397;
        margin-right: 200px;
        transform: translate(160px , -83px);
        margin-left: 605px;
        margin-bottom: -32px;
        /*white-space: wrap;*/
        
    }

    /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: absolute; /* Change to absolute positioning */
        right: 0; /* Align to the right edge */
        color: #7B8397;
        margin-right: 20px; /* Adjust margin as needed */
        margin-bottom: -32px;       
        top: -50px; /* Adjust top position as needed */
        transform: none; /* Remove transform */
        margin-left: 70%;
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }

    
    /*
    .is-smartphone .result-stats-bold::After {
    content: '33'; 
    }
    */
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }

/*14.4*/
    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        
        height: 140px !important;
        max-height: 210px;
        
        



        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;
        
    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 27px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        
        left: 340px;
        
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 528px; /* Adjust this value as needed */
        margin-left: 127px;
    }

    

    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 11px 11px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    top: 66px !important; /* Adjust top position to move it 20px up */

    position: absolute; /* Position it absolutely */
    top: 89px; /* Adjust top position to align with mutation */
    left: 0; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    left: 50%; /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}



}

/*           Smartphone    device # = (16)    tested on = 1025px    (min-width: 1001px) and (max-width: 1050px) { }   ending        */


/*           Smartphone    device # = (17)    tested on = 1075px    (min-width: 1051px) and (max-width: 1100px) { }   starting        */

@media only screen and (min-width: 1051px) and (max-width: 1100px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
    }

    

    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }
    
    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        /*width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525));  /* add 6 px*/
        
        width: calc(300px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875) * ( 975 / 925) * ( 1025 / 975) * ( 1075 / 1025));  /* add 6 px*/
    /*
       * ( 1075 / 1025)  
    */  
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc((-0.5px * 1.046875) + 0.3px);
        
/*        margin: calc(20px * 1.046875) auto; /* Center horizontally with auto margins */

    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: 196.5px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(108.5px * 1.046875 * (375/335) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875) * ( 975 / 925) * ( 1025 / 975) * ( 1075 / 1025));   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

     /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: relative;
        color: #7B8397;
        margin-right: 100px;
        transform: translate(181px , -83px);
        margin-left: 605px;
        margin-bottom: -32px;
        /*white-space: wrap;*/
        
    }

    /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: absolute; /* Change to absolute positioning */
        right: 0; /* Align to the right edge */
        color: #7B8397;
        margin-right: 20px; /* Adjust margin as needed */
        margin-bottom: -32px;       
        top: -50px; /* Adjust top position as needed */
        transform: none; /* Remove transform */
        margin-left: 70%;
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }

    
    /*
    .is-smartphone .result-stats-bold::After {
    content: '33'; 
    }
    */
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }

/*14.4*/
    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        
        height: 140px !important;
        max-height: 210px;
        
        



        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;
        
    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 28px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        
        left: 356px;
        
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 555px; /* Adjust this value as needed */
        margin-left: 127px;
    }

    

    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 11px 11px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }    

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    top: 66px !important; /* Adjust top position to move it 20px up */

    position: absolute; /* Position it absolutely */
    top: 89px; /* Adjust top position to align with mutation */
    left: 0; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    left: 50%; /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}



}

/*           Smartphone    device # = (17)    tested on = 1075px    (min-width: 1051px) and (max-width: 1100px) { }   ending        */


/*           Smartphone    device # = (18)    tested on = 1125px    (min-width: 1101px) and (max-width: 1150px) { }   starting        */

@media only screen and (min-width: 1101px) and (max-width: 1150px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
    }
    
    

    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }    

    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        /*width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525));  /* add 6 px*/
        
        width: calc(300px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875) * ( 975 / 925) * ( 1025 / 975) * ( 1075 / 1025) * ( 1125 / 1075) );  /* add 6 px*/
    /*
       * ( 1125 / 1075)  
    */  
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc((-0.5px * 1.046875) + 0.3px);
        
/*        margin: calc(20px * 1.046875) auto; /* Center horizontally with auto margins */

    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: 196.5px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(108.5px * 1.046875 * (375/335) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875) * ( 975 / 925) * ( 1025 / 975) * ( 1075 / 1025) * ( 1125 / 1075));   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

     /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: relative;
        color: #7B8397;
        margin-right: 100px;
        transform: translate(211px , -83px);
        margin-left: 605px;
        margin-bottom: -32px;
        /*white-space: wrap;*/
        
    }

    /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: absolute; /* Change to absolute positioning */
        right: 0; /* Align to the right edge */
        color: #7B8397;
        margin-right: 20px; /* Adjust margin as needed */
        margin-bottom: -32px;       
        top: -50px; /* Adjust top position as needed */
        transform: none; /* Remove transform */
        margin-left: 70%;
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }

    
    /*
    .is-smartphone .result-stats-bold::After {
    content: '33'; 
    }
    */
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }

/*14.4*/
    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        
        height: 140px !important;
        max-height: 210px;
        




        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;
        
    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 28px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        
        left: 372px;
        
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 588px; /* Adjust this value as needed */
        margin-left: 127px;
    }

    

    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 11px 11px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    top: 66px !important; /* Adjust top position to move it 20px up */

    position: absolute; /* Position it absolutely */
    top: 89px; /* Adjust top position to align with mutation */
    left: 0; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    left: 50%; /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}



}

/*           Smartphone    device # = (18)    tested on = 1125px    (min-width: 1101px) and (max-width: 1150px) { }   ending        */


/*           Smartphone    device # = (19)    tested on = 1175px    (min-width: 1151px) and (max-width: 1200px) { }   starting        */

@media only screen and (min-width: 1151px) and (max-width: 1200px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
    }

    

    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }
    
    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        /*width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525));  /* add 6 px*/
        
        width: calc(300px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875) * ( 975 / 925) * ( 1025 / 975) * ( 1075 / 1025) * ( 1125 / 1075) * ( 1175 / 1125));  /* add 6 px*/
    /*
       * ( 1175 / 1125)  
    */  
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc((-0.5px * 1.046875) + 0.3px);
        
/*        margin: calc(20px * 1.046875) auto; /* Center horizontally with auto margins */

    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: 196.5px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(108.5px * 1.046875 * (375/335) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875) * ( 975 / 925) * ( 1025 / 975) * ( 1075 / 1025) * ( 1125 / 1075) * ( 1175 / 1125));   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

     /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: relative;
        color: #7B8397;
        margin-right: 100px;
        transform: translate(231px , -83px);
        margin-left: 605px;
        margin-bottom: -32px;
        /*white-space: wrap;*/
        
    }

    /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: absolute; /* Change to absolute positioning */
        right: 0; /* Align to the right edge */
        color: #7B8397;
        margin-right: 20px; /* Adjust margin as needed */
        margin-bottom: -32px;       
        top: -50px; /* Adjust top position as needed */
        transform: none; /* Remove transform */
        margin-left: 70%;
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }

    
    /*
    .is-smartphone .result-stats-bold::After {
    content: '33'; 
    }
    */
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }

/*14.4*/
    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

        height: 140px !important;
        max-height: 210px;
        




        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;

    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 28px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        
        left: 387px;
        
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 619px; /* Adjust this value as needed */
        margin-left: 127px;
    }

    

    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 11px 11px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    top: 66px !important; /* Adjust top position to move it 20px up */

    position: absolute; /* Position it absolutely */
    top: 89px; /* Adjust top position to align with mutation */
    left: 0; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    left: 50%; /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}



}

/*           Smartphone    device # = (19)    tested on = 1175px    (min-width: 1151px) and (max-width: 1200px) { }   ending        */


/*           Smartphone    device # = (20)    tested on = 1225px    (min-width: 1201px) and (max-width: 1250px) { }   starting        */

@media only screen and (min-width: 1201px) and (max-width: 1250px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
    }

    

    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }
    
    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        /*width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525));  /* add 6 px*/
        
        width: calc(300px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875) * ( 975 / 925) * ( 1025 / 975) * ( 1075 / 1025) * ( 1125 / 1075) * ( 1175 / 1125) * ( 1225 / 1175));  /* add 6 px*/
    /*
       * ( 1225 / 1175)  
    */  
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc((-0.5px * 1.046875) + 0.3px);
        
/*        margin: calc(20px * 1.046875) auto; /* Center horizontally with auto margins */

    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: 196.5px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(108.5px * 1.046875 * (375/335) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875) * ( 975 / 925) * ( 1025 / 975) * ( 1075 / 1025) * ( 1125 / 1075) * ( 1175 / 1125) * ( 1225 / 1175));   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

     /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: relative;
        color: #7B8397;
        margin-right: 100px;
        transform: translate(257px , -83px);
        margin-left: 605px;
        margin-bottom: -32px;
        /*white-space: wrap;*/
        
    }

    /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: absolute; /* Change to absolute positioning */
        right: 0; /* Align to the right edge */
        color: #7B8397;
        margin-right: 20px; /* Adjust margin as needed */
        margin-bottom: -32px;       
        top: -50px; /* Adjust top position as needed */
        transform: none; /* Remove transform */
        margin-left: 70%;
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }

    
    /*
    .is-smartphone .result-stats-bold::After {
    content: '33'; 
    }
    */
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }

/*14.4*/
    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

        height: 140px !important;
        max-height: 210px;
        




        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;

    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 30px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        
        left: 404px;
        
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 649px; /* Adjust this value as needed */
        margin-left: 127px;
    }

    

    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 11px 11px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    top: 66px !important; /* Adjust top position to move it 20px up */

    position: absolute; /* Position it absolutely */
    top: 89px; /* Adjust top position to align with mutation */
    left: 0; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    left: 50%; /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}



}

/*           Smartphone    device # = (20)    tested on = 1225px    (min-width: 1201px) and (max-width: 1250px) { }   ending        */


/*           Smartphone    device # = (21)    tested on = 1275px    (min-width: 1251px) and (max-width: 1300px) { }   starting        */

@media only screen and (min-width: 1251px) and (max-width: 1300px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
    }

    

    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }
    
    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        /*width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525));  /* add 6 px*/
        
        width: calc(300px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875) * ( 975 / 925) * ( 1025 / 975) * ( 1075 / 1025) * ( 1125 / 1075) * ( 1175 / 1125) * ( 1225 / 1175) * ( 1275 / 1225)  );  /* add 6 px*/
    /*
       * ( 1275 / 1225)  
    */  
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc((-0.5px * 1.046875) + 0.3px);
        
/*        margin: calc(20px * 1.046875) auto; /* Center horizontally with auto margins */

    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: 196.5px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(108.5px * 1.046875 * (375/335) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875) * ( 975 / 925) * ( 1025 / 975) * ( 1075 / 1025) * ( 1125 / 1075) * ( 1175 / 1125) * ( 1225 / 1175) * ( 1275 / 1225)  );   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

     /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: relative;
        color: #7B8397;
        margin-right: 100px;
        transform: translate(300px , -83px);
        margin-left: 605px;
        margin-bottom: -32px;
        /*white-space: wrap;*/
        
    }

    /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: absolute; /* Change to absolute positioning */
        right: 0; /* Align to the right edge */
        color: #7B8397;
        margin-right: 20px; /* Adjust margin as needed */
        margin-bottom: -32px;       
        top: -50px; /* Adjust top position as needed */
        transform: none; /* Remove transform */
        margin-left: 70%;
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }

    
    /*
    .is-smartphone .result-stats-bold::After {
    content: '33'; 
    }
    */
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }

    

    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }

/*14.4*/
    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        
        height: 140px !important;
        max-height: 210px;
        
        



        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;
        
    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 30px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        
        left: 418px;
        
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 649px; /* Adjust this value as needed */
        margin-left: 158.4px;
    }

    

    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 11px 11px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    top: 66px !important; /* Adjust top position to move it 20px up */

    position: absolute; /* Position it absolutely */
    top: 89px; /* Adjust top position to align with mutation */
    left: 0; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    left: 50%; /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}



}

/*           Smartphone    device # = (21)    tested on = 1275px    (min-width: 1251px) and (max-width: 1300px) { }   ending        */


/*           Smartphone    device # = (22)    tested on = 1325px    (min-width: 1301px) and (max-width: 1350px) { }   starting        */

@media only screen and (min-width: 1301px) and (max-width: 1350px) {

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
    }
    
    

    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }

    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        /*width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525));  /* add 6 px*/
        
        width: calc(300px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875) * ( 975 / 925) * ( 1025 / 975) * ( 1075 / 1025) * ( 1125 / 1075) * ( 1175 / 1125) * ( 1225 / 1175) * ( 1275 / 1225) * ( 1325 / 1275));  /* add 6 px*/
    /*
      * ( 1325 / 1275)
    */  
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc((-0.5px * 1.046875) + 0.3px);
        
/*        margin: calc(20px * 1.046875) auto; /* Center horizontally with auto margins */

    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: 196.5px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(108.5px * 1.046875 * (375/335) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875) * ( 975 / 925) * ( 1025 / 975) * ( 1075 / 1025) * ( 1125 / 1075) * ( 1175 / 1125) * ( 1225 / 1175) * ( 1275 / 1225) * ( 1325 / 1275));   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

     /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: relative;
        color: #7B8397;
        margin-right: 100px;
        transform: translate(325.5px , -83px);
        margin-left: 605px;
        margin-bottom: -32px;
        /*white-space: wrap;*/
        
    }

    /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: absolute; /* Change to absolute positioning */
        right: 0; /* Align to the right edge */
        color: #7B8397;
        margin-right: 20px; /* Adjust margin as needed */
        margin-bottom: -32px;       
        top: -50px; /* Adjust top position as needed */
        transform: none; /* Remove transform */
        margin-left: 70%;
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }

    
    /*
    .is-smartphone .result-stats-bold::After {
    content: '33'; 
    }
    */
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }



    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }

/*14.4*/
    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        
        height: 140px !important;
        max-height: 210px;
        
        /*width: 100% !important;*/



        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;
        
    }
    div.hero {
        width: 100% !important;
    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
        background-color: orange;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 32px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        
        left: 435px;
        
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 649px; /* Adjust this value as needed */
        margin-left: 189.4px;
    }

    

    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 11px 11px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    top: 66px !important; /* Adjust top position to move it 20px up */

    position: absolute; /* Position it absolutely */
    top: 89px; /* Adjust top position to align with mutation */
    left: 0; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    left: 50%; /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}



}

/*           Smartphone    device # = (22)    tested on = 1325px    (min-width: 1301px) and (max-width: 1350px) { }   ending        */

/*           Smartphone    device # = (23)    (min-width: 1351px) { }   starting        */

@media only screen and (min-width: 1351px) {
    /* Your styles for screens wider than 1350px go here */

    html,
    body { /* .is-smartphone */
        overflow-x: hidden !important;
    }

    body.is-smartphone { /* .is-smartphone */
        background-color: #F4F4F4;
        /*height: 793vh;*/
        height: 855px !important;
    }
    
    

    .is-smartphone .pagination {
        margin: 10px auto 100px auto !important; /* Auto left & right centers it */
        text-align: center !important; 
        
        padding: 15px 0 !important; 
        width: 100%;
    }
    
    .is-smartphone .pagination a {
        margin: 0 -4px !important; /* Horizontal margins */
        padding: 10px 15px !important; /* Padding */
        
    }

    /*.is-smartphone*/ .is-smartphone .search-container_results {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        background-color: #84a7b8;
        height: calc(48.92px * 1.046875); /* Increased by 4.6875% */
        /*width: calc(270px * 1.046875 * (375/335));  /* Increased by 4.6875% */
        /*width: calc(284px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525));  /* add 6 px*/
        
        width: calc(300px * 1.046875 * (375/335) * (425/375 ) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875) * ( 975 / 925) * ( 1025 / 975) * ( 1075 / 1025) * ( 1125 / 1075) * ( 1175 / 1125) * ( 1225 / 1175) * ( 1275 / 1225) * ( 1325 / 1275));  /* add 6 px*/
    /*
      * ( 1325 / 1275)
    */  
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0.5em;
        padding-left: calc(1em * 1.046875);
        margin: calc(20px * 1.046875) auto;
        margin-top: calc(66px * 1.046875);
        position: relative;
        left: calc((-0.5px * 1.046875) + 0.3px);
        
/*        margin: calc(20px * 1.046875) auto; /* Center horizontally with auto margins */

    }
 
    /*.is-smartphone*/ .is-smartphone .image-count {
        position: absolute;
        bottom: calc(38px * 1.046875) !important;
left: calc(-4.5px * 1.046875) !important; 
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: calc(2px * 1.046875) calc(8px * 1.046875);
        border-radius: 5px;
        font-size: calc(14px * 1.046875);
        height: auto; /* Change to auto to fit content */
    }

    .is-smartphone .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count img {
        width: calc(17px * 1.046875);
        height: calc(17px * 1.046875);
        margin-right: calc(5px * 1.046875);
        margin-top: calc(-1px * 1.046875);
        bottom: calc(20px * 1.046875);
    }
    
    /*.is-smartphone*/ .is-smartphone .image-count span {
        position: absolute;
        top: calc(2px * 1.046875);
        right: calc(2px * 1.046875);
    }
    
    /*.is-smartphone*/   .is-smartphone #hidden-msg-select-species_results {
        font-size: 11.7px; /* Sets the font size */
        
        position: absolute; /* Positioning */
        white-space: nowrap; /* Prevents text from wrapping to the next line */
        left: calc(0px + 382px); /* Moves 4px to the left */

/*       color: #f5f5f5;  /*color 1   Soft White:*/
/*       color: #faf3e0;  /*color 2  Light Beige:*/
/*       color: #f6e8b1;  /*color 3  Muted Yellow*/
/*       color: #f4a5a5;  /*color 4  Light Coral*/
/*       color: #d3cfcf;  /*color 5  Warm Gray*/

        font-size: calc(6.6px * 1.046875) !important;  
        position: absolute; 
        white-space: nowrap; 
        color: #f5f5f5;      
        margin-top: 4.5px; /* Margin at the top */
        margin-left: 196.5px;
        transform: translateY(-3px); /* Moves 2px up */
    }   

/*.is-smartphone*/ .is-smartphone .dropdown-select_results {
    padding: calc(0.75em * 1.046875);
    border-radius: calc(7.9px * 1.046875);
    border: 1px solid #d0d0d0; 
    /*width: calc(85.5px * 1.046875 * (375/335));  */
    width: calc(108.5px * 1.046875 * (375/335) * (525 / 425) * (575/ 525) * ( 625 / 575) * ( 675 / 625) * ( 725 / 675) * ( 775 / 725) * ( 825 / 775) * ( 875 / 825) * ( 925 / 875) * ( 975 / 925) * ( 1025 / 975) * ( 1075 / 1025) * ( 1125 / 1075) * ( 1175 / 1125) * ( 1225 / 1175) * ( 1275 / 1225) * ( 1325 / 1275));   /*added 2px */ 
    
    height: calc(2.800em * 1.046875) !important;   
    background-color: #fff;
    color: #333;
    text-align: left;
    padding-left: calc((0.75em + 4px) * 1.046875);
    margin-left: calc(-1px * 1.046875);
    font-family: Arial, sans-serif !important;
    font-size: calc(13.9px * 1.046875) !important;
    font-weight: normal;
    font-style: normal;
    overflow: hidden;               
    text-overflow: ellipsis;        
    /*max-width: calc((10ch + 20px) * 1.046875);*/
}

    /*.is-smartphone*/ .is-smartphone #find-button2 {
        margin-top: calc(101px * 1.046875);
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*.is-smartphone*/ .is-smartphone .ad-search_h2 {
        top: calc(110px * 1.046875);
        left: calc(219px * 1.046875);
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(calc(-210px * 1.046875));        
    }

     /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: relative;
        color: #7B8397;
        margin-right: 100px;
        transform: translate(325.5px , -83px);
        margin-left: 605px;
        margin-bottom: -32px;
        /*white-space: wrap;*/
        
    }

    /*.is-smartphone*/ .is-smartphone .result-stats {
        font-size: 16.5px;
        font-family: Lato, sans-serif;
        position: absolute; /* Change to absolute positioning */
        right: 0; /* Align to the right edge */
        color: #7B8397;
        margin-right: 20px; /* Adjust margin as needed */
        margin-bottom: -32px;       
        top: -50px; /* Adjust top position as needed */
        transform: none; /* Remove transform */
        margin-left: 70%;
    }

    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
        
    }

    
    /*
    .is-smartphone .result-stats-bold::After {
    content: '33'; 
    }
    */
   
    /*.is-smartphone*/ .is-smartphone #no-results-message {
        transform: translate(110px, -1px);
    }



    body.is-smartphone select {  /*      body.is-smartphone select {     */ 
        border-radius: calc(7.9px * 1.046875);
        border: 1px solid #D0D0D0;
        width: calc(190px * 1.046875);
        height: calc(3em * 1.046875);
        background-color: #fff;
        color: #333;
        /*transform: translate(-280px, -132px);*/
        transform: translate(-280px, -52px);
        font-size: calc(15px * 1.046875);
           /*position: relative;
        z-index: -1;     */
    }

    /*.is-smartphone*/ .is-smartphone label[for="options"] {
        /*transform: translate(-204.5px, -190px);*/
        transform: translate(-204.5px, -113px);
        position: relative;
        z-index: -1;
    }

/*14.4*/
    
    
    /*.is-smartphone*/ .is-smartphone .ad-item {
        position: relative; 
        display: flex;
        align-items: center;
        padding: calc(19px * 1.046875);
        margin-bottom: 10px;
        border: 1.2px solid #ddd;

        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        
        height: 140px !important;
        max-height: 210px;
        
        /*width: 100% !important;*/



        padding-top: calc(1px * 1.046875);
        
        background: linear-gradient(135deg, #b5d2e8 0%, #ffffff 100%); /* Background color and gradient */
        border-color: #ccc;
        transition: background-color 0.3s, box-shadow 0.3s; 
        display: flex; 
        justify-content: center; 
        /*width: calc(100% - 10%); /* Decrease width from the right by 10% */
        /*overflow: visible;*/
        overflow: hidden;
        
    }
    div.hero {
        width: 100% !important;
    }
    
    /*.is-smartphone*/ .is-smartphon .ad-item:hover {
        background-color: #f1f1f1; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
    
    

    .is-smartphone .ad-image {
        overflow: visible;
        background-color: orange;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 32px;
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content2_results {
        position: absolute;
        z-index: 1;
        max-height: 225px;
        width: calc(29.4% * 1.046875) !important;
        
        left: 435px;
        
    }

    /*.is-smartphone*/ .is-smartphone .dropdown-content3_results {
        position: absolute;
        width: calc(29.4% * 1.046875) !important;
        z-index: 1;
        max-height: 225px;
        left: 649px; /* Adjust this value as needed */
        margin-left: 189.4px;
    }

    

    .pagination a.links-previous-and-next {
        text-decoration: none;
        color: #007bff;
        
        border: transparent;
        background-color: transparent;
        margin-top: 100px;
    
        font-size: 12px !important;
        background-color: #ddd !important;
        border-radius: 27px !important;
        padding: 11px 11px !important;
        text-decoration: none !important;
        color: #333 !important;
        margin-right: 7px !important;  /* Add space between buttons (adjust as needed) */
    margin-left: 7px !important;  /* Add space between buttons (adjust as needed) */
    }

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */

    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
    top: 66px !important; /* Adjust top position to move it 20px up */

    position: absolute; /* Position it absolutely */
    top: 89px; /* Adjust top position to align with mutation */
    left: 0; /* Align to the left */
    margin: 0; /* Remove default margin */
    z-index: 1; /* Ensure it appears above other elements */

    left: 50%; /* Align to the right of mutation */
}
/* Mutation and city */
.is-smartphone .ad-details p.info-text:nth-child(3) { /* Mutation */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */
}

/* Gender and updated */
.is-smartphone .ad-details p.info-text:nth-child(4) { /* Gender */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */

    position: relative; /* Ensure it stays in the flow */

}

/* Age and by */
.is-smartphone .ad-details p.info-text:nth-child(5) { /* Age */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
}



.is-smartphone .ad-details p.info-text:nth-child(7) { /* Updated */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */

    position: absolute; /* Position it absolutely */
    top: 120px; /* Adjust top position to align with gender */
    left: 50%; /* Align to the right of gender */
}

.is-smartphone .ad-details p.info-text:nth-child(8) { /* By */
    margin: 0; /* Remove default margin */
    display: inline-block; /* Display inline */
    width: 50%; /* Take up half the width */
    text-align: right; /* Align to the right */
}

}

/*           Smartphone    device # = (23)    (min-width: 1351px) { }   ending        */

/*
    html,
    body {
        overflow-x: hidden !important;
    }
*/
    
    html,
    body { /* .is-computer */
        overflow-x: visible !important;
    }


/* ///////////////////////////////////////////////////////
   Computer Media Queries for Laptop Resolutions (Final Ranges without Height)
//////////////////////////////////////////////////////// */

/*1) (800 * 600 --->  acutal = 800 * 465) */
@media only screen and (min-width: 1px) and (max-width: 800px) {

    body.is-computer 
    {
    /*height: 1090px;*/
    height: 1090px;
    overflow-y: auto !important; /* Allows scrolling when the content overflows */
    }

    .is-computer .ad-search_h2 {
        top: 205.5px;
        /*left: 219px;*/
        /*left: 99px;*/
        /*left: 219px;*/
        left: 95px;
        color: rgba(35, 61, 123, 0.9);
        }

        .is-computer label[for="options"] { /* added*/
            /*transform: translate(-120px, 32px); */
            /*transform: translate(0px, -5px);*/
            transform: translate(-123px, 36.5px);
            }
        
        .is-computer select {
        padding: 0.75em;
        border-radius: 7.9px;
        border: 1px solid #D0D0D0;
        /*width: 158px;*/
        width: 175px;
        height: 3.2em;
        background-color: #fff;
        color: #333;
        /*transform: translate(-120px, 32px); /* added*/
        /*transform: translate(0px, -5px);*/
        transform: translate(-123px, 36.5px);

        }
        
            

        .is-computer .ad-item {
            transform: translateX(110px);
        }    
        
        .is-computer .result-stats {
            /*margin-left: 570.6px;*/
            margin-left: 550.6px;
            transform: translateY(-55px);
            
        }

       .is-computer .pagination {
            /*transform: translateX(-1px) !important; /* Moves the pagination container 50px to the left */
            transform: translateX(110px) !important; /* Moves the pagination container 50px to the left */
        }
        
   
}


/*2) (1024 * 768 --->  acutal = 1024 * 633) or also (1280 * 1024 --->  acutal = 1024 * 686) */
@media only screen and (min-width: 801px) and (max-width: 1024px) {

    body.is-computer 
    {
    /*height: 1090px;*/
    height: 1090px;
    overflow-y: auto !important; /* Allows scrolling when the content overflows */
    
    }

    .is-computer .ad-search_h2 {
        top: 205.5px;
        /*left: 219px;*/
        /*left: 99px;*/
        /*left: 219px;*/
        left: 95px;
        color: rgba(35, 61, 123, 0.9);
        }

        .is-computer label[for="options"] { /* added*/
            /*transform: translate(-120px, 32px); */
            /*transform: translate(0px, -5px);*/
            transform: translate(-123px, 36.5px);
            }
        
        .is-computer select {
        padding: 0.75em;
        border-radius: 7.9px;
        border: 1px solid #D0D0D0;
        /*width: 158px;*/
        width: 175px;
        height: 3.2em;
        background-color: #fff;
        color: #333;
        /*transform: translate(-120px, 32px); /* added*/
        /*transform: translate(0px, -5px);*/
        transform: translate(-123px, 36.5px);

        }
        
            
    
}


/*3) (1400 * 1050 --->  acutal = 1120 * 705) */
@media only screen and (min-width: 1025px) and (max-width: 1120px) {

    body.is-computer 
    {
    /*height: 1090px;*/
    height: 1090px;
    overflow-y: auto !important; /* Allows scrolling when the content overflows */
    }

    

        .is-computer .ad-search_h2 {
            top: 205.5px;
            left: 119px;
            color: rgba(35, 61, 123, 0.9);
            transform: translateX(11px); /* Adjusted 5px right from previous 6px to 11px */
        }
        
        .is-computer select {
            padding: 0.75em;
            border-radius: 7.9px;
            border: 1px solid #D0D0D0;
            /*width: 158px;*/
            width: 175px;
            height: 3.2em;
            background-color: #fff;
            color: #333;
            transform: translateX(-90px); /* Adjusted 5px right from previous -95px to -90px */
        }
        
        .is-computer label[for="options"] {
            transform: translateX(-90px); /* Adjusted 5px right from previous -95px to -90px */
        }
    
}


/*4) (1280 * 720 --->  acutal = 1280 * 585) and 
     (1280 * 768 --->  acutal = 1280 * 633) and
     (1280 * 800 --->  acutal = 1280 * 665) and
     (1280 * 1024 --->  acutal = 1024 * 686) */
@media only screen and (min-width: 1121px) and (max-width: 1280px) {

    body.is-computer 
    {
    /*height: 1090px;*/
    height: 1090px;
    overflow-y: auto !important; /* Allows scrolling when the content overflows */
    }

    .is-computer .ad-search_h2 {
        top: 205.5px;
        /*left: 219px;*/
        /*left: 99px;*/
        left: 219px;
        color: rgba(35, 61, 123, 0.9);
        }

        .is-computer label[for="options"] { /* added*/
            /*transform: translate(-120px, 32px); */
            transform: translate(0px, -5px);
            }
        
        .is-computer select {
        padding: 0.75em;
        border-radius: 7.9px;
        border: 1px solid #D0D0D0;
        /*width: 158px;*/
        width: 175px;
        height: 3.2em;
        background-color: #fff;
        color: #333;
        /*transform: translate(-120px, 32px); /* added*/
        transform: translate(0px, -5px);

        }
        
        
    
}


/*5) (1680 * 1050 --->  acutal = 1344 * 705) */
@media only screen and (min-width: 1281px) and (max-width: 1344px) {

    body.is-computer 
    {
    /*height: 1090px;*/
    height: 1090px;
    overflow-y: auto !important; /* Allows scrolling when the content overflows */
    }

    

    .is-computer .ad-search_h2 {
        top: 205.5px;
        left: 119px;
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(126px);
        
        }
        
        .is-computer select {
        padding: 0.75em;
        border-radius: 7.9px;
        border: 1px solid #D0D0D0;
        /*width: 158px;*/
        width: 175px;
        height: 3.2em;
        background-color: #fff;
        color: #333;
        transform: translateX(25px);
        }
        
        .is-computer label[for="options"] {
        transform: translateX(25px);
        }
    
}


/*6) (1360 * 768 --->  acutal = 1360 * 633) */
@media only screen and (min-width: 1345px) and (max-width: 1360px) {

    body.is-computer 
    {
    /*height: 1090px;*/
    height: 1090px;
    overflow-y: auto !important; /* Allows scrolling when the content overflows */
    }

    

    .is-computer .ad-search_h2 {
        top: 205.5px;
        left: 129px;
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(126px);
        
        }
        
        .is-computer select {
        padding: 0.75em;
        border-radius: 7.9px;
        border: 1px solid #D0D0D0;
        /*width: 158px;*/
        width: 175px;
        height: 3.2em;
        background-color: #fff;
        color: #333;
        transform: translateX(35px);
        }
        
        .is-computer label[for="options"] {
        transform: translateX(35px);
        }
    
}


/*7) (1366 * 768 --->  acutal = 1366 * 633) */
@media only screen and (min-width: 1361px) and (max-width: 1366px) {

    body.is-computer 
    {
    /*height: 1090px;*/
    height: 1090px;
    overflow-y: auto !important; /* Allows scrolling when the content overflows */
    }

    

    .is-computer .ad-search_h2 {
        top: 205.5px;
        left: 139px;
        color: rgba(35, 61, 123, 0.9);
        transform: translateX(126px);
        
        }
        
        .is-computer select {
        padding: 0.75em;
        border-radius: 7.9px;
        border: 1px solid #D0D0D0;
        /*width: 158px;*/
        width: 175px;
        height: 3.2em;
        background-color: #fff;
        color: #333;
        transform: translateX(45px);
        }
        
        .is-computer label[for="options"] {
        transform: translateX(45px);
        }
    
}


/*8) (1440 * 900 --->  acutal = 1440 * 765) */
@media only screen and (min-width: 1367px) and (max-width: 1440px) {

    body.is-computer 
    {
    /*height: 1090px;*/
    height: 1090px;
    overflow-y: auto !important; /* Allows scrolling when the content overflows */
    }

    

        .is-computer .ad-search_h2 {
            top: 205.5px;
            left: 119px;
            color: rgba(35, 61, 123, 0.9);
            transform: translateX(11px); /* Adjusted 5px right from previous 6px to 11px */
        }
        
        .is-computer select {
            padding: 0.75em;
            border-radius: 7.9px;
            border: 1px solid #D0D0D0;
            /*width: 158px;*/
            width: 175px;
            height: 3.2em;
            background-color: #fff;
            color: #333;
            transform: translateX(-90px); /* Adjusted 5px right from previous -95px to -90px */
        }
        
        .is-computer label[for="options"] {
            transform: translateX(-90px); /* Adjusted 5px right from previous -95px to -90px */
        }

}

/* For 1440x900 (Actual: 1440x765) */
@media only screen and (min-width: 1401px) and (max-width: 1440px) {
    /* Styles for 1440x900 (Actual: 1440x765) */

    body.is-computer 
    {
    /*height: 1090px;*/
    height: 1090px;
    overflow-y: auto !important; /* Allows scrolling when the content overflows */
    }
    
    .is-computer .ad-search_h2 {
    top: 205.5px;
    left: 169px;
    color: rgba(35, 61, 123, 0.9);
    transform: translateX(126px);
    
    }
    
    .is-computer select {
    padding: 0.75em;
    border-radius: 7.9px;
    border: 1px solid #D0D0D0;
    /*width: 158px;*/
    width: 175px;
    height: 3.2em;
    background-color: #fff;
    color: #333;
    transform: translateX(75px);
    }
    
    .is-computer label[for="options"] {
    transform: translateX(75px);
    }
    
    
    
}


/*9) (1920 * 1080 --->  acutal = 1536 * 730) */
@media only screen and (min-width: 1441px) and (max-width: 1536px) {

    body.is-computer 
    {
    /*height: 1090px;*/
    height: 1090px;
    overflow-y: auto !important; /* Allows scrolling when the content overflows */
    }
    
    .is-computer .ad-search_h2 {
    top: 205.5px;
    left: 219px;
    color: rgba(35, 61, 123, 0.9);
    transform: translateX(126px);
    
    }
    
    .is-computer select {
    padding: 0.75em;
    border-radius: 7.9px;
    border: 1px solid #D0D0D0;
    /*width: 158px;*/
    width: 175px;
    height: 3.2em;
    background-color: #fff;
    color: #333;
    transform: translateX(126px);
    }
    
    .is-computer label[for="options"] {
    transform: translateX(126px);
    }
    
    
    
}


/*10) (1600 * 900 --->  acutal = 1600 * 765) */
@media only screen and (min-width: 1537px) and (max-width: 1600px) {

    body.is-computer 
    {
    /*height: 1090px;*/
    height: 1090px;
    overflow-y: auto !important; /* Allows scrolling when the content overflows */
    }

    
         
            .is-computer .ad-search_h2 {
                top: 205.5px;
                /*left: 219px;*/
                left: 249px;
                color: rgba(35, 61, 123, 0.9);
                transform: translateX(126px);
                
                }
                
                .is-computer label[for="options"] {
                    transform: translateX(154px);
                    }
        
                .is-computer select {
                padding: 0.75em;
                border-radius: 7.9px;
                border: 1px solid #D0D0D0;
                /*width: 158px;*/
                width: 175px;
                height: 3.2em;
                background-color: #fff;
                color: #333;
                /*transform: translateX(126px);*/
                transform: translateX(154px);
                }
    
}


/*11) (extra 1601 --->  acutal = 1601) */
@media only screen and (min-width: 1601px) {

    body.is-computer 
    {
    /*height: 1090px;*/
    height: 1090px;
    overflow-y: auto !important; /* Allows scrolling when the content overflows */
    }
    
    .is-computer .ad-search_h2 {
    top: 205.5px;
    left: 219px;
    color: rgba(35, 61, 123, 0.9);
    transform: translateX(126px);
    
    }
    
    .is-computer select {
    padding: 0.75em;
    border-radius: 7.9px;
    border: 1px solid #D0D0D0;
    /*width: 158px;*/
    width: 175px;
    height: 3.2em;
    background-color: #fff;
    color: #333;
    transform: translateX(126px);
    }
    
    .is-computer label[for="options"] {
    transform: translateX(126px);
    }
    
    
    
}

/* Ensure the ad image is always on the left side */
.is-smartphone .ad-item {
    display: flex;
    flex-direction: row; /* Ensure horizontal layout */
    align-items: flex-start; /* Align items to the top */
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    
    width: 100%; /* Ensure it takes full width */
    padding-left: 0; /* Remove left padding to push image to the edge */
    overflow: visible;
}

/* Ad image container */
.is-smartphone .ad-image {
    flex: 0 0 auto; /* Prevent flex-grow and flex-shrink */
    width: 150px; /* Fixed width for the image container */
    height: 120px; /* Fixed height for the image container */
    margin-right: 0; /* Remove margin to push image to the left */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* For positioning child elements */
    /*background-color: blue;*/
    height: 100%;
    margin-left: 20px;
}


.is-smartphone .ad-image img:not( .image-count img):not(.feature-icon) {
    max-width: 150px !important; /* Allows the image to be less than 150px on very small devices */
    height: 120px !important; /* Fixed height for smartphones */
    object-fit: cover !important; /* Ensures the image covers the area without distortion */    
}

/*
.is-smartphone .ad-image .feature-icon {
    content: url('admin_images/star.png');
    width: 22px !important;
    height: 22px !important;
    object-fit: contain !important;
}
    */

    .is-computer .feature-icon {
        /*top: 14px;*/
        top: 15px;
        /*left: -13px;*/
        left: -9.9px;
    }
    
    /* Feature icon placed on top of the ad image */
    .is-smartphone .feature-icon {
        position: absolute; /* Position it relative to .ad-image */
        /*top: 4px;*/  /* Adjust to position it on the top */
        /*left: 7px;*/  /* Adjust to position it on the left */
        
        top: -2.5px;  /* Adjust to position it on the top */
        left: -5px;  /* Adjust to position it on the left */

        z-index: 10; /* Make sure it appears on top of the image */
        width: 70px; /* Adjust width as needed */
        height: auto; /* Adjust height as needed */
        /*background-color: red;*/ /* Optional: just for visualization */
    }

/* Ad details */
.is-smartphone .ad-details {
    flex: 1; /* Allow details to take remaining space */
    padding: 10px;
    position: relative;
    /*background-color: lightblue;*/
    height: 86%;
}

/* Ad details container */
.is-smartphone .ad-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
    position: relative;
    margin-top: -3px !important;
}

/* Price styling on mobile */
.is-smartphone .price {
    font-size: 1.2em;
    position: relative;
}

/* General styling for Mutation, Gender, Age, and City */
.is-smartphone .info-text {
    font-size: 14px;
    margin-bottom: 4px !important;
}



/* Title of the bird */
.is-smartphone .ad-details h3 {
    color: rgb(35, 61, 123);
    margin-top: 0;
    font-size: 1.2em;
}

/* Title of the bird */
.is-smartphone .ad-details h3.bird-name {
    
    margin-top: 0;
    /*font-size: 14px;*/
    font-size: 15px;
}
/*
.is-computer .bird-name {
    display: inline-block; width: 195px;
    background-color: red;*/
    /*word-break: break-all;*/
/*}*/

.is-computer .bird-name {
    /*display: inline-block;*/
    width: 195px;
    white-space: nowrap;         /* Prevent natural line breaks */
    overflow: hidden;            /* Hide overflow content */
    text-overflow: ellipsis;     /* Add ... when text overflows */
    /*background-color: red;*/       /* Your debug color */
    
    /* Alternative multi-line ellipsis (if needed) */
    /* display: -webkit-box;
    -webkit-line-clamp: 2;       # of lines before truncation 
    -webkit-box-orient: vertical;
    overflow: hidden; */
}

/* Styling for "Updated" or "Posted" text */
.is-smartphone #info-posted {
    /*font-size: 0.9em;*/
    position: absolute;
    right: 10px;
    top: 80px;

    top: 82px !important; /* Adjust top position to move it 20px up */
    font-size: 14px !important;
}

/* Styling for the 'by' (author) text */
.is-smartphone .author-info {
    /*font-size: 0.9em;*/
    position: absolute;
    bottom: 10px;
    right: 10px;

    top: 103px !important; /* Adjust top position to move it 20px up */
    font-size: 14px !important;

}

.is-smartphone .image-count {
    left: 5px;
    /*margin-bottom: -27px;*/
    margin-bottom: -37.3px;
}

    
    
    /*.is-smartphone*/ .is-smartphone .result-stats-bold {
        color: #5F6A73;
        font-weight: bold;
    }

/* Styling for price */
.is-smartphone .ad-details .price {
    color: rgb(70, 78, 96);
    font-weight: bold;
    
    /*position: absolute;*/
    /*top: 10px;*/
    right: 10px;

    margin: 5px 0; /* Add spacing below the species name */
    position: static; /* Remove absolute positioning */

    /*font-size: 16px;*/
    font-size: 17px;
    margin-top: -5px !important;
    margin-bottom: 8px;

}

.is-smartphone .ad-image {
    overflow: visible;
 
    width: 160px !important;  /* Fixed width for container */
    height: 140px !important; /* Fixed height for container */
}

/* Target all images within .ad-image, with specific exceptions */
.is-smartphone .ad-image img:not(.is-smartphone .image-count img):not(.feature-icon) {
    width: 160px !important;    /* Match container width */
    height: 140px !important;   /* Match container height */
    max-width: 160px !important; /* Override any larger max-width */
    object-fit: cover;          /* Ensure image fills space without distortion */
    margin-top: 5px;
    margin-left: -9px;
}

.is-computer .trusted-icon {
    position: absolute; /*top: 14px;*/ /*top: 28px;*/ top: 48px; right: 8px; z-index: 999; width: 100px; height: auto;
}


/*.is-smartphone .ad-image img:not(.is-smartphone .image-count img):not(.feature-icon) {*/
.is-smartphone .trusted-icon {
    position: absolute; /*top: 14px;*/ /*top: 28px;*/ top: 10px; right: 8px; z-index: 999; width: 70px; height: auto; 
}

/*to align the city on smartphone//*/

/* City styling */
.is-smartphone .ad-details p.info-text:nth-child(6) { /* City */
    margin-left: -11px;
/*    background-color: red !important;*/
}

.is-computer #results-stats-main {
    display: flex;
    justify-content: flex-end;
    /*background-color: red;*/
  }

  .is-smartphone #results-stats-main {
    display: flex;
    justify-content: flex-end;
    /*background-color: red;*/
  }