/*
Theme Name: motovlasim
Version: 1.0
Description: A child theme of Twenty Twenty
Template: twentytwenty
Author: Administrator
*/
@import url("../twentytwenty/style.css");
@import url("../motovlasim/assets/css/motovlasim.css");

:root {
  --admin-bar: 32px;
  --header: 123px;
}

/*--------------------------------------------------ANIMACE*/

#top a,
#top a::after,
#top a::before,
#top h2,
#top button,
#top button::after,
#top button:before,
#top span,
#top span::after,
#top span::before,
#top img,
#top:not(.showing-modal) ul,
#top:not(.showing-modal) li,
#top:not(.showing-modal) li::after,
#top:not(.showing-modal) li::before,
header#site-header,
.header-inner,
.post-bgr {
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s -webkit-filter ease-in-out;
  -moz-transition: all 0.3s -moz-filter ease-in-out;
  -ms-transition: all 0.3s -ms-filter ease-in-out;
  -o-transition: all 0.3s -o-filter ease-in-out;
}

/*----------------------------------------------------------------------------------------------------TYPOGRAFIE*/

#top * {
  letter-spacing: unset;
}

body#top,
.entry-content,
.price,
.onsale,
.entry-content cite,
.entry-content figcaption,
.entry-content table,
.entry-content address,
.entry-content .wp-caption-text,
.entry-content .wp-block-file,
.woocommerce table.shop_table tbody tr,
.woocommerce-page table.shop_table tbody tr,
.woocommerce-error,
.woocommerce-info,
.woocommerce-message.woocommerce-message,
#site-content .woocommerce-error,
#site-content .woocommerce-info,
.entry-content p,
.entry-content li,
.entry-header p,
button,
.widget_text p,
.widget_text ol,
.widget_text ul,
.widget_text dl,
.widget_text dt,
.widget-content .rssSummary {
  font-family: var(--font);
  font-size: 16px;
  line-height: 150%;
  color: var(--n-100);
}

#top .entry-content .has-large-font-size {
  font-size: 24px !important;
}

.entry-content p {
  margin-bottom: 16px;
}

.color-accent,
.color-accent-hover:hover,
.color-accent-hover:focus,
:root .has-accent-color,
.has-drop-cap:not(:focus):first-letter,
.wp-block-button.is-style-outline,
body a {
  color: var(--n100);
}

/*--------------------------------------------------IKONY*/
.icon a::before {
  content: "";
  width: 24px;
  height: 24px;
  display: inline-block;
  margin: 0 8px -6px 0;
  background-color: currentColor;
  mask-size: 24px;
  mask-position: 0 0;
  mask-repeat: no-repeat;
  -webkit-mask-size: 24px;
  -webkit-mask-position: 0 0;
  -webkit-mask-repeat: no-repeat;
  mask-image: url(/wp-content/themes/motovlasim/assets/img/motovlasim_ikony.svg);
  -webkit-mask-image: url(/wp-content/themes/motovlasim/assets/img/motovlasim_ikony.svg);
}
.icon.primary a::before {
  background-color: var(--p-100);
}
.icon.secondary a::before {
  background-color: var(--s-100);
}
.icon.black a::before {
  background-color: black;
}
.icon.white a::before {
  background-color: white;
}
.icon.mail a::before {
  mask-position: 0 -24px;
  -webkit-mask-position: 0 -24px;
}

.icon.user a::before {
  mask-position: 0 -48px;
  -webkit-mask-position: 0 -48px;
}

.icon.pin a::before {
  mask-position: 0 -72px;
  -webkit-mask-position: 0 -72px;
}

.icon.search a::before {
  mask-position: 0 -96px;
  -webkit-mask-position: 0 -96px;
}

.icon.calendar a::before {
  mask-position: 0 -120px;
  -webkit-mask-position: 0 -120px;
}

.icon.home a::before {
  mask-position: 0 -168px;
  -webkit-mask-position: 0 -168px;
}

.icon.web a::before {
  mask-position: 0 -192px;
  -webkit-mask-position: 0 -192px;
}
.icon.tuzka a::before {
  mask-position: 0 -192px;
  -webkit-mask-position: 0 -216px;
}
.icon.helma a::before {
  mask-position: 0 -192px;
  -webkit-mask-position: 0 -240px;
}
.icon.motorka a::before {
  mask-position: 0 -192px;
  -webkit-mask-position: 0 -264px;
}
.icon.ruce a::before {
  mask-position: 0 -192px;
  -webkit-mask-position: 0 -288px;
}

/*--------------------------------------------------NADPISY*/
#top .wp-block-heading:first-child {
  margin-top: 0;
}
.wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container {
  margin: 32px 0 16px;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
  color: var(--n-100);
  line-height: 125%;
  font-weight: 400;
}

h1,
.heading-size-1,
.main-title {
  font-size: 64px;
}

h2,
.heading-size-2 {
  font-size: 36px;
}

h3,
.heading-size-3 {
  font-size: 32px;
}

h4,
.heading-size-4 {
  font-size: 28px;
}

h5,
.heading-size-5 {
  font-size: 24px;
}

h6,
.heading-size-6 {
  font-size: 20px;
}

/*----------------------------------------------------------------------------------------------------GENERAL*/

/*--------------------------------------------------HIDE*/

.site-description,
p.powered-by-wordpress,
.home .entry-header,
.entry-content hr::before,
.entry-content hr::after,
hr.styled-separator::before,
hr.styled-separator::after,
.post-meta-wrapper.post-meta-edit-link-wrapper,
.toggle svg.svg-icon,
.home div#breadcrumbs,
nav.pagination-single hr,
.sr-only,
a.to-the-top span {
  display: none;
}

/*--------------------------------------------------ZÁKLADNÍ HTML*/

/*--------------------------------------------------LAYOUT*/
#top:not(.home) {
  padding-top: var(--header);
}
#top .section-inner,
.entry-content > .alignwide,
.wp-block-cover.alignfull .alignwide,
.wp-block-group.alignfull .alignwide,
#breadcrumbs,
.hp-slider,
.hp-slide_content,
#top .slick-dots,
article.motorka {
  width: calc(100% - 40px);
  max-width: 1024px;
  margin: 0 auto;
}
#top .header-inner,
#top .hp-slider {
  max-width: 1440px;
}
:where(.wp-block-columns.is-layout-flex) {
  gap: 20px;
}
[class*="__inner-container"]
  > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(
    .is-style-wide
  ) {
  max-width: 800px;
}
/*margins*/
.primary-menu > li,
ul.primary-menu,
.header-titles .site-logo,
.header-titles,
#top .wp-block-image {
  margin: 0;
}

#top .entry-content > .alignwide:first-child,
.wp-block-columns.alignfull + .wp-block-columns.alignfull,
#top .wp-block-heading:first-child,
#top .footer-widgets .wp-block-group,
#top .footer-widgets .wp-block-columns {
  margin-top: 0;
}

/*paddings*/
#top .af-submit,
.wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container,
.alignfull:not(.has-background) .wp-block-columns {
  padding: 0;
}

/*--------------------------------------------------CLASSY*/
.mb-0 {
  margin-bottom: 0 !important;
}
.mb-8 {
  margin-bottom: 8px !important;
}
.mt-0 {
  margin-top: 0 !important;
}

/*--------------------------------------------------HOVERY*/

/*----------------------------------------------------------------------------------------------------DEFAULT BLOCKS*/
/*--------------------------------------------------COVER*/
.alignwide .wp-block-cover {
  border-radius: 10px;
}
.wp-block-cover,
.wp-block-cover-image {
  padding: 24px;
}
/*--------------------------------------------------BUTTONS*/
.wp-block-buttons {
  display: flex;
  gap: 16px;
}
body button,
body .button,
body .faux-button,
body .wp-block-button__link,
body .wp-block-file .wp-block-file__button,
body input[type="button"],
body input[type="reset"],
body input[type="submit"],
body .bg-accent,
body .bg-accent-hover:hover,
body .bg-accent-hover:focus,
:root .has-accent-background-color,
body .comment-reply-link,
.single-product#top .woocommerce-variation-add-to-cart .button {
  background: var(--p-100);
  border: 1px solid var(--p-100);
  color: white;
  text-transform: none;
  font-weight: 400;
  line-height: 24px;
  padding: 12px 24px;
  border-radius: 25.5px;
}


#top .is-style-outline .wp-block-button__link {
  padding: 12px 24px;
  background: none;
  color: var(--n-100);
  border: 1px solid;
}
/*--------------------------------------------------FORMY*/
#top .acf-fields > .acf-field {
  padding: 0;
  border: none;
}

#top input,
#top textarea,
#top select {
  font-size: 16px;
  padding: 10px;
  border: 1px solid var(--n20);
  line-height: 150%;
  color: var(--neutral-100);
  border-radius: 5px;
}
/*radio a checkbox*/
.frm_checkbox label,
.frm_radio label {
  display: flex;
  gap: 8px;
  cursor: pointer;
}

#top input[type="checkbox"],
#top input[type="radio"] {
  margin: 0 8px 0 0;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  width: 20px;
  height: 20px;
  cursor: pointer;
  position: relative;
  top: 2px;
}

#top input[type="checkbox"]::before,
#top input[type="radio"]::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: white;
  border: 1px solid var(--n-20);
  border-radius: 4px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: "dashicons";
}

#top input[type="radio"]::before {
  border-radius: 100%;
}
#top input[type="checkbox"]:checked::before {
  content: "\f15e";
}

#top input[type="checkbox"]:checked::before,
#top input[type="radio"]:checked::before {
  background: var(--p-100);
}

/*--------------------------------------------------TABULKY*/

/*----------------------------------------------------------------------------------------------------CUSTOM BLOCKS*/
#top .loader {
  width: 50px;
  height: 50px;
  margin: 100px auto;
  background: url(/wp-content/themes/motovlasim/assets/css/ajax-loader.gif)
    no-repeat;
  background-size: contain;
}

#top .slider {
  transform: none;
  z-index: 1;
}

#top .slider:not(.slick-initialized) {
  transform: translateY(-200%);
  transform-origin: top;
} /*--------------------------------------------------POST CAROUSEL*/
.post-carousel .post-item {
  margin: 0 12px;
}
.post-carousel .slick-list {
  margin-left: -12px;
  margin-right: -12px;
}
/*nav*/
.carousel-footer {
    display: flex;
    justify-content: space-between;
    margin: 24px 0;
}
.slider-arrows {
  display: flex;
  gap: 12px;
}
.arrow {
  cursor: pointer;
}
.arrow::before {
  content: "";
  font-family: "dashicons";
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--n-100);
  border: 1px solid #b2bec8;
  border-radius: 100%;
}
.arrow.prev::before {
  content: "\f340";
}
.arrow.next::before {
  content: "\f344";
}
/*--------------------------------------------------POST GRID*/
.post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.post-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
/*motorky*/
.motorky .post-item {
  aspect-ratio: 4 / 3;
}
.motorky .post-link {
  display: flex;
  align-items: flex-end;
  height: 100%;
  text-decoration: none;
  padding: 24px;
}
a.post-link::after {
  content: "\f344";
  font-family: dashicons;
  position: absolute;
  right: 24px;
  bottom: 24px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid white;
  border-radius: 100%;
}
.motorky .post-bgr {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  left: 0;
  top: 0;
}
.motorky .overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 27, 46, 0.24) 61%,
    rgb(10, 27, 45) 100%
  );
}
.post-item:hover .post-bgr:not(.overlay) {
  transform: scale(1.2);
}
.post-content {
  max-width: calc(100% - 48px);
}
.motorky .post-content,
.motorky h3 {
  color: white;
}
.motorky h3 {
  font-size: 16px;
  margin-bottom: 0;
}
.motorky span {
  font-size: 14px;
}
.post-price {
  position: absolute;
  top: 24px;
  left: 24px;
}
/*--------------------------------------------------HOMEPAGE SLIDER*/
#top .hp-slider-block {
  background: var(--n-100);
  margin: 0;
  padding-top: var(--header);
}
.hp-slider-block .slick-list {
  overflow: visible;
}
.hp-slide {
  position: relative;
  aspect-ratio: 16 / 9;
  padding-bottom: 120px;
}
.hp-slide:not(.slick-current) {
  opacity: 0;
}
.hp-slide_overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}
.hp-slide_overlay.bgr_grad {
  background: #0a1a2d;
  background: linear-gradient(
    183deg,
    rgba(10, 26, 45, 0) 0%,
    rgba(10, 26, 45, 0.69) 51%,
    rgba(10, 26, 45, 1) 100%
  );
}
.hp-slide_overlay.bgr_moto {
  width: 60%;
  right: 0;
  top: unset;
  bottom: -60px;
}
.bgr_moto::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  transform: translate(0px, 24px);
  filter: blur(20px);
  opacity: 0.2;
  z-index: 0;
}

.bgr_moto {
  z-index: 1;
}
.hp-slide_content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
#top .hp-slide_content > * {
  width: 50%;
  margin-left: 0;
}
#top .hp-slide_content * {
  color: white;
}
#top .main-title,
#top .main-subtitle {
  margin-bottom: 24px;
}
#top .hp-slider .is-style-outline .wp-block-button__link {
  color: white;
}
ul.slick-dots {
  position: relative;
  bottom: 80px;
  display: flex;
}
.slick-dots li button:before {
  color: white;
  opacity: 1;
  font-size: 20px;
}
.slick-dots li.slick-active button:before {
  color: var(--p-100);
}
/*----------------------------------------------------------------------------------------------------HEADER*/

header#site-header {
  position: fixed;
  width: 100%;
  z-index: 4;
  top: 0;
  background: var(--n-100);
}
#top .header-inner {
  padding: 40px 0;
}
#top .nav-toggle {
  position: unset;
  width: unset;
}

.admin-bar header#site-header {
  top: var(--admin-bar);
}

.scrolled header#site-header .header-inner {
  padding: 12px 0;
}

/*--------------------------------------------------TOPBAR*/

/*--------------------------------------------------LOGO*/
.site-logo img {
  max-height: 60px;
}
/*pohyblivé logo*/
.logo-marquee {
  overflow: hidden;
  width: 100%;
}

.logo-track {
  padding: 24px 0;
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
  align-items: center;
}

.logo-track img {
  width: 30vw;
  margin-right: 24px;
}
.logo-marquee .dot {
  display: block;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 20px;
  margin-right: 24px;
  position: relative;
  bottom: -8px;
}
/* klíč */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/*--------------------------------------------------MENU*/
body#top:not(.overlay-header) .primary-menu > li > a,
.header-cta a {
  color: white;
  font-size: 16px;
  padding: 12px 24px;
  text-decoration: none;
}

body#top:not(.overlay-header) .primary-menu > li.cta > a,
.header-cta a {
  background: var(--p-100);
  border-radius: 24px;
}

/*--------------------SUBMENU*/

/*--------------------------------------------------BURGERMENU*/
body:not(.enable-search-modal) .header-titles-wrapper {
  justify-content: space-between;
  padding: 0;
}

.header-inner .toggle {
  position: relative;
}

button.toggle.close-nav-toggle.fill-children-current-color {
  outline: none !important;
}

span.toggle-icon {
  background: var(--white);
}

span.toggle-icon svg.svg-icon path,
span.toggle-text {
  display: none;
}

span.toggle-icon::before,
span.toggle-icon::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  display: block;
  background: var(--white);
  position: absolute;
}

span.toggle-icon::before {
  top: -3px;
}

span.toggle-icon::after {
  bottom: 0px;
  right: 0;
}

.nav-toggle .toggle-icon,
.nav-toggle svg {
  height: 3px;
  width: 4rem;
}

/*modal*/

.menu-modal-inner.modal-inner,
.menu-modal.active {
  background: none;
}

#top .toggle.active span.toggle-icon {
  background: transparent;
}

.toggle.active span.toggle-icon::before {
  transform: rotate(-45deg) translate(-7px, 10px);
}

.toggle.active span.toggle-icon::after {
  transform: rotate(45deg) translate(-6px, -10px);
}

/*----------------------------------------------------------------------------------------------------MAIN CONTENT - BLOG*/
/*--------------------------------------------------SINGLE POST*/

#top .pagination-single {
  width: 100%;
  padding: 20px 0;
  font-size: 16px;
  border-top: 1px solid var(--neutral-10);
  margin-top: 40px;
}
/*--------------------------------------------------MOTORKA*/
article.motorka {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.singular article.motorka .featured-media-inner {
  left: unset;
  width: 100% !important;
}
/*----------------------------------------------------------------------------------------------------MAIN CONTENT - PAGE*/

/*--------------------------------------------------TITLE*/

/*--------------------BREADCRUMBY*/
div#breadcrumbs {
  padding: 10px 0;
  font-size: 14px;
  color: var(--neutral-70);
}

div#breadcrumbs a {
  color: var(--neutral-100);
}

/*--------------------------------------------------SIDEBAR*/

/*----------------------------------------------------------------------------------------------------FOOTER*/
.footer-widgets-outer-wrapper {
  border: none;
  padding-bottom: 40px;
}
#top .footer-nav-widgets-wrapper {
  background: var(--n-100);
  color: white;
  margin: 0;
  border: none;
}
#top .widget_text * {
  color: white;
}

#top .widget_text a {
  text-decoration: none;
}
#top .widget_text .has-primary-color a {
  color: var(--p-100);
}
#top .footer-top-widget .wp-block-heading {
  max-width: 800px;
  line-height: 104%;
  margin-bottom: 16px;
}

#top .cta.wp-block-cover {
    padding: 120px 24px;
}
/*--------------------------------------------------SOCKET*/
footer#site-footer {
  background: var(--n-100);
  color: white;
  font-size: 14px;
  padding: 16px 0;
}

footer#site-footer * {
  font-size: 14px;
  font-weight: 400;
}

#top:not(.scrolled) .to-the-top {
  opacity: 0;
}

a.to-the-top {
  position: fixed;
  right: 20px;
  bottom: 8px;
  font-size: 0;
  text-decoration: none !important;
}

a.to-the-top::after {
  content: "\f343";
  font-family: "dashicons";
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  color: var(--p-100);
  background: white;
  border-radius: 100%;
  border: 1px solid var(--n-20);
}
/*----------------------------------------------------------------------------------------------------RESPONZE*/
/*malé notebooky*/
@media (max-width: 1000px) {
}

/*tablety*/
@media (max-width: 782px) {
  :root {
    --admin-bar: 46px;
  }

  h1,
  .heading-size-1,
  .woocommerce-products-header__title.page-title {
    font-size: 30px;
  }

  #top h2,
  #top .heading-size-2 {
    font-size: 26px;
  }

  h3,
  .heading-size-3 {
    font-size: 24px;
  }

  h4,
  .heading-size-4 {
    font-size: 22px;
  }

  h5,
  .heading-size-5,
  #top .woocommerce-loop-product__title,
  .cart_item .product-name a,
  #top .sidebar .wp-block-heading,
  #top h2.tab-title,
  #top h3.item-title {
    font-size: 20px;
  }

  h6,
  .heading-size-6,
  #top .tab-content h3 {
    font-size: 18px;
  }

  .logo-track img,
  .logo-marquee .dot {
    margin-right: 16px;
  }
  .logo-marquee .dot {
    width: 8px;
    height: 8px;
  }
}

/*mobily*/
@media (max-width: 500px) {
}
