/*
Theme Name: SLRG/SSS Nautilus
Author: Reno Bertolotti (Pixelfarm GmbH) and the SLRG WordPress Team
Author URI: https://wordpress.slrg.dev
Description: This is the SLRG/SSS Nautilus Theme for sections and regions of the Swiss Lifesaving Society
Version: 1.0.5
Tested up to: 5.8
Requires at least: 5.7
Text Domain: slrg-sss-nautilus
Requires PHP: 7.3
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/*
Modified by the SLRG WordPress Team and contributors and
distributed under the terms of the GNU GPL v3 or later.

The Swiss Lifesaving Society commissioned modifications from
Pixelfarm GmbH (https://www.pixelfarm.ch) which were authored
by Reno Bertolotti and delivered under the terms of the GNU GPL.

Based on the «Naked Wordpress» Theme by Joshua Beckman
which is distributed under the terms of the GNU GPL.
*/


/* Variables
-------------------------------------------------------------- */
:root {
  --slrg-blue-color: #375b9b;
  --slrg-red-color: #c02f2e;
  --slrg-gray-color: #ececec;
  --slrg-lightblue-color: #d2ddef;
  --slrg-lightred-color: #f4d3d3;
}

/* Reset
-------------------------------------------------------------- */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

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

html {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
  font-size: 17px;
  line-height: 1.5em;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: ''; /* needed in case 'none' fails below */
  content: none; /* https://stackoverflow.com/a/6803278 */
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

code,
kbd,
tt,
var {
  font: 15px SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

sup,
sub {
  font-size: 75%;
  height: 0;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  bottom: 1ex;
}

sub {
  top: .5ex;
}

small {
  font-size: 75%;
}

big {
  font-size: 125%;
}

button,
input {
  line-height: normal;
  overflow: hidden;
}

html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  border-radius: 0;
  color: #000;
  cursor: pointer;
  padding: 4px 15px;
  margin-top: 0;
  margin-left: 10px;
  background-color: var(--slrg-gray-color);

}

html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  background-color: var(--slrg-blue-color);
  color: #fff;
}

html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
.wp-block-button:active, button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
  background-color: var(--slrg-gray-color);
  color: #000;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/*Input Search*/
input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*search block Gutenberg*/
.wp-block-search .wp-block-search__inside-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.wp-block-search__input {
  flex-grow: 0;
  margin-right: 10px;
  padding: 3px;
  appearance: none;
  color: #888888;
  border: 1px solid #dddddd;
  border-radius: 0;
  font-size: 17px;
}

#sidebar .wp-block-search .wp-block-search__button {
  background-color: var(--slrg-gray-color);
  border: none;
  margin-left: 0;
}

#sidebar .wp-block-search .wp-block-search__button:hover {
  background-color: var(--slrg-blue-color);
  color: #fff;
}

/**/

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input[type=text],
input[type=password],
input[type=email],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #888888;
  border: 1px solid #dddddd;
  border-radius: 0;
}

input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
textarea:focus {
  color: #000;
}

input[type=text],
input[type=password],
input[type=email] {
  padding: 3px;
}

textarea {
  overflow: auto;
  padding: 10px;
  vertical-align: top;
  width: calc(100% - 20px);
}

#content .wp-block-file {
  display: inline-block;
  height: 30px;
  margin-top: 10px;
}

#content .wp-block-buttons {
  display: inline-flex;
}

/* Styles
-------------------------------------------------------------- */
body,
button,
input,
select {
  padding: 0;
  margin: 0;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.5em;
}

button, .wp-block-button, .wp-block-post-excerpt__more-text {
  border: none;
  border-radius: 0;
  background-color: var(--slrg-gray-color);
  color: #000;
  cursor: pointer;
  font-size: 17px;
  padding: 0;
  display: inline-block;
  margin: 5px auto 10px;
  height: 40px;
}

.wp-block-post-excerpt__more-text {
  height: auto;
}

button a, .wp-block-button a, .wp-block-post-excerpt__more-text a {
  color: #000;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 0;
}

button :hover, .wp-block-button:hover a, .wp-block-post-excerpt__more-text:hover, .wp-block-post-excerpt__more-text:hover a {
  background-color: var(--slrg-blue-color);
  color: #fff;
}

#content .wp-block-button__link, #content .wp-block-file__button, .h-readmore .wp-block-button .wp-block-button__link {
  font-size: 17px;
  background-color: var(--slrg-gray-color);
  padding: 8px 15px;
  border-radius: 0;
  color: #000;
}

#content .is-style-outline > .wp-block-button__link, #content .wp-block-button__link.is-style-outline {
  padding: 6px 13px;
}

#content .is-style-outline > .wp-block-button__link:hover, #content .wp-block-button__link.is-style-outline:hover {
  background-color: #fff;
  color: #000;
}

#content .wp-block-button__link:hover, #content .wp-block-file__button:hover, .h-readmore .wp-block-button .wp-block-button__link:hover {
  background-color: var(--slrg-blue-color);
  color: #fff;
}

#content .wp-block-button__link:hover, #content .wp-block-file__button:hover, .h-readmore .wp-block-button .wp-block-button__link:hover {
  background-color: var(--slrg-blue-color);
  color: #fff;
}

/* Typography
-------------------------------------------------------------- */
/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--slrg-blue-color);
  font-weight: 700;
  line-height: 1.3em;
  padding-top: 0.7em;
  padding-bottom: 0.3em;
}

h6 {
  font-size: 17px;
  color: #000;
}

h5 {
  font-size: 17px;
  color: #000;
}

h4 {
  font-size: 19px;
  font-weight: 100;
  color: #000;
}

h3 {
  font-size: 24px;
  font-weight: 100;
  color: #000;
}

h2 {
  font-size: 30px;
  font-weight: 100;
  color: #000;
}

h1 {
  font-size: 36px;
}

/* Font sizes */
.has-small-font-size {
  line-height: 1.3em;
  padding-bottom: 0.7em;
}

.has-huge-font-size {
  line-height: 1.3em;
  padding-bottom: 0.7em;
}

.has-large-font-size {
  line-height: 1.3em;
  padding-bottom: 0.7em;
}

.has-medium-font-size {
  line-height: 1.3em;
  padding-bottom: 0.7em;
}

/* Text elements */
p {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5em;
  padding-bottom: 0.5em;
  /* word-wrap: break-word;*/
  /* -webkit-hyphens: auto;*/
  /* -ms-hyphens: auto;*/
  /* hyphens: auto;*/
}

ul,
ol {
  margin: 0 0 0.5em 1.5em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

ul ul,
ol ol,
ul ol,
ol ul {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 1.5em 1.5em;
}

b,
strong {
  font-weight: bold;
}

dfn,
cite {
  font-style: italic;
  font-size: 14px;
  color: var(--slrg-blue-color);
}

.wp-block-quote, em, i {
  font-style: italic;
}

blockquote {
  font-size: 17px;
  font-style: normal;
  padding: 10px 20px 10px 15px;
  border-left: 1px solid #ddd;
  margin: 5px 1.5em 10px 15px;
  display: block;
}

address {
  margin: 0 0 1.5em;
}

pre {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.8em;
  line-height: 1.5em;
  overflow: auto;
  padding-bottom: 1em;
}

.wp-block-code code {
  background: var(--slrg-gray-color);
  font-size: 1em;
  line-height: 1.5em;
  padding: 1.25em;
}

figcaption {
  font-size: 15px;
  font-weight: 400;
  color: #777;
}

#content .wp-block-image figcaption {
  margin-top: -1px;
}

figure {
  margin: 0;
}

hr, #content .wp-block-separator {
  border: 0;
  border-bottom: 1px solid #dddddd;
  margin-bottom: 15px;
}

/* Links */
a {
  color: var(--slrg-blue-color);
  text-decoration: underline;
}

a:hover,
a:focus,
a:active {
  color: var(--slrg-red-color);
}

/* Alignment */
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}

.center {
  text-align: center;
}

/* Colors */

#content .has-slrg-bg-schwarz-color {
  color: var(--slrg-gray-color);
}

#content .has-slrg-bg-schwarz-background-color {
  background-color: var(--slrg-gray-color);
}

#content .has-slrg-schwarz-color {
  color: #000;
}

#content .has-slrg-schwarz-background-color {
  background-color: #000;
}

#content .has-slrg-bg-blau-color {
  color: var(--slrg-lightblue-color);
}

#content .has-slrg-bg-blau-background-color {
  background-color: var(--slrg-lightblue-color);
}

#content .has-slrg-blau-color {
  color: var(--slrg-blue-color);
}

#content .has-slrg-blau-background-color {
  background-color: var(--slrg-blue-color);
}

#content .has-slrg-blau-background-color:hover {
  background-color: #000;
}

#content .has-slrg-bg-rot-color {
  color: var(--slrg-lightred-color);
}

#content .has-slrg-bg-rot-background-color {
  background-color: var(--slrg-lightred-color);
}

#content .has-slrg-rot-color {
  color: var(--slrg-red-color);
}

#content .has-slrg-rot-background-color {
  background-color: var(--slrg-red-color);
}

#content .is-style-outline .has-slrg-blau-background-color:hover {
  background-color: #000;
}

#content .is-style-outline .has-slrg-rot-background-color:hover {
  background-color: var(--slrg-blue-color);
}

#content .is-style-outline .has-slrg-schwarz-background-color:hover {
  background-color: var(--slrg-blue-color);
}

#content .is-style-outline .has-slrg-blau-color:hover {
  color: var(--slrg-blue-color);
}

#content .is-style-outline .has-slrg-rot-color:hover {
  color: var(--slrg-red-color);
}

table {
  width: 100%;
  margin-bottom: 0.5em;
}

table > thead > tr > th,
table > tbody > tr > th,
table > tfoot > tr > th,
table > thead > tr > td,
table > tbody > tr > td,
table > tfoot > tr > td {
  padding: 5px;
}

table > thead > tr > th, table > thead > tr > td {
  border-bottom-width: 2px;
}

th {
  font-weight: bold;
  text-align: left;
}

.is-style-stripes table > thead > tr > th {
  background-color: var(--slrg-lightblue-color);
  color: var(--slrg-blue-color);
}

.is-style-stripes table, .is-style-regular table {
  border-bottom: 1px solid var(--slrg-gray-color);
}

.is-style-regular table > thead > tr > th, .is-style-regular table > tbody > tr {
  border-bottom: 1px solid var(--slrg-gray-color);
}

.is-style-no-lines table {
  border: 0;
}

.is-style-no-lines table > thead > tr > th {
  border: 0;
}

.has-drop-cap {
  margin-top: 10px;
}

.has-background {
  margin-bottom: 0.7em;
  padding: 0.3em;
}

#content .is-style-rounded img {
  border-radius: 20px;
}

/* Header
-------------------------------------------------------------- */
header {
  display: inline-block;
  width: 100%;
  height: auto;
  background: #fff;
  border-bottom: 1px solid #dddddd;
  padding: 0 0 7px;
  margin: 0 0 35px;
}

header #metaNav {
  display: inline-block;
  width: 100%;
  border-bottom: 1px solid #dddddd;
  height: 38px;
}

header #brand {
  display: inline-block;
  width: 30%;
  float: left;
  margin-top: 10px;
}

header #metaNav ul {
  list-style: none;
  float: right;
  margin: 0 10px 0 0;
}

header #metaNav ul li {
  float: right;
  margin: 5px 10px 0 0;
}

header #metaNav ul li a {
  color: #929ba6;
  font-size: 14px;
  text-decoration: none;
}

header #metaNav ul li a:hover {
  color: var(--slrg-red-color);
}

header #metaNav ul li:after {
  content: "|";
  margin: 0 0 0 10px;
  color: #929ba6;
  font-size: 14px;
}

header #metaNav ul li:first-of-type:after {
  content: "";
  margin: 0 0 0 10px;
}

#sidebar .menu:first-child {
  margin-left: -15px;
}

#sidebar .menu, #sidebar .menu ul, #sidebar .menu ul ul, #sidebar .menu ul ul ul {
  list-style: none;
  margin: 0;
  float: left;
  width: 100%;
  font-size: 17px;
}

#sidebar .menu li {
  width: 100%;
  float: left;
  margin-left: 18px;
  margin-top: 5px;
}

#sidebar .menu ul {
  font-size: 15px;
  margin-bottom: -2px;
}

#sidebar .menu ul li {
  width: 100%;
  float: left;
  margin-left: 15px;
  margin-top: 1px;
  padding-top: 2px;
  padding-bottom: 2px;
}

#sidebar .menu ul ul {
  font-size: 13px;
  margin-bottom: -4px;
}

#sidebar .menu ul ul li {
  width: 100%;
  float: left;
  margin-left: 12px;
  margin-top: -1px;
  font-style: italic;
  padding-top: 4px;
  padding-bottom: 4px;
}

#sidebar .menu a, #sidebar .widget_categories a {
  text-decoration: none;
  color: #777777;
}

#sidebar .menu a:hover, #sidebar .widget_categories a:hover {
  color: var(--slrg-red-color);
}

#sidebar .current-menu-item a, #sidebar .widget_categories .current-cat a {
  color: var(--slrg-red-color);
}

#sidebar ul {
  list-style-type: none;
  margin-left: 15px;
}

#sidebar ul li:before {
  content: "\2013\00A0";
  margin-left: -16px;
  margin-right: 2px;
}

#sidebar .menu li:before, #sidebar .widget_categories ul li:before {
  content: "";
  margin-left: 0;
  margin-right: 0;
}

#sidebar .widget_categories ul {
  margin-left: 0;
}

#sidebar .widget_categories ul li {
  width: 100%;
  float: left;
  margin-left: 0;
  margin-top: 5px;
}

#sidebar .searchform #searchsubmit {
  margin-top: 7px;
  margin-left: 0;
}

#sidebar .wp-block-archives-list li::before {
  content: "";
}

#sidebar .wp-block-categories-list li::before {
  content: "";
}

#sidebar .wp-block-latest-posts__list li::before {
  content: "";
}

#sidebar article {
  padding-bottom: 0;
  margin-bottom: 0;
}

.search-header {
  width: 100%;
  float: left;
  margin-top: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.search-title {
  padding-bottom: 0;
}

.search .content ul {
  list-style: none;
  float: left;
  margin: 0 10px 0 0;
}

.search .content ul li {
  margin-top: 50px;
  width: calc(50% - 40px);
  float: left;
  padding-right: 40px;
  min-height: 200px;
}

.search .content ul li h3 {
  padding-bottom: 7px;
}

.search .content ul li h3 a {
  text-decoration: none;
  color: var(--slrg-blue-color);
}

.search-pageing {
  margin-top: 50px;
  padding-top: 7px;
  float: left;
  width: 100%;
  border-top: 1px solid #dddddd;
}

.search-footer {
  width: 100%;
  float: left;
  margin-top: 40px;
  text-align: center;
  margin-bottom: 60px;
}

.search-footer p {
  color: var(--slrg-blue-color);
}

#SRK_Logo {
  height: 21px;
  width: auto;
  margin-right: -5px;
}

.custom-logo {
  height: 7vw;
  max-height: 90px;
  width: auto;
  margin-left: 30px;
  position: relative;
  z-index: 100;
}

.wrapper {
  margin: auto;
  max-width: 1140px;
}

.main-fluid {
  margin: auto;
  max-width: calc(1140px - 60px);
  padding-left: 30px;
  padding-right: 30px;
}

.current-menu-item a, #metaNav .current-menu-item a {
  color: var(--slrg-red-color);
}

article ul {
  list-style-type: none;
  margin-left: 15px;
}

article ul li:before {
  content: "\2013\00A0";
  margin-left: -16px;
  margin-right: 2px;
}

/*WP latest Posts*/
article ul.wp-block-latest-posts__list li::before {
  content: "";
  margin-left: 0;
  margin-right: 0;
}

article ul.wp-block-latest-posts__list {
  margin-left: 0;
}

article ul.wp-block-latest-posts__list a {
  font-weight: 100;
  color: #000;
  padding-bottom: 5px;
  line-height: 24px;
  font-size: 24px;
  text-decoration: none;
}

.blocks-gallery-grid li:before {
  content: "";
  margin-left: 0;
  margin-right: 0;
}

article ul.has-background {
  margin-left: 0;
}

/* Menu
-------------------------------------------------------------- */
.main-navigation {
  position: relative;
  top: 10px;
  height: 7vw;
  max-height: 90px;
  z-index: 1;
}

.nav-menu, .nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu {
  margin: 0;
  position: absolute;
  top: 50%;
  right: 25px;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.nav-menu ul {
  position: absolute;
  display: none;
  top: 100%;
  right: 0;
  z-index: 99;
}

.nav-menu ul ul {
  top: 0;
  left: 100%;
}

.nav-menu li {
  position: relative;
}

.nav-menu > li {
  float: left;
}

.nav-menu li:hover > ul, .nav-menu li.sfHover > ul {
  display: block;
}

.nav-menu a {
  display: block;
  position: relative;
}

.nav-menu ul {
  min-width: 8em;
  *width: 8em;
  border: 1px solid #e9e9e9;
  border-top: none;
}

.nav-menu li {
  white-space: nowrap;
  *white-space: normal;
  -webkit-transition: background .2s;
  transition: background .2s;
}

.nav-menu li.current-menu-item > a {
  color: var(--slrg-red-color);
}

.nav-menu li:hover,
.nav-menu li.sfHover {
  -webkit-transition: none;
  transition: none;
}

.nav-menu a {
  color: #000;
  padding-left: 17px;
  padding-right: 17px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  zoom: 1;
}

.nav-menu a:hover {
  color: var(--slrg-red-color);
}

.nav-menu ul li {
  line-height: 26px;
}

.nav-menu ul li a {
  border-top: 1px solid #e9e9e9;
  padding: 4px 9px;
  color: #777777;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  background: #ffffff;
  letter-spacing: 0;
}

.nav-menu ul li a:hover {
  color: var(--slrg-red-color);
  background: #e9e9e9;
}

.nav-menu li.onepress-current-item > a {
  color: var(--slrg-red-color);
}

.nav-menu ul li.current-menu-item > a {
  color: var(--slrg-red-color);
}

.nav-menu > li:last-child > a {
  padding-right: 0;
}

.nav-menu > li a.menu-actived {
  color: var(--slrg-red-color);
}

.nav-menu .nav-toggle-subarrow {
  display: none;
}

#nav-toggle {
  display: none;
  margin-left: 15px;
}

#nav-toggle {
  float: right;
  position: relative;
  top: 2.8vw;
  right: 10px;
  width: 35px;
  overflow: hidden;
  white-space: nowrap;
  color: transparent;
}

#nav-toggle span {
  position: absolute;
  top: 50%;
  right: 5px;
  margin-top: -2px;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  display: inline-block;
  height: 3px;
  width: 24px;
  background: #000000;
}

#nav-toggle span:before {
  top: -8px;
}

#nav-toggle span:after {
  top: 8px;
}

#nav-toggle span:before, #nav-toggle span:after {
  position: absolute;
  display: inline-block;
  height: 3px;
  width: 24px;
  background: #000000;
  content: '';
  right: 0;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-origin: 0 50%;
  -ms-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
  z-index: 99;
}

#nav-toggle.nav-is-visible span {
  background: transparent;
}

#nav-toggle.nav-is-visible span:before {
  -webkit-transform: translateX(4px) translateY(-1px) rotate(45deg);
  -ms-transform: translateX(4px) translateY(-1px) rotate(45deg);
  transform: translateX(4px) translateY(-1px) rotate(45deg);
}

#nav-toggle.nav-is-visible span:after {
  -webkit-transform: translateX(4px) translateY(0px) rotate(-45deg);
  -ms-transform: translateX(4px) translateY(0px) rotate(-45deg);
  transform: translateX(4px) translateY(0px) rotate(-45deg);
}

#nav-toggle.nav-is-visible span:before, #nav-toggle.nav-is-visible span:after {
  background: #000000;
}

/* Posts/Articles
-------------------------------------------------------------- */
article {
  background: transparent;
  padding: 0 0 20px;
  margin-bottom: 50px;
  border-bottom: 1px solid #dddddd;
}

article .title {
  padding-top: 30px;
}

article .title a {
  text-decoration: none;
  color: var(--slrg-blue-color);
}

article .title a:hover {
  color: var(--slrg-blue-color);
}

article .post-meta {
  width: 100%;
  float: left;
  height: auto;
  margin-bottom: 10px;
}

article .post-meta-left, article .post-meta-right {
  width: 50%;
  min-width: 200px;
  float: left;
  margin-bottom: 0;
  font-size: 14px;
  display: inline-block;
}

article .post-meta-right {
  text-align: right;
  width: auto;
  float: right;
}

article .post-meta a {
  color: #000;
  text-decoration: none;
}

article .post-meta a:hover {
  color: var(--slrg-red-color);
}

article .meta {
  font-size: 12px;
}

article .meta div {
  margin: 1px auto;
}

article .post-meta-right .category {
  float: right;
}

article .post-meta-right .category h5 {
  float: left;
  margin-right: 5px;
  padding-top: 4px;
  color: var(--slrg-blue-color);
  font-size: 14px;
  font-weight: 100;
}

article .post-meta-right .category ul {
  float: left;
}

article .post-meta-right .post-categories {
  list-style: none;
  margin: 0 0 10px 0;
}

article .post-meta-right .post-categories li {
  display: inline-block;
  font-size: 14px;
}

article .post-meta-right .post-categories li:after {
  content: ", ";
}

article .post-meta-right .post-categories li:last-child:after {
  content: "";
}

article .post-meta-right .post-categories li:before {
  content: "";
  margin-left: 0;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.wp-block-image {
  margin-bottom: 0.5em;
}

/* Page loop styling */
.page article {
  border-bottom: none;
}

/* Pagination */
#pagination {
  margin-bottom: 40px;
  width: 100%;
}

#pagination .past-page {
  float: right;
  width: 49%;
  text-align: right;
}

#pagination .next-page {
  float: left;
  width: 50%;
  height: 50px;
}

#pagination .past-page a, #pagination .next-page a {
  border: none;
  border-radius: 0;
  background-color: var(--slrg-gray-color);
  color: #000;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  padding: 10px 15px;
  margin-top: 10px;
  display: inline-block;
  text-decoration: none;
  margin-bottom: 15px;
}

#pagination .past-page a:hover, #pagination .next-page a:hover {
  background-color: var(--slrg-blue-color);
  color: #fff;
}

/* Comments */
h3#comments {
  margin-bottom: 20px;
}

.commentlist {
  list-style: none;
  margin: 0 0 20px;
}

.commentlist li {
  margin-top: 15px;
}

.commentlist .comment {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 15px;
  position: relative;
  list-style: none;
  background-color: var(--slrg-lightblue-color);
}

.commentlist .comment .children {
  margin-top: 0;
  margin-left: 0;
}

.commentlist .comment-author {
  float: left;
  margin-left: 0;
  width: 100%;
}

.commentlist .comment-author img {
  width: 40px;
  height: auto;
  float: left;
  margin-right: 10px;
}

.commentlist .comment-author .says {
  display: none;
}

.commentlist .comment-author .fn {
  width: calc(100% - 100px);
  padding: 0;
  display: inline-block;
  float: left;
  margin-top: 7px;
  margin-left: 0;
  font-style: normal;
}

.comment-meta {
  font-size: 12px;
  margin-bottom: 10px;
}

.comment-subscription-form,
.comment-subscription-form {
  margin-bottom: 0;
  font-size: 12px;
}

.comment-notes {
  padding-bottom: 20px;
}

.commentmetadata a {
  color: #000;
  text-decoration: none;
  text-align: right;
}

.comment-reply-link {
  border: none;
  border-radius: 0;
  background-color: var(--slrg-blue-color);
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  padding: 10px 15px;
  margin-top: 10px;
  display: inline-block;
  text-decoration: none;
  margin-bottom: 15px;
}

.comment-reply-link:hover {
  background-color: #fff;
  color: var(--slrg-blue-color);
}

#respond form .comment-form-cookies-consent label {
  color: #000;
  font-size: 14px;
}

#respond {
  margin-bottom: 80px;
}

#respond > h3 {
  font-size: 17px;
  margin-bottom: 20px;
  color: var(--slrg-blue-color);
  font-weight: 700;
  line-height: 1.3em;
}

#respond form label {
  color: var(--slrg-blue-color);
  font-size: 17px;
  padding-right: 20px;
}

#respond form input {
  margin: 10px;
}

#respond form .submit {
  margin-left: 0;
  margin-top: 20px;
}

/* Misc
-------------------------------------------------------------- */
#content {
  height: auto;
  min-height: calc(100vh - 286px);
}

.h-readmore .wp-block-button {
  margin-left: 0;
  margin-top: 10px;
}

/* Footer */
.site-footer {
  width: 100%;
  background-color: var(--slrg-gray-color);
  display: inline-block;
  padding-top: 40px;
  padding-bottom: 20px;
  margin-top: 20px;
  margin-bottom: -20px;
}

#site-info-left {
  width: calc(60% - 30px);
  height: auto;
  float: left;
  display: inline-block;
  margin-left: 30px;
}

#site-info-right {
  width: calc(40% - 30px);
  height: auto;
  float: left;
  display: inline-block;
  margin-right: 30px;
  text-align: right;
}

#site-info-left img {
  width: 80px;
  height: auto;
  float: left;
  margin-right: 35px;
}

#site-address {
  width: calc(100% - 200px);
  height: auto;
  float: left;
  display: inline-block;
  text-align: left;
}

#site-address p {
  font-size: 14px;
  line-height: 21px;
}

#site-info-right p {
  font-size: 14px;
  line-height: 21px;
  padding-bottom: 10px;
  margin: 0;
}

footer #footerSocialLinks ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  float: left;
  width: 100%;
}

footer #footerSocialLinks ul li {
  float: left;
  margin: 7px 10px 0 0;
}

footer #footerSocialLinks ul li a {
  color: #000;
  font-size: 14px;
  text-decoration: underline;
}

footer #footerSocialLinks ul li a:hover {
  color: var(--slrg-red-color);
}

footer #footerSocialLinks ul li:after {
  content: "|";
  margin: 0 0 0 10px;
  color: #000;
  font-size: 14px;
}

footer #footerSocialLinks ul li:last-of-type:after {
  content: "";
  margin: 0 0 0 10px;
}

.hide-text {
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

.clear {
  clear: both;
}

/* clear floats */
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

/* Sidebar Page */
.sidebarLeft {
  width: 250px;
  min-height: 200px;
  float: left;
  padding-right: 25px;
}

.sidebarRight {
  width: calc(100% - 275px);
  float: left;
  margin-top: -0.7em;
}

.sidebarLeft .menu {
  padding-bottom: 20px;
}

/* Page header options */
#PageHeader01 {
  height: auto;
}

#PageHeader02 {
  height: 15vw;
  margin-top: -35px;
  margin-bottom: 35px;
  background-position: center center;
  background-size: cover;
}

#PageHeaderOverlay {
  width: 100%;
  height: 15vw;
  background-color: var(--slrg-blue-color);
  opacity: 0.5;
}

#PageHeader02 h1 {
  text-align: center;
  color: #fff;
  position: relative;
  top: calc(50% - 15vw - 30px);
  z-index: 0;
  width: 100%;
  height: 50px;
  font-size: 50px;
  padding-bottom: 0;
  padding-top: 0;
}

#PageHeader03 {
  height: 15vw;
  margin-top: -35px;
  margin-bottom: 35px;
  background-position: center center;
  background-size: cover;
}

/* error-404 */
.error-404 {
  margin: auto;
  width: 50%;
  text-align: center;
}

.error-404 h1 {
  padding-top: 30px;
}

.error-404 p {
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 20px;
}

#content .wp-block-query ul {
  margin: 0;
}

#content .wp-block-query ul li:before {
  content: "";
  margin-left: 0;
}

#content .wp-block-query ul li h2 {
  padding-bottom: 5px;
  line-height: 24px;
  font-size: 24px;
}

/* Media Queries
-------------------------------------------------------------- */
/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {

  .main-navigation {
    position: static;
  }

  .nav-menu.nav-menu-mobile {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: 1px solid #e9e9e9;
    border-top: 1px solid #e9e9e9;
    z-index: 100;
  }

  header {
    padding-bottom: 10px;
    margin-bottom: 30px;
  }

  header #brand {
    margin-top: 10px;
  }

  header #metaNav {
    height: 33px;
  }

  header #metaNav ul li {
    margin: 2px 10px 0 0;
  }

  header #metaNav ul {
    margin-right: 0;
  }

  .custom-logo {
    height: 60px;
    margin-left: 15px;
  }

  #nav-toggle {
    top: 25px;
  }

  .main-navigation .nav-menu {
    display: none;
    margin: 0;
    position: absolute;
    top: 128px;
    left: 0;
    right: 0;
    -ms-transform: translateY(0%);
    transform: translateY(0%);
  }

  .nav-menu.nav-menu-mobile > li > a {
    padding: 12px 20px;
  }

  .nav-menu.nav-menu-mobile li:hover ul {
    display: none;
  }

  .nav-menu.nav-menu-mobile ul {
    box-shadow: none;
    padding-bottom: 0;
    border: none;
    position: relative;
  }

  .nav-menu.nav-menu-mobile ul li:last-child {
    border-bottom: none;
  }

  .nav-menu.nav-menu-mobile ul li a {
    padding: 12px 35px;
    border-top: none;
  }

  .nav-menu.nav-menu-mobile ul li a:hover {
    background: transparent;
  }

  .nav-menu.nav-menu-mobile ul li li a {
    padding: 12px 70px;
    border-top: none;
  }

  .nav-menu.nav-menu-mobile ul li li li a {
    padding: 12px 105px;
  }

  .nav-menu.nav-menu-mobile ul ul {
    left: 0;
  }

  .nav-menu.nav-menu-mobile li {
    line-height: 20px;
    background: #FFFFFF;
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
    width: 100% !important;
    margin-top: -1px;
  }

  .nav-menu.nav-menu-mobile li.nav-current-item > a {
    color: var(--slrg-red-color);
  }

  .nav-menu.nav-menu-mobile a {
    color: #777777;
  }

  .nav-menu.nav-menu-mobile a:hover {
    color: #000000;
  }

  .nav-menu.nav-menu-mobile .nav-toggle-subarrow {
    display: block;
    color: #000;
    border-left: 1px solid #e9e9e9;
    font-weight: normal;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    text-align: center;
    padding: 11px 20px;
    z-index: 10;
    font-size: 22px;
    height: 23px;
  }

  .nav-menu.nav-menu-mobile .nav-toggle-dropdown > .nav-toggle-subarrow .fa-angle-down {
    background-image: url(assets/images/pfeil_up.png);
  }

  .nav-menu.nav-menu-mobile .nav-toggle-dropdown > ul {
    display: block !important;
  }

  .nav-toggle-subarrow i {
    position: absolute;
    left: 8px;
    top: 12px;
    width: 25px;
    height: 18px;
    background-image: url(assets/images/pfeil_down.png);
    background-size: 100%;
    background-repeat: no-repeat;
  }

  #nav-toggle {
    display: block;
  }

  #PageHeader02 {
    height: 25vw;
    margin-top: -35px;
    margin-bottom: 35px;
    background-position: center center;
    background-size: cover;
  }

  #PageHeaderOverlay {
    width: 100%;
    height: 25vw;
    background-color: var(--slrg-blue-color);
    opacity: 0.5;
    margin-top: 5px;
  }

  #PageHeader02 h1 {
    text-align: center;
    color: #fff;
    position: relative;
    top: calc(50% - 25vw - 25px);
    z-index: 2;
    width: 100%;
    height: 40px;
    font-size: 40px;
    padding-bottom: 0;
    padding-top: 0;
  }

  #PageHeader03 {
    height: 25vw;
    margin-top: -35px;
    margin-bottom: 35px;
    background-position: center center;
    background-size: cover;
  }

}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {

  .main-fluid {
    width: calc(100% - 40px);
    padding-left: 20px;
    padding-right: 20px;
  }

  header {
    padding-bottom: 10px;
    margin-bottom: 30px;
  }

  header #brand {
    margin-top: 10px;
  }

  header #metaNav {
    height: 33px;
  }

  header #metaNav ul li {
    margin: 2px 10px 0 0;
  }

  header #metaNav ul {
    margin-right: 0;
  }

  .custom-logo {
    height: 60px;
    margin-left: 15px;
  }

  #nav-toggle {
    top: 25px;
  }

  .site-footer {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  #site-info-left, #site-info-right {
    width: calc(100% - 20px);
    margin-left: 20px;
  }

  #site-info-right {
    margin-left: 0;
    margin-right: 20px;
  }

  #site-address {
    width: 100%;
    margin-top: 20px;
  }

  footer #footerSocialLinks ul {
    width: 100%;
    margin-top: 0;
    margin-bottom: 14px;
  }

  .search ul li img {
    width: 15vw;
    max-width: 250px;
    min-width: 150px;
    height: auto;
    float: left;
    margin-right: 15px;
    margin-bottom: 5px;
  }

  .sidebarPage {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }

  .sidebarPage > .sidebarLeft {
    order: 2;
  }

  .sidebarPage > .sidebarRight {
    order: 1;
  }

  .sidebarLeft {
    width: 100%;
    float: left;
    padding-bottom: 20px;
    padding-right: 0;
    overflow: hidden;
  }

  .sidebarRight {
    width: 100%;
    float: left;
    padding-bottom: 20px;
  }

  #PageHeader02 {
    height: 45vw;
    margin-top: -35px;
    margin-bottom: 35px;
    background-position: center center;
    background-size: cover;
  }

  #PageHeaderOverlay {
    width: 100%;
    height: 45vw;
    background-color: var(--slrg-blue-color);
    opacity: 0.5;
    margin-top: 5px;
  }

  #PageHeader02 h1 {
    text-align: center;
    color: #fff;
    position: relative;
    top: calc(50% - 45vw - 25px);
    z-index: 2;
    width: 100%;
    height: 40px;
    font-size: 40px;
    padding-bottom: 0;
    padding-top: 0;
  }

  #PageHeader03 {
    height: 45vw;
    margin-top: -35px;
    margin-bottom: 35px;
    background-position: center center;
    background-size: cover;
  }

  .error-404 {
    margin: auto;
    width: 100%;
    text-align: center;
    min-height: calc(100vh - 100px);
  }

  .error-404 h1 {
    padding-top: 30px;
  }

  .error-404 p {
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 20px;
  }

  .search-header {
    width: 80%;
    float: none;
    margin: 20px auto 30px;
    text-align: center;
  }

  .search .content ul {
    margin-right: 0;
  }

  .search .content ul li {
    margin-top: 30px;
    width: 100%;
    padding-right: 0;
    min-height: 200px;
  }

  figure img {
    width: 100%;
    height: auto;
  }

  article .post-meta-left, article .post-meta-right {
    width: 100%;
  }

  article .post-meta-right .category {
    float: left;
  }

}
