/*!
Theme Name: ivahautologistics
Theme URI: https://qodeum.com/
Author: qodeum.com
Author URI: https://qodeum.com/
Description:
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ivahautologistics
Tags:
-------------------------------------------------------------------- */
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*:focus,
*:active {
  outline: none;
}

:root {
  /*  */
  --default-font-family: "Exo 2", sans-serif;
  --default-font-size: 16px;

  /*  */
  --default-line-height: 1.64;

  /*  */
  --default-gap: 96px;

  /* color */
  --color-black-trans: rgba(0, 0, 0, 0.16);
  --color-black-light: #1c1817;
  --color-black: #000000;

  --color-white-trans: rgba(255, 255, 255, 0.16);
  --color-white: #ffffff;

  --color-gray-light: #f8f8f8;
  --color-gray: #787878;

  --color-accent-trans: rgba(249, 63, 6, 0.16);
  --color-accent: rgb(249, 64, 6);
  --color-accent-dark: rgb(174, 45, 4);
  --color-accent-gradient: linear-gradient(
    var(--color-accent) 0%,
    var(--color-accent-dark) 100%
  );

  /*  */
  --font-size-h1: 64px;
  --line-height-h1: 1.24;

  --font-size-h2: 48px;
  --font-size-h3: 40px;
  --font-size-h4: 32px;
  --font-size-h5: 24px;
  --font-size-h6: 16px;

  --font-size-sm: 20px;

  /*  */
  --button-size-xs: 32px;
  --button-size-sm: 40px;
  --button-size-md: 48px;
  --button-size-lg: 56px;
}

html {
  font-size: var(--default-font-size);
  scroll-behavior: smooth;
}

body {
  font-weight: 400;
  font-size: var(--default-font-size);
  font-family: var(--default-font-family);
  line-height: var(--default-line-height);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600; /* bold */
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

h5 {
  font-size: var(--font-size-h5);
}

h6 {
  font-size: var(--font-size-h6);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  cursor: pointer;
}

p {
  line-height: var(--default-line-height);
}

b,
strong {
  font-weight: 600; /* bold */
}

ul,
ol,
dl {
  line-height: var(--default-line-height);
  list-style: none;
}

img {
  height: auto;
  max-width: 100%;
}

hr {
  border: none;
  border-bottom: 1px solid var(--color-black-trans);
}

blockquote {
  padding: 16px;
  position: relative;
  background: var(--color-accent-trans);
  border-left: 2px solid var(--color-accent);
}

sup {
  font-size: 14px;
}

/*  */
table,
td,
th {
  border: 1px solid var(--color-black);
}

table {
  width: 100%;
  border-collapse: collapse;
}

tr:nth-child(even) {
  background-color: var(--color-accent-trans);
}

td,
th {
  padding: 8px 16px;
  text-align: left;
  position: relative;
}

thead {
  font-weight: 600; /* bold */
  color: var(--color-black);
  background: var(--color-accent);
}

thead td {
  vertical-align: middle;
}

/*  */
section {
  gap: 48px 0;
  display: flex;
  flex-direction: column;

  overflow: hidden;
  position: relative;

  padding: var(--default-gap) 0;
}

/*  */
section.hero {
  min-height: calc(100vh - 296px);
  color: var(--color-white);
  background: linear-gradient(
      to bottom,
      rgba(28, 24, 23, 0.48) 0%,
      rgba(28, 24, 23, 0.48) 100%
    ),
    var(--color-black-trans);

  padding: calc(var(--midhead-height) + var(--default-gap)) 0 var(--default-gap)
    0;
}

/*  */
.section__background {
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

/*  section Trasy
------------------------------------------ */
section#Trasy {
  padding: 0;
  width: 100%;
  height: 768px;
  position: relative;
}

/*  */
#Trasy-map {
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  position: absolute;
}

/*  section contact
------------------------------------------ */
section#Kontakt {
  color: var(--color-white);
  background: var(--color-accent-gradient);
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 1280px) {
  .hide-1280 {
    display: none !important;
  }
}

@media only screen and (max-width: 992px) {
  :root {
    --deafult-gap: 48px;

    --font-size-h1: 40px;
    --font-size-h2: 36px;
    --font-size-h3: 32px;
    --font-size-h4: 28px;

    --font-size-sm: 16px;
  }
  .hide-992 {
    display: none !important;
  }
}

@media only screen and (max-width: 768px) {
  .hide-768 {
    display: none !important;
  }
}

@media only screen and (max-width: 576px) {
  .hide-576 {
    display: none !important;
  }
}

/*  */
@media only screen and (min-width: 1280px) {
  .show-1280 {
    display: none !important;
  }
}

@media only screen and (min-width: 992px) {
  .show-992 {
    display: none !important;
  }
}

@media only screen and (min-width: 768px) {
  .show-768 {
    display: none !important;
  }
}

@media only screen and (min-width: 576px) {
  .show-576 {
    display: none !important;
  }
}

/* --------------------------------------------------------------------
 *
 *  site header
 *
 *  —— masthead
 *  —— mastside
 *
-------------------------------------------------------------------- */
:root {
  /* midhead */
  --midhead-height: 80px;

  /* menu */
  --masthead-menu-gap: 32px;
  --masthead-menu-item-gap: 4px;
  --masthead-menu-item-height: 48px;
  --masthead-menu-item-icon-size: 24px;
  --masthead-menu-item-icon-color: var(--color-black);
  --masthead-menu-item-icon: url("https://api.iconify.design/ri/arrow-down-s-fill.svg")
    no-repeat center / contain;

  /* menu sub */
  --masthead-sub-menu-gap: 8px;
  --masthead-sub-menu-width: 220px;
  --masthead-sub-menu-padding: 24px;
}

.site-header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  position: fixed;
  transition: ease-in-out 0.16s;
  color: var(--color-white);
}

.site-header--onscroll {
  color: var(--color-white);
  background: var(--color-black-light);
}

/*  masthead
-------------------------------------------------------------------- */
.masthead,
.masthead-panel,
.masthead [class*="col-"] {
  gap: 32px;
  display: flex;
  align-items: center;
}

/* masthead */
.masthead {
  transition: ease-in-out 0.16s;
}

.masthead [class*="col-"] {
  flex-direction: row;
  justify-content: space-between;
}

/*  */
#midhead {
  height: var(--midhead-height);
}


/*  masthead navigation
------------------------------------------ */
.masthead-navigation {
  padding: 0 32px;
  border-radius: 8px;
  border: 1px solid var(--color-white-trans);
}

.masthead-navigation .menu,
.masthead-navigation .menu-item {
  display: flex;
  position: relative;
  align-items: center;
}

/* menu */
.masthead-navigation .menu {
  gap: var(--masthead-menu-gap);
}

/* menu item */
.masthead-navigation .menu-item {
  cursor: pointer;
  transition: 0.16s ease-in-out;

  gap: var(--masthead-menu-item-gap);
  height: var(--masthead-menu-item-height);
}

.masthead-navigation .current-menu-item {
  color: var(--color-accent);
}

/* sub menu */
.masthead-navigation .sub-menu {
  left: 50%;
  z-index: 1;
  opacity: 0;
  display: flex;
  visibility: hidden;
  position: absolute;
  flex-direction: column;

  transform: translateX(-50%);
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.08);
  transition: opacity 0.16s ease-in-out, visibility 0.16s ease-in-out;

  color: var(--color-white);
  gap: var(--masthead-sub-menu-gap);
  background: var(--color-black-light);
  top: var(--masthead-menu-item-height);
  min-width: var(--masthead-sub-menu-width);
  padding: var(--masthead-sub-menu-padding);
}

.masthead-navigation .menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
}

/* sub menu item */
.masthead-navigation .sub-menu .menu-item {
  height: auto;
  font-size: 12px;

  text-transform: none;
}

/* --------------------------------------------------------------------
 *
 *  site footer
 *
 *  —— 
 *  —— 
 *
-------------------------------------------------------------------- */
.colophon {
  padding: var(--default-gap) 0;
  color: var(--color-gray-light);
  background: var(--color-black-light);
}

.colophon [class*="col-"] {
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}

/*  */
.colophon__panel {
  display: flex;
  gap: 16px 32px;
}

/* --------------------------------------------------------------------
 *
 *  components
 *
 *  —— 
 *  —— 
 *
-------------------------------------------------------------------- */

/*  component: editor
-------------------------------------------------------------------- */
.editor {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/*  */
.editor ul,
.editor ol {
  gap: 0px;
  display: flex;
  margin: 0 0 0 16px;
  flex-direction: column;
}

.editor ul {
  list-style: square;
}

.editor ol {
  list-style: decimal;
}

/*  */
.editor iframe {
  width: 100%;
  height: 420px;
}

/*  */
.editor a {
  text-decoration: underline;
  color: var(--color-accent);
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 992px) {
  /*  */
  .editor br {
    display: none;
  }
}

/*  component: card
-------------------------------------------------------------------- */
.card,
.card__panel {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

.card__panel {
  gap: 8px;
}

/*  */
.card__title {
  display: flex;
  font-weight: 600; /* bold */
  transition: ease-in-out 0.16s;
  font-size: var(--font-size-sm);
}

/*  */
.card-feed {
  gap: 32px;
  display: flex;
  flex-direction: column;
}

/*  component: logo
-------------------------------------------------------------------- */
.logo {
  gap: 16px;
  display: flex;
  align-items: center;
}

/*  */
.logo__img {
  max-height: 48px;
}


/*  component: separator
-------------------------------------------------------------------- */
.separator {
  width: 100%;
  margin: 0 auto;
  max-width: calc(var(--container-width) - calc(var(--col-gap) * 2));
}

/*  */
.separator--white {
  border-bottom-color: var(--color-white-trans);
}

/*  */
.separator--top,
.separator--bottom {
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.separator--top {
  top: 0;
}

.separator--bottom {
  bottom: 0;
}

/*  component: headline
-------------------------------------------------------------------- */
.headline {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

.headline--center {
  align-items: center;
}

.headline--end {
  align-items: flex-end;
}

/*  */
.headline-group {
  display: flex;
  justify-content: space-between;
}

/*  */
.headline__title {
  font-weight: 600; /* bold */

  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
}

.headline__title--lg {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
}

/*  */
.headline__label {
  opacity: 0.32;
  font-weight: 600;
  font-style: italic;
}

/*  component: widget
-------------------------------------------------------------------- */
.widget {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/*  */
.widget__title {
  font-weight: 600; /* bold */
  font-size: var(--font-size-sm);
}

/*  component: accordion
-------------------------------------------------------------------- */
.accordion {
  position: relative;
  --accordion-button-icon: url("https://api.iconify.design/ri/arrow-down-s-fill.svg")
    no-repeat center / contain;
}

/*  */
.accordion__button {
  cursor: pointer;
  position: relative;

  font-weight: 600; /* bold */
  font-size: var(--font-size-sm);

  border-radius: 8px;
  transition: ease-in-out 0.16s;
  padding: 16px 48px 16px 24px;
  border: 1px solid var(--color-black-trans);
}

.accordion__button::after {
  top: 50%;
  right: 16px;
  transform: translateY(-50%);

  content: "";
  width: 24px;
  height: 24px;
  position: absolute;
  display: inline-block;
  transition: ease-in-out 0.16s;
  background: var(--color-black-trans);

  -webkit-mask: var(--accordion-button-icon);
  mask: var(--accordion-button-icon);
}

.accordion__button:hover::after,
.accordion__button.active::after {
  background: var(--color-black);
}

.accordion__button::selection {
  background: transparent;
}

.accordion__button:hover,
.accordion__button.active {
  color: var(--color-accent);
  border-color: var(--color-accent-trans);
}

/*  */
.accordion__content {
  display: none;
  padding: 16px 16px 0 16px;
}

/*  component: tab
-------------------------------------------------------------------- */
.tab-group {
  gap: 32px;
  display: flex;
  flex-direction: column;
}

/*  */
[data-tab-content] {
  display: none;
}

[data-tab-content].tab--active {
  display: block;
  animation: fadeEffect 0.08s ease-in;
}

/*  */
@-webkit-keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*  component: sidebar
-------------------------------------------------------------------- */
:root {
  --sidebar-width: 320px;
}

.sidebar {
  top: 0;
  right: 0;
  height: 100%;
  position: fixed;
  overflow-y: scroll;
  color: var(--color-white);
  width: var(--sidebar-width);
  transform: translateX(100%);
  background: var(--color-black-light);
  transition: transform 0.16s ease-out;
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar > * {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar > *:not(:last-child) {
  border-bottom: 1px solid var(--color-white-trans);
}

/*  */
.sidebar-head {
  padding: 0 32px;
  min-height: calc(var(--midhead-height) * 1);
}

/*  */
.sidebar-panel {
  gap: 16px;
  padding: 32px;
}

/*  sidebar navigation
------------------------------------------ */
.sidebar-navigation .menu *::selection {
  background: transparent;
}

/* sidebar navigation menu-item */
.sidebar-navigation .menu .menu-item {
  position: relative;
}

.sidebar-navigation .menu .menu-item:not(:last-child) {
  border-bottom: 1px solid var(--color-white-trans);
}

/* sidebar navigation menu-item > a */
.sidebar-navigation .menu .menu-item > a {
  z-index: 1;
  display: block;
  position: relative;
  padding: 16px 0 16px 32px;
  max-width: calc(100% - 80px);
  transition: ease-in-out 0.16s;
}

.sidebar-navigation .menu .menu-item > a:hover,
.sidebar-navigation .menu [class*="current-menu-"] > a {
  color: var(--color-accent);
}

.sidebar-navigation .menu .menu-item > a:hover {
  text-decoration: underline;
}

/* sidebar navigation menu-item-has-children > a */
.sidebar-navigation .menu .menu-item-has-children > a {
  display: inline-block;
}

/* sidebar navigation menu-item > accordion-button */
.sidebar-navigation .menu-item > span {
  right: 0;
  top: 14px;
  width: 100%;
  height: 24px;
  opacity: 0.32;
  display: block;
  cursor: pointer;
  position: absolute;
  transition: ease-in-out 0.16s;
  background: url("https://api.iconify.design/mdi-light/chevron-down.svg?color=white")
    no-repeat right 32px center / contain;
}

.sidebar-navigation .menu-item > span {
  opacity: 1;
}

/* sidebar navigation sub-menu */
.sidebar-navigation .sub-menu {
  background: var(--color-white-trans);
}

/*  */
.button--sidebar {
  z-index: 1;
  position: relative;
}

/*  component: contact
-------------------------------------------------------------------- */
.contact {
  gap: 0 8px;
  display: flex;
  flex-direction: column;
  line-height: var(--default-line-height);
}

/*  contact group
------------------------------------------ */
.contact-group {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/*  */
.contact-group--inline {
  flex-direction: row;
  align-items: center;
}

/*  component: swiper
-------------------------------------------------------------------- */
.swiper--endless {
  padding: 0 var(--col-gap) !important;
}

@media (min-width: 1440px) {
  .swiper--endless {
    padding: 0 var(--default-gap) !important;
  }
}

/*  swiper slide
----------------------------------------- */
.swiper-slide {
  height: auto !important;
}

/*  component: language switcher
-------------------------------------------------------------------- */
:root {
  --language-switcher-icon: url("https://api.iconify.design/cil/language.svg")
    no-repeat center / contain;
}

.wpm-language-switcher {
  gap: 8px;
  display: flex;
  padding: 8px 0;
  position: relative;
  align-items: center;

  font-weight: 600; /* bold */
}

.wpm-language-switcher::before {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  background: var(--color-black);

  -webkit-mask: var(--language-switcher-icon);
  mask: var(--language-switcher-icon);
}

/* wpm language dropdown */
.wpm-language-dropdown {
  flex-direction: column;
  min-width: max-content;
  display: flex !important;

  left: 50%;
  position: absolute;
  top: calc(100% + 8px) !important;
  transform: translateX(-50%);

  opacity: 0;
  visibility: hidden;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.08);
  transition: opacity 0.16s ease-in-out, visibility 0.16s ease-in-out;

  padding: 24px !important;
  border-radius: 0;
  background: var(--color-white);
}

.wpm-language-switcher:hover .wpm-language-dropdown {
  opacity: 1;
  visibility: visible;
}

/*  component: button
-------------------------------------------------------------------- */
.button,
input[type="button"] {
  gap: 8px;
  display: flex;
  align-items: center;
  justify-content: center;

  outline: none;
  cursor: pointer;

  padding: 0px 32px;
  text-align: center;

  font-size: inherit;
  font-family: inherit;

  min-width: max-content;
  height: var(--button-size-md);

  border-radius: 8px;
  transition: ease-in-out 0.16s;
  border: 1px solid transparent;

  color: var(--color-white);
  background: var(--color-accent-gradient);
}

.button:hover,
input[type="button"]:hover {
  opacity: 0.64;
}

.button--lg {
  height: var(--button-size-lg);
}

.button--md {
  height: var(--button-size-md);
}

.button--sm {
  height: var(--button-size-sm);
}

.button--xs {
  height: var(--button-size-xs);
}

/*  */
.button--white {
  color: var(--color-black) !important;
  background: var(--color-white);
}

/*  */
.button--outline {
  color: inherit;
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent-trans);
}

.button--outline.button--white {
  color: var(--color-white) !important;
  border-color: var(--color-white-trans);
}

/*  */
.button--uniform {
  padding: 0;
  font-size: 20px;
  min-width: unset;
  aspect-ratio: 1 / 1;
}

.button--round {
  border-radius: 100%;
}

/*  */
.button--active {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/*  button group
------------------------------------------ */
.button-group {
  gap: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/*  component: modal
-------------------------------------------------------------------- */
.modal {
  display: none;
}

/*  component: thumbnail
-------------------------------------------------------------------- */
.thumbnail {
  --thumbnail-size: unset;
  --thumbnail-size-xs: 64px;
  --thumbnail-size-sm: 128px;
  --thumbnail-size-md: 256px;
  --thumbnail-size-lg: 512px;

  width: 100%;
  height: var(--thumbnail-size);

  display: block;
  line-height: 0;
  overflow: hidden;
  position: relative;

  border-radius: 8px;
  background: transparent;
  transition: ease-in-out 0.16s;

  color: var(--color-white);
  /* background: var(--color-black-trans); */
}

/*  */
.thumbnail--xs {
  --thumbnail-size: var(--thumbnail-size-xs);
}
.thumbnail--sm {
  --thumbnail-size: var(--thumbnail-size-sm);
}
.thumbnail--md {
  --thumbnail-size: var(--thumbnail-size-md);
}
.thumbnail--lg {
  --thumbnail-size: var(--thumbnail-size-lg);
}

/*  */
.thumbnail--uniform {
  width: 100%;
  height: 100%;

  aspect-ratio: 1 / 1;
}

/*  */
.thumbnail--overlay {
  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.16) 50%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

/*  */
.thumbnail--contain {
  padding: 0;
}

.thumbnail--contain .thumbnail__media {
  position: unset;
  object-fit: contain;
}

/*  thumbnail media
----------------------------------------- */
.thumbnail__media {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  object-position: center;
  transition: ease-in-out 0.16s;
}

a.thumbnail:hover .thumbnail__media {
  transform: scale(1.08);
}

/*  thumbnail panel
----------------------------------------- */
.thumbnail__panel {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;

  /*  */
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/*  thumbnail title
----------------------------------------- */
.thumbnail__title {
  display: flex;
  font-weight: 600; /* bold */
  transition: ease-in-out 0.16s;
}

/*  component: counter
-------------------------------------------------------------------- */
.counter {
  display: flex;
  flex-direction: column;
}

.counter__number {
  font-weight: 600; /* bold */
  font-size: var(--font-size-h2);
}

/*  component: form
-------------------------------------------------------------------- */
form {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/*  label
------------------------------------------ */
label {
  gap: 8px;
  display: flex;
  font-weight: 600;
  align-items: baseline;
}

/*  fieldset
------------------------------------------ */
fieldset {
  margin: 0;
  height: 100%;
  padding: 16px;
  border-radius: 4px;
  border: 1px solid var(--color-black);
}

.fieldset--white {
  border-color: rgba(255, 255, 255, 0.32);
}

/*  */
.fieldset-group {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

.fieldset-group__title {
  padding: 16px;
  color: var(--color-gray);
  background: var(--color-gray-light);
}

/* legend */
legend {
  font-weight: 600;
  padding: 0 16px;
}

/*  field
------------------------------------------ */
input,
select,
textarea {
  width: 100%;
  border: none;
  padding: 0 16px;
  font-size: inherit;
  background: transparent;
  color: inherit !important;
  font-family: inherit;
}

textarea {
  height: 100%;
  max-height: 128px;
}

input[type="radio"],
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  background: transparent;
}

input[type="submit"] {
  max-width: max-content;
  color: var(--color-white);
}

/*  contact from 7
------------------------------------------ */

/* .wpcf7-form-control-wrap */
.wpcf7-form-control-wrap {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/* wpcf7-form-control */
.wpcf7-form-control {
  gap: 16px;
  display: flex;
}

/* .wpcf7-list-item */
.wpcf7-list-item {
  gap: 8px;
  margin: 0;
  display: flex;
  align-items: center;
}

/* .wpcf7-spinne */
.wpcf7-spinner {
  top: 50%;
  right: 25px;
  position: absolute;
  transform: translateY(-50%);
}

/* .wpcf7-response-output */
.wpcf7-response-output {
  border-radius: 0px;
  border-width: 2px;
  margin: 0 !important;
  padding: 16px !important;
}
