/*
Theme Name:  Discy Child
Theme URI:   https://2code.info/demo/themes/Discy/
Description: Discy - Social Questions and Answers WordPress Theme
Tags:        one-column, two-columns, left-sidebar, right-sidebar, custom-menu, full-width-template, theme-options, translation-ready
Author:      2codeThemes
Author URI:  https://2code.info
Version:     1.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template:    discy
*/
.home .main-content{
    background-color: #fff;
}
.row, .gallery {
  
    -js-display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}
body.home.discy-boxed-3 aside.sidebar{
	display: none;
}
body.home.discy-boxed-3 .the-main-inner{
	width: calc(100%) !important;
}
h3.widget_home {
    text-align: center;
    color: #d60404;
    font-size: 20px;
    display: block;
    border-bottom: 2px solid #e0e0e0;
}	
.home_sidebar div.widget {
    border: 5px solid #e7e7e7;
    padding-top: 16px;
}
.startup_related{
	-js-display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    justify-content: space-between;
}
.startup_related .post-item{
	  max-width:  calc(50% - 10px);
	    -ms-flex-preferred-size:  calc(50% - 10px);
	    flex-basis:  calc(50% - 10px);
	    padding-bottom: 25px;
}
.startup_related .post-item .relate_meta {
    font-size: 13px;
        color: #7c7f85;
        display: flex;
        justify-content: space-between;
}
.startup_related .post-item a:hover{
	color: unset;
}
.startup_related .post-item:nth-child(1){
		 max-width: 100%;
	    -ms-flex-preferred-size: 100%;
	    flex-basis: 100%;
}
.startup_related .post-item:nth-child(1) .image-cover{
	padding-top: 50%;
}
.startup_related .post-item:nth-child(1) h3{
	font-size: 16px;
}
.startup_related .post-item .excerpt {
    font-size: 14px;
    color: #676a6f;
}
.startup_related .post-item h3{
	font-size: 13px;
	line-height: 1.3;
	margin-bottom: 10px;
}
.box-image img{
	right: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    top: 0;
    position: absolute;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    -o-object-fit: cover;
    object-fit: cover;
    font-family: 'object-fit: cover;';
}
.home-widget {
    margin-bottom: 35px;
}
.startup_related .box-text{
	padding-top: 10px;
	padding-left: 10px;
	padding-right: 10px;
}
.startup_related .post-item:nth-child(1) .box-text{
	padding-left: 0;
	padding-right: 0;
}
.box-image {
    position: relative;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
}
.image-cover{
	position: relative;
    height: auto;
    overflow: hidden;
    padding-top: 65%;
    background-position: 50% 50%;
    background-size: cover;
}
.startup_related .post-item .cat {
    position: absolute;
    z-index: 9;
    background: #1587cc;
    padding: 3px 10px;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    top: 0;
    left: 0;
}
ul.nav.list-cat {
    padding: 0;
    list-style: none;
    width: 100%;
    border-bottom: 6px solid #1066c8;
    margin-bottom: 0;
    margin-top: 0;
}
ul.nav.list-cat li {
    display: inline-block;
    margin-right: 10px;
}
ul.nav.list-cat li a{
    padding: 8px 10px;
    display: block;
    background-color: #eeeeee;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    position: relative;
}
ul.nav.list-cat li a:before{
    position: absolute;
    content: "";
    height: 100%;
    width: 11px;
    right: -10px;
    top: 0;
    background: #eeeeee;
    clip-path: polygon(0 0, 0% 100%, 100% 100%);

}
ul.nav.list-cat li.active a:before,
ul.nav.list-cat li:hover a:before{
    background-color: #1066c8;
}
ul.nav.list-cat li.active a,
ul.nav.list-cat li:hover a{
    color: #fff;
    background-color: #1066c8;
}
.ttpro_list .list_post {
    padding: 20px;
    border: 5px solid #e7e7e7;
    border-top: 0;
    display: flex;
}
.post-item .relate_meta {
    font-size: 13px;
    color: #7c7f85;
    display: flex;
    justify-content: space-between;
}
.post-item .excerpt {
    font-size: 14px;
    color: #676a6f;
}
.list_post_ul .post-item.first-item  h3{
    font-size: 16px;
    padding-top: 10px;
}
.list_post_ul h3{
    font-size: 14px;
    line-height: 1.4;
}
.list_post_ul .post-item.child-item h3{
    margin-bottom: 5px;
}
.list_post_ul .post-item{
    overflow: hidden;
    padding: 10px;
    width: 50%;
    float: right;
    clear: right;
}
.list_post_ul .post-item .image-cover{
    padding-top: 100%;
}
.list_post_ul .post-item.first-item .image-cover{
    padding-top: 75%;
}

.list_post_ul .post-item.first-item{
     padding-right: 15px;
    float: left;
}
.list_post_ul .post-item.child-item .box{
        -js-display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}
.list_post_ul .post-item.child-item .box .box-image{
    width: 75px;
}
.list_post_ul .post-item.child-item .box .box-text{
    width: calc(100% - 75px);
    padding-left: 10px;
}
@media screen and (min-width: 850px){
	.large-9 {
	       max-width: 75%;
	    -ms-flex-preferred-size: 75%;
	    flex-basis: 75%;
	}
	.large-3 {
	       max-width: 25%;
	    -ms-flex-preferred-size: 25%;
	    flex-basis: 25%;
	}
	.large-8 {
	    max-width: 66.66667%;
	    -ms-flex-preferred-size: 66.66667%;
	    flex-basis: 66.66667%;
	}
	.large-4 {
	    max-width: 33.33333%;
	    -ms-flex-preferred-size: 33.33333%;
	    flex-basis: 33.33333%;
	}
}
@media screen and (max-width: 549px){

    .ttpro_list .list_post{
        padding:5px;
    }
    .list_post_ul .post-item{
        width: 100%;
    }
}