/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


.tr_recent_posts_widget {
    width: 100%;
    display: inline-block;
    padding: 6px;
}
.tr_recent_posts_widget h3 {
    
}
.tr_recent_posts_widget p {
    color: #888888;
    font-size: 14px;
    margin: 0;
}
.tr_recent_posts_widget a {
    text-decoration: none !important;   
    display: inline-block;
    width: 100%;
}
.tr_recent_posts_widget ul {
    padding: 0;
    list-style: none;
}
.tr_recent_posts_widget ul li {
    width: 100%;
    display: inline-block;
    margin-bottom: 12px !important;
}
.tr_recent_posts_widget img {
    width: 96px;
    height: 96px;
    display: inline-block;
    float: left;
    object-fit: cover;
}
.tr_recent_posts_widget_description {
    width: 68%;
    display: inline-block;
    float: left;
    position: relative;
    padding-left: 14px;
}
.tr_recent_posts_widget_description h4 {
    color: #000000;
    font-size: 15px;
    margin: 0 0 12px 0 !important;
}
.tr-post-intro-test {
    font-size: 13px !important;
    line-height: 18px !important;
}
.tr-post-date {
    font-size: 13px !important;
    margin-top: 8px !important;
}







.tr_grid_layout {
    width: 100%;
    padding: 0 !important;
}
.tr_grid_layout li {
    border: none !important;
    padding: 0 !important;
    float: left !important;
    /*display: inline-block !important;*/
    overflow: hidden !important;
    height: 300px;
    margin:0 !important;
}
.tr_grid_layout ul {
    margin-left: 0 !important;
    margin-top: 0;
}
.tr_grid_layout ul li {
    margin-bottom: 0 !important;
}
.tr_grid_layout a {
    width: 100%;
    height: 300px;
    display: inline-block;
    position: relative;
}
.tr_grid_layout img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100% !important;
    height: 100% !important;
}
.tr_img_grid_bg {
    width: 100% !important;
    height: 100% !important;   
}
.tr_grid_layout .tr_recent_posts_widget_description {
    position: absolute;
    width: 100%;
    height: auto;
    left: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.6);
    padding: 24px 20px 24px 30px;
}
.tr_grid_layout .tr_recent_posts_widget_description h3 {
    font-size:18px;
    color: #ffffff;
    font-style: italic;
}
.tr_grid_layout .tr_recent_posts_widget_description .tr-post-intro-test {
    /*font-size:15px;
    color: #ffffff;*/
}
.tr_grid_layout .tr_recent_posts_widget_description .tr-post-date {
    /* font-size:13px;
    color: #ffffff;*/
}

.tr_grid_1 li {
    width: 100% !important;
}
.tr_grid_2 li {
    width: 50% !important;
}
.tr_grid_3 li {
    width: 33.333% !important;
}
.tr_grid_4 li {
    width: 25% !important;
}



@media (max-width: 500px) {

    .tr_grid_1 li {
        width: 100% !important;
    }
    .tr_grid_2 li {
        width: 100% !important;
    }
    .tr_grid_3 li {
        width: 100% !important;
    }
    .tr_grid_4 li {
        width: 100% !important;
    }

}
@media (min-width: 501px) and (max-width: 800px) {

    .tr_grid_1 li {
        width: 100% !important;
    }
    .tr_grid_2 li {
        width: 50% !important;
    }
    .tr_grid_3 li {
        width: 50% !important;
    }
    .tr_grid_4 li {
        width: 50% !important;
    }

}







.tr_grid_layout li {
    height: 400px;
}
.tr_grid_layout a {
    height: 400px;
}
.tr_grid_layout .tr_recent_posts_widget_description {
    position: absolute;
    width: 100%;
    height: 100%;
    /* left: 100%;
    top: 100%;*/
    /*background-color: rgba(49,0,113,0.33);*/
    padding: 38px;
    -webkit-transition: all 0.2s ease-in-out;
       -moz-transition: all 0.2s ease-in-out;
        -ms-transition: all 0.2s ease-in-out;
         -o-transition: all 0.2s ease-in-out;
            transition: all 0.2s ease-in-out;
}
.tr_grid_layout .tr_recent_posts_widget_description h3 {
    font-size:34px;
    color: #79cb0f;
    padding-left: 0;
    border-width: 0;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 14px;
    display: inline-block;

}
.tr_grid_layout li a:hover .tr_recent_posts_widget_description {
    left: 0;
    top: 0;
}


.tr_grid_layout .tr_recent_posts_widget_description .tr-post-intro-test {
    /*font-size:18px !important;
    color: #ffffff;*/
}

.tr_grid_layout .tr_vermas_container {
    position: absolute;
    bottom: 15%;
    right: 15%;
}
.tr_grid_layout .tr_vermas_btn {
    position: relative;
    display: inline-block;
    height: 50px;
    line-height: 50px;
    width: 260px;
    color: #ffffff;
    font-size: 13px !important;
}
.tr_grid_layout .tr_vermas_btn_icono {
    font-family: sans-serif !important;
    display: block;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 58px;
    border-radius: 200px;
    background-color: #79cb0f;
    color: #ffffff;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 50px;
    font-weight: 300;
}


@media (max-width: 800px) {

    .tr_grid_layout li {
        height: 320px;
    }
    .tr_grid_layout a {
        height: 320px;
    }

    .tr_grid_layout .tr_recent_posts_widget_description {
        padding: 34px;
    }

    .tr_grid_layout li a:hover .tr_recent_posts_widget_description {
        left: 8%;
        top: 8%;
    }


    .tr_grid_layout .tr_vermas_btn {
        width: 242px;
    }
}