/*
 Theme Name:   Conexion Urbana
 Theme URI:    https://conexionurbana.net/
 Description:  Child theme for JNews for Conexion Urbana
 Template:     jnews
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  jnews-child
*/

/* Add your custom styles below */

.Borde {
    border: 1px solid #e0e0e0;
}

body {
    background: #f0f1f2;
}

.jeg_midbar {
    height: 55px;
    position: fixed;
    width: 100%;
}

.jeg_pl_lg_2 .jeg_thumb .jeg_post_category,
.jeg_pl_lg_3 .jeg_thumb .jeg_post_category {
    top: 10px;
    bottom: auto;
    display: none;
}

.jeg_logo {
    position: relative;
    width: 130px;
}
.jeg_search_wrapper .jeg_search_input {
    height: 35px;
}
.jeg_mobile_logo img {
    width: auto;
    max-height: 32px;
    margin-top: -5px;
}
.jeg_meta_author {
    display: none !important;
}

.jeg_pl_md_2,
.jeg_pl_md_3 {
    margin-bottom: 10px;
}

body .jeg_pb_boxed,
.jnews_boxed_container .jeg_account_right,
.jnews_boxed_container .jeg_authorpage .jeg_author_wrap,
.jnews_boxed_container .jeg_inner_content,
.jnews_boxed_container .jeg_main .widget,
.jnews_boxed_container .jnews_index_content_wrapper {
    padding: 10px;
    margin: 10px 0;
}
.jeg_block_title {
    font-size: 20px;
}
.widget,
.jeg_ad_module {
    margin-bottom: 10px;
}
.jeg_pl_md_box .jeg_post_meta,
.jeg_post_meta {
    display: none;
}

.jeg_pl_md_2,
.jeg_pl_md_3 {
    margin-bottom: 10px;
}

.jeg_main_menu > li > a {
    font-size: 14px;
}
.jeg_midbar .jeg_social_icon_block.nobg a .fa {
    font-size: 16px;
}

.jeg_col_3o3 .jeg_pl_lg_3 .jeg_post_title {
    font-size: 30px;
}

.jeg_postblock_3,
.jeg_postblock_4,
.jeg_postblock_5,
.jeg_postblock_6,
.jeg_postblock_14,
.jeg_postblock_15,
.jeg_postblock_15 .jeg_block_loadmore,
.jeg_postblock_15 .jeg_block_nav {
    margin-bottom: 0;
}

.jeg_pl_lg_box .jeg_postblock_content,
.jeg_pl_md_box .jeg_postblock_content {
    padding: 20px 15px 10px;
    position: relative;
}

.jnews_boxed_container .jeg_inner_content {
    padding: 30px;
}

.jeg_pl_md_box .jeg_post_title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 10px;
}
.jeg_pl_lg_box,
.jeg_pl_md_box {
    margin-bottom: 0;
}
.jeg_pl_lg_box .jeg_postblock_content,
.jeg_pl_md_box .jeg_postblock_content {
    padding: 5px 0 10px;
}

.jeg_post_excerpt {
    display: none;
}

.jeg_pl_md_box .jeg_postblock_content {
    background: Transparent;
}

.jeg_pl_md_2 .jeg_postblock_content,
.jeg_pl_md_3 .jeg_postblock_content {
    overflow: hidden;
    height: 207px;
    display: table-cell;
    vertical-align: middle;
    padding-right: 20px;
}
.jeg_pl_md_2,
.jeg_pl_md_3 {
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}
.jeg_pb_boxed .jeg_pl_md_2 .jeg_post_title,
body.jnews_boxed_container .jeg_pl_md_2 .jeg_post_title {
    font-size: 24px;
}

.jeg_pl_md_1 .jeg_post_title {
    font-size: 20px;
}

.jeg_footer_4 .jeg_footer_secondary {
    padding: 10px 0 0;
}

.jeg_meta_views a {
    display: none;
}

@media only screen and (min-width: 1025px) {
    .jeg_pb_boxed .jeg_pl_md_2 .jeg_thumb,
    body.jnews_boxed_container .jeg_pl_md_2 .jeg_thumb,
    .jeg_pb_boxed .jeg_pl_md_3 .jeg_thumb,
    body.jnews_boxed_container .jeg_pl_md_3 .jeg_thumb {
        width: 290px;
    }
}

@media only screen and (min-width: 985px) {
    .jeg_content {
        padding: 65px 0 0;
    }
    .container,
    .jeg_block_container,
    .jeg-vc-wrapper,
    .jeg_vc_content > .vc_row,
    .jeg_vc_content > .vc_element > .vc_row,
    .jeg_vc_content
        > .vc_row[data-vc-full-width="true"]:not(
            [data-vc-stretch-content="true"]
        )
        > .jeg-vc-wrapper,
    .jeg_vc_content
        > .vc_element
        > .vc_row[data-vc-full-width="true"]:not(
            [data-vc-stretch-content="true"]
        )
        > .jeg-vc-wrapper {
        max-width: 980px;
        margin: 0 auto;
    }
    .jnews_boxed_container .jeg_inner_content {
        padding: 30px;
    }
    .jnews_boxed_container .jeg_sidebar {
        padding-left: 0;
    }
    .featured_video.floating .jeg_featured_video_wrapper {
        position: fixed;
        width: 400px;
    }
}

@media only screen and (min-width: 780px) {
    .container,
    .vc_column_container {
        padding-right: 5px;
        padding-left: 5px;
    }
}

@media only screen and (max-width: 720px) {
    .jeg_content {
        padding: 0 0 30px;
    }

    .jeg_postblock_19 .jeg_pl_md_box .jeg_post_title,
    .jeg_postblock_24 .jeg_pl_md_box .jeg_post_title {
        font-size: 24px;
        padding: 10px 10px;
    }

    .jeg_pl_md_box .jeg_post_title {
        margin: 0 auto 0;
    }

    .jeg_pl_md_1 .jeg_post_title {
        font-size: 24px;
        padding: 0 10px;
    }

    .jeg_pl_sm .jeg_thumb {
        width: 100px;
    }

    .jeg_postblock_17 .jeg_pl_md_1,
    .jeg_postblock_19 .jeg_pl_md_box {
        margin-bottom: 0;
    }

    .jeg_content {
        padding: 0px 0 0;
    }
    .col-md-8 {
        padding-right: 0;
        padding-left: 0;
    }
    .jnews_boxed_container .jeg_inner_content {
        padding: 20px;
    }
    .jeg_single_tpl_1 .jeg_main_content .jeg_featured {
        margin-left: -20px;
        margin-right: -20px;
        position: relative;
    }
    .jeg_post_meta {
        display: none;
    }

    .jeg_block_heading,
    .jeg_breakingnews,
    .jeg_heropost_1 .jeg_pl_sm_2,
    .jeg_heropost_1 .jeg_postbig,
    .jeg_pl_lg_box,
    .jeg_pl_md_box,
    .jeg_postblock,
    .jeg_postblock_14
        .row:last-child
        > div[class*="col-"]:not(:last-child)
        .jeg_pl_md_box,
    .jeg_postblock_15
        .row:last-child
        > div[class*="col-"]:not(:last-child)
        .jeg_pl_md_box,
    .jeg_slider_wrapper,
    .jeg_video_playlist {
        margin-bottom: 10px;
    }

    .jeg_pl_md_2 .jeg_thumb,
    .jeg_pl_md_3 .jeg_thumb {
        width: 40%;
    }
    .jeg_pl_md_2 .jeg_postblock_content,
    .jeg_pl_md_3 .jeg_postblock_content {
        overflow: hidden;
        height: auto;
        display: inherit;
        vertical-align: inherit;
        padding-right: 20px;
    }
    .jeg_pb_boxed .jeg_pl_md_2 .jeg_post_title,
    body.jnews_boxed_container .jeg_pl_md_2 .jeg_post_title {
        font-size: 18px;
    }
    .jeg_pl_md_2,
    .jeg_pl_md_3 {
        border: none;
        background: #fff;
        margin: 7px 0;
    }

    .fa.fa-facebook:before,
    .fa-instagram:before,
    .fa-twitter:before,
    .fa.fa-youtube-play:before {
        color: #fff;
    }
}

@media only screen and (max-width: 480px) {
    .jeg_postblock_19 .jeg_pl_md_box .jeg_thumb,
    .jeg_postblock_24 .jeg_pl_md_box .jeg_thumb {
        max-height: 100%;
    }
    .jeg_pl_md_2 .jeg_postblock_content,
    .jeg_pl_md_3 .jeg_postblock_content {
        overflow: hidden;
        height: 100px;
        display: table-cell;
        vertical-align: middle;
        padding-right: 20px;
    }
}

.home .adunit {
    margin: 10px 0;
}

.jeg_ad {
    display: none;
}

.widget.widget_jnews_module_element_ads {
    display: none;
}

.theiaStickySidebar .adunit {
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.theiaStickySidebar div:nth-child(2) {
    margin-top: 0;
}

@media (min-width: 768px) {
    #post-grid {
        max-width: 990px !important;
    }
}

/* Share Buttons on adming */

.admin-bar .wpusb-fixed-top {
    top: 32px;
}

/* Hide Empty Ad placements */

.jeg_pb_boxed.placement {
    background: transparent;
    margin: 0;
    padding: 0;
    border: none;
    float: left;
    width: 100%;

    > div {
        background: #fff;
        padding: 10px;
        border: 1px solid #e0e0e0;
        margin-top: 0;
    }
}

/* Homepage masonry-style grid */
.page-template-template-new-index
    .jeg_postblock_23
    .jeg_posts.jeg_load_more_flag {
    display: block; /* override .jeg_postblock_23 .jeg_posts { display: flex } */
    margin-right: 0; /* optional: reset negative margin if you don't want it in column layout */
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 10px;
    -moz-column-gap: 10px;
    column-gap: 10px;
    align-self: flex-start;
    min-height: 0;

    @media (max-width: 480px) {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

.page-template-template-new-index
    .jeg_postblock_23
    .jeg_posts.jeg_load_more_flag
    .jeg_post {
    -webkit-column-break-inside: avoid;
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 10px;
    display: inline-block;
    width: 100%;
    padding-right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 10px;
}

.page-template-template-new-index .jeg_block_navigation {
    margin: 0;

    a {
        margin-top: 20px;
    }

    @media (max-width: 767px) {
        margin-bottom: 10px;
    }
}

/* Reverse main articles + sidebar order on mobile */
@media (max-width: 767px) {
    #post-grid .jeg-vc-wrapper {
        display: flex !important;
        flex-direction: column-reverse !important;
    }

    #post-grid .jeg-vc-wrapper > .wpb_column {
        width: 100% !important;
        float: none !important;
    }
}

.page-template-template-new-index {
    .jeg_col_3o3 .jeg_pl_lg_3 .jeg_post_title {
        font-size: 30px;
    }

    .jeg_post.jeg_pl_lg_3.format-video {
        display: flex;
        gap: 20px;
        flex-direction: row-reverse;
        margin: 0;
        align-items: center;
        @media (max-width: 480px) {
            flex-direction: column;

            .jeg_thumb {
                width: 100%;
            }
        }
        > div {
            flex: 1;
            min-width: 0;
            margin: 0;
        }
    }

    .jeg_sticky_sidebar .jeg_postsmall {
        article.jeg_post {
            display: flex;
            align-items: center;

            > div {
                flex: none;
                margin-left: 0;
            }

            .jeg_postblock_content {
                max-width: calc(100% - 100px);
            }
        }
    }
}
