.bg-xnspy {
    background-color: transparent;
    background-image: radial-gradient(at center center, #273854 0%, #263042 80%);
}
.dropdown-menu {
    display: none;
}

a.nav-link {
    color: white !important;
    font-weight: 500;
}
.bg-xnspy .buy-now, .bg-xnspy .buy-now:hover ,.bg-xnspy .buy-now:focus, .bg-xnspy .buy-now:active {
    background-color: #39B039;
    color: white;
    /* padding: 7px 20px; */
    border: 0px;
    border-radius: 5px;
    width: fit-content;
    text-align: center;
    font-weight: 400 !important;
     width: 110px !important;
}
.search_toggle {
    background: none;
    box-shadow: none;
    border: none;
}
.search_toggle:hover,.search_toggle:active, .search_toggle:focus  {
   background: none !important;
}
input.form-control.rounded {
    display: none;
}

.input-group.rounded {
    position: relative;
}
input.form-control.rounded {
   position: absolute;
    min-width: 160px;
    left: -185px;
    top: -2px;
}
.search_toggle .search {
      width: 20px;
    height: auto;
    position: absolute;
    left: -47px;
    top: 7px;
    z-index: 99999;
}
.search_toggle .cross-search  {
        width: 15px !important;
    height: auto;
    position: absolute;
    left: -46px;
    top: 11px;
    z-index: 99999;
    opacity: 65%;
}

.nav-item.dropdown:hover .dropdown-menu li:hover {
    background-color: var(--bs-dropdown-link-hover-bg);
}
.nav-item.dropdown:hover .dropdown-menu li a:active, .nav-item.dropdown:hover .dropdown-menu li a:focus {
    background-color: transparent !important;
}
.nav-item.dropdown:hover .dropdown-menu li a:focus {
    color: black;
}
.nav-item.dropdown:hover .dropdown-menu li a, .nav-item.dropdown:hover .dropdown-menu li {
    font-weight: 600;
    font-size: 14px !important;
}
li.nav-item.dropdown {
    position: relative;
    cursor: pointer !important;
}
.dropdown-menu {
    min-width: 470px;
    padding: 0;
}
.dropdown-menu li {
    border-bottom: 1px solid #dcdcdc;
    padding: 20px;
    border-left: 1px solid #dcdcdc;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-height: 70px;
}
.dropdown-menu li:nth-child(-n+2) {
    border-top: none;
}
.dropdown-menu li:last-child {
    border-bottom: none;
}
.dropdown-menu li:nth-child(odd) {
    border-left: 0px !important;
}
.dropdown-menu li:nth-child(even) {
    border-right: 0px !important;
}
.dropdown-menu li:nth-last-child(2) {
    border-bottom: none;
}
.nav-item.dropdown:hover .dropdown-menu li img {
    min-width: 20px;
}
.dropdown-toggle::after {
    display: none;
}

.nav-item .dropdown-toggle::after {
        border: 0;
    content: url(https://xnspy.com/blog/wp-content/uploads/sites/2/2024/11/arrow-down-sign-to-navigate-1-e1731321116960.png);
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    right: -9px;
    top: 9px;

}
@media screen and (min-width: 768px) {
    .menu-wrap {
        position: absolute;
        right: 33px;
    }
    .menu-wrap.mobile-flag {
        display: none;
    }
.bg-xnspy {
position: relative;
}

.menu ul.drop-menu {
    margin-top: 5px;
}

    .menu-wrap {
        position: absolute;
        right: 33px
    }
    .navbar {
        position: sticky !important;
    top: 0px !important;
    z-index: 99 !important;
    }
  .bg-xnspy  .search-div {
   min-width: 167px;
    }

     .nav-item.dropdown:hover .dropdown-menu{
    display: grid ;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    border-radius: 25px;
    position: absolute;
    left: -390px;
    min-width: 400px;
        top: 33px;
    overflow: hidden;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
      padding: 0px;
}
 
    .nav-item.dropdown:hover .dropdown-menu li:hover { 
        background-color: #e9ecef !important;
    }
.dropdown-menu.show {
    display: none !important;
}
    div.searchResults {
    position: absolute;
    z-index: 999;
    background: white;
    left: -325px;
    top: 40px;
    width: 452px;
    border-radius: 5px !important;
}
   .bg-xnspy .buy-now {
          position: absolute;
        top: 23px;
        padding: 10px;
        width: fit-content;
}

    div.searchResults ul {
    list-style-type: none;
    margin: 10px 0px;
    color: black;
}

div.searchResults ul li a {
    color: black;
}
div.searchResults ul li {
    padding: 5px 20px;
}
div.searchResults ul li:hover {
       background-color: #F6F6F6;
}
a#navbarDropdown {
    pointer-events: none !important;
    
}

}
@media screen and (max-width: 768px) {
    .menu-wrap.mobile-flag {
        display: flex;
        justify-content: end;
    }
    .menu-wrap {
        display: none;
    }
    ul.navbar-nav.mb-2.mb-lg-0 li a {
        padding: 10px 0px !important;
    }
    .drop-menu {
        top: 41px;
        right: 3px !important;
        z-index: 9;
    }
    
    }
@media screen and (max-width: 576px) {

    .navbar-nav {
        margin: 5px !important;
    }

   .navbar-toggler:focus {
            box-shadow: 0 0 0 0 !important;
    }
    .search_toggle .cross-search {
    width: 15px !important;
    height: auto;
    position: absolute;
    left: 6px;
    top: 12px;
    z-index: 99999;
    opacity: 65%;
    }

    input.form-control.rounded {
    position: absolute;
    min-width: 160px;
    left: -132px;
    top: 0px;
}
    div.collapse.show {
    display: block !important;
    max-height: 1000px;
    opacity: 1;
    transition: max-height 0.5s ease-out, opacity 0.3s ease-out;
}


div.collapse {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}
    .navbar-dark .navbar-toggler-icon {
        z-index: 99;
    display: block;
    position: relative;
    }

    button.navbar-toggler.collapsed {
    z-index: 99;
}
.search_toggle .search {
    width: 39px;
    height: auto;
    position: absolute;
   left: 19px;
        top: 11px;
    z-index: 99999;
    border-right: 1px solid white;
    padding-right: 18px;
}
       div.searchResults {
    position: fixed;
    right: 9px;
    background: white;
    top: 42px;
    z-index: 9;
    width: 235px;
    border-radius: 3px;
    z-index: 9;
       }
   .bg-xnspy .buy-now {
          position: absolute;
        top: 23px;
        padding: 10px;
        width: fit-content;
       
}
    .header-xnspy {
        z-index: -1;
    }
    div.searchResults ul {
    list-style-type: none !important;
    margin: 10px 0px;
    color: black;
}

div.searchResults ul li a {
    color: black;
}
div.searchResults ul li {
    padding: 5px 20px;
}
div.searchResults ul li:hover {
       background-color: #F6F6F6;
}


    .nav-item .dropdown-toggle::after {
        right: auto;
    }

    .phone-search {
          transform: translate(154px, -7px);
        width: 36px !important;
        margin-right: 20px;
        position: relative !important;
        right: 60px;
}

    input.form-control.rounded, .search-div {
        /* display: none !important; */
   }
   /* .input-group.rounded, */
    .bg-xnspy .buy-now {
    display: none !important;
   }
   .dropdown-menu.show  {
        display: block;
     
        border-radius: 25px;
        position: absolute;
        left: -40px;
        overflow: hidden;
        box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
        min-width: 100px;
        padding: 0;
        width: 100%;
   }
    .dropdown-menu li:nth-last-child(2) {
        border-bottom: 1px solid #dcdcdc;
   }
   button.navbar-toggler:hover, button.navbar-toggler:focus, button.navbar-toggler:active,  button.navbar-toggler  {
    border: none;
    background-color: transparent;
    outline: none;
   }
}

@media screen and (max-width: 400px) {
    .search_toggle .search {
                left: 6px;
    }
}
@media screen and (max-width: 380px) {
    .search_toggle .search {
                left: -2px;
    }
}

/* ---- dropdow lang css */

.menu, .drop-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    display: inline-block;
    position: relative;
}

.menu-item a {
    text-decoration: none;
    padding: 6px 10px;
    color: #fff;
    display: block;
}

.drop-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 100px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}

.drop-menu-item {
    width: 100%;
}

.drop-menu-item:hover {
    background-color: #eee;
}

.drop-menu-item a {
    color: #555;
}

.menu-item:hover .drop-menu {
    display: block;
}
.drop-menu {
    right: 0;
    border-radius: 3px;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    width: 250px;
    gap: 0px;
    padding: 10px 0px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}
.drop-menu li a {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 8px;
}

.drop-menu li a img {
    width: 25px;
    height: 17px;
}

.drop-menu li a span {
    font-size: 13px;
    
}
.drop-menu li:hover {
    background-color: transparent;
}
.drop-menu::after {
    content: "";
    background-image: url("https://xnspy.com/img/langafter.png");
    background-repeat: no-repeat;
    width: 29px;
    height: 10px;
    position: absolute;
    top: -9px;
    right: 7px;
    z-index: 9999;
    background-position: center;

}
.main {
    display: none;

}
.menu-item:hover .main {
    display: block;
}
span.SelectedLanguage {
    cursor: pointer;
}

