@charset "UTF-8";
/*
Theme Name: Ammerland
Theme URI: https://www.historisches-ammerland.de
Author: Lars Heuer
Author URI: lars-heuer.de
Description: Theme für die Seite historisches-ammerland.de
Requires at least: 4.9.6
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ammerland
Tags: 

This theme, like WordPress, is licensed under the GPL.

*/

/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/open-sans-v18-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/open-sans-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v18-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v18-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* lora-regular - latin */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lora-v16-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/lora-v16-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/lora-v16-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/lora-v16-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/lora-v16-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/lora-v16-latin-regular.svg#Lora') format('svg'); /* Legacy iOS */
}

html {
    margin-top: 0!important;
}


html, body {
    height: 99.3%;
}

body {
	font-family: Open Sans, Arial, Helvetica, sans-serif;
	background-color: #F4F7F0;
	/*background-color: #9DAEC5;*/
	margin: 0;
	color: #0D1C51;
}


/* Color Theme Swatches in Hex */
.Westwood-Library-1-hex { color: #DBA000; }
.Westwood-Library-2-hex { color: #0D1C51; }
.Westwood-Library-3-hex { color: #F4F7F0; }
.Westwood-Library-4-hex { color: #9DAEC5; }
.Westwood-Library-5-hex { color: #4B6590; }


a {
	color: #56565A;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

#wrapper {
	min-width: 960px;
	min-height: 100%;
	background-color: #ffffff;	
}

#header {
	height: 200px;
	display: grid;
	grid-template-columns: 25% 75%;
	font-family: Lora, Times New Roman, serif;
	background-color: #962d3e;
	color: #fff;
	/*border-bottom: 20px solid #979c9c;*/
}

#logo {
	margin: 1.4em 1em 1em 4em;
	
	
}

#logo img {
	/*width: 180px;
	display: none;*/
}

#header #header-right {
	margin-top: 1.6em;
}

#header #header-right h1 {
	margin-right: 2em;
	font-weight: 400;
	font-size: 2.4em;
}

#header #header-right h2 {
	margin-top: -1em;
	font-weight: 400;
	font-size: 1.2em;
	color: #f2ebc7;
}

#search-form {
	float: right;
	margin-right: 1.1em;
	margin-top: 0;
}

#main {
	display: grid;
	grid-template-columns: 25% 75%;
	font-family: Open Sans, Arial, Helvetica, sans-serif;
	margin-top: 2em;
}

#menu ul {
	margin-top: 5em;
	margin-right: 2em;
	width: 76%;
	margin-left: 0;
	padding-left: 0;
}

#menu ul li {
	list-style-type: none;
	border-bottom: 1px solid #9DAEC5;
	border-bottom: 1px solid #979c9c;
}

#menu ul li.sub {
	font-size: 0.9em;
	padding-left: 2em;
}

#menu ul li:first-child {
	border-top: 1px solid #9DAEC5;
	border-top: 1px solid #979c9c;
}

#menu ul li a {
	font-weight: 400;
	color: #4B6590;
	display: block;
	padding-bottom: 0.7em;
	padding-top: 0.7em;
	padding-left: 1em;
}

#menu ul li.sub a {
	padding-bottom: 0.4em;
	padding-top: 0.4em;
}

#menu ul li.current_page_item > a, #menu ul li.current-menu-item > a, #menu ul li.current_page_ancestor > a {
	/*background-color: #343642;*/

	font-weight: 600;
}

#menu ul li a:hover {
	/*background-color: #343642;*/
	background-color: #962d3e!important;
	color: #F4F7F0;
	text-decoration: none;
}

#menu-hauptmenue > li > a {
	/*color: red!important;*/
	font-weight: bold!important;
}

#menu-hauptmenue > li.current_page_item > a {
	background-color: #962d3e!important;
	color: #F4F7F0!important;
}


ul.sub-menu {
	display: none;
}

li.current_page_item ul.sub-menu, li.current_page_ancestor ul.sub-menu {
	display: block;
}

ul.sub-menu {
	margin-top: 0em!important;
	width: 100%!important;
}

ul.sub-menu li {
	font-size: 0.9em;
}

ul.sub-menu li:last-child {
	border-bottom: none!important;
}

ul.sub-menu li a {
	padding-left: 2em!important;
	padding-bottom: 0.4em!important;
	padding-top: 0.4em!important;
}

.entry-content figure {
	margin-left: 0;
	margin-top: 2em;
	margin-bottom: 2em;
	padding-bottom: 2em;
	border-bottom: 1px solid #ccc;
	max-width: 670px;
}

.entry-content figure img {
	max-width: 670px!important;
}

#content {
	margin-right: 8em;
	margin-bottom: 3em;
}

#content h2 {
	font-family: Lora, Times New Roman, serif;
	color: #0D1C51;
	font-weight: 400;
}

#content h3 {
	font-family: Lora, Times New Roman, serif;
	color: #0D1C51;
	font-weight: 400;
	margin-top: 2em;
	margin-bottom: 0em;
	font-size: 1.25em;
}

#content p {
	line-height: 1.6em;
}

#content a {
	font-weight: 600;
	color: #4B6590;
}



#content ul, .itemlist, .itemlist2 {
	padding-left: 1.2em;
	margin-top: 1.7em;
}

#content ul, .itemlist {
	margin-top: 1.7em;
}

.itemlist2 {
	margin-top: 0.8em;
}

#content ul, .linklist, .itemlist, .itemlist2 {
	padding-left: 0em;
}

#content ul li, .linklist li, .itemlist li, .itemlist2 li {
	padding-left: 1.4em;
	list-style-type: none;
	color: #0D1C51;
	
	background-image: url(images/link_arrow.png);
	background-repeat: no-repeat;
	background-size: 15px 11px;
	background-position: 2px 6px;
}

.itemlist li {
	margin-bottom: 0.6em;
}

.itemlist2 li {
	margin-bottom: 0.3em;
}

.itemlist2 li a {
	font-weight: 300!important;
}

.contact-info {
	margin-top: 0.6em;
}

.contact-info .function {
	margin-bottom: 0.2em;
	font-weight: 600;
}

.contact-info .contact-section {
	margin-top: 0.3em;
}

.list-row {
	margin-top: 0.2em;
}

#footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1.8em;
	background-color: #4B6590;
	background-color: #962d3e;
	color: #F4F7F0;	
	
}

#footer #footer-content {
	padding-left: 2em;
	padding-top: 0.3em;
	font-size: 0.9em;
	width: 60%;
	min-width: 800px;
	margin-left: 20%;
	margin-right: 20%;
	text-align: center;
}

#footer a {
	color: #F4F7F0;	
}

.entry-footer {
	font-size: 0.9em;
}

.entry-footer a {
	
}

.byline svg, .posted-on svg {
    position: relative;
    top: 0.2em;
    margin-right: 0.4em;
}

.byline svg, .posted-on svg, .comments-link svg, .edit-link svg {
    position: relative;
    top: 0.2em;
    margin-right: 0.4em;
}

.byline .author {
	padding-left: 0.4em;
	padding-right: 0.8em;
}

.cat-links {
	display: block;	
}

.cat-links .screen-reader-text {
	padding-left: 1.55em;
	padding-right: 0.4em;
}

.comments-link {
	display: block;
	margin-top: 0.6em;
	
	display: none;
}

.edit-link {
	display: block;
	margin-top: 0.2em;
}

article.post {
	margin-bottom: 2em;
	padding-bottom: 2em;
	border-bottom: 1px solid #4b6590;
}

article.post:last-child {
	border-bottom: 0!important;
}

.page-single-post-footer {
	margin-top: 3em;
}

.wpdm-download-link {
	color: #ffffff!important;
	font-weight: normal!important;
}

h3.package-title {
    margin-top: 0!important;
    font-family: Open Sans!important;
    font-size: 1.1em!important;
}

.w3eden h1 {
	font-size: 1.4em!important;
}

#menu-item-111 {
	display: none;
}

/* Gallery styles */

.ngg-imagebrowser {
	margin-left: 0;
	border: 1px solid #979c9c;
}

.ngg-imagebrowser h3 {
	/*text-align: left!important;
	position: relative;
	left: -20px;*/
}

.ngg-imagebrowser-nav  {
	padding-left: 0!important;
	padding-right: 0!important;
}

.ngg-imagebrowser-nav .back {
	/*float: left!important;*/
	background-color: #979c9c!important;
}

.ngg-imagebrowser-nav .next {
	/*float: right!important;*/
	background-color: #979c9c!important;
}

.ngg-imagebrowser-nav .counter {
	color: #4b6590!important;
	font-size: 14px!important;
}

.ngg-simplelightbox img {
	max-height: 700px!important;
	border: 1px solid #979c9c;
}

#slideshow .ngg-slideshow {
	margin: 0px 0 0 0!important;
	margin-left: -68px !important;
}

.ngg-gallery-slideshow-image {

}

#slideshow .ngg-slideshow img {
	max-height: 200px!important;
	vertical-align: top;
	text-align: left;
	/*min-width: 390px;*/
}

#slideshow .slick-list {
	height: 200px;
}

#search-form .screen-reader-text {
	display: none;
}

img.alignleft {
	float: left;
	margin-top: 0.5em;
	margin-right: 1.5em;
	margin-bottom: 1em;
	border: 1px solid #979c9c;
}

img.alignright {
	float: right;
	margin-top: 0.5em;
	margin-left: 1.5em;
	margin-bottom: 1em;
	border: 1px solid #979c9c;
}



@media only screen and (max-width: 880px) {	
	body {
		background-color: #fff;
	}
	
	#wrapper {
		margin: 0;
		min-width: 200px;
		width: 100%;
		border-radius: 0;
		margin-bottom: 8em;
	}
	
	#header{
		display: block;
		text-align: center;
		height: 80px;
		background-color: #d40000;
		color: #F4F7F0;
		border-bottom: 0;
	}
	
	
	
	#search-form, #slideshow {
		display: none!important;
	}
	
	#logo {
		display: none;
	}
	
	#logo img {
		width: 120px;
	}
	
	#header h1 {
		font-size: 1.2em!important;
		margin: 0em 1em 0.5em 1em;
		padding-top: 0.7em;
	}
	
	#header h2 {
		font-size: 1em!important;
		margin: 0em 1em 0.5em 1em;
		padding-top: 0.7em;
	}
	
	#main  {
		display: block;
	}
	
	#menu {
		margin-top: -5em;
	}
	
	#menu ul {
		width: 100%;
	}
	
	#content {
		width: 90%;
		margin-left: 1em;
		margin-right: 1em;

	}
	
	#content p {
		font-size: 0.9em;
		text-align: justify;
	}
	
	#content li {
		font-size: 0.9em;
	}
	
	#content h2 {
		font-size: 1.2em;
		margin-bottom: -0.2em;
		margin-top: 2em;
	}
	
	#footer {
		display: none;
	}
}