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

header {
    max-width: 1280px;
    margin: 0 auto;
    margin-top: 50px;
	z-index: 99;
    position: relative;
}
.header-area {
	min-height: 841px;
	width: 100%;
	background-position: center;
	background-size: cover;
	position: relative;
	display: block;
	overflow: hidden;
}

.overlay::before {
	content: '';
	position: relative;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	left: 0;
}
.background-outof-header {
	position: fixed;
	left: 0;
	background: white;
	box-shadow: 0px 0px 30px rgb(0 0 0 / 10%);
	transition: all 1.4s ease 0.1s;
	height: 70px;
}
.logo {
  width: 15rem;
  transition: all 0.9s;
}
.logo-on-scroll {
  width: 9rem;
}

.nav-container ul {
	list-style: none;
	text-decoration: none;
	margin: 10px 0 10px 0;
}

.nav-container ul li {
	list-style: none;
	display: inline-block;
	padding: 8px 12px;
	position: relative;
}

.nav-container ul li a {
	color: white !important;
	font-size: 18px !important;
	text-decoration: none;
	font-family: "DM Sans";
}

.nav-container ul li a.color-outof-header {
	color: #14606e !important;
}

.nav-container ul li a:hover {
	color: #f3620f !important;
}

.nav-container ul li a.active {
	color: #f3620f !important;
	border: 0px;
	font-size: 15px;
	text-decoration: none;
	font-family: "DM Sans";
}

.nav-on-page {
	display: flex;
    background: #292317;
    padding: 10px 40px;
    justify-content: space-between;
    border: 1px solid #ddd;
    border-radius: 25px;
}

.nav-on-page ul {
	list-style: none;
	text-decoration: none;
	margin: 10px 20px 10px 0;
}

.nav-on-page ul li {
	list-style: none;
	display: inline-block;
	padding: 8px 12px;
	position: relative;
}

.nav-on-page ul li a {
	color: #c1c1c1 !important;
	font-size: 17px !important;
	text-decoration: none;
	font-family: "DM Sans";
	cursor: pointer;
}

.nav-on-page ul li a:hover {
	color: #fff !important;
}

.header-area .block {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	padding: 0 20px;
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

.header-area .block h1 {
	font-size: 64px;
	margin: 20px auto 0px;
	text-transform: capitalize;
	color: white;
	font-family: "DM Sans";
	font-weight: 700;
}

.header-area .block p {
	color: white;
	margin: 0 auto;
	font-size: 25px;
	font-family: "DM Sans" !important;
	padding-top: 10px;
}

#primary-menu ul li.current_page_item a {
	color: #f3620f !important;
	font-size: 18px !important;
	text-decoration: none;
	font-family: "DM Sans";
}

.display-block {
	display: block !important;
}

/* responsive style */

.mobile-menu-btn {
	position: absolute;
	top: 20px;
    right: 35px;
    width: 35px;
	height: 35px;
	cursor: pointer;
	background-repeat: no-repeat;
	background-size: 35px 35px;
	display: none;
	background-image: url(../images/menu-icon.png);
	z-index: 1;
}

.c-link {
	line-break: anywhere;
}

@media only screen and (max-width:1100px) {
  .header-area .block h1 {
    font-size: 40px;
  }

	.header-area .block p {
		font-size: 16px;
	}
}

@media only screen and (max-width:900px) {
  .header-area .block h1 {
    font-size: 40px;
  }
}

@media only screen and (max-width: 768px) {
	header {
		padding: 0 20px;
	}
	.nav-container {
		padding: 70px 20px 0px 20px;
		top:0px;
	}

	#primary-menu {
		display: none;
	}

	.mobile-menu-btn {
		display: block;
	}

	.header-area {
		min-height: 740px;
	}

	.nav-container ul li {
		display: block;
	}

	.nav-container.active {
		height: 35rem;
		position: fixed;
		left: 0;
		right: 0;
		background: white;
		box-shadow: 0px 0px 30px rgb(0 0 0 / 10%);
	}

	.background-outof-header, .nav-container {
		transition: all 0.5s ease !important;
	}

  .logo {
    max-width: 12rem;
    position: absolute;
    top: 0.6rem;
  }
	.nav-container.active .menu-item a {
		color: #14606e !important;
		font-size: 25px !important;
	}

	.menu-homepage-main-menu-container {
		max-width: 200px;
		margin: 0 auto;
		text-align: center;
	}

}