/**
Theme Name: HelenaMorgen
Author: Christian Michael Mayer
Author URI: https://www.christianmayer.at/
Description: A development theme for WordPress
Version: 2.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* --------------------------------- */
/* Variablen                         */
/* --------------------------------- */
/* $border-dark: rgba($base-color, 0.88); */
/* --------------------------------- */
/* basics                            */
/* --------------------------------- */
@import url("https://fonts.googleapis.com/css?family=Scope+One&display=swap");
@import url("https://fonts.googleapis.com/css?family=Oxygen&display=swap");
body {
  font-family: 'Scope One', sans-serif;
}

h1, h2, h3, h4, h5, h6, span, p {
  font-family: "Oxygen", sans-serif;
  color: #464646;
}

/* styling for wide-width and full-width in Gutenberg */
/* see: https://joshcollinsworth.com/adding-gutenberg-full-and-wide-width-image-support-to-your-wordpress-theme/ */
.alignfull {
  width: 100vw;
  /* margin-left: calc(50% - 50vw); */
  margin: 2rem calc(50% - 50vw);
}

.alignwide {
  width: calc(100% + 20vw);
  position: relative;
  left: -10vw;
}

@media (min-width: 960px) {
  .alignwide {
    width: calc(100% + 20vw);
    margin: 2rem -10vw;
  }
}

/* Fixing left and right image mobile alignments with CSS */
/* see: https://www.abrightclearweb.com/align-images-and-text-in-wordpress-gutenberg/ */
@media only screen and (max-width: 767px) {
  .wp-block-image .alignleft,
  .wp-block-image .alignright {
    float: none;
  }
}

/** Header, Navi
**************************************/
header {
  min-height: 80px;
  background-color: #f8f8f8;
}

.mainnavi-top {
  display: block;
  /*visibility: visible;*/
}

.hambutton-top {
  display: none;
  /*visibility: hidden;*/
}

/** Sidebar, Navi
**************************************/
#sidebar {
  margin: 90px 20px 40px;
}

/** Togglebar, Navi
**************************************/
#hamnavi {
  margin-top: 80px;
  border-left: 2px solid #aaa;
}

/**  Footer Extra-Navi
**************************************/
/** 
**************************************/
#meta {
  margin-top: -20px;
  font-size: .9rem;
}

article {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-top: 30px !important;
}

article p {
  margin-top: 0;
}

article ::after {
  clear: both;
}

.clearer {
  clear: both;
}

/* Blogpost heading (Linkfarbe kommt von UIKit) */
section > h2 {
  margin-top: 40px;
}

/*
section > h2 > a {
  color: #0f6ecd !important;  wie UIKit 
  border-bottom: 1px solid #0f6ecd;
}
*/
/* deprecated */
#content {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Links ----------------------- */
/* override normal */
footer {
  margin-top: 60px;
  padding-top: 20px !important;
  padding-bottom: 30px !important;
}

footer a {
  color: #000 !important;
}

footer a:hover {
  color: #a4181e !important;
}

footer > div > h4 {
  margin-bottom: 5px;
}

footer p.near {
  margin-top: -20px;
}

/* --------------------------------- */
/* UIKit Extensions & Overrides      */
/* --------------------------------- */
/* --- Main-Navi-------------------- */
.uk-navbar-nav > li > a {
  font-size: 1.1rem !important;
}

.uk-navbar-nav > li.current-menu-item > a {
  color: black !important;
}

/* --- Blog-Navi-------------------- */
.uk-offcanvas-bar {
  background: #bbb !important;
  color: #333 !important;
}

/* --- Extra-Navi-------------------- */
ul#menu-extra-menu, ul#menu-hm-extramenu {
  margin: 0;
  padding-left: 0;
  list-style-type: none;
}

/* --- Slider ---------------------- */
.slider-container {
  max-width: 1200px;
}

.slider-txt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  /* vertikal zentrieren */
  /* justify-content: center; */
  padding-left: 30px;
  padding-right: 30px;
}

/* Slider Text background colors */
.slider-bg-col-1 {
  background-color: #a4181e;
  /* #95252a */
}

.slider-bg-col-2 {
  background-color: #544a42;
  /*39393b ##646468*/
}

.slider-bg-col-3 {
  background-color: #476f6b;
}

.slider-bg-col-4 {
  background-color: #a47450;
}

.slider-bg-col-5 {
  background-color: #6183b0;
}

/* --- Slider ---------------------- */
/* --- Alphabet-Grid --------------- */
.grid-top-margin-small {
  margin-top: 20px !important;
}

.neg-topmarg-4 {
  margin-top: -4px;
}

/* --- Alphabet-Grid --------------- */
/* ********************************* */
/* Helena Morgen                     */
/* ********************************* */
/* --- Kapitelseiten --------------- */
.kapitel .wp-block-group {
  margin-bottom: 40px;
}

.kapitel .wp-block-group h4, .kapitel .wp-block-group h5, .kapitel .wp-block-group h6 {
  margin-bottom: .5em;
  font-size: 1.1em;
  letter-spacing: .4px;
  color: #456;
}

.kapitel .wp-block-group p {
  margin-top: .5em;
  padding-left: 40px;
}

/* --------------------------------- */
/* Wordpress Overrides               */
/* --------------------------------- */
.wp-block-image figcaption {
  margin-bottom: 0 !important;
}

/* ********************************* */
/* Media Queries                     */
/* ********************************* */
@media screen and (max-width: 768px) {
  aside#sidebar {
    display: none;
    /*width: 0;*/
  }
  .mainnavi-top {
    display: none;
    /*visibility: visible;*/
  }
  .hambutton-top {
    display: block;
    /*visibility: hidden;*/
  }
}

/* End Stylesheet */
