/*
Theme Name: Sackmühle
Description: Theme for sackmuehle.de by Torsten Kelsch
Version: 3.4 (2021)
Author: Torsten Kelsch
Author URI: https://www.torstenkelsch.de/
Tags: orange, brown, 1970ies, no sidebar, web fonts, responsive
*/

/* @license
 * MyFonts Webfont Build ID 1345234, 2011-10-09T09:47:01-0400
 *
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are
 * explicitly restricted from using the Licensed Webfonts(s).
 *
 * You may obtain a valid license at the URLs below.
 *
 * Webfont: Knuckle Down by Larabie
 * URL: http://www.myfonts.com/fonts/larabie/knuckle-down/knuckle-down/
 * Copyright: (c) 1999 Ray Larabie. See attached license agreement for more information.
 * If EULA is missing, visit www.larabiefonts.com for an updated version of this font.
 * Licensed pageviews: unlimited
 *
 *
 * License: http://www.myfonts.com/viewlicense?type=web&buildid=1345234
 *
 * © 2011 Bitstream Inc
*/
@font-face {
	font-family: 'KnuckleDown-Regular';
	src: url('webfonts/1486D2_0.woff') format('woff');
}

/* 
Copyright 2015 Google Inc. All Rights Reserved.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
*/
@font-face {
    font-family: 'caveatregular';
    src: url('webfonts/caveat-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'caveat_brushregular';
    src: url('webfonts/caveatbrush-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'caveatbold';
    src: url('webfonts/caveat-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* 
SIL Open Font License v1.10
This license can also be found at this permalink: https://www.fontsquirrel.com/license/liberation-mono
*/
@font-face {
    font-family: 'liberation_monoregular';
    src: url('webfonts/LiberationMono-Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* 
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL 
*/
@font-face {
    font-family: 'cadmanregular';
    src: url('webfonts/Cadman_Roman.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'cadmanitalic';
    src: url('webfonts/Cadman_Italic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'cadmanbold';
    src: url('webfonts/Cadman_Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'cadmanbold_italic';
    src: url('webfonts/Cadman_BoldItalic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/*----COLORS----*/
/*
#440000 rgb(68,0,0)
#bf4c00 rgb(191,76,0)
#dddddd rgb(221,221,221)
#f8f8f8 rgb(248,248,248)
#ff6600 rgb(255,102,0)
#fff5ef rgb(255,245,239)
#fffcfa rgb(255,252,250)
#ffffff rgb(255,255,255)
*/

/*----VARIABLES----*/
:root {
  --regular: 'cadmanregular';
  --italic: 'cadmanitalic';
  --bold: 'cadmanbold';
  --bolditalic: 'cadmanbold_italic';
}

/*----BASIS----*/
html, body {
	margin: 0;
	padding: 0;
}
body {
	background: #400 url(images/bg2012.png) top center repeat fixed;
	color: #400;
	font-family: var(--regular);
	font-size: 1.1rem;
	line-height: 1.4;
}
article, aside, footer, header, hgroup, main, nav, section {
	display: block;
}

/*----HYPERLINKS----*/
/* Best order:
a:link
a:visited
a:hover
a:focus
a:active
*/
a {
	color: #f60;
	text-decoration: underline;
}
a:hover {
	color: #bf4c00;
}

/*
------------------------------------------------------------------------------------------
Mobile first
------------------------------------------------------------------------------------------
*/

/*----WRAPPER----*/
.wrapper {
	background-color: white;
	border: solid 4px #f60;
	margin: 0 auto;
	padding: 0;
	width: 100%;
}

/*----HEADER----*/
header.main-header {
	background: #400 url('images/sackmuehle.png') no-repeat bottom left;
	color: #f60;
	height: 90px;
	margin: 0 auto;
}
header.main-header .description {
	text-align: center;
}
header.main-header .titel {
	font-family: KnuckleDown-Regular;
	font-style: normal;
	font-size: 10vmax;
	font-size: 6vmin;
	
	font-weight: normal;
	line-height: 85%;
	padding-top: 16px;
	text-align: center;
}
header.main-header a {
	text-decoration: none;
}
header {
	background: none;
	color: #400;
	height: auto;
	margin: auto;
	max-width: 100%;
}

/*----NAVIGATION----*/
.top-menu {
	background: #f61;
	clear: both;
	font-family: var(--regular);
	margin: 0;
}
.top-menu a {
	color: #fff;
	padding-left: 16px;
	text-decoration: none;
}
.top-menu a:hover {
	text-decoration: underline;
}
.top-menu ul {
	margin: 0 auto;
	padding: 8px 0 6px 0;
	text-align: left;
}
.top-menu ul li {
	display: inline;
}
.navigation {
	display: block;
	margin: 16px 0 24px 0;
	overflow: hidden;
}
.current,
.current_page_item {
	font-family: var(--bold);
}

/*----ARTICLE----*/
/* article {
	border-bottom: 1px solid #f60;
	border-bottom:before
	padding-bottom: 32px;
} */

.line {
	background-color: #ff6611;
	/* background-color: #faf1eb; */
	height: 1px;
	/* height: 2px; */
	margin: 32px auto auto auto;	
	width: 100%;
}

/*----CONTENT----*/
.content {
	background-color: white;
	box-sizing: border-box;
	margin: 0;
	padding: 0 24px 32px 24px;
	width: 100%;
}

/*----ASIDE----*/
aside {
	background-color: #fff5ef;
	border-bottom: 2px solid #f60;
	box-sizing: border-box;
	font-size: 14px;
	line-height: 130%;
	padding: 4px 24px 0 24px;
}
aside li img {
	vertical-align: middle;
}

/*----FOOTER----*/
footer {
	background: #f61;
	border-top: solid 20px #400;
	box-sizing: border-box;
	clear: both;
	color: #fff;
	margin: 0 auto;
	padding: 16px 24px;
	width: 100%;
}
footer a {
	color: #fff;
	text-decoration: underline;
}
footer ul {
	list-style: none;
	padding-left: 0;
}
.textanzeige {
	border: solid 1px #fff; 
	line-height: 135%; 
	margin: -8px auto 0 auto; 
	max-width: 450px;
	padding: 8px; 
	position: relative; 
	text-align: left; 
}
.textanzeige span {
	font-family: var(--bold);
}

/*----TABLES----*/
caption {
	font-family: 'cadmanbold';
}
td {
  vertical-align: top;
}
td.rechtsbuendig {
	text-align: right;
}

/*----TEXT FORMATTING----*/
p {
	hyphens: auto;
	margin: 0.85rem 0;
}
.nohyphens {
    hyphens: none;
}

b, strong,
.bold, .fett {
	font-family: var(--bold);
	font-weight: normal;
}
.ultra {
	font-family: var(--bolditalic);
	font-weight: normal;
}
i, em, 
.kursiv, .italic {
	font-family: var(--italic);
	font-style: normal;
}
.big {
	font-size: 2rem;
	line-height: 120%;
}
.bigger {
	font-size: 3rem;
	line-height: 120%;
}
.biggest {
	font-size: 4rem;
	line-height: 120%;
}
.entry small, 
.entry .small,
picture + small,
picture + .small {
	display: block;
	font-size: 0.85rem;
	line-height: 120%;
	padding: 8px 0 0 0;
}
.bildzeitung {
	color: #f00;
	font-size: 64px;
	line-height: 100%;
}
.handschrift {
	color: #3535B9;
	font-family: 'caveatregular';
	font-size: 1.5rem;
	line-height: 120%;
}
.laufweite {
	color: #919191;
	letter-spacing: 2px;
}
.rot {
	color: #f00;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--bold);
	font-weight: normal;
}
h1 {
	font-size: 1.5rem;
	line-height: 120%;
	margin: 30px 0 0 0;
}
header h1 {
	margin: 0;
}
h1 a, h1 a:hover, h1 a:visited,
h2 a, h2 a:hover, h2 a:visited, 
h3 a, h3 a:hover, h3 a:visited {
	text-decoration: none;
}
h2 {
	font-size: 1.3rem;
	line-height: 135%;
	margin: 32px 0 0 0;
}
h2.pagetitle {
	margin-top: 32px;
	text-align: center;
}
.post h2 a {
	color:#f60;
}
h3 {
	font-size: 1.2rem;
	padding: 0;
	margin: 32px 0 0;
}
aside h3 {
	font-size: 16px;
	margin: 0;
}
h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
}
code, 
kbd {
	background-color: #faf1eb;
	display: inline-block;
	font-family: 'liberation_monoregular', monospace;
	font-size: 16px;
	padding: 4px 8px;
}
span.einrueckung {
	display: inline-block;
	text-indent: 1.5rem;
}
.border,
.rahmen {
	border: 1px dashed #400;
	padding: 8px;  
}
.hg-gelb {
	background-color: #fdffcc;
	margin: 16px auto;
	padding: 16px;	
}
.hg-orange {
	background-color: #ffddcc;
	margin: 16px auto;
	padding: 16px;	
}
.mighty {
	font-size: 72px;
	line-height: 72px; 
}
.schaltflaeche {
	border: 1px solid #400;
	padding: 0 4px;
}
.wsnw {
	white-space: nowrap;
}
.unterstrichen,
.underline {
	text-decoration: underline;
}

/* Structure */
.clear {
	clear: both;
}
.post {
	margin: 0 0 48px 0;
}
.post hr {
	background: #440;
	border: 0;
	color: #440;
	display: block;
	height: 1px;
	margin: 16px 0;	
}
.postmetadata,
.postmeta {
	border-top: 4px solid #FFF5EF;
	border-bottom: 4px solid #FFF5EF;
	font-size: 0.85rem;
	line-height: 135%;
	margin: 1.5rem 0;
	padding: 0.5rem 0;
}
.postmeta {
	border: 0;
	padding: 0;	
}

/* Images */
picture {
	display: inline-block;
	margin-top: 16px;
}
img,
source {
	box-sizing: border-box;
	color: #400;
}
ul.favicons li ul li a img {
	height: 16px;
	width: 16px;
}
img,
p img,
picture img,
source {
	height: auto;
	padding: 8px 0;
	max-width: 100%;
}
a img {
	border: none;
}
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}
img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}
.alignright {
	float: right;
}
.alignleft {
	float: left;
}
figure,
figure img  {
	box-sizing: border-box;
	display: inline-table;
	margin: auto 0;
	padding: 8px 0;
	max-width: 100%;
}
figcaption {
	font-size: 0.85rem;
	line-height: 120%;
}

/* Video */
video {
	border: 1px solid #ff6611;
	height: auto;
	max-width: 100%;
}

/* Lists */
li {
	hyphens: auto;
}
aside ul {
	margin-left: 0;
	padding-left: 0;
}
aside li {
	list-style: none;
}
.entry ol,
.entry ul {
	margin: 8px 0;
} 
.entry li {
	margin-left: 0;
}
.postmetadata ul,
.postmetadata li {
	display: inline;
	list-style: none;
}
ul.nobullets {
	margin: 0;
	padding: 0;
}
ul.nobullets li {
	list-style: none;
}
ul.links {
	margin: 0;
	padding: 0;
}
ul.links li {
	border-bottom: 2px solid #FAF1EB;
	list-style: none;
	margin-left: 0;
	padding 4px 0;
}
ul.links li a {
	color: #f60;
	text-decoration: none;
}
ul.links li img {
	margin-bottom: 4px;
	vertical-align: middle;
}
li.recentcomments {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;	
	white-space: nowrap;
	width: 100%;
	word-wrap: break-word;
}

/* Form Elements */
label {
	display: block;
}
input, 
select, 
textarea {
	font-family: var(--regular);
	font-size: 1rem;
}
input[type="submit"],
input[type="button"] {
	background-color: #400;
	border-radius: 5px;
	color: white;
	cursor: pointer;
	margin-top: 8px;
	padding: 4px 8px;
}
input[type="submit"] a,
input[type="button"] a {
	color: white;
}
input[type="text"] {
	border: dotted 1px #BF4C00;
	margin: 5px 5px 1px 0;
	max-width: 480px;	
	padding: 2px;
	width: 99%;
}
textarea {
	max-width: 480px;
	min-height: 160px;
	width: 99%;
}
input[type="checkbox"] {
	margin: 0;
	padding: 0;
	width: 24px;
}
#s {
	padding: 2px;
	width: auto;
}
#submit {
	margin: 32px 0 0 0;
	padding: 6px 12px 4px 12px;
	position: absolute;
	width: auto;
}

/* Comments*/
.commentlist {
	padding: 0;
}
.commentlist li {
	border: dotted 1px #BF4C00;
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
}
.commentlist p {
	margin: 10px 5px 10px 0;
}
#commentform {
	padding-bottom: 4rem;
}
.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
}
.commentmetadata {
	margin: 0;
	display: block;
}
.twitlink { 
  background-color: #FFFCFA;
  border: 1px solid #bf4c00;
  margin: 5px 0;
  padding: 5px;
  width: 50%;
}
li.alt {
	background-color: #FFFCFA;
}
.commentlist li.bypostauthor,
.commentlist li.comment-author-admin {
	background-color: #FAF1EB;
}

/* Various Tags & Classes */
abbr, span.caps {
	cursor: help;
}
abbr {
	border-bottom: 1px dashed #999;
}
blockquote {
	border-left: 8px solid #fff5ef;
	display: block;
	font-family: var(--italic);
	font-style: normal;
	margin: 16px 0;
	padding-left: 16px;
}
blockquote.quellenangabe {
	margin-bottom: 8px;
}
blockquote.quellenangabe > p {
	margin-bottom: 4px;
}
blockquote.quellenangabe + p {
	font-size: 14px;
	margin-top: 0;
}
blockquote.quellenangabe + p + p:nth-of-type(2) {
	margin-top: 24px;
}
blockquote cite {
	margin: 4px 0 0 0;
}
.center {
	text-align: center;
}
hr {
	display: none;
}
hr.abstand {
	background-color: #f8efe7;
	border: 0;
	color: #bf4c00;	
	display: block;
	height: 1px;
	margin-bottom: 20px;
}

/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*----INDIE WEB----*/
.response {
    background-color: #F9F9EF;
	border: 0;
    margin: 16px 0;
    padding: 8px;
    font-size: inherit;
}

/*
--------------------------------------------------------------------------------
Desktop
--------------------------------------------------------------------------------
*/

@media only screen and (min-width: 760px) {
	.wrapper,
	header,
	.top-menu,
	footer {
		width: 728px;
	}
	header.main-header .titel {
		font-size: 60px;
		font-size: 3vw;
	}
}