/*
 Theme Name:   Comame Child
 Description:  Comame Child Theme
 Author: portvier GmbH
 Author URI: https://portvier.de
 Template:     uku
 Version:      1.0
 Text Domain:  uku-child
*/

/* Werte
grün: #a5b3a6
hellbraun: #e3dbcd;
*/

/* Behebung Überlappung im Warenkorb bei aktiviertem Woocommerce Germanized */
.cart-offcanvas .woocommerce .widget_shopping_cart_content p.total-cart-tax {
    bottom: 210px;
}
.cart-offcanvas .woocommerce .widget_shopping_cart_content p.total:not(.wc-gzd-total-mini-cart) {
    bottom: 280px;
}

}
.single-product .entry-summary .price {
  padding-bottom: 20px !important;
}

/* Menü weiß darstellen auf Startseite
https://elmastudio.ticksy.com//ticket/2126903/ */
.home #desktop-navigation a,
.home.uku-serif #desktop-navigation ul li a:hover,
.home.uku-serif #desktop-navigation ul li:hover > a,
.home #overlay-open {
    color: #fff;
}
.home.uku-serif #desktop-navigation ul li a:hover,
.home.uku-serif #desktop-navigation ul li:hover > a {
    box-shadow: inset 0 -1px 0 #fff;
}
.home #site-branding .site-title a,
.home #site-branding .site-title a:hover {
	color: #fff;
}

/* Dropdown-Menü in der Topnavi ohne Background Color  */
.home #desktop-navigation ul ul.sub-menu,
.home #desktop-navigation ul ul.children {
	background-color: transparent !important;
}
/* Dropdown-Menü in der Topnavi in weißer Schrift auf Startseite */
.home #desktop-navigation .sub-menu li a,
.home #desktop-navigation .children li a {
	color: #fff !important;
}
#overlay-nav ul li.menu-item-has-children,
#overlay-nav ul li.page_item_has_children {
	padding-bottom: 0 !important;
}
#overlay-nav p.site-title a {
	color: #fff;
}
#overlay-nav p.site-title a img {
  width: 8em;
}
#overlay-nav p.site-title {
	margin-bottom: 70px;
}
/* Untermenüs ausklappen im mobilen Menü */
#overlay-nav .nav-container ul ul.sub-menu, #overlay-nav .nav-container ul ul.children {
  display: none;
}
#overlay-nav .nav-container ul ul.toggled-on {
  padding-top: 0 !important;
  padding-bottom: 20px !important;
}
#overlay-nav .dropdown-toggle {
  display: block !important;
}
.dropdown-toggle {
  right: 376.781px !important;
}



/* ------- */
header .site-header-content #site-branding .site-title-home a img {
  width: 9em;
  height: auto;
}

header .site-header-content #site-branding .site-title a img {
  width: 9em;
  height: auto;
}

.sticky-header .site-title a img {
  width: 5em;
  height: auto;
}

/* Info-Bereich auf der Startseite    */
.about-img-wrap .front-about-img:after {
  background: rgba(73, 54, 54, 0.94) !important;
}

.section-about-column-one .section-about-text {
  color: white;
}

.section-about-text a.about-link {
  background-color: #a5b3a6 !important;
}
/* Ende Info-Bereich  */

footer#colophon {
 background-color: #e3dbcd;
}

.header-intro-wrap p.header-intro-text {
  padding: 110px 0 0 0 !important;
	max-width: 800px !important;
}
/*
header .site-header-content #site-branding .site-title a img {
  width: 15em !important;
}
*/
/* weitere Links im Burger-Menü */
.overlay-nav-additional {
  margin-top: 90px;
}
.overlay-nav-additional a {
  display: block;
  font-size: 1.6em;
  color: white;
}
.overlay-nav-additional a:hover {
  opacity: 0.54;
}

.full-width {
  margin-left: -84%;
  margin-right: -84%;
}

.responsive-map{
  overflow: hidden;
  padding-bottom:56.25%;
  position:relative;
  height:0;
}
.responsive-map iframe{
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
}

.quantity .qty {
  border: solid 1px #000 !important;
  color: #000 !important;
}
.woocommerce .woocommerce-result-count {
    margin-bottom: 80px !important;
}

/* Burger Menu ausblenden */
#overlay-open {

}

/* Video Startseite */
#headerimg-wrap video {
  width: 100%;
  height: 100%;
  min-height: 56.25vw;
  min-width: 177.77vh;
}

/* Instagram Feed */
.insta-container {
  height: 100%;
  padding-top: 1.5em;
  background-color: #A5B3A6;
}
.insta-container > h3, h4 {
  text-align: center;
}
.insta-container > p {
  text-align: center;
}
.insta-container > h3 {
  font-size: 2.4em;
}
.insta-container h3:before {
  content: '\f16d';
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  padding-right: 7px;
  font-size: 30px;
}
#eapps-instagram-feed-1 {
  padding: 1% 6% 5% 6%!important;
}

/* Produktseite */
.single-product .woocommerce-product-gallery__image:first-of-type {
  width: 60% !important;
  margin: auto !important;
}
.single-product .images .columns-5, .single-product .woocommerce-product-gallery__wrapper, .single-product .flex-control-thumbs {
  display: flex !important;
  justify-content: center;
}


/* Icon Font */
@font-face {
	font-family: 'icomoon';
	src:  url('assets/fonts/icomoon.eot?1sitd0');
	src:  url('assets/fonts/icomoon.eot?1sitd0#iefix') format('embedded-opentype'),
		url('assets/fonts/icomoon.ttf?1sitd0') format('truetype'),
		url('assets/fonts/icomoon.woff?1sitd0') format('woff'),
		url('assets/fonts/icomoon.svg?1sitd0#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
	/* use !important to prevent issues with browser extensions that change fonts */
	font-family: 'icomoon' !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
/*
.menu li a[href*="comame.de"]::before {
	font-family: 'Genericons' !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.menu li a[href*="comame.de"] {
    position: relative;
    font-size: 40px;
    display: block;
    overflow: hidden;
    width: 52px;
    height: 40px;
    text-indent: -9999px;
    float: left;
    margin: 0 8px 8px 0;
    box-shadow: inset 0 0 0 transparent !important;
}

.menu li a[href*="comame.de"]::before {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 40px;
	display: block;
	overflow: hidden;
	width: 52px;
	height: 40px;
	text-indent: 0;
}

.menu li a[href*="comame.de"]::before {
  content: '\f460' !important;
}
*/
#site-branding .home  {
  max-width: 800px;
  margin: 0 auto;
}
#site-branding .home .site-title img {
  position: relative;
  top: 3px;
}
#site-branding .home .site-title .slogan {
  font-size: 64px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.06;
  letter-spacing: -1px;
  font-weight: 500;
  margin: 0 auto;
  max-width: 800px !important;
  hyphens: none !important;
}

.shopfront-content ul.products li:nth-child(even) {
	margin-right: 4.132231404958678% !important;
	float: left !important;
}
.shopfront-content ul.products li.last {
	margin-right: 0 !important;
}

#shopfront-latest .shopfront-content ul.products li {
  width: 75%;
}


/* Cookie Notice */
#cookie-notice {
  font-size: 1em !important;
  font-family: 'Poppins', sans-serif;
}
.cookie-notice-container {
  padding: 35px 15px;
}
#cn-accept-cookie {
  color: #A5B3A6 !important;
}
#cn-more-info {
  background: #A5B3A6;
  color: #ffffff;
  border: 0;
  padding: 6px 9px;
  border-radius: 3px;
  font-size: 15px;
}

.woocommerce-notices-wrapper .cart-empty {
  margin-bottom: 26px !important;
}

/* Grundpreise auf Kategorieseite */
.product p.wc-gzd-additional-info  {
  font-size: 17px !important;
}

@media screen and (max-width: 1200px) {
  .header-social {
    display: none !important;
  }
}

@media screen and (min-width: 48em) {
  .page-template-shop-front.header-fullscreen #site-branding {
    padding: 26vh 0 0 0 !important;
  }
  .shopfront-content ul.products li {
    width: 30% !important;
  }
  .single-product .woocommerce-tabs {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  .shopfront-content ul.products li.last {
  	margin-right: 0 !important;
  }
  #shopfront-latest .shopfront-content ul.products li {
    width: 30%;
  }
  .single-product .entry-summary .price {
    padding-bottom: 0 !important;
  }
}

/* Cookie Notice Plugin */
#cookie-notice {
  line-height: 28px !important;
}


@media screen and (min-width: 64em) {
  .woocommerce ul.products li.product .add_to_cart_button {
    top: calc(50% - 77px) !important;
  }
}

/*Alex: changed this from 66.25 to 72.5*/
@media screen and (min-width: 72.5em) {
  
  #overlay-nav .nav-container ul ul.toggled-on {
    padding-bottom: 20px !important;
    padding-top: 0 !important;
  }
  #overlay-nav .dropdown-toggle {
    display: block !important;
  }
  #desktop-navigation ul ul.sub-menu, #desktop-navigation ul ul.children {
    width: 300px !important;
  }
  
  /*Alex: We found that when clicking the links in the menu that that h1 tag was covered by sticky header
    Solved this by following https://nicolasgallagher.com/jump-links-and-viewport-positioning/
  */
  .hash-linked-h1:before {
    content: "";
    display: block;
    height: 100px;
    margin: -80px 0 0;
  }
  .hash-linked-h1 {
  	padding-top: 0px !important;
  }
  .layoutArea {
    /*this will reinsert padding, but on the previous layoutArea's bottom*/
    padding-bottom:20px;
  }
  
}
