/**
 * CoinGape mega menu navbar
 */

.sn-bar--main {
	padding: 0;
	background: transparent;
	position: sticky;
	top: 0;
	z-index: 100;
}

.sn-bar--main .container-fluid {
	max-width: 1400px;
}

/* =========================
   NAVBAR
   ========================= */

.custom-navbar {
	background: #043a54;
	padding: 0;
	position: relative;
	width: 100%;
}

.custom-navbar .navbar-brand {
	color: #fff;
	font-size: 26px;
	font-weight: 700;
	padding-top: 0;
	padding-bottom: 0;
}

.custom-navbar .nav-link {
	color: #fff !important;
    padding: 14px 16px !important;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    font-family: 'Montserrat';
}

.custom-navbar .nav-link:hover {
	background: #0f4e6c;
}

.sn-navbar-utils {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 12px 12px;
}

@media (min-width: 992px) {
	#mainNavbar {
		display: flex !important;
		flex-wrap: nowrap;
		align-items: stretch;
	}

	#mainNavbar .navbar-nav {
		flex-wrap: wrap;
	}

	.sn-navbar-utils {
		padding: 0 16px 0 0;
		margin-left: auto;
		align-self: center;
	}
}

/* =========================
   MEGA MENU
   ========================= */

.mega-dropdown {
	position: static;
}

.dropdown-menu-custom {
	position: absolute;
	left: 0;
	top: 100%;
	width: 100%;
	background: #043a54;
	display: none;
	z-index: 999;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mega-dropdown.active-menu .dropdown-menu-custom {
	display: block;
}

.dropdown-menu-custom > .container-fluid {
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
}

/* =========================
   LEFT MENU
   ========================= */

.left-menu {
	background: #063b55;
	min-height: 450px;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.left-menu ul {
	list-style: none;
	padding: 15px 0;
	margin: 0;
}

.left-menu li {
	color: #fff;
	padding: 18px 24px;
	font-size: 14px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	transition: 0.3s;
}

.left-menu li:hover,
.left-menu li.active {
	background: #2d5c74;
}

/* =========================
   CENTER LINKS
   ========================= */

.center-links {
	padding: 30px;
}

.link-group {
	display: none;
}

.link-group.active {
	display: block;
}

.center-links a {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 14px 0;
	font-size: 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: 0.3s;
}

.center-links a:hover {
	color: #7fd8ff;
	padding-left: 8px;
}

/* =========================
   RIGHT POSTS
   ========================= */

.right-content {
	padding: 30px;
}

.menu-card img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 14px;
}

.menu-card h4 {
	color: #fff;
	font-size: 22px;
	line-height: 1.5;
	margin-top: 15px;
	font-weight: 700;
}

.menu-card p {
	color: #7fd8ff;
	margin-top: 10px;
}

/* =========================
   SIMPLE MENU
   ========================= */

.simple-links {
	padding: 35px;
}

.simple-links .row {
	row-gap: 15px;
}

.simple-links a {
	display: block;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	padding: 10px 0;
	transition: 0.3s;
}

.simple-links a:hover {
	color: #7fd8ff;
	padding-left: 8px;
}

/* Utils inside navbar */
.sn-bar--main .sn-icon-btn {
	color: #fff;
}

.sn-bar--main .sn-btn--ecosystem {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.85);
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 991px) {
	.custom-navbar .navbar-brand {
		font-size: 28px;
	}

	.custom-navbar .nav-link {
		padding: 16px 18px !important;
	}

	.dropdown-menu-custom {
		position: relative;
	}

	.left-menu {
		min-height: auto;
	}

	.menu-card {
		margin-top: 25px;
	}

	.menu-card img {
		height: 180px;
	}

	.sn-navbar-utils {
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		padding-top: 12px;
		margin-top: 8px;
	}
}

/* Light theme */
html.sn-theme-light .custom-navbar,
html.sn-theme-light .dropdown-menu-custom {
	background: #fff;
}

html.sn-theme-light .custom-navbar .navbar-brand,
html.sn-theme-light .custom-navbar .nav-link {
	color: #043a54 !important;
}

html.sn-theme-light .custom-navbar .nav-link:hover {
	background: #e8f4fc;
}

html.sn-theme-light .left-menu {
	background: #f5f9fc;
	border-right-color: #e0e0e0;
}

html.sn-theme-light .left-menu li {
	color: #043a54;
}

html.sn-theme-light .left-menu li:hover,
html.sn-theme-light .left-menu li.active {
	background: #dceef8;
}

html.sn-theme-light .center-links a,
html.sn-theme-light .simple-links a {
	color: #043a54;
	border-bottom-color: #e8e8e8;
}

html.sn-theme-light .center-links a:hover,
html.sn-theme-light .simple-links a:hover {
	color: #0077b6;
}

html.sn-theme-light .menu-card h4 {
	color: #111;
}

html.sn-theme-light .menu-card p {
	color: #0077b6;
}

html.sn-theme-light .sn-bar--main .sn-icon-btn {
	color: #043a54;
}

html.sn-theme-light .sn-bar--main .sn-btn--ecosystem {
	color: #043a54;
	border-color: #043a54;
}

html.sn-theme-light .dropdown-menu-custom {
	border-top-color: #e0e0e0;
}
