/*
 Theme Name:   Divi Child
 Theme URI:    http://positivepsychology.org.uk
 Description:  Divi Child Theme
 Author:       Tim Wouters
 Author URI:   https://ditistim.nl
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         awesome
 Text Domain:  divi-child
*/

.padding-15 {
    padding: 15px;
}
#main-content .container::before {
    background-color: rgba(0,0,0,0)!important;
}

.single-post .container-fullwidth-wrapper {
    background: rgba(255,255,255,0);
    z-index: 1;
    position: relative;
    width: 100%;
    top: 0px;
}
.single-post .full-width-featured-image {
    width: 100%;
    z-index: 0;
    position: fixed;
    background: #ffc107;
    height:400px;
}

.single-post .full-width-featured-image img {
    width: 100%;
}

.single-post .et_post_meta_wrapper.top .entry-title {
    color: white;
    text-shadow: 1px 1px 1px black;
    font-weight: 600;
    font-size: 40px;
    line-height: 54px;
    margin: 0 0 181px;
}
.single-post .references-block {
    border: 1px solid #e3e3e3;
    padding: 15px;
    margin: 30px 0;
    background: #f8f8f8;
}
.single-post .et_pb_section {
    padding: 0 0 50px;
}

.single-post-optin-bottom {
    margin: 15px 0;
}

.single-post-optin-bottom h3 {
    text-align: center;
    font-size: 28px;
    line-height: 34px;
    font-weight: 600;
    margin: 45px 0 15px;
    text-transform: uppercase;
}

.single-post-optin-bottom input {
    padding: 10px;
    width: calc(50% - 10px);
    height: auto;
    font-size: 18px;
    font-weight: 100;
    float: left;
    margin: 0 10px 10px 0;
}
.single-post-optin-bottom input.button {
    background: #e71970;
    color: white;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    float: right;
    border: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    width: auto;
    cursor: pointer;
    margin-top: 5px;
}

#author-avatar {
    float: left;
    margin: 0 30px 0 0;
}

.row {
    margin: 0 -15px;
    padding: 0;
    clear: both;
}

.author-card {
    width: 33.3%;
    padding: 15px;
    float: left;
    height: 695px;
}
.author-card .author-info {
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    padding: 10px;
}
.author-card .author-description {
    max-height: 400px;
    overflow: hidden;
}
.author-card .author-avatar {
    max-height: 240px;
    overflow: hidden;
    width: calc(100% + 20px);
    margin: -10px -10px 15px;
    display: block;
}
.author-card img {
    width: 100%;
}
.author-card .read-more a {
    display: block;
    width: calc(100% + 20px);
    margin: 10px -10px -10px;
    padding: 5px 10px;
    font-weight: 600;
}
@media (max-width: 750px) {
    .author-card {
        width: 50%;
        height: 800px;
    }

    .author-card .author-description, .author-card .author-avatar {
        max-height: 400px;
    }
    .et_pb_slider .et_pb_slide_0 .et_pb_slide_description h2.et_pb_slide_title {
        font-size: 25px !important;
    }
    .et_pb_text.et_pb_module.et_pb_bg_layout_light.et_pb_text_align_center.et_pb_text_0 h1 {
        font-size: 24px;
    }
}
@media (max-width: 990px) {
    .single-post .container-fullwidth-wrapper {
        top: 250px;
    }
    .single-post .et_post_meta_wrapper.top .entry-title {
        font-size: 27px;
        line-height: 36px;
        top: -200px;
    }
    .full-width-featured-image {
        position: absolute!important;
    }
}
@media (max-width: 400px) {
    .author-card {
        width: 100%;
        height: auto;
    }

    .author-card .author-description, .author-card .author-avatar {
        max-height: 800px;
    }
    .single-post .container-fullwidth-wrapper {
        top: 200px;
    }
    .single-post .et_post_meta_wrapper.top .entry-title {
        font-size: 20px;
        line-height: 30px;
        top: -150px;
    }
}
@media (max-width: 300px) {
    .single-post .container-fullwidth-wrapper {
        top: 150px;
    }
    .single-post .et_post_meta_wrapper.top .entry-title {
        font-size: 16px;
        line-height: 26px;
        top: -142px;
    }
}

.author-link {
    background: rgba(0, 0, 0, 0.61);
    width: 100%;
    padding: 8px 16px !important;
    color: white;
    font-weight: 700;
}

.cta-chat-ballons {
    padding: 0 25px 35px;
}

.et_pb_blog_grid .et_pb_post {
    border: 1px solid white!important;
    box-shadow: 0 0 1px rgba(0,0,0,0.2);
    border-radius: 1px;
}

.widget_recent_entries img {
    float: left;
    max-width: 25%;
    margin: 5px 10px 0 0;
}

.widget_recent_entries li {
    text-transform: lowercase;
    line-height: 20px;
    font-size: 12px;
    margin: 5px 0 20px !important;
}
.sidebar-optin input {
    font-size: 13px;
    padding: 12px 8px;
    margin: 6px 0;
    width: 100%;
}
.sidebar-optin input.button {
    float: right;
    width: 40%;
    min-width: 100px;
    background: green;
    border: none;
    color: white;
    font-weight: 700;
}
.sidebar-optin h4 {
    line-height: 24px;
}

#sidebar .et_pb_widget {
    margin-bottom: 50px;
}

@media (max-width: 970px) {
    .hidden-xs {
        display: none;
    }
}

.column .et_pb_post {
    height: 550px;
}

.et-waypoint {
    opacity: 1!important;
}

.et_pb_post h2 a, .et_pb_portfolio_item h3 a {
    text-decoration: none;
    font-size: 19px;
    line-height: 1.2;
}

@media(max-width:992px){
    .et_pb_slider .et_pb_slide_0.et_pb_slide .et_pb_slide_description h2.et_pb_slide_title {
        font-size: 34px !important;
        width: calc(100% + 40px);
        margin: -20px -20px 0;
    }
    .et_pb_slide_content h4 {
        margin-bottom: 0!important;
    }
    a.et_pb_more_button {
        display: none !important;
    }
    .et_pb_text_5 {
        line-height: 1.2;
    }
}

.et_right_sidebar #left-area {
    float: none!important;
    padding-right: 0!important;
    margin: auto!important;
}
.single-post .entry-content {
    background: white;
    padding: 30px;
}