/*------------------------------------------------
*	Template name: Gentleman
*	Version		: 1.4
*	Author    : FlaTheme
*	Author URL: http://themeforest.net/user/flatheme
*
*	Table of contents:
*	1. 	Body/Main
*	2. 	Toggle Menu
*	3.	Home Section
*	4.	Education/Experience Section
*	5.	Skills
*	6.	Hire me
*	7.	Portfolio Section
*	8.	Services Section
*	9.	Facts
*	10.	Testimonial Section
*	11.	Clients
*	12.	Contact Section
*	13.	Footer
*
-------------------------------------------------*/

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

body {
	position: relative;
	overflow-x: hidden;
	background: #fff;
	margin: 0;
	padding: 0;
	color: rgb(70, 70, 70);
	font: 300 13px/20px 'Open Sans', sans-serif;
}

h1, h2, h3, h4 {
	color: rgb(0, 0, 0);
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

h1 {
	margin: 10px 0;
	font-size: 40px;
	letter-spacing: 2px;
}

h2 {
	position: relative;
	margin: 0 0 45px 0;
	font-size: 18px;
}

h2::before {
	position: absolute;
	content: '';
	right: 0;
	bottom: -5px;
	left: 0;
	background: rgb(20, 20, 20);
	height: 1px;
}

h3 {
	margin: 5px 0;
	font-size: 16px;
}

h4 {
	margin: 5px 0;
	font-size: 13px;
}

p, 
.row {
	margin:0px;
}

.container-fluid {
	padding: 0;
}

.section-background {
	background: #fff;
	padding: 80px 60px;
}

.white-layer {
	background: rgba(255, 255, 255, 0.9);
	width: 100%;
	height: 100%;
}

.black-layer {
	background: rgba(0, 84, 185, 1.0);
	width: 100%;
	height: 100%;
}

.toggle-btn, 
.lines::before, 
.lines::after, 
.social a, 
.hire-background a, 
.submit-style, 
.col-right a {
	-webkit-transition: linear 0.2s;
	-moz-transition: linear 0.2s;
	-o-transition: linear 0.2s;
	transition: linear 0.2s;
}

.menu, 
.image-title a, 
input, 
textarea {
	-webkit-transition: ease-out 0.2s;
	-moz-transition: ease-out 0.2s;
	-o-transition: ease-out 0.2s;
	transition: ease-out 0.2s;
}

.image-layer, 
.image-title {
	-webkit-transition: ease-out 0.3s;
	-moz-transition: ease-out 0.3s;
	-o-transition: ease-out 0.3s;
	transition: ease-out 0.3s;
}

.social, 
.portfolio-content .owl-theme .owl-controls {
	-webkit-transform: translate(-50%,0);
	-moz-transform: translate(-50%,0);
	-ms-transform: translate(-50%,0);
	-o-transform: translate(-50%,0);
	transform: translate(-50%,0);
}

.home-box img, 
.service-box div:first-child, 
.testimonial-box img, 
.info i {
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
}

/*-------------------------------------------------
	2. Toggle Menu
-------------------------------------------------*/
.toggle-btn {
	position: fixed;
	z-index: 999;
	top: 0px;
	right: 0px;
	background: #fff;
	width: 60px;
	height: 60px;
	margin: 0;
	border: none;
	line-height: 60px;
}

.toggle-btn:focus {
	outline: none;
}

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

.lines::before,
.lines::after {
	position: absolute;
	content: '';
	left: 0;
	display: inline-block;
	background: rgb(20, 20, 20);
	width: 20px;
	height: 2px;
}

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

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

.toggle-close, 
.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: 998;
	background: #fff;
	width: 100%;
	-webkit-transform: translateY(-100%);
	-moz-transform: translateY(-100%);
	-ms-transform: translateY(-100%);
	transform: translateY(-100%);
}

.show-menu {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
}

.nav {
	text-align: center;
}

.nav li {
	list-style-type: none;
	line-height: 20px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.nav li a {
	position: relative;
	padding: 0;
	color: rgb(20, 20, 20);
}

.nav li a:hover {
	background: transparent;
}

/*-------------------------------------------------
	3. Home Section
-------------------------------------------------*/
.fill {
	min-height: 100%;
	height: 100%;
}

.home-background {
	position: relative;
	top: 0;
	left: 0;
	background: url("../images/home-bg-img.jpg") no-repeat top center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-ms-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	width: 100%;
	height: 100%;
}

.home-background .container-fluid, 
.home-background .row {
	height: 100%;
}

.home-box {
	background: rgba(0, 0, 0, 0.8);
	height: 100%;
	padding: 0;
	color: #fff;
}

.home-box div:first-child {
	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%);
	text-align: center;
}

.home-box img {
	width: 240px;
	height: 240px;
	border: 1px solid rgba(0, 0, 0, 0.3);
}

.home-background h1 {
	margin-top: 20px;
	color: #fff;
}

.home-background p {
	color: rgba(255, 255, 255, 0.5);
	font-weight: 400;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.social {
	position: absolute;
	bottom: 60px;
	left: 50%;
}

.social ul {
	padding: 0;
}

.social li {
	list-style-type: none;
	display: inline-block;
	padding-right: 10px;
}

.social li:last-child {
	padding: 0;
}

.social a {
	position: relative;
	display: block;
	width: 30px;
	height: 30px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	color: rgba(255, 255, 255, 0.3);
	text-align: center;
}

.social i {
	font-size: 14px;
	line-height: 30px;
}

.social a:last-child {
	margin: 0;
}

.social a:hover {
	color: #fff;
	text-decoration: none;
}

/*-------------------------------------------------
	4. Education/Experience Section
-------------------------------------------------*/
.resume-box {
	padding: 0;
}

.resume-box li {
	list-style-type: none;
	margin-bottom: 20px;
}

.resume-box li:last-child {
	margin: 0;
}

.resume-box h4 {
	margin-top: 0;
}

.resume-box span {
	color: rgb(180, 180, 180);
	font-weight: 400;
	font-style: italic;
}

.box-content {
	padding: 10px 0;
}

/*-------------------------------------------------
	5. Skills
-------------------------------------------------*/
.skills-background {
	background: url("../images/bg-img-1.jpg") no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-ms-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	padding: 0;
	text-align: center;
}

.skill-bar input[type="text"] {
	font: 300 20px "Open Sans", sans-serif;
	letter-spacing: 1px;
}

.skill-bar h4 {
 	margin: 10px 0;
	color: #fff;
	font-weight: 400;
}

/*-------------------------------------------------
	6. Hire me
-------------------------------------------------*/
.hire-background {
	background: url("../images/bg-img-1.jpg") no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-ms-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	text-align: center;
	padding: 0;
}

.hire-background p {
	margin-bottom: 20px;
	color: rgb(255, 255, 255);
	font-size: 18px;
	font-weight: 600;
	line-height: 28px;
	/*letter-spacing: 1px;
	text-transform: uppercase;*/
}

.hire-background a {
	display: inline-block;
	background: rgb(20, 20, 20);
	padding: 10px 20px;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.hire-background a:hover {
	background: rgb(50, 50, 50);
	text-decoration: none;
}

/*-------------------------------------------------
	7. Portfolio Section
-------------------------------------------------*/
.portfolio-content {
	position: relative;
	padding: 0;
}

.portfolio-content img {
	width: 100%;
}

.image-layer {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
}

.image-title {
	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%);
	padding-top: 10px;
	text-align: center;
}

.image-title h3 {
	margin-bottom: 10px;
	color: #fff;
	font-weight: 400;
}

.image-title a {
	position: relative;
	padding: 1px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	color: rgba(255, 255, 255, 0.7);
	text-transform: uppercase;
}

.image-title a:hover {
	color: #fff;
	text-decoration: none;
}

.portfolio-content:hover .image-layer, 
.portfolio-content:focus .image-layer {
	opacity: 1;
	background: rgba(0, 0, 0, 0.5);
}

.portfolio-content:hover .image-title, 
.portfolio-content:focus .image-title {
	padding: 0;
}

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

.popup-box img {
 	width: 100%;
}

.popup-content {
 	padding: 25px;
}

.popup-content h3 {
	margin-top: 0;
	text-align: center;
}

.portfolio-content .owl-theme .owl-controls {
	position: absolute;
	bottom: 40px;
	left: 50%;
}

.portfolio-content .owl-theme .owl-controls .owl-buttons div, 
.portfolio-content .owl-theme .owl-controls .owl-page span {
	background: #fff;
}

.owl-theme .owl-controls .owl-page span {
	width: 8px;
	height: 8px;
}

/*-------------------------------------------------
	8. Services Section
-------------------------------------------------*/
.service-box {
	margin-bottom: 40px;
	text-align: left;
}

.service-box:last-child {
	margin: 0;
}

.service-box div:first-child {
	float: left;
	width: 50px;
	height: 50px;
	border: 1px solid rgb(220, 220, 220);
	text-align: center;
}

.service-box div:last-child {
	padding-left: 65px;
}

.service-box h4 {
	margin-top: 0;
}

.service-box i {
	color: rgb(20, 20, 20);
	font-size: 18px;
	line-height: 50px;
}

/*-------------------------------------------------
	9. Facts
-------------------------------------------------*/
.facts-background {
	background: url("../images/bg-img-1.jpg") no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-ms-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	text-align: center;
	padding: 0;
}

.fact-box {
	padding: 10px 20px;
	border-right: 1px solid #fff;
}

.fact-box:last-child {
	border: none;
}

.fact-box p {
	color: #fff;
	font-size: 24px;
	font-weight: 300;
	letter-spacing: 1px;
}

.fact-box h4 {
	margin: 10px 0 0 0;
	color: #fff;
	font-weight: 400;
}

/*-------------------------------------------------
	10. Testimonial Section
-------------------------------------------------*/
.testimonial-box {
	margin-bottom: 40px;
}

.testimonial-box:last-child {
	margin: 0;
}

.testimonial-box img {
	width: 100px;
	height: 100px;
}

.testimonial-box p {
	position: relative;
}

.testimonial-box p::before {
	position: absolute;
	content: "\f10d";
	top: 0;
	left: -20px;
	color: rgb(220, 220, 220);
	font-family: "FontAwesome";
 	font-size: 13px;
}

.testimonial-box p::after {
	position: absolute;
	content: "\f10e";
	right: 0;
	bottom: 0;
	color: rgb(220, 220, 220);
	font-family: "FontAwesome";
	font-size: 13px;
}

/*-------------------------------------------------
	11. Clients
-------------------------------------------------*/
.clients-background {
	background: url("../images/bg-img-2.jpg") no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-ms-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	text-align: center;
	padding: 0;
}

.client-box {
	display: inline-block;
	padding: 0 20px;
}

.client-box img {
	width: 100%;
}

.clients-background .owl-theme .owl-controls .owl-buttons div, 
.clients-background .owl-theme .owl-controls .owl-page span {
	background: rgb(20, 20, 20);
}

/*-------------------------------------------------
	12. Contact Section
-------------------------------------------------*/
.info {
	margin: 0;
	padding: 0 0 30px 0;
}

.info li {
	list-style-type: none;
	height: 32px;
	margin-bottom: 10px;
	line-height: 32px;
	font-weight: 400;
}

.info i {
	float: left;
	width: 32px;
	height: 32px;
	margin-right: 5px;
	border: 1px solid rgb(220, 220, 220);
	line-height: 32px;
	color: rgb(20, 20, 20);
	font-size: 14px;
	text-align: center;
}

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

.text-style {
	width: 100%;
	margin-bottom: 15px;
}

input, textarea {
	background: rgb(240, 240, 240);
	padding: 10px;
	border-top: none;
	border-right: none;
	border-bottom: 1px solid rgb(240, 240, 240);
	border-left: none;
}

textarea {
 	height: 150px;
}

.input-style input, 
.text-style textarea {
	width: 100%;
}

input:focus, 
textarea:focus {
 	outline: none;
}

.submit-style {
 	display: inline-block;
	background: rgb(20, 20, 20);
	padding: 10px 20px;
	border: none;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.submit-style:hover {
	background: rgb(50, 50, 50);
	color: #fff;
	text-decoration: none;
}

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

.submit-result {
 	width: 100%;
}

#success {
	display: none;
	padding-top: 20px;
	color: #419873;
}

#error {
	display: none;
	padding-top: 20px;
	color: red;
}

.google-maps {
	padding: 0;
}

#map-canvas {
	width: 100%;
	height: 100%;
}

/*-------------------------------------------------
	13. Footer
-------------------------------------------------*/
.footer-background {
	background: rgb(20, 20, 20);
	padding: 40px;
	color: #fff;
}

.footer-background a {
	color: #fff;
}

.col-left {
	padding: 0;
	text-align: left;
}

.col-left i {
	padding: 3px;
}

.col-right {
	padding: 0;
	text-align: right;
}

.col-right a {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 30px;
	margin-right: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	color: rgba(255, 255, 255, 0.3);
	text-align: center;
}

.col-right a:last-child {
	margin: 0;
}

.col-right i {
	line-height: 30px;
	font-size: 14px;
}

.col-right a:hover {
	color: #fff;
	text-decoration: none;
}