main {
  background-color: #ffffff;
}

.fireglass-home-bubble-nav span:before {
  pointer-events: none;
}

.fireglass-home-hero {
  display: block;
}

.hero-text {  
  padding-top: 40px;
  text-align: left;
}

.fireglass-home-hero h1 {
  margin-left: 100px;
  margin-bottom: 20px;
  padding: 0;
  line-height: 2.5rem;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, .25);
}

.fireglass-home-hero p {
  margin-left: 100px;
  padding: 0;
  line-height: 1.4;
  font-size: 1.8rem;
  color: #ffffff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, .25);
}

h2 {
  font-size: 4rem;
  line-height: 4rem;
  font-weight: normal;
  max-width: 1200px;
  width: 100%;
  font-weight: 500;
}

p {
  font-family: 'urw-din-semi-condensed', sans-serif !important;
  font-size: 1.3em;
  font-weight: 500;
}

.fireglass-home-hero {
  margin-top: 105px;
  background-position: bottom;
}

a.fireglass-home-hero-video {
  position: absolute;
  bottom: 30px;
  right: 8%;
  max-width: 350px;
  width: 100%;
  box-sizing: border-box;
}

  a.fireglass-home-hero-video > img {
    max-width: 100%;
  }

.floating-box {
  position: fixed;
  bottom: 50px;
  right: 50px;
  z-index: 10;
  padding: 20px 20px 10px 20px;  
  border: 1px solid #ffffff;  
}

.floating-box p {
  margin: 0 0 2px 0;
}


.floating-box img {
  width: 180px;
  height: 58px;
}

.solutions-grid-item {
  display: flex;
  flex-direction: column;
}

.solutions-grid-item img {
  height: 100px;
}

.item-container {
  margin-right: 10px;
}

.item-container:hover {
  border: 1px solid #d9d9d9;
}

  .item-container:hover img {
    opacity: 1;
    transform: scale(1);
    transition: none;
  }

  .item-container:hover h2 {
    opacity: 1;
  }

  .item-container:hover .featured-callout {
    display: block;
  }

  .item-container:hover .item-details {
    top: 0;
    opacity: 0;
    transition: none;
  }

  .item-container:hover .arrows {
    right: 0;
    opacity: 0;
    transition: none;
  }

@media(max-width: 1050px) {
  a.fireglass-home-hero-video {
    display: none !important;
  }
}

.school-test-scroll {
  background: rgb(218,26,50);
  background: linear-gradient(180deg, rgba(218,26,50,1) 60%, rgba(163,28,71,1) 100%);
  padding: 100px 0;
  padding-bottom: 100px;
}

  .school-test-scroll * {
    color: white !important;
  }

  .school-test-scroll p {
    margin: 0;
    margin-bottom: 90px;
    font-weight: 300;
  }

.fire-icon {
  position: relative;
  height: 134px;
  width: 97px;
  margin: 0 auto;
}

.fire-icon-text {
  margin-top: 120px;
}

  .fire-icon-text p {
    font-size: 1.25rem;
    padding: 20px;
  }

#fire1 {
  position: absolute;
  top: -65px;
  left: 50%;
  transform: translateX(-50%);
}

#fire2 {
  position: absolute;
  top: 0;
  right: -85px;
}

#fire3 {
  position: absolute;
  left: -105px;
  top: 75px;
}

#fire4 {
  position: absolute;
  bottom: -65px;
  left: 50%;
  transform: translateX(-50%);
}

.school-icon {
  position: relative;
  width: 169px;
  height: 132px;
  margin: 0 auto;
}

#school1 {
  position: absolute;
  bottom: -90px;
  left: 0;
}

#school2 {
  position: absolute;
  bottom: -190px;
  left: 0;
}

#school3 {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
}

.summary-icon-container {
  position: relative;
  margin-top: 250px;
  height: 750px;
}

  .summary-icon-container .fire-icon-text {
    position: absolute;
    width: 100%;
    max-width: 500px;
    left: 50%;
    transform: translate(-50%,-50%);
    top: 50%;
    margin: 0;
  }

    .summary-icon-container .fire-icon-text p {
      margin: 0;
    }

.building-codes {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  padding: 4em 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.building-codes h2 {
  max-width: 1200px;
  margin-bottom: 0;
}

.building-codes h2 span {
  font-weight: 800;
}

.timeline {
  display: flex;
}

.timeline > div {
  display: flex;
  flex-direction: column;
  width: 50%;
  justify-content: center;
  margin: 0 25px;
}

.timeline-row {
  display: flex;
}

.timeline-year {
  display: flex;
  align-items: center;
  justify-content: end;

}

.timeline-year img {
  width: 250px;
}

.timeline-year-triple {
  display: flex;
  align-items: center;
  justify-content: end;
}

.timeline-year-triple img {
  width: 240px;
  margin-right: 10px;
}

.timeline-year p {
  font-size: 2.25rem;
  font-weight: bold;
  color: white;
  margin: 0;
}

.timeline-text p {
  text-align: start;
  margin: 40px 0;
}

.timeline-text-triple p {
  text-align: start;
}

.basics {
  padding: 100px 15%;
  background-color: #F5F5F5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.basics h2 {
  font-weight: bold;
  width: 100%;
}

.basics h2 span {
  color: #DA1A32;
}

.basics h3 {
  font-size: 2.5rem;
  line-height: 2.5rem;
  text-align: start;
  text-transform: uppercase;
  padding-left: 5%;
  margin-bottom: 35px;
  width: 95%;
}

.basics p {
  max-width: 1200px
}

.faq-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 2em;
}

.faq-group-question {
  background: linear-gradient(#808080, #9B9B9B);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-group-question:hover {
  cursor: pointer;
}

.faq-group-question p {
  color: white;
  font-size: 2rem;
  line-height: 2rem;
  font-weight: 600;
  text-align: start;
}

.faq-group-question img {
  width: 40px;
}

.faq-group-answer {
  background-color: white;
  padding: 50px 80px;
  display: none;
}

.faq-group-answer.open {
  display: block;
}

.faq-group-answer p {
  text-align: start;
}

.partners {
  padding: 100px 15%;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partners h2 {
  font-weight: bold;
}

.partners h2 span {
  color: #DA1A32;
  font-size: 2.5rem;
  text-decoration: underline;
  vertical-align: bottom;
}

.partners-links {
  display: flex;
  margin: 2em 0;
}

.partners-links a {
  width: 20%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
}

.partners-links img {
  max-width: 100%;
  max-height: 175px;
}

.beyond-basics {
  /*padding: 40px 0;*/
  background-color: #F5F5F5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.beyond-basics h2 {
  font-weight: bold;
  width: 70%;
  padding: 0 15%;
  margin-bottom: 1em;
}

.beyond-basics h2 span {
  color: #DA1A32;
}

.beyond-basics-resources {
  width: 100%;
}

.beyond-basics-resources > div {
  width: 100%;
  display: flex;

}

.resources-image {
  width: 50%;
  min-height: 100%;
  background-size: cover;
  background-position: center;
}

.resources-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

.resources-content {
  width: 40%;
  padding: 5%;
  background: linear-gradient(90deg, #DA1A32, #971D4D);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.resources-content h3 {
  color: white;
  font-size: 2.5rem;
  line-height: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
}

.resources-content p {
  color: white;
}

.resources-content h3 span {
  color: #FFD900;
}

.resources-content-left {
  background: white;
}

.resources-content-left h3 {
  color: black;
}

.resources-content-left p {
  color: black;
}

.resources-content-left h3 span {
  color: #DA1A32;
}

a.border-button-white {
  color: white;
  border-color: white;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  width: fit-content;
}

.products {
  padding: 4em 15%;
  background-color: #F5F5F5;
  display: flex;
  flex-direction: column;
}

.products h2 {
  text-align: start;
  font-weight: bold;
  margin-bottom: 0;
}

.products h2 span {
  color: #DA1A32;
  font-size: 2.5rem;
  text-decoration: underline;
  vertical-align: bottom;
  margin-bottom: 0;
}

.products h3 {
  color: black;
  font-size: 2rem;
  line-height: 2rem;
  text-align: start;
  text-transform: uppercase;
  margin: 0.5em 0;
}

.products p {
  text-align: start;
}

.products-list {
  display: flex;
  margin: 2em 0;
}

.products-list div {
  width: 25%;
  padding-right: 20px;
}

.products-list a {
  display: flex;
  flex-direction: column;
}

.products-list img {
  max-width: 100%;
  max-height: 100%;
}

.design-resources {
  padding: 6em 10%;
  background-color: white;
  display: flex;
  flex-direction: column;
}

.design-resources h2 {
  font-size: 1rem;
  font-weight: bold;
  text-align: start;
  padding: 0 5%;
  margin-bottom: 1em;
  width: 90%;
}

.design-resources h3 {
  color: white;
  font-size: 2rem;
  line-height: 2rem;
  margin: 0;
}

.design-resources p {
  color: white;
}

.design-resources-list {
  display: flex;
  margin-bottom: 4em;
}

.design-resource-list-item {
  width: 33.33%;
  height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: contain;
  position: relative;
  overflow: hidden;
  background-position: center !important;
  background-size: 160% !important;
  transition: background 0.3s;
}

.design-resource-list-item-cta {
  display: flex;
  flex-direction: column;
  background-color: #DA1A32;
  width: 80%;
  height: 70%;
  position: absolute;
  bottom: -80%;
  padding: 10%;
  justify-content: center;
  align-items: center;
}

.design-resource-list-item:hover {
  background-size: 150% !important;
}

.design-resource-list-item:hover  .design-resource-list-item-cta {
  bottom: 0;
  transition: bottom 0.3s;
}

.button-white {
  width: fit-content;
  background-color: white;
  color: black !important;
  font-family: 'urw-din-semi-condensed', sans-serif;
  padding: 10px 20px;
  font-size: 1.25rem;
}

.button-white:hover {
  background-color: #F5F5F5;
}

.more-links {
  width: 100%;
}

.more-links-list {
  width: 100%;
  display: flex;
}

.more-links-list h3 {
  color: white;
  text-transform: uppercase;
  font-size: 2rem;
  line-height: 2rem;
  text-align: start;
  margin: 0;
}

.more-links-list p {
  color: white;
  text-align: start;
}

.more-links-list-item {
  background-size: cover !important;
  width: 33.33%;
  padding: 4%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  height: 400px;
}

.more-links-list-item a.border-button-white {
  margin-top: 20px;
}

.expert {
  padding: 100px 10%;
  background: linear-gradient(#DA1A32, #971D4D);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.expert h2 {
  color: white;
  text-align: center;
  font-weight: 800;
  margin-bottom: 0;
}

.expert h2 span {
  font-size: 2.5rem;
  text-decoration: underline;
  vertical-align: bottom;
  margin-bottom: 0;
}

.expert p {
  color: white;
}

.expert a {
  color: #FFD900;
  text-decoration: underline;
}

#summary {
  position: relative;
  height: 750px;
}

#pageContent {
  width: 100%;
  margin-top: -250px;
}

.case-studies-container {
  padding-top: 30px;
}

.featured-callout {
  background-color: #000000;
}

.case-study-items {
  max-width: 100%;
}

.case-study-items h2 {
  display: flex !important;
  justify-content: center !important;
  text-align: center !important;
  width: 90%;
  margin: 0;
  padding: 20px 20px 20px 20px;
}

@media(max-width: 1700px) {
  .design-resource-list-item {
    background-size: cover !important;
  }

  .design-resource-list-item:hover {
    background-size: cover !important;
  }
}

@media(max-width: 1550px) {
  .timeline {
    flex-direction: column;
  }

  .timeline > div {
    width: 100%;
    margin: 0;
  }

  .timeline-year-triple img {
    margin-right: 0;
  }
}

@media(max-width: 1188px) {
  .fireglass-home-hero {
    margin-top: 0;
  }

  .more-links {
    width: 80%;
    padding: 0 10%;
    background-color: white;
  }

  

  .more-links {
    width: 80%;
    padding: 0 10%;
    padding-bottom: 100px;
    background-color: white;
  }

  .more-links-list {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .more-links-list-item {
    width: 92%;
  }

  .products-list {
    flex-wrap: wrap;
  }

  .products-list > div {
    width: 45%;
    padding-right: 5%;
    margin-bottom: 25px;
  }

  .partners {
    padding: 100px 10%;
  }


}

@media(max-width: 1050px) {
  .design-resources-list {
    flex-direction: column;
  }

  .design-resource-list-item {
    width: 100%;
  }

  .design-resource-list-item-cta {
    height: 80%;
    bottom: -101%;
  }

  .partners-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media(max-width: 850px) {

  #summary {
    height: 215px;
  }

  .school-test-scroll {
    padding-bottom: 0;
  }

  .fireglass-home-hero h1 {
    width: auto;
  }

  h2 {
    font-size: 3rem;
    line-height: 3rem;
  }

  .resources-content h3 {
    font-size: 1.75rem;
    line-height: 1.75rem;
  }

  .basics h3 {
    font-size: 1.75rem;
    line-height: 1.75rem;
    margin-bottom: 20px;
  }

  .products h3 {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }

  .building-codes {
    padding: 4em 10%;
  }

  .timeline-year img {
    width: 175px;
  }

  .timeline-year-triple img {
    width: 175px;
  }

  .beyond-basics-resources > div:nth-child(2n+1){
    flex-direction: column;
  }

  .beyond-basics-resources > div:nth-child(2n) {
    flex-direction: column-reverse;
  }

  .resources-content {
    width: 90%;
  }

  .resources-image {
    width: 100%;
    height: 400px;
  }

  .faq-group-question p {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }

  .hero-text {
    width: auto;
  }

  .faq-group-question {
    padding: 0px 20px;
  }

  .faq-group-question img {
    width: 25px;
  }

  .basics {
    padding: 100px 5%;
  }

  .faq-group-answer {
    padding: 35px 25px;
  }

  .beyond-basics h2 {
    width: 90%;
    padding: 0px 5%;
  }

}

@media (max-width: 500px) {
  h1 span {
    font-size: 1.5rem;
  }

  .fire-icon-text p {
    font-size: 1.5rem !important;
  }

  .timeline-row {
    flex-direction: column;
    align-items: start;
    margin-top: 20px;
  }

  .timeline-text p {
    margin-top: 20px;
  }

  h2 {
    font-size: 2.25rem;
    line-height: 2.25rem;
  }

  .partners h2 span {
    font-size: 1.5rem;
  }

  .resources-content h3 {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }

  .products {
    padding: 2em 10%;
  }

  .products h2 span {
    font-size: 1.5rem;
  }

  .products h3 {
    font-size: 1.25rem;
    line-height: 1.25rem;
  }

  .products-list > div {
    width: 100%;
    padding: 0;
  }

  .design-resource-list-item {
    height: 500px;
  }

  .more-links-list-item {
    padding: 35px 4%;
  }

  .expert h2 span {
    font-size: 1.5rem;
  }
}