/*
 Theme Name:   Yamaha Dealer
 Theme URI:    https://creativepassenger.com
 Description:  GeneratePress child theme, tailor made with Yamaha Brand Dealers in mind
 Author:       Wim Kroegman
 Author URI:   https://www.linkedin.com/in/wimkroegman/
 Template:     generatepress
 Version:      1.0.1
*/

/* ubuntu-regular - latin */
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 400;
  src: local(""),
    url("/wp-content/themes/yamaha-dealer/assets/fonts/ubuntu-v15-latin-regular.woff2")
      format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("/wp-content/themes/rb-motoren/assets/fonts/ubuntu-v15-latin-regular.woff")
      format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  font-display: swap;
}

/* ubuntu-700 - latin */
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 700;
  src: local(""),
    url("/wp-content/themes/yamaha-dealer/assets/fonts/ubuntu-v15-latin-700.woff2")
      format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("/wp-content/themes/yamaha-dealer/assets/fonts/ubuntu-v15-latin-700.woff")
      format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  font-display: swap;
}

/* play-700 - latin */
@font-face {
  font-family: "Play";
  font-style: normal;
  font-weight: 700;
  src: local(""),
    url("/wp-content/themes/yamaha-dealer/assets/fonts/play-v12-latin-700.woff2")
      format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("/wp-content/themes/yamaha-dealer/assets/fonts/play-v12-latin-700.woff")
      format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  font-display: swap;
}

/* Theme - Video header (YouTube iFrame) */
.video_full-width {
  height: 32vw;
}

.video-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.video-container > iframe {
  flex: 0 0 auto;
  max-width: none;
  pointer-events: none;
}

/* Theme - Main navigation */
.main-navigation .main-nav > ul > li > a {
  background-image: linear-gradient(
    0deg,
    currentColor,
    currentColor min(2px, 0.2em),
    transparent min(2px, 0.2em),
    transparent
  );
  background-repeat: no-repeat;
  background-position: 0 -0.4rem;
  background-size: 0 100%;
  transition: background-size 0.2s, color 0.2s;
}

.main-navigation .main-nav > ul > li > a:hover {
  background-size: 100% 100%;
}

/* Theme - Main navigation - Underline active menu item */
.main-navigation .main-nav > ul > li[class*="current-menu-"] > a {
  background-size: 100% 100%;
}

/* Theme - Blog archive - Place categorie in featured image */
.post-image-above-header .inside-article .post-image {
  margin-bottom: 0 !important;
}

.post-image-wrap {
  position: relative;
}

.post-image-wrap .entry-meta {
  position: absolute;
  bottom: 16px;
  left: 12px;
  font-size: 14px;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
}

.post-image-wrap .entry-meta:before {
  display: none;
}

.generate-columns {
  display: flex;
}

/* Theme - Blog archive - Spacing between meta and content */
.entry-summary:not(:first-child) {
  margin-top: 1em;
}

/* Social Share Buttons */
.cp-social-wrapper {
  margin-bottom: 4rem;
  font-size: 0;
  text-align: center;
}

.cp-social-sharing {
  font-size: 17px;
  padding: 7px 20px;
}

.cp-social-sharing svg {
  position: relative;
  top: 0.15em;
  display: inline-block;
}

.cp-social-sharing:first-of-type {
  border-radius: 100px 0 0 100px;
}

.cp-social-sharing:last-of-type {
  border-radius: 0 100px 100px 0;
}

.cp-social-facebook {
  fill: #fff;
  background-color: rgba(59, 89, 152, 1);
}

.cp-social-facebook:hover {
  background-color: rgba(59, 89, 152, 0.8);
}

.cp-social-x {
  fill: #fff;
  background-color: #000;
}

.cp-social-x:hover {
  background-color: #333;
}

.cp-social-linkedin {
  fill: #fff;
  background-color: rgba(0, 119, 181, 1);
}

.cp-social-linkedin:hover {
  background-color: rgba(0, 119, 181, 0.8);
}

.cp-social-whatsapp {
  fill: #fff;
  background-color: rgba(37, 211, 102, 1);
}

.cp-social-whatsapp:hover {
  background-color: rgba(37, 211, 102, 0.8);
}

/* Theme - Generic styles */
.margin_left-right_16 {
  margin: 0 16px;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
  background-image: url(/wp-content/themes/yamaha-dealer/assets/icons/icon_arrow-down.svg);
  background-position: center right 12px;
  background-repeat: no-repeat;
  background-size: 10px auto;
  outline: none;
  padding: 10px 10px;
}

select::-ms-expand {
  display: none;
}

.wp-block-gallery {
  margin-bottom: 2em;
}

/* Theme - Title post items */
h3.gb-headline-text, h2.entry-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Theme - WooCommerce */
body .woocommerce-variation-add-to-cart-disabled {
  display: none;
}

.price {
  margin-top: 0.3em;
}

.woocommerce-variation-price {
  margin-top: 1em;
}

/* Theme - WooCommerce - Disable header extra tabs on product page */
.woocommerce-Tabs-panel--additional_information h2 {
  display: none !important;
}

/* Theme - WooCommerce - Position content extra tabs on product page */
.woocommerce table.shop_attributes td {
  padding-left: 2em;
}

/* Plugin - Lightbox with Photoswipe */
/* .pswp__bg {
  background: #ffffff;
} */

/* .pswp__top-bar,
.pswp__caption {
  background-color: var(--global-color-8) !important;
} */

/* .main-title {
  font-size: 22px;
}

.site-description {
  margin-top: -4px;
  font-size: 12px;
  color: #616365;
}

.site-branding {
  margin: -23px 0 0 0.5em;
}

.navigation-branding img,
.site-logo.mobile-header-logo img {
  padding: 4px 0;
} */