/*
Theme Name: Daniel Wehrli 2k21
Text Domain: danielwehrli
Theme URI: https://danielwehrli.ch/
Author: Pascal Müller
Author URI: https://trockendock.io/
Version: 5.0
*/


/* ==========================================================================
	 Colors
============================================================================= */
:root {
  --green: #6F7135; 
  --black: #0e1111;
  --navbar-height: 163px;
}

@media (max-width: 767px) {
  :root {
    --navbar-height: 120px;
  }
}


/* ==========================================================================
	 Fonts
============================================================================= */
/* https://github.com/zachleat/web-font-loading-recipes */
@font-face {
	font-family: 'Nouvelle Grotesk';
	src: url('fonts/NNNouvelleGrotesk-Normal.woff2') format('woff2'),
		url('fonts/NNNouvelleGrotesk-Normal.woff.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Nouvelle Grotesk';
	src: url('fonts/NNNouvelleGrotesk-NormalDiagonal.woff2') format('woff2'),
		url('fonts/NNNouvelleGrotesk-NormalDiagonal.woff') format('woff');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Nouvelle Grotesk';
	src: url('fonts/NNNouvelleGrotesk-Medium.woff2') format('woff2'),
		url('fonts/NNNouvelleGrotesk-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
  font-family: 'Nouvelle Grotesk';
  src: url('fonts/NNNouvelleGrotesk-Bold.woff2') format('woff2'),
    url('fonts/NNNouvelleGrotesk-Bold.woff2') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}



/* ==========================================================================
	 Theme Styles
============================================================================= */

/* HTML, Body
---------------------------------------------------------------------------- */


/* Links
---------------------------------------------------------------------------- */
a {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

a[href^="tel"]{
	color: var(--green);
	text-decoration:none;
}

a[target=_blank] {
}

.entry-content a[target=_blank]::before {
  content: "→ ";
}

/* Animations
---------------------------------------------------------------------------- */
.grow,
.shrink,
.left,
.right,
.up,
.darken,
.brighten { 
  -webkit-transition: all 0.2s ease-in-out;
     -moz-transition: all 0.2s ease-in-out;
      -ms-transition: all 0.2s ease-in-out;
       -o-transition: all 0.2s ease-in-out;
          transition: all 0.2s ease-in-out; 
  background: none !important;
}

.grow:hover { 
	transform: scale(1.1); 
}

.shrink:hover { 
	transform: scale(0.9); 
}

.left:hover { 
	transform: translate(8px); 
}

.right:hover { 
	transform: translate(-8px); 
}


.up:hover { 
  transform: translateY(-8px); 
}

.darken:hover {
  /*opacity: 0.8;*/
  -webkit-filter: brigthness(75%); /* Safari 6.0 - 9.0 */
  filter: brightness(75%); 
}

.brighten:hover {
  opacity: 0.8; 
}



/* ==========================================================================
	 Header
============================================================================= */




/* ==========================================================================
	 Navigation
============================================================================= */
#navbar1 {
  height: var(--navbar-height);
}

.navbar {
  padding-top: 0;
}

.navbar>.container, .navbar>.container-fluid, .navbar>.container-sm, .navbar>.container-md, .navbar>.container-lg, .navbar>.container-xl, .navbar>.container-xxl {
  -webkit-box-align: start !important;
  -ms-flex-align: start !important;
  align-items: start !important;
}

.navbar-brand img {
  width: 125px;
}
@media (max-width: 767px) {
  .navbar-brand img {
    width: 85px;
  }
}

@media (max-width: 767px) {
  nav .lead {
    font-size: 1rem;
    display: block;
    margin-top: 1rem;
  }
}


.mt-navbar {
  margin-top: var(--navbar-height);
}

.no-gradient {
  background-color: rgba(255, 255, 255, 0.9);
}

.gradient {
  background-image: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 70%);;
}

.current_page_item a {
  color: var(--black) !important;
}

.single-product .menu-item-23 a {
  color: var(--black) !important;
}

/* dark mode navigation for index page */ 
.page-template-page-index .current_page_item a {
  color: #fff !important;
}

.page-template-page-index  .navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
  color: #fff !important;
}

.language,
.language a {
  color: #fff;
}

.language a:hover {
  color: var(--black);
}

.language .current-lang a {
  color: var(--black);
}

.page-template-page-index .language,
.page-template-page-index .language a {
  color: #6F7135;
}

.page-template-page-index .language a:hover {
  color: #fff;
}

/* ==========================================================================
   Hero
============================================================================= */
#hero {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-size: cover;
  background-position: center;
}

.home #hero:hover {
  cursor: pointer;
}
 /*  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-size: cover;
  background-position: center -163px;
  background-color: red;
  background-blend-mode: multiply;
  margin-top: 163px;
}
*/

#hero.vh-100 {
  height: 100vh;
}

@media (max-width: 767px) {
  #hero {
    height: 50vh !important;
  }
}

#hero::after {
  content: ""; 
  position: absolute;
  top: var(--navbar-height);
  left: 0;
  width: 100%;
  height: calc(100% - var(--navbar-height));
  mix-blend-mode: multiply;
  z-index: 1;
  overflow: hidden;
}

@media (max-width: 991px) {
#hero::after {
  height: calc(101% - var(--navbar-height));
  }
}

#intro {
  min-height: calc( 100vh - var(--navbar-height) );
}



/* ==========================================================================
	 Content
============================================================================= */
.multicol-4 {
  -webkit-columns: 4;
  -moz-columns: 4;
  columns: 4;
}

.multicol-2 {
  -webkit-columns: 2;
  -moz-columns: 2;
  columns: 2;
}

@media (max-width: 991px) {
  .multicol-4 {
    -webkit-columns: 1;
    -moz-columns: 1;
    columns: 1;
  }
  .multicol-2 {
    -webkit-columns: 1;
    -moz-columns: 1;
    columns: 1;
  }
}

.multicol-4 *,
.multicol-2 * {
  margin: 0;
}

.multicol-4 .column,
.multicol-2 .column {
  -webkit-column-break-after: column;
  page-break-after: column;
  break-after: column;
}

@media (max-width: 991px) {
  .multicol-4 .column,
  .multicol-2 .column {
    margin-bottom: 1rem;
  }
}

.border-top {
  border-top: 3px solid var(--black) !important;
}

.border-bottom {
  border-bottom: 3px solid var(--black) !important;
}

.number {
  padding-right: 23.666%;
}

@media (max-width: 991px) {
  .number {
    padding-right: 5%;
  }
}

.table tr > td:last-of-type {
  text-align: right;
}

.table th {
  border-bottom: 2px solid white;
}

.table a:link,
.table a {
  color: #999 !important;
}

.table a:hover {
  color: #ccc;
}

/*body.page-template-page-index {
  background-color: var(--black);
}*/

.single-product h2 {
  display:inline;
  font-size: 1rem;
}

.single-product p:first-of-type {
  display: inline;
}
/* ==========================================================================
	 Footer
============================================================================= */
/* Bootstrap Cookie Alert */
.cookiealert {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0 !important;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  border-radius: 0;
  transform: translateY(100%);
  transition: all 500ms ease-out;
  color: #ecf0f1;
  background-color: #212327
}

.cookiealert.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0%);
  transition-delay: 1000ms;
}

.cookiealert a {
  text-decoration: underline
}

.cookiealert .acceptcookies {
  margin-left: 10px;
}  



/* ==========================================================================
	 Swiper
============================================================================= */
.swiper-button-prev:after, .swiper-container-rtl .swiper-button-next:after,
.swiper-button-next:after, .swiper-container-rtl .swiper-button-prev:after {
  display: none;
}
.swiper-button-next, 
.swiper-button-prev {
  background-repeat: no-repeat;
  width: calc(var(--swiper-navigation-size)/ 14 * 27) !important; 
}
.swiper-button-prev {
  background-image: url('data:image/svg+xml;charset=utf-8,<svg enable-background="new 0 0 106.1 76.4" viewBox="0 0 106.1 76.4" xmlns="http://www.w3.org/2000/svg"><path d="m106.1 36.2h-98.5l33.4-33.4-2.8-2.8-38.2 38.2v.1l38.2 38.1 2.8-2.8-33.4-33.4h98.5z" fill="#020203"/></svg>') !important;
}

.swiper-button-next {
  background-image: url('data:image/svg+xml;charset=utf-8,<svg enable-background="new 0 0 106.1 76.4" viewBox="0 0 106.1 76.4" xmlns="http://www.w3.org/2000/svg"><path d="m0 40.2h98.5l-33.4 33.4 2.8 2.8 38.2-38.1-.1-.1h.1l-38.2-38.2-2.8 2.8 33.4 33.4h-98.5z" fill="#020203"/></svg>') !important;
}



/* ==========================================================================
	 WordPress WYSIWYG Editor Styles
============================================================================= */
/* main classes used for alignment */
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
}

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

.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
}

.alignnone, img.alignnone {}

/* Image Caption */
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
}

.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
}

.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 10px;
	margin: 0;
}

/* Gallery */
.gallery dl {}
.gallery dt {}
.gallery dd {}
.gallery dl a {}
.gallery dl img {}
.gallery-caption {}


/* Image sizes */
.size-full {}
.size-large {}
.size-medium {}
.size-thumbnail {}


blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
}

blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
}



/* ==========================================================================
	 Bootstrap Media Queries
============================================================================= */

/* the given screen size or smaller
---------------------------------------------------------------------------- */

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
	.klasse {
	}
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) {
	.klasse {
	}
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991px) {
	.klasse {
	}
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199px) {
	.klasse {
	}
}

/* Extra large devices (large desktops)
No media query since the extra-large breakpoint has no upper bound on its width */


img {
  -webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
-ms-user-select: none;
user-select: none;

-webkit-user-drag: none;
-khtml-user-drag: none;
-moz-user-drag: none;
-o-user-drag: none;
-ms-user-drag: none;
user-drag: none;
}

/* ==========================================================================
	RWD Breaks
============================================================================= */
@media (min-width: 768px) {
	.rwd-break { display: none; }
}




/* ==========================================================================
	 Responsive Tables
============================================================================= */
/* Credits:
    This bit of code: Exis | exisweb.net/responsive-tables-in-wordpress
    Original idea: Dudley Storey | codepen.io/dudleystorey/pen/Geprd */
/*@media screen and (max-width: 575px) {
table {width:100%;}
thead {display: none;}
tr:nth-of-type(2n) {background-color: inherit;}
tr td:first-child {background: #f0f0f0; font-weight:bold;font-size:1.2em;}
tbody td {display: block;  text-align:left;}
tbody td:before { 
		content: attr(data-th); 
		display: block;
		text-align:left;  
	}
}*/