.megamenu {
	background: #eeeeee;
	background: -moz-linear-gradient(top,  #eeeeee 0%, #dbdbdb 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#dbdbdb));
	background: -webkit-linear-gradient(top,  #eeeeee 0%,#dbdbdb 100%);
	background: -o-linear-gradient(top,  #eeeeee 0%,#dbdbdb 100%);
	background: -ms-linear-gradient(top,  #eeeeee 0%,#dbdbdb 100%);
	background: linear-gradient(to bottom,  #eeeeee 0%,#dbdbdb 100%);
	border: solid 0 0 2px #000000;
	display: block;
	/* font-family: Calibri, Arial; */
	font-size: 15px;
	/* filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#dbdbdb',GradientType=0 ); */
	list-style: none;
	margin: 0;
	padding: 0;
	position: fixed;
	width: 100%;
	z-index: 100;
}
.megamenu li{
	float: left;
	display:inline;
}
.megamenu > li > a{
	float: left;
	padding: 10px 13px;
	color: #555;
	font-weight: 300;
	text-decoration: none;
	/* text-transform: uppercase; */
	transition: color 0.4s ease-in-out !important;
	-moz-transition: color 0.4s ease-in-out;
	-webkit-transition: color 0.4s ease-in-out;
	-o-transition: color 0.4s ease-in-out;
}
.megamenu > li:hover > a,
.megamenu > li.active > a{
	background: #dbdbdb;
}

.megamenu > li > .logo {
	max-height: 40px;
}
.megamenu > li > .logo > a img{
	max-height: 40px;
}

/* REGISTRATION BUTTON
-----------------------------*/
.menu-reg-button > a {
   background-color: #f38044;
   color: #FFFFFF;
   display:block;
   padding: 10px !important;
   text-decoration: none;
   text-transform: uppercase;
   transition: .25s ease !important;
}
.menu-reg-button > a:hover { 
   background: #d6630a !important;
   color: white !important;
   text-decoration: none !important;
}

/* ITEM ALIGNMENT
-----------------------------*/
.megamenu > li.right{
	float: right;
}

/* DROPDOWN CONFIGURATION
-----------------------------*/
.megamenu .dropdown, 
.megamenu .dropdown li .dropdown {
	background: #0D3051;
	/* border-bottom: solid 1px rgba(0, 0, 0, 0.2);
	border-left: solid 1px rgba(0, 0, 0, 0.2);
	border-right: solid 1px rgba(0, 0, 0, 0.2); */
	display: none;
	list-style: none;
    margin: 0;
    padding: 0; 
    position: absolute;
	/* width:160px; */
    z-index: 999;
}
.megamenu .dropdown {
    top: 42px;
}
.megamenu .dropdown li .dropdown {
	/* border: solid 1px rgba(0, 0, 0, 0.2); */
    left: 160px;
	margin-top: -1px;
	top: inherit;
}
.megamenu .dropdown li {
	clear:both;
	width:100%;
}
.megamenu .dropdown li:last-child {
	border-bottom: none;
}

.megamenu .dropdown li a {
	background:none;
	border:0 none;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	color: white;
	display:block;
	float:left;
	font-size: 14px;
	font-weight: 300;
	padding:7px 15px;
	text-decoration:none;
	transition: color 0.3s ease-in-out;
	-moz-transition: color 0.3s ease-in-out;
	-webkit-transition: color 0.3s ease-in-out;
	-o-transition: color 0.3s ease-in-out;
	width:100%;
}
.megamenu .dropdown li:hover > a {
	background: #dbdbdb;
}

.megamenu .dropdown li span {
	background:none;
	border:0 none;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	color: white;
	display: block;
	float: left;
	font-size: 14px;
	font-weight: 600;
	padding:7px 15px;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.3s ease-in-out;
	-moz-transition: color 0.3s ease-in-out;
	-webkit-transition: color 0.3s ease-in-out;
	-o-transition: color 0.3s ease-in-out;
	width:100%;
}
.megamenu .dropdown li:hover > span {
	background: none;
}
.megamenu .dropdown li span hr {
	border-style: dashed;
    border-width: 1px;
    color: #FFFFFF;
    opacity: .25;
}

/* MEGAPANEL CONFIGURATION
-----------------------------*/
.megamenu > li > .megapanel{
	background: #fff;
	border: solid 1px #cccccc;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	display: none;
	padding: 20px 30px 20px;
	position: absolute;
	top: 42px;
	z-index: 99;

	right: 0px;
	width: none;

	/* left: -1px;
	width: 100.2%; */
}
.megamenu  .megapanel ul{
	margin: 0;
	padding: 0;
}
.megamenu  .megapanel img{
	border: solid 1px #dedede;
	cursor: pointer;
	-webkit-transition: border 0.3s linear; 
	-moz-transition: border 0.3s linear;
	-o-transition: border 0.3s linear;
	transition: border 0.3s linear;
	width: 100%;
}
.megamenu  .megapanel img:hover{
	border: solid 1px #777;
}

/* FORM CONFIGURATION
-----------------------------*/
.megamenu form.contact input,
.megamenu form.contact textarea{
	font-family: Calibri, Arial;
	font-size: 16px;
	color: #444;
	outline: none;
}
.megamenu form.contact input[type="text"],
.megamenu form.contact textarea{
	width: 100%;
	margin-bottom: 20px;
	padding: 5px 10px;
	border: solid 1px #dedede;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: border 0.3s linear; 
	-moz-transition: border 0.3s linear;
	-o-transition: border 0.3s linear;
	transition: border 0.3s linear;
}
.megamenu form.contact input[type="text"]{
	height: 40px;
}
.megamenu form.contact input[type="text"]:focus,
.megamenu form.contact textarea:focus{
	border: solid 1px #999;
}
.megamenu form.contact input[type="submit"]{
	width: 100px;
	height: 35px;
	border: none;
	color: #fff;
	cursor: pointer;
	background: #999;
}

/* GRID SYSTEM
-----------------------------*/
.megapanel .row{
	width: 100%;
	margin-top: 15px;
}
.megapanel .row:first-child {
	margin-top: 0;
}
.megapanel .row:before,
.megapanel .row:after {
	display: table;
	content: "";
	line-height: 0;
}
.megapanel .row:after {
	clear: both;
}
.megapanel .row .col1,
.megapanel .row .col2,
.megapanel .row .col3,
.megapanel .row .col4,
.megapanel .row .col5,
.megapanel .row .col6{
	display: block;
	width: 100%;
	min-height: 20px;
	float: left;
	margin-left: 2.127659574468085%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.megapanel .row [class*="col"]:first-child {
	margin-left: 0;
}
.megapanel .row .col1{
	width: 14.893617021276595%;
}
.megapanel .row .col2{
	width: 31.914893617021278%;
}
.megapanel .row .col3{
	width: 48.93617021276595%;
}
.megapanel .row .col4{
	width: 65.95744680851064%;
}
.megapanel .row .col5{
	width: 82.97872340425532%;
}
.megapanel .row .col6{
	width: 100%;
}

/* COLLAPSIBLE MENU
-------------------------*/
.megamenu > li.showhide{
	display: none;
	width: 100%;
	height: 50px;
	cursor: pointer;
	color: #555;
	border-bottom: solid 1px rgba(0, 0, 0, 0.1);
	background: #eeeeee;
	background: -moz-linear-gradient(top,  #eeeeee 0%, #dbdbdb 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#dbdbdb));
	background: -webkit-linear-gradient(top,  #eeeeee 0%,#dbdbdb 100%);
	background: -o-linear-gradient(top,  #eeeeee 0%,#dbdbdb 100%);
	background: -ms-linear-gradient(top,  #eeeeee 0%,#dbdbdb 100%);
	background: linear-gradient(to bottom,  #eeeeee 0%,#dbdbdb 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#dbdbdb',GradientType=0 );
}
.megamenu > li.showhide span.title{
	margin: 15px 0 0 25px;
	float: left;
}
.megamenu > li.showhide span.icon1:after{
	position: absolute;
	content: "";
	right: 25px;
	top: 15px;
	height: 3px;
	width: 25px;
	font-size: 50px;
	border-top: 3px solid #fff;
	border-bottom: 3px solid #fff;
	z-index: 1;
}
.megamenu > li.showhide span.icon2:after{
	position: absolute;
	content: "";
	right: 25px;
	top: 27px;
	height: 3px;
	width: 25px;
	font-size: 50px;
	border-top: 3px solid #fff;
	border-bottom: 3px solid #fff;
	z-index: 1;
}

/* STYLES
-----------------------------*/

/* skyblue */
.skyblue, .skyblue > li.showhide{ 
	background: #0D3051;
}
.skyblue li > a, .skyblue > li.showhide span{ color: #fff; }
.skyblue > li:hover > a, .skyblue > li.active > a, .skyblue .dropdown li:hover > a{ color: #fff; background: #0180a3;}
.skyblue  .megapanel img:hover, .skyblue form.contact input[type="text"]:focus, .skyblue form.contact textarea:focus{ border: solid 1px #0194BE; }
.skyblue form.contact input[type="submit"]{	background: #0194BE; }

/* RESPONSIVE LAYOUT
-----------------------------*/
@media (max-width: 768px) {
	
	.megamenu {
		position: absolute;
	}
		
	.megamenu > li{
		display: block;
		width: 100%;
		border-bottom: solid 1px rgba(0, 0, 0, 0.1);
		box-sizing:border-box;
		-moz-box-sizing:border-box; 
		-webkit-box-sizing:border-box;
	}
	.megamenu > li:hover,
	.megamenu > li.active{
		border-top: none;
	}
	.megamenu > li > a{
		padding: 15px 25px;
	}
	.megamenu > li:hover > a,
	.megamenu > li.active > a{
		padding: 15px 25px;
	}
	.megamenu a{
		width: 100%;
		box-sizing:border-box;
		-moz-box-sizing:border-box; 
		-webkit-box-sizing:border-box; 
	}
	.megamenu .dropdown, 
	.megamenu .dropdown li .dropdown{
		width: 100%;
		display: none;
		left: 0;
		border-left: none;
		position: static;
		border: none;
		box-sizing:border-box;
		-moz-box-sizing:border-box; 
		-webkit-box-sizing:border-box; 
	}
	.megamenu .dropdown li {
		/* background: #fff !important; */
		border: none;
	}
	.megamenu .dropdown > li > a{
		padding-left: 40px !important;
	}
	.megamenu > li > .megapanel{
		position: static;
		margin-top: 50px;
	}
	.megapanel .row [class*="col"]{
		float: none;
		display: block;
		width: 100%;
		margin-left: 0;
		margin-top: 15px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	.megapanel .row:first-child  [class*="col"]:first-child {
		margin-top: 0;
	}
	.megapanel .row{
		margin-top: 0;
	}
	.black { background: #222222; }
	.megamenu > li > ul.dropdown > li > a{ padding-left: 40px !important; }
	.megamenu > li > ul.dropdown > li > ul.dropdown > li > a{ padding-left: 60px !important; }
	.megamenu > li > ul.dropdown > li > ul.dropdown > li > ul.dropdown > li > a{ padding-left: 80px !important; }
}

