/*
Theme Name: Autovärvi
Theme URI: https://autovarvi.ee
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: Autovärvi theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: autovarvi
*/

/* Theme customization starts here
-------------------------------------------------------------- */
.kadence-sticky-header,
.wp-block-kadence-header .kb-header-container {
  transition: all 0.3s ease-in-out;
}

.kadence-sticky-header.item-is-stuck,
.wp-block-kadence-header .kb-header-container.item-is-stuck {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

.kadence-sticky-header.item-is-stuck
  .site-main-header-wrap
  .site-header-row-container-inner
  > .site-container {
  padding: 8px 16px 8px 16px !important;
}

.kadence-sticky-header.item-is-stuck .site-branding a.brand img.svg-logo-image {
  width: auto !important;
}

.popup-drawer .drawer-inner .drawer-header {
  padding: 0 var(--global-content-edge-padding);
}

.header-navigation .header-menu-container ul ul.sub-menu {
  border-radius: 16px;
  padding: 8px 4px;
  top: calc(100% - 2px);
}

.entry-hero h1 {
  padding: 32px 0;
}

#main-header .header-button,
#mobile-drawer .mobile-header-button {
  position: relative;
}

#main-header .header-button::before,
#mobile-drawer .mobile-header-button::before {
  background-image: url("assets/img/splash-blue-1.svg");
  background-repeat: no-repeat;
  background-size: contain;
  bottom: -15px;
  content: "";
  height: 32px;
  left: -15px;
  position: absolute;
  width: 35px;
}

#main-header .header-button::after,
#mobile-drawer .mobile-header-button::after {
  background-image: url("assets/img/splash-blue-2.svg");
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 21px;
  position: absolute;
  right: -12px;
  top: -12px;
  width: 23px;
}

.main-navigation
  .primary-menu-container
  > ul
  > li.menu-item.current-menu-item
  > a,
.main-navigation
  .primary-menu-container
  > ul
  > li.menu-item.current-page-ancestor
  > a,
.mobile-navigation ul > li.menu-item.current-menu-item > a {
  background-image: url("assets/img/splash-blue-3.svg");
  background-position: center center;
  background-repeat: no-repeat;
}

.mobile-navigation ul ul.sub-menu {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding-bottom: 16px;
  padding-left: 0;
  padding-top: 16px;
}

.mobile-navigation ul ul.sub-menu li a {
  font-size: 16px;
  padding-bottom: 8px;
  padding-top: 8px;
}

#mobile-drawer .drawer-header .menu-toggle-close {
  border-radius: 8px;
  margin-top: 12px;
}

.kt-testimonial-meta-wrap {
  margin-top: 16px;
}

.wp-block-kadence-testimonials.client-testimonials
  .kt-blocks-carousel
  .kt-blocks-carousel-init:not(.kt-carousel-arrowstyle-none):not(.tns-slider) {
  padding-left: 0;
  padding-right: 0;
}

.wp-block-kadence-testimonials.client-testimonials .kt-testimonial-item-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.wp-block-kadence-testimonials.client-testimonials
  .kt-blocks-carousel-init:not(.kt-carousel-dotstyle-none) {
  padding-bottom: 24px;
}

.rounded-video {
  border-radius: 24px;
  overflow: hidden;
}

.wp-site-blocks .post-thumbnail img {
  border-radius: 24px;
}

.single-post .entry.single-entry {
  border-radius: 24px;
}

.footer-html {
  margin: 0 !important;
}

.site-bottom-footer-inner-wrap {
  padding: 8px 0 !important;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 767px) {
}
