/*
Theme Name: Densford Civil 2025
Author: CDALogic
Description: Wordpress theme built with css grid framework
Version: 1.0
Date: April 2025
*/

:root {
	/* accent-color: red; */
	font-size: 10px;
	--densford-green: #65bd57;
	--font-primary: 'Poppins', sans-serif;
	color: #ffffff;
}
* {
	box-sizing:border-box;
	margin: 0;
	padding: 0;
	line-height: 1;
	outline: 0;
}
body {
	background: #000;
	font-family: var(--font-primary);
	overflow-x: hidden;
}
.densford-green {
	color: var(--densford-green);
}
/*
===================================================================================================================
FRAMEWORK
===================================================================================================================
*/
.container {	
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 20px;
	position: relative;
}
.container-fluid {	
	margin: 0 auto;
	max-width: 100%;
	padding: 0 5%;
}
#page {
	background: #000000;
	/* min-height: 100vh; */
}
.row-grid-mobile {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-gap: 20px;
}
.no-gap {
	grid-gap: 0;
}
.big-gap {
	grid-gap: 60px;
}
/*
===================================================================================================================
TYPOGRAPHY
===================================================================================================================
*/
h1,
h2,
h3,
h4,
h5,
p,
ul,
dt,
dd {
	margin-bottom: 20px;
}
.font-xl {
	font-size: 150%;
}
.font-l {
	font-size: 125%;
}
.font-s {
	font-size: 75%;
}
.font-xs {
	font-size: 50%;
}
.text-upp {
	text-transform: uppercase;
}
/*
===================================================================================================================
HEADINGS
===================================================================================================================
*/
h1,
.h1 {
	font-size: clamp(4rem, 5vw, 10rem);
	font-weight: 500;
}
h2,
.h2 {
	font-size: clamp(3rem, 4vw, 5rem);
	font-weight: 500;
}
h3,
.h3 {
	font-size: clamp(1.5rem, 4vw, 2.5rem);
	font-weight: 500;
}
h4,
.h4 {
	font-size: clamp(1.2rem, 5vw, 2.2rem);
	font-weight: 500;
}
h5,
.h5 {
	font-size: clamp(1rem, 4vw, 2rem);
}
/*
===================================================================================================================
PARAGRAPH TEXT
===================================================================================================================
*/
p {
	font-size: 1.6rem;
	line-height: 1.4;
}
/*
===================================================================================================================
IMAGES
===================================================================================================================
*/
img {
	height: auto;
	max-width: 100%;	
}
.gallery {
	display: grid;
	grid-gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
}
/*
===================================================================================================================
VIDEOS
===================================================================================================================
*/
.video-container {
	padding-bottom: 56.25%;
	padding-top: 30px; height: 0; overflow: hidden;
	position: relative;
}
.video-container iframe,
.video-container object,
.video-container embed {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

/*
===================================================================================================================
LISTS
===================================================================================================================
*/
ul {
	list-style-type: none;
	padding-left: 0;
}
ul:after {
	clear: both;
	content: "";
	display: block;	
	float: none;
}
.list-bullet {
	list-style-position: inside;
	list-style-type: disc;
}
li,
dt,
dd {
	font-weight: 300;
	line-height: 1;
	margin-bottom: 10px;
}
li a {
	display: block;
}
figure {
	margin: 0;
}
/*
===================================================================================================================
LINKS
===================================================================================================================
*/
a, 
a:hover, 
a:active, 
a:focus {
	text-decoration: none;
  	transition: all 0.25s ease-in-out;
}
a {
	color: var(--densford-green);
	font-weight: 500;
}
a.btn,
.btn,
.elementor-button {
	background: var(--densford-green);
	border: 3px solid var(--densford-green);
	border-radius: 5px !important;
	color: #fff;	
	display: inline-block;
	font-size: 2rem;
	margin: 0 auto 20px auto;
	max-width: max-content;
	padding: 20px;
	text-align: center;
	text-transform: uppercase;
}
a.btn:hover,
.btn:hover,
.elementor-button:hover {
	box-shadow: 0 5px 5px rgba(0,0,0,0.2);
	transform: scale(1.1);
}
.btn.btn-invert {
	background: transparent;
}
/*
===================================================================================================================
FIXES
===================================================================================================================
*/
.clearfix,
.clear {
	clear: both;
	float: none;
}
.kc_row:not(.kc_row_inner),
.kc-elm {
	clear: both;
	float: none !important;
}
.kc_row:after {
	clear: both !important;
	content: "";
	display: block !important;
	float: none !important;
}
/*
===================================================================================================================
ALIGNMENTS
===================================================================================================================
*/
.center {
	text-align: center;
}
.right {
	text-align: right;
}
.align-middle {
	display: grid;
	align-content: center;
}
.align-bottom {
	display: grid;
	align-content: end;
}
.object-cover img {
	object-fit: cover;
	min-width: 100%;
}
.center-center {
	align-items: center;
	display: flex;
	justify-content: center;
}
/*
===================================================================================================================
FORM ELEMENTS
===================================================================================================================
*/
input[type="color"], 
input[type="date"], 
input[type="datetime"], 
input[type="datetime-local"], 
input[type="email"], 
input[type="month"], 
input[type="number"],
input[type="password"], 
input[type="tel"], 
input[type="text"], 
input[type="time"], 
input[type="url"], 
input[type="week"], 
textarea {
	background: rgba(255,255,255,1);
	color: #000;
	border: 1px solid rgba(200,200,200,1);
	display: block;
	font-family: var(--font-primary);
	font-size: 1.6rem;
	height: auto;
	margin-bottom: 5px;
	padding: 20px;	
	width: 100%;
}
input[type="submit"],
.wpcf7-submit,
.elementor-kit-10 input[type="submit"] {
	background: var(--densford-green) !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: #fff !important;
	cursor: pointer;
	display: block;
	font-size: 19px !important;
	font-weight: 600 !important;
	letter-spacing: 1px;		
	margin-bottom: 20px !important;
	padding: 20px !important;
	text-transform: uppercase !important;	
	width: auto;
}
textarea {
	min-height: 100px;
}
::placeholder {
    color: inherit;
	font-family: var(--font-primary);
    opacity: 1;
}
.wpcf7 br {
	display: none;
}
.cf7-cf-turnstile {
	margin-bottom: 10px !important;
}
/*
===================================================================================================================
UP BUTTON
===================================================================================================================
*/
#up {	
	bottom: 10%;
	border: 2px solid var(--densford-green);
	background: rgba(0,0,0,0.5);	
	position: fixed;	
	right: 10px;	
	text-align: center;	
	z-index: 999;
}
#up a {
	color: var(--densford-green);
	display: flex;
	font-size: 3.5rem;
	height: 50px;
	justify-content: center;
	width: 50px;
}
#up a .fa {
	align-self: center;
}
/*
===================================================================================================================
MAIN NAVIGATION MENU
===================================================================================================================
*/
#top-bar {
	align-items: center;
	background: #111;
	display: flex;
	justify-content: space-between;
	left: 0;
	padding-left: 20px;
	position: fixed;
	top: 0;
	transition: all 0.25s ease-in-out;
	width: 100%;
	z-index: 999;
}
.menu-is-open #top-bar {
	transition: all 0.25s ease-in-out;
}
/* #menu-container {
	height: 100%;
	left: -100%;
	overflow-y: scroll;
	padding: 10px;
	position: fixed;
	text-align: center;
	transition: all 0.25s ease-in-out;
	width: 100%;
	z-index: 11;  	
} */
/* .open {
	left: 0 !important;
  	transition: all 0.25s ease-in-out;
} */
.show {
	display: block;
}
#main-menu {
	height: 100%;
	margin-bottom: 0;
	position: fixed;
	right: -100%;
	text-align: center;
	transition: all 0.25s ease-in-out;
	width: 100%;
}
.menu-is-open #main-menu {
	background: var(--densford-green);
	right: 0;
}
#main-menu li {
	margin-bottom: 0;
}
#main-menu li a {
	color: #fff;
	font-size: 2rem;
	font-weight: 500;
	padding: 20px;
}
.contact-button {
	background: var(--densford-green);
	border-radius: 5px;
}
#hamburger {
	align-content: space-between;
	background: var(--densford-green);
	cursor: pointer;
	display: grid;
	height: 50px;
	padding: 10px;	
	transition: all 0.5s 0.5s ease-in-out;
	width: 50px;
	z-index: 999;
}
.bar {	
	border-bottom: 6px solid #fff;
	transition: all 0.25s ease-in-out;
  	width: 100%;
}
#bar-wrapper {
	position: relative;
}
#bar-2 {
	position: relative;

}
#bar-3 {
	left: 0;
	position: absolute;
	top: 0;
}
.bar.blackout {
	border-bottom: 3px solid transparent;
  	transition: all 0.5s ease-in-out;
}
.menu-is-open #bar-1,
.menu-is-open #bar-4 {
	border-color: transparent;
	box-shadow: none;
	transition: none;
}
.menu-is-open #bar-2 {
	transform: rotate(45deg);
}
.menu-is-open #bar-3 {
	transform: rotate(-45deg);
}
.menu-is-open #fly-out-overlay {
	background: rgba(0,0,0,0.5);
	cursor: pointer;
	display: block;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	transition: all 0.25s ease-in-out;
	width: 100%;
}
#logo {
	font-size: 2rem;
	max-width: 200px;
}
/*
===================================================================================================================
HERO
===================================================================================================================
*/
.hero {
	height: 100vh;
	width: 100%;
}
/*
===================================================================================================================
PARALLAX
===================================================================================================================
*/
.parallax-bg {
	background-position: center 0;
	background-repeat: no-repeat;
	background-size: cover;	
}
/*
===================================================================================================================
SLIDER
===================================================================================================================
*/
.flexslider {
	border: 0;
	border-radius: 0;	
	box-shadow: none;	
	margin: 0 auto;
	overflow: hidden;
	padding: 0;
	z-index: 1;
}
/*
===================================================================================================================
FLY OUT MENU
===================================================================================================================
*/
/* #fly-out-menu select,
#fly-out-menu input,
#fly-out-menu textarea {
	border:1px solid #222;
}
#fly-out-menu select,
#fly-out-menu input {
	height: 50px !important;
}
.fly-out-open-button {
	cursor: pointer;
}
#fly-out-close-button {
	color: red;
	cursor: pointer;
	font-size: 48px;
	height: 50px;
	position: absolute;
	right: 20px;
	top: 20px;
	width: 50px;
	z-index: 999;
}
.fly-out-close {
	cursor: pointer;
}
#fly-out-menu {
	background: #fff;
	height: 100%;
	overflow-y: scroll;
	padding: 100px 40px;
	position: fixed;
	right: -100%;
	text-align: center;
	text-transform: capitalize;
	top: 0;
	transition: all 0.25s ease-in-out;
	width: 100%;
	z-index: 999;  	
}
#fly-out-overlay {
	background: rgba(0,0,0,0);
	cursor: pointer;
	display: none;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	transition: all 0.25s ease-in-out;
	width: 100%;
	z-index: 998;
}
.fly-out-open {
	right: 0 !important;
  	transition: all 0.25s ease-in-out;
}
.lights-out {
	background: rgba(0,0,0,0.8) !important;
	display: block !important;
	transition: all 0.25s ease-in-out;
} */
/*
===================================================================================================================
FOOTER
===================================================================================================================
*/
#footer-main {
	background: #111;
	color: #fff;
	padding: 40px 5%;
	position: relative;
	text-align: center;
	z-index: 2;
}
#footer-main li {
	font-size: 1.4rem;
	margin-bottom: 0;
}
#footer-main p,
#footer-main .btn {
	margin: 0;
}
#footer-main li:last-child {
	border-bottom: 0;
}
#footer-main li a,
#footer-main .fly-out-open-button {
	padding: 20px 0;
}
#footer-main div {
	margin-bottom: 20px;
}
.footer-fixed {
	bottom: 0;
	left: 0;
	position: fixed;	
	width: 100%;
	z-index: -1;
}
.footer-logo {
	max-width: 150px !important;
}
#footer-main img {
	margin-bottom: 20px;
}
#footer-main a {
	margin-bottom: 10px;
}
.footer-legal {
	background: #111;
	padding-bottom: 10px;
	position: relative;
	z-index: 2;
}
.footer-legal .container-fluid {
	display: flex;
	justify-content: space-between;
}
/*
===================================================================================================================
NATIVE CONTENT
===================================================================================================================
*/
.big-green {
	color: var(--densford-green);
}
.single-project ul {
	border-bottom: 5px solid var(--densford-green);
	margin-bottom: 20px;
	padding-bottom: 20px;
}
.single-project li {
	font-size: 2rem;
}
.single-project li strong {
	color: var(--densford-green);
	font-weight: 600;
}
.single-project header {
	background-position: center center;
	background-size: cover;
	margin-bottom: 60px;
	padding: 200px 5%;
	position: relative;
}
.background-overlay {
	content: "";
	display: block;
	position: absolute;
	background: linear-gradient(to right, rgba(0,0,0,0.5), rgba(0,0,0,0.2));
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.single header h1 {
	position: relative;
	z-index: 2;
}
.article-content {
	margin-bottom: 100px;
}
.prevnext {
	align-items: center;
	display: flex;
	font-size: 2rem;
	justify-content: space-between;
	margin-bottom: 100px;
}
#projects-list {
	display: grid;
	grid-gap: 20px;
	grid-template-columns: 1fr;
}
#projects-list img {
	margin-bottom: 10px;
	transition: all 0.25s;
}
.fields li {
	font-size: 1.4rem;
	margin-bottom: 10px;
}
#projects-list a {
	color: #fff;
}
#projects-list li:hover .h4 {
	color: var(--densford-green);
}
#projects-list .h4 {
	font-size: 1.8rem;
	line-height: 1.2;
	margin-bottom: 15px;
}
#projects-list strong {
	color: var(--densford-green);
	font-weight: 600;
	text-transform: capitalize;
}
#projects-list li:hover img {
	transform: scale(105%);
	transition: all 0.25s;
}


#page.single-career {
	background: #f5f5f5;
	color: #111;
}
.single-career li {
	font-size: 1.6rem;
	list-style-type: disc;
	list-style-position: inside;
}
.single-career .article-header {
	background: #222;
	color: #fff;
	font-weight: 800;
	margin-bottom: 60px;
	padding: 60px 0;
	text-align: center;
}
.career-info li {
	font-size: 2rem;
	list-style-type: none;
	line-height: 1.2;
}
.career-info strong {
	text-transform: uppercase;
}
.single-career strong {
	color: var(--densford-green);
	font-size: 1.8rem;
	font-weight: 700;
}
.single-career .article-header {
	/* background: url('/wp-content/uploads/2025/05/Densford-2025-S1-10.webp') no-repeat center center;
	background-size: cover; */
	background: #111;
	position: relative;
}
.careers-top {
	background: var(--densford-green);
	color: #fff;
	display: none;
	margin-bottom: 20px;
	font-size: 1.6rem;
	padding: 20px;
}
#careers-list {
	font-size: 1.6rem;
}
#careers-list li {
	margin-bottom: 0;
	padding: 40px 20px;
}
#careers-list li:nth-child(even) {
	background-color: #222;
}
#career-opportunities {
	padding-top: 20px;
	padding-bottom: 60px;
}
.work-title {
	margin-bottom: 10px;
}
.work-field {
	font-size: 1.3rem;
	margin-bottom: 5px;
}
.work-location {
	margin-bottom: 15px;
}
.work-apply {
	font-size: 1.8rem;
	margin-bottom: 0;
}
.btn.work-btn {
	padding: 10px;
	font-size: 1.4rem;
	margin-bottom: 0;
}

label,
.wpforms-field-label {
	color: #fff !important;
}
div.wpforms-container-full button[type=submit],
div.wpforms-container-full button[type=submit]:hover,
div.wpforms-container-full button[type=submit]:not(:hover):not(:active) {
	background: var(--densford-green);
}








/*
===================================================================================================================
MEDIA QUERIES
===================================================================================================================
*/
@media only screen and (min-width: 641px) {
	.row-grid {
		display: grid;
		grid-template-columns: repeat(12, 1fr);
		grid-gap: 20px;
	}
	.span-1 {
		grid-column: span 1;
	}
	.span-2 {
		grid-column: span 2;
	}
	.span-3 {
		grid-column: span 3;
	}
	.span-4 {
		grid-column: span 4;
	}
	.span-5 {
		grid-column: span 5;
	}
	.span-6 {
		grid-column: span 6;
	}
	.span-7 {
		grid-column: span 7;
	}
	.span-8 {
		grid-column: span 8;
	}
	.span-9 {
		grid-column: span 9;
	}
	.span-10 {
		grid-column: span 10;
	}
	.span-11 {
		grid-column: span 11;
	}
	.span-12 {
		grid-column: span 12;
	}
	#footer-main {
		display: flex;
		align-items: center;
		justify-content: space-between;
		text-align: left;
	}
	#footer-main img {
		margin-bottom: 0;
	}
	#footer-main a {
		margin-bottom: 0;
	}
	#footer-main div {
		margin-bottom: 0;
	}
	.big-green {
		color: var(--densford-green);
		text-align: right;
	}
	#logo {
		font-size: 2rem;
		max-width: 600px;
		transition: all 0.2s;
	}
	.logo-shrink {
		max-width: 300px !important;
		transition: all 0.2s;
	}
	#projects-list {
		grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	}
}
@media only screen and (min-width: 900px) {

	#top-bar {
		align-items: center;
		padding: 40px 5%;
		transition: all 0.4s;
	}
	.bar-shrink {
		padding: 10px 20px !important;
		transition: all 0.4s;
	}
	#main-menu {
		background: transparent;
		display: flex;
		height: auto;
		right: auto;
		position: static;
		text-align: center;
		transition: all 0.25s ease-in-out;
		width: auto;
	}
	#hamburger {
		display: none;
	}
	#main-menu li a {
		display: flex;
		font-size: 1.5rem;
		padding: 10px 20px;
	}
	.careers-top {
		display: grid;
	}
	#careers-list li {
		align-items: center;
	}
	.work-field {
		margin-bottom: 0;
	}

}