/*!
Theme Name: Stahncke 2026
Theme URI: http://underscores.me/
Author: MM-WEBSOLUTIONS.COM - Martin Mueller
Author URI: https://www.mm-websolutions.com
Description: Stahncke Basic Theme 2026
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hsta
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Stahncke 2026 is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

html, body, body div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {margin:0; padding:0; border:0; font-size:100%; vertical-align:baseline; background:transparent}

article,aside,details,figcaption,figure, footer,header,hgroup,menu,nav,section {display:block}

@font-face {font-family:'fonts/AverageSans-Regular'; src:url('fonts/AverageSans-Regular.eot'); src:local('☺'), url('fonts/AverageSans-Regular.woff') format('woff'), url('fonts/AverageSans-Regular.ttf') format('truetype'), url('fonts/AverageSans-Regular.svg') format('svg'); font-weight:normal; font-style:normal;}

body {line-height:1.5em; -webkit-text-size-adjust:100%; -ms-text-size-adjust:none; font-family:'fonts/AverageSans-Regular', Arial, Tahoma, sans-serif}
html {height:100%; overflow:inherit}
body {height:100%; overflow:inherit}
img {max-width:100%; -ms-interpolation-mode:bicubic; display:inline}
a {margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; text-decoration:none}
a:hover {text-decoration:none}
h1, h2, h3, h4, h5, h6 {font-weight:400;font-variant:small-caps; line-height:1.2em}

.site {height: 100%}
.outer {min-height:100%; margin:0 auto; width:100%; background:#fff}
.holder {margin:0 auto; min-height:100%; width:100%; max-width:1280px}
.innercontent {position:absolute; top:0; left:0; right:0; margin:0 auto; min-height:100%; width:100%; max-width:1280px}
.preload {display:none !important}
.headerback {margin:0 0 1em 0; padding:1em 1em 1em 1.5em}
.maincontentholder {padding:1em 0}

a.red, #main a {color:#f41114}
a.red:hover, #main a:hover {color:#f41114}
a.black, #main a.black {color:#000}
a.black:hover, #main a.black:hover {color:#000}
header.pagehead h1, header.pagehead h2 {font-variant:normal;}
header.pagehead h1 {font-size:138%;white-space:nowrap !important}

nav {padding:0 0 0 1.5em}
.search-input {padding: 1.5em}

footer {clear:both; padding:2em 0 1em 1em}
footer p {padding:1em 0 0 0; color:#000; font-size:.875em}
footer small {float:left}

nav ul li {display:block; margin:0; padding:0; list-style:none}
nav ul li a {display:inline-block; margin:0.1em; padding:0.1em 0.3em; background:none; color:#000}
nav ul li a:hover {color:#f41114}
nav ul li.current-menu-item a {color:#f41114}
nav ul li.current-menu-item a:hover {color:#f41114}

footer ul li {display:block; margin:0; padding:0; list-style:none}
footer ul li {float:left; border-left:none}
footer ul li {display:block; margin:0; padding:0; list-style:none}
footer ul li a {display:inline-block; margin:0 0.5em; padding:0.1em 0; background:none; color:#000}
footer ul li a:hover {color:#f41114}
footer ul li.selected a, footer ul li.active a {color:#f41114}
footer ul li.selected a:hover, footer ul li.active a:hover {color:#f41114}
footer ul {float:right}

h1 {letter-spacing:.1em; margin:.2em .15em 0 .25em}
h2 {letter-spacing:.15em; margin:.8em 0 .2em .25em}
h3 {letter-spacing:.05em; margin:.25em 0 .3em 0}
h4 {letter-spacing:.05em; margin:0 0 .6em 0}
h5 {letter-spacing:.075em; margin:0 0 1.5em 0}

#main {margin:0}
#main h1 {margin:.15em .15em 0 0; font-size:180%;letter-spacing:.05em}
#main h2 {margin:.15em .15em 1em 0; font-size:140%;letter-spacing:.05em}
#main h3 {margin:.15em .15em 1em 0; font-size:130%}
#main h4 {font-size: 18px}
#main h5 {font-size: 18px}

#main h1 a, #main h1 a:hover {color:#000}

blockquote {margin:0; padding:0 0 1.75em 0}
blockquote p {font-size:1.5em; font-weight:100; line-height:1.25; color:#808080; margin:0; padding:0}

p, li, td {-moz-hyphens: auto; -o-hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; hyphens: auto}
p, li  {font-size:.92em; padding:0 0 1em 0;}
td  {font-size:.92em}
table {padding:0 0 1em 0}
small {font-size:0.78em; padding:0 0 1.25em 0; color:#555}

header.pagehead p {padding:0 0 0 .3em; font-size:.7em}
.maincontentholder {clear:both; display:block; margin:1em 0}
.maincontent {clear:both; display:block; margin:0 0 1em 0; padding:0}
.maincontent img {max-width: 412px; height:auto; margin-top:.15em}
.maincontent ol, .maincontent ul {padding:0 0 1em 0}
.maincontent ol li, .maincontent ul li {margin-left:24px; padding:0 8px}
.divider {clear:both; width:100%; display: block; height: 1em; margin: .5em 0 1em 0;border-bottom:1px dashed #ccc}

.tvsblog_entry, .tvsblog_navblock {clear:both;}
.tvsblog_create {margin:.2em 0 1.8em 0}
.tvsblog_navblock {clear:both; padding:1.5em 0}
.tvsblog_left_navigation {float:left; width: 49%;}
.tvsblog_right_navigation {float:right; width: 49%; text-align: right;}
.blogdate {padding:0; font-size:.8em}
.blogbildlinks {float:left; margin-right:16px; margin-bottom:2px}
.blogbildlrechts {float:right; margin-left:16px; margin-bottom:2px}
.tvsblog_entry img {max-width:100%; height:auto}
.search-input input[type="search"] {width:100%; max-width: 270px}
.search-input input[type="submit"] {display: none}

@media \0screen {
.tvsblog_entry img {
  	width:auto; /* for ie 8 */
  }
}


nav ul li a {background:#ccc}
nav ul li {display:inline; font-size:.9em; padding:0 0 .5em 0}
footer ul li {display:inline; font-size:.8em; padding:0 0 .5em 0}

#main {padding:1em; border-left:1px solid #ff0000}

blockquote footer {margin:0; padding:0}

div.image.float.left  {float:left; margin:3px 15px 5px 0}
div.image.float.right {float:right; margin:3px 0 5px 15px;}
div.clearer {clear:both}


/** Media Queries */

@-ms-viewport {
	width: device-width;
}


/* big screens > 1281px */

@media only screen and (min-width:1281px) {

header.pagehead {position:absolute; top:0; width:275px; text-align:center; min-height:100%}
header.pagehead nav, header.pagehead .search-input {text-align:left}

nav ul {padding-top:1em}
nav ul li {margin:0; padding:0}
nav ul li {font-size:.82em; text-transform:uppercase}
footer ul li {font-size:.7em; text-transform:uppercase}
nav ul li a, ul.rex-nav2 li a {display:block; background:none}

#main {float:right; margin:0 0 0 305px; padding:0 2em}

}
 
/* normal screens */

@media screen and (min-width:1024px) and (max-width:1280px) {

header.pagehead {position:absolute; top:0; width:275px; text-align:center; min-height:100%}
header.pagehead nav, header.pagehead .search-input {text-align:left}

nav ul {padding-top:1em}
nav ul li {margin:0; padding:0}
nav ul li {font-size:.82em; text-transform:uppercase}
nav ul li a {display:block; background:none}

footer ul li {font-size:.7em; text-transform:uppercase}
footer ul li a {display:block; background:none}

#main {float:right; margin:0 0 0 305px; padding:0 2em}

}


/* screens < 1024px */

@media screen and (min-width:768px) and (max-width:1023px) {

header.pagehead {position:absolute; top:0; width:275px; text-align:center; min-height:100%}
header.pagehead nav, header.pagehead .search-input {text-align:left}

nav ul {padding-top:1em}
nav ul li {margin:0; padding:0}
nav ul li {font-size:.82em; text-transform:uppercase}
nav ul li a {display:block; background:none}

footer ul li {font-size:.7em; text-transform:uppercase}
footer ul li a {display:block; background:none}

#main {float:right; margin:0 0 0 305px; max-width:638px; padding:0 2em}
.tvsblog_entry img {max-width: 210px}

}

/* small screens < 960px */

@media screen and (max-width: 1023px) {

.blogbildlinks, .blogbildlrechts {float:none !important;display: block; padding: .175em 0 8px;}

}

/* small screens < 767px */

@media screen and (max-width:767px) {

#main {float:none; border-left:none}
nav {padding:0 0 0 1em}
.search-input {padding:1em}

}


/* small screens < 479px */

@media screen and (max-width:479px) {

.blogbildlinks, .blogbildlrechts {float:none; display:block; margin-bottom:8px}
#main h1 {font-size:160%;}
#main h2 {font-size:120%;}
#main h3 {font-size:110%;} 

}

/* Adjustments 2026 */

*:focus {outline: none;}
.outer {display: flex; max-width: 1280px;}
header.pagehead {position:relative}
.innercontent {position:unset; top:unset; left:unset; right:unset; display: flex; flex-direction: column; height: 100%;}
main {display: flex; flex-direction: column;}
#main {display: flex; flex-direction: column; align-items: stretch; width: 100%; height: 100%; padding: 0}
.maincontentholder {flex: 1; padding: 2em 1em 0}
input[type="text"], input[type="checkbox"], input[type="radio"], textarea {display: block}
input[type="search"] {border: 1px solid #000; min-height: 39px; border-radius: 0; margin: 0; padding: 6px 8px}
input[type="submit"]:not(.btn) {border: none}
input[type="submit"], input[type="submit"].btn {min-height: 39px; color: #fff; background-color: #ccc; border-color: #000; border-radius: 0; padding: .475rem 1rem}
footer {padding: 2em 1em 0}
.search-results #main .entry-header h1 {font-size: 100%}
.search-results #main a h2 {display: none}
.post-list {list-style-type: none;}
.hide-m {font-size: .92em; height: 1.5em; padding: 0 0 1em 0;}
#nav-below {padding:1.5em 0}
#main h1.nosec {margin-bottom: 1em}
.post-inner-nav {width:100%; min-height:46px}
.post-inner-nav .prev-post, .post-inner-nav .next-post {max-width:49%; padding: 8px 6px}
.post-inner-nav .prev-post {float:right;}
.post-inner-nav .next-post {float:left}

@media only screen and (min-width: 768px) {
header.pagehead {margin: 0 30px 24px 0; height:100%}
.innercontent {flex-direction: row}
#main {float: none;margin: 0;}
.maincontentholder {padding: 1em 2em}
}

@media only screen and (min-width: 1280px) {
header.pagehead {margin: 0 46px 24px 0}
}

@media (max-width: 1140px) {
.hide-m {display: none}
}

@media (max-width: 579px) {
.search-form label,.search-submit {width: 100%;display: block}
.post-inner-nav {font-size:82%;}
}

/* Fix for Admin bar */

html:has(.admin-bar) {height: calc(100% - 32px);

/* print */

@media print {

body, header {background:none #fff}

h1 {font-size:20pt; text-transform:uppercase; letter-spacing:.25em}
h2 {font-weight:100; font-size:20pt; padding:.25em 0 .5em 0}
h3, h4 {font-weight:100; font-size:20pt; padding:0 0 1em 0}
p, blockquote p {color:#000; font-size:10pt; font-weight:100}
small {font-size:10pt}
nav ul li {padding:0; display:block !important}

.hide , nav, .search-input, .printnot {display:none !important}

header, footer, #main {background:none; border:none; margin:0; padding:0}
header {padding:0 0 1em 0}
footer {padding:2em 0 0 0}
footer ul {display: none !important}
a:link {text-decoration:none; color:#000}
a:visited {text-decoration:none; color:#000}
a:focus {text-decoration:none; color:#000}
a:hover {text-decoration:none; color:#000}
a:active {text-decoration:none; color:#000}

}