/*
 Theme Name:   Kinga Wierzbicka
 Author:       Gosia Goźdź myspot.ON
 Template:     Divi
 Version:      1.66
*/

/* ============== GLOBAL STYLES ============== */

/* Fix a horizontal scroll bug on mobile browsers */
#page-container {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

/* Text Module */
.kw-text h1,
.kw-text h2,
.kw-text h3,
.kw-text h4,
.kw-text h6 {
  font-family: "roca", sans-serif!important;
  font-weight: 400;
  padding-bottom: .25em;
}

.kw-text h1:not(:first-child),
.kw-text h2:not(:first-child),
.kw-text h3:not(:first-child),
.kw-text h4:not(:first-child),
.kw-text h5:not(:first-child),
.kw-text h6:not(:first-child) {
  padding-top: .25em;
}

.kw-text ul li,
.kw-text ol li {
  line-height: 1.2em;
}

.kw-text p:last-of-type {
  padding-bottom: .5em;
}
.kw-text p:last-child {
  padding-bottom: 0;
}

strong, b {
  font-weight: 800!important;
}

/* ============== LAYOUT ============== */

/* SELECTION */
::selection {
  background-color: #BF5D43;
  color: #ffffff;
}



/* ============== MOBILE MENU ============== */
#kw-header .mobile_menu_bar:before {
  font-size: 50px;
}

#kw-header ul#mobile_menu1 {
  padding-top: 100px !important;
}

#kw-header .opened .mobile_menu_bar:before {
  content: '\4d';
}

#kw-header .mobile_menu_bar {
  z-index: 40;
}

#kw-header .et_mobile_menu {
  position: fixed;
	background:#523A3D!important;
  display: block !important;
  margin: 0 !important;
  height: 100% !important;
  min-height: 100vh;
  padding: 100px 0 0 !important;
  max-width: 100vw;
  left: 0;
  right: 0;
  top: 0;
  z-index: 39;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.6s ease;
}

#kw-header .et_mobile_menu a {
  font-size: 26px;
}

#kw-header .opened .et_mobile_menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#kw-header .opened .et_mobile_menu .menu-item-has-children a {
  background: transparent;
}

#kw-header.et_pb_sticky * {
  transform: none !important;
}

@media (max-width:980px) {
  #kw-header .sub-menu a {
    width: 350px;
  }

  #kw-header ul a {
    padding: 10px 25px;
  }

  #kw-header .sub-menu {
    width: auto;
    padding: 0 !important;
  }

  #kw-header .sub-menu li a,
  #kw-header .sub-menu li a:hover,
  #kw-header .sub-menu li:last-child a {
    padding: 0 25px 10px 35px;
  }
}


/* ============== FOOTER ============== */
#kw-footer .et_pb_menu__menu,
#kw-footer .et_pb_menu .et_pb_menu__menu > nav > ul {
  display: flex;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
}

#kw-footer .et_pb_menu__wrap {
  justify-content: center !important;
}

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

  #kw-footer .et_pb_menu--style-left_aligned .et_pb_menu__wrap {
    justify-content: center;
  }

  #kw-footer .et_pb_menu__menu,
  #kw-footer .et_pb_menu .et_pb_menu__menu > nav > ul {
    align-items: center !important;
  }

  #kw-footer .et_pb_menu__wrap {
    justify-content: center !important;
  }
}


/* ============== BACK TO TOP ============== */
.et_pb_scroll_top {
  padding: 10px !important;
}

.et_pb_scroll_top.et-visible {
  opacity: 1;
  animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
}

.et_pb_scroll_top.et-pb-icon {
  right: 15px;
  bottom: 20px;
  border-radius: 50px;
  background: #E3EDFE;
  padding: 4px;
  transition: all .2s ease-in;
}

.et_pb_scroll_top.et-pb-icon:hover {
  background: #ffffff;
}

.et_pb_scroll_top:before {
  content: "\21";
  color: #171C4A;
}


/** COOKIES BANNER **/
.cky-consent-bar {
  border-radius: 0 !important;
}

.cky-consent-bar p {
  line-height: 1.3em;
}

@media (max-width:980px) {
  .cky-consent-bar p {
    font-size: 13px;
    line-height: 1.0;
  }
  .cky-consent-bar {
    padding: 10px !important;
  }

  p.cky-title, .cky-notice-des, .cky-notice-btn-wrapper {
    padding: 0 15px !important;
  }

  .cky-notice-btn-wrapper {
    display: inline-block !important;
  }

  button.cky-btn {
    width: 100px;
    padding: .25em;
  }
}




/*Timeline*/
.kw-timeline .date-icon.active {
color:#BF5D44!important;}

/*Slider*/
/* Wyłączenie efektu fade w sliderze Divi */
.et_pb_slider .et_pb_slide {
    transition: none !important;
    opacity: 1 !important;
}

/* Divi dodaje też klasę et_slide_transition_to_next */
.et_pb_slider.et_slide_transition_to_next .et_pb_slide {
    transition: none !important;
}

