/* 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;
}

/**
* 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
========================================================================== */

/**
* Add the correct box sizing in Firefox.
*/

hr {
  box-sizing: content-box;
  height: 0;
}

/**
* 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
========================================================================== */

/**
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, 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;
}

/* 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 */
}

/**
* Remove the inheritance of text transform in Edge and Firefox.
* 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;
}

/**
* Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
*/

legend {
  padding: 0;
}

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

progress {
  vertical-align: baseline;
}

/**
* 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 and Firefox.
*/

details {
  display: block;
}

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

summary {
  display: list-item;
}

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



/* CSS variables */

:root {
  --column-gap: 2.13%;
  --column-width-multiplier: 8.333;
}

/* Mobile layout */

.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}


  .row-fluid .span1,
  .row-fluid .span2,
  .row-fluid .span3,
  .row-fluid .span4,
  .row-fluid .span5,
  .row-fluid .span6,
  .row-fluid .span7,
  .row-fluid .span8,
  .row-fluid .span9,
  .row-fluid .span10,
  .row-fluid .span11,
  .row-fluid .span12{
  min-height: 1px;
  width: 100%;
}

/* Desktop layout */

@media (min-width: 768px) {
  .row-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  
    .row-fluid .span1 {
      width: calc(var(--column-width-multiplier) * 1% * 1 - var(--column-gap) * (11 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span2 {
      width: calc(var(--column-width-multiplier) * 1% * 2 - var(--column-gap) * (10 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span3 {
      width: calc(var(--column-width-multiplier) * 1% * 3 - var(--column-gap) * (9 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span4 {
      width: calc(var(--column-width-multiplier) * 1% * 4 - var(--column-gap) * (8 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span5 {
      width: calc(var(--column-width-multiplier) * 1% * 5 - var(--column-gap) * (7 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span6 {
      width: calc(var(--column-width-multiplier) * 1% * 6 - var(--column-gap) * (6 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span7 {
      width: calc(var(--column-width-multiplier) * 1% * 7 - var(--column-gap) * (5 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span8 {
      width: calc(var(--column-width-multiplier) * 1% * 8 - var(--column-gap) * (4 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span9 {
      width: calc(var(--column-width-multiplier) * 1% * 9 - var(--column-gap) * (3 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span10 {
      width: calc(var(--column-width-multiplier) * 1% * 10 - var(--column-gap) * (2 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span11 {
      width: calc(var(--column-width-multiplier) * 1% * 11 - var(--column-gap) * (1 * var(--column-width-multiplier) / 100));
    }
  
}
.content-wrapper {
  margin: 0 auto;
  padding: 0 25px;
}

@media(min-width:1200px){
  .content-wrapper {
   padding: 0 50px;
  }
}

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

/* The overflow-wrap is meant to prevent long/large words from breaking the mobile responsiveness of a page (e.g. horizontal scrolling). It is preferred to reduce font sizes on mobile to address this, with this CSS specifically helping with extreme scenarios where a reduction in font size is not possible. */

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

/* Handles word breaking for a few specific languages which handle breaks in words differently. If your content is not translated into these languages, you can safely remove this.  */

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

/* Paragraphs */

p {
  margin: 0 0 20px;
}

/* Anchors */

a {
  cursor: pointer;
  color: inherit;
  text-underline-position: under;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 20px;
  line-height: 1.3;
}

/* Lists */

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

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

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

/* 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;
  max-width:100%;
  vertical-align:middle;
  height:auto;
}

svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

mark {
  background: var(--primary);
  padding: 0 5px;
}

.light {
  color: #ffffff;
}

.light h1,
.light h2,
.light h3,
.light h4,
.light h5,
.light h6{
  color:inherit;
}

svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.detail-content>:last-child,
.hs_cos_wrapper_type_rich_text>:last-child {
  margin-bottom: 0 !important
}

.detail-content ul ul,
.hs_cos_wrapper_type_rich_text ul ul {
  margin-top: 20px
}

.detail-content ol,
.hs_cos_wrapper_type_rich_text ol {
  padding-left: 20px
}

.detail-content ul,
.hs_cos_wrapper_type_rich_text ul {
  list-style: inherit !important;
  padding-left: 30px
}

.detail-content.tc ol,
.detail-content.tc ul,
.tc .detail-content ol,
.tc .detail-content ul,
.tc .hs_cos_wrapper_type_rich_text ol,
.tc .hs_cos_wrapper_type_rich_text ul {
  text-align: left
}

.detail-content a:not(.button),
.hs_cos_wrapper_type_rich_text a:not(.button){
  color: var(--primary-color);
}

.detail-content a:not(.button):hover,
.hs_cos_wrapper_type_rich_text a:not(.button):hover{
  color: var(--secondary-color);
}

.detail-content.light a,
.light .detail-content a{
  color: inherit;
}

.detail-content.light a:hover,
.light .detail-content a:hover{
  color: var(--secondary-color);
}

.p-sm{
  font-size: var(--p-size-sm);
}

strong {
  font-weight: 700
}

.dis-flex {
  display: flex;
  flex-wrap: wrap
}

.vmiddle {
  align-items: center
}

.vbottom {
  align-items: flex-end
}

.hcenter {
  justify-content: center
}

.hspace {
  justify-content: space-between;
}

.hright {
  justify-content: right
}

.tc {
  text-align: center
}

.tr {
  text-align: right
}

.tl {
  text-align: left
}

.dis-flex>.row-fluid-wrapper>.row-fluid:after,
.dis-flex>.row-fluid-wrapper>.row-fluid:before {
  display: none
}

.bg{
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.overlay {
  position: relative;
  z-index: 1
}

.overlay:before {
  background: #1f1f1f;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
  opacity: .8;
}

.common-button {
  margin-top: 30px
}

.common-header { 
  margin-bottom: 35px;
}

@media (min-width:768px){
  .common-header { margin-bottom: 50px; }
}
button,
.button,
.hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

button:disabled,
.button:disabled,
.hs-button: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;
}
form{font-size: 16px;}
input::-ms-clear,select::-ms-expand {display: none}
input:-webkit-autofill,select:-webkit-autofill,textarea:-webkit-autofill { -webkit-text-fill-color: #252525; -webkit-box-shadow: inset 0 0 0 100px #fff; -moz-box-shadow: inset 0 0 0 100px #fff; box-shadow: inset 0 0 0 100px #fff; color: #252525 }
input,select,textarea { border-radius: 0 }
button,html input[type=button],input[type=reset],textarea { -webkit-appearance: none; border-radius: 0;}
button,input,option,select,textarea { font-family: inherit; font-size: 100%; margin: 0; vertical-align: baseline }
input[type=email],input[type=tel],input[type=text] { -webkit-appearance: none!important }
textarea { height: 120px; overflow: auto; resize: none; vertical-align: top }
form ul { list-style: none; margin: 0; padding: 0 }
form div.hs-form-field .input>ul>li>label { cursor: pointer }
form ul.inputs-list.hs-error-msgs { color: red; font-size: 14px; padding:5px 0 0; }
form ul.inputs-list.hs-error-msgs label { color: inherit }
form .hs-form-required { display: inline; }
form .hs_error_rollup { display: none; }
form .legal-consent-container .hs-error-msgs label { color: #FF0000 !important }
form fieldset { max-width: 100%!important }
form div.hs-form-field { display: inline-block; float: none!important; margin-bottom: 30px; vertical-align: top; width: 100%!important }
form ul.inputs-list { padding-top: 8px }
form .input { margin-right: 0!important }
form .hs-form-field>label { display: block; font-weight: 700; margin-bottom: 8px; font-family: var(--secondary-font); text-transform: uppercase; font-size: 14px; }
form input[type=date],form input[type=datetime-local],form input[type=datetime],form input[type=email],form input[type=file],form input[type=month],form input[type=number],form input[type=password],form input[type=search],form input[type=tel],form input[type=text],form input[type=time],form input[type=url],form input[type=week],form select,form textarea { display: inline-block;padding:10px 12px; width: 100%!important; }
form select { -moz-appearance: none; -webkit-appearance: none; background-image: url(https://44055667.fs1.hubspotusercontent-na1.net/hubfs/44055667/CBE%20Construction/images/icon-down-angle.png); background-position: right 11px center; background-repeat: no-repeat; background-size: 15px auto; cursor: pointer; padding-right: 35px; }
form .input ul.inputs-list li label input[type=radio]:checked+span:before { box-shadow: inset 0 0 0 3px #fff }
form .input ul.inputs-list li label input[type=radio] { display: none!important; opacity: 0 }
form .input ul.inputs-list li label input[type=radio]+span:before { border-radius: 50%; content: ""; height: 20px; left: 0; position: absolute; text-align: center; top: 1px; width: 20px }
form .input ul.inputs-list li label input[type=radio]+span,form input[type=checkbox]+span { display: flex; padding-left: 30px; position: relative; margin-left:0; }
form .input ul.inputs-list li label input[type=radio]:checked+span:before { background-color:var(--quaternary_color); }
form input[type=checkbox] { display: none!important; opacity: 0 }
form input[type=checkbox]+span:before { border-style: solid; border-width: 2px; content: ""; height: 20px; left: 0; position: absolute; text-align: center; top: 1px; width: 20px; background-repeat: no-repeat; background-position: center; background-size: 12px; }
form input[type=checkbox]:checked+span:before { background-image: url('https://44055667.fs1.hubspotusercontent-na1.net/hubfs/44055667/CBE%20Construction/images/black-right.png'); }
form div.hs-form-field .input>ul>li:not(:last-child) { margin: 0 0 10px }
form .legal-consent-container .hs-form-booleancheckbox-display>span { margin-left: 0 }
form .legal-consent-container .field.hs-form-field { margin-bottom: 0 }
form .legal-consent-container { margin-bottom:30px;}
form .hs-richtext { margin: 10px 0 }
form .legal-consent-container ul.inputs-list li label input[type=checkbox]+span:before{ top:2px;}
form .legal-consent-container ul.inputs-list li{ padding:0; }
.submitted-message > *:last-child { margin-bottom: 0; }
form .hs-button { min-width: 180px; padding-left: 20px; padding-right: 20px; }

@media(min-width: 900px) {
  form fieldset.form-columns-2>div.hs-form-field { margin-right:16px; width: calc(50% - 8px)!important }
  form fieldset.form-columns-2>div.hs-form-field:last-child,form fieldset.form-columns-3>div.hs-form-field:last-child { margin-right: 0 }
  form fieldset.form-columns-3>div.hs-form-field { margin-right: 16px; width: calc(33.33% - 11px)!important }
}
/* Table */

table {
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
}

/* Table cells */

td,
th {
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}

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



/* 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 */

.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;
  }
}