/*
Theme Name: Mogovolt
Author: MRZ Design
Author URI: www.mrz.design
Requires at least: 5.9
Tested up to: 5.9
Requires PHP: 5.6
Version: 1.0.0
*/

/* ==========================================================================
   General Styles
   ========================================================================== */

@font-face {
  font-family: "Inter-Regular";
  src: url("/wp-content/themes/mogovolt/assets/fonts/Inter-Regular.woff2")
      format("woff2"),
    url("/wp-content/themes/mogovolt/assets/fonts/Inter-Regular.woff")
      format("woff");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter-Bold";
  src: url("/wp-content/themes/mogovolt/assets/fonts/Inter-Bold.woff2")
      format("woff2"),
    url("/wp-content/themes/mogovolt/assets/fonts/Inter-Bold.woff")
      format("woff");
  font-style: normal;
  font-display: swap;
}

/* Color Palette */

:root {
  --color-primary: #fe6218;
  --color-secondary: #94cb31;
  --color-complimentary: #44a4fe;
  --color-green: #00e183;
  --color-white: #fff;
  --color-black: #030508;
  --color-gray: #9c9fad;
  --color-dark: #030508;

  --color-messageError: #dc3232;
  --color-messageSuccess: #00fff5;
  --color-fieldError: #eb5757;

  --font-title: "Inter-Bold", sans-serif;
  --font-text: "Inter-Regular", sans-serif;
}

/* Body */

html,
body {
  padding: 0;
  margin: 0;
  font-family: var(--font-text);
  color: var(--color-white);
  background: var(--color-dark);
}

body.fixed {
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Typography styles */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  font-weight: 700;
  margin: 10px 0;
  text-transform: capitalize;
}

h1 {
  font-size: 62px;
  line-height: 120%;
}

h2 {
  font-size: 36px;
  line-height: 36px;
}

h3 {
  font-size: 36px;
  line-height: 38px;
}

h4 {
  font-size: 24px;
  line-height: 24px;
}

h5 {
  font-size: 18px;
  line-height: 18px;
}

p,
a {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.paragraph--large {
  font-size: 26px;
  line-height: 30px;
  margin: 10px 0px;
  color: var(--color-gray);
}

blockquote {
  font-size: 24px;
  line-height: 28px;
  font-style: italic;
  margin: 20px 0;
}

a {
  text-decoration: none;
  color: #fff;
  transition: all 0.3s;
}

a:hover {
  color: var(--color-primary);
}

ul {
  padding: 0;
  margin: 0;
}

.main-font {
  font-family: var(--font-title);
}

.text-font {
  font-family: var(--font-text);
}

.text-large {
  font-size: 32px;
  line-height: 38px;
}

.text-small {
  font-size: 16px;
  line-height: 20px;
}

.text-upper {
  text-transform: uppercase;
}

.text-font-normal {
  font-weight: 400;
}

.text-font-italic {
  font-style: italic;
}

.text-font-bold {
  font-weight: 700;
}

.gray-color {
  background: var(--color-dark);
}

.subtitle {
  text-transform: uppercase;
  background: linear-gradient(90deg, #fe6218 0%, #44a4fe 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.headline strong {
  background: linear-gradient(90deg, #fe6218 0%, #44a4fe 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Effects */

.glow {
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Color Codes */

.color-red {
  color: var(--color-red);
}

.color-white {
  color: var(--color-white);
}

.divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(88, 88, 192, 0) 0%,
    rgba(88, 88, 192, 1) 50%,
    rgba(88, 88, 192, 0) 100%
  );
}

.btn-container {
  margin-top: 20px !important;
}

.btn-container .btn:first-child {
  margin-right: 10px;
}

/***********************
        HEADER
***********************/

header {
  background: linear-gradient(180deg, #000000 30%, rgba(18, 53, 56, 0) 99%);
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
}

#nav {
  display: flex;
  justify-content: flex-start;
  transition: 0.4s all;
}

.nav li {
  display: flex;
  list-style: none;
  padding: 10px 20px;
}

.nav li a {
  font-weight: 600;
}

.logo {
  display: flex;
  background: #00000000;
  padding: 20px 0px;
}

.logo img {
  height: 25px;
}

.logo:hover {
  opacity: 0.9;
}

.sub-menu {
  box-shadow: 0px 4px 5px #00000017;
}

.menu-item-has-children {
  position: relative;
}

.menu-item-has-children ul {
  display: flex;
  flex-direction: column;
  position: absolute;
  width: 350px;
  top: 65px;
  left: -110px;
  max-height: 0;
  background: var(--color-white);
  overflow: hidden;
  transition: 0.4s;
  border-radius: 20px;
}

.menu-item-has-children ul li {
  padding: 5px 30px;
  margin: 10px 0px;
}

.menu-item-has-children ul li::after {
  content: "";
  height: 1px;
  width: 80%;
  display: block;
  background: #f3f3f3;
  position: absolute;
  margin-top: 50px;
}

.menu-item-has-children ul li a {
  width: 100%;
  display: flex;
  color: var(--color-dark);
  align-items: center;
}

.menu-item-has-children ul li img {
  margin-right: 10px;
  background: var(--color-dark);
  padding: 6px 5px;
  border-radius: 20px;
}

.menu-item-has-children ul li a:hover img {
  background: #20656a;
}

.menu-item-has-children ul li a::after {
  content: "\e905";
  font-family: "mrz-iconset";
  display: block;
  position: absolute;
  right: 40px;
  color: var(--color-white);
  transition: 0.2s all;
}

.menu-item-has-children ul li a:hover::after {
  right: 30px;
  color: var(--color-complimentary);
}

.menu-item-has-children ul li a:hover {
  color: var(--color-primary);
}

.menu-item-has-children:after {
  content: "\e906";
  font-family: "mrz-iconset";
  margin-left: 8px;
  position: relative;
  height: 10px;
  padding: 2px;
  font-size: 10px;
  top: 3px;
  transition: transform 0.4s;
  transform-origin: 50% 45%;
  color: var(--color-light);
}

.menu-item-has-children:hover ul {
  max-height: 650px;
}

.menu-item-has-children:hover:after {
  transform: rotate(-180deg);
}

.mega-menu {
  position: relative;
}

.mega-menu .sub-menu {
  position: absolute;
  width: 900px;
  left: -900px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mega-menu:hover ul {
  max-height: 200px;
}

.menu-col {
  width: 25%;
  overflow: hidden;
  padding: 0px;
  text-align: center;
}

.menu-col:hover {
  background-color: var(--color-light);
  border-radius: 5px;
}

.menu-col img {
  width: 100%;
  object-fit: contain;
  border-radius: 5px;
}

/***********************
      BLOG ARTICLE
***********************/

.post {
  margin-top: -85px;
}

.post .container-full {
  background: var(--color-dark);
  position: relative;
  z-index: 1;
  padding: 2% 0;
}

.post a {
  color: var(--color-primary);
}

.post a:hover {
  color: var(--color-secondary);
}

.post .read-time {
  position: relative;
  background: var(--color-complimentary);
}

.post-feature {
  width: 100%;
  height: 50vh;
  top: -100px;
  overflow: hidden;
  position: sticky;
}

.post-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meta-container {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-dark);
}

.meta-container a {
  color: var(--color-primary);
}

.meta-container,
.meta-container li {
  font-size: 13px;
}

.post .meta-container .date,
.post .meta-container .author {
  min-width: 130px;
}

.meta-container span {
  display: flex;
  align-items: center;
}

.category ul {
  display: flex;
}

.category ul li,
.tags a {
  list-style: none;
  margin-left: 10px;
}

.block {
  padding: 50px;
  min-height: 20vh;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
}

.article-item .post-title a {
  font-size: 32px;
}

.article-item .post-title a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   COMMENTS
   ========================================================================== */

/* Color Container */

.comments {
  width: 100%;
}

.comments label {
  font-weight: bold;
}

.comments form input,
.comments form textarea {
  background: #00000000;
  color: var(--color-black);
  font-size: 14px;
  border: 1px solid var(--color-dark);
  margin-top: 10px;
  padding: 0px 10px;
}

.comments form input {
  height: 45px;
}
.comments form textarea {
  height: 100px;
  padding-top: 10px;
}

.comment {
  background: var(--color-white);
  margin-top: 20px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--color-dark);
}

.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.comment-author img {
  margin-right: 20px;
  border-radius: 50px;
}

.comment-author cite {
  font-style: normal;
  margin-right: 10px;
}

.comment-author cite a {
  font-size: 18px;
  font-weight: bold;
}

.comment-list {
  padding: 0;
}

.comment .odd {
  background-color: #f3f3f3;
}

.comment-form-comment,
.comment-form-author,
.comment-form-email {
  display: flex;
  flex-direction: column;
}

.comment-form-author,
.comment-form-email {
  width: 48%;
  float: left;
}

.comment-form-author {
  margin-right: 4%;
}

.comment-respond {
  max-width: 800px;
  margin: 5vh auto;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  float: left;
}
.comment-form-cookies-consent input {
  height: 20px !important;
  margin-top: 4px !important;
  margin-right: 10px;
}

.form-submit .submit {
  width: 100%;
  display: inline-block;
  opacity: 1;
  height: 46px;
  padding: 0 40px;
  text-align: center;
  font-size: 16px;
  line-height: 46px;
  font-weight: bold;
  text-transform: uppercase;
  font-family: var(--font-title);
  box-sizing: border-box;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s;
  background: var(--color-primary);
  color: var(--color-black);
}

.form-submit .submit:hover {
  background: var(--color-secondary);
}

/* ==========================================================================
   COOKIE POPUP
   ========================================================================== */

/* Cookie Popup */

.cookie-popup {
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: fixed;
  bottom: -6.25rem;
  right: 7rem;
  padding: 0.625rem 0.9375rem;
  box-shadow: 0 0 0.625rem 0 rgba(0, 0, 0, 0.15);
  line-height: 150%;
  transition: opacity 0.5s;
  opacity: 0;
  z-index: 99999;
  background: var(--color-dark);
  border-radius: 20px;
  color: var(--color-white);
}

.cookie-popup--short {
  right: none;
  width: 21.875rem;
}

.cookie-popup--dark {
  background: #000;
  color: #fff;
}
.cookie-popup--not-accepted {
  opacity: 1;
  animation: cookie-popup-in 0.5s ease forwards;
}
.cookie-popup--accepted {
  opacity: 0;
  display: none;
}
.cookie-popup a {
  color: var(--color-primary);
}

.cookie-popup a:hover {
  color: var(--color-secondary);
}
.cookie-popup a:visited {
  color: skyblue;
  text-decoration: none;
}
.cookie-popup-actions {
  flex: 1;
  text-align: right;
}
.cookie-popup-actions button {
  color: var(--color-secondary);
  border: none;
  background: none;
  font-family: inherit;
  font-style: inherit;
  font-size: inherit;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0;
  cursor: pointer;
  background: var(--color-primary);
  padding: 10px;
  border-radius: 5px;
  transition: 0.5 all;
}

.cookie-popup-actions button:hover {
  background: var(--color-complimentary);
}

@keyframes cookie-popup-in {
  from {
    bottom: 0;
  }
  to {
    bottom: 120px;
  }
}

.wp-block-cover__inner-container {
  width: 90% !important;
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */

/* Color Container */

.nothing {
  height: 70vh;
}

.nothing h1 {
  font-size: 10vh;
  margin: 0px;
}

.nothing-img {
  max-width: 40vh;
}

/* ==========================================================================
   SEARCH
   ========================================================================== */

/* Search Form */

.search {
  max-width: 400px;
  margin: 30px auto;
  box-shadow: 0px 0px 10px #00000012;
}

.search form {
  display: flex;
}

/* Search Input */

.search input {
  background: var(--color-white);
  color: var(--color-black);
  font-size: 16px;
  font-family: var(--font-text);
}

.search form input[type="search"] {
  width: 70%;
}

/* Search Button */

.search form input[type="submit"] {
  width: 30%;
  font-weight: bold;
  background: var(--color-primary);
  transition: all 0.3s;
}

.search form input[type="submit"]:hover {
  background: var(--color-secondary);
}

/* ==========================================================================
   ARCHIVE PAGE
   ========================================================================== */

/* Archive Item */

.archive-item {
  padding: 20px;
  margin-bottom: 20px;
}

.post-thumbnail {
  margin-bottom: 20px;
  border-radius: 10px;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pagination {
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  text-align: center;
}

.pagination a {
  color: var(--color-primary);
  font-size: 16px;
  padding: 0px 4px;
}

.post-title a {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.post-title a:hover {
  color: var(--color-secondary);
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */

/* Contact Form */

.wpcf7 {
  max-width: 600px;
}

/* Contact Label */

.wpcf7 label {
  font-weight: bold;
  display: block;
  font-size: 14px;
}

/* Contact Input */

.wpcf7 input,
.wpcf7 textarea {
  width: 100%;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  font-size: 16px;
  margin-top: 10px;
  font-weight: 400 !important;
}

/* Contact Submit */

.wpcf7 .btn {
  width: 100%;
}

/* Contact Validation Alert */

.wpcf7-not-valid-tip {
  position: absolute;
  top: -40px;
  right: 0;
}

input[type="submit"] {
  display: inline-block;
  opacity: 1;
  padding: 0 40px;
  text-align: center;
  font-size: 16px;
  line-height: 46px;
  font-weight: bold;
  font-family: var(--font-title);
  box-sizing: border-box;
  border: none;
  cursor: pointer;
  border-radius: 0px;
  overflow: hidden;
  transition: all 0.4s;
  margin-bottom: 10px;
  background: var(--color-primary);
  color: var(--color-black);
}

input[type="submit"]:hover {
  background: var(--color-complimentary);
  color: var(--color-white);
}

/* Contact Submit Error */

.wpcf7 form .wpcf7-response-output {
  margin: 0px 0px 50px 0px;
  padding: 10px;
  text-align: center;
  background: var(--color-messageError);
  border-radius: 5px;
  border: 0px;
}

/* Contact Loader */

.wpcf7-spinner {
  position: absolute;
  left: inherit;
  background-color: var(--color-primary);
  opacity: 1;
  width: 600px;
  border-radius: 0px;
  margin-left: -600px;
  padding: 0;
  height: 46px;
  transition: all 0.5;
}

.wpcf7-spinner::before {
  content: "";
  position: absolute;
  background-color: #fbfbfc;
  top: 13px;
  left: 280px;
  width: 6px;
  height: 6px;
  border: none;
  border-radius: 100%;
  transform-origin: 8px 8px;
  animation-name: spin;
  animation-duration: 1000ms;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.slideshow-container {
  color: var(--color-white);
}

/* ==========================================================================
   ACCORDION
   ========================================================================== */

.accordion-container {
  width: 100%;
}

.accordion .headline {
  color: var(--color-gray);
}

.accordion.is-open .headline {
  color: var(--color-white);
}

button.accordion {
  width: 100%;
  align-items: center;
  border: none;
  outline: none;
  text-align: left;
  padding: 15px 20px;
  color: var(--color-white);
  cursor: pointer;
  background: transparent;
  transition: background-color 0.2s linear;
}

button.accordion:after {
  content: "\e903";
  font-family: "mrz-iconset";
  font-size: 18px;
  float: right;
  color: var(--color-gray);
  transition-duration: 0.2s;
  transition-property: transform;
}

button.accordion.is-open:after {
  transform: rotate(180deg);
}

button.accordion:hover,
button.accordion.is-open {
  background-color: transparent;
  color: var(--color-white);
}

.accordion-content {
  background-color: transparent;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid var(--color-white);
  padding: 0px 20px;
  max-height: 0;
  overflow: hidden;
  display: flex;
  transition: max-height 0.2s ease-in-out;
  align-items: center;
  border-bottom: 1px solid var(--color-dark);
}

.read-time {
  background: var(--color-dark);
  padding: 5px;
  border-radius: 6px;
  justify-content: center;
  min-width: 100px;
  position: absolute;
  margin: 12px;
  text-align: center;
  z-index: 9;
}

/* ==========================================================================
   AUTHOR PAGE
   ========================================================================== */

.author-profile-card {
  margin-top: 20px;
  border-bottom: 1px solid var(--color-gray);
  padding: 30px 20px;
  text-align: center;
}

.author-profile-card a {
  color: var(--color-primary);
  display: block;
  margin-bottom: 10px;
}

.author-profile-card a:hover {
  color: var(--color-secondary);
}

.author-profile-card .author-photo img {
  border-radius: 100%;
}

.author-posts h3 a {
  color: var(--color-black);
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: bold;
}

.author-posts h3 a:hover {
  color: var(--color-secondary);
}

.hero .container-block {
  position: relative;
  z-index: 3;
}

section.ups-container {
  min-height: auto;
  padding: 0px;
}

.solution-card {
  width: 24%;
  margin: 0px;
  border: 1px solid var(--color-primary);
  border-radius: 10px;
  justify-content: flex-end;
  padding: 25px;
  box-sizing: border-box;
  background: url("/wp-content/themes/mogovolt/assets/images/card-bg.png");
  background-size: cover;
  height: 450px;
}

.solution-card img {
  margin-bottom: 20px;
}

.bullet-item {
  display: flex;
  align-items: center;
  margin: 0px 0px 10px 0px;
  color: var(--color-gray);
}

.bullet-item::before {
  content: "";
  display: flex;
  position: relative;
  width: 5px;
  height: 5px;
  border-radius: 100%;
  background: var(--color-primary);
  margin-right: 5px;
}

.solution-card .btn {
  margin-top: 20px;
}

.feature-container {
  flex-wrap: wrap;
}

.numbered {
  margin: 10px 0px;
  padding: 0px;
  display: flex;
  align-items: start;
  flex-direction: column;
  padding-left: 70px;
}

.numbered .paragraph--large {
  margin: 0px;
  font-size: 22px;
  color: var(--color-white);
}

.numbered .paragraph--normal {
  margin: 5px 0px;
  color: var(--color-gray);
}

.numbered::before {
  content: "1";
  display: flex;
  justify-content: center;
  padding: 15px;
  font-size: 18px;
  width: 18px;
  height: 18px;
  position: absolute;
  left: 0;
  border: 1px solid var(--color-primary);
  border-radius: 100%;
}

.hvac-estimator {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.hvac-estimator > div {
  width: 48%;
}

.hvac-estimator label {
  margin-bottom: 10px;
  display: block;
}

.return {
  font-size: 36px;
  font-weight: bold;
}

#estimateResults strong {
  display: block;
  color: var(--color-gray);
}

.estimate-results {
  border-radius: 20px;
  padding: 30px;
  box-sizing: border-box;
}

.estimate-results.active {
  border: 1px solid var(--color-primary);
  box-shadow: 0px 0px 10px var(--color-primary);
}

#savingsRow.active {
  color: var(--color-secondary);
}

section.ready-cta {
  height: auto !important;
  min-height: auto;
  border-top: 1px solid var(--color-gray);
  border-bottom: 1px solid var(--color-gray);
}

.ready-cta {
  background: url("/wp-content/themes/mogovolt/assets/images/ready-bg.png")
    no-repeat;
  background-position: center right;
  background-size: 80%;
}

.mrz-image-block {
  min-width: 200px;
}

section.testimonials {
  min-height: auto;
}

.partner-logos {
  overflow: hidden;
  width: 100%;
}

.partner-logos__track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  max-width: none;
  animation: partnerLogosScroll 25s linear infinite;
  will-change: transform;
}

.partner-logos__track > * {
  flex: 0 0 auto;
  width: auto !important;
  max-width: none !important;
}

.partner-logos__track img {
  flex: 0 0 auto;
  width: auto !important;
  max-width: none !important;
  height: 60px;
  max-height: 60px;
  object-fit: contain;
  display: block;
}

@keyframes partnerLogosScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-1 * var(--partner-logos-width)));
  }
}
