html {
	height:100%;
	font-family: Verdana, Geneva, sans-serif;
}

body {
	background: #003 url("../img/bg.jpg") 0 -40px no-repeat;
	background-size: 100%;
	margin:0;
	padding:0;
}

#wrapper {
	width: 50%;
	min-width:750px;
	height: 100%;
	margin: 0 auto;
}

#nav {
	float:right;
	width:48%;
	height:20%;
	position:relative;
}

#nav ul {
	display: flex;
	flex-direction: row;
	width:80%;
	margin:0;
	padding:0;
	float:right;
	text-align:center;
	position:absolute;
	bottom:0;
	right:0;
	overflow:hidden;
}

#nav ul li {
	list-style: none;
	background-color: rgba(255,255,255,1);
	flex-grow:1;
	margin:0;
	padding:0;
	border-right:1px inset #ddd;
	border-bottom:1px inset #ddd;
}

#nav ul li:last-child {
	border:0;
	border-bottom:1px inset #ddd;
}

#nav ul li a {
	display:block;
	text-decoration:none;
	padding:1em 0;
	font-size:.65em;
	text-transform:uppercase;
	color: #036;
}

#logo {
	width:60%;
	height:20%;
	background-image: url('../img/logo.png');
	background-size: 95%;
	background-repeat:no-repeat;
	background-position: left center;
}

#logo a {
	display:block;
	height:100%;
	width:100%;
}

#slideshow {
	width:100%;
	height:50%;
	background-color: rgba(255,255,255,1);
	position:relative;
	overflow:hidden;
}

#slideshow img { 
	position:absolute;
	width:93%;
	left:0;
	top:0;
	margin:3.5%;
}

#content {
	width:93%;
	min-height:24%;
	background-color: rgba(255,255,255,1);
	padding:2% 3.5%;
	font-size:11pt;
	line-height:16pt;
}

#footer {
	width:100%;
	height:2%;
	padding-top:1%;
	background-color: rgba(255,255,255,1);
	right:0;
	bottom:0;
	font-size:0.75em;
	color:#777;
}

#footer p {
	margin:0;
	padding:0;
	padding-right:0.5em;
	text-align:right;
	font-size:0.75em;
	vertical-align:text-bottom;
}

.title {
	display:block;
	text-transform:uppercase;
	font-weight:bold;
	font-size:12pt;
	color:#36c;
}

.box-left {
	width:40%;
	height:inherit;
	float:left;
	margin:0;
	padding:0;
}

.box-right {
	width:60%;
	height:inherit;
	float:right;
	margin:0;
	padding:0;
}

.box-right iframe {
	width:100%;
}