
@font-face {
  font-family: 'Rings';
  src: url('rings.eot?') format('eot'), url('rings.woff') format('woff'), url('rings.ttf') format('truetype');
}

body {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 14px;
}

h1,h2,h3,h4 {
	font-family: Rings;
}

h5 {
	margin: 0 0 1em 4em;
	}

a {
	text-decoration: none;
	color: brown;
}

#wrapper {
	width: 1190px;
	margin: 0 auto;
}

#header {
	height: 215px;
	font-family: 'Rings';
	background-color: #ee8034;
	background-image: url("../img/Elfware.png");
	background-repeat: no-repeat;
	background-position: left;
	background-size: contain;
	position:relative;
}

#header .corner {
	position:absolute;
	width:255px;
	right: 0;
	z-index: 0;
}


.main-title {
	padding-top: 1em;
	padding-left: 260px;	
}

.main-title h1 {
	font-size: 30px;
	text-align: center;
	margin: 1em 4em 0 0;
	line-height: 1.3em;
}

.main-title nav {
	font-size: 19px;
	padding-left: 1em;
	position: relative;
	z-index:1;
	clear: both;
}

.main-title nav ul {
	padding-top: 0.7em;
}

.main-title nav ul li {
	float: left;
	padding: 1em 1.5em;
}

.main-title nav ul li a {
	color: black;
	text-decoration: none;
}

.main-title nav ul li.selected a,
.main-title nav ul li a:hover
{
	text-shadow: 1px 1px 0px #ceecce;
}

#elfware-logo {
	height:100%;
	float:left;
}

#vbspt-logo {
	height:120px;
	vertical-align: middle;
	float:left;
}


.page-title {
	position: relative;
}

.page-title h2{
	padding: 9px 0 4px 1em;
	font-size: 26px;
	font-family: 'Rings';
}

.rope {
	display:block;
	background: #ee8034 url("../img/rope.png") repeat-x;
	height:12px;
}

aside.news {
	background: transparent url("../img/News.png") no-repeat center top;
	width: 340px;
	min-height:180px;
	position: relative;
	top: -78px;
	padding-top: 46px;
	float:right;
	z-index:1;
}

aside.news h3 {
	font-size: 26px;
	text-align: center;
	font-family: 'Rings';
	margin-bottom: 1em;
}

aside.news article {
	padding: 0 27px 27px;

}

aside.news article h4{
	font-size: 1.1em;
	margin-bottom: 12px;
}

ul.links {
	margin: 1em 0;
}

ul.links li {
	list-style-type: none;
}

ol.citations li{
	margin: 1em 0;
}
	
section.main {
	position: relative;
	padding: 80px 0 0 80px;
	margin-right: 340px;
}

section.main .corner {
	position:absolute;
	width:255px;
	left: 0;
	top:0;
	z-index: -1;
}

section.main figure {
	display:inline-block;
}

section.main figcaption {
	margin-top: 0.5em;
	font-size: 0.8em;
	font-weight: bold;
}

section.main article {
	background: #FFFFFF;
	margin: 0 0 30px 0;
}

section.main article h4{
	font-size: 1.6em;
	margin-bottom: 12px;
}

section.main article p{
	margin-bottom: 1em;
}

.media {
	margin: 0px 0px 30px 0px;
	}
	
.button {
	float: right;
	margin: 0 30px 0 30px;
	-webkit-transition: 0.2s linear -webkit-transform;
}

.button:hover{
	-webkit-transform: scale(1.1);
}
.foot {
	clear: both;
}

.foot .foot1 {
	background: url("../img/Footer1.png") no-repeat left top; 
	width: 68px;
	height: 90px;
	float: left;
}

.foot .foot2 {
	background: url("../img/Footer2.png") repeat-x; 
	height: 90px;
	margin: 0 355px 0 0;
}

.foot .foot3 {
	background: url("../img/Footer3.png") no-repeat left top; 
	height: 90px;
	width: 355px;
	float: right;
}

footer {
	margin: 0 80px;
}

footer h3 {
	font-family: Rings;
	margin-bottom: 0.5em;
}

footer .contact {
	width: 30%;
	margin-right: 30px;

}
footer .acknowledgments a {
	text-decoration: none;
}

footer .acknowledgments a img{
	border: none;
	vertical-align: middle;
}

/* For modern browsers */
.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}
.clearfix:after {
    clear:both;
}
/* For IE 6/7 (trigger hasLayout) */
.clearfix {
    zoom:1;
}