html {
	background-color: #f3f3f3;
	height: 100%;

}
body {
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	border-top: 3px solid #657383;
	color: #555;
	font: 1em/1.7 'HelveticaNeue-Light', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
	margin: 0;
	padding: 0;
	text-align: center;
	height: 100%;
    	margin: 0 auto;
    	text-align: left;
}

a, a:active, a:visited {
    color: #555;
    text-decoration: none;
}
a:hover {
    color: #657383;
    text-decoration: underline;
}


img {
    border: none;
    width: auto;
    height: auto;
    max-height:88%;
    max-width:100%;
 }

.mainimg {
    display: block;
    margin-left: auto;
    margin-right: auto;
 }

#overlaynav{
	position:absolute;
	left:0;
	top:0;
	z-index:5;
	width:100%;
	height:100%;
	max-height:800px;
    	margin-left: auto;
    	margin-right: auto;
}

#prev{
	position:relative;
	display:block;
	width:50%;
	height:100%;
	outline:none;
	top:0;
}

#next{
	position:absolute;
	display:block;
	width:50%;
	height:100%;
	outline:none;
	top:0;
	margin-left: 50%;
}

#next:hover{
	background:transparent url(res/nextlabel.gif) no-repeat 100% 30%;
	background-position: right 30%;
}

#prev:hover{
	background:transparent url(res/prevlabel.gif) no-repeat 0% 30%;
	background-position: left 30%;
}

.header,
.footer,
section {
    margin: 0 auto;
    text-align: left;
}

section {
	height: 100%;
}

.header{
    background-color: #333;
    padding: .25em 0;
    text-align: center;
    height: 2.8em;
    padding: 0;
    border-bottom: 2px solid #000;
    border-top: 2px solid #000;
}


.header > h1 {
    font-size: 1.2em;
    margin: 0 0 -.25em 0;
    text-align: left;
    text-transform: uppercase;
}
.header > h1 > a {
    color: white;
    display: block;
    font-weight: normal;
    overflow: none;
    padding: .25em .5em;
    position: absolute;
    text-transform: uppercase;
    white-space: nowrap;
}
.header > h1 > a:active,
.header > h1 > a:hover,
.header > h1 > a:visited {
    color: #fff;
    text-shadow: #000 0 1px 0;
}
.header > p {
    margin: 0;
    padding: 0;
    position: absolute;
    right: .625em;
    top: 10px;
}
.header > p > a {
    background-color: #777;
    border-radius: .25em;
    color: white;
    display: block;
    font-size: 80%;
    line-height: 2em;
    padding: .2em 1em;
    text-decoration: none;
    text-transform: uppercase;
}

.header .nav {
    display: none;
}

.footer {
    padding: .25em 0;
    text-align: center;
}

.footer > .nav > li {
    display: inline-block;
    width: 48%;
}

.column {
    padding: 1em;
    position:relative;
    overflow:hidden;
    background-color: #cacaca;
    height:90%;
}

.infotext{
    text-shadow: #fff 0 1px 0;
    line-height: 1.75em;
    margin-left: 3%;
}

.sidemenu {
    display: none;
}


.nav, .nav2 {
    list-style: none;
    margin: 0;
    padding: 0;
}


.nav > li > a {
    background-color: #777;
    border-radius: .25em;
    color: #FFFFFF;
    display: block;
    font-size: 80%;
    margin: .5em .4em;
    padding: .9em;
    text-decoration: none;
    text-transform: uppercase;
}
.nav2 > li > a {
    background-color: #777;
    border-radius: .25em;
    color: #FFFFFF;
    font-size: 80%;
    margin: .5em .4em;
    padding: .9em;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    width:200px;
}

li > a:hover, li > a:active {
    background: #657383;
    box-shadow: #000 0 1px 1px;
    color: #FFFFFF;
    text-shadow: rgba(0,0,0,.5) 0 1px 0;
}




@media screen and (min-width: 1200px) {
    h2, h3 {
        text-align: left;
    }
    h3:after,
    h3:before {
        content: "";
    }

    .header > h1 > a {
        padding: .25em 1em;
    }
    .header > p {
        display: none;
    }
    .header .nav {
        display: block;
        position: absolute;
        right: 1em;
        top: 10px;
    }
    .footer {
        display: none;
    }
    .sidemenu {
        display: inline-block;
    }
    .sidemenu p,
    .sidemenu li {
	padding-left:1.5em;
	padding-top:0.9em;
        font-size: 100%;
    	line-height:1em;
	}
    .nav > li {
        display: inline-block;
    }

    .nav > li > a {
        margin: 0;
        padding: .3em 1em;
    }
    .leftpart {
        float: left;
	width: 75%;
	max-width:1200px;
	min-height:850px;
     }
}

