@charset "UTF-8";
:root {
  --primary: #f8f3ec;
  --secondary: #008394;
  --third: #878787;
  --four: #1d1d1b;
  --five: #c7a56d;
}

/* 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 {
  font-weight: normal;
} */

html {
  scroll-padding-top: var(--navbar-height);
}

@media all and (min-width: 960px) {
  body {
    font-size: 16px;
  }
}

@media all and (max-width: 959px) and (min-width: 600px) {
  body {
    font-size: 14px;
  }
  button.close {
    font-size:3rem !important;
  }
}

@media all and (max-width: 599px) {
  body {
    font-size: 11.5px;
  }
  button.close {
    font-size:2.5rem !important;
  }
}

@media all and (min-width: 767px) and (max-width: 1236px) {
  .header-height {
    min-height:5rem;
  }
}
/*
@font-face {
  font-family: 'Lato Light';
  src: url(../fonts/Lato-Light.ttf);
  src: url(../fonts/Lato-Light.woff);
}

@font-face {
  font-family: 'Lato';
  src: url(../fonts/Lato-Regular.ttf);
  src: url(../fonts/Lato-Regular.woff);
}

@font-face {
  font-family: 'Lato Bold';
  src: url(../fonts/Lato-Bold.ttf);
  src: url(../fonts/Lato-Bold.woff);
}

body {
  font-family: 'Lato';
  font-weight: normal;
  padding: 0;
  margin: 0;
} */

.fade.in {
  opacity:1;
  transition: .15s linear;
}

.new-message-box p {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem;
}

button.close {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  top:5% !important;
  margin-top:0 !important;
  right:25px !important;
}

.chart {
  width: 50%;
  float: left;
  display: grid;
  gap: 1em;
  grid-template-rows: min-content minmax(0, 1fr) min-content;
  grid-template-columns: 1fr minmax(0, 3fr);
  grid-template-areas:
    'a h'
    'a c'
    'a f';
  height: calc(100vh - 2em);
  /*width: calc(100vw - 2em);  not necessary, but just to be explicit */
  height: 400px;
  margin: 1em;
  max-width: 950px;
  border: 1px solid #134369;
  border-radius: 10px;
  margin: 2%;
}

.chart div {
  grid-column: 1/4;
  grid-row: 2/3;
}
.chart h3 {
  background: var(--color-1);
  color: #000;
  line-height: 1.3;
  padding: 0.2em;
  text-align: center;
  grid-row: 1/2;
  grid-column: 1/4;
  text-align: center;
}

.herotext {
  padding-left: 50px;
  /* margin-left: -50px; */
}

.herostats {
  /* margin-left: 450px; */
  background-color: rgba(0, 0, 0, 0.5);
  /* padding: 30px; */
  border: solid white 2px;
}

.lower {
  text-transform: lowercase !important;
}

.introSection {
  padding: 20px 40px 20px 40px;
}

.bizName {
  font-size: 2rem;
}
.companyName {
  font-size: 3rem;
}
.preicons {
  display: block;
  text-align: right;
  margin-top: -25px;
}

.prephoneemail {
  margin-top: 15px;
}

.preNav {
  /* padding: 3px 8px 12px 8px; */
}

@media only screen and (max-width: 992px) {
  .mobileImage {
    background-position-x: left !important;
  }
}

@media only screen and (max-width: 680px) {
  .herotext {
    margin-left: 20px !important;
    margin-top: -15px !important;
  }
  .preicons {
    /* margin-top: 5px; */
  }
  .herostats {
    /* margin-left: 0px !important; */
    /* height: 25vh !important; */
  }
  .bizName {
    font-size: 1.25rem !important;
  }
  .companyName {
    font-size: 1.75rem !important;
  }
  .herostattext {
    font-size: 15px;
  }
  .statSection {
    margin-top: -20px;
  }
  .secondSub {
    background-size: contain;
  }
}
