header {
	position: relative;
	z-index: 20;
	padding-top:30px;
	padding-bottom:30px;
	height:195px;
	background-color:#fff;
}

header .socials {
	text-align: right;
}

header .socials button {
	position: relative !important;
	display: inline-block;
    color: var(--global-color-fl-main);
    overflow: hidden !important;
    text-align: center;
    height: 30px;
    width: 30px;
    padding: 0;
    border: none;
    margin-top: -2px;
    vertical-align: top;
    background-color: transparent !important;
}
header .socials button:hover,
header .socials button:active {
	opacity: 0.5;
}
header .socials button span {
	position:absolute;
	top:0;
	left:100%;
}

header .socials a{
	position:relative !important;
	display: inline-block;
	color: var(--global-color-fl-main);
	overflow: hidden;
	text-align: center;
	height: 30px;
	width: 30px;
}
header .socials a:hover,
header .socials a:active {
	opacity: 0.5;
}
header .socials a span {
	position:absolute;
	top:0;
	left:100%;
}

header .socials i {
	vertical-align: middle;
	font-size:18px;
	height:22px;
}

#header-top {
	height:95px;
	padding-bottom:30px;
}

header #header-nav {
	position:relative;
	height:40px;
}
header #header-nav::before {
  position: absolute;
  content: '';
  top: 0;
  left: calc(var(--bs-gutter-x)/ 2);
  width: calc(100% - var(--bs-gutter-x));
  height: 1px;
  background-color: var(--global-color-fl-grey-menu-br);
}
header #header-nav::after {
  position: absolute;
  content: '';
  bottom:0;
  left: calc(var(--bs-gutter-x)/ 2);
  width: calc(100% - var(--bs-gutter-x));
  height: 1px;
  background-color: var(--global-color-fl-grey-menu-br);
}

header #header-nav #header-nav-wrapper {
	position:relative;
	-webkit-box-shadow: none;	
	box-shadow: none;
}
header #header-nav #header-nav-wrapper::after{
	position: absolute;
	content:'';
	top:0;
	right:calc(var(--bs-gutter-x)/ 2);
	width:1px;
	height:100%;
	background-color: var(--global-color-fl-grey-menu-br);
}
header #header-nav #header-nav-wrapper #header-nav-inner {	
	height:40px;
	overflow: hidden;
}
header #header-nav #header-nav-wrapper #header-nav-inner.headered {
	margin-left: -30px;
	margin-right: -30px;
}
header #header-nav #header-nav-wrapper #header-nav-inner .nav-group {	
	display:block;
	float: left;
}

header #header-nav .menu-container {
	position:relative;
	display: block;
	float: left;
	height: 100%;
	max-height: 40px;
}
header #header-nav .menu-container:not(:first-of-type)::before {
	position: absolute;
	display: block;
	content:'';
	width:1px;
	height:50%;
	background-color: var(--global-color-fl-grey-menu-br);
	left:0;
	top:50%;
	transform: translateY(-50%);
}

header #header-nav .menu-container ul{
	margin:0;
	padding:0;
	list-style: none;
	height:40px;
}
header #header-nav .menu-container ul li{
	display: block;
	float: left;
}
header #header-nav .menu-container ul li a{
	position: relative;
	display: block;
	text-decoration: none;
	color: var(--global-color-fl-main) !important;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	line-height: 40px;
	padding: 0 10px;
}
header #header-nav .menu-container ul li a:hover,
header #header-nav .menu-container ul li a:active,
header #header-nav .menu-container ul li a:focus{
	text-decoration: none;
}
header #header-nav .menu-container:first-of-type ul li:first-of-type a{
	position: relative;
  	z-index: 1;
	width: 64px;
	text-align: center;
	color:#fff !important;
	background-color: var(--global-color-fl-main);
	background-position: center;
	background-size: 40px 40px;
	background-repeat: no-repeat;
}
header #header-nav .menu-container ul li a.bg-brand {
	background-image: url('../images/Logo-2020-Financialounge-Square.svg');
} 
header #header-nav .menu-container ul li a:hover::after,
header #header-nav .menu-container ul li.current-menu-item a::after {
	position: absolute;
	z-index: 1;
	content:'';
	bottom:0;
	left:10px;
	width:calc(100% - 20px);
	height:2px;
	background-color: var(--global-color-fl-main) !important;
}

header #header-nav .menu-container-network {
	position:absolute;
	top:0;
	right: calc(var(--bs-gutter-x) * .5);
	display: block;
}
header #header-nav .menu-container-network ul {
	display:block;
	list-style: none;
	margin:0;
	padding:0;
	font-size: 12px;
  	font-weight: 600;
	line-height: 40px;
}
header #header-nav .menu-container-network ul li {
	display:block;
	float: left;
}
header #header-nav .menu-container-network ul li span {
	display:inline-block;
	margin-right: 10px;
}
header #header-nav .menu-container-network ul li a {
	position: relative;
	z-index: 1;
	display:block;
	width:120px;
	height:100%;
	padding:0 10px;
	text-align: center;
}
header #header-nav .menu-container-network ul li #logo-freemium {
	background-color: #1f3048 !important;
}
header #header-nav .menu-container-network ul li #logo-freemium img {
	margin-top: -8px;
}
header #header-nav .menu-container-network ul li #logo-advfn {
	background-color: #edeff2 !important;
}
header #header-nav .menu-container-network ul li #logo-advfn img {
	margin-top: -9px;
}

header #header-nav .menu-container-buttons{
	position:absolute;
	top:0;
	right:30px;
	display:none;
}
header #header-nav .menu-container-buttons button {
	position: relative !important;
	display: inline-block;
    color: var(--global-color-fl-main);
    overflow: hidden !important;
    text-align: center;
    height: 40px;
    width: 30px;
    padding: 0;
    border: none;
    margin-top: -2px;
    vertical-align: top;
    background-color: transparent !important;
}
header #header-nav .menu-container-buttons button:hover,
header #header-nav .menu-container-buttons button:active {
	opacity: 0.5;
}
header #header-nav .menu-container-buttons button span {
	position:absolute;
	top:0;
	left:100%;
}

header #header-nav #header-nav-wrapper.sticky {
	position:fixed;
	z-index: 20;
	top:0;
	left:0;
	width:100;
	background-color: #fff;
	-webkit-box-shadow: 1px 0px 10px 1px #ccc;
	box-shadow: 1px 0px 10px 1px #ccc;
	
}
header #header-nav #header-nav-wrapper.sticky::after{
	display: none;
}
header #header-nav #header-nav-wrapper.sticky #header-nav-inner {
	position:relative;
} 
header #header-nav #header-nav-wrapper.sticky .menu-container-network{
	display:none;
}
header #header-nav #header-nav-wrapper.sticky .menu-container-buttons{
	display:block;
}

#header-mobile{
	display:none;	
}

#header-mobile #header-mobile-wrapper {
	height:60px;
	background-color: #fff;	
	-webkit-box-shadow: none;	
	box-shadow: none;
}
#header-mobile #header-mobile-wrapper.sticky {
	position: fixed;
	top: 0;
	-webkit-box-shadow: 1px 0px 10px 1px #ccc;
	box-shadow: 1px 0px 10px 1px #ccc;
}

#header-mobile .logo img{
	margin-top:10px;
	height:40px;
	width:auto;
}

#header-mobile .mobile-menu-open {
	position: relative;
	display: block;
	float: right;
	overflow: hidden;
	text-align: center;
	cursor: pointer;
	width: 48px;
	height: 48px;
	margin: 6px 0 0 0;
	line-height: 48px;
	font-size:28px;
}
#header-mobile .mobile-menu-close {
	position: relative;
	display: block;
	float: right;
	overflow: hidden;
	text-align: center;
	cursor: pointer;
	width: 48px;
	height: 48px;
	margin: 6px 0 0 0;
	line-height: 48px;
	font-size:28px;
}

#header-mobile #header-mobile-menu {
	display:none;
	position:fixed;
	top:0;
	left:0;
	background-color: #fff;
	width:100%;
	height:100%;
	overflow-y: auto;
}
#header-mobile #header-mobile-menu.active {
	display:block;
}

#header-mobile #header-mobile-menu ul {
	display:block;
	margin:0;
	padding:0;
	list-style: none;
}
#header-mobile #header-mobile-menu ul li a {
	display:block;
	line-height: 48px;
	padding: 0 12px;
	border-bottom: solid 1px #ccc;
	text-decoration: none;
}

#header-mobile #header-mobile-menu .top {
	display:block;
	min-height: 70px;
}

#header-mobile #header-mobile-menu .socials {
	display:block;
	min-height: 48px;
	border-bottom: solid 1px #ccc;
}
#header-mobile #header-mobile-menu .socials .socials-line {
	display:block;
	height:48px;
	float:left;	
	overflow: hidden;
}
#header-mobile #header-mobile-menu .socials .buttons-line {
	display:block;
	float:right;	
	height:48px;
	overflow: hidden;
}
#header-mobile #header-mobile-menu .socials a {
	height: 48px;
	width: 38px;
	line-height: 48px;
}
#header-mobile #header-mobile-menu .socials button {
	height: 48px;
	width: 38px;
	line-height: 54px;
}

#header-mobile #header-mobile-menu .network span {
	display:block;
	padding: 10px;
}
#header-mobile #header-mobile-menu .network a {
	display:block;
	float:left;
	width:50%;
	height:48px;
	text-align: center;
}
#header-mobile #header-mobile-menu .network #logo-freemium {
	background-color: #1f3048 !important;
}
#header-mobile #header-mobile-menu .network #logo-freemium img {
	margin-top: -8px;
}
#header-mobile #header-mobile-menu .network #logo-advfn {
	background-color: #edeff2 !important;
}
#header-mobile #header-mobile-menu .network #logo-advfn img {
	margin-top: -9px;
}

@media (max-width:1199.98px){
	header nav .menu-container ul li a{
		font-size: 11px;
	}
	header #header-nav .menu-container.menu-container-financial-industry {
		display:none;
	}	
}

@media (max-width:991.98px){
	
	header nav .menu-container ul li a{
		font-size: 11px;
	}
	header #header-nav .menu-container-network {
		display: none;
	}
}

@media (max-width:767.98px){
	
	header #header-top .socials-line {
		display:none;
	}
	header #header-top .buttons-line {
		margin-top:20px;
	}
	header #header-nav #header-nav-wrapper #header-nav-inner.headered {
	  margin-left: calc(var(--bs-gutter-x) * -.5);
	  margin-right: calc(var(--bs-gutter-x) * -.5);
	}
}

@media (max-width:575.98px){
	header {
		padding:0;
		height:60px;
	}
	
	#header-mobile{
		display:block;
	}
	#header-top {
		display:none;
	}
	header #header-nav{
		display:none;
	}
}
	