.navbar {
    background: #1689B0;
    padding: 10px 0px;
	z-index: 999;
}
.menu-bar {
    margin-right: 25px;
    cursor: pointer;
}
.nav-item {
    margin-right: 15px;
}
.nav-link {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.02em;
    text-align: right;
}
.dropdown-toggle {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dropdown-toggle::after {
    content: url("https://internationalwealth.info/wp-content/themes/sharp/assets/migrate/images/header/content.svg");
    border: none;
}
.social-icon {
    display: flex;
    padding: 0;
    margin: 0;
}
.social-icon .nav-link {
    padding: 0px !important;
}
.header-bottom {
    width: 100%;
    background: #fff;
    padding: 0px 0px;
    z-index: 99;
    position: relative;	
}
.ulist {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
}

.ulist li {
    border-left: 1px solid #0111261a;
    cursor: pointer;
    width: 25%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the content horizontally */
    text-align: center;
}

.ulist li:last-child {
    border-right: 1px solid #0111261a;
}

/* Style the link and image as a group */
.ulist li a {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.02em;
    color: #07142c;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* spacing between text and image */
}
.mission-btn {
    width: 230px;
    text-align: center;
    height: 56px;
    padding: 16px 24px 16px 24px;
    border-radius: 16px;
    background: #1689B0;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.02em;
    text-align: left;
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-top: 30px;
    transition: 0.3s;
    text-align: center;
}
.mission-btn:hover {
    background: #1741a5;
}
a {
    text-decoration: none !important;
}
.mymenuOuter {
    background: none;
    padding: 0px;
}
.mymegamenu {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    background: #fff;
    top: 129px;
    /* padding: 20px 0px; */
	padding: 5px 0px;
    z-index: 2;
    border-top: 1px solid #e5e5e5;
}
.mymega_search {
    width: 100%;
    background: none;
    padding: 0px;
    padding-left: 25px;
    border-radius: 15px;
    border: 1px solid #0111261a;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.mymega_search input {
    border: none;
    outline: none !important;
    box-shadow: none !important;
    text-align: left;
    width: 100%;
    padding: 17px 50px;
    background-color: transparent;
}
img.searchIco {
    width: 25px;
    position: relative;
    top: 17px;
    left: 15px;
    margin-right: 5px;
    position: absolute;
}
.mymega_search button.mission-btn {
    width: 144px;
    text-align: center !important;
    height: 45px;
    padding: 0 0;
    border-radius: 16px;
    background: #1689B0;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-align: left;
    color: #ffffff;
    text-decoration: none;
    border: none;
    margin-top: 0px;
    margin-right: 8px;
}
.mymega_list {
    width: 100%;
    padding: 10px 0px;
}
.mymega_list ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}
.mymega_list li {
    margin-bottom: 5px;
    color: #3e3e3e;
}
.mymega_list ul li a,
.megaMenuContent a {
    color: inherit;
}
.megaMenuContent ul li a { 
	font-weight: 400;
}
.mymega_list ul li a:hover {
    color: #2050be;
    text-decoration: underline !important;
}
#myToggleClose {
    width: 21px;
    position: relative;
    right: -8px;
    margin-right: 30px;
}
ul {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}
@media screen and (min-width: 300px) and (max-width: 767px) {
    .navbar .container {
        flex-wrap: nowrap;
        justify-content: start;
    }
    .header-bottom {
        display: none;
    }
    .navbar-brand img {
        width: 112px;
    }
    .menu-bar {
        margin-right: 10px;
    }
    .navbar-toggler {
        display: none;
    }
    .mission-btn {
        width: 100%;
        display: block;
        text-align: center;
    }
    #collapsibleNavbar {
        display: block;
    }
    .nav-item {
        display: none;
    }
    .social-icon a:first-child,
    .social-icon a:last-child {
        display: none;
    }
    #myToggleClose {
        width: 18px;
        position: relative;
        right: -8px;
        margin-right: 18px;
    }
    .mymega_search {
        padding: 5px 10px;
    }
    .mymega_search span:first-child {
        width: 50%;
        display: flex;
    }
    .mymega_search input {
        width: 100%;
        padding: 0 32px;
    }
    .mymega_search button.mission-btn {
        width: auto;
        text-align: center !important;
        height: auto;
        padding: 5px 10px;
        border-radius: 4px;
        margin-top: 0;
        margin-right: 0px;
    }
    .mymega_list ul {
        padding-left: 0px !important;
        border: none !important;
    }
    .mymega_list .col-md-4 {
        margin: 10px 0px;
    }
    .mymegamenu {
        height: calc(100vh - 0px);
        overflow: auto;
        padding-bottom: 64px;
        background: #fff;
        z-index: 99999;
    }
    img.searchIco {
        top: 9px;
        left: 10px;
    }
}
#megaMenu {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    background: #fff;
    top: 70px;
    z-index: 9999;
}
#megaMenu {
	background: rgba(22, 137, 176, 1);
}
#megaMenuContent {
    background-color: #f4f7fd;
}
#megaMenuSidebar {
    background-color: #1689B0;
    padding-top: 50px;
}
#megaMenuSidebar ul li {
    cursor: pointer;
}
#megaMenuSidebar ul li.active {
    background: linear-gradient(90deg, #1689B0 0%, #1DA9D9 100%);
}
.menuOutlineButton {
    background-color: transparent;
    border: 2px solid #1863e7;
    color: #1863e7 !important;
    border-radius: 10px;
    padding: 10px 30px;
    font-weight: 600;
}

.megaMenuContentList {
    height: calc(100dvh - 194px);
    overflow-y: scroll;
    overflow-x: hidden;
}
.megaMenuContentList a:hover, .megaMenuContentList a:focus {
	color: #1689B0;
	font-weight: 500 !important;
}
@-moz-document url-prefix() {
    @media screen and (min-width:1201px) and (min-height:860px) {
      .megaMenuContentList {
        height:calc(100dvh - 265px) !important;
      }
      #megaMenu,
      .mymegamenu {
        border-radius:0 0 15px 15px
      }
    }
}

@media screen and (min-width: 1201px) and ( min-height: 550px ) and ( max-height: 750px ) {
	.megaMenuContentList {
		height: calc(100dvh - 265px);
	}
	#megaMenu, .mymegamenu {
		border-radius: 0 0 15px 15px;
	}
}

@media screen and (min-width: 1201px) and ( min-height: 751px ) {
	.megaMenuContentList {
		height: calc(100dvh - 360px);
	}
	#megaMenu, .mymegamenu {
		border-radius: 0 0 15px 15px;
	}
}

.megaMenuContentList::-webkit-scrollbar {
    width: 5px;
}
.megaMenuContentList::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.megaMenuContentList::-webkit-scrollbar-thumb {
    background: #1863e7;
}
.megaMenuContentList::-webkit-scrollbar-thumb:hover {
    background: #0a2a61;
}
.megaMenuListItem {
    padding: 10px;
}
.back_navi {
	background: linear-gradient(90deg, #1689B0 0%, #1DA9D9 100%);
	position: fixed;
    /* position: absolute; */ 
    top: 60px;
    left: 0px;
    display: none;
}
.mob_icons {
    display: none;
}
#mob_search_menu {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #00000061;
    top: 0px;
    left: 0px;
    z-index: 9999;
    display: none;
}
.mob_search {
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 0px 5px;
}
.mob_search input {
    border: none;
    width: 90%;
    padding: 16px 10px;
}
.mob_search input:focus {
    outline: none;
}
.mobile_only {
    display: none;
}
@media (max-width: 460px) {
    .mobile_only {
        display: flex;
    }
    #megaMenu {
        top: 60px;
    }
    #megaMenuSidebar {
        padding-top: 0px;
        height: calc(100vh - 60px);
    }
    .megaMenuListItem {
        padding: 15px;
    }
    .megaMenuContentList {
        display: none;
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        z-index: 3;
        background-color: #fff;
        padding: 20px;
        margin-top: 0px !important;
        height: calc(100dvh - 60px);
    }
    .megaMenuContent {
        padding-top: 70px;
    }
    .back_navi {
        display: flex;
    }
    .navbar .container {
        /* display: flex; */
        justify-content: space-between;
        flex-wrap: wrap !important;
    }
    .mob_icons {
        display: flex;
    }
    .megaMenuContentlicSep {
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 8px;
        margin-bottom: 8px;
    }
    .megaMenuContent ul li {
        margin-bottom: 5px;
    }
}
@media (max-width: 1200px) {
    .ulist li a {
        font-size: 13px;
        width: 80%;
        /* overflow: hidden; */
        /* white-space: nowrap; */
        text-overflow: ellipsis;
    }
}
@media (max-width: 992px) {
    .mymegamenu {
        top: 144px;
    }
}
/*
@media screen and (min-width: 767px) and (max-width: 991px) {
    .social-icon a:first-child,
    .social-icon a:last-child {
        display: none;
    }
}
*/
@media screen and (min-width: 1201px) and (max-width: 1500px) {
    .mission-btn {
        margin-top: 20px;
        display: block;
    }
    a {
        text-decoration: none !important;
    }
    .container {
        max-width: 1300px;
    }
}
@media screen and (min-width: 1201px) {
	#megaMenuContent1 .search_block p {
		max-width: 385px;
	}
	.top-menu{
		height: 37px;
	}	
}
.mymega_content a {
    font-weight: 450;
}
.ulist li:hover {
    background: #e3ebfa;
}
.ulist li.ulistItem.active  {
	background: #0111261a;
}
.showOverlay {
    opacity: 0.4;
    background-color: #000;
    z-index: 95;
	top: 0;
	left: 0;
	overflow-y: scroll;
}
.top-menu .navbar {
	    background: transparent;
		z-index: 9;
}
.top-menu .navbarli>a {
	color: #222 !important;
}
.top-menu .nav-item {
	margin-right: 0px;
}

.second-search .mymega_search {
		background: #FFF;
		border-radius: 10px;
		width: 95%;
}
.second-search .mymega_search button.mission-btn {
	width: 75px;
	height: 35px;
	border-radius: 10px;
}
.second-search img.searchIco {
		top: 10px;
}
.second-search .mymega_search input {
	padding: 8px 20px;
}
.second-search.search-form {
    display: flex;
    align-items: center;
    margin-left: 20px;  /* Optional: Adjust margin for spacing */
}

.phone-link img {
  width: 24px;   /* ширина флага */
  height: auto; 
  flex-shrink: 0;
}

.topbar { background: transparent; border-bottom:1px solid #e9ecef; }
.topchip .btn {
height:37px; padding:0 .75rem; 
border-top: none !important;
border-left: 1px solid #E5E7EB !important;
border-right: 1px solid #E5E7EB !important;
border-bottom: none;
background:#fff; 
border-radius: 0 !important;
display:flex; 
align-items:center; 
justify-content:center;
}
.topchip .btn:hover { background:#f8f9fa; }
.dropdown-item { padding:.5rem .75rem; }
.flag-ico { width:18px; height:13px; }
.chat-ico { width:18px; height:18px; }

/* Custom dropdown menu styling */
.topchip .dropdown-menu {
border-top: none !important;
border: 1px solid #E5E7EB !important;
/* border-right: 1px solid #E5E7EB !important; */
border-bottom: none;
border-radius: 0px 0px 10px 10px;
padding: 0;
margin-top: 0;
}

.topchip .dropdown-item {
border-top: 1px solid #E5E7EB !important;
}
/* Rotate arrow when open */
.topchip .btn[aria-expanded="true"] .dropdown-arrow {
transform: rotate(180deg);
}

.topchip .dropdown-menu {
--bs-dropdown-min-width: 100%;
width: 100%; /* optional; the var is enough */
}

.topchip .dropdown-item:active, .topchip .dropdown-item:hover {
/*  background-color: #1DA9D9; */
border-radius: 0px 0px 10px 10px;
}
/* Sharp mobile language dropdown: preserve original topchip icon without desktop borders. */
#megaMenuSidebar .qwr-mobile-language{width:auto;max-width:100%;display:inline-flex;align-self:flex-start}
#megaMenuSidebar .qwr-mobile-language>.btn{width:auto;display:inline-flex;gap:4px;align-items:center;background:transparent;border:0!important;color:#fff;padding:4px 0;box-shadow:none}
#megaMenuSidebar .qwr-mobile-language .dropdown-menu{min-width:100%;width:auto}
