:root {
    --vh: 1vh;
}
a:hover{
    text-decoration: none;
}
main{
    min-height: 100vh;
}
.main_content{
    display: flex;
    flex-direction: column;
    height: 100vh;
}
#map{
    width: 100%;
    height: 100%;
    position: relative;
    flex-grow: 1;
}
.not_bg {
    background: url(../images/bg5.webp);
    background-repeat: no-repeat;
    background-size: cover;
}
#search-box{
    background:rgba(255,255,255,0.9);
    border-radius: 10px;
}
.title{
    font-weight: bold; 
    font-size: 28px;
    color: #396dff;
    text-align: center;
    line-height: 29px;
    padding: 5px 0;
    margin: 10px 0;
}
.maps_soso {
    width: 100%;
    background: rgba(255, 255, 255, .8);
    padding: 38px 48px;
    z-index: 9;
}
.search_content{
    width: 95%;
    max-width: 1360px;
    margin: 150px auto 15px;
    transition: all .5s;
}
#search_box_top_img{
    margin: 0 auto;
    display: block;
    margin-top: -100px;
}

.maps_soso .nr {
    border-radius: 5px;
    font-size: 20px;
    border-color: #396dff;
}
.maps_soso .nr input {
    width: 100%;
    height: 56px;
    padding-left: 10px;
    padding-right: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 2px solid #396dff !important;
    border-radius: 5px;
    font-size: 16px;
}
.maps_soso #search-form {
    color: #fff;
    border: none;
    text-align: center;
    background-color: #396dff;
    cursor: pointer;
    display: inline-block;
    height: 56px;
    line-height: 56px;
    transition: all .5s;
    margin: 15px auto 0;
    display: flex;
    width: auto;
    max-width: 325px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
}
.search_btn_box {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.search_btn_item {
    width: 12%;
}
.search_btn_item a {
    width: 100%;
    background: rgba(255, 255, 255, .95);
    border: 1px solid #fff;
    border-radius: 8px;
    box-shadow: 0 0 7px 1px rgb(0 0 0 / 12%);
    display: inline-block;
    z-index: 2;
    padding: 5px 4px;
    align-items: center;
    min-height: 52px;
    justify-content: start;
    color: #333;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
}
.search_btn_item a div {
    margin: 0 5px;
}
.search_btn_item a img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    border: 1px solid #ab9292;
    margin-bottom: 5px;
}
.search_box{
    position: relative;
}
#getNominatim{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1;
}

.clean_ipt{
    position: absolute;
    top: 2px;
    right: 3px;
    width: 40px;
    height: calc(100% - 4px);
    background: #fff;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    display: none;
}

.suggestions {
    width: 100%;
    background-color: #ffffff;
    max-height: 350px;
    overflow: auto;
    margin: 0;
    padding: 0;
    z-index: 99999;
    max-width: 100%;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, .3);
    font-size: 15px;
    border-radius: 3px;
}
.suggestions li {
    padding: 5px 10px;
    cursor: pointer;
}
.mapboxgl-ctrl-geocoder--suggestion-title {
    font-weight: 700;
}
.mapboxgl-ctrl-geocoder--suggestion-address {
    font-size: 13px;
}
.get_content{
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    width: 500px;
    margin: 0 !important;
    background-color: #fff;
    z-index: 9;
}
.get_content #search-box{
    background-color: #fff;
    padding: 10px;
}
.get_content #search-form-spt{
    display: flex;
}
.get_content .maps_soso #search-form{
    margin: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0 20px;
}
.get_content .search_box{
    width: 100%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.get_content .maps_soso .nr input{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.line{
    height:1px;
    width:91%;
    margin:0px auto 5px;
    background-color:#333;
}
.popup_tz {
    z-index: 10;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5) !important;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    display: none;
}
.popup_content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.popup_c {
    width: 98%;
    max-width: 780px;
    border: 4px;
    border-radius: 2px;
    border-color: #fff;
    border-style: solid;
    margin: 0;
    padding: 5px 0;
    background-size: 100%;
    text-align: center;
    font-size: 14px;
    line-height: 1.1;
    border-radius: 10px;
    padding-bottom: 10px;
    background-color: #fff;
    margin-top: -150px;
    position: relative;
}
.popup_t {
    font-size: 33px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    padding: 20px 0;
    line-height: 35px;
    color: #06c !important;
}
.wz_td {
    position: relative;
}
.location_vz {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.showc-dec {
    margin: 27px auto 0;
    text-align: center;
    color: #333;
    font-size: 15px;
    font-weight: 700;
    line-height: 24px;
}
.checkou_box {
    display: flex;
    justify-content: center;
}
.checkou_box_item {
    width: 30%;
    max-width: 200px;
    margin: 0 10px;
    transition: all .4s ease-out;
    height: 59px;
}
.checkou_box_item a {
    display: flex;
    width: 100%;
    position: relative;
    height: 50px;
    justify-content: start;
    align-items: center;
    background-color: #fff;
    color: #333;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 7px 1px rgba(0, 0, 0, .12);
    transition: all .3s ease;
}
.checkou_box_item a img {
    width: 60px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 10px;
}
.checkou_box_item a span {
    color: #333;
    font-size: 16px;
    font-weight: 700;
}
#installNow_tz {
    display: inline-block;
    height: 65px;
    line-height: 65px;
    margin: 42px auto 10px;
    color: #fff;
    background: #06c;
    font-size: 33px;
    text-align: center;
    font-weight: 700;
    border-radius: 5px;
    padding: 0 85px;
    position: relative;
}
#loadingbox {
    top: 0;
    left: 0;
    z-index: 500;
    width: 100%;
    height: 100%;
    position: absolute;
    background: 0 0;
}
#loading {
    position: relative;
    border: 5px;
    border-radius: 2px;
    border-color: #fff;
    border-style: solid;
    height: 170px;
    width: 600px;
    padding: 28px;
    margin: 0 auto;
    top: 50%;
    margin-top: -90px;
    display: block;
    background: url(../images/loadingbg.jpg);
}
#loading h3 {
    font-size: 15px;
    text-transform: uppercase;
    text-align: center;
    color: #0f0;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
}
.left_hide {
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -23px;
    height: 46px;
    width: 23px;
    border-radius: 0 20px 20px 0;
    z-index: 99;
    background-color: rgba(255, 255, 255, .8);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.lf_s svg {
    transform: rotate(180deg);
}
.left_s{
    left: -500px;
}
.logo_box{
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 99;
}
.fh_syy {
    background-color: rgb(72 138 251);
    color: #fff;
    padding: 20px 36px 8px;
    font-size: 14px;
    margin-bottom: 10px;
    width: 100%;
}
#search_again {
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 4px 0;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    background: rgb(72 138 251);
    display: flex
;
    justify-content: center;
    align-items: center;
    color: #fff;
}
.ads_box{
    margin: 20px 0;
    text-align: center;
}
.ads_box32{
    position: absolute;
    bottom: 3px;
    right: 3px;
    z-index: 9999999;
}
#ads_div_top{
    position: absolute;
    left: 505px !important;
    z-index: 999999 !important;
    top: 5px;
}

.loading_l {
    position: absolute;
    left: 50%;
    top: 45px;
    display: none;
}

.pack_des{
    font-size: 13px;
    color: #333;
}
.pack_btn{
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 999;
    /* background-color: rgba(0, 0, 0, .55);
    backdrop-filter: blur(10px); */
    background-color: #fff;
}
.pack_btn a{
   background-color: #1a73e8;
    border-radius: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 15px 15px;
    width: 98%;
    display: block;
    text-align: center;
    color: #fff;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: breathe 1.5s infinite;
}
@keyframes breathe {
    0% {
        box-shadow: 0 0 0 0 #2563EB;
    }
    50% {
        box-shadow: 0 0 0 3vw rgba(188, 204, 238, 0);
    }
    100% {
        box-shadow: 0 0 0 3vw rgba(62, 111, 218, 0);
    }
}
.pack_btn a span{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pack_btn a:hover{
    text-decoration: none;
    color: #fff;
}
.popup_loading{
    display: none;
}
.loading_box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .9);
    z-index: 10;
    display: flex
;
    justify-content: center;
    align-items: center;
}
.place_ads{
    position: fixed;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 9999;
}
.mapboxgl-popup-content{
    font-size: 14px !important;
    border-radius: 13px !important;
    padding: 0 !important;
    background: linear-gradient(135deg, #396dff 0%, #2f56cc 100%) !important;
}

.popup-content {
    text-align: center;
}

.nearby-button {
    background: #396dff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 100%;
    border: none;
}

.nearby-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}
.nearby-button:active{
    outline: none;
}

.nearby-button:focus{
    outline: none;
}
.nearby-form {
    padding: 10px;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.nearby-input {
    padding: 12px 40px 12px 15px;
    border: none;
    border-radius: 25px;
    background: #fff;
    color: #333;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.nearby-input::placeholder {
    color: #999;
}

.nearby-input:focus {
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-icon-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #396dff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-icon-button:hover {
    color: #2f56cc;
}

.search-icon-button svg {
    width: 16px;
    height: 16px;
}

.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{
    border-top-color: #396dff;
}

/* Animation for form appearance */
.nearby-form {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nearby-form[style*="display: block"] {
    opacity: 1;
    transform: translateY(0);
}
.powered_by{
    font-size: 12px;
    text-align: right;
    padding: 5px;
}
@media (max-width: 1366px) {
    .maps_soso{
        padding: 15px;
    }
    #search_box_top_img{
        margin-top: -50px;
        height: 60px;
    }
    .search_content{
        margin: 100px auto 15px;
    }
}

@media (max-width: 768px) {
    .earth_content{
        min-height: calc(var(--vh, 1vh) * 100 - 80px);
        height: auto;
    }
    .title{
        font-size: 18px;
        margin: 0;
    }
    .maps_soso #search-form{
        margin: 7px auto 0;
        height: 56px;
        line-height: 55px;
    }
    .lr_box{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .lr_box #search-form{
        margin: 0 !important;
        padding: 15px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
    .maps_soso .nr .lr_box input{
        border-right: 0 !important;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .lr_box .search_box{
        flex-grow: 1;
    }
    #loading{
        width: 98%;
    }
    .get_content{
        display: none;
    }
    .popup_t{
        padding: 5px 0;
        font-size: 20px;
        padding: 5px 0;
        line-height: 25px
    }
    .showc-dec{
        margin: 5px auto 5px;
        font-size: 12px;
    }
    .checkou_box{
        flex-wrap: wrap;
    }
    .checkou_box_item{
        width: 100%;
        margin: 0 5px;
        height: 65px;
        max-width: 100%;
    }
    .checkou_box_item a span{
        font-size: 14px;
    }
    .checkou_box_item a img{
        width: 50px;
        height: 50px;
    }
    .checkou_box_item a{
        height: 55px;
    }
    #installNow_tz{
        margin: 0px auto 0px;
        height: 50px;
        line-height: 50px;
        font-size: 25px;
    }
    .popup_tz{
        position: relative;
        min-height: 100vh;
    }
    .location_img{
        height: 55px !important;
    }
    .popup_content{
        margin-top: 45px;
        display: block;
    }
    .popup_c{
        margin: 25px auto 0;
    }
    .opct0{
        opacity: 0;
    }
    .loading_l{
        display: block;
    }
    .fh_syy{
        margin-bottom: 0;
        padding: 10px 36px 8px;
    }
    .m_ads{
        position: absolute;
        bottom: 60px;
        left: 0;
        width: 100%;
        text-align: center;
    }
    .ads_32_moble{
        text-align: center;
        position: absolute;
        z-index: 99;
        top: 35px;
        left: 0;
        width: 100%;
    }
    .search_content{
        margin: 125px auto 15px;
    }
    .not_bg {
        background-position-x: right;
    }
    .popup_content{
        margin-top: 0;
        padding-top: 45px;
    }
    .logo_box{
        z-index: 99999;
    }
}



