/* 
 Theme Name:   Niva child
 Theme URI:    
 Description:  
 Author:       Emanuel Draghetti
 Author URI:   
 Template:     niva
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

.single article .article-content li{margin-top:15px;}
.search-layout{width:50%;float:right;}
.ymc-smart-filter-container .search-layout .search-form__submit{height:45px;}
.ymc-smart-filter-container .search-layout .search-form__input {height:45px;border: 1px solid #141518;}
div#filter-layout3-1{width:50%;}
.ymc-smart-filter-container .search-layout .search-form .form-inner .component-input {max-width: unset;}
.ymc-smart-filter-container .filter-layout3 .filter-entry{flex-wrap:unset;}


.ymc-smart-filter-container .container-posts .post-layout1{
	display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 1fr;
    grid-auto-flow: dense;
}
.ymc-smart-filter-container .container-posts .post-layout1 .ymc-post-layout1 .title{
 	font-size: 16px;
 	text-align:left;
 	opacity: 1;
 	white-space: unset;
	color:#ffffff;
}

.ymc-smart-filter-container .container-posts .post-layout1 .ymc-post-layout1 a,
.ymc-smart-filter-container .container-posts .post-layout1 .ymc-post-layout1 {height:100%;}
.ymc-smart-filter-container .container-posts .post-layout1 .ymc-post-layout1 figure.media {width:100%;height:100%;margin:0;}
.ymc-smart-filter-container .container-posts .post-layout1 .ymc-post-layout1 figure.media img {height: 100%;
    object-fit: cover;}
figure.media::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
	height: 100%;
	background: linear-gradient(0deg, rgb(37 37 37) 10%, rgba(255,255,255,0) 80%);
}
.ymc-smart-filter-container .filter-layout3 .dropdown-filter .menu-passive__item .menu-link .count,
.ymc-smart-filter-container .filter-layout3 .selected-items,
.ymc-smart-filter-container .container-posts .post-layout1 .ymc-post-layout1 .read-more,
.ymc-smart-filter-container .container-posts .post-layout1 .ymc-post-layout1 .date,
.ymc-smart-filter-container .container-posts .post-layout1 .ymc-post-layout1 .author,
.ymc-smart-filter-container .container-posts .post-layout1 .ymc-post-layout1 .excerpt,
.ymc-smart-filter-container .container-posts .post-layout1 .ymc-post-layout1 .category{display:none;}

#ymc-smart-filter-container-1 .container-posts .post-entry .ymc-post-layout1{
	display: flex;
    justify-content: center;
    align-items: center;
	padding:0;
}
	#ymc-smart-filter-container-1 .container-posts .post-entry .ymc-post-layout1.featuredbox{
		grid-column: span 1;
		grid-row: span 1;
	}
#ymc-smart-filter-container-1 .container-posts .post-entry .ymc-post-layout1:first-child {
    grid-column: span 1;
    grid-row: span 1;
}
@media only screen and (min-width: 640px)  {
	#ymc-smart-filter-container-1 .container-posts .post-entry .ymc-post-layout1.featuredbox{
		grid-column: span 2;
		grid-row: span 2;
	}
	#ymc-smart-filter-container-1 .container-posts .post-entry .ymc-post-layout1:first-child{
		grid-column: span 2;
		grid-row: span 2;
	}
}
@media only screen and (max-width: 480px)  {
	.ymc-smart-filter-container .filter-layout3 .filter-entry {flex-wrap: unset;width:100%;}
	div#filter-layout3-1{width:100%;}
	.ymc-smart-filter-container .filter-layout3 .dropdown-filter .menu-passive{width:180px;}
	.search-layout{width:100%;float:none;}	
	.ymc-smart-filter-container .container-posts .post-layout1 .ymc-post-layout1 .title {
		top: unset;
		bottom: 0;
	}
}
.skillspercentage span.skill-count:after {
    content: "%";
}
.nfp .mega-testimonial-3 img {display:none;}
.nfp .fa-quote-left:before {
    font-size: 50px;
}
.nfp .vc_column-inner {padding-bottom:35px;}
