/* Main Global CSS */

@font-face {
  font-family: 'Brandon Grotesque';
  src: url("../fonts/BrandonGrotesque/BrandonGrotesque-Regular.woff2") format('woff2');
  font-weight: normal;
  font-style: normal;
}

.grecaptcha-badge { 
  opacity:0 !important;

}

html {
  scroll-behavior: smooth;
}

body, html {
  overflow-x: clip;
}

.wave-default {
  fill:#344C98;
  fill-opacity: 1;
}

.line-default {
  border-top: 3px solid transparent;
  margin-bottom:10px;
  background-image: linear-gradient(to right, #344C98 , #65A43D);
  background-origin: border-box;
  background-size: 100% 2px, 2px 100%, 100% 2px, 2px 100%;
  background-position: top left, top right, bottom right, bottom left;
  background-repeat: no-repeat;
}

.c-black {
  color: #000;
}
.c-blue {
  color:#344C98;
}
.c-green {
  color:#65A43D;
}
.c-gray {
  color:#C9CAD4;
}

.c-white {
  color:#fff;
}

@media (max-width: 1200px){

.back-img::before {
    content: "";
    position: absolute;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    right:0;
    top: 0;

    width: 100%;
    height: 100%;
    background-image: url("../img/Images-prices.png");
    filter: grayscale(0%) opacity(100%);
  }

  .back-img:after {
    content:'';
    display:block;
  }
  
  .back-img h1,
  .back-img h5 {
    color: #fff;
  }


}

@media (min-width: 1200px){

  .back-img::before {
      content: "";
      position: absolute;
      background-position: left center;
      background-repeat: no-repeat;
      background-size: cover;
  
      right: 5%;
      top: 10%;
      height: 65vh;
      width: 40%;


      background-image: url("../img/Images-prices.png");
      filter: grayscale(0%) opacity(100%);
      border-radius: 50%;
      
      border: 2px solid #fff;

    }

    .back-img:after {
      content:'';
      display:block;
    }

  
  }

a {
    font-family: "Brandon Grotesque", sans-serif;
    color: #65A43D;
}

a:hover, a:hover h2, a:hover h4{
    opacity:0.7;
    color:#344C98;
    text-decoration: underline;
    text-decoration-thickness: 15%;
    text-underline-offset: 2px;
  }

a.current {
    text-decoration: underline;
    color:#344C98;
}

.nav-item a {
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.05em;
    font-size: 14px;
    display: inline-block;
    padding: 10px 0px;
    margin: 0px 8px;
    position: relative;
  }
.nav-item a:after {    
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 10%;
    position: absolute;
    background-image: linear-gradient(to right, #344C98 , #65A43D);
    background-origin: border-box;
    background-size: 100% 2px, 2px 100%, 100% 2px, 2px 100%;
    background-position: top left, top right, bottom right, bottom left;
    background-repeat: no-repeat;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
  }
.nav-item a:hover:after { 
    width: 50%; 
    left: 25%;
  }


.navbar
{
    border-bottom:0px solid #000;
}

.dropdown-menu.show {
  border: 1px solid #344C98;
}

.dropdown-menu a:hover {
  background-color:transparent;
  -webkit-tap-highlight-color: #fff;

}

.dropdown-menu a{
  margin-left:0px;
  margin-right:0px;
}

.navbar-nav .nav-item{
  font-size:14px;
}


.table td{
  font-size:90%;
}

.alertify .ajs-footer .ajs-buttons .ajs-button.ajs-ok {
  color: #65A43D !important;
  background-color: #fff !important;
  transition: all 0.4s;
  border:2px solid #65A43D;
  outline: none;
}

.alertify .ajs-footer .ajs-buttons .ajs-button.ajs-ok:hover {
  color:#fff !important;
  font-weight:300;
  background-image: linear-gradient(to right, #344C98 , #65A43D);
  border: 2px solid #fff !important;
  outline: none;
}

.alertify .ajs-dialog {
  font-family: "Brandon Grotesque", sans-serif;
}
.alertify .ajs-footer, .alertify .ajs-header {
  color:#344C98;
  background: #fff !important;
}

input::placeholder, textarea::placeholder {
  font-family:'Brandon Grotesque',sans-serif;
}

a.btn, button.btn {
  display:inline-block;
  padding:0.35em 1.2em;
  border:0.1em solid #65A43D;
  margin:0 0;
  border-radius:0.12em;
  box-sizing: border-box;
  text-decoration:none;
  font-family:'Brandon Grotesque',sans-serif;
  font-weight:300;
  color:#65A43D;
  text-align:center;
  transition: all 0.4s;
  font-size:18px;
  background-color: #fff;
  border:2px solid #65A43D;
  outline: none;
}

a.btn:hover, button.btn:hover{
  opacity:1;
  color:#fff;
  font-weight:300;
  background-image: linear-gradient(to right, #344C98 , #65A43D);
  border:2px solid #fff;
  outline: none;
}

.txt-highlight {
  font-weight:500;
  font-size:130%;
  color:#65A43D;
}


/* Toggle switch for low and standard user plans */

.custom-control-input:checked ~ .custom-control-label::before {
  background-color: #65A43D;
  border-color: #fff;
}

.custom-switch.custom-switch-lg {
  padding-bottom: 1rem;
	padding-left: 2.25rem;
	
}

.custom-switch.custom-switch-lg .custom-control-label {
    padding-left: .75rem;
    padding-top: 0.15rem;
}

.custom-switch.custom-switch-lg .custom-control-label::before {
  border-radius: 1rem;
  height: 1.5rem;
  width: 2.5rem;
}

.custom-switch.custom-switch-lg .custom-control-label::after {
  border-radius: .65rem;
  height: calc(1.5rem - 4px);
  width: calc(1.5rem - 4px);
}


.custom-switch.custom-switch-lg .custom-control-input:checked ~ .custom-control-label::after{
  transform: translateX(1rem);
	}


.hiddenformfield {
  visibility:hidden;
  pointer-events:none;
  width:0;
  height:0;
  position:absolute;
  top:-9999px;
  left:-9999px;
  z-index:-1;
}


.opacity-1 {
  opacity: 0.2;
}
.opacity-2 {
  opacity: 0.4;
}
.opacity-3 {
  opacity: 0.6;
}
.opacity-4 {
  opacity: 0.8;
}
.opacity-5 {
  opacity: 1;
}

.grayscale-1 {
  filter: grayscale(20%);
}
.grayscale-2 {
  filter: grayscale(40%);
}
.grayscale-3 {
  filter: grayscale(60%);
}
.grayscale-4 {
  filter: grayscale(80%);
}
.grayscale-5 {
  filter: grayscale(100%);
}


.bg-red {
  background-color:#fff;
}

.bg-gray {
  background-color:#aaa;
}

.bg-gray p,.bg-gray h1, .bg-gray h5, .bg-gray h4 {
  color:#fff;

}

.bg-gray a.btn, .bg-gray button.btn {
  display:inline-block;
  padding:0.35em 1.2em;
  border:0.1em solid #fff;
  margin:0 0.3em 0.3em 0;
  border-radius:0.12em;
  box-sizing: border-box;
  text-decoration:none;
  font-family:'Brandon Grotesque',sans-serif;
  font-weight:300;
  color:#fff;
  text-align:center;
  transition: all 0.2s;
  font-size:18px;
}

.bg-gray a.btn:hover{
  color:#aaa;
  font-weight:300;
  background-color:#fff;
  border:0.1em solid #fff;
}



.myfooter {
  background-color: #000;
  /* border-top:1px solid #aaa; */
  text-align: center;
  padding-top:20px;

}

.myfooter p, .myfooter a, .myfooter h5 {
  color: #fff;
  margin-top:1px;
  margin-bottom:1px;
  font-size:100%;

}

h2, h3, h4 {
    font-family: "Brandon Grotesque", sans-serif;
    color: #000;
    font-weight: 400;
  }

h1 {
  font-family: "Brandon Grotesque", sans-serif;
  color: #000;
  font-size:45px;
  line-height: 56px;
  font-weight:500;
}

h1 {
  text-transform: capitalize;
}

label {
  font-family: "Brandon Grotesque", sans-serif;
  }

h5 {
  
  font-family: "Brandon Grotesque", sans-serif;
  color: #000;
  font-weight:400;

}

span, small {
  font-family: "Brandon Grotesque", sans-serif;
}

p, li, td, th {
    font-family: "Brandon Grotesque", sans-serif;
    color: #000;
  }

.table tr {
  text-align: left;   
}

#toc_container {
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  display: table;
  margin-bottom: 3em;
  padding: 20px 20px 20px 0px;
  width: auto;
}

.toc_title {
  font-weight: 700;
  text-align: left;
}

#toc_container li, #toc_container ul, #toc_container ul li{
  list-style: outside none none !important;
  padding-left: 0;
  margin-bottom: 6px;
}

.img-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}

.img-overlay:before {
  content: ' ';
  display: block;
  /* adjust 'height' to position overlay content vertically */
  height: 85%;
}


.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

/* The hero image */
@media (max-width: 1200px){
  .hero-image {
    /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */

    /* Set a specific height */
    width: 100%;
    height: 900px;

    /* Position and center the image to scale nicely on all screens */
    position: relative;

  }
  .hero-image::before {
    /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
    content: "";
    position: absolute;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;   
  }
  .hero-text h1,
  .hero-text h2,
  .hero-text h3,
  .hero-text h4 {
    color: #fff;
    /* background-color: #f7e39cff; */
    /* font-size: 2em; */
  }
  .home.hero-text h1,
  .home.hero-text h2,
  .home.hero-text h3,
  .home.hero-text h4 {
    color: #fff;
    /* background-color: #f7e39cff; */
    /* font-size: 2em; */
  }
  .main.hero-text h1, .main.hero-text h3{
    color: #fff;
  }
  .main.hero-image::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/large-pv-plant.png");
    filter: grayscale(10%) opacity(100%);
  }
  /* Place text in the middle of the image */
  .main.hero-text {
    text-align: left;
    position: absolute;
    /* background-image: linear-gradient(to right, #344C98 , #65A43D); */
    top: 8%;
    left: 5%;
    padding:50px 50px;
  }
  .account.hero-image::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/white-background.png");
    filter: grayscale(0%) opacity(100%);
  }
  /* Place text in the middle of the image */
  .account.hero-image {
    height: auto;
    padding:50px 0px;
  }
  .account a.btn {
    display: none;
    border:0.1em solid #000;
    color:#000;
  }
  .account a.btn:hover {
    border:0.1em solid #fff;
    color:#fff;
  }
  .business.hero-image::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/dark-wind.png");
    background-position: center center;
    filter: grayscale(0%) opacity(100%);  
  }
  /* Place text in the middle of the image */
  .business.hero-image {
    height: auto;
    padding: 350px 0px;
  }
  .business.hero-text {
    text-align: right;
    position: absolute;
    top: 10%;
    right: 10%;
    width: 80%;
  }
  .business a.btn {
    display: none;
    border:0.1em solid #000;
    color:#000;
  }
  .business a.btn:hover {
    border:0.1em solid #fff;
    color:#fff;
  }
  .home.hero-image::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/walking-wind.png");
    background-position: right top;
    filter: grayscale(0%) opacity(100%);
  }
  /* Place text in the middle of the image */
  .home.hero-image {
    height: auto;
    padding: 350px 0px;
  }
  .home.hero-text {
    text-align: right;
    position: absolute;
    top: 15%;
    right: 10%;
    width: 80%;
  }
  .home a.btn {
    display: none;
    border:0.1em solid #000;
    color:#000;
  }
  .home a.btn:hover {
    border:0.1em solid #fff;
    color:#fff;
  }
  
}

@media (min-width: 1200px){
  .hero-image {
    /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */

    /* Set a specific height */
    width: 100%;
    height: 900px;
    /* Position and center the image to scale nicely on all screens */
    position: relative;
  }
  .hero-image::before {
    /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
    content: "";
    position: absolute;
    background-position: 50% 90%;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .hero-text h1,
  .hero-text h3,
  .hero-text h4 {
    color: #fff;
    /* background-image: linear-gradient(to right, #344C98, #65A43D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
  }
  .home.hero-text h1,
  .home.hero-text h2,
  .home.hero-text h3,
  .home.hero-text h4 {
    color: #fff;
  }
  .main.hero-text h1,
  .main.hero-text h3 {
    color: #fff;
  }
  .main.hero-image::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/large-pv-plant.png");
    filter: grayscale(10%) opacity(100%);
  }
  /* Place text in the middle of the image */
  .main.hero-text {
    text-align: left;
    position: absolute;
    /* background-image: linear-gradient(to right, #344C98 , #65A43D); */
    top: 0%;
    right: 0%;
    min-height: 25%;   /* This sets the block to be all the way down within div */
    width: 50%;
    padding: 100px 100px;
    margin: 0px 0px;
    overflow: visible;
  }
  .account.hero-image {
    height: auto;
    padding:200px;
  }
  .account.hero-image::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/white-background.png");
    filter: grayscale(0%) opacity(100%);
  }
  /* Place text in the middle of the image */
  .account a.btn {
    border:0.1em solid #65A43D;
    color:#65A43D;
    background-color: rgba(0, 0, 0, 0);
  }
  .account a.btn:hover {
    border:0.1em solid #fff;
    color:#fff;
  }
  .business.hero-image {
    height: auto;
    padding: 400px;
  }
  .business.hero-image::before {
    content: "";
    position: absolute;
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;

    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/dark-wind.png");
    filter: grayscale(0%) opacity(100%);
  }
  .business.hero-text {
    text-align: left;
    position: absolute;
    top: 10%;
    right: 20%;
    padding: 0px 0px;
    width: 30%;
    height:100%;
    /* background-image: linear-gradient(to right, #344C98); */
  }
  /* Place text in the middle of the image */
  .business a.btn {
    border:0.1em solid #000;
    color:#000;
  }
  .business a.btn:hover {
    border:0.1em solid #fff;
    color:#fff;
  }
  .home.hero-image {
    height: auto;
    padding: 400px;
  }
  .home.hero-image::before {
    content: "";
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/walking-wind.png");
    filter: grayscale(0%) opacity(100%);
  }
  .home.hero-text {
    text-align: left;
    position: absolute;
    top: 10%;
    right: 5%;
    width: 30%;
  }
  /* Place text in the middle of the image */
  .home a.btn {
    border:0.1em solid #000;
    color:#000;
  }
  .home a.btn:hover {
    border:0.1em solid #fff;
    color:#fff;
  }

}


/* animation for scroll down fade in */
.fade-up {
  opacity: 0;
  transform: translate(0, 10vh);
  transition: all 0.25s;
}

.fade-down {
  opacity: 0;
  transform: translate(0, -10vh);
  transition: all 0.25s;
}

.fade-left {
  opacity: 0;
  transform: translate(10vh, 0);
  transition: all 0.25s;
}

.fade-right {
  opacity: 0;
  transform: translate(-10vh, 0);
  transition: all 0.25s;
}

.fade-up.visible,
.fade-down.visible,
.fade-left.visible,
.fade-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* css for sign up form scroll down effect */
section {
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}

.scrollnav {
  --nav-gap: 15px;
  padding: var(--nav-gap);
  padding-right: 25px;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.scrollnav-item {
  align-items: center;
  display: flex;
  flex-direction: row-reverse;
  margin-bottom: var(--nav-gap);
}

.scrollnav-link:hover ~ .scrollnav-label {
  opacity: 1;
}

.scrollnav-label {
  /* color: #000; */
  /* font-weight: bold; */
  opacity: 0;
  transition: opacity 0.1s;
}

.scrollnav-link {
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  height: var(--nav-gap);
  margin-left: var(--nav-gap);
  transition: transform 0.1s;
  width: var(--nav-gap);
}

.scrollnav-link-selected {
  background: #344C98;
  transform: scale(1.4);
}

/* Wave container stretch effect */

.wave-container {
  background: #fff;
  position: relative;
  background: #fff;
  color: #FFF;
  text-align: center;
  overflow: hidden;
  transform: rotate(45deg) rotate(-45deg);

}


@keyframes animateWave {
  0% {
    transform: scale(1,0);
  }
  100% {
    transform: scale(1,1);
  }
}
.wave-container > svg {
  display: block;
  transform-origin: bottom;
  animation: animateWave 1000ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}


/* Stripe Elements */
/* Variables */
#payment-form .btn{
  color:#65A43D;
  font-weight:300;
  background-color:#fff;
  border:0.1em solid #fff;
}

#payment-form .btn:hover{
  color:#fff;
  font-weight:300;
  background-color:#fff;
  border:0.1em solid #344C98;
}

.result-message {
  line-height: 22px;
  font-size: 13px;
  color: rgb(105, 115, 134);
}

.result-message a {
  color: #65A43D;
  font-weight: 600;
  text-decoration: none;
}

.hidden {
  display: none;
}

.card:hover {
  border-color: #65A43D;
  box-shadow: 0px 0px 10px 2px #65A43D;

}

.card {
  transition: border-color 1s, box-shadow 0.5s;
}

#card-error {
  color: rgb(105, 115, 134);
  text-align: left;
  font-size: 13px;
  line-height: 17px;
  margin-top: 12px;
}

#card-element {
  border-radius: 4px 4px 0 0 ;
  padding: auto;
  margin: auto;
  border: 1px solid rgba(50, 50, 93, 0.1);
  height: 44px;
  width: 95%;
  background: white;
  align-items: center;
}

#payment-request-button {
  margin-bottom: 32px;
}

@media only screen and (max-width: 600px) {
  form {
    width: 80vw;
  }
}
