@font-face {
  font-family: 'Sorts Mill Goudy';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/SortsMillGoudy-Regular.ttf) format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

@font-face {
  font-family: 'Sorts Mill Goudy';
  font-style: italic;
  font-weight: 400;
  src: url(../fonts/SortsMillGoudy-Italic.ttf) format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

/* @font-face { font-family: 'garamont'; font-weight:300; src: url('../fonts/AppleGaramond.ttf') format('truetype'); } */
@font-face { font-family: 'openSans'; font-weight:300; src: url('../fonts/OpenSans-Regular.ttf') format('truetype'); }
/* @font-face { font-family: 'garamont'; font-weight:bold; src: url('../fonts/AppleGaramond-Bold.ttf') format('truetype'); } */
@font-face { font-family: 'openSans'; font-weight:bold; src: url('../fonts/OpenSans-Semibold.ttf') format('truetype'); }


*{
    margin:0;
    padding:0;
    font-family: 'openSans', sans-serif;
    font-size:19px;
    font-size-adjust:0.46;
    word-wrap: break-word; /*may cause problems, but solves at least a dozend */
    
}
html{
  overflow-y: scroll;   
}

h1, h2, h3, h4, h5, h6{
/*  font-family: 'Sorts Mill Goudy', serif; */
 font-family: 'openSans', sans-serif;
/*  font-size: 1.9em; */
 margin-bottom:20px;
}

/* Don't know why this is suddenly necessary … */
h1 span{
    font-size: 36px;
}
h3 span{
    font-size: 30px;
}
h3 span{
    font-size: 24px;
}

h1{
 text-align:center;
 margin-left:-24px;
 margin-right:-24px;
}

body{
    /*background: url("../images/bg.jpg");*/
    background: #c9c7af;
    background-attachment:fixed;
    background-size:cover;
    
    padding-bottom:200px;
}

.container{
    width:100%;
}

#navBox{
    margin-top: -100px;
}

.mainNav{
    background:#e9e6c4;
    padding:0;
    padding-top:20px;
    padding-bottom:20px;
}

.mainNav li{
    list-style:none;
    width:100%;
    margin:0;
}
nav{
 margin-bottom:0px !important;
}

.aligncenter{
 text-align:center;   
}

.mainNav li a{
    display:block;
    
    padding: 3px 20px;
    color:#000;
    text-decoration:none;
}

.mainNav li a:hover{
    background:#eee;
}

.mainNav .current-menu-item{
    font-weight: bold;
}

.mainNav .current-menu-item ul{
    font-weight: 300;
}

.mainNav ul ul{
    padding-left:15px;
}

.mainNav .menu-item-has-children > a:after {
   color: #444;
   font-size:14px;
   display:inline-block;
   margin-left: 7px;
   content: "▾";
}

.mainNav .current_page_ancestor > a:after, .mainNav .menu-item-has-children.current-menu-item > a:after {
   content: "▴";
}

.mainNav .menu-item-has-children ul{
    display:none;
}

.mainNav .current_page_ancestor ul,.mainNav .current-menu-item ul{
    display:block;
}

.mainNav .arrow{
    text-align:right;
}

#mobileMenWrapper{
 padding:0px;   
}

#mobileMen{
    position:absolute;
    z-index:200;
    width:100%;
    padding-left:0px;
    display:none;
}

#mobileMenToggle{
    text-align:center;
    font-weight:bold;
    padding:3px;
}

.content{
     max-width:800px;
    background: #fff;
    padding:0px;
    margin-top:40px;   
}

#headerImg{
    padding:0;
    margin:0;
}

#contentBox{
    background:#fff;
    padding:20px 25px;
    margin:0;
    min-height:400px;
}

#footerline{
    position:absolute;
    bottom:0px;
    right:20px;
    width:100%;
    
    text-align:right;
}

#siegel{
position:absolute;
top:80px;
width:70%;
z-index:100;
}

#searchform label, #searchform input[type="submit"]{
    display:none;
}

#searchform{
    padding: 10px;
}

#searchform input[type="text"]{
    width:100%;
}

strong.search-excerpt { 
background-color:yellow;
}

#contentWithPdfLink a[href$='.pdf']{ 
    background: url("../images/pdfIcon.png") no-repeat scroll 15px center / auto 40px #EEEEEE;
    border: 1px solid #AAAAAA;
    color: #000000;
    display: inline-block;
    margin-top: 5px;
    margin-right: 10px;
    min-height: 50px;
    padding: 8px 5px 5px 55px;
    text-decoration: none;
    width: 300px;
    max-width:100%;
}

@media print {
    .mainNav, #headerImg, #siegel, #footerline{
        display:none;
    }
    
    #contentBox{
        width:100%;
        margin:0;
        left:0;
    }
    *{
        font-size:14px;
    }
}

li{
 margin-left:20px;   
 list-style-type: '- ';
}   


/* == WordPress WYSIWYG Editor Styles == */

.entry-content img {
	margin: 0 0 1.5em 0;
	}
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}
.alignnone, img.alignnone {
	/* not sure about this one */
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 10px;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
	}
	
	
.gallery dl {}
.gallery dt {}
.gallery dd {}
.gallery dl a {}
.gallery dl img {}
.gallery-caption {}

.size-full {}
.size-large {}
.size-medium {}
.size-thumbnail {}
