/*
Theme Name: Safnow Main Site
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.23.4.1704924328
Updated: 2024-01-10 17:05:28

*/

/* start deepti code for new post style */

@import url(Oswald_and_DroidSans/fonts.css);

.safsinglepost, .safsinglepost .et_pb_post_content_0_tb_body p {
    line-height: 1.7;
    font-weight: 400;
    font-style: normal;
    color: #636363;
    font-size: 16px;
}
.safsinglepost .et_pb_post_content_0_tb_body p {
    padding-bottom: 1.4em;
}
.safsinglepost>.et_pb_row.et_pb_row_0_tb_body>.et_pb_column .et_pb_code_0_tb_body{
    margin-bottom: 0px !important;
}
.safsinglepost>.et_pb_row.et_pb_row_0_tb_body>.et_pb_column .et_pb_code_inner {
    text-transform: uppercase;
    line-height: 1.4;
    padding-bottom: 5px;
    color: #373c43;
}
.safsinglepost>.et_pb_row.et_pb_row_0_tb_body>.et_pb_column .et_pb_code_inner>span {
    color: #2ea3f2;
    font-size: 16px;
    display: inline-block;
}
.safsinglepost>.et_pb_row.et_pb_row_0_tb_body>.et_pb_column .et_pb_code_inner>span span {
    color: #666;
    line-height: 1.4;
    
    margin: 0px 4px
}
.safsinglepost>.et_pb_row.et_pb_row_0_tb_body>.et_pb_column .et_pb_code_inner>span>span:first-child {
    margin-left: 0;
}
.safsinglepost>.et_pb_row.et_pb_row_0_tb_body>.et_pb_column .et_pb_code_inner>span>span:last-child {
    margin-right: 0;
}
/* .safsinglepost>.et_pb_row.et_pb_row_0_tb_body>.et_pb_column .et_pb_code_inner a {
    color: #959595;
}
.safsinglepost>.et_pb_row.et_pb_row_0_tb_body>.et_pb_column .et_pb_code_inner a:hover {
    color: #373c43;
} */
.safsinglepost>.et_pb_row.et_pb_row_0_tb_body>.et_pb_column {
    border-bottom: 1px solid #e2e2e2;
    margin-bottom: 20px;
}
.safsinglepost>.et_pb_row.et_pb_row_1_tb_body {
    padding: 20px 20px 6px 20px !important;
    display: flex;
    border: 1px solid #e2e2e2;
    border-bottom: 0;
}
.safsinglepost>.et_pb_row.et_pb_row_2_tb_body {
    margin-top: 0 !important;
    padding: 10px 20px 0px 20px !important;
    display: flex;
    border: 1px solid #e2e2e2;
    border-top: 0;
}
.safsinglepost>.et_pb_row.et_pb_row_2_tb_body .et_pb_section.et_pb_section_0.et_section_regular {
    padding: 0;
}
.safsinglepost>.et_pb_row.et_pb_row_2_tb_body .et_pb_row.et_pb_row_0 {
    width: 100%;
    padding: 0;
}
.safsinglepost>.et_pb_row.et_pb_row_2_tb_body .et_pb_post_content_0_tb_body {
    width: 100%;
}
.safsinglepost>.et_pb_row.et_pb_row_1_tb_body .et_pb_module.et_pb_post_title {
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 7px !important;
}
.safsinglepost .et_pb_post_title_0_tb_body .et_pb_title_container h1.entry-title {
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 0;
}
.safsinglepost>.et_pb_row.et_pb_row_2_tb_body .et_pb_module.et_pb_post_content.et_pb_post_content_0_tb_body {
    margin-top: 0;
}
.safsinglepost>.et_pb_row.et_pb_row_2_tb_body figure.wp-block-image {
    max-width: 660px;
    margin-bottom: 15px;
}
.safsinglepost>.et_pb_row.et_pb_row_2_tb_body figure.wp-block-gallery.is-layout-flex {
    justify-content: center;
}
.safsinglepost>.et_pb_row.et_pb_row_2_tb_body .et_pb_row.et_pb_row_0 .wp-caption {
    width: auto !important;
    max-width: 660px;
    margin-bottom: 15px;
}
.safsinglepost>.et_pb_row.et_pb_row_2_tb_body figure.wp-block-image, .safsinglepost>.et_pb_row.et_pb_row_2_tb_body figure.wp-block-image figcaption.wp-element-caption {
    background-color: #fafafa;
    border: 1px solid #e2e2e2;
}
.safsinglepost>.et_pb_row.et_pb_row_2_tb_body figure.wp-block-image img {
    padding: 5px;
}
.safsinglepost>.et_pb_row.et_pb_row_2_tb_body figure.wp-block-image figcaption.wp-element-caption,
.safsinglepost>.et_pb_row.et_pb_row_2_tb_body .wp-caption .wp-caption-text{
    margin-top: -2px;
    margin-bottom: 0px;
    padding: 6px 10px 10px;
    border-top: 0;
    font-size: 15px;
    color: #000;
    text-align: center;
    line-height: 20px;
    font-weight: 400;
    font-style: normal;
}
.safsinglepost>.et_pb_row.et_pb_row_2_tb_body figure.wp-block-image figcaption.wp-element-caption em {
    font-style: normal;
}
.safsinglepost>.et_pb_row.et_pb_row_2_tb_body .et_pb_module.et_pb_post_nav_0_tb_body {
    width: calc(100% + 40px);
    display: flex;
    flex-wrap: wrap;
    margin-left: -20px !important;
    background-color: #FFF;
    border-top: 1px solid #e2e2e2;
}
.safsinglepost>.et_pb_row.et_pb_row_2_tb_body .et_pb_module.et_pb_post_nav_0_tb_body:before {
    content: "";
    display: block;
    width: 1px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: #e2e2e2;
    height: 80%;
}
.safsinglepost .et_pb_posts_nav .nav-previous a {
    font-size: 15px;
    font-weight: bold;
    padding: 0 2px;
    color: #2d2d2d !important;
}
.safsinglepost .et_pb_posts_nav .nav-next {
    text-align: right;
}
.safsinglepost .et_pb_posts_nav .nav-next, .safsinglepost .et_pb_posts_nav .nav-previous {
    width: 50%;
    padding: 20px;
}
.safsinglepost .et_pb_posts_nav .nav-next>a, .safsinglepost .et_pb_posts_nav .nav-previous>a {
    display: flex;
    gap: 5px;
}
.safsinglepost>.et_pb_row.et_pb_row_1_tb_body .et_pb_module.et_pb_post_title p.et_pb_title_meta_container {
    padding-right: 150px;
    color: #c6c6c6;
}
.safsinglepost>.et_pb_row.et_pb_row_1_tb_body .et_pb_module.et_pb_post_title p.et_pb_title_meta_container a{
    color: #c6c6c6;
}
.safsinglepost>.et_pb_row.et_pb_row_1_tb_body .et_pb_module.et_pb_post_title p.et_pb_title_meta_container a:hover{
    color: #2ea3f2;
}
.et_pb_posts_nav.et_pb_post_nav_0_tb_body span.nav-previous a:hover span.meta-nav, 
.et_pb_posts_nav.et_pb_post_nav_0_tb_body span.nav-next a:hover span.meta-nav,
.et_pb_posts_nav.et_pb_post_nav_0_tb_body span.nav-previous a:hover span.nav-label, 
.et_pb_posts_nav.et_pb_post_nav_0_tb_body span.nav-next a:hover span.nav-label{
    color: #2ea3f2 !important;
}
.safprintemail {
    position: absolute;
    top: -46px;
    right: 0;
    z-index: 1;
    height: 24px;
    margin: 0 !important;
}
.safprintemail .et_pb_code_inner{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.safprintemail button, .safprintemail a {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 0;
    color: #c6c6c6;
    border: 0;
    background-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.safprintemail button:hover, .safprintemail a:hover{
    color: #2ea3f2;
}
.safprintemail button span.et-pb-icon, .safprintemail a span.et-pb-icon {
    font-size: 10px;
}
.safprintemail a span.et-pb-icon {
    font-size: 0;
}
.safprintemail button span.et-pb-icon {
    margin-right: 5px;
}
.safprintemail a span.et-pb-icon:before {
    content: "\e010";
    font-size: 10px;
    margin-right: 5px;
}
.safpost_tag .et_pb_text_inner {
    font-weight: bold;
    padding: 0 2px;
    display: block;
    font-style: normal;
    color: #636363;
    font-size: 14px;
    display: inline-flex;
    flex-wrap: wrap;
}
.safpost_tag .et_pb_text_inner>a {
    display: inline-block;
    font-weight: 400;
    margin-right: 2px;
    margin-bottom: 5px;
    line-height: 25px;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    padding: 0 10px;
    color: #83868a;
    font-size: 14px;
}
.safpost_tag .et_pb_text_inner>a:hover {
    background-color: #FFF;
}
.safpost_tag .et_pb_text_inner>a:first-child {
    margin-left: 10px;
}
.safsinglepost .et_pb_post_content_0_tb_body p a:hover{
    color: #000;
}
/******Related post******/
.safsinglepost_related.et_pb_section .et_pb_module.et_pb_blog_grid_wrapper .et_pb_salvattore_content {
    display: flex;
    flex-wrap: wrap;
}
.safsinglepost_related.et_pb_section {
    padding-top: 30px;
}
.safsinglepost_related .wp-pagenavi {
    display: none;
}
.safsinglepost_related.et_pb_section>.et_pb_row.et_pb_row_3_tb_body {
    padding: 0;
    width: 85%;
}
.safsinglepost_related.et_pb_section .et_pb_module.et_pb_blog_grid_wrapper {
    padding: 20px 20px 0px 20px !important;
    border: 1px solid #e2e2e2;
}
.safsinglepost_related.et_pb_section .et_pb_module.et_pb_blog_grid_wrapper .column.size-1of3 .et_pb_post:last-child {
    margin-bottom: 20px;
}
.safsinglepost_related.et_pb_section h1.et_pb_module_heading {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.2;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
    
}
.safsinglepost_related.et_pb_section h1.et_pb_module_heading:after {
    position: absolute;
    width: 100%;
    height: 1px;
    content: '';
    background: #e0e0e0;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
    top: 0;
    bottom: 0;
}
.safsinglepost_related.et_pb_section .et_pb_module.et_pb_heading {
    margin-bottom: 10px;
}
.safsinglepost_related .et_pb_blog_grid .et_pb_post {
    border: 0;
    padding: 0;
}
.safsinglepost_related .et_pb_blog_grid .et_pb_post .et_pb_image_container {
    margin: 0;
}
.safsinglepost_related .et_pb_blog_grid .et_pb_post .et_pb_image_container .entry-featured-image-url {
    margin-bottom: 15px;
    position: relative;
    height: 170px;
    overflow: hidden;
    img{
        min-width: auto;
        width: auto;
        max-width: 100%;
        height: 100%;
        margin: auto;
        display: block;
    }
}
.safsinglepost_related.et_pb_section h2.entry-title {
    font-weight: 400;
    color: #1568b3; 
}
.safsinglepost_related.et_pb_section h2.entry-title a {
    color: #1568b3;
}
.safsinglepost_related.et_pb_section h2.entry-title a:hover {
    color: #2ea3f2;
}
.safsinglepost_related.et_pb_section .et_pb_post .post-meta{
    color: #c6c6c6;
}
.safsinglepost_related.et_pb_section .et_pb_post .post-meta a{
    color: #c6c6c6;
}
.safsinglepost_related.et_pb_section .et_pb_post .post-meta a:hover{
    color: #2ea3f2;
}
/**********Media**********/
@media (max-width:980px) {
    .et_pb_blog_grid .column {
        width: 100%;
    }
    .safsinglepost_related .et_pb_blog_grid .et_pb_post .et_pb_image_container .entry-featured-image-url {
        height: unset;
        img{
            width: 100%;
        }
    }
}
@media (max-width:767px) {
    .safsinglepost .et_pb_posts_nav .nav-next, .safsinglepost .et_pb_posts_nav .nav-previous {
        width: 100%;
    }
    .safsinglepost>.et_pb_row.et_pb_row_2_tb_body .et_pb_module.et_pb_post_nav_0_tb_body:before{
        display: none;
    }
    .safsinglepost .et_pb_posts_nav .nav-next {
        border-top: 1px solid #e2e2e2;
    }
    .safsinglepost>.et_pb_row.et_pb_row_1_tb_body {
        padding: 15px 15px 10px 15px !important;
    }
    .safsinglepost>.et_pb_row.et_pb_row_2_tb_body {
        padding: 10px 15px 0px 15px !important;
    }
    .safsinglepost .et_pb_posts_nav .nav-next, .safsinglepost .et_pb_posts_nav .nav-previous {
        padding: 15px;
    }
    .safsinglepost_related.et_pb_section .et_pb_module.et_pb_blog_grid_wrapper {
        padding: 15px 15px 0px 15px !important;
    }
    .safsinglepost>.et_pb_row.et_pb_row_2_tb_body .et_pb_module.et_pb_post_nav_0_tb_body {
        width: calc(100% + 30px);
        margin-left: -15px !important;
    }
}
@media (max-width:575px) {
    .safsinglepost>.et_pb_row.et_pb_row_1_tb_body .et_pb_module.et_pb_post_title p.et_pb_title_meta_container {
        padding-right: 0;
        padding-bottom: 28px;
    }
}

/* end deepti code for new post style */