
/** ==================================================

Project: Heraz
Description: Creative portfolio template
Version: 1.0
Last change: January 20, 2017

by layerz


[TABLE OF CONTENTS]

- Header
- Section header
- Content elements
- Portfolio
- Projects
- About
- Blog
- Single post
- Contact
- Footer
- Share

================================================== */



/** Header
================================================== */

	#header {
		display: table;
		width: 100%;
		height: 80px;
		position: relative;
		z-index: 10;
	}

	#header .inner {
		display: table-cell;
		vertical-align: middle;
		position: relative;
		height: 50px;
	}

	/** logo */
	#logo {
		line-height: 0;
		position: absolute;
		top: 50%;

		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
	}

	#logo:hover { opacity: 0.7; }
	#logo img { max-height: 50px; }

	#header .navigation { position: relative; }

	/** trigger */
	#trigger {
		height: 50px;
		position: relative;
		cursor: pointer;
	}

	#trigger .label {
		float: left;
		text-transform: uppercase;
		font-size: 14px;
		font-weight: 600;
		line-height: 50px;
		margin-right: 15px;
	}

	#trigger .burger {
		float: left;
		width: 18px;
		height: 14px;
		margin-top: 18px;
		position: relative;
	}

	#trigger .burger .icon-bar {
		width: 100%;
		height: 2px;
		position: absolute;
		right: 0;
		background: #222222;

		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
	}

	#trigger .burger .icon-bar.top { top: 0; }
	#trigger .burger .icon-bar.middle { top: 50%; margin-top: -1px; }
	#trigger .burger .icon-bar.bottom { bottom: 0; }

	#trigger.active .burger .icon-bar.middle { opacity: 0; }

	#trigger.active .burger .icon-bar.top {
		top: 50%;
		margin-top: -1px;

		-webkit-transform: rotate(45deg);
				transform: rotate(45deg);
	}

	#trigger.active .burger .icon-bar.bottom {
		bottom: 50%;
		margin-bottom: -1px;

		-webkit-transform: rotate(-45deg);
				transform: rotate(-45deg);
	}

	/** nav */
	#nav {
		width: 200px;
		position: absolute;
		top: 100%;
		right: 0;
		z-index: 10;
		background: #222222;
		margin-top: 30px;
		padding: 30px;
		opacity: 0;
		visibility: hidden;

		-webkit-transition: all 0.5s ease;
		transition: all 0.5s ease;
	}

	#nav.visible {
		margin-top: 15px;
		opacity: 1;
		visibility: visible;
	}

	#nav ul {
		list-style: none;
		text-align: right;
	}

	#nav ul li a {
		text-transform: uppercase;
		font-size: 14px;
		font-weight: 700;
	}

	#nav ul li a:hover,
	#nav ul li a.active { color: #eeeeee; }


/** Section header
================================================== */

	.section-header {
		height: 500px;
		position: relative;
	}

	.section-header.small { height: 400px; }

	.section-header .image,
	.section-header .overlay {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1;
	}

	.section-header.light .overlay {
		background: rgba(221, 221, 221, 0.7);
		background: -webkit-linear-gradient(top, rgba(221, 221, 221, 1) 0%, rgba(221, 221, 221, 0.7) 100%);
		background: -moz-linear-gradient(to bottom, rgba(221, 221, 221, 1) 0%, rgba(221, 221, 221, 0.7) 100%);
		background: -o-linear-gradient(to bottom, rgba(221, 221, 221, 1) 0%, rgba(221, 221, 221, 0.7) 100%);
		background: linear-gradient(to bottom, rgba(221, 221, 221, 1) 0%, rgba(221, 221, 221, 0.7) 100%);
	}

	.section-header.dark .overlay {
		background: rgba(34, 34, 34, 0.5);
		background: -webkit-linear-gradient(bottom, rgba(34, 34, 34, 0.5) 0%, rgba(34, 34, 34, 0.5) 50%);
		background: -moz-linear-gradient(to top, rgba(34, 34, 34, 0.5) 0%, rgba(34, 34, 34, 0.5) 50%);
		background: -o-linear-gradient(to top, rgba(34, 34, 34, 0.5) 0%, rgba(34, 34, 34, 0.5) 50%);
		background: linear-gradient(to top, rgba(34, 34, 34, 0.5) 0%, rgba(34, 34, 34, 0.5) 50%);
	}

	.section-header .content {
		position: absolute;
		top: 50%;
		right: 0;
		left: 0;
		z-index: 1;
		text-align: center;

		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
	}

	.section-header .content .headline .title {
		text-transform: uppercase;
		letter-spacing: 0.1em;
		padding-left: 0.1em;
		margin-bottom: 15px;
	}

	.section-header .content .headline .subtitle {
		max-width: 600px;
		margin: 0 auto;
		font-size: 20px;
	}

	.section-header.dark .content .headline .title { color: #ffffff; }
	.section-header.dark .content .headline .subtitle { color: #eeeeee; }


/** Content elements
================================================== */

	.sections .inner-content { margin-bottom: 100px; }
	.sections .inner-content:last-child { margin-bottom: 0; }

	.content-element { margin-bottom: 50px; }
	.content-element:last-child { margin-bottom: 0; }

	.content-element::after {
		content: '';
		display: block;
		clear: both;
	}

	/** hero */
	.hero {
		position: relative;
		height: 90vh;
		background-color: #222222;
	}

	.hero .hero-image,
	.hero .hero-video,
	.hero .hero-content {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1;
	}

	/** video content */
	.video-content {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1;
	}

	.video-content .play {
		width: 60px;
		height: 60px;
		border-radius: 50%;
		position: absolute;
		top: 50%;
		left: 50%;
		margin: -30px 0 0 -30px;
		background: rgba(255, 255, 255, 0.9);
		cursor: pointer;

		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
	}

	.video-content .play:hover {
		width: 70px;
		height: 70px;
		margin: -35px 0 0 -35px;
		background: #ffffff;
	}

	.video-content .play.hide {
		opacity: 0;
		visibility: hidden;

		-webkit-transform: scale(0.8);
		transform: scale(0.8);
	}

	.video-content .play::before {
		content: '';
		width: 0;
		height: 0;
		border-top: 8px solid transparent;
		border-bottom: 8px solid transparent;
		border-left: 10px solid #222222;
		position: absolute;
		top: 50%;
		left: 50%;
		margin: -8px 0 0 -5px;
	}

	.video-content .video {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1;
	}

	.video-content .video video,
	.video-content iframe {
		width: 100%;
		height: 100%;
	}


/** Portfolio
================================================== */

	.portfolio { padding: 100px 0; }

	.portfolio-entry .content .title {
		display: block;
		text-align: center;
		text-transform: uppercase;
		padding: 15px 0 0;
	}


/** Projects
================================================== */

	.project { padding: 100px 0; }

	.project-header .content { max-width: 600px; }


/** About
================================================== */

	.about { padding: 100px 0; }

	.intro .intro-content { max-width: 600px; }
	.intro .intro-content p { margin-bottom: 30px; }
	.intro .intro-content p:last-child { margin-bottom: 0; }

	.team-member .thumb { margin-bottom: 15px; }
	.team-member .content .role { font-size: 14px; }


/** Blog
================================================== */

	.blog { padding: 100px 0; }

	.posts .entry .header {
		text-align: center;
		margin-top: 15px;
	}

	.posts .entry .header .title {
		text-transform: uppercase;
		color: #222222;
	}

	/** metas */
	.metas span {
		display: inline-block;
		position: relative;
		text-transform: uppercase;
		font-size: 14px;
		font-weight: 600;
		margin-right: 15px;
	}

	.metas span:last-child { margin-right: 0; }
	.metas span.cat { color: #222222; }

	.section-header.dark .metas span.cat { color: #ffffff; }


/** Single post
================================================== */

	.single-post { padding: 100px 0; }

	.post-desc p { margin-bottom: 30px; }
	.post-desc p:last-child { margin-bottom: 0; }

	.post-desc .share { margin-top: 100px; }


/** Contact
================================================== */

	.contact { padding: 100px 0; }

	.contact-form #form-message {
		display: none;
		padding: 15px 30px;
		background: #dddddd;
	}


/** Footer
================================================== */

	#footer {
		padding: 100px 0;
		background: #222222;
	}

	/** socials */
	.social-links {
		list-style: none;
		margin-bottom: 30px;
	}

	.social-links li {
		display: inline-block;
		margin-right: 15px;
		position: relative;
	}

	.social-links li:last-child { margin-right: 0; }

	.social-links li a {
		display: block;
		width: 40px;
		height: 40px;
		line-height: 40px;
		border-radius: 50%;
		background: #eeeeee;
		text-align: center;
		font-size: 14px;
		color: #222222;
	}

	.social-links li a:hover { background: #ffffff; }

	/** copy */
	.copy {
		text-transform: uppercase;
		font-size: 14px;
		font-weight: 600;
	}

	.copy a.link {
		color: #ffffff;
		border-bottom-color: #ffffff;
	}

	/** back to top */
	.back2top {
		display: block;
		width: 30px;
		height: 15px;
		position: absolute;
		top: 0;
		right: 0;
		cursor: pointer;
	}

	.back2top::before,
	.back2top::after {
		content: '';
		width: 15px;
		height: 3px;
		background: #888888;
		position: absolute;
		top: 3px;

		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
	}

	.back2top:hover::before,
	.back2top:hover::after { background: #dddddd; }

	.back2top::before {
		left: 3px;

		-webkit-transform: rotate(-40deg);
		transform: rotate(-40deg);
	}

	.back2top::after {
		right: 3px;

		-webkit-transform: rotate(40deg);
		transform: rotate(40deg);
	}


/** Share
================================================== */

	.share { list-style: none; }

	.share li {
		display: inline-block;
		margin-right: 50px;
	}

	.share li:last-child { margin-right: 0; }

	.share li a {
		display: block;
		font-size: 16px;
		font-weight: 600;
		color: #222222;
	}

	.share li a i { margin-right: 5px; }

	.share li a:hover { opacity: 0.7; }

/** addons **/
.moveDown{position: relative; top:10%; }
.crop{overflow: hidden;}
