/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

@-ms-viewport {
  width: device-width;
}

@viewport {
  width: device-width;
}

.fullscreen {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
}

a,
input,
button,
label,
select {
  border: none;
  text-decoration: none;
  display: block;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background-color: transparent;
  outline: none;
  cursor: pointer;
  color: inherit;
  box-shadow: none;
}
a:focus,a:hover,a:active,a:visited,
input:focus,input:hover,input:active,input:visited,
button:focus,button:hover,button:active,button:visited,
label:focus,label:hover,label:active,label:visited,
select:focus,select:hover,select:active,select:visited {
  color: inherit;
}

a,
button {
  cursor: pointer;
}

button {
  user-select: none;
}

img,
video,
svg {
  width: 100%;
  max-width: 100%;
  display: block;
  flex: 0 0 auto;
}

video {
  cursor: pointer;
  outline: none;
}

.nowrap {
  white-space: pre;
}

.box {
  width: 100%;
  padding: 0 15px;
  border: none;
  box-shadow: none;
  margin: 0 auto;
  max-width: 900px;
}

header,
section,
footer {
  width: 100%;
  border: none;
  box-shadow: none;
}

html {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: #1e272e;
  background-color: #fff;
  text-align: left;
}

header {
  padding: 1rem 0;
  background-color: #fff;
  position: sticky;
  top: 0;
  box-shadow: 4px 0px 15px rgba(0, 0, 0, 0.20);
}

header .box {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

header .box svg {
  width: 130px;
}

header .box a {
  padding: .8em 1em;
  font-size: 14px;
  background-color: #6eb7c2;
  font-weight: 600;
  color: #fff;
  border-radius: .3em;
  display: flex;
  line-height: 1;
  align-items: center;
}

header .box a.medium {
  display: none;
}

#main {
  padding: 0px 0 50px;
}

#main .label {
  padding: .8em .2em;
  font-size: 14px;
  font-weight: 600;
  color: grey;
  border-radius: .3em;
  width: auto;
  display: inline-block;
  text-transform: uppercase;
}

#main h1 {
  font-weight: 700;
  padding: 0;
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.4;
  text-align: left;
  text-transform: capitalize;
  margin: 0 0 20px;
}

h2 {
  font-weight: 700;
  padding: 0;
  font-size: 24px;
  line-height: 1.4;
  text-align: left;
  text-transform: capitalize;
  margin: 40px 0 20px;
}

#main .box > ul {
  margin: 20px 0;
  list-style-position: inside;
}

#main ul li {
  margin-top: 7px;
}

#main ul li:first-child {
  margin: 0;
}

#main blockquote {
  padding-left: 15px;
  border-left: 3px solid #e5e5e5;
  font-style: italic;
  font-weight: 600;
}

#main b {
  font-weight: 600;
}

#main .box > p {
  margin: 20px 0;
}

#main .box > img {
  margin: 30px 0;
}

#main p a {
  display: inline;
  color: #0970C5;
}

#main .cta {
  margin-top: 30px;
  padding: 30px;
  background-color: #fff;
  color: #fff;
  border-radius: 5px;
}

#main .cta .header {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

#main .cta .description {
  font-weight: 600;
  opacity: .85;
  margin-bottom: 20px;
}

#main .cta a {
  width: 100%;
  padding: 1em 1.2em;
  color: #fff;
  font-weight: 600;
  background-color: #6eb7c2;
  text-align: center;
  border-radius: .3em;
  font-size: 28px;
}

#main .cta a:hover {
  background-color: #616c7a;
}

/* quiz */

#quiz {
  padding: 50px 0;
  background-color: #f0f0f0;
}

#quiz h2 {
  margin: 0 0 10px;
}

#quiz form {
  margin-top: 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid #e5e5e5;
}

#quiz .counter {
  display: flex;
  align-items: center;
  height: 30px;
}

#quiz .counter button {
  width: 30px;
  height: 30px;
  background-image: url(https://www.insuraliving.com/home/solar/images/back.svg);
  background-position: center;
  background-repeat: no-repeat;
  opacity: .7;
  background-size: 11px;
}

#quiz .counter[data-question="1"] button {
  display: none;
}

#quiz .counter p {
  font-size: 14px;
  font-weight: 600;
  opacity: .8;
}

#quiz .question-box {
  margin-top: 10px;
}

#quiz .question {
  font-size: 20px;
  font-weight: 700;
}

#quiz .answers {
  margin-top: 20px;
  width: 100%;
  display: grid;
  grid-gap: 10px;
}

#quiz .answers label {
  width: 100%;
}

#quiz .answers input[type=radio] {
  display: none;
}

#quiz .answers label span {
  width: 100%;
  padding: 1em 1.2em;
  border-radius: .3em;
  border: 1px solid #e5e5e5;
  font-weight: 600;
  text-align: center;
  display: block;
  transition: .3s;
}

#quiz .answers input[type=radio]:checked + span {
  border: 1px solid #0970C5;
  background-color: #0970C5;
  color: #fff;
}

#quiz .final-step .question {
  margin-bottom: 20px;
}

#quiz .final-step input {
  padding: 1em 1.2em;
  width: 100%;
  color: #1e272e;
  margin-top: 10px;
  border-radius: .3em;
  display: block;
  border: 1px solid #e5e5e5;
}

#quiz .final-step input::placeholder {
  color: #666;
}

#quiz .final-step input:-webkit-autofill {
  -webkit-box-shadow: inset 0 0 0 50px #fff !important; /* Ð¦Ð²ÐµÑ‚ Ñ„Ð¾Ð½Ð° */
  -webkit-text-fill-color: #1e272e !important; /* Ñ†Ð²ÐµÑ‚ Ñ‚ÐµÐºÑÑ‚Ð° */
  color: #1e272e !important; /* Ñ†Ð²ÐµÑ‚ Ñ‚ÐµÐºÑÑ‚Ð° */
}

#quiz button[type=submit] {
  width: 100%;
  padding: 1em 1.2em;
  background-color: #0970C5;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-top: 10px;
  border-radius: .3em;
}

#quiz .wrapper {
  width: 100%;
}

#quiz .loader {
  width: 100%;
  height: 200px;
  display: none;
}

#quiz .loader-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#quiz .loader p {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  padding: 0 20px;
}

#quiz .loader .lds-dual-ring {
  display: inline-block;
  width: 80px;
  height: 80px;
}

#quiz .loader .lds-dual-ring:after {
  content: " ";
  display: block;
  width: 45px;
  height: 45px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid #1e272e;
  border-color: #1e272e transparent #1e272e transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#quiz .result-send {
  width: 100%;
  height: 150px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 30px;
}

#quiz .result-send .form-success,
#quiz .result-send .form-error {
  display: none;
}

#quiz .result-send .header-form,
#quiz .result-send .form-success,
#quiz .result-send .form-error {
  font-weight: 600;
  line-height: 1.4;
  font-size: 18px;
  text-align: center;
  width: 100%;
}

#quiz .result-send .form-error {
  color: red;
}

#quiz .result-send .form-error a {
  display: inline-block;
}

/* footer */

footer {
  background-color: #27384e;
  padding: 40px 0;
}

footer .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

footer svg {
  max-width: 250px;
}

footer p {
  color: #fff;
  opacity: .8;
  font-size: 12px;
  margin: 10px 0 10px;
  width: 100%;
  text-align: left;
}

footer img {
  max-width: 100px;
}

/* float cta */

#float-cta {
  position: fixed;
  bottom: 0;
  background-color: #f2f2f2;
  padding: 10px 0;
}

#float-cta .box {
  display: flex;
}

#float-cta button {
  background-color: #fff;
  padding: 1em;
  font-weight: 600;
  color: #0970C5;
  border-radius: .3em;
  line-height: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-right: 10px;
  font-size: 16px;
}

#float-cta a {
  display: flex;
  align-items: center;
  background-color: #ed8c2c;
  flex-shrink: 0;
  padding: 10px;
  border-radius: .3em;
  padding: 1em;
  font-weight: 600;
  color: #fff;
  font-size: 16px;
}

#float-cta a:before {
  content: "";
  width: 1em;
  height: 1em;
  background-image: url(https://www.insuraliving.com/home/solar/images/phone.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  margin-right: .5em;
}

#float-cta span.medium {
  display: none;
}

@media ( min-width: 500px ) {
  #float-cta span.mini {
    display: none;
  }
  #float-cta span.medium {
    display: block;
  }
}

.logo {
  width: 113px;
  display: block;
  flex: 0 0 auto;
}

.box-footer {
  width: 100%;
  padding: 0 15px;
  border: none;
  box-shadow: none;
  margin: 0 auto;
  max-width: 900px;
}

@media ( min-width: 360px ) {
  header .box a.medium {
    display: flex;
  }
  header .box a.micro {
    display: none;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 18px;
  }
  .box {
    padding: 0 50px;
  }
  header .box svg {
    width: 200px;
  }
  header .box a {
    font-size: 16px;
    background-color: #6eb7c2;
  }

  header .box a:hover {
    background-color: #616c7a;
  }
  #main {
    padding: 10px 0 90px;
  }
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 30px;
  }
  #main .cta {
    padding: 50px;
  }

  #main .cta .header {
    font-size: 30px;
  }
  #quiz {
    padding: 90px 0;
  }
  #quiz form {
    margin-top: 30px;
    padding: 40px;
  }
  #quiz .counter p {
    font-size: 16px;
  }
  #quiz .question {
    font-size: 25px;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 18px !important;
  }
  h1 {
    font-size: 1.5rem !important;
  }
  h2 {
    font-size: 40px !important;
  }
  #main .cta {
    padding: 20px !important;
  }

  #main .cta .header {
    font-size: 40px !important;
  }
}
