body {
    font-size: 12px; 
    position: relative;
    min-height: 100vh;
}

body#index {
  min-height: calc(var(--vh, 1vh) * 100);
}

body, h1, h2, h3, h4, h5 h6 {
  font-family: 'Roboto', sans-serif;
}

.group:after {
  content: "" !important;
  display: table;
  clear: both;
}

.logo {
    margin-top: 30px;
    margin-bottom: 10px;
}

.top {
  margin-top: 20px !important; 
}

#mySidebar {
  background-color: #f2f2f2;
  z-index: 999;
}

.underline {
  border-bottom: 1px solid #989898 !important;
  margin: 0 5%;
  padding-top: 15px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.spacing {
  margin: 0 5%;
  padding-top: 20px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
  padding-bottom: 5px !important;
}

.w3-button:hover {
  background-color: none !important;
}

.background:hover,
.background.active {
  background-color: #353535 !important;
  color: #ffffff;
}

.w3-bar-block .w3-bar-item {
    width: 90%; 
}

.small {
    font-size: 10px;
}

.no-margin {
  margin-top: 0;
  margin-bottom: 0; 
}

.w3-container .w3-cell {
  padding: 10px 20px; 
}

.no-padding{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus,
.breadcrumbs a.active {
  color: #feb91d;
}

.larger-text {
  font-size: 16px;
}

.bold {
  font-weight: 700; 
}

.content-top-margin {
  margin-top: 40px;
}

.card-margin {
  margin-right: 40px;
}

.card-padding {
  padding: 12px;
}

.card-image {
  width: 100%;
  max-width: 300px;
}

.learn-more {
  background-color:#feb91d;
}

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

.child-flex {
  flex: 1; 
}

.w3-card {
  height: 100%; 
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  column-gap: 1rem;
  row-gap: 1rem;
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
  margin-bottom: 40px;
  box-sizing: border-box;
}

.product-grid.prod-3-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.w3-row.product-grid::before {
  display: none;
}

.w3-row.product-grid .w3-col {
  float: none;
}

.w3-row.product-grid .product {
  display: flex;
  flex-direction: column;
}

.w3-row.product-grid .product > .title {
  min-height: 65px;
  height: auto;
  flex-grow: 0;
}

.w3-row.product-grid .w3-col.l3 {
  width: auto;
}

.w3-row.product-grid .card-margin {
  margin-right: 0;
}

.product-grid.with-headers > div {
  display: flex;
  flex-direction: column;
}

.product-grid.with-headers > div > div {
  flex-grow: 1;
}

/* .active {
  background-color: #353535;
  color: #ffffff;
} */

@media (max-width: 1400px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .product-grid,
  .product-grid.prod-3-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 590px) {
  .product-grid,
  .product-grid.prod-3-col {
    grid-template-columns: 1fr;
  }
}

footer {
    position: absolute; 
    bottom: 0;
    width: 100%; 
    z-index: 1000;
    border-bottom: 7px solid #feb91d;
}

.small-icons {
    width: 25px;
    height: 25px;
}

.about-resources {
    background-color: #dfdfdf;
    padding-top: 10px;
    padding-bottom: 10px;
}

.about-resources p {
    margin: 0;
    font-size: 11px;
    line-height: 25px;
}

.no-left-padding {
    padding-left: 0!important;
}

/* image */
.image-wrapper {
  display: inline-block;
  position: relative;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  float: none;
}

#schematicImage {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 180px);
}

@media (min-width: 993px) {
  .image-wrapper {
    max-height: calc(100vh - 129px);
  }
}

@media (min-width: 1045px) {
  .image-wrapper {
    max-height: calc(100vh - 82px);
  }
}

.overlay-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.image-map {
  z-index: 1;
}

.hover-callout {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #feb91d;
  border: .275rem solid #fff;
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
  z-index: 2;
}

.hover-callout:hover {
  background: #fff;
  border-color: #feb91d;
}

.hover-callout#GasSterilization_Circ_1 {
  top: 6%;
  left: 47.5%;
}

.hover-callout#GasSterilization_Circ_2 {
  top: 35%;
  left: 42.5%;
}

.hover-callout#FinalStabilization_Circ_1 {
  top: 16%;
  left: 70.5%;
}

.hover-callout#FinalStabilization_Circ_2 {
  top: 13%;
  left: 65%;
}

.hover-callout#Clarification_Circ_1 {
  top: 64%;
  left: 34.5%;
}

.hover-callout#WaterUtilities_Circ_1 {
  top: 39%;
  left: 86.5%;
}

.hover-callout#WaterUtilities_Circ_2 {
  top: 47%;
  left: 85.5%;
}

.hover-callout#GasSterilization2_Circ_1 {
  top: 80%;
  left: 70.5%;
}

.hover-callout#PreStabilization_Circ_1 {
  top: 41%;
  left: 50%;
}

/**
 * Tooltip Styles - https://codepen.io/cbracco/pen/qzukg
 */

/* Add this attribute to the element that needs a tooltip */
.tooltip {
  position: relative;
  z-index: 3;
  cursor: pointer;
  display: none;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

/* Position tooltip above the element */
.tooltip {
  position: absolute;
  bottom: 180%;
  left: 0;
  margin-bottom: 5px;
  padding: 8px 10px 9px;
  width: auto;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: #000;
  background-color: hsla(0, 0%, 20%, 0.9);
  color: #feb91d;
  content: attr(data-tooltip);
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
  transform: translateX(-25%);
}

/* Triangle hack to make tooltip look like a speech bubble */
.tooltip::after {
  position: absolute;
  bottom: -9px;
  left: 25%;
  margin-left: -10px;
  width: 0;
  border-top: 10px solid #000;
  border-top: 10px solid hsla(0, 0%, 20%, 0.9);
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  content: " ";
  font-size: 0;
  line-height: 0;
  transform: translateX(8px);
}

.image {
  width: 100%;
}

.w3-row:after {
  content: none;
}


@media screen and (min-width: 993px) {
  .right-padding {
    padding-right: 20px;
  }
}

.no-top-margin {
  margin-top: 0; 
}

.grey-background {
  background-color: #f2f2f2;
}

.resources a {
  text-decoration: none;
  color: #feb91d;
}

.bottom-margin {
  margin-bottom: 20px; 
}