/*
Theme Name: bsTheme
Theme URI: http://brotsalz.de/
Author: brot & salz
Author URI: http://www.brotsalz.de
Description: brot & salz Theme
Version: 1.0.1
Tested up to: 6.1.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bstheme
Tags: brot&salz, tailor-made-theme

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

bsTheme 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.
*/

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */

/*
Set the standart HTML font-size so REM Elements can inherit */
html {
  font-size: var(--f-reg);
  color: var(-cRed);
  background-color: var(--cGrey);
  min-height: 100vh;
}

body,
button,
input,
select,
optgroup,
textarea {
  color: var(--cDef);
  font-family: var(--family-body);
  font-weight: normal;
  font-style: normal;
  font-size: 1rem;
  line-height: var(--line-body);
  /* Prevents fonts from being rendered incorrectly (thicker) */
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

/* Links
--------------------------------------------- */
a {
  text-decoration: none;
}

a,
a:visited,
a:hover,
a:active {
  color: var(--cDarkGrey);
}
#masthead a {
  color: var(--cRed);
}
a:focus {
  color: #191970;
}

a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #000;
  background: #000;
  color: #fff;
  line-height: var(--line-body);
  padding: 1rem 2rem;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #000;
  border: 1px solid #000;
  padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #000;
}

select {
  border: 1px solid #000;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Hero
--------------------------------------------- */
.heroScreen .row {
  min-height: 100vh;
  align-items: center;
}

.heroAuto .row {
  min-height: 50vh;
  align-items: center;
}

@media (min-height: 769px) {
  .heroScreen .row {
    min-height: 0;
    height: 100vh;
    max-height: 768px;
  }

  .heroAuto .row {
    min-height: 0;
    height: 40vh;
    max-height: 576px;
  }
}

.mw-md {
  max-width: 620px;
}

/* Navigation
--------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  transition: 0.3s all ease;
}

/* Nav open */
.navOpen {
  overflow: hidden;
}

/* Nav down */
.navDown {
  background: #fff;
}

/* Light -------- -------- */
.light .site-header:not(.navDown) {
  background: var(--bgHeaderLight);
  color: var(--cHeaderLight);
}

/* Light nav down */
.light .site-header.navDown {
  background: var(--bgNavDown);
  color: var(--cNavDown);
}

/* Light nav open - nav down */
.light.navOpen .site-header.navDown {
}

/* Light nav open - nav not down */
.light.navOpen .site-header:not(.navDown) {
}

/* Dark -------- -------- */
.dark .site-header:not(.navDown) {
  background: var(--bgHeaderDark);
  color: var(--cHeaderDark);
}

/* Dark nav down */
.dark .site-header.navDown {
  background: var(--bgNavDown);
  color: var(--cNavDown);
}

/* Dark nav open - nav down */
.dark.navOpen .site-header.navDown {
}

/* Dark nav open - nav not down */
.dark.navOpen .site-header:not(.navDown) {
}

/* Alt -------- -------- */
.alt .site-header:not(.navDown) {
}

/* Alt nav down */
.alt .site-header.navDown {
}

/* Alt nav open - nav down */
.alt.navOpen .site-header.navDown {
}

/* Alt nav open - nav not down */
.alt.navOpen .site-header:not(.navDown) {
}

/* Burger menu with Overlay */
#navBurger {
  position: relative;
  height: 22px;
  width: 30px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

#navBurger span {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 0;
  background: var(--cRed);
}

.navBurgerContainer {
  font-weight: var(--weight-bold);
  color: var(--cRed);
  cursor: pointer;
}

.navBurgerContainer:not(.active):hover #navBurger span:first-child {
  animation: menuToggle 0.4s 0.1s ease-in;
}

.navBurgerContainer:not(.active):hover span:nth-child(2) {
  animation: menuToggle 0.4s 0.3s ease-in;
}

.navBurgerContainer:not(.active):hover span:nth-child(3) {
  animation: menuToggleLast 0.4s 0.1s ease-in;
}

.navBurgerContainer.active #navBurger span:nth-child(3) {
  opacity: 0;
}

.navBurgerContainer.active #navBurger span:nth-child(1) {
  position: absolute;
  top: 10px;
  background: var(--cRed);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=5);
  /*for IE*/
}

.navBurgerContainer.active #navBurger span:nth-child(2) {
  position: absolute;
  top: 10px;
  background: var(--cRed);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=-5);
  /*for IE*/
}

@keyframes menuToggle {
  0% {
    width: inherit;
  }

  50% {
    width: 20%;
  }

  100% {
    width: inherit;
  }
}

@keyframes menuToggleLast {
  0% {
    width: 70%;
  }

  33% {
    width: 100%;
  }

  66% {
    width: 20%;
  }

  100% {
    width: 70%;
  }
}

/* Menu Overlay */
#navOverlayContainer {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  opacity: 0;
  z-index: -90;
  width: 100%;
  height: 100%;
  transition: 0.3s opacity ease;
  background-color: var(--cGrey);
}

#navOverlayContainer.openOverlay {
  transition-delay: 0.3s;
  opacity: 1;
  padding-top: 100px;
  z-index: 9;
}

.overlayNav {
  list-style: none;
  display: block;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.overlayNav li {
  width: 100%;
  margin: 1.5rem 0;
  padding: 0.25rem 0;
}

.overlayNav li a {
  font-size: 1.75rem;
  font-weight: var(--weight-bold);
  display: block;
  padding: 0;
  text-align: center;
  border: none;
}
.overlayNav .resBtn {
  width: auto;
  display: inline-block;
  margin: 0 auto;
  padding: 0.25rem 0.5rem;
}
/* Full Hero
--------------------------------------------- */
.fullHeroWrapper .row {
  height: 100vh;
  max-height: 1020px;
}

/* Header
--------------------- */
.light .logoPrime {
  display: none;
}
.site-branding img {
  height: 45px;
  width: auto;
}

/* Footer 
-------------------- */
.socialMediaRow {
  display: flex;
  align-items: center;
}

.socialMediaItem {
  margin-right: 1rem;
}
.socialMediaItem svg {
  height: 2rem;
  width: auto;
  fill: var(--cRed);
}
@media (min-width: 768px) {
  .heroHeader {
    min-height: calc(100vh - 80px);
  }
  footer {
    height: 80px;
    display: flex;
    align-items: center;
  }
}

.resBtn a {
  color: var(--cGrey) !important;
}

.mainNavDesBtn a {
  z-index: 1;
  position: relative;
  padding: 10px 30px;
  display: inline-block;
}
.mainNavDesBtn a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  transition: 0.23s ease-out;
  background-color: var(--cRed);
  z-index: -1;
}
.cRed a {
  color: var(--cRed);
}
.mainNavDesBtn:hover a {
  color: var(--cGrey) !important;
}
.mainNavDesBtn:hover a::after {
  height: 100%;
}
.resBtn {
  background-color: var(--cRed);
  padding: 10px 30px 8px;
}
.submitInput input {
  border: none;
  position: absolute;
  left: 5px;
  right: 0;
  bottom: 0;
  top: 3px;
  width: 100%;
  height: 100%;
  background: var(--cGrey);
  padding: 0;
}
.submitInput textarea {
  border: none;
  height: 180px;
  padding-top: 15px;
  background: var(--cGrey);
  padding-left: 4px;
}
.submitInput .txtAreaField {
  height: 210px;
}
.submitInput label {
  position: relative;
  border-radius: var(--b-radius-lg);
  border: 2px solid var(--cRed);
  padding: 3px;
  /* padding-top: 20px; */
  height: 50px;
  width: 100%;
}
.submitInput span:not(.inpLabel) {
  width: 98%;
  display: block;
  height: 33px;
  position: absolute;
  top: 9px;
  left: auto;
  right: auto;
}
.submitInput input:focus,
.submitInput textarea:focus {
  outline: none;
}
.submitInput input:focus::placeholder,
.submitInput textarea:focus::placeholder {
  opacity: 0;
}
.submitInput .inpLabel {
  position: absolute;
  top: 30px;
  left: 9px;
  font-size: 12px;
  z-index: 2;
  opacity: 0;
  transition: 0.2s ease-in;
}
.submitInput label:focus-within .inpLabel,
.inputAdd .inpLabel {
  opacity: 1;
  top: 7px;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  background-color: var(--cRed);
  border-color: var(--cRed);
}

@media (max-width: 576px) {
  .heroHeader {
    min-height: calc(100vh - 120px);
  }
}

.trp-ls-shortcode-current-language,
.trp-language-switcher-container:hover .trp-ls-shortcode-current-language,
.trp-language-switcher-container:hover .trp-language-switcher > div,
.trp-language-switcher > div {
  background: none !important;
  border: none !important;
  width: 60px !important;
}

.langSwitch {
  position: relative;
  width: 60px;
  height: 60px;
}

.trp-language-switcher-container {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 50%;
  width: 100%;

  transform: translateY(-50%);
}

#page {
  position: relative;
}
.ft-w-open #page:after {
  content: "";
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
