/* Theme base styles */

/* Tools
Any animations, or functions used throughout the project.
Note: _macros.css needs to be imported into each stylesheet where macros are used and not included here
*/

/* Generic
This is where reset, normalize & box-sizing styles go.
*/

*, *:before, *:after {
  box-sizing: border-box;
}
/*! 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;
}

/* Objects
Non-cosmetic design patterns including grid and layout classes)
*/

/* Containers */

.hs-quotes--flow .container {
  margin: 0 auto;
  max-width: 80%;
  padding: 0 20px;
}

.hs-quotes--flow .container--content {
  margin: 0 auto;
  max-width: 70%;
  padding: 0 20px;
}

@media screen and (max-width: 1200px) {

  .hs-quotes--flow .container,
  .hs-quotes--flow .container--content {
    max-width: 90%;
  }
}

@media screen and (max-width: 980px) {

  .hs-quotes--flow .container,
  .hs-quotes--flow .container--content {
    max-width: 93%;
  }
}

@media print {
  
  .hs-quotes--flow .container,
  .hs-quotes--flow .container--content {
    max-width: unset;
    padding: 0 30px;
  }
}
/* Responsive grid */

.row-fluid {
  width: 100%;
}

.row-fluid:before, .row-fluid:after {
  display: table;
  content: '';
}

.row-fluid:after {
  clear: both;
}

.row-fluid [class*='span'] {
  display: block;
  float: left;
  width: 100%;
  min-height: 1px;
  margin-left: 2.127659574%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.row-fluid [class*='span']:first-child {
  margin-left: 0;
}

.row-fluid .span12 {
  width: 99.99999998999999%;
}

.row-fluid .span11 {
  width: 91.489361693%;
}

.row-fluid .span10 {
  width: 82.97872339599999%;
}

.row-fluid .span9 {
  width: 74.468085099%;
}

.row-fluid .span8 {
  width: 65.95744680199999%;
}

.row-fluid .span7 {
  width: 57.446808505%;
}

.row-fluid .span6 {
  width: 48.93617020799999%;
}

.row-fluid .span5 {
  width: 40.425531911%;
}

.row-fluid .span4 {
  width: 31.914893614%;
}

.row-fluid .span3 {
  width: 23.404255317%;
}

.row-fluid .span2 {
  width: 14.89361702%;
}

.row-fluid .span1 {
  width: 6.382978723%;
}

.container-fluid:before, .container-fluid:after {
  display: table;
  content: '';
}

.container-fluid:after {
  clear: both;
}

@media (max-width: 767px) {
  .row-fluid {
    width: 100%;
  }

  .row-fluid [class*='span'] {
    display: block;
    float: none;
    width: auto;
    margin-left: 0;
  }
}

@media (min-width: 768px) and (max-width: 1139px) {
  .row-fluid {
    width: 100%;
  }

  .row-fluid:before, .row-fluid:after {
    display: table;
    content: '';
  }

  .row-fluid:after {
    clear: both;
  }

  .row-fluid [class*='span'] {
    display: block;
    float: left;
    width: 100%;
    min-height: 1px;
    margin-left: 2.762430939%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
  }

  .row-fluid [class*='span']:first-child {
    margin-left: 0;
  }

  .row-fluid .span12 {
    width: 99.999999993%;
  }

  .row-fluid .span11 {
    width: 91.436464082%;
  }

  .row-fluid .span10 {
    width: 82.87292817100001%;
  }

  .row-fluid .span9 {
    width: 74.30939226%;
  }

  .row-fluid .span8 {
    width: 65.74585634900001%;
  }

  .row-fluid .span7 {
    width: 57.182320438000005%;
  }

  .row-fluid .span6 {
    width: 48.618784527%;
  }

  .row-fluid .span5 {
    width: 40.055248616%;
  }

  .row-fluid .span4 {
    width: 31.491712705%;
  }

  .row-fluid .span3 {
    width: 22.928176794%;
  }

  .row-fluid .span2 {
    width: 14.364640883%;
  }

  .row-fluid .span1 {
    width: 5.801104972%;
  }
}

@media (min-width: 1280px) {
  .row-fluid {
    width: 100%;
  }

  .row-fluid:before, .row-fluid:after {
    display: table;
    content: '';
  }

  .row-fluid:after {
    clear: both;
  }

  .row-fluid [class*='span'] {
    display: block;
    float: left;
    width: 100%;
    min-height: 1px;
    margin-left: 2.564102564%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
  }

  .row-fluid [class*='span']:first-child {
    margin-left: 0;
  }

  .row-fluid .span12 {
    width: 100%;
  }

  .row-fluid .span11 {
    width: 91.45299145300001%;
  }

  .row-fluid .span10 {
    width: 82.905982906%;
  }

  .row-fluid .span9 {
    width: 74.358974359%;
  }

  .row-fluid .span8 {
    width: 65.81196581200001%;
  }

  .row-fluid .span7 {
    width: 57.264957265%;
  }

  .row-fluid .span6 {
    width: 48.717948718%;
  }

  .row-fluid .span5 {
    width: 40.170940171000005%;
  }

  .row-fluid .span4 {
    width: 31.623931624%;
  }

  .row-fluid .span3 {
    width: 23.076923077%;
  }

  .row-fluid .span2 {
    width: 14.529914530000001%;
  }

  .row-fluid .span1 {
    width: 5.982905983%;
  }
}

/* Clearfix */

.clearfix:before, .clearfix:after {
  display: table;
  content: '';
}

.clearfix:after {
  clear: both;
}

/* Visibilty classes */

.hide {
  display: none;
}

.show {
  display: block;
}

.invisible {
  visibility: hidden;
}

.hidden {
  display: none;
  visibility: hidden;
}

/* Responsive visibilty classes */

.visible-phone {
  display: none !important;
}

.visible-tablet {
  display: none !important;
}

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

@media (max-width: 767px) {
  .visible-phone {
    display: inherit !important;
  }

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

  .hidden-desktop {
    display: inherit !important;
  }

  .visible-desktop {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1139px) {
  .visible-tablet {
    display: inherit !important;
  }

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

  .hidden-desktop {
    display: inherit !important;
  }

  .visible-desktop {
    display: none !important;
  }
}

/* Elements
Base HMTL elements are styled in this section (<body<, <h1>, <a>, <p>, <button> etc.)
*/

body {
  line-height: 1.4;
  overflow-wrap: break-word;
}

html[lang^='ja'] body,
html[lang^='zh'] body,
html[lang^='ko'] body {
  line-break: strict;
  overflow-wrap: normal;
  word-break: break-all;
}

/* Paragraphs */

p {
  font-size: 1rem;
  margin: 0 0 1.4rem;
}

/* Anchors */

a {
  cursor: pointer;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1.4rem;
}

/* Lists */

ul,
ol {
  margin: 0 0 1.4rem;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin: 0;
}

ul.no-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Address */

address {
  font-style: normal;
}

/* Code blocks */

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
}

/* Blockquotes */

blockquote {
  border-left: 2px solid;
  margin: 0 0 1.4rem;
  padding-left: 0.7rem;
}

/* Horizontal rules */

hr {
  border: none;
  border-bottom: 1px solid #ccc;
}

/* Image alt text */

img {
  font-size: 0.583rem;
  word-break: normal;
}
button,
.button,
button.hs-download__button,
button.payment__button--checkout {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

button:disabled,
.button:disabled,
button.hs-download__button:disabled,
button.payment__button--checkout:disabled {
  background-color: #d0d0d0;
  border-color: #d0d0d0;
  color: #e6e6e6;
}

/* No button */

.no-button,
.no-button:hover,
.no-button:focus,
.no-button:active {
  background: none;
  border: none;
  border-radius: 0;
  color: initial;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin-bottom: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transition: none;
}
/* Table */

table {
  border-collapse: collapse;
  margin-bottom: 1.4rem;
}

/* Table cells */

td,
th {
  padding: 1.4rem 0.7rem;
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}

/* Components
Specific pieces of UI that are stylized. Typically used for global partial styling
*/

/* Banner */

/* :last/first/nth-of-type selectors utilized to faciliate hiding and showing modules in the editor and adjusting spacing within the banner */

.hs-quotes--flow .banner {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 50px;
  padding-top: 58px;
}

.hs-quotes--flow .banner__title {
  margin-top: 75px;
}

.hs-quotes--flow .banner__dates {
  align-items: center;
  display: flex;
}

.hs-quotes--flow .banner__sender > div,
.hs-quotes--flow .banner__recipient {
  padding-top: 15px;
  position: relative;
}


.hs-quotes--flow .banner__dates > div + div {
  border-left-style: solid;
  border-left-width: 1px;
  margin-left: 35px;
  padding-left: 35px;
}

.hs-quotes--flow .banner__sender {
  display: flex;
  justify-content: flex-end;
  text-align: right;
}

.hs-quotes--flow .banner__sender > div:last-of-type {
  margin-bottom: 73px;
}

.hs-quotes--flow .banner__sender .sender-user {
  margin-left: 60px;
}

.hs-quotes--flow .banner__sender > div:after,
.hs-quotes--flow .banner__recipient:after {
  content: '';
  display: inline-block;
  height: 3px;
  position: absolute;
  right: 0;
  top: 0;
  width: 45px;
}

.hs-quotes--flow .banner__recipient {
  margin-bottom: 30px;
  text-align: right;
}

.hs-quotes--flow .banner__recipient.banner__recipient--left-align {
  text-align: left;
}

.hs-quotes--flow .banner__recipient.banner__recipient--left-align:after {
  left: 0;
  right: auto;
  top: 0;
}

.hs-quotes--flow .banner__recipient .recipient-contact {
  margin-top: 25px;
}

@media print, screen and (max-width: 1175px) {

  .hs-quotes--flow .banner__title {
    margin-top: 25px;
  }

  .hs-quotes--flow .banner__dates {
    align-items: flex-start;
    flex-direction: column;
  }

  .hs-quotes--flow .banner__dates > div {
    margin-bottom: 15px;
  }

  .hs-quotes--flow .banner__dates > div + div {
    border-left-style: solid;
    border-left-width: 0;
    margin-left: 0;
    padding-left: 0;
  }

  .hs-quotes--flow .banner__sender {
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    text-align: left;
  }

  .hs-quotes--flow .banner__sender > div:first-of-type {
    margin-top: 35px;
  }

  .hs-quotes--flow .banner__sender > div:last-of-type {
    margin-bottom: 35px;
  }

  .hs-quotes--flow .banner__sender > div:nth-of-type(1):after,
  .hs-quotes--flow .banner__recipient:after {
    left: 0;
    right: auto;
  }

  .hs-quotes--flow .banner__sender > div:nth-of-type(2):after {
    display: none;
  }

  .hs-quotes--flow .banner__sender .sender-user {
    margin-left: 0;
  }

  .hs-quotes--flow .banner_sender .sender-company__address {
    margin-bottom: 15px;
  }

  .hs-quotes--flow .banner__recipient {
    margin-bottom: 30px;
    text-align: left;
  }
}

@media print {
  .hs-quotes--flow .banner__sender {
    display: block;
    margin-top: 35px;
    text-align: left;
  }

  .hs-quotes--flow .banner__sender > .sender-user:after {
    display: none;
  }

  .hs-quotes--flow .banner__sender > .sender-company__address:after,
  .hs-quotes--flow .banner__recipient:after {
    left: 0;
    right: auto;
    top: 0;
  }

  .hs-quotes--flow .banner__sender .sender-user {
    margin-left: 0;
    margin-top: 15px;
  }

  .hs-quotes--flow .banner__recipient {
    margin-bottom: 30px;
    margin-top: 35px;
    text-align: left;
  }

  .hs-quotes--flow .banner__sender,
  .hs-quotes--flow .banner__recipient {
    page-break-inside: avoid;
  }
}
/* Signature */

.esignature__profile {
  margin-top: 0.7rem;
  padding: 1.4rem;
}

.esignature__signer-email {
  display: block;
  margin-bottom: 0.7rem;
}

.hs-quotes .signature__container .esignature__tag--sent,
.hs-quotes .signature__container .esignature__tag--signed {
  height: initial;
  padding: 10px 20px;
}

@media (min-width: 767px) {
  .esignature__profile {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }

  .esignature__signer-email {
    margin-bottom: 0;
  }
}

/* Download, payment and esignature button */

.hs-quotes.hs-quotes--flow .payment__button--checkout,
.hs-quotes.hs-quotes--flow .hs-download__button,
.hs-quotes .esignature__verify-button-container .esignature__verify-button,
.hs-quotes .esignature__sign-now-button-container .esignature__sign-now-button {
  align-items: center;
  display: flex;
  height: auto;
  justify-content: center;
  white-space: nowrap;
  width: auto;
}

/* Payment button */
button.payment__button--checkout svg {
  height: 1em;
  width: 1em;
}

/* Payment Schedule */
.hs-quotes--flow .payment-schedule {
  margin-top: 32px;
}

.hs-quotes--flow .scheduled-payments__installment {
  border-bottom: 1px solid;
}

/* Line Items */

.line-items__table {
  border: 1px solid;
  border-collapse: collapse;
  margin-bottom: 0;
  width: 100%;
}

.line-items__table td,
.line-items__table th {
  border-style: solid;
  border-width: 1px 0;
  height: 4em;
  text-align: right;
}

.line-items__table th {
  padding: 1em 1.71em;
}

.line-items__table td {
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
  padding: 1em 1.71em;
  vertical-align: baseline;
}

.line-items__table thead th {
  border: none;
}

.line-items__table .line-items__table-header th {
  border-top: none;
}

.hs-quotes--flow .scheduled-payments__table td,
.hs-quotes--flow .scheduled-payments__table th {
  padding: 15px 0;
}

.line-items__table tr>th:first-child,
.line-items__table tr>td:first-child,
.line-items__table tr>th:last-child,
.line-items__table tr>td:last-child {
  padding-left: 0;
  padding-right: 0;
}

.line-items__table tr>th:first-child,
.line-items__table tr>td:first-child {
  min-width: 120px;
  text-align: left;
}

.line-items__description {
  white-space: pre-wrap;
}

.line-items__discount-percentage {
  display: block;
}

.future-charges-table-heading {
  margin-top: 50px;
}

@media (min-width: 767px) {
  .line-items__table {
    overflow-x: scroll
  }
}

/* Utilities
Helper classes with ability to override anything that comes before it
*/

/* For content that needs to be visually hidden but stay visible for screenreaders */

/* stylelint-disable declaration-no-important */
.show-for-sr {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

@media (max-width: 767px) {
  .show-for-sr--mobile {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}
/* stylelint-enable declaration-no-important */