/*------------------------------------------------
*	Template name: Gentleman
*	Version		: 2.0.1
*	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: #FFC301;
	font: 300 13px 'Open Sans', sans-serif;
}

h1, h2, h3, h4 {
	color: #FFC301;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

h1 {
	margin: 0 0 15px;
	font-size: 24px;
	letter-spacing: 2px;
}

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

h2::before {
	position: absolute;
	content: '';
	right: 0;
	bottom: -5px;
	left: 0;
	background: #FFC301;
	height: 1px;
}

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

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

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

ul, li {
	margin: 0;
}
p {
	margin: 15px;
	line-height: 30px;
}

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

.container-fluid {
	padding: 0;
}

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

.white-layer, 
.dark-layer {
	width: 100%;
	height: 100%;
}

.white-layer {
	background: rgba(255, 255, 255, 0.9);
}

.dark-layer {
	background: rgba(0, 0, 0, 0.5);
}

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

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

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

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

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

/* Owl Dots Style */
.owl-dots {
	margin-top: 20px;
}

.owl-dot {
	position: relative;
	display: inline-block;
	background: transparent;
	width: 8px;
	height: 8px;
	border: 1px solid rgb(20, 20, 20);
	border-radius: 50%;
	margin: 0 10px;
}

.owl-dot:hover,
.owl-dot:focus,  
.owl-dot.active {
	background: rgb(20, 20, 20);
}

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

.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%);
	transform: translateY(-100%);
}

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

.nav {
	display: block;
	text-align: center;
}

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

.nav .nav-item .nav-link {
	position: relative;
	padding: 0;
	color: rgb(20, 20, 20);
}

.nav .nav-item .nav-link:hover, 
.nav .nav-item .nav-link:focus {
	background: transparent;
	text-decoration: none;
}

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

.home-background {
	position: relative;
	top: 0;
	left: 0;
	background-size: cover;
	width: 100%;
	height: 100%;
}

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

.home-box div:first-child {
	position: relative;
	top: 50%;
	-webkit-transform: translate(0,-50%);
	transform: translate(0,-50%);
	text-align: center;
}

.home-box img {
	width: 240px;
	height: 240px;
	-webkit-box-shadow: 0 10px 20px 0 rgba(0,0,0,0.5);
	box-shadow: 0 10px 20px 0 rgba(0,0,0,0.5);
}

.home-background h1 {
	margin-top: 30px;
	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: 30px;
}

.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;
}

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

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

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

.skill-bar h4 {
 	margin: 15px 0 0;
	color: #fff;
	font-weight: 400;
	line-height: 13px;
}

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

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

.hire-background a {
	display: inline-block;
	background: rgb(20, 20, 20);
	padding: 15px 30px;
	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;
	background-color: #005BAE;
}

.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%);
	transform: translate(-50%,-50%);
	text-align: center;
}

.image-title h3, 
.image-title a {
	transform: translateY(4px);
	opacity: 0;
	-webkit-transition: ease-out 0.2s;
	transition: ease-out 0.2s;
}

.image-title h3 {
	color: #fff;
	font-weight: 400;
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

.image-title a {
	position: relative;
	display: inline-block;
	padding: 1px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	color: rgba(255, 255, 255, 0.7);
	text-transform: uppercase;
	-webkit-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

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

.portfolio-content:hover .image-title h3, 
.portfolio-content:hover .image-title a {
	transform: translateY(0);
	opacity: 1;
}

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

button.mfp-close {
	display: block;
	top: -44px;
	opacity: 1;
	width: auto;
	height: auto;
	line-height: auto;
	font-size: 24px;
	-webkit-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-content {
 	padding: 30px;
}

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

.portfolio-content .owl-dots {
	position: absolute;
	bottom: 50px;
	left: 50%;
	-webkit-transform: translate(-50%,0);
	transform: translate(-50%,0);
	margin: 0;
}

.portfolio-content .owl-dot {
	border-color: #fff;
}

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

/*-------------------------------------------------
	8. Services Section
-------------------------------------------------*/
.service-box {
	position: relative;
	padding-left: 70px;
	margin-bottom: 30px;
	text-align: left;
}

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

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

.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 center center;
	background-size: cover;
	text-align: center;
	background-color: #005BAE;
	padding: 0;
}

.facts-background .row {
	padding: 0 15px;
}

.fact-box {
	padding: 10px 15px;
	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: 15px 0 0;
	color: #fff;
	font-weight: 400;
	line-height: 23px;
}

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

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

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

.testimonial-box p {
	position: relative;
}

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

.testimonial-box h4 {
	margin: 10px 0 0;
}

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

.clients-background .white-layer {
	padding: 0 60px;
}

.client-box {
	display: inline-block;
}

.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;
}

.info li {
	position: relative;
	list-style-type: none;
	height: 36px;
	margin-bottom: 10px;
	padding-left: 46px;
	line-height: 36px;
	font-weight: 400;
}

.info i {
	position: absolute;
	top: 0;
	left: 0;
	width: 36px;
	height: 36px;
	line-height: 36px;
	border: 1px solid rgb(220, 220, 220);
	color: #FFC301;
	font-size: 13px;
	text-align: center;
}

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

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

input, textarea {
	background: rgb(240, 240, 240);
	padding: 15px;
	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: 15px 30px;
	border: none;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
}

.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 {
	-webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

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

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

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

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

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

.footer-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;
}

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

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

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