/*
Theme Name:		Ken Child Theme
Theme URI:		http://themeforest.net/user/artbees
Description:	Child theme for the Ken theme 
Author:			Azati
Theme URI:		http://themeforest.net/user/artbees
Template:		ken
Version:		1.0
*/

/* Sample : remove the comment and start adding your own custom CSS rules. */

.g-recaptcha > div {float:left;width:100% !important;}

/* GENERAL */

BODY:not(.has-gallery) #mk-page-title + .mk-grid {
	display: none;
}

.mk-page-subheading H3 {
	color: #393836;
	font-size: 22px;
	font-weight: inherit;
	line-height: 28px;
}

/* COMPLETED WORK PAGE */
.page-id-19345 #mk-page-title {
	padding-bottom: 10px;
}

#category-filter {
	padding-bottom: 4vh;
}

#category-filter button {
    background-color: transparent;
	border: 0 none !important;
    font-size: 16px;
    padding: 0.6vh 9px;
    position: relative;
    transition: all 0.15s linear;
}
#category-filter button:before {
	left: 0;
}
#category-filter button:after {
	right: 0;
}
#category-filter button:before,
#category-filter button:after {
    content: ''; position: absolute;
}
#category-filter button.active,
#category-filter button:hover {
    color: #8A151E;
}

.projects.columns-3 ul.projects li.project {
	list-style: none !important;
    margin: 0;
    padding: 0 !important;
}

.project-thumbnail {
    position: relative;
    display: flex !important;
    justify-content: center;
	overflow: hidden;
}
.project-thumbnail IMG {
	/*height: 250px !important;
	max-width: none !important;*/
	border: 1px solid #f5f5f5 !important;
}

#theme-page .projects .project-thumbnail:before,
#theme-page .projects .project-thumbnail:after {
	position: absolute;
	top: 0;
	bottom: 0;
	opacity: 0;
	transition: all 0.15s linear;
}
#theme-page .projects .project-thumbnail:before {
	content:'';
	background-color: rgba(0,0,0,0.15);
	max-width: 350px;
	width: 100%;	
}
#theme-page .projects .project-thumbnail:after {
	content:'i';
	border: solid rgba(255,255,255,0.7);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	left: 0;
	right: 0;
	text-align: center;
	line-height: 1.2em;
	font-style: italic;
	font-family: serif;
	color: rgba(255,255,255,0.7);
	font-weight: bold;
	margin: auto;
}
#theme-page .projects .project-item:hover .project-thumbnail:before,
#theme-page .projects .project-item:hover .project-thumbnail:after {
	opacity: 1;
}

#theme-page .projects H6 {
	font-weight: 400 !important;
	transition: all 0.15s linear;
	display: block !important;
	max-width: 350px;
	margin: 0 auto !important;
}
#theme-page .projects .project-item:hover H6 {
	color: #1e1e1e;
}

.projects H6 .elem-project-title {
	padding-right: 3px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.projects H6 .elem-project-location {
	color: #696969;
	display: block;
}
.project-item:hover H6 SPAN,
.project-item:hover H6 .small {
	color: #696969 !important;
}

@media only screen and (max-width: 480px) {
	#category-filter button {
		display: block;
	}
	#theme-page .projects .project-thumbnail:after {
		border-width: 1px;
		font-size: 1.5em;
		font-size: 15px;
		width: 40px;
		height: 40px;
	}
	#theme-page .projects H6 {
		font-size: 16px;
	}
	.projects H6 .elem-project-location {
		font-size: 12px;
	}
	A.project-permalink {
		margin: 10px 0;
	}
}
@media only screen and (min-width: 481px) {
	#category-filter button {
		border-bottom: 1px solid #ececec !important;
		box-shadow: 0 3px 3px rgba(0,0,0,0.01);
		margin: 10px 10px 0 0;
	}
	#category-filter button:before,
	#category-filter button:after {
		content: '';
		background-color: #ececec;
		bottom: 0;
		height: 14px;
		width: 1px;
	}
	#theme-page .projects .project-thumbnail:after {
		border-width: 2px;
		font-size: 2em;
		font-size: 20px;
		width: 60px;
		height: 60px;
	}
	#theme-page .projects H6 {
		font-size: 18px;
	}
	.projects H6 .elem-project-location {
		font-size: 13px;
	}
	.project-item.shuffle-item--visible A.project-permalink {
		margin: 10px 10px 10px 20px;
	}
}
@media only screen and (min-width: 769px) {
	/*.project-item { width:48%; }*/
	.project-item.shuffle-item--visible A.project-permalink {
		margin: 10px 10px 10px 20px;
	}
}

@media only screen and (min-width: 960px) {
	/*.project-item { width:33%; }*/
}

@media only screen and (min-width: 1024px) {
	#theme-page .projects .project-thumbnail:after {
		border-width: 3px;
		font-size: 3em;
		font-size: 40px;
		width: 80px;
		height: 80px;
	}
	#theme-page .projects H6 {
		font-size: 20px;
	}
	.projects H6 .elem-project-location {
		font-size: 14px;
	}
}

.col-3\@xs, .col-4\@sm {
	position: relative;
	box-sizing: border-box;
	min-height: 1px;
	padding-left: 8px;
	padding-right: 8px
}
.col-3\@xs {
	float: left;
	width: 50%
}

@media screen and (min-width:768px) {
	.col-4\@sm {
		width:33.33333%
	}
}

@media screen and (max-width:400px) {
	.col-3\@xs {
		width:100%
	}
}

.page-id-19343 #mk-page-title .mk-grid {
    background: none !important;    
}


/* header styles for "Request a Free Estimate" button position */

#mk-main-navigation .mk-header-search {
		margin: 0;
    line-height: normal;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

#mk-main-navigation .mk-header-search a {
	height: auto;
    line-height: normal;
    margin-top: 8px;
}

@media all and (max-width: 681px) {
	#mk-main-navigation .mk-header-search {
		padding: 0 16px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
	}
	
	#mk-main-navigation .mk-header-search a {
	margin-top: 0;
		margin-left: 8px;
}
}

#category-filter button.active, #category-filter button:hover {
    color: #8a151e;
}
