whitecloudcoverthesky{
	display: none;
	position: fixed;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	width:100%;
	height:100%;
	z-index:97; /*Must lower than header and bluebar*/
	background-color: #FFF;
	opacity:0.9;
	}

/************************ Menu */
nav{
	display: block;
	white-space:nowrap;
}
nav a{
	text-decoration: none;
	color: #333;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

/************************ Main Menu */
.mainmenu{
	display: inline-block;
	outline:none;
	margin: -1px;
	vertical-align:middle;

}

.mainmenu > a{
	display: block; /*must display block so the dropdown position obey nicely*/
	text-align:left;
	font-weight: lighter;
	cursor:pointer;
	color:#666;
	padding:15px 15px;
	border-top-width: 3px;
	border-top-style: solid;
	border-top-color: transparent;
	}

.mainmenu:hover > a,  
.mainmenu > a:hover,
.mainmenu .current{
	color:#C00;
	border-top-color: #C00;
}

/*************************************************/
submenu {
	display:block;
	position:absolute;
	left:0;
	right:0;
	margin:auto;
	width:100%;
	max-width:1240px;
	background-color:#FFF;
	text-align:center;
	white-space:normal;
	overflow:auto !important;
	box-shadow:0px 0px 5px #ccc;
	max-height:70vh;
	text-align:center;
	}
submenu wrapper{
	display:table-cell;
	margin:auto;
	text-align:left;
	vertical-align:top;
	padding-bottom: 40px;
	background-color: #FFF;
	}

submenu wrapper box{
	display:inline-block;
	vertical-align:top;
	width:330px;
	text-align:left;
	padding:40px 40px 0px 40px;
	}
submenu wrapper box strong{
	display:block;
	font-size: 14px;
	color: #06C;
	padding-bottom: 10px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #999;
}
submenu wrapper box ul{
	margin-bottom:0px;
	}
submenu wrapper box li{
	list-style-type: square;
	font-size:13px;
	line-height:23px;
	margin-left:-5px;	
}	

submenu wrapper box a:hover{
	opacity:0.5;
		}
/*************************************************/
bluebox{
	display:table-cell;
	width:200px;
	background-color: #06C;
	vertical-align:top;
	}
bluebox a{
	display:block;
	color: #FFF;
	padding:40px 0px 0px 0px;
	text-align:center;
	}
bluebox img{
	display:block;
	margin:auto;
	width:100%;
	margin-bottom:10px;
	max-width:100px;
	}
bluebox a:hover{
	opacity:0.5;
}
/*************************************************/
#toggle, #toggle + label{
	display:none;
	vertical-align:middle;
	cursor:pointer;
	text-align:right;
}

@media only screen and (max-width: 800px) {
#toggle + label{
	display:table-cell;
	float:right;
	margin-right:10px;
}

nav{
	position: fixed;
	top: 0px;
	left: -800px;
	height:100vh;
	width:80vw;
	transition: all 0.2s ease;
	background-color:#FFF;
	overflow:auto;
	border-right-width: 3px;
	border-right-style: solid;
	border-right-color: #CCC;
}
#toggle:checked ~ nav {
	left: 0px;
}
.mainmenu{
	display: block;
}
.mainmenu > a{
	display:block;
	padding:20px 40px;
	border-top-width: 1px;
	border-top-color: #CCC;
}
submenu {
	position:static;
	max-height:50vh;
	}
submenu wrapper box{
	width:auto;
	padding:40px 40px 0px 40px;
	}
	
bluebox{
	display:block;
	width:auto;
	padding:20px;
	}
bluebox a{
	display:table-cell;
	padding:10px 10px 10px 10px;
	}
}

