/*
Theme Name:  Josh Denning
Theme URI:   https://joshdenning.com
Version:     1.0
Description: Divi child theme. This is a custom child theme created for Josh Denning
Author:      Lesly Garreau
Author URI:  https://dividesignservice.com/
Template:    Divi
*/

@import url("../Divi/style.css");
 
/* Theme customization starts here
----------------------------------- */

/* Hide Sidebar */
#sidebar {display:none;}

/* Expand the content area to fullwidth */
@media (min-width: 981px){
#left-area {
    width: 100%;
    padding: 23px 0px 0px !important;
    float: none !important;
}
}

/* All text black */
.black{
    color: #000;
}
.black a{
    color: #000;
}

/* Remove meta from category result page */
#left-area .post-meta{display: none;}

#main-content .container:before{
    display: none;
}

.main_title{display:none;}

/*--------*/

/* Blog Style */
.entry-title{
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.post-categories {
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    font-size:20px;
    font-weight:bold;
} 

.separator {
    border: 2px solid #deeaed;
    width: 10%;
    margin: 20px auto 40px;
    border-radius: 5px;
}

.text_override p{
    color: rgba(0,0,0,0.8);
    margin: 20px 0 29px;
    font-weight: 500;
    font-size: 20px;
    color: #404040;
    line-height: 1.9;
}

#content-area{
max-width:80%;
margin:auto;
}

#content-area img{
border-radius: 5px;
}

.takeaways{
    border: 1px solid #f3efe1;
    width: 300px;
    border-radius: 5px;
    float: right;
    margin: 10px 0 0 20px;
    padding: 20px 20px 0 20px;
    background-color: #faf7eb;
}

.takeaways b{
    font-size: 17px;
}

.takeaways li{
    margin:0 0 15px 0;
}

@media only screen and ( max-width: 460px ) {
    #content-area{
        max-width:100%;
        margin:auto;
    }
    .takeaways{
        width: 100%;
        margin:0 0 50px 0;
    }
}

h2{
    font-weight: bold;
    line-height: 1.4;
}

.et_pb_bg_layout_light .post-content{
    display: none;
}

.et_pb_bg_layout_light .entry-title{
    float: left;   
}

.et_pb_bg_layout_light .et_pb_post .post-meta{
    float: left;
    width:100%;
}

/*-----------*/

#main-content .container:before {
    width: 0px;
}