*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: arial;
    color: #fff;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

:root {
    /*font-size: 62.5%;*/

    /* !$!$!$$!$!$!$!$!!$!$!!$!$!$!$!$!$ Custom Properties $!$!$!$!$!$$!$!$!$!$!$!$!$!$!!$!$!$!!$!$!$!!!$*/

    /* Colors */
    --primary-color: #1d201e;
    --secondary-color: #777570;
    /*--secondary-color-o: rgba(69, 104, 130, .55);*/
    --tertiary-color: #93b7be;
    --onPrimary-color: #f1fffa;
    --accent-color: #785964;
    --background-color: #ffffff;
    --smoke-white: #e6e9ed;
    --light-gray: #777570;
    /* --light-gray: #9e95a3; */
    --medium-gray: #595959;
    --soft-green: #6edbbc;
    --olive-green: #2e3b39;
    --dark-pink: #ab2247;
    --almost-black: #1d201e;

}

/*.no-scroll {*/
/*    touch-action: none;*/
/*    -webkit-overflow-scrolling: auto;*/
/*    overflow: hidden;*/
/*}*/



.container {
    display: flex;
    height: 100dvh;
    width: 100%;
    overflow: hidden;
    /*overscroll-behavior: none;*/
}



/* Disclaimer Popup Window !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/


.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #fa8148;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#loader {
    position: absolute;
    left: 10%;
    top: 10%;
    display: flex;
    flex-direction: column;
    align-self: center;
    justify-self: center;
    align-items: center;
    justify-content: center;
    

    background-color: #121212;
    height: 80%;
    width: 80%;
    text-align: center;
    font-weight: bold;
    z-index: 2001;
    border-radius: 10px;
}



#popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(36, 36, 36, 0.7); /* Semi-transparent black overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Ensure it's above the map */
}





#popup-title {
    font-size: clamp(1.5rem, 4vw, 3rem);
    margin: 1rem;
}

#popup-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    height: 75%;
    width: 75%;
    background-color: transparent;
    color: white;
    padding: .3rem;
    border-radius: .5rem;
    overflow: scroll;
    scrollbar-width: none;
    font-size: clamp(1rem, 2vw, 2rem);
}

#popup-content .instructions {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    background-color: transparent;
}

#close-popup-button {
    position: relative;
    padding: 0.4em 0.8em;
    /* background: #fa8148; */
    background: rgba(0, 0, 0, 0.5);
    border: 0;
    outline: none;
    font-size: clamp(1.25rem, 2vw, 2rem);
    font-weight: 500;
    border-radius: 1em;
    color: #fa8148;
    border: 1px solid #fa8148;
    justify-self: end;
    align-self: center;
    cursor: pointer;
    margin: 0.5rem;
}

#close-popup-button:hover {
    color: #242424;
    background: #fa8148;
}

/*  End Of Disclaimer popup Window* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/

#header {
    width: 100%;
    height: 5rem;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    position: fixed;
    z-index: 1001;
    box-shadow: 0 0 0.625rem #000;
    background-color: rgba(0,0,0,0.5);
}

#chk1 {
    display: none;
}

#banner_img {
    margin-left: 1.5rem;
    margin-right: .3rem;
    height: 3.75rem;
    width: 7.5rem;
}

header .logo {
    display: flex;
    
    color: #fff;
    margin-left: 0.625rem;
    margin-right: 0.625rem;
    text-transform: uppercase;
    height: 3.75rem;
    border-right: 3px solid white;
    padding-right: 0.625rem;
}

header .search-data {
    display: flex;
    justify-content: start;
    align-items: center;
    height: 3.75rem;
    flex: 5;
    display: flex;
    position: relative;
    max-width: 75rem;

}

.search-parcel-container {
    display: flex;
    align-items: center;
    margin-left: .3rem;
    margin-right: .625rem;
    height: 3.75rem;
    display: flex;
    flex: 1;
    max-width: 40.625rem;
    
}

#parcel-radio {
    display: flex;
    align-items: center;
    height: 3.75rem;
    width: 12.5rem;
    font-size: 1.25rem;
    accent-color: rgba(255,0,0,0.75);
}

.parcel-search-input {
    width: 75%;
    position: relative;
    max-width: 25rem;
}

#srch-parcel{
    width: 100%;
    height: 2.5rem;
    border-radius: 1.875rem;
    border: none;
    outline: none;
    color: #000;
    background-color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    font-size: 1rem;
    text-align: center;
    
}

#srch-parcel-btn {
    cursor: pointer;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 1.875rem;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    transform: scale(0.9);
    background-color: rgba(0,0,0,0.75);
    font-size: 1rem;
    color: white;
}



.search-addr-container {
    display: flex;
    flex: 1;
    align-items: start;
    justify-content: start;
    position: relative;
    max-width: 25rem;
}

#srch-addr {
    width: 100%;
    height: 2.5rem;
    border-radius: 1.875rem;
    border: none;
    outline: none;
    color: #000;
    background-color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    font-size: 1rem;
    text-align: center;
    
}

#srch-addr-btn {
    cursor: pointer;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 1.875rem;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    transform: scale(0.9);
    background-color: rgba(0,0,0,0.75);
    font-size: 1rem;
    color: white;
}


.layer-control{
    position: absolute;
    top: 6.25rem;
    right: 1.5625rem;
    margin: .625rem;
    z-index: 1002;
}

#lyr-btn {
    cursor: pointer;
    height: 3.75rem;
    width: 3.75rem;
    background-color: rgba(0,0,0,0.5);
    border: none;
    outline: none;
    border-radius: 50%;
}

#lyr-btn i {
    font-size: 1.25rem;
}

.layer-control-expanded {
    opacity: 0;
    position: absolute;
    background-color: rgba(0,0,0,0.5);
    top: 6.25rem;
    right: 1.5625rem;
    margin: .625rem;
    z-index: 0;
    font-size: 1.25rem;
    border-radius: .625rem;
    padding: .3rem;
}

.layer-control-expanded li {
    list-style: none;
    color: #fd5c63;
    font-size: .75rem;
}

#close-panel {
    cursor: pointer;
    width: 100%;
    height: 1.875rem;
    border-radius: .625rem;
    border: none;
    outline: none;
    background-color: #fd5c63;
    color: #fff;
    font-size: 1rem;
}

.contact {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 1rem;

}
.contact button {
    height: 3.125rem;
    width: 3.125rem;
    border-radius: 1.875rem;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background-color: transparent;
    margin-left: .3rem;
}

.contact i{
    font-size: 1.5rem;
    color: white;
    padding: 2px;
}

.contact button:hover{
    cursor: pointer;
    background-color: rgba(0,0,0,0.75);


}

/*************************** Owner's Name Search Results Large Screen********************************************/

.results {
    position: absolute;
    top: 25vh;
    right: 0;
    background-color: rgba(0,0,0,0.75);
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    z-index: 1001;
    border-radius: 5px 5px 0 0;
    padding: 5px;
    height: 50vh;
    width: 25vw;


    transform: translateX(100%);
    transition: transform .75s ease-in-out;
    
}

.results.open {
    transform: translateX(0);
}

#results-panel {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    width: 100%;
    height: auto;
    border: 1px solid var(--almost-black);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}



#results-panel--title{
    display: flex;
    margin: 0;
    justify-content: center;
    width: 100%;
    background-color: transparent;
    color: #fff;
    font-size: 1rem;
    padding: 5px;


}

#results-panel div {
    position: relative;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: .2rem;
    font-size: .75rem;
    width: 100%;
    cursor: pointer;
    letter-spacing: .1em;
    border-bottom: 1px solid #000;
    background-color: transparent;
}

#results-toggle--btn {
    position: absolute;
    top: 25%;
    right: 100%;
    height: 6.25rem;
    width: 6.25rem;
    border: none;
    outline: none;
    background-color: rgba(0,0,0,0.75);
    border-radius: .625rem 0 0 .625rem;
    cursor: pointer;
    color: #306844;
}

#results-toggle--btn i {
    color: #FFC400;
    font-size: 2.5rem;
    padding: .3rem;
}

#results-toggle--btn span {
    color: white;
    margin-top: .5rem;
    font-size: 1rem;
}

#results-panel div:hover {
    background-color: rgba(136, 136, 136, 0.75);
    color: #fff;
}

#results-panel div:focus {
    background-color: var(--light-gray);
    color: var(--almost-black);
}

.selectedStyle {
    background-color: var(--light-gray);
    color: var(--almost-black);
}






/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$ Leaflet Styling $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*/

.ui-autocomplete {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ui-autocomplete .ui-menu-item-wrapper {
    background-color: transparent;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.ui-menu-item a {
    padding: .5rem .75rem;
    display: block;
    color: #000000;
    text-decoration: none;
}

.ui-autocomplete .ui-state-active {
    background-color: rgba(136, 136, 136, 0.75);
    color: #fff;
    border: none;
}




#mapdiv {
    display: flex;
    position: absolute;
    left: 0;
    height: 100vh;
    width: 100%;
}

#marker-popup {
    font-size: 1.25rem;
    color: #121212;
}

#popup {
    display:inline-block;
    height: 100%;
    width: 100%;
    padding: .3rem;
    font-size: .75rem;
    text-transform: uppercase;
    line-height: 1.5;
    color: #fff;
    background-color: transparent;

}

.leaflet-popup-content-wrapper {
    box-shadow: 0 0 .625rem #000;
    background-color: rgba(0, 0, 0, 0.75);

}

#popup b{
    color: rgb(240, 240, 240);
    font-weight: bolder;
    text-decoration: underline;
}

#imageContainer {
    height: 12.5rem;
    width: 18.75rem;
}

#view-details {
    height: 1.875rem;
    width: 6.25rem;
    background-color: var(--background-color);
    color: var(--olive-green);
    border: 1px solid var(--olive-green);
    padding: .3rem;
    border-radius: .3rem;
    float: right;
    margin: .3rem;
    font-size: .75rem;
    cursor: pointer;
}

#view-details:hover {
    background-color: var(--olive-green);
    color: var(--background-color);
    border: 1px solid var(--olive-green);
}




/* %%%%%%%%%%%%%%%%%%%%%%%%%  Media Queries %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/

@media screen and (max-width: 1525px) {
  #header {
        height: 3.75rem;
    }

    #banner_img {
        margin-left: 1rem;
        height: 2.5rem;
        width: 5rem;
    }

    .contact button {
        height: 2.5rem;
        width: 2.5rem;
        border-radius: 1.25rem;
    }

    .contact i{
        font-size: 1.25rem;
    }

    header .logo {
        margin-left: .3rem;
        margin-right: .3rem;
        height: 2.5rem;
        border-right: 2px solid white;
        padding-right: .3rem;
        font-size: .75rem;
    }

    header .search-data {
        display: flex;
        align-items: center;
        justify-content: start;
        height: 2.5rem;
        max-width: 75rem;
    }

    .search-parcel-container {
        margin-right: .3rem;
        height: 2.5rem;
        display: flex;
        flex: 1;
        max-width: 31.25rem;
        
    }

    #parcel-radio {
        display: flex;
        align-items: center;
        height: 3.75rem;
        width: 9.375rem;
        font-size: 1rem;
    }

    .parcel-search-input {
        width: 75%;
        position: relative;
        max-width: 18.75rem;
    }

    #srch-parcel{
        width: 100%;
        height: 2.1875rem;
        border-radius: 1.5625rem;
        font-size: .875rem;
    }

    #srch-parcel-btn {
        cursor: pointer;
        height: 2.1875rem;
        width: 2.1875rem;
        border-radius: 1.5625rem;
    }

    .search-addr-container {
        /* display: flex;
        flex: 1;
        align-items: start;
        justify-content: start; */
        position: relative;
        max-width: 18.75rem;
        width: 75%;
    }

    #srch-addr {
        width: 100%;
        height: 2.1875rem;
        border-radius: 1.5625rem;
        font-size: .875rem;
    }

    #srch-addr-btn {
        cursor: pointer;
        height: 2.1875rem;
        width: 2.1875rem;
        border-radius: 1.5625rem;
        font-size: .875rem;
    }

    .results {
        right: 0;
        width: 35vw;

    }
}

/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% MAX WIDTH 1150 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/

@media screen and (max-width: 1150px) {
  #header {
        height: 3.75rem;
    }

    #banner_img {
        margin-left: .625rem;
        height: 2.5rem;
        width: 5rem;
    }

    header .logo {
        margin-left: .3rem;
        margin-right: .3rem;
        height: 2rem;
        font-size: .625rem;
    }

    header .search-data {
        height: 2.5rem;
        max-width: 50rem;
    }

    .search-parcel-container {
        margin-right: .3rem;
        height: 2.5rem;

        max-width: 25rem;

    }

    #parcel-radio {
        display: flex;
        align-items: center;
        height: 3.75rem;
        width: 7.8125rem;
        font-size: .875rem;
    }

    .parcel-search-input {
        width: 75%;
        position: relative;
        max-width: 18.75rem;
    }

    #srch-parcel{
        width: 100%;
        height: 2.5rem;
        border-radius: 1.875rem;
        font-size: .75rem;
    }

    #srch-parcel-btn {
        cursor: pointer;
        height: 2.5rem;
        width: 2.5rem;
        border-radius: 1.875rem;
        font-size: 1rem;
    }

    .search-addr-container {
        /* display: flex;
        flex: 1;
        align-items: start;
        justify-content: start; */
        position: relative;
        max-width: 18.75rem;
        width: 75%;
    }

    #srch-addr {
        width: 100%;
        height: 2.5rem;
        border-radius: 1.875rem;
        font-size: .75rem;
    }

    #srch-addr-btn {
        cursor: pointer;
        height: 2.5rem;
        width: 2.5rem;
        border-radius: 1.875rem;
        font-size: 1rem;
    }

    .results {
        right: 0;
        width: 40vw;

    }
}

/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% MAX WIDTH 1015 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
@media screen and (min-width: 1015px) {
    #toggle-sidebar {
        display: none;
    }
}


@media screen and (max-width: 1015px) {


    #header {
        top: 0;
        left: 0;
        width: 21.875rem;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        position: fixed;
        z-index: 1001;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.5);
        will-change: transform;
        transform: translateX(0);
        transition: transform .75s ease-in-out;
    }

    #header.closed {
        transform: translateX(-100%);
    }

    #toggle-sidebar {
        position: absolute;
        top: 15%;
        left: 100%;
        height: 6.25rem;
        width: 6.25rem;
        border: none;
        outline: none;
        background-color: rgba(0, 0, 0, 0.5);
        /*box-shadow: 0 0 10px #000;*/
        color: white;
        border-radius: 0 .625rem .625rem 0;
        cursor: pointer;
    }

    #toggle-sidebar i {
        color: #FFC400;
        font-size: 2.5rem;
        padding: .3rem;
    }

    #toggle-sidebar span {
        color: white;
        font-size: 1rem;
    }

    #banner_img {
        margin-left: .625rem;
        height: 2.5rem;
        width: 5rem;
    }

    header .logo {
        display: flex;
        flex-direction: row;
        margin-top: .625rem;
        margin-left: .3rem;
        margin-right: .3rem;
        margin-bottom: 1.875rem;
        height: 2.5rem;
        font-size: .75rem;
        border-right: none;

    }

    .contact {
        top: .3rem;
    }

    .contact button {
        height: 3.125rem;
        width: 3.125rem;
        border-radius: 1.875rem;
    }

    .contact i{
        font-size: 1.5rem;
    }

    header .search-data {
        flex-direction: column;
        align-items: start;
        height: 100%;
        width: 100%;
        max-width: 21.875rem;
    }

    .search-parcel-container {
        flex-direction: column;
        align-items: start;
        margin-right: .3rem;
        max-height: 6.5625rem;
        width: 100%;
        max-width: 20.3125rem;


    }

    #parcel-radio {
        display: flex;
        align-items: center;
        height: 3.75rem;
        width: 12.5rem;
        font-size: 1.25rem;
        margin-left: .3rem;
    }

    .parcel-search-input {
        width: 100%;
        position: relative;
        margin-top: .625rem;
        max-width: 20.3125rem;
    }

    #srch-parcel {
        width: 100%;
        height: 2.1875rem;
        border-radius: 1.5625rem;
        font-size: .75rem;
    }

    #srch-parcel-btn {
        cursor: pointer;
        height: 2.1875rem;
        width: 2.1875rem;
        border-radius: 1.5625rem;
    }

    .search-addr-container {
        margin-left: .3rem;
        position: relative;
        max-width: 20.3125rem;
        width: 100%;
        margin-top: .625rem;
    }

    #srch-addr {
        width: 100%;
        height: 2.1875rem;
        border-radius: 1.5625rem;
        font-size: .75rem;
        max-width: 20.3125rem;
    }

    #srch-addr-btn {
        height: 2.1875rem;
        width: 2.1875rem;
        border-radius: 1.5625rem;
        font-size: 1rem;
    }

    .layer-control {
        top: 1.5625rem;
    }


    .layer-control-expanded {
        top: 1.5625rem;
    }

    .results {
        right: 0;
        width: 65vw;

    }

    #close-popup-button {
        font-size: 1.5em;
    }
}

    /* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% MAX WIDTH 450 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
@media screen and (max-width: 450px) {


    #header {
        width: 15.625rem;
    }

    /*#header.closed {*/
    /*    left: -250px;*/
    /*}*/

    /*#toggle-sidebar {*/
    /*    height: 50px;*/
    /*    width: 50px;*/
    /*    border-radius: 0 25px 25px 0;*/
    /*}*/

    #banner_img {
        margin-left: .3rem;
        height: 2.1875rem;
        width: 4.375rem;
    }

    header .logo {
        height: 2.1875rem;
        font-size: .75rem;
        border-right: none;

    }

    .contact{
        top: 5rem;
    }

    header .search-data {
        max-width: 15.625rem;
    }

    .search-parcel-container {
        max-width: 15rem;
    }

    .search-addr-container {
        max-width: 15rem;
        width: 100%;
    }

    .layer-control {
        top: .3rem;
        right: .3rem;
    }


    .layer-control-expanded {
        top: .3rem;
        right: .3rem;
    }

    .results {
        right: 0;
        width: 75vw;

    }



    #popup {
        height: 18.75rem;
        width: 17.1875rem;
    }

    #popup-content {
        height: 50%;
    }

    #imageContainer {
        height: 9.375rem;
        width: 15.625rem;
    }



    /*#view-details {*/
    /*    height: 30px;*/
    /*    width: 100px;*/
    /*    background-color: var(--background-color);*/
    /*    color: var(--olive-green);*/
    /*    border: 1px solid var(--olive-green);*/
    /*    padding: 5px;*/
    /*    border-radius: 5px;*/
    /*    float: right;*/
    /*    margin: 10px;*/
    /*    font-size: .75rem;*/
    /*    cursor: pointer;*/
    /*}*/
}

/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% MAX Height 700 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
@media screen and (max-height: 700px) {
    /*.layer-control {*/
    /*    top: 85px;*/
    /*    right: 5px;*/
    /*}*/


    /*.layer-control-expanded {*/
    /*    top: 5px;*/
    /*    right: 5px;*/
    /*}*/

    .results {
        top: 30vh;
        height: 60vh;
    }
}

/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% MAX Height 500 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/

@media screen and (max-height: 500px) {
    /*.layer-control {*/
    /*    top: 85px;*/
    /*    right: 5px;*/
    /*}*/


    /*.layer-control-expanded {*/
    /*    top: 5px;*/
    /*    right: 5px;*/
    /*}*/

    .results {
        top: 0;
        height: 100vh;
    }
}





