/*
===================================
Navigation
===================================
*/

#container {
	position: relative;
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	padding: 0;
	background-color: var(--color-white);
}

#topdiv {
	width:100%;
	/*max-width:900px;*/
	float:left;
	font-family: var(--font-heading);
	font-size: 14px;
}

.topblock {

}
	.logo img {
		width:100%;
	}

	.logo {
		margin-top: 20px;
		margin-left: 13px;
		width: 25%;
	}

	.topinfo {
		border-bottom: 2px solid var(--color-white);
		line-height:1.5em;
		text-align: right;
		width: 60%;
	}

	.headerblob {
		float: left;
		width: 90%;
		text-align: center;
	}

	.leftnavbracket {
		float: left;
		clear: none;
		width: 30px;
	}

	.rightnavbracket {
		float: right;
		clear: none;
		width: 30px;
	}

	.login {
		margin-top: 10px;
		background: var(--color-yellow-pale);
	}

	.alerts {
		margin: 0;
		background-color: var(--color-blue-light);
		text-align: center;
		font-style: italic;
	}

	#topdiv .left {
		float:left;
		clear:none;
	}

	#topdiv .right {
		float: right;
		clear: right;
		width: 70.5%;
		padding-right: .5%;
		min-height: 28px;
		line-height: 2em;
	}

	#topdiv .headerblob {
		margin: 0;
	}

	.headerblob span {
		display: none;
	}

	.headerblob span.visible {
		display: inline;
	}

.navmenu {
	clear: both;
}

	.navmenu ul, .sitlogmenu ul {
		list-style-type: none;
		padding: 0;
	}

	.nav-category {
		float:left;
		width: 23%;
		height: 80px;
		margin: .2em .3em .4em .3em;
		font-family: var(--font-heading);
		text-align: left;
	}

.nav-category .menuholder {
	float: left;
	margin: 0;
	padding: 0;
	border-radius: 4px;
	-webkit-box-shadow: 2px 2px 3px var(--color-grey-dark);
	box-shadow: 2px 2px 3px var(--color-grey-dark); /* For IE 8 */
}


	.menuholder img {
		height: 60px;
		padding: 5px;
	}

	.nav-category ul {
		float:left;
		clear:none;
		line-height: 1.35;
		margin: 0;
		padding-left: 6px;
		font-size: 14px;
		font-family: var(--font-heading);
		font-variant: normal;
	}

	.nav-category ul li {
		text-align:left;
		border-bottom: 1px solid var(--color-white);
	}

	.nav-category ul li:last-child {
		border-bottom:0;
	}

	.nav-category a {
		color: var(--color-grey-dark);
		text-decoration:none;
	}


	a.menuitemgrayed {
		color: #d9d9d9;
	}

	#menufirst div {
		background-color: var(--color-blue);
	}

	#menufirst a:hover {
		color: var(--color-blue);
	}

	#menusecond div {
		background-color: var(--color-purple);
	}

	#menusecond a:hover {
		color: var(--color-purple);
	}

	#menuthird div {
		background-color: var(--color-yellow);
	}

	#menuthird a:hover {
		color: #EAC100;
	}

	#menufourth div {
		background-color: var(--color-grey-dark);
	}

	#menufourth a:hover {
		color: var(--color-grey-light);
	}

#mainbody {
	width: 95%;
	max-width: 858px;
	border: 1px solid var(--color-grey-light);
	border-radius: 1em;
	float: left;
	padding: 1% 2% 2% 2%;
	background: var(--color-white);
}

.shadow {
	z-index:-1;
	position: absolute;
	left:893px;
	top:188px; /* Should exceed height of #topdiv (with padding and margins added in) */
	padding:0;
	margin:0;
}

.lognewholder, .notificationholder {
	position: absolute;
	left: 0px;
	top: 0px;
}

.lognewholder {
	z-index:103;
}

.notificationholder {
	z-index:101;
}

div.lognewoverlay {
    background:transparent url("/img/overlay.png") repeat top left;
    position:fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index:102;
    display:none;
}

.inbutton {
	position:relative;
	top: 10px;
	display:none;
	
}

/*For new sit logger*/
.inbutton { 
	position:relative;
	width: 650px;
	left: 155px;
	z-index:103;
	font-size: 16px;
}

/*For notifications*/
.notificationholder .inbutton {
	position: relative;
	background: var(--color-purple-light);
	width: 30em;
	border: 2px var(--color-purple-light) solid;
	left: 10em;
	z-index: 100;
	text-align: left;
	font-size: 1em;
	line-height: 1em;
	padding: 0;
}

.notification {
	padding: 10px 5px;
	border-bottom: 2px solid var(--color-white);
}

.notification a {
	color: var(--color-yellow-pale);
}

.notification:first-child {
	padding: 30px 5px 10px 5px;
}

.notification.stylefirst {
}

.notification.stylesecond {
	color: var(--color-white);
}

.notification:last-child {
	border-bottom: 0px;
}

.buttonholder {
	position:relative;
	float:left;
	clear:none;
	/*top: 10px;*/
	/*left: 17%;*/
	width: 92px;
	text-align:center;
}

.lognewbutton {
	position: relative;
	float: left;
	clear: none;
	margin-right: 5px;
	padding: 5px 1px 1px 0px;
	width: 26px;
	height: 22px;
	border-radius: 4px;
	cursor: pointer;
	z-index: 105;
}

.messagebutton {
	position: relative;
	float: left;
	clear: none;
	margin-right: 5px;
	padding: 4px 2px 2px 1px;
	width: 24px;
	height: 22px;
	border-radius: 4px;
	cursor: pointer;
	z-index: 101;
}

.notifybutton {
	position: relative;
	float: left;
	clear: none;
	padding: 5px 5px 1px 5px;
	width: 17px;
	height: 22px;
	border-radius: 4px;
	cursor: pointer;
	z-index: 102;
}

#useridholder {
	display:none;
}

.lognewbutton:hover, .messagebutton:hover, .notifybutton:hover {
/*	position: absolute;*/
	background: var(--color-yellow);
	z-index:104;
}

.expandme {
	position: relative;
	font-family: Arial;
	font-size: 26px;
	line-height: .8em;
	color: var(--color-white);
	z-index:103;
}

.expandme a {
	color: var(--color-purple);
}

.lognewbutton .expandme {
	font-size: 42px;
	line-height: .5em;
}

.expandme img {
	width: 21px;
}

.footer {
	padding: .8em;
	text-align:right;
	clear: both;
}

.small-badge {
	width: 32px;
	height: 32px;
}

/* Used for items that appear both in portrait and profile; also used to indicate "minutes" on log form is mandatory */ 
.red {
	color: red;
}

#logo {
	float: left;	
}

#menu {
	float: left;
	clear: none;
	text-align: right;
	font-variant: small-caps;
	font-weight: bold;
	font-size: 16.5px; /*Firefox was displaying it as awkwardly big with (inherited) 17px. Size change makes no difference in Chrome, at least */
	width: 150px;
	min-height: 530px;
	padding: 5px 5px 0 5px;
	overflow: auto;
	background-color: var(--color-yellow-light);
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(var(--color-yellow-light)), to(var(--color-white)));
	background-image: -webkit-linear-gradient(top, var(--color-yellow-light), var(--color-white));
	background-image: -moz-linear-gradient(top, var(--color-yellow-light), var(--color-white));
	background-image: -o-linear-gradient(top, var(--color-yellow-light), var(--color-white));
	background-image: linear-gradient(top, var(--color-yellow-light), var(--color-white));
}

	
.alertbox {
	width: 860px;
	font-family: var(--font-heading);
	font-size: .8em;
	margin: 0 8px;
	padding:8px;
	border-bottom:1px solid var(--color-grey-light);
}    

.alertbox p {
	margin:0;
}
