/*
 Theme Name:     Zaczeło się od pytania - Divi
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Zaczeło się od pytania - Divi Child Theme
 Author:         Bartosz Alejski
 Author URI:     https://www.whiteface.pl
 Template:       Divi
 Version:        1.0.2
*/

 
 
/* =Theme customization starts here
------------------------------------------------------- */

body{
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif !important;
}

.wpex-timeline-list.show-icon .style-center > li .wpex-timeline-label .timeline-details {
    text-align: left !important;
}

.et_pb_blog_grid h2 {
    font-size: 18px;
    line-height: 25px;
    padding: 0px;
}

.et_pb_blog_grid .published {
    font-size: 12px;
    color: #ccc;
    margin-top: -2px;
    display: block;
}

.et_pb_blog_grid . post-meta {
    margin: 0px;
}

.et_pb_post .entry-featured-image-url {    
    margin-bottom: 10px;
}

.et_mobile_menu {
 
    right: 0;     
    max-width: 400px;
    left: inherit;
}

#et_mobile_nav_menu {
    float: right;
    display: block !important;
    
}

.et_mobile_menu {    
    padding: 3%;
}

#top-menu-nav{
    display:none;
}

#logo-img{
    display:none;
}

#logo-text{
    font-size: 22px;
    color: #fff;
}

li .wptl-readmore-center > a { 
    font-size: 18px;
}

#main-header, #main-header .nav li ul, .et-search-form, #main-header .et_mobile_menu {
    background-color: rgba(255, 255, 255, 1) !important;
}

.home #page-container{
    padding-top: 0px !important;
    overflow-y: hidden;
    margin-top: -1px;
}


.home .et_pb_blog_grid .et_pb_post {    
    background-color: #ffffffb8;    
    border: none;
}

@media only screen and (max-width: 600px) {

#logo-text{
    font-size: 20px;
    color: #fff;
}
    
}

.home-banner{
    height: 100vh;
}


.demo a {
    position: absolute;
    bottom: 60px;
    left: 50%;
    z-index: 2;
    display: inline-block;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    color: #fff;
    font: normal 400 20px/1 'Josefin Sans', sans-serif;
    letter-spacing: .1em;
    text-decoration: none;
    transition: opacity .3s;
}
.demo a:hover {
    opacity: .5;
}

.et_pb_widget h2 {
    font-size: 22px;
}

.et_pb_widget ol li, .et_pb_widget ul li {
    margin-bottom: 0.6em;
    line-height: 18px;
}

#section03 .demo a {
    padding-top: 140px;
}
#section03 .demo a span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 46px;
    height: 46px;
    margin-left: -11px;
    border: 3px solid #fff;
    border-radius: 100%;
    box-sizing: border-box;
}
#section03 .demo a span::after {
    position: absolute;
    top: 50%;
    left: 50%;
    content: '';
    width: 16px;
    height: 16px;
    margin: -12px 0 0 -8px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    box-sizing: border-box;
}
#section03 .demo a span::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    content: '';
    width: 44px;
    height: 44px;
    box-shadow: 0 0 0 0 rgba(255,255,255,.1);
    border-radius: 100%;
    opacity: 0;
    -webkit-animation: sdb03 3s infinite;
    animation: sdb03 3s infinite;
    box-sizing: border-box;
}



@-webkit-keyframes sdb03 {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    60% {
        box-shadow: 0 0 0 60px rgba(255,255,255,.1);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
@keyframes sdb03 {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    60% {
        box-shadow: 0 0 0 60px rgba(255,255,255,.1);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}


.home .et_pb_section_0 {
    z-index:1;
}

.bg-1 {
    background: rgba(0, 0, 0, 0) url("https://storage.googleapis.com/subtlepatterns-production/designers/subtlepatterns/uploads/so-white.png") repeat scroll 0 0;    
    
}


.et_pb_blog_grid .et_pb_post {    
    border: none;
    -webkit-box-shadow: 2px 2px 7px -5px rgba(66, 68, 90, 1);
    -moz-box-shadow: 2px 2px 7px -5px rgba(66, 68, 90, 1);
    box-shadow: 2px 2px 7px -5px rgba(66, 68, 90, 1);
}


.et_pb_image_container {
    margin: -19px -19px 0px;
}


.wpex-timeline > li .wpex-timeline-label h2 a {    
    font-size: 18px;
}


.home .et_pb_blog_grid .et_pb_post p,
.wpex-timeline > li .wpex-timeline-label {
    color: #666;
    font-size: 15px;    
    line-height: 22px;
}

.wpex-timeline-list.show-icon .style-center > li .wpex-timeline-label .timeline-details {
    padding: 5px 10px;
    text-align: justify;
}

.et_builder_inner_content{
    background: #fff;
}

body {
    background: #000;
/*    background-color: rgba(0,0,0,0.32);*/
}

.wptl-embed {
    margin-bottom: 15px;
}

.wpex-timeline-label h2 { 
    text-transform: none !important;
}