.navbar-brand {
	padding: 2rem 0;
}

/*body {
  background: #4f85bb;
}

* {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
}*/

nav {
/*  position: absolute;*/
  width: 100%;
  background: #2a2a2a;
  font-size: 1.4rem;
  font-family: "Brix Sans";
}

/* first stage */

.navbar-section > ul {
  position: relative;
/*  width: 800px;*/
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.navbar-section a {
  display: block;
/*  color: #fff;*/
  text-decoration: none;
}

.navbar-section li {
  display: inline-block;
/*  color: #fff;*/
  list-style: none;
  transition: 0.5s;
}

.navbar-section > ul > li > a {
/*	text-transform: uppercase;*/
  padding: 10px 15px;
  color: #212121;
}
/*
.navbar-section ul > li.submenu > a:after {
  position: relative;
  float: right;
  content: '';
  margin-left: 10px;
  margin-top: 12px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #212121;
  border-bottom: 5px solid transparent;
  color: #4096ee;
}

.navbar-section ul > li.submenu:hover > a:after {
  margin-top: 8px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid #212121;
}
*/
.navbar-section > ul > li:hover {
/*  background: #4096ee;*/
}

/* second stage (the mega-menu) */

nav ul.megamenu {
  position: absolute;
/*  width: 800px;*/
  top: -9999px;
/*  margin-left: -2rem;*/
  padding: 1rem 2rem 1rem;
  background: #fff;
  text-align: left;
  /* border-top: 5px solid #4096ee; */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

nav ul li:hover ul.megamenu {
  top: 100%;
}

nav .megamenu .menu-item-badge {
	margin-left: 1.5rem;
	margin-top: 1.4rem;
	margin-right: 0 !important;
}

/* third stage (child-menus in the mega-menu) */

nav .column {
	min-width:17rem;
}
nav .column.menu-column-21{
	min-width:21rem;	
}
nav .column {
  float: left;
/*  width: 32%;*/
}
nav .column > ul:first-child{
	margin-right: 10%;
}

.megamenu.columns-3 {
	margin-left: -22%;
}

nav .columns-3 {
	min-width:70rem;
}

nav .columns-3 .column{
	 width: 32%;
}

nav .column:last-child {
  margin-right: 0;
}

nav .column ul {
  margin-bottom: 1rem;
  padding-left: 0;
}

nav .megamenu li {
  display: block;
}

nav .megamenu li a {
  margin-top: 2px;
  transition: 0.5s;
  color: #000;
}

nav .megamenu li a:hover {
  color: #4096ee;
}

nav .megamenu h4 {
  margin-bottom: 10px;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.6rem;
  
}
@media (max-width: 1366px) 
{
	nav {
		font-size: 1.4rem;
	}
	nav .column ul {
		margin-bottom: 0;
	}
	
	nav ul.megamenu {
		padding-top: 1rem;
		padding-bottom: 2rem;
	}
	#nav-menu ul li.submenu ul li a {
		padding: 0;
	}
	nav .megamenu h4 {
		padding-top: 2rem;
	}
	.megamenu.columns-3 {
		margin-left: -41%;
	}
}

.megamenu .column ul {
	margin:0;
}
nav .megamenu li {
	margin-bottom:0.3rem;
}
.sub-menu-item {
	margin-left: 2rem;
}
.loading .megamenu {
	display: none;
}