/*
 Theme Name:   AP Studio
 Author:       myspot.ON
 Template:     Divi
 Version:      1.03
*/

@import url("https://use.typekit.net/fww7lxj.css");

/* ==================================================
   01. GLOBALNE
   Podstawowe ustawienia strony i poprawki przewijania.
================================================== */

#page-container {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}



/* ==================================================
   02. FONTY
   Font-face dodawaj tylko wtedy, gdy fonty sa wgrane
   do motywu lub biblioteki mediow.
================================================== */

/*
@font-face {
  font-family: "Nazwa Fontu";
  src: url("fonts/nazwa-fontu.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
*/

.mixta,
.mixta h1,
.mixta h2,
.mixta h3,
.mixta h4,
.mixta h5,
.mixta h6,
.mixta .et_pb_module_header,
.mixta.et_pb_module .et_pb_module_header {
  font-family: "mixta-pro", serif;
}



/* ==================================================
   03. TYPOGRAFIA I TRESC
   Powtarzalne style Divi Text: listy, linki, cytaty.
================================================== */

ul,
li,
ol {
  line-height: 1.2em !important;
}

:where(.et_pb_text) :is(p, ul, ol, blockquote) ~ :is(h1, h2, h3, h4, h5, h6) {
  padding-top: 0.75em;
}

:where(.et_pb_text) p:last-of-type {
  padding-bottom: 1em;
}

:where(.et_pb_text) :is(p, ul, ol, blockquote):last-child {
  padding-bottom: 0;
}

:where(.et_pb_text) :is(ol, ul) li:not(:last-child) {
  padding-bottom: 0.5em;
}

:where(.et_pb_text) a {
  transition: all 0.2s linear;
  text-underline-offset: 0.24em;
  text-decoration-thickness: 0.1em;
}

:where(.et_pb_text) a:hover {
  text-underline-offset: 0.12em;
}

:where(.et_pb_text) blockquote {
  border: none;
  padding: 0.5em 1em;
  margin: 0.5em 0 1.5em;
}



/* ==================================================
   04. HEADER
   Style naglowka, menu desktop i menu mobile.
================================================== */

/* Tutaj dodawaj style naglowka projektu. */



/* ==================================================
   05. BACK TO TOP
   Przycisk powrotu do gory strony Divi.
================================================== */

.et_pb_scroll_top::before {
  content: "!";
}

.et_pb_scroll_top.et-pb-icon {
  background: transparent;
  padding: 12px;
  font-size: 22px;
  right: 20px;
  bottom: 40px !important;
}

.et_pb_scroll_top.et-pb-icon.et-visible {
  transition: all 0.3s ease-in-out;
}

@media (max-width: 1024px) {
  .et_pb_scroll_top.et-pb-icon {
    border-radius: 8px;
    right: 14px;
    bottom: 20px !important;
  }
}



/* ==================================================
   06. FORMINATOR
   Bazowe style formularzy Forminator.
================================================== */

.forminator-field input,
span.select2-selection.select2-selection--single,
textarea {
  padding: 15px !important;
}

#checkbox-1 label {
  align-items: flex-start !important;
}

span.forminator-checkbox-label {
  line-height: 1.2em !important;
  text-align: left !important;
  font-size: 14px !important;
  width: 80%;
}

@media (max-width: 980px) {
  span.forminator-checkbox-label {
    width: 100%;
  }
}

button.forminator-button.forminator-button-submit {
  border-radius: 40px !important;
  font-size: 18px !important;
  padding: 0.75em 3em !important;
  display: block !important;
  margin-left: auto !important;
  margin-top: 20px !important;
  text-transform: uppercase;
}

button.forminator-button.forminator-button-submit:hover {
  box-shadow: none !important;
}



/* ==================================================
   07. FOOTER
   Stopka i menu w stopce.
================================================== */

@media (max-width: 980px) {
  #ap-footer .et_mobile_nav_menu {
    display: none !important;
  }

  #ap-footer .et_pb_menu__menu {
    display: block !important;
  }

  #ap-footer .et_pb_menu__menu,
  #ap-footer .et_pb_menu__menu > nav > ul {
    display: flex;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }

  #ap-footer .et_pb_menu--style-left_aligned .et_pb_menu__wrap {
    justify-content: flex-start !important;
  }
}



/* ==================================================
   08. RESPONSIVE / DROBNE FIXY
   Korekty dopisywane na koncu, jesli nie pasuja
   do zadnej sekcji wyzej.
================================================== */