﻿/*Portfolio v2 ktex specific
------------------------------------*/
/*Sorting Grid*/
.sorting-block .sorting-ktex {
	list-style: none;
}

.sorting-block .sorting-ktex .mix {
    opacity: 0;
    display: none;
    margin-bottom: 30px;
}

/*Sorting Grid with Text*/
.sorting-block .sorting-ktex li {								/* --- added by FdW --- */
	padding: 5px;
}

.sorting-block .sorting-ktex li a:hover  {
	text-decoration: none;
}

.sorting-block .sorting-ktex li .sorting-cover {	
	padding: 8px;
	display: block;
	margin-top: 1px;
	background: #F5F6CE;
}

.sorting-block .sorting-ktex li .sorting-cover p {	
	margin-bottom: 0;
}

.sorting-block .sorting-ktex li .sorting-cover span {	
	font-size: 100%;
}

.sorting-block .sorting-ktex li a:hover .sorting-cover {
	background: #72c02c;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;	
}

.sorting-block .sorting-ktex li a:hover .sorting-cover p,
.sorting-block .sorting-ktex li a:hover .sorting-cover span {
	color: #fff;
}

.sorting-block .sorting-ktex li span.sorting-cover {			/* --- added by FdW --- */
	padding: 5px;
	height: 200px;
	margin-top: 0px;
}

@media (max-width: 511px) {
	.sorting-block .sorting-ktex li span.sorting-cover {		/* --- added by FdW --- */
		height: auto;
		max-height: 350px;
	}
}

.sorting-block .sorting-ktex li span.sorting-cover span {		/* --- added by FdW --- */
	font-size: 120%;
	font-weight: bold;
}

/*Portfolio Dark mode
------------------------------------*/
body.dark .sorting-block .sorting-ktex li span.sorting-cover {
	background: #1c1c1c;
}

body.dark .sorting-block .sorting-ktex li:hover span.sorting-cover {
	background: #444;
}

body.dark .sorting-block .sorting-ktex li a:hover span.sorting-cover p, 
body.dark .sorting-block .sorting-ktex li a:hover span.sorting-cover span {
	color: #fff;
}