/*
Theme Name: Strässler Generalbau
Author: eloq GmbH
Author URI: https://eloq.swiss/
Description: Die eloq GmbH macht nicht einfach Internetseiten. Wir bieten Ihnen durchdachte Konzepte, mischen Designkompetenz mit technischem Können und streben so nach der perfekten Internet-Präsenz unseres Kunden. Das vorliegende Theme wurde von uns mit Passion und Freude handgefertigt. Wir hoffen, Ihnen gefällt unsere Arbeit!
Version: 1.5.8
*/

/* Imports */

@import url("css/typo.css");
@import url("css/utilities.css");
@import url("css/header.css");
@import url("css/footer.css");
/*
COLOR DEFINITIONS - GOES BELOW:
*/

:root {
  --turkis: #81b1b1;
  --tannengrun: #417b7b;
  --petrol: #215555;
  --dunkelgrau: #171717;
  --schwarz: #000000;
  --hellgrau: #f2f2f2;
  --weiss: #ffffff;
}

/* === Theme Specific === */

/* ----- GENERAL ----- */

html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  margin: 0;
  position: relative;
  z-index: 0;
  background: transparent;
}

body::before,
body::after {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

body::before {
  content: "";
  background-image: url("./img/static.png");
  background-repeat: repeat;
  background-color: #323232;
  background-blend-mode: multiply;
  z-index: 0;
  opacity: 1;
}

/* Safari 7.1+ */
_::-webkit-full-page-media,
_:future,
:root body::before {
  background-image: url("./img/background-safari.png");
  background-color: transparent;
}

body::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600'%3E%3Cdefs%3E%3Cpattern id='grid' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Crect width='150' height='150' fill='url(%23tenthGrid)'/%3E%3Cpath d='M 100 0 L 0 0 0 100' fill='none' stroke='lightgray' stroke-width='3'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)'/%3E%3C/svg%3E");
  z-index: 1;
  opacity: 0.1;
}

header,
footer,
main {
  position: relative;
}

main {
  flex: 1;
  width: 100%;
  position: relative;
  z-index: 2; /* Ensure content is above the pseudo-elements */
}

body > main {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

section,
a {
  position: relative;
}

/* END GENERAL */

/* ----- WP ADMIN BAR ----- */

/*#wpadminbar {
    display: none;
  }*/

/* END WP ADMIN BAR */

/* ----- BUTTONS ----- */

/* Button classes:
        - btn_xyz_primary
        - btn_xyz_secondary 
*/

/* Button Reset */

button {
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
  overflow: visible;
  background: transparent;
  /* inherit font & color from ancestor */
  color: inherit;
  font: inherit;
  /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
  line-height: normal;
  /* Corrects font smoothing for webkit */
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
  /* Corrects inability to style clickable `input` types in iOS */
  -webkit-appearance: none;
  appearance: none;
}

.btn-primary {
  margin-top: 10px;
  margin-bottom: 30px;
  background: #fff;
  color: #004077;
  border-radius: 5px;
  font-family: "Saira", sans-serif;
  text-transform: uppercase;
  border: 1px solid #81cef3;
}

.btn-secondary {
  border-radius: 0;
  border-width: 5px;
  border-color: #ddd;
  min-width: 200px;
  background: transparent;
  text-transform: uppercase;
  color: #df1c1c;
}

/* END BUTTONS */

/* ----- LAZYLOAD EFFECT ----- */

img.bg_static_cover {
  -webkit-filter: blur(3px);
  filter: blur(3px);
  transition: filter 500ms, -webkit-filter 500ms;
}

img.bg_static_cover.lazyloaded {
  -webkit-filter: blur(0);
  filter: blur(0);
}

/* END LAZYLOAD EFFECT */
