/*
  Custom Styles by Morningstar Digital (MD)
  Your custom style will be added here.
  */

body{
	overflow-x: hidden
}

.md h1, .md h2, .md h3{
	font-weight: 800
}
p{
	font-weight: 400
}
.landing-page .et-pb-controllers{
	display: none
}

.md .landing-page h1{
    line-height: 1.2em;
	text-align: left;
	text-shadow: -3px 10px 15px #000;
}

.text-white h2, .text-white p{
	color: #fff
}
.text-green h2, .text-green h3{
	color: #1b5d2f
}

.blurb-flex .et_pb_blurb_content{
	display: flex;
	align-items: center
}
.blurb-flex .et_pb_main_blurb_image{
	margin-bottom: 0;
	margin-right: 17px;
	margin-bottom: 30px
}

/* HEADER */
.md #top-menu-nav>ul>li>a:hover{
	opacity: 1
}
.md .btn-transparent, .md .btn-white{
	min-width: 163px;
	border-radius: 5px;
	padding-top: 10px;
	padding-bottom: 10px;
	transition: background-color 0.3s ease, color 0.3s ease
}
.md .btn-transparent{
	background-color: transparent;
	border: 1px solid #fff
}
.md .btn-transparent:hover{
	background-color: #fff;
	color: #000
}
.md .btn-white{
	background-color: #fff;
	border: 1px solid #fff;
	color: #000000
}
.md .btn-white:hover{
	background-color: transparent;
	color: #fff
}

.blurb-flex.about-us .et_pb_blurb_content{
	justify-content: center;
	align-items: flex-start;
}
@media all and (min-width: 981px) and (max-width: 1280px){
	.we-have-passion-row{
		width: 90%
	}
}
.we-have-the-passion p{
	padding-top: calc(20px + (30 - 20) * ((100vw - 320px) / (1920 - 320)));
	padding-bottom: 5px
}


.single-services .tile-hover .content:after {
    background: #fefefe;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.single-services{
	display: flex;
	align-items: center;
	justify-content: center
}

.single-services h2{
	font-size: 46px;
	color: #fff;
	padding: 0;
	text-align: center;
	
}


.renewables .et_pb_blurb_content{
	max-width: 100%;
}
.renewables .et_pb_image_wrap{
	min-width: 77px
}
.renewables h4.et_pb_module_header{
	color: #1b5d2f;
	font-size: calc(22px + (36 - 22) * ((100vw - 320px) / (1920 - 320)));
}
.renewables li{
	color: #6d9e44;
	font-weight: 400;
	margin-right: calc(1px + (80 - 1) * ((100vw - 320px) / (1920 - 320)));
    margin-top: 15px;
}
.renewables li span{
	color: #010101;
}


.about-us h4.et_pb_module_header{
	font-size: calc(22px + (30 - 22) * ((100vw - 320px) / (1920 - 320)));
}
.about-us .et_pb_blurb_description p{
	color: #282828
}

.about-us .et_pb_blurb_description h5{
	margin-top: 7px;
	font-size: 12px;
	font-weight: 700;
	color: #1b5d2f;
	padding-bottom: 0;
	display: flex;
    align-items: center;
	transition: color 0.3s ease
}
.about-us .et_pb_blurb_description h5:hover{
	color: #010101
}
.about-us .et_pb_blurb_description h5::after{
	content: '\45';
	font-family: ETmodules;
	font-size: 20px
}


@media all and (min-width: 981px){
	#logo{
		max-height: calc(50px + (75 - 50) * ((100vw - 981px) / (1920 - 981)))!important;
	}
	.et-fixed-header #logo{
		max-height: 75%!important;
	}
	#top-menu li{
		padding-right: calc(7px + (80 - 7) * ((100vw - 981px) / (1920 - 981)));
	}
	#top-menu li a{
		font-size: calc(13px + (14 - 13) * ((100vw - 981px) / (1920 - 981)));
	}
	#top-menu li:nth-child(6){
		padding-right: 7px
	}
	#et-top-navigation{
		padding-left: 0!important
	}
	.md .btn-transparent, .md .btn-white{
		padding-left: calc(10px + (25 - 10) * ((100vw - 981px) / (1920 - 981)));
		padding-right: calc(10px + (25 - 10) * ((100vw - 981px) / (1920 - 981)));
	}
	.et-fixed-header .md .btn-transparent, .md .btn-white{
		padding-top: 8px;
		padding-bottom: 8px
	}
	.section-title h2{
		font-size: calc(32px + (48 - 32) * ((100vw - 981px) / (1920 - 981)));
		text-transform: uppercase
	}
	.h2-heading{
		font-size: calc(35px + (48 - 35) * ((100vw - 981px) / (1920 - 981)));
	}
	.landing-page h1{
		font-size: calc(45px + (78 - 45) * ((100vw - 981px) / (1920 - 981)));
	}
	.fs-36 h3, h3.fs-36{
		font-size: calc(28px + (36 - 28) * ((100vw - 981px) / (1920 - 981)));
	}
	.renewables ul{
		margin-left: 35px;
		display: flex
	}
	.renewables li{
		font-size: 24px
	}
	
	.we-have-the-passion h2{
		font-size: calc(34px + (45 - 34) * ((100vw - 981px) / (1920 - 981)));
	}
	.services-container .content-image{
		min-height: calc(550px + (500 - 550) * ((100vw - 981px) / (1920 - 981)));
	}
	.services-container .content-details li{
		font-size: calc(16px + (20 - 16) * ((100vw - 981px) / (1920 - 981)));
	}
	.services-container .content-details {
		padding-left: calc(30px + (50 - 30) * ((100vw - 981px) / (1920 - 981)));
	}
	.accordion ul li {
		height: calc(530px + (730 - 530) * ((100vw - 981px) / (1920 - 981)));
	}
	.accordion ul li div a h2 {
		font-size: calc(20px + (35 - 20) * ((100vw - 981px) / (1920 - 981)));
	}
	.accordion ul li div a {
		height: calc(300px + (730 - 300) * ((100vw - 981px) / (1920 - 981)))!important;
		display: flex!important;
		align-items: flex-end;
		transform: translateY(-30px)
	}
	.accordion ul:hover li:hover,
	.accordion ul li:focus,
	.accordion ul:focus-within li:focus {
		width: 13%;
	}
	.accordion ul:hover li:hover {
		width: 13% !important;
	}
	.accordion ul:hover li,
	.accordion ul:focus-within li {
		width: 8%;
	}
	.accordion ul:hover li {
		width: 8% !important;
	}
}

@media all and (max-width: 980px){
	#logo{
		max-height: 85%!important;
	}
	.md #main-header{
		background-color: #1b5d2f
	}
	.md #main-header .mobile_nav.closed .mobile_menu_bar .icon_menu:before, .md #main-header .mobile_nav.opened .mobile_menu_bar .icon_close:before{
		color: #fff
	}
	.md #main-header .et_mobile_menu{
		background-color: rgba(0,0,0,0.93);
		border-top-color: #fff
	}
	.landing-slider .et_pb_slide_description{
		padding-top: 10%;
		padding-bottom: 10%
	}
	.md .btn-transparent{
		padding: 10px 38px
	}
	.md .btn-white{
		padding: 10px 25px;
	}
	#mobile_menu li:last-child{
		margin-top: 10px
	}
	.section-title h2{
		font-size: calc(28px + (42 - 28) * ((100vw - 320px) / (980 - 320)));
		text-transform: uppercase
	}
	.h2-heading{
		font-size: calc(25px + (40 - 25) * ((100vw - 320px) / (980 - 320)));
	}
	.landing-page h1{
		font-size: calc(30px + (60 - 30) * ((100vw - 320px) / (980 - 320)));
	}
	.fs-36 h3, h3.fs-36{
		font-size: calc(24px + (30 - 24) * ((100vw - 320px) / (980 - 320)))
	}
	.renewables li{
		font-size: calc(17px + (23 - 17) * ((100vw - 320px) / (980 - 320)));
	}
	.services-container .content-details {
		padding-left: calc(20px + (30 - 20) *  ((100vw - 320px) / (980 - 320)));
	}
	.we-have-the-passion h2{
		font-size: calc(30px + (40 - 30) * ((100vw - 320px) / (980 - 320)));
	}
	.renewables ul{
		margin-left: calc(3px + (15 - 3) * ((100vw - 320px) / (980 - 320)));
	}
	
	.accordion ul li div a h2{
		font-size: calc(25px + (35 - 25) * ((100vw - 320px) / (980 - 320)));
		text-align: center
	}
	#projects .accordion ul li div a h2 {
		opacity: 1 !important;
	}
	
	.md .et_pb_section {
		padding-top: calc(15px + (40 - 15) * ((100vw - 320px) / (980 - 320)));
		padding-bottom: calc(15px + (40 - 15) * ((100vw - 320px) / (980 - 320)));
	}
}

@media all and (min-width: 768px) and (max-width: 980px){
	.services-container .content-image{
		min-height: calc(530px + (500 - 530) * ((100vw - 768px) / (980 - 768)));
	}
	.md-row-3 .et_pb_column{
		width: 31.3333%;
		margin-right: 3%
	}

}
@media all and (max-width: 767px){
	.services-container .content-image{
		min-height: calc(680px + (500 - 680) * ((100vw - 320px) / (767 - 320)));
	}
	.services-container .content-details li{
		font-size: 16px
	}
}

/* CONTACT INFOS */
.contact-details h4.et_pb_module_header{
	font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif;
	font-size: calc(20px + (32 - 20) * ((100vw - 320px) / (1920 - 320)));
    line-height: 1.2em;
	font-weight: 600;
	margin-bottom: calc(0px + (15 - 0) * ((100vw - 320px) / (1920 - 320)));
	padding-bottom: calc(2px + (10 - 2) * ((100vw - 320px) / (1920 - 320)));
}
.contact-details .et_pb_blurb_description p{
	font-size: calc(16px + (21 - 16) * ((100vw - 320px) / (1920 - 320)));
}
.contact-details .et_pb_main_blurb_image img{
	max-width: calc(35px + (67 - 35) * ((100vw - 320px) / (1920 - 320)));
}
.contact-details .et_pb_main_blurb_image{
	margin-bottom: calc(5px + (30 - 5) * ((100vw - 320px) / (1920 - 320)));
}
/* CONTACT INFOS */

/* CONTACT FORM */
.general-inquiry-form .nf-form-fields-required, .general-inquiry-form .nf-error-msg.nf-error-field-errors{
	display: none
}
.general-inquiry-form .contact-heading p {
	font-size: calc(17px + (21 - 17) * ((100vw - 320px) / (1920 - 320)));
}
.general-inquiry-form .nf-form-content{
	padding: 0;
	max-width: 90%
}
.general-inquiry-form .nf-form-content .list-select-wrap .nf-field-element>div, .general-inquiry-form .nf-form-content input:not([type=submit]), .general-inquiry-form .nf-form-content textarea{
	background-color: #fff!important;
    border-radius: 5px;
	border: 1px solid #1b5d2f!important
}
.general-inquiry-form .nf-error .nf-error-msg{
	font-weight: 400;
    font-size: 14.5px
}
.general-inquiry-form .btn-send-message{
	background-color: #1b5d2f!important;
	border-radius: 5px!important;
	min-width: 166px;
	font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif;
	cursor: pointer;
	font-weight: 400!important
}
.general-inquiry-form .btn-send-message:hover{
	background-color: #e7f4eb!important;
	color: #1b5d2f!important;
	font-size: 16px!important;
}
.general-inquiry-form .form-icon{
	padding-bottom: 40px
}
/* notification message */
.nf-response-msg {
    font-family: sans-serif;
    font-size: 16px;
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
    border-radius: .25rem;
    margin-left: 5px;
    margin-right: 5px;
    text-align: center;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
}
.nf-response-msg p {
    padding-bottom: 0;
}
/* CONTACT FORM */

/* FOOTER */
.footer-section h5{
	font-size: 24px;
	color: #1b5d2f;
	padding-bottom: 30px
}
.footer-section ul {
	list-style: none;
	padding: 0
}
.footer-section li{
	padding: 5px 0
}
.footer-section li, .footer-section a, .footer-section p, .footer-copyright{
	font-weight: 400;
	color: #fff;
	font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320)));
}
/* FOOTER */

/* Services Boxes */
.main-title{
  color: #2d2d2d;
  text-align: center;
  text-transform: capitalize;
  padding: 0.7em 0;
}
.services-container{
  width: 100%;

}
/* @media screen and (max-width: 480px){
  .services-container{
    display: block;
    width: 100%;
  }
} */

/* @media screen and (min-width: 980px){
  .services-container{
    width: 33.33333%;
  }
} */
.services-container .d-flex{
	display: flex;
	align-items: center
}
.services-container .title{
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 10px;
}
.services-container .content {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: auto;
  overflow: hidden;
}
.services-container .content .content-overlay {
  background: rgba(0,0,0,0.7);
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}
.services-container .content:hover .content-overlay{
  opacity: 1;
}
.services-container .content:hover .h2-heading{
    opacity: 0;
	text-shadow: 10.497px 12.075px 20px rgba(0, 0, 0, 0.51);
}
.services-container .content-image{
    width: 100%;
	object-fit: cover
}
.services-container .content-details {
  position: absolute;
  padding-right: 30px;
  width: 100%;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}
.services-container .content:hover .content-details{
    top: 50%;
    left: 50%;
    opacity: 1;
}
.services-container .h2-heading{
	transition: opacity 0.35s ease;
	position: absolute;
	z-index: 999;
	color: #fff;
	opacity: 1;
	padding-bottom: 0;
	text-align: center;
	width: 100%;
	padding: 0 30px
}
.services-container .content-details h3{
	font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif; 
    color: #1b5d2f;
    font-weight: 700;
	padding-bottom: 20px
}
.services-container .content-details ul{
	padding-bottom: 0
}
.services-container .content-details li{
    color: #1b5d2f;
	font-weight: 400
}
.services-container .content-details li span{
    color: #fff;
}
.services-container .content-details li:not(:last-child){
    padding-bottom: 10px
}
.services-container .fadeIn-bottom{
  top: 80%;
}

/* PROJECTS - HORIZONTAL ACCORDION */
.md #slb_viewer_wrap .slb_theme_slb_default .slb_template_tag_ui, .md .slb_data_desc{ /* lightbox */
	display: none!important
}
.accordion {
	width: 100%;
	overflow: hidden;
}
.accordion ul {
	width: 100%;
	display: table;
	table-layout: fixed;
	margin: 0;
	padding: 0;
}
.accordion ul li {
	display: table-cell;
	vertical-align: bottom;
	position: relative;
	width: 25%;
	background-repeat: no-repeat;
	background-position: center center;
	transition: all 500ms ease;
	background-color: rgba(0,0,0,0.5);
    background-blend-mode: overlay;
}
.accordion ul li div {
	display: block;
	overflow: hidden;
	width: 100%;
}
.accordion ul li div a {
	display: block;
	height: 300px;
	width: 100%;
	position: relative;
	z-index: 3;
	vertical-align: bottom;
	padding: 15px 20px;
	box-sizing: border-box;
	text-decoration: none;
	transition: all 200ms ease;
}
.accordion ul li div a * {
	opacity: 0;
	margin: 0;
	width: 100%;
	text-overflow: ellipsis;
	position: relative;
	z-index: 5;
	white-space: nowrap;
	overflow: hidden;
	-webkit-transform: translateX(-20px);
	transform: translateX(-20px);
	-webkit-transition: all 400ms ease;
	transition: all 400ms ease;
}
.accordion ul li div a h2 {
	text-overflow: clip;
	padding-bottom: 0;
	color: #fff
}
.accordion ul li div a p {
	top: 160px;
	font-size: 20px;
	font-weight: 700;
	text-decoration: underline
}
.accordion ul li:nth-child(1) {
	background-image: url("/wp-content/uploads/2021/11/Substation-Maintenance.jpg");
}
.accordion ul li:nth-child(2) {
	background-image: url("/wp-content/uploads/2021/11/Mining-Services.jpg");
}
/* .accordion ul li:nth-child(3) {
	background-image: url("/wp-content/uploads/2021/10/project-3.jpg");
} */
.accordion ul li:nth-child(3) {
	background-image: url("/wp-content/uploads/2021/11/Solar-Farm-Electrical-Package.jpg");
}
.accordion ul li:nth-child(4) {
	background-image: url("/wp-content/uploads/2021/11/Project-Transformer-Rebuild.jpg");
}
.accordion ul li:focus {
	outline: none;
}
.accordion ul:hover li:hover a *,
.accordion ul li:focus a *,
.accordion ul:focus-within li:focus a * {
	opacity: 1;
	-webkit-transform: translateX(0);
	transform: translateX(0);
}
.accordion ul:hover li a * {
	opacity: 0 !important;
}
.accordion ul:hover li:hover a * {
	opacity: 1 !important;
	-webkit-transform: translateX(0);
	transform: translateX(0);
}
@media screen and (max-width: 980px) {
	.accordion {
		height: auto;
	}
	.accordion ul li,
	.accordion ul li:hover,
	.accordion ul:hover li,
	.accordion ul:hover li:hover {
		position: relative;
		display: table;
		table-layout: fixed;
		width: 100%;
		-webkit-transition: none;
		transition: none;
	}
	
	.accordion ul li div a{
		display: flex!important;
		align-items: center;
	}
}
/* PROJECTS - HORIZONTAL ACCORDION */