/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 03-Sep-2016, 19:11:13
    Author     : Peter
*/
@font-face {
   font-family: Oswald; 
   src: url('fonts/Oswald-Regular.ttf');
} 
@font-face {
   font-family: Crimson; 
   src: url('fonts/CrimsonText-Regular.ttf');
} 
@font-face {
   font-family: Roboto; 
   src: url('fonts/Roboto-Regular.ttf');
} 

body {
    padding: 0;
    border: 0;
    margin: 0;
    font-family: Oswald;
    font-size: 20px;
}
.headbar {
    height: 100px;
    width: 100%;
    border-bottom-width: 5px;
    border-bottom-style: solid;
    border-bottom-color: #aaa;
    position: fixed;
    top: 0px;
    z-index: 20;
    background: #fff;
}
.headcontent {
    width: 1000px;
    display: block;
    margin-left: auto;
    margin-right: auto;    
}
.headlogo {
    float: left;
    margin-top: 20px;
    margin-bottom: 15px;
    margin-left: 15px;
}
.headlogo img {
    height: 70px;
}
.headnav {
    height: 50px;
    float: right;
    margin-top: 20px;
    margin-bottom: 25px;
    margin-right: 15px;
}
.headnav ul li {
    float: left;
    list-style: none;
    margin-left: 40px;
    font-size: 22px;
    height: 50px;
}
.headnav ul li.selected a {
    color: #999;
}
.headnav ul li a {
    text-decoration: none;
    color: #000;
}
.maincontent {
    position: absolute;
    top: 104px;
    width: 100%;
}
.centbox {
    display: block;
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.centbox p {
    margin: 0;
    padding-top: 12px;
    padding-bottom: 12px;
}


/* Responsive Styles for Header */
@media screen and (max-width: 768px) {
	
	.headbar {
		/*height: 100px;*/
		width: 100%;
		border-bottom-width: 5px;
		border-bottom-style: solid;
		border-bottom-color: #aaa;
		position: relative;
        height: auto;
		top: 0px;
		z-index: 20;
		background: #fff;
	}

    .headcontent {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .headlogo {
        float: none;
        margin: 10px auto;
        text-align: center;
    }
    .headlogo img {
        height: 50px;
    }
    .headnav {
		height: auto;
        float: none;
        text-align: center;
        margin: 10px 0;
    }
	
    .headnav ul {
        padding: 0;
    }
    .headnav ul li {
        float: none;
        display: inline-block;
        margin: 0 10px;
		font-size: 17px;
		height: 30px;
	}
    .maincontent {
        top: 80px;
    }
}