/*
Theme Name: BlankSlate
Theme URI: https://github.com/tidythemes/blankslate
Author: TidyThemes
Author URI: https://github.com/tidythemes
Description: Donations: https://calmestghost.com/donate. BlankSlate is the definitive WordPress boilerplate starter theme. We've carefully constructed the most clean and minimalist theme possible for designers and developers to use as a base to build websites for clients or to build completely custom themes from scratch. Clean, simple, unstyled, semi-minified, unformatted, and valid code, SEO-friendly, jQuery-enabled, no programmer comments, standardized and as white label as possible, and most importantly, the CSS is reset for cross-browser-compatability and no intrusive visual CSS styles have been added whatsoever. A perfect skeleton theme. For support and suggestions, go to: https://github.com/tidythemes/blankslate/issues. Thank you.
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2023
Requires at least: 5.2
Tested up to: 6.1
Requires PHP: 7.0
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate

BlankSlate WordPress Theme © 2011-2023 TidyThemes
BlankSlate is distributed under the terms of the GNU GPL
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1;
}

a {
  text-decoration-skip-ink: auto;
}

a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

button {
  outline: 0;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

q {
  display: inline;
  font-style: italic;
}

q:before {
  content: '"';
  font-style: normal;
}

q:after {
  content: '"';
  font-style: normal;
}

textarea,
input[type="text"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="search"],
input[type="password"] {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

input[type="search"] {
  -webkit-appearance: textfield;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  padding: 2px;
}

big {
  font-size: 120%;
}

small,
sup,
sub {
  font-size: 80%;
}

sup {
  vertical-align: super;
}

sub {
  vertical-align: sub;
}

dd {
  margin-left: 20px;
}

kbd,
tt {
  font-family: courier;
  font-size: 12px;
}

ins {
  text-decoration: underline;
}

del,
strike,
s {
  text-decoration: line-through;
}

dt {
  font-weight: bold;
}

address,
cite,
var {
  font-style: italic;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.sticky {}

.bypostauthor {}

.wp-caption {}

.wp-caption-text {}

.gallery-caption {}

.alignright {}

.alignleft {}

.aligncenter {}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  word-break: normal;
}

.screen-reader-text:focus {
  background-color: #f7f7f7;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #007acc;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  right: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.skip-link {
  left: -9999rem;
  top: 2.5rem;
  z-index: 999999999;
  text-decoration: underline;
}

.skip-link:focus {
  display: block;
  left: 6px;
  top: 7px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  line-height: normal;
  padding: 15px 23px 14px;
  z-index: 100000;
  right: auto;
}

.visually-hidden:not(:focus):not(:active),
.form-allowed-tags:not(:focus):not(:active) {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* CUSTOM */

body {
  font-family: 'Whitney', Helvetica, Arial, sans-serif;
  background: #366989 url("/wp-content/uploads/revslider/video-media/GM_Background_Main_5.jpeg") no-repeat top center / contain !important;
  height: 56.25vw;
  /* overflow: hidden; */
}

/* Clean Energy specific */

body.page-clean-energy-ces,
body.page-ce-production,
body.page-ce-charging-powering,
body.page-ce-second-life,
body.page-ce-charging,
body.page-ce-energy-xchange,
body.page-ce-loyalty body.page-ce-charging-powering,
body.page-ce-second-life,
body.page-ce-charging,
body.page-ce-energy-xchange,
body.page-ce-loyalty body.page-ce-second-life,
body.page-ce-charging,
body.page-ce-energy-xchange,
body.page-ce-loyalty {
  background: #366989 url("/wp-content/uploads/2023/12/video-bg.jpg") no-repeat top center / contain !important;
}

/* (A) SPEECH BOX */
.speech {
  /* (A1) FONT & COLORS */
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
}

/* (B) USE ::AFTER TO CREATE THE "CALLOUT" */
.speech-arrow {
  display: block;
  width: 0;
  border: 25px solid transparent !important;
  filter: drop-shadow(1px 6px 2px rgba(0, 0, 0, 0.1));
}

/* (C) "CALLOUT" DIRECTIONS */
.speech-arrow.up {
  border-bottom-color: #e1ebf0 !important;
  border-top: 0 !important;
}

.speech-arrow.down {
  border-top-color: #e1ebf0 !important;
  border-bottom: 0 !important;
}

.speech-arrow.left {
  border-right-color: #e1ebf0 !important;
  border-left: 0 !important;
}

.speech-arrow.right {
  border-left-color: #e1ebf0 !important;
  border-right: 0 !important;
}

.speech {
  position: absolute;
}

/* Fancy TOGG Range Slider */
.slider {
  background-color: transparent;
}

.slider__body {
  display: flex;
  flex-direction: row;
}

.slider__body>* {
  display: flex;
}

.slider__track {
  width: 100%;
  flex-grow: 1;
}

.slider__values {
  overflow: hidden;
  /* position: relative; */
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  width: 50%;
}

.slider__values>* {
  flex-shrink: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: left;
  padding-left: 10% !important;
  transition: transform 0.3s ease-in-out;
}

/* EARN MORE */

/* https://stackoverflow.com/questions/13545947/position-absolute-and-parent-height */
.slider-wrapper {
  display: grid;
  width: 100%;
}

.slide,
.slide-bg {
  grid-area: 1 / 1 / 2 / 2;
  width: 100%;
  position: relative;
}

.slide img,
.slide-bg img {
  width: 100%;
}

.slide {
  z-index: 2;
  animation: fadeOut 0.6s forwards;
  animation-delay: 0.6s;
}

.slide.active {
  animation: fadeIn 0.6s forwards;
  z-index: 10;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    z-index: 10;
  }

  to {
    opacity: 1;
    z-index: 10;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    z-index: 2;
  }

  to {
    opacity: 0;
    z-index: 2;
  }
}

.slide-bg {
  z-index: 1;
}

.slide-title {
  font-family: "Whitney";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
}

/* SHADOWS */
.shadow1 {
  box-shadow: 2px 2px 10px 0px #0000007a;
}

.shadow2 {
  filter: drop-shadow(2px 4px 16px rgba(0, 0, 0, 0.5)) !important;
}

/* other */
.hidden {
  display: none;
}

.hidden-force {
  display: none !important;
}


.scale-0 {
  transition: 1s;
  transform: scale(0);
}

.scale-1 {
  transition: 1s;
  transform: scale(1) !important;
}

.invisible {
  opacity: 0 !important;
}

rs-poster {
  display: none !important;
  visibility: hidden !important;
}

.draggable {
  top: 0 !important;
  /* pep draggble fix */
}

.shrink img {
  transition: 1s;
  transform: scale(0.2);
}

/* DEBUG OVERLAY */
#debug-overlay,
#dev-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  pointer-events: none;
  opacity: 0;
}

#dev-overlay {
  opacity: 0.5;
  color: white;
  padding: 1em;
}

#debug-overlay *,
#dev-overlay * {
  pointer-events: all;
}

.debug-btn {
  position: absolute;

  padding: 0.5vw;
  background: #003e68b7;
  font-size: 2vw;
  color: white;
  border: 3px solid white;
}

.debug-btn.prev {
  left: 0;
  bottom: 0;
}

.debug-btn.next {
  right: 0;
  bottom: 0;
}

.debug-btn.show-tabs {
  top: 0;
  left: 0;
}

.debug-btn.refresh {
  top: 0;
  left: 50vw;
  transform: translateX(-50%);
  padding: 1.5vw 12vw;
}



/* btn-completed-0 btn-completed  */
.btn-completed {
  /* click through */
  pointer-events: auto !important; 
}

.btn-completed.disabled,
.btn-completed.disabled * {
  pointer-events: none;
  display: none !important;
  opacity: 0 !important;
}

/* temp timeout fix - should be in VTSClient ->  let style = `.timeoutOverlay ...  */
.timeoutOverlay {background-color: rgba(255, 255, 255, 0.8); backdrop-filter:blur(20px); }
.timeoutOverlay .remains {font-size:6rem; font-weight: 600;}