/*!
Theme Name: Drive Electric
Theme URI: https://niftic.agency
Author: Niftic Agency
Author URI: https://niftic.agency
Description: Niftic Base Theme
Version: 1.0.9
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: niftic
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

niftic is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* Extend base.css */
p {
	font-size: 2rem;
	line-height: 3rem;
}

b,strong { font-weight: 600; }

@media (max-width: 767px) {
	h1 {
		font-size: 3.2rem;
		line-height: 4.2rem;
	}
	
	h2 {
		font-size: 2.4rem;
		line-height: 3.4rem;
	}

	h3 {
		font-size: 2.0rem;
		line-height: 3.0rem;
	}

	p {
		font-size: 1.6rem;
		line-height: 2.6rem;
	}
}

/* Loader */
#loader,
#fader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  pointer-events: none;
  background: white;
  animation-duration: 700ms;
  animation-timing-function: ease-in-out;
}
@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#loader.fade-out,
#fader.fade-out {
  opacity: 0;
  animation-name: fade-out;
}
#loader.fade-in,
#fader.fade-in {
  opacity: 1;
  animation-name: fade-in;
}
.isIE #loader,
.isIE #fader {
  display: none !important;
}

/* */
.btn-secondary {
	border-style: solid !important;
}

.btn {
	background: #2E8782;
	border-color: #2E8782;
	color: #FFFFFF;
	border-radius: 0;
	padding: 12px 18px;
	height: auto;
	font-size: 16px;
	line-height: 26px; /* 162.5% */
	letter-spacing: -0.5px;
}

.btn:hover {
	background: #245251;
	border-color: #245251;
	color: #FFFFFF;
	border-radius: 0;
	padding: 12px 18px;
	height: auto;
	font-size: 16px;
	line-height: 26px; /* 162.5% */
	letter-spacing: -0.5px;
}

.fullscreen-chart {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		background: #fff;
		z-index: 99;
}

/*.fullscreen-chart .fs-chart-wrap {
	margin: 40px;
	max-height: 100vh;
}*/
@media screen and (min-width: 991px) {
	.fullscreen-chart .fs-chart-wrap {
		max-height: 80vh !important;
		height: 80vh;
		width: 80vh;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		display: flex;
		align-items: center;
	}
}
@media screen and (max-width: 991px) {
	.fullscreen-chart .fs-chart-wrap {
		margin: 40px;
		max-height: 100vh;
	}
}
.fullscreen-chart .close {
	    position: absolute;
	    top: 20px;
	    right: 20px;
	    font-size: 26px;
	    font-weight: bold;
		cursor: pointer;
}

.gradient-first-half {
	background: linear-gradient( 180deg, #FFFFFF 0%, #FCFCFC 100%);
}

.gradient-second-half {
	background: linear-gradient( 180deg, #FCFCFC 0%, #f9f9f9 100%);
}

.gradient-1-4 { background: linear-gradient(180deg, rgba(249,249,249,0.0) 0%, rgba(249,249,249,0.25) 100%);}
.gradient-2-4 { background: linear-gradient(180deg, rgba(249,249,249,0.25) 0%, rgba(249,249,249,0.50) 100%);}
.gradient-3-4 { background: linear-gradient(180deg, rgba(249,249,249,0.50) 0%, rgba(249,249,249,0.75) 100%);}
.gradient-4-4 { background: linear-gradient(180deg, rgba(249,249,249,0.75) 0%, rgba(249,249,249,1) 100%);}

@media screen and (min-width: 1700px) {
	.container{
			max-width: 1500px
	}
}

@media screen and (max-width: 767px) {
	.xs-flex-col {
    flex-direction: column !important;
		display: flex !important;
	}
	.xs-order-1 {
		order: 1;
	}
	.xs-order-2 {
		order: 2;
	}

	h5 { 
		font-size: 2.0rem;
		line-height: 2.8rem;
	}

}

h1, h2 { font-weight: 600;}

.onehundredpercent-image {
	max-width:468px;
	width: 85%;
}

#formnotice {
	padding: 15px;
	padding-left: 15px;
	border-radius: 4px;
	width: 100%;
	font-size: 1.6rem;
	padding-left: 16px;
	color: #fff;
	font-weight: 600;
}

#formnotice.success {
	background: #A8D166;
	display: block;
}

#formnotice.error {
	background: #E24D3E;
	display: block;
}
input {
	padding: 15px;
	padding-left: 15px;
	background: white;
	border: 1px solid #DCDCDC;
	border-radius: 4px;
	width: 100%;
	font-size: 1.6rem;
	padding-left: 16px;
	margin-bottom: 18px;
	transition: border 0.3s ease-in-out;
}

input[type="button"], input[type="submit"] {
	width: auto;
}

/*input:invalid { border: 1px solid #E24D3E; }*/

* {
	/*scroll-behavior: smooth;*/
}

body {
	padding-top: 88px;
	letter-spacing: -0.5px;
	/*scroll-behavior: smooth;*/
}

a {
	color: #245251;
}

.gradientbg {
	background: linear-gradient(360deg, rgba(249, 249, 249, 0.8) 37.25%, rgba(249, 249, 249, 0) 100%);
}

.site-header {
	z-index: 30;
}

.site-header .container {
	height: 88px;
}
@media screen and (max-width: 767px) {
	.site-header .container {
		height: 70px;
	}

	.site-header .site-branding a img {
		width: 171px;
	}

	body {
		padding-top: 70px;
	}
}
.site-header .site-branding {
	height: 56px;
	width: 254px;
}

.site-header .site-branding a {
	display: inline-block;
	height: 100%;
	width: 100%;
}

#carousel, .carousel_hero {
	height: 590px;
	position: relative;
	border-radius: 10px;
	overflow: hidden;
}

.carousel-background {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
}


.carousel-background div {
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

@media screen and (max-width: 767px) {
	#carousel, .carousel_hero {
		height: 530px;
	}
	.carousel-background div {
		background-position: 25%;
	}
}

.carousel-gradient {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	background: linear-gradient(140.33deg, rgba(46, 135, 130, 0.8) 24.01%, rgba(46, 135, 130, 0.064) 97.07%);
	mix-blend-mode: multiply;
	opacity: 0.8;
	z-index: 2;
	border-radius: 10px;
}

.carosel_hero .tns-outer, .carousel_hero .tns-item  {
	border-radius: 10px;
}

.carousel-overlay {
	position: relative;
	z-index: 3;
}


.tns-nav {
	position: absolute;
	width: 100%;
	text-align: center;
	bottom: 0;
	z-index: 5;
	margin-left:-15px;
}

	.tns-nav button {
		height: 3px;
		width: 20px;
		display: inline-block;
		outline: none;
		border: none;
		padding: 0px;
		background: white;
		margin: 5px;
		margin-bottom: 32px;
	}

		.tns-nav button.tns-nav-active {
			background: #97C3C1;
		}

.colored-bar {
	height: 10px;
	width: 100%;
	background:url('../svg/text-block-divider.svg');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	position: absolute;
	transform: rotateY(180deg) translate3d(0, 0, 0);
	-webkit-transform:rotateY(180deg) translate3d(0, 0, 0);
}

	.colored-bar.flip {
		transform: none;
		-webkit-transform: none;
	}

	@media screen and (max-width: 767px) {
		.tns-nav button {
			margin-bottom: 16px;
		}

		.colored-bar {
			height: 10px;
			width: 100%;
			background-image: url('../svg/text-block-divider.svg');
		}

		.colored-bar.flip {
			transform: none;
		}
	}

.icon-holder {
	height: 105px;
	width: 105px;
	background: #fff;
	border-radius: 100%;
	border: 2px solid #245251;
	position: relative;
}

.icon-holder .icon-inner { 
	height: 85px;
	width: 85px;
	border-radius: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

	@media screen and (max-width: 767px) {
		.icon-holder {
			height: 76px;
			width: 76px;
		}

		.icon-holder .icon-inner{
			height: 62px;
			width: 62px;
		}

		.icon-holder .icon-inner svg {
			height: 34px;
		}
	}
section {
}

.strategy-row > div.container > .row > div > div {
	min-height: 320px;
}

	.strategy-row img.strategy-image {
		height: 100%;
		border-radius: 40px;
	}

	.strategy-row div.strategy-image {
		height: 100%;
		width: 100%;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
		background-repeat:no-repeat;
		background-position: center;
		border-radius: 40px;
	}

	.strategy-row div.strategy-image .strategy-image-credit {
		position: absolute;
    bottom: 5px;
    right: 50px;
    color: #fff;
	}

	@media screen and (max-width: 767px) {
		.strategy-row > div.container > .row > div > div {
			min-height: unset; 
		}

		.strategy-row div.strategy-image {
			height: 240px;
			border-radius: 23px;
		}
	}

.letter-spacing {
	text-transform: uppercase;
	font-weight: 400;
	letter-spacing: 3px;
}

.logos-row div div {
	width: 100%;
}


.logos-row  a {
	display: flex;
	height: 100%;
  width: 100%;
  align-items: center;
}

.logo-wrapper {
	padding-top: 37%;
	height: 0;
	position: relative;
}

.logos-row .logo-wrapper img {
	position: absolute;
	top: 50%;
	left: 50%;
	height: 60%;
	width: 50%;
	object-fit: contain;
	transform: translate(-50%,-50%);
}

.timeline-partial {
	position: relative;
	height: auto;
	overflow: hidden;
	margin-top: -20px;
	padding-bottom: 20px;
	color: #E9EADE;
}

.logos-row > div {
	margin-bottom: 50px !important;
}

.timeline .timeline-partial.last {
	height: 164px;
}

.timeline .bar-segment {
	height: 90%;
	width: 2px;
	background: #E9EADE; 
	margin: 0 auto;
	position: absolute;
	left: 50%;
	top: 0;
	margin-left:-1px;
	z-index: 1;
}

	.timeline .timeline-partial.first .bar-segment::before {
		content: '';
		background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
		height: 100px;
		width: 190px;
		display: block;
		position: absolute;
		top: 0;
		left: -20%;
		z-index: 2;
	}

.timeline .timeline-partial.last .bar-segment {
	height: 132px;
}

.timeline .date {
	background: #fff;
	border: 2px solid #E9EADE;
	width: 100px;
	height:54px;
	box-sizing: border-box;
	border-radius: 120px;
	margin: 0 auto;
	text-align: center;
	margin-top: 50px;
	position: relative;
	z-index: 3;
}

.timeline .timeline-partial.first .date {
	margin-top: 80px;
}

.timeline .date h5 {
	box-sizing: border-box;
	border-radius: 100px;
	background: #E9EADE;
	width: 80px;
	height: 33px;
	line-height: 33px;
	color: #fff;
	display: inline-block;
	margin: 0px;
	padding: 0px;
	margin-top:8px;
	line-height: 35px;
	overflow: hidden;
}

.timeline .timeline-partial .timeline-content {
	background: #fff;
	box-shadow: 0px 2px 8px rgba(133, 123, 125, 0.25);
	border-radius: 20px;
	width: 302px;
	margin: 0 auto;
	overflow: hidden;
	margin-top: 10px;
	position: relative;
	z-index: 3;
	color: #302A2C;
}


@media screen and (max-width: 767px) {
	.timeline .timeline-partial .timeline-content {
		width: 96%;
		border-radius: 20px;
	}
	/*
	.timeline .timeline-partial .date {
		width: 12px;
    height: 12px;
		border: none;
		background: #E9EADE;
		margin-bottom: 12px;
	}

	.timeline .timeline-partial.animated .date {
		background: #245251;
	}
	.timeline .timeline-partial .date h5 {
		display: none;
	}

	.timeline .timeline-partial .timeline-content h5 {
		color: #E9EADE;
	}

	.timeline .timeline-partial.animated .timeline-content h5 {
		color: #245251;
	}*/

	.timeline-content p.type-m { font-size: 2rem !important;  }
	.timeline-content h5 { font-size: 2.4rem !important;  }

}
.timeline .animated-element {
	transition: background 0.3s ease-in-out, fill 0.3s ease-in-out, color 0.3s ease-in-out, border 0.3s ease-in-out;
}

.timeline .timeline-partial .bar-finish {
	width:64px;
	height:64px;
	position: absolute;
	bottom: 0;
	left: 50%;
	margin-left: -32px;
	color: #E9EADE;
}

.timeline .timeline-partial .timeline-content p {
	color: #796F66;
}

.timeline .timeline-partial.animated .timeline-content p {
	color: #302A2C;
}
.timeline .timeline-partial .timeline-content .icon {
	color: #E9EADE;
	margin-top: 30px;
}

.timeline .timeline-partial.animated .date {
	border-color: #97C3C1;
}

.timeline .timeline-partial.animated .date h5, .timeline .timeline-partial.animated .bar-segment {
	background: #245251;
}

.timeline .timeline-partial.animated .icon, .timeline .timeline-partial.animated .bar-finish {
	color: #245251;
}

.timeline .timeline-partial.animated .icon .bolt {
	color: #A8D166;
}


.footer-image {
	width: 90%;
	max-width: 200px;
}


.testimonials-slider {
	padding-left: 0px;
	padding-right: 0px;
	max-width: unset;
}

.testimonials-slider .tns-nav {
	margin-left: 0px;
	bottom: -30px;
}

.testimonials-slider .tns-nav button {
	margin-bottom: 0px;
}

.background-bottom-100 {
	background-repeat: no-repeat;
	background-position: bottom left;
	background-size: 100% auto;
}

.page-hero {
	height: 300px;
	width: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
}


input[type="submit"] {
	border-radius: 0px;
}

textarea {
	    padding: 15px;
	    padding-left: 15px;
	    background: white;
	    border: 1px solid #DCDCDC;
	    border-radius: 4px;
	    width: 100%;
	    font-size: 1.6rem;
	    padding-left: 16px;
	    margin-bottom: 18px;
}


.footnote-content,
.footnote-tooltip:after {
    width: 360px;
    bottom: 100%;
    left: 50%;
    pointer-events: none
}


.footnote-tooltip {
  color: #47966E;
  cursor: pointer;
  text-decoration: none!important;
  display: inline-block
}

.footnote-tooltip:after {
  content: '';
  position: absolute;
  height: 20px;
  transform: translateX(-50%)
}

.footnote-content {
  font-family: "Figtree", Arial, helvetica, sans-serif;
  display: block;
  position: absolute;
  z-index: z("modal");
  margin: 0 0 20px -180px;
  color: #302A2C;
  opacity: 0;
  cursor: default;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: break-word;
  word-wrap: break-word;
  background-color: #E9EADE;
  padding: 1em;
  border-radius: 10px;
  box-shadow: 1px 0 3px rgba(0, 0, 0, .01);
  transform-origin: 50% 100%;
  transform: scale3d(.7, .3, 1);
  transition: all .3s ease
}



.footnote-content:after {
  content: '';
  top: 100%;
  left: 50%;
  border: solid transparent;
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: #E9EADE transparent transparent;
  border-width: 10px;
  margin-left: -10px
}

.footnote-content a {
  color: #2f6cad
}

.tooltip {
	font-size: 14px;
	line-height: unset !important;
}

.tooltip:hover .footnote-content {
  pointer-events: auto;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate3d(0, 0, 0, 0)
}

.tooltip:hover .footnote-tooltip:after {
  pointer-events: auto
}

.resource-published-date {
	color: #8D8680;
	font-size: 16px;
	line-height: 26px;
	margin-bottom: 16px;
}

 .cn-button.bootstrap.cookie-accept-button {
 	color: #302A2C !important;
 	font-weight: 600;
 	border-radius: 112px;
 	background: #A8D166 !important;
 	text-align: center;
 	font-family: "Figtree",
 		sans-serif !important;
 }

 .item-list li {
    margin-bottom: 24px;
    list-style: disc;
    list-style-position: outside;
}

.item-list li:last-of-type {
    margin-bottom: 0px;
}