/*
Theme Name: Gastropraxis Harlaching
Theme URI: https://gastropraxis-harlaching.de/
Description: Originalgetreuer Nachbau des Designs der Gastropraxis Harlaching als WordPress-Theme. Inklusive Ein-Klick-Import aller Seiten, Bilder, Downloads, Menü und Seitenleiste (Design → Gastropraxis Inhalte).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Author: Gastropraxis Harlaching
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gastropraxis-harlaching
*/

html {
    height: 100%;
}
body {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 80%;
    min-height: 100%;
    text-align: center;
    background: #eceded;
    color: #000;
}
input, textarea, select, button {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 1em;
    color: #000;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, form, fieldset, legend, iframe {
    margin: 0;
    padding: 0;
    line-height: 1.5em;
}
img {
    border: 0;
}
a {
    text-decoration: none;
    color: #8c4c4a;
}
a:hover {
    text-decoration: underline;
}
strong, b {
    font-weight: 600;
}
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* MCE */
h1, h2, h3, h4, h5, h6, p, ul, ol {
    margin: 0.5em 0;
}
h1 {
    font-size: 1.3em;
    font-weight: 600;
}
h2 {
    font-size: 1.1em;
    font-weight: 600;
}
h3, h4, h5 {
    font-size: 1em;
    font-weight: 600;
}
p {
    margin: 1em 0 1em 0;
}
ul {
    padding: 0 0 0 1.4em;
    list-style-type: square;
}
.uppercase {
    text-transform: uppercase;
    font-size: 0.95em;
}
.brown {
    color: #8c4c4a;
}

/* CONTAINER */
#container {
    position: relative;
    width: 910px;
    min-height: 100%;
    margin: 0 auto;
    background: transparent url(assets/img/container-background.png) repeat-y 0 0;
    padding: 0 30px;
    text-align: left;
    overflow: hidden;
}
#header {
    position: relative;
    width: 640px;
    height: 400px;
    background: #fff;
    padding: 100px 0 0 0;
}
#logo {
    position: absolute;
    top: 40px;
    left: 0;
    width: 640px;
    height: 51px;
    z-index: 100;
}
#headline {
    position: absolute;
    bottom: 43px;
    left: 0;
    width: 640px;
    height: 32px;
    z-index: 100;
}
/* Headline als Text (für neue Seiten ohne eigene Headline-Grafik) */
#headline.headline-text {
    display: block;
    box-sizing: border-box;
    background: transparent url(assets/img/headline-blank.png) no-repeat 0 0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 0 0 0 24px;
    white-space: nowrap;
    overflow: hidden;
}
a:hover #headline.headline-text,
a #headline.headline-text {
    text-decoration: none;
}

/* DECO */
#deco-footer {
    position: absolute;
    bottom: 0;
    width: 640px;
    height: 40px;
    background: #c2c2c2;
}
#upper-edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 910px;
    height: 30px;
    z-index: 1;
}
#lower-edge {
    clear: both;
    width: 910px;
    height: 30px;
}
#section {
    width: 870px;
    text-align: left;
}
#article {
    position: relative;
    width: 640px;
    float: left;
    background: #fff;
    padding-bottom: 40px;
}
#aside {
    position: relative;
    float: left;
    width: 220px;
    padding: 0 0 0 10px;
    margin-top: -40px;
}

/* NAVIGATION */
#nav {
    position: absolute;
    bottom: 5px;
    font-size: 0.9em;
    text-transform: uppercase;
    padding: 0 30px;
    z-index: 100;
}
#nav ul {
    margin: 0;
    padding: 0;
}
#nav a:hover {
    text-decoration: none;
}
/* MAIN NAV */
#main-nav {
    width: 580px;
    background: transparent url(assets/img/nav-lines.png) no-repeat 0 0;
}
#nav li {
    float: left;
    list-style-type: none;
    line-height: 33px;
    margin: 0 0.9em 0 0;
}
#nav a {
    color: #fff;
}
#nav .sub-menu {
    display: none;
}

/* SLIDESHOW */
#slideshow,
#staticshow {
    position: relative;
    height: 400px;
    overflow: hidden;
}
#slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}
#slideshow img.active {
    z-index: 7;
}
#slideshow img.last-active {
    z-index: 6;
}
#slideshow img,
#staticshow img {
    display: block;
    width: 640px;
    height: 400px;
    max-width: none;
}

/* TEXTBLOCK */
#article .text-block {
    padding: 1em 30px 1em 30px;
}
#article .negative {
    background: #5c5c5c;
    color: #fff;
}

/* TEAMBLOCK */
.team-block {
    margin: 0em 0 2em 30px;
}
.team-item {
    margin: 0;
    padding: 0;
    border: 0;
    border-collapse: collapse;
}
.team-item td {
    padding: 0;
}
.team-image {
    width: 200px;
    vertical-align: top;
    padding: 0 0 0 0;
}
.team-image img {
    max-width: 180px;
    height: auto;
}
.team-detail {
    width: 170px;
    vertical-align: bottom;
}
.team-detail p {
    margin-bottom: 0;
}

/* FORM */
.form-builder {
    margin: 0 30px 2em 30px;
}
.form-errors {
    margin: 0 0 2em 0;
    background: #8c4c4a;
    color: #fff;
    padding: 0.5em 1em;
}
.form-errors p {
    margin: 0;
}
.form-builder fieldset {
    position: relative;
    background: #f7f0e5;
    border: 0;
    padding: 2.5em 1em 1em 1em;
    margin-bottom: 1em;
}
.form-builder legend {
    position: absolute;
    left: 1em;
    top: 0.5em;
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 600;
}
.form-builder label {
    display: inline-block;
    float: left;
    width: 120px;
    padding: 0.4em 0 0 0;
}
.form-text input {
    width: 420px;
    border: 1px solid #fff;
    padding: 2px 5px;
}
.form-textarea textarea {
    width: 420px;
    height: 100px;
    overflow: auto;
    border: 1px solid #fff;
    padding: 2px 5px;
}
.form-required {
    font-size: 0.9em;
    padding: 0 0 0 0.2em;
    color: #8c4c4a;
}
.form-button button {
    float: right;
}

/* ASIDE */
#aside .text-block {
    padding: 0.5em 0;
}
/* neue, im Widget-Editor angelegte Blöcke ohne eigene Klasse */
#aside .widget:not(:has(> .text-block, > .team-block)) {
    padding: 0.5em 0;
}
#aside .team-block {
    margin-left: 30px;
}
#aside a {
    color: #272727;
}
#aside a:hover {
    text-decoration: underline;
}
#aside p {
    margin: 0.5em 0;
}

/* WORDPRESS-ERGÄNZUNGEN */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}
.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}
.alignright {
    float: right;
    margin: 0 0 1em 1em;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
#article img {
    max-width: 100%;
    height: auto;
}
#article .team-image img {
    max-width: 180px;
}
/* Inhalte, die im Block-Editor neu angelegt werden, bekommen denselben Innenabstand */
#article > .wp-block-group,
#article > p,
#article > h1,
#article > h2,
#article > h3,
#article > ul,
#article > ol,
#article > .wp-block-image,
#article > .wp-block-table {
    margin-left: 30px;
    margin-right: 30px;
}
