/*
 Theme Name:   Natalia DembiĹska
 Author:       Gosia Gozdz myspot.ON
 Template:     Divi
 Version:      1.32

*/

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

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

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



/* ============== TEXT STYLE ============== */

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:.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) ::marker {
  color:var(--gcid-primary-color);
}
:where(.et_pb_text) :is(ol,ul) li:not(:last-child) {
  padding-bottom:.5em;
}



/* Style Blockquotes */
:where(.et_pb_text) blockquote {
  border:none;
  position:relative;
  padding:30px;
  margin:.5em 0 1.5em;
}
:where(.et_pb_text) blockquote::after {
  content:none;
}
:where(.et_pb_text) blockquote::before {
  content:'';
  background:linear-gradient(90deg, #C9E5CC 0%, #CEE4F4 100%);
  width:100%;
  height:100%;
  position:absolute;
  z-index:-1;
  left:0; 
  top:0;
}



/* Style Links */
:where(.et_pb_text) a {
  transition: all .2s linear;
  text-underline-offset:.24em;
  text-decoration-thickness:.1em;
}
:where(.et_pb_text) a:hover {
  text-underline-offset:.12em;
}



/* ============== BACK TO TOP ============== */
.et_pb_scroll_top:before {
  content: '!';
}

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

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

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



/* ===================== FORMULARZ ===================== */

.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;
    color:#195D51;
    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 {
   background:#F3BE3D!important;
    box-shadow:none!important;}


/* =========================
   FOOTER
========================= */
@media (max-width:980px) {
  #z-footer .et_mobile_nav_menu {
    display: none!important;
  }
  #z-footer .et_pb_menu__menu {
    display: block!important;
  }
  #z-footer .et_pb_menu__menu,
  #z-footer .et_pb_menu__menu > nav > ul {
    display: flex;
    flex-direction: column!important;
    flex-wrap: nowrap!important;
  }
  #z-footer .et_pb_menu--style-left_aligned .et_pb_menu__wrap {
    justify-content: flex-start!important;
  }
  #z-footer .pa-regulaminy .et_pb_menu__menu > nav > ul {
    flex-direction: row!important;
    justify-content: flex-start!important;
    flex-wrap: wrap!important;
  }
}