/*
Theme Name: FRaterraecielo
Description: Custom theme matching the original FRaterraecielo.org Divi design
Version: 1.0
Author: FRaterraecielo
Text Domain: fraterraecielo
*/

/* Google Fonts loaded in header */

/* === RESET === */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
ol,ul{list-style:none}
blockquote,q{quotes:none}
blockquote{margin:20px 0 30px;border-left:5px solid #2EA3F2;padding-left:20px}
table{border-collapse:collapse;border-spacing:0}
article,aside,footer,header,hgroup,nav,section{display:block}
*,*:before,*:after{box-sizing:border-box}

/* === BASE === */
body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    color: #666666;
    background-color: #fff;
    line-height: 1.7em;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: #2EA3F2;
}
a:hover {
    text-decoration: none;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    color: #333333;
    padding-bottom: 10px;
    line-height: 1.1em;
    font-weight: 500;
}
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p {
    padding-bottom: 1em;
}

img {
    max-width: 100%;
    height: auto;
}

.clear { clear: both; }
.clearfix:after { content: ""; display: table; clear: both; }

/* === LAYOUT === */
.container {
    text-align: left;
    margin: 0 auto;
    width: 1080px;
    max-width: 100%;
    position: relative;
    padding: 0 20px;
}

#page-container {
    position: relative;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#et-main-area {
    flex: 1;
}

/* Header/footer/nav styles come from divi.css */
#top-header { border: none !important; box-shadow: none !important; margin: 0 !important; padding-bottom: 0 !important; }
#main-header { border: none !important; box-shadow: none !important; margin-top: -1px !important; }

/* === MAIN CONTENT === */
#et-main-area {
    padding: 50px 0;
    min-height: 400px;
}

#left-area {
    float: left;
    width: 67.5%;
    padding-right: 5.5%;
}

.et_right_sidebar #left-area {
    padding-right: 5.5%;
}

/* === BLOG POST ENTRIES === */
.et_pb_post {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e2e2e2;
}
.et_pb_post:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.et_pb_post .entry-title {
    font-size: 24px;
    line-height: 1.3em;
    padding-bottom: 6px;
}
.et_pb_post .entry-title a {
    color: #333;
    text-decoration: none;
}
.et_pb_post .entry-title a:hover {
    color: #2EA3F2;
}

.et_pb_post .post-meta {
    font-size: 12px;
    color: #999;
    padding-bottom: 12px;
}
.et_pb_post .post-meta a {
    color: #2EA3F2;
}

.et_pb_post .post-content {
    line-height: 1.7em;
}

.et_pb_post .post-content p {
    padding-bottom: 1em;
}

.et_pb_post .entry-featured-image-url {
    display: block;
    margin-bottom: 16px;
}
.et_pb_post .entry-featured-image-url img {
    width: 100%;
    height: auto;
    display: block;
}

a.more-link {
    color: #2EA3F2;
    font-weight: 600;
    font-size: 14px;
}
a.more-link:hover {
    color: #333;
}

/* === SINGLE POST === */
.et_pb_post_single {
    padding-bottom: 30px;
}

.et_pb_post_single .entry-title {
    font-size: 30px;
    line-height: 1.3em;
    padding-bottom: 8px;
}

.et_pb_post_single .post-meta {
    font-size: 12px;
    color: #999;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e2e2;
    margin-bottom: 20px;
}

.et_pb_post_single .post-content {
    line-height: 1.7em;
}

.et_pb_post_single .post-content p {
    padding-bottom: 1em;
}

.et_pb_post_single .post-content img {
    max-width: 100%;
    height: auto;
}

.post-nav {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e2e2;
    display: flex;
    justify-content: space-between;
}

.post-nav a {
    color: #2EA3F2;
}
.post-nav a:hover {
    color: #333;
}

/* === PAGINATION === */
.pagination {
    padding: 20px 0;
    text-align: center;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.pagination a {
    color: #2EA3F2;
    font-weight: 600;
    font-size: 14px;
}
.pagination a:hover {
    color: #333;
}

/* === SIDEBAR === */
#sidebar {
    float: right;
    width: 32.5%;
}

.et_pb_widget {
    margin-bottom: 30px;
}

.et_pb_widget h4 {
    font-size: 16px;
    color: #333;
    padding-bottom: 10px;
    font-weight: 700;
}

.et_pb_widget li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.et_pb_widget li a {
    color: #666;
}
.et_pb_widget li a:hover {
    color: #2EA3F2;
}

/* Footer styles come from divi.css */

/* === RESPONSIVE === */
@media only screen and (max-width: 1080px) {
    .container {
        width: 100%;
        padding: 0 30px;
    }
}

@media only screen and (max-width: 768px) {
    #left-area {
        float: none;
        width: 100%;
        padding-right: 0;
    }
    #sidebar {
        float: none;
        width: 100%;
        margin-top: 40px;
    }
    .et_pb_post .entry-title {
        font-size: 20px;
    }
}

