@charset "utf-8";

/* This is the page wide gray background. */
#multiMenuBackground{
	z-index: 10; 
	width: 100%; 
	height: 100%; 
	position: fixed; 
	top: 0px; 
	left: 0px;
	overflow: scroll;
	display: none;
	background-color: rgba(48,48,48, .5);
}

/* This is the horizontal bar which contains all the main tabs. */
#menuBar{
	z-index: 20;
	width: 100%;
	background-color: #808080;
	text-align: center;
}
@media screen and (max-width: 600px){
	#menuBar{
		display: none;
		border: 2px solid #d3d3d3;
		position: relative;
		right: 0px;
		top: 0px;
		animation: animateMenuBar 0.4s;
		overflow: hidden;
	}
}

/* This is an individual tab within the menuBar. */
.menuBarTab{
	display: inline-block;
	margin: 0px auto;
	padding: 4px 8px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #ffffff;
	cursor: pointer;
	position: relative;
}
@media screen and (max-width: 600px){
	.menuBarTab{
		display: block;
		text-align: left;
		border-top: 2px solid #f0f0f0;
		border-bottom: 2px solid #000000;
		animation: animateMainMenu 0.4s;
	}
}
@keyframes animatemenuBarTab{
	from{
		top: -10px;
		opacity: 0;
		}
	to{
		opacity: 1;
	}
}

.menuBarTab:hover{
	background-color: #a0a0a0;
}


/* This is the drop menu. */
.dropMenuInstance{
	display: none;
	position: absolute;
	top: 100%;
	left: 0px;
	background-color: #808080;
	border-left: 1px solid #000000;
	border-right: 1px solid #000000;
	border-bottom: 1px solid #000000;
	width: 175px;
	color: #ffffff;
	z-index: 20;
	text-align: left;
	animation: animateMainMenu 0.4s;
	overflow: hidden;
}
@keyframes animateMainMenu{
	from{
		top: -10px;
		opacity: 0;
		}
	to{
		opacity: 1;
	}
}
@media screen and (max-width: 600px){
	.dropMenuInstance{
		position: static;
		border: 0px;
		width: 90%;
	}
}

/* In case you're using HTML links instead of JavaScript functions in the menu, this removes link effects. */
.dropMenuInstance a:link, .dropMenuInstance a:visited{
	text-decoration: none;
	color: #ffffff;
}

/* This is a line item in the drop menu. */
.menuInstanceOption{
	padding: 16px 8px 5px 8px;
	border-top: 2px solid #f0f0f0;
	border-bottom: 2px solid #000000;
	font-size: 14px;
	cursor: pointer;
}
@media screen and (max-width: 600px){
	.menuInstanceOption{
		background-color: #a0a0a0;
		border-top: 0px;
	}
}

.menuInstanceOption:hover, .menuInstanceOption:active{
	background-color: #a0a0a0; 
}
@media screen and (max-width: 600px){
	.menuInstanceOption:hover, .menuInstanceOption:active{
		background-color: #bebebe;
	}
}

/* This is a sub-item in the menu. */
.menuInstanceSubOption{
	padding: 4px 4px 4px 15px;
	cursor: pointer;
	font-size: 12px;
}
.menuInstanceSubOption:hover, .menuInstanceSubOption:active{
	background-color: #bebebe; 
}
@media screen and (max-width: 600px){
	.menuInstanceSubOption:hover, .menuInstanceSubOption:active{
		background-color: #a0a0a0;
	}
}

/* If you have text in the menu which is not a link, apply this style. */
.nonLinkTextItem{
	padding: 5px;
	font-size: 14px;
	cursor: default;
}

/* This is the button within the drop menu which closes it. */
.closeMenusIcon{
	font-style: italic;
	font-weight: bold;
	text-align: right;
	border-bottom: 0px;
	padding: 8px;
	cursor: pointer;
}

.closeMenusIcon:hover, .closeMenusIcon:active{
    color: #e81123;
}

/* This is the button on narrow screens which opens the drop menu. It is hidden on wide screens. */
.multiMenuIconContainer{
	display: none;
	margin: 0px auto;
	padding: 4px;
	background-color: #696969;	
	font-size: 32px;	
	color: #ffffff;
	line-height: .6;
	text-align: center;
	cursor: pointer;
	z-index: 10;
}
@media screen and (max-width: 500px){
    .multiMenuIconContainer{
		display: inline-block;
	}
}

.multiMenuIconContainer:hover{
	opacity: 0.7;
}

/* This is the page which display when a menu line item is clicked. */
.pageInstance{
	display: none;
}