
/*---------------------
  Portfolio
-----------------------*/

.portfolio-section .container-fluid {
	padding-left: 35px;
}

.portfolio-section.portfolio-page {
	padding-top: 0;
}

.portfolio-section .section-title {
	margin-bottom: 22px;
	text-align: center;
}

.portfolio-section .section-title h2 {
	margin-bottom: 0;
}

.filter-controls {
	margin-bottom: 43px;
	text-align: center;
}

.filter-controls ul li {
	font-size: 17px;
	color: #888888;
	display: inline-block;
	list-style: none;
	margin-right: 60px;
	position: relative;
	cursor: pointer;
}

.filter-controls ul li.active {
	color: #000000;
}

.filter-controls ul li:after {
	position: absolute;
	right: -33px;
	top: -1px;
	content: "|";
	color: #d7d7d7;
}

.filter-controls ul li:last-child {
	margin-right: 0;
}

.filter-controls ul li:last-child:after {
	display: none;
}

.portfolio-filter .pf-item {
	width: calc(20% - 20px);
	height: 360px;
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
	position: relative;
	z-index: 1;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	overflow: hidden;
}

.portfolio-filter .pf-item:after {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	content: "";
	z-index: -1;
	opacity: 0;
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

.portfolio-filter .pf-item .pf-icon {
	font-size: 36px;
	color: #ffffff;
	opacity: 0;
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

.portfolio-filter .pf-item:hover:after {
	opacity: 1;
}

.portfolio-filter .pf-item:hover .pf-icon {
	opacity: 1;
}

.portfolio-filter .pf-item:hover .pf-text {
	bottom: 25px;
}

.portfolio-filter .pf-item:hover .pf-text h4 {
	opacity: 1;
	top: 0;
}

.portfolio-filter .pf-item:hover .pf-text span {
	opacity: 1;
	top: 0;
}

.portfolio-filter .pf-item .pf-text {
	text-align: center;
	position: absolute;
	left: 0;
	bottom: -100px;
	width: 100%;
}

.portfolio-filter .pf-item .pf-text h4 {
	color: #ffffff;
	font-weight: 700;
	text-align: center;
	margin-bottom: 5px;
	position: relative;
	top: 20px;
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}

.portfolio-filter .pf-item .pf-text span {
	font-size: 15px;
	color: #ffffff;
	position: relative;
	top: 40px;
	-webkit-transition: all 0.6s;
	-o-transition: all 0.6s;
	transition: all 0.6s;
}

.portfolio-filter .pf-item.large-width {
	width: calc(40% - 20px);
}

.portfolio-filter .pf-item.large-height {
	height: 740px;
}

.load-more-btn {
	text-align: center;
	margin-top: 30px;
	overflow: hidden;
}

.load-more-btn.portfolio-btn a {
	background: #009603;
}

.load-more-btn a {
	font-size: 15px;
	color: #ffffff;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	display: inline-block;
	padding: 15px 102px 13px;
	background: #000606;
	font-family: "Quantico", sans-serif;
}

/*---------------------
  Portfolio Hero
-----------------------*/

.portfolio-hero-section {
	height: 900px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	text-align: center;
}

.ph-text {
	background: rgba(0, 0, 0, 0.7);
	display: inline-block;
	padding: 60px 75px 65px;
	text-align: center;
}

.ph-text h2 {
	color: #ffffff;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.ph-text ul li {
	list-style: none;
	display: inline-block;
	color: #009603;
	font-size: 15px;
	margin-right: 28px;
	position: relative;
}

.ph-text ul li:after {
	position: absolute;
	right: -20px;
	top: -1px;
	color: #e1e1e1;
	opacity: 0.5;
	content: "|";
}

.ph-text ul li:last-child {
	margin-right: 0;
}

.ph-text ul li:last-child:after {
	display: none;
}

/*---------------------
  Portfolio Details
-----------------------*/

.portfolio-details-section {
	padding-top: 70px;
	padding-bottom: 40px;
}

.pd-text {
	margin-bottom: 70px;
}

.pd-text p {
	font-size: 17px;
	line-height: 30px;
}

.pd-text p:first-child {
	margin-bottom: 30px;
}

.portfolio-pics {
	padding-left: 20px;
	margin-bottom: 50px;
}

.portfolio-details-pic .pdp-item {
	width: calc(20% - 20px);
	float: left;
	height: 360px;
	margin-bottom: 20px;
	margin-right: 20px;
}

.portfolio-details-pic .pdp-item.large-width {
	width: calc(40% - 20px);
}

.portfolio-details-pic .pdp-item.large-height {
	height: 740px;
}

.pd-more-text h2 {
	color: #111111;
	font-weight: 700;
	margin-bottom: 30px;
}

.pd-more-text p {
	font-size: 17px;
	line-height: 30px;
}



/*--------------------------------- Responsive Media Quaries -----------------------------*/

@media only screen and (min-width: 1430px) {
	.container {
		max-width: 1400px !important;
	}
	.blog-details-section .container {
		max-width: 1170px !important;
	}

	.about-text {
		padding-left: 100px;
		padding-right: 110px;
	}
	.header-section {
		padding-left: 85px;
		padding-right: 85px;
	}
}

@media only screen and (min-width: 1200px) {
	.container {
		max-width: 1170px;
	}
}

/* Medium Device = 1200px */

@media only screen and (min-width: 992px) and (max-width: 1199px) {
	.hs-slider.owl-carousel .owl-nav button {
		left: 50px;
	}
	.hs-slider.owl-carousel .owl-nav button.owl-next {
		right: 50px;
	}

	.nav-menu ul li {
		margin-right: 5px;
	}
	.about-section .col-lg-6 {
		max-width: 100% !important;
		-webkit-box-flex: 0 !important;
		-ms-flex: 0 0 100% !important;
		flex: 0 0 100% !important;
	}
	.about-pic .play-btn {
		right: auto;
		left: 50%;
		-webkit-transform: translate(-50px, -50px);
		-ms-transform: translate(-50px, -50px);
		transform: translate(-50px, -50px);
	}
	.about-text {
		padding-left: 30px;
		padding-bottom: 70px;
		height: auto;
	}
	.blog-sidebar .bs-item h5:after {
		width: 45px;
	}
}

/* Tablet Device = 768px */

@media only screen and (min-width: 768px) and (max-width: 991px) {
	.portfolio-filter .pf-item {
		width: calc(33.33% - 20px);
	}
	.portfolio-filter .pf-item.large-width {
		width: calc(33.33% - 20px);
	}
	.gallery-filter .gf-item {
		width: calc(33.33% - 20px);
	}
	.portfolio-details-pic .pdp-item {
		width: calc(33.33% - 20px);
	}
	.portfolio-details-pic .pdp-item.large-width {
		width: calc(33.33% - 20px);
	}
}

/* Wide Mobile = 480px */

@media only screen and (max-width: 767px) {
	.portfolio-hero-section {
		height: auto;
		padding: 150px 0;
	}
	.portfolio-filter .pf-item {
		width: calc(50% - 20px);
	}
	.portfolio-filter .pf-item.large-width {
		width: calc(50% - 20px);
	}
	.gallery-filter .gf-item {
		width: calc(50% - 20px);
	}
	.portfolio-details-pic .pdp-item {
		width: calc(50% - 20px);
	}
	.portfolio-details-pic .pdp-item.large-width {
		width: calc(50% - 20px);
	}
}

/* Small Device = 320px */

@media only screen and (max-width: 479px) {
	.portfolio-section .container-fluid,
	.gallery-section .container-fluid {
		padding: 0 30px;
	}
	.portfolio-filter .pf-item {
		width: 100%;
		margin-right: 0;
	}
	.portfolio-filter .pf-item.large-width {
		width: 100%;
	}
	.gallery-filter .gf-item {
		width: 100%;
	}
	.portfolio-details-pic .pdp-item {
		width: 100%;
	}
	.portfolio-details-pic .pdp-item.large-width {
		width: 100%;
	}
	.about-text .at-list .al-item .al-pic,
	.blog-details-text .bd-comment-form .comment-item .ci-pic {
		float: none;
		margin-right: 0;
		margin-bottom: 25px;
	}
	.blog-hero {
		height: 450px;
	}
	.blog-details-text .bd-pics img {
		width: 100%;
		float: left;
		margin-right: 0;
		margin-bottom: 15px;
	}
	.blog-details-text .bd-title h2 {
		font-size: 36px;
		line-height: normal;
	}
}
