/*
Theme Name: Leven Child
Author: lmpixels
Author URI: https://themeforest.net/user/lmpixels
Description: Child theme for the Leven. Child themes are the recommended way of making modifications to a theme. <a href="http://codex.wordpress.org/Child_Themes">Read More</a>
Version: 1.1.0
License:     ThemeForest License
License URI: http://themeforest.net/licenses
Text Domain: leven
Template: leven
*/


/* Theme customization starts here
-------------------------------------------------------------- */

body.home p.testimonial-firm {
	color: rgb(0, 153, 204);
}

body.home div#page_container {
	padding-bottom: 20px;
}

#portfolio-page .portfolio-block .wp-block-image {
	margin-bottom: 20px;
}

.portfolio-grid {
	margin-left: 10px !important;
	margin-right: 10px !important;
}

.page-container.full-width-container {
	padding-bottom: 30px;
}

.testimonial-author-info {
	margin-top: 15px;
	position: absolute;
	bottom: 20px;
}

ul.portfolio-filters {
	display: flex;
	justify-content: flex-end;
}

ul.portfolio-filters li:nth-child(1) {
	order: 1;
}

ul.portfolio-filters li:nth-child(2) {
	order: 3;
}

ul.portfolio-filters li:nth-child(3) {
	order: 2;
}

ul.portfolio-filters li:nth-child(4) {
	order: 4;
}

.site-footer span {
	margin: 0 5px;
}

.site-footer .footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	flex-direction: row;
	justify-content: center;
	text-align: center;
}

.portfolio-block h3 {
    margin-top: 60px;
}

.portfolio-block, .portfolio-block * {
    text-align: left!important;
}

.portfolio-block img {
    margin: 0;
    width: 100%;
}

@media (max-width:1320px) and (min-width:1024px){
	.home-content {
		margin: 5% 50px;
	}

	.home-buttons {
		margin-left: auto;
		margin-right: auto;
		display: flex;
		justify-content: space-around;
	}

	.testimonial-text p {
		line-height: 1.4;
		font-size: 14px;
	}

	body .home-buttons {
		margin-right: auto
	}


}

@media (max-width: 1000px) {
	.testimonial-author-info {
		position: relative;
		bottom: -12px;
	}
}

@media (max-width: 767px) {
	.site-footer .footer {
		flex-direction: column;
	}

	.testimonial-content {
		max-height: 300px !important;
		overflow-y: scroll;
		padding: 20px 10px 20px 30px;
		overflow-x: hidden;
	}

	.testimonial-item {
		padding: 0;
	}

	.testimonial-text p {
		line-height: 1.2;
		font-size: 12px;
		margin-bottom: 30px;
	}

	body .testimonial-content {
		min-height: 260px!important;
		overflow-y: hidden!important;
	}	

	body .testimonial-icon {
		position: relative;
		margin-left: -40px;
	}

	.timeline-item {
		padding-left: 0;
		display: flex;
		flex-direction: column;
	}

	h5.item-period {
		margin: auto 0 10px!important;
		border: none!important;
		padding: 0!important;
		text-decoration: underline;
		text-decoration-color: #007ced;
		text-decoration-thickness: 2px;
	}

	h5.item-period.current {
		order: 1;
	}

	span.item-company {
		order: 3;
	}

	body .timeline-item .item-title {
		order: 2;
		margin-bottom: 0;
	}

	.text {
		order: 4;
	}

	.timeline-item .item-company {
		margin: 0;
	}	
}


