/*------------------------------------------------
*	Template name: BWACK
*	Version      : 1.0
*	Author       : FlaTheme
*	Author URL   : http://themeforest.net/user/flatheme
*
*	Table of contents:
*	1. 	Body/Main
*	2.	Toggle Menu
*	3.	Home
*	4.	Portfolio
*	5.	Services
*	6.	Resume
*	7.	Skills
*	8.	Blog
*	9.	Testimonial
*	10. Contact
*	11. Footer
*
-------------------------------------------------*/

/*-------------------------------------------------
	1. Body/Main
-------------------------------------------------*/
html, body {
	height: 100%;
}

body {
	position: relative;
	overflow-x: hidden;
	background: #fff;
	margin: 0;
	padding: 0;
	color: rgb(80, 80, 80);
	font: 300 14px 'Lato', sans-serif;
	letter-spacing: 0.5px;
}

h1, h2, h3, h4 {
	margin: 0 0 15px;
	color: rgb(20, 20, 20);
	font-family: 'PT Sans', sans-serif;
	letter-spacing: 1px;
}

h1 {
	font: 400 64px/64px 'PT Sans', sans-serif;
	text-transform: uppercase;
}

h2 {
	font: 700 32px/32px 'PT Sans', sans-serif;
}

h3 {
	font: 400 18px/18px 'PT Sans', sans-serif;
}

h4 {
	font: 400 14px/14px 'PT Sans', sans-serif;
	text-transform: uppercase;
}

ul, li, .row, p {
	margin: 0;
	padding: 0;
}

p {
	margin: 0;
	line-height: 24px;
}

a, a:hover, a:focus {
	text-decoration: none;
	outline: none;
}

li {
	list-style-type: none;
}

img {
	width: 100%;
	height: auto;
}

/* Section Title */
.section-title {
	position: relative;
	margin-bottom: 60px;
}

.section-title::before {
	position: absolute;
	bottom: -10px;
	left: 0;
	content: '';
	background: rgb(20, 20, 20);
	width: 50px;
	height: 1px;
}

/* Scroll To Top button */
.go-top {
	position: fixed;
	right: 15px;
	bottom: 15px;
	z-index: 997;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: linear 0.3s;
	-moz-transition: linear 0.3s;
	-o-transition: linear 0.3s;
	transition: linear 0.3s;
}

.go-top a {
	display: block;
	background: rgb(10, 10, 10);
	width: 60px;
	height: 60px;
	border: 1px solid rgb(10, 10, 10);
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	cursor: pointer;
	color: #fff;
	text-align: center;
	font-size: 14px;
	line-height: 60px;
	-webkit-transition: linear 0.1s;
	-moz-transition: linear 0.1s;
	-o-transition: linear 0.1s;
	transition: linear 0.1s;
}

.go-top a:hover, 
.go-top a:focus {
	background: transparent;
	color: rgb(10, 10, 10);
}

.go-top-visible {
	opacity: 1;
	visibility: visible;
}

/*-------------------------------------------------
	2. Toggle Menu
-------------------------------------------------*/
.toggle-btn {
	position: fixed;
	top: 15px;
	right: 15px;
	z-index: 998;
	background: rgb(10, 10, 10);
	width: 60px;
	height: 60px;
	margin: 0;
	padding: 0;
	outline: none;
	border: none;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	color: #fff;
}

.lines {
	position: relative;
	display: inline-block;
	background: #fff;
	width: 20px;
	height: 2px;
	margin: 0;
	padding: 0;
	vertical-align: middle;
}

.lines::before,
.lines::after {
	position: absolute;
	content: '';
	left: 0;
	display: inline-block;
	background: #fff;
	width: 20px;
	height: 2px;
	-webkit-transition: linear 0.1s;
	-moz-transition: linear 0.1s;
	-o-transition: linear 0.1s;
	transition: linear 0.1s;
}

.lines::before {
	top: 5px;
}

.lines::after {
	top: -5px;
}

.toggle-close .lines {
	background: transparent;
}

.toggle-close .lines::before, 
.toggle-close .lines::after {
	top: 0;
	-webkit-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
}

.toggle-close .lines::before {
	-webkit-transform: rotate3d(0, 0, 1, 45deg);
	transform: rotate3d(0, 0, 1, 45deg);
}

.toggle-close .lines::after {
	-webkit-transform: rotate3d(0, 0, 1, -45deg);
	transform: rotate3d(0, 0, 1, -45deg);
}

.menu {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 997;
	opacity: 0;
	visibility: hidden;
	background: rgba(0, 0, 0, 0.8);
	width: 100%;
	height: 100%;
	text-align: center;
	-webkit-transition: ease-out 0.3s;
	-moz-transition: ease-out 0.3s;
	-o-transition: ease-out 0.3s;
	transition: ease-out 0.3s;
}

.menu .nav {
	position: relative;
	top: 50%;
	-webkit-transform: translate(0,-50%);
	-moz-transform: translate(0,-50%);
	-ms-transform: translate(0,-50%);
	-o-transform: translate(0,-50%);
	transform: translate(0,-50%);
}

.menu .nav li {
	font: 400 32px 'PT Sans', sans-serif;
	letter-spacing: 1px;
}

.menu .nav li a {
	position: relative;
	padding: 0;
	color: #fff;
}

.menu .nav li a::before {
	position: absolute;
	content: '';
	bottom: -10px;
	left: 0;
	background: #fff;
	width: 0;
	height: 1px;
	-webkit-transition: ease-out 0.2s;
	-moz-transition: ease-out 0.2s;
	-o-transition: ease-out 0.2s;
	transition: ease-out 0.2s;
}

.menu .nav li a:hover, 
.menu .nav li a:focus, 
.menu .nav li.active a {
	background: transparent;
	color: #fff;
}

.menu .nav li a:hover::before, 
.menu .nav li a:focus::before, 
.menu .nav li.active a::before {
	width: 50px;
}

.show-menu {
	opacity: 1;
	visibility: visible;
}

/*-------------------------------------------------
	3. Home section
-------------------------------------------------*/
.fill {
	position: relative;
	height: 100%;
	min-height: 100%;
	margin: 0;
	padding: 0;
}

.home-background {
	background: url("../images/background.jpg") no-repeat center center;
 	-webkit-background-size: cover;
	-moz-background-size: cover;
	-ms-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	min-height: 100%;
}

.home-dark-layer {
	position: absolute;
	background: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100%;
}

.home-background .container {
	height: 100%;
}
.home-content {
	position: relative;
	top: 50%;
	left: 0;
	-webkit-transform: translate(0,-50%);
	-moz-transform: translate(0,-50%);
	-ms-transform: translate(0,-50%);
	-o-transform: translate(0,-50%);
	transform: translate(0,-50%);
}

.home-avatar-img img {
	width: 180px;
	height: 180px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
}

.home-content-text {
	text-align: left;
}

.home-content-text ul {
	margin-bottom: 17px;
}

.home-content-text ul li {
	display: inline-block;
	padding: 0 13px 13px 0;
}

.home-content-text ul li a {
	display: block;
	background: rgb(10, 10, 10);
	padding: 10px 30px;
	border: 1px solid rgb(10, 10, 10);
	color: #fff;
	font: 400 13px 'PT Sans', sans-serif;
	letter-spacing: 1px;
	text-transform: uppercase;
	-webkit-transition: linear 0.1s;
	-moz-transition: linear 0.1s;
	-o-transition: linear 0.1s;
	transition: linear 0.1s;
}

.home-content-text ul li a:hover {
	background: transparent;
}

.home-content-text h1, 
.home-content-text h3 {
	color: #fff;
}

.home-content-text h1 {
	margin-bottom: 15px;
}

.home-content-text h3 {
	margin: 0;
	line-height: 32px;
}

/*-------------------------------------------------
	4. Portfolio
-------------------------------------------------*/
.portfolio-background {
	padding: 90px 15px 60px;
}

.portfolio-background .row {
	margin: 0 -15px;
}

.portfolio-filter {
	margin-bottom: 37px;
}

.portfolio-filter ul li {
	display: inline-block;
	border-width: 1px;
	border-style: solid;
	border-color: rgba(220, 220, 220, 0.6) rgba(220, 220, 220, 0.4) rgb(220, 220, 220) rgba(220, 220, 220, 0.8);
	margin: 0 13px 13px 0;
	padding: 10px 20px;
	cursor: pointer;
	color: rgb(20, 20, 20);
	font: 400 14px 'PT Sans', sans-serif;
	letter-spacing: 1px;
	text-transform: uppercase;
	-webkit-transition: linear 0.1s;
	-moz-transition: linear 0.1s;
	-o-transition: linear 0.1s;
	transition: linear 0.1s;
}

.portfolio-filter ul li:hover, 
.portfolio-filter ul li.mixitup-control-active {
	border-color: rgb(20, 20, 20);
}

.portfolio-box {
	position: relative;
	margin-bottom: 30px;
}

.portfolio-box-content {
	position: absolute;
	top: 0;
	left: 0;
	background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
	width: 100%;
	height: 100%;
}

.portfolio-box-content a {
	display: block;
	background: transparent;
	width: 100%;
	height: 100%;
	-webkit-transition: ease-out 0.2s;
	-moz-transition: ease-out 0.2s;
	-o-transition: ease-out 0.2s;
	transition: ease-out 0.2s;
	color: rgba(255, 255, 255, 0.7);
}

.portfolio-box-content a::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	background: #fff;
	width: 50px;
	height: 1px;
}

.portfolio-box-content a::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	background: #fff;
	width: 1px;
	height: 50px;
}

.portfolio-box-content a::before, 
.portfolio-box-content a::after {
	opacity: 0;
	-webkit-transition: ease-out 0.2s;
	-moz-transition: ease-out 0.2s;
	-o-transition: ease-out 0.2s;
	transition: ease-out 0.2s;
}

.portfolio-content-title {
	position: absolute;
	bottom: 40px;
	left: 40px;
}

.portfolio-content-title h3 {
	color: #fff;
}

.portfolio-box-content:hover a {
	background: rgba(0, 0, 0, 0.3);
}

.portfolio-box-content:hover a::before, 
.portfolio-box-content:hover a::after {
	opacity: 1;
}

button.mfp-close {
	display: block;
	top: -44px;
	opacity: 1;
	width: auto;
	height: auto;
	line-height: auto;
	font-size: 24px;
	-webkit-transition: linear 0.1s;
	-moz-transition: linear 0.1s;
	-o-transition: linear 0.1s;
	transition: linear 0.1s;
}

.mfp-close-btn-in .mfp-close {
	color: rgba(255, 255, 255, 0.7);
}

button.mfp-close:hover {
	top: -44px;
	opacity: 1;
	color: #fff;
}

.popup-box {
	position: relative;
	background: #fff;
	width: auto;
	max-width: 640px;
	margin: 0 auto;
}

.popup-box div {
	padding: 30px;
}

/*-------------------------------------------------
	5. Services
-------------------------------------------------*/
.services-background {
	background: rgb(245, 245, 245);
	padding: 90px 0;
}

.services-background .row {
	margin: 0 -15px;
}

.services-box {
	position: relative;
	padding-left: 62px;
}

.services-box i {
	position: absolute;
	top: 0;
	left: 0;
	color: rgb(20, 20, 20);
	font-size: 32px;
}

/*-------------------------------------------------
	6. Resume
-------------------------------------------------*/
.resume-background {
	padding: 90px 15px 60px;
}

.resume-background .row {
	margin: 0 -15px;
}

.resume-box {
	margin-bottom: 30px;
}

.resume-icon {
	border-width: 1px;
	border-style: solid;
	border-color: rgba(220, 220, 220, 0.6) rgba(220, 220, 220, 0.4) rgb(220, 220, 220) rgba(220, 220, 220, 0.8);
	text-align: center;
}

.resume-icon i {
	position: absolute;
	top: 50%;
	left: 0;
	-webkit-transform: translate(0,-50%);
	-moz-transform: translate(0,-50%);
	-ms-transform: translate(0,-50%);
	-o-transform: translate(0,-50%);
	transform: translate(0,-50%);
	visibility: visible;
	opacity: 1;
	width: 100%;
	color: rgb(20, 20, 20);
	font-size: 32px;
	-webkit-transition: linear 0.1s;
	-moz-transition: linear 0.1s;
	-o-transition: linear 0.1s;
	transition: linear 0.1s;
}

.resume-icon span {
	position: absolute;
	top: 50%;
	left: 0;
	-webkit-transform: translate(0,-50%);
	-moz-transform: translate(0,-50%);
	-ms-transform: translate(0,-50%);
	-o-transform: translate(0,-50%);
	transform: translate(0,-50%);
	visibility: hidden;
	opacity: 0;
	width: 100%;
	font-size: 13px;
	-webkit-transition: linear 0.1s;
	-moz-transition: linear 0.1s;
	-o-transition: linear 0.1s;
	transition: linear 0.1s;
}

.resume-box:hover .resume-icon i {
	visibility: hidden;
	opacity: 0;
}

.resume-box:hover .resume-icon span {
	visibility: visible;
	opacity: 1;
}

/*-------------------------------------------------
	7. Skills
-------------------------------------------------*/
.skills-background {
	background: rgb(245, 245, 245);
	padding: 90px 15px;
}

.skills-background .row {
	margin: 0 -15px;
}

.progress {
	overflow: visible;
	position: relative;
	background: rgb(230, 230, 230);
	height: 6px;
	margin: 0;
	padding: 0;
	box-shadow: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-ms-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
}

.progress-bar {
	position: relative;
	background: rgb(20, 20, 20);
	box-shadow: none;
	border: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-ms-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
	line-height: 14px;
}

.progress-bar span {
	position: absolute;
	top: -34px;
	right: 0;
	color: rgb(160, 160, 160);
	text-align: right;
	font-size: 14px;
}

/*-------------------------------------------------
	8. Blog
-------------------------------------------------*/
.blog-background {
	padding: 90px 15px;
}

.blog-post-box {
	position: relative;
}

.blog-post-content {
	position: absolute;
	top: 0;
	left: 0;
	background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
	width: 100%;
	height: 100%;
}

.blog-post-content a {
	display: block;
	background: transparent;
	width: 100%;
	height: 100%;
	-webkit-transition: ease-out 0.2s;
	-moz-transition: ease-out 0.2s;
	-o-transition: ease-out 0.2s;
	transition: ease-out 0.2s;
	color: rgba(255, 255, 255, 0.7);
}

.blog-post-content a i {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	opacity: 0;
	color: #fff;
	font-size: 36px;
	-webkit-transition: ease-out 0.2s;
	-moz-transition: ease-out 0.2s;
	-o-transition: ease-out 0.2s;
	transition: ease-out 0.2s;
}

.blog-content-title {
	position: absolute;
	bottom: 40px;
	left: 40px;
}

.blog-content-title h3 {
	color: #fff;
}

.blog-post-box:hover .blog-post-content a {
	background: rgba(0, 0, 0, 0.3);
}

.blog-post-box:hover .blog-post-content a i {
	opacity: 1;
}

.customNavigation {
	float: right;
	margin-top: 30px;
}

.customNavigation ul li {
	display: inline-block;
	background: rgb(20, 20, 20);
	width: 50px;
	height: 50px;
	margin-right: 13px;
	border: 1px solid rgb(20, 20, 20);
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	cursor: pointer;
	color: #fff;
	font-size: 16px;
	line-height: 50px;
	text-align: center;
	-webkit-transition: linear 0.1s;
	-moz-transition: linear 0.1s;
	-o-transition: linear 0.1s;
	transition: linear 0.1s;
}

.customNavigation ul li:last-child {
	margin: 0;
}

.customNavigation ul li:hover {
	background: transparent;
	color: rgb(20, 20, 20);
}

/*-------------------------------------------------
	9. Testimonial
-------------------------------------------------*/
.testimonial-background {
	background: url("../images/background.jpg") no-repeat center center;
 	-webkit-background-size: cover;
	-moz-background-size: cover;
	-ms-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.testimonial-dark-bg {
	background: rgba(0, 0, 0, 0.6);
	padding: 90px 30px;
	text-align: center;
}

.testimonial-container {
	max-width: 640px;
	width: auto;
	margin: 0 auto;
}

.testimonial-box {
	color: rgba(255, 255, 255, 0.8);
}

.testimonial-box i {
	margin-bottom: 20px;
	font-size: 24px;
}

.testimonial-box p {
	font-style: italic;
}

.testimonial-box h4 {
	margin: 20px 0 0;
	color: #fff;
	text-align: center;
}

.owl-dots {
	margin-top: 30px;
}

.owl-dot {
	position: relative;
	display: inline-block;
	background: transparent;
	width: 8px;
	height: 8px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	margin: 0 10px;
}

.owl-dot:hover,
.owl-dot:focus,  
.owl-dot.active {
	background: #fff;
}

/*-------------------------------------------------
	10. Contact
-------------------------------------------------*/
.contact-background {
	padding: 90px 15px;
}

.contact-background .row {
	margin: 0 -15px;
}

.input-style {
	width: 100%;
}

.input-style input, 
.text-style textarea {
	background: transparent;
	width: 100%;
	padding: 15px 20px;
	border-width: 1px;
	border-style: solid;
	border-color: rgba(220, 220, 220, 0.6) rgba(220, 220, 220, 0.4) rgb(220, 220, 220) rgba(220, 220, 220, 0.8);
	outline: none;
	color: rgb(80, 80, 80);
	-webkit-transition: linear 0.1s;
	-moz-transition: linear 0.1s;
	-o-transition: linear 0.1s;
	transition: linear 0.1s;
}

.input-style div {
	margin-bottom: 15px;
}

textarea {
	height: 120px;
}

.input-style input:focus, 
.text-style textarea:focus {
	border-color: rgb(20, 20, 20);
}

::-webkit-input-placeholder {
	letter-spacing: 0.5px;
	color: rgb(80, 80, 80);
}

:-moz-placeholder {
	letter-spacing: 0.5px;
	color: rgb(80, 80, 80); 
}

::-moz-placeholder {
	letter-spacing: 0.5px;
	color: rgb(80, 80, 80); 
}

:-ms-input-placeholder {  
	letter-spacing: 0.5px;
	color: rgb(80, 80, 80);
}

.submit-style {
	display: inline-block;
	background: transparent;
	margin-top: 15px;
	padding: 15px 30px;
	border-width: 1px;
	border-style: solid;
	border-color: rgba(220, 220, 220, 0.6) rgba(220, 220, 220, 0.4) rgb(220, 220, 220) rgba(220, 220, 220, 0.8);
	box-shadow: none;
	color: rgb(20, 20, 20);
	font: 400 14px 'PT Sans', sans-serif;
	letter-spacing: 1px;
	text-transform: uppercase;
	-webkit-transition: linear 0.1s;
	-moz-transition: linear 0.1s;
	-o-transition: linear 0.1s;
	transition: linear 0.1s;
}

.submit-style:hover, 
.submit-style:focus {
	border-color: rgb(20, 20, 20);
}

.submit-style:focus {
	outline: none;
}

#success, 
#error {
	display: none;
	margin-top: 50px;
}

#success {
	color: #419873;
}

#error {
	color: red;
}

.contact-info ul li {
	position: relative;
	margin-bottom: 30px;
	padding-left: 54px;
}

.contact-info ul li i {
	position: absolute;
	top: 0;
	left: 0;
	color: rgb(20, 20, 20);
	font-size: 24px;
}

.contact-info ul li:last-child {
	margin: 0;
}

/*-------------------------------------------------
	11. Footer
-------------------------------------------------*/
.footer-background {
	background: rgb(10, 10, 10);
	padding: 90px 30px;
	color: rgba(255, 255, 255, 0.7);
	text-align: center;
}