/*
 Theme Name:   Sylwia Chojecka
 Author:       Gosia Góźdź myspot.ON
 Template:     Divi
 Version:      1.43
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  dsa
*/

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

/*SELECTION*/
::selection {
     background-color: #CEBDA4;
     color: #231F20;}

/*Wyśrodkowana sekcja*/
@media (min-width:980px){
  .sch-center {
  display:flex;
  flex-direction:row;
  align-items:center;}
}

/*REVERSE COLUMNS ON MOBILE*/
@media screen and (max-width: 980px) {
    .sch-reverse {
        display: flex;
        flex-direction: column-reverse;}
} 

/*Przycisk powrotu do góry*/
.et_pb_scroll_top {
  padding:10px!important;}

.et_pb_scroll_top.et-visible {
    opacity: 1;
    -webkit-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
    -moz-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
    -o-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,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: #FFFFFF;
    padding: 4px;
    transition: all .2s ease-in;
}
 
.et_pb_scroll_top.et-pb-icon:hover {
    background: #EBE3DB;
    transition: all .2s ease-in;
}
 
.et_pb_scroll_top:before {
    content: "\21";
    color:#231F20;
}

/* Text Module */
.sch-text h1,
.sch-text h2,
.sch-text h3,
.sch-text h4,
.sch-text h5,
.sch-text h6 {
    padding-bottom: .35em;
}

.sch-text {
  font-weight: 400;}

.sch-text h1:not(:first-child),
.sch-text h2:not(:first-child),
.sch-text h3:not(:first-child),
.sch-text h4:not(:first-child),
.sch-text h5:not(:first-child),
.sch-text h6:not(:first-child) {
    padding-top:.5em;
}
  
.sch-text ul li,
.sch-text ol li {
    padding-bottom: .5em;
}

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

.sch-text blockquote p:last-of-type {padding-bottom:0;
}

.sch-text blockquote {
    background: #FFFBF8;
    padding: 25px;
	border: solid 1px #231F20!important;
}

.sch-text blockquote {
    position:relative;
}


/*HEADER*/
#sch-header .mobile_nav.opened .mobile_menu_bar:before {
content: '\4d';
}

#sch-header .et_mobile_menu {
border-top:0;
}

#sch-header .et_mobile_menu li {
text-align:center !important;
}
  
#sch-header .et_mobile_menu li li, .et_mobile_menu li ul {
padding-left:0 !important;
}

#sch-header .et_mobile_menu {
min-width: 100vw;
margin-left: -80vw;
margin-top:20px;
padding:20px;
box-shadow:none;
}

#sch-header .et_mobile_menu a{
  border:none;
}

/*TESTIMONIALS*/
.sch-testimonials .swiper-buttton-container {
    margin-top:20px;
}

/*PRZYCISK*/
.sch-button-an:hover {
transition: all .5s ease-in-out}
.sch-button-an:hover {
    transform: scale(1.02);
transition: all .5s ease-in-out}

/*Formularz - popup*/
#formularz a.da-close.evr-close {
    font-size:30px!important;
}

.et-pb-contact-message {
    font-size: 18px!important;
}

body.et-fb #formularz {
    display: block !important; /* Force display in the Visual Editor */
}
#formularz {
    display: none; /* Initially hidden */
}

/*Footer*/
@media (max-width:980px) {
#sch-footer .et_mobile_nav_menu {
	display: none;
	}
	#sch-footer .et_pb_menu__menu,
#sch-footer .et_pb_menu .et_pb_menu__menu>nav>ul {
	display: flex;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:flex-start!important;
	}
	
#sch-footer .et_pb_menu--style-left_aligned .et_pb_menu__wrap {
	justify-content:flex-start!important;
	}}


/*BLURB*/
.sch-blurb h4.et_pb_module_header {margin-bottom:24px;
}
