*, *::after, *::before {box-sizing: border-box;}
img {
  max-width: 100%;
}

.megamenu{
	margin: 0 auto;
	padding: 0;
	max-width:1140px;
	width: 100%;
	list-style: none;
	display: inline-block;
	position:relative;
	font-family: Roboto, Helvetica, Arial, Calibri, sans-serif;
	font-size: 13px;
	border-bottom: 1px solid #CCC;
	background: #F2F2F2;
}
.megamenu li{
	float: left;
	display:inline;
}
.megamenu > li > a{
	float: left;
	padding: 16px 10px 15px 10px;
	color: #000;
	font-weight: 400;
	text-decoration: none;
	transition: color 0.4s ease-in-out;
	-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{
	background: #999;
	color: #FFF;	
}
.megamenu > li.active > a{
	background: #666;
	border-color: #000;
	color: #FFF;
}
.megamenu > li.active a:hover{
	color: #FFF;	
}

/* ITEM ALIGNMENT
-----------------------------*/
.megamenu > li.right{
	float: right;
}

/* DROPDOWN CONFIGURATION
-----------------------------*/
.megamenu .dropdown, 
.megamenu .dropdown li .dropdown {
	list-style: none;
    margin: 0;
    padding: 0; 
	display: none;
    position: absolute;
    z-index: 999;
	width:250px;
	background: #F2F2F2;
	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);
}
.megamenu .dropdown {
    top: 45px;
}
.megamenu .dropdown li .dropdown {
    left: 160px;
	top: inherit;
	margin-top: -1px;
	border: solid 1px rgba(0, 0, 0, 0.2);
}
.megamenu .dropdown li {
	clear:both;
	width:100%;
}
.megamenu .dropdown li:last-child {
	border-bottom: none;
}
.megamenu .dropdown li a {
	float:left;
	width:100%;
	padding:10px 25px;
	text-decoration:none;
	display:block;
	border:0 none;
	font-size: 14px;
	color: #444;
	background:none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	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;
}
.megamenu .dropdown li:hover > a {
	background: #666;
	color: #FFF;
}

/* MEGAPANEL CONFIGURATION
-----------------------------*/
.megamenu > li > .megapanel{
	position: absolute;
	display: none;
	background: #fff;
	width: 100.2%;
	top: 46px;
	left: -1px;
	z-index: 99;
	padding: 10px 30px 20px;
	border: solid 1px #cccccc;
	border-top: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.megamenu .megapanel .row.nopad{
	padding-top: 0.05%;	
}
.megamenu  .megapanel ul{
	margin: 0;
	padding: 0;
}
.megamenu  .megapanel img{
	width: 100%;
	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;
}
.megamenu  .megapanel img:hover{
	border: solid 1px #777;
}
.megamenu .megapanel .row.links
{
	background: #F2F2F2;
	border: 1px solid #ccc;	
}
.megamenu .megapanel a.link
{
	color: #444;
	display:block;
	font-weight:900;
	padding: 1em;
	text-decoration:none;	
	text-transform: uppercase;
}
.megamenu .megapanel a.link:hover
{
	color: #0e3202;
	text-decoration:underline;
}
.megamenu .megapanel a.panellink{
	color: black;
	display: block;
	overflow:hidden;
	padding: .25em;	
	text-decoration:none;
}
.megamenu .megapanel a.panellink:hover{
	background: #dce5d9;
}
.megamenu .megapanel div.icon{
	float:left;
}
.megamenu .megapanel div.icon img
{
	border: none;
	width: 95px;	
}
.megamenu .megapanel ul.gamelisting
{
	overflow:hidden;	
}
.megamenu .megapanel ul.gamelisting li
{
	line-height: 1.2em;
}
.megamenu .megapanel ul.gamelisting li.teamname
{
	font-size: 16px;
	font-weight: bold;
	letter-spacing: -0.025em;
	margin: 0;
	text-transform: uppercase;
}
.megamenu .megapanel ul.gamelisting li strong
{
	font-weight: bold;
}



/* FORM CONFIGURATION
-----------------------------*/
.megamenu form.contact input,
.megamenu form.contact textarea{
	font-family: Roboto, Helvetica, Arial, Calibri, sans-serif;
	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: 10px;
}
.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: #FFF;
	border-bottom: solid 1px rgba(0, 0, 0, 0.1);
	background: #000000;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VlZWVlZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkYmRiZGIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #000000 0%, #333333 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#000000), color-stop(100%,#333333));
	background: -webkit-linear-gradient(top,  #000000 0%,#333333 100%);
	background: -o-linear-gradient(top,  #000000 0%,#333333 100%);
	background: -ms-linear-gradient(top,  #000000 0%,#333333 100%);
	background: linear-gradient(to bottom,  #000000 0%,#333333 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#333333',GradientType=0 );
}
.megamenu > li.showhide span.title{
	font-size: 1.2em;
	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;
}

/* RESPONSIVE LAYOUT
-----------------------------*/
@media (max-width: 768px) {
	.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: 46px;
	}
	.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;
	}
	.megamenu .megapanel ul.gamelisting li
	{
		line-height: 1.2em;
		width:100%;
	}
	.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; }
}

.orange {background: orange;}
.yellow {background: yellow;}

