/* ----------- */
/* CSS Imports */
/* ----------- */

@import url('page-headers.css'); /* Page Header Styles */

/* ------------- */
/* CSS Variables */
/* ------------- */

:root {
  --logo-taglines-height: 18px;
}

/* ----------- */
/* Body Styles */
/* ----------- */

body {
  position: relative;
  z-index: 0;
}

.banded-container-row {
  margin-left: calc((100vw - 100%) / -2) !important;
  padding-left: calc((100vw - 100%) / 2);
  margin-right: calc((100vw - 100%) / -2) !important;
  padding-right: calc((100vw - 100%) / 2);
}
.page-breadcrumb {
  position: relative;
  top: -2.5rem;
  height: 0;
  font-size: 0.85rem;
}
.page-breadcrumb nav {
  margin: 0;
}

/* -------------------- */
/* Anchor Offset Styles */
/* -------------------- */

a.anchor-offset {
  display: block;
  position: relative;
  top: -60px;
  visibility: hidden;
}

/* ------------- */
/* Header Styles */
/* ------------- */

body > header {
  position: relative;
  z-index: 999;
}
.cropped-logo .logo-globe img {
  height: 32px;
}
.cropped-logo .logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05rem;
}
header .header-right {
  max-width: 400px;
}
header .login-fields {
  width: 22rem;
}
header .login-fields > div > input {
  max-height: calc(1.5em + 0.5rem);
  min-height: calc(1.5em + 0.5rem);
}
#logo-globe-mobile a:hover {
  text-decoration: none;
}
#logo-globe-mobile .iir-text-logo {
  color: #fff;
  line-height: 17px;
  font-size: 16px;
}
.resource-dropdown {
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-right: 10px;
  font-size: 0.75rem;
}
.resource-dropdown .dropdown-menu {
  max-height: 60vh;
  overflow: auto;
  width: 150%;
  z-index: 1100 !important;
}
.resource-dropdown h6 {
  font-weight: 700;
  padding-left: 1rem;
}

.resource-dropdown a {
  padding-left: 1.5rem;
  font-size: 0.7rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  white-space: normal;
}

/* ----------------- */
/* Navigation Styles */
/* ----------------- */

.navbar .megamenu {
  padding: 1rem;
}
.navbar .nav-item .dropdown-menu ul.nav-ul .arrow {
  content: '';
  background: url('https://media.industrialinfo.com/database/images/industryArrow.png');
  background-size: contain;
  width: 10px;
  height: 9px;
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 90px;
}
.navbar .nav-item .dropdown-menu ul.nav-ul li a {
  padding-left: 85px;
}
.navbar .nav-item .dropdown-menu ul.nav-ul li a:hover {
  color: #0d6efd !important;
}
.navbar .navbar-toggler {
  width: 0;
  border: 0;
}
.navbar .nav-item .dropdownToggleButton {
  width: 40px;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: top;
  padding: 1rem;
  border: 0;
}

/* --------------------- */
/* Main Container Styles */
/* --------------------- */

.main-container {
  background-color: #fff;
  position: relative;
  /* border-bottom: 3px solid var(--primary-teal); */
  overflow-x: hidden;
  flex-grow: 1;
}

/* ------------- */
/* Footer Styles */
/* ------------- */

.main-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: -1;
}
.footer-watermark {
  background-image: url(/img/bg_globe.png);
  width: 560px;
  height: 594px;
  opacity: 0.05;
  position: absolute;
  top: 15px;
}

/* -------------- */
/* Basic Elements */
/* -------------- */

.gmi-globe-tiny {
  width: 18px;
  height: auto;
}
.gmi-globe-nav {
  width: 0.9rem;
  height: 0.9rem;
  margin-right: 0.3rem;
}
.icon-container {
  width: 50px;
  text-align: center;
}
.fieldset-sponsor {
  border: 1px solid #ccc;
  padding: 0.5rem;
  aspect-ratio: 4.14/1;
  max-width: 676px;
}
.fieldset-sponsor legend {
  font-size: 1rem;
  display: inline-block;
  width: auto;
  margin: 0;
  line-height: 1rem;
  padding: 0 0.5rem;
  float: none;
}
fieldset legend {
  width: auto;
  float: none;
}

/* ----------- */
/* Blockquotes */
/* ----------- */

blockquote.quote {
  background: #ebebeb;
  border-radius: 0.2rem;
  color: #333;
  width: clamp(50%, 60rem, 100%);
  position: relative;
  margin-bottom: 2.5rem;
}
blockquote:after,
blockquote:before {
  top: 100%;
  border: solid transparent;
  content: ' ';
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

blockquote.quote::before {
  content: open-quote;
  font-weight: bold;
  font-size: 64px;
  color: #cccccc;
  font-family: Georgia, 'Times New Roman', Times, serif;
  left: 0.5rem;
  top: -1rem;
}
blockquote.quote::after {
  content: close-quote;
  font-weight: bold;
  font-size: 64px;
  color: #cccccc;
  font-family: Georgia, 'Times New Roman', Times, serif;
  right: 2.5rem;
  top: calc(100% - 3.7rem);
}
.quote-arrow {
  position: absolute;
  bottom: -0.5rem;
  left: 2rem;
}
.quote-arrow::before {
  background-color: #ebebeb;
  content: '';
  display: block;
  height: 1.5rem;
  width: 1.5rem;
  transform: rotate(47deg) skew(5deg);
}
.quote-source {
  position: absolute;
  bottom: -3rem;
  left: 4rem;
}

/* ----------------- */
/* Ad Server Banners */
/* ----------------- */

@media (min-width: 1200px) {
  ins img {
    width: 100%;
  }
}

.blog-post img {
  width: auto;
}

/* --------------- */
/* Utility Classes */
/* --------------- */

.x-small {
  font-size: 0.75rem;
}

.img-flip-x {
  transform: scaleX(-1);
}
.img-flip-y {
  transform: scaleY(-1);
}

/* ------------------- */
/* Bootstrap Overrides */
/* ------------------- */
.logged-in .latest-upcoming-container {
  max-height: 18rem;
  margin-bottom: 0 !important;
}

.carousel-control-prev,
.carousel-control-next {
  width: 40px;
}

/* .container max-width */
@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1400px;
  }
}

/* .nav-tabs */
.nav-tabs .nav-link {
  color: var(--bs-gray-600);
}
.nav-tabs .nav-link:hover {
  color: var(--logo-orange);
  opacity: 0.8;
}
.nav-tabs .nav-link {
  border: none;
  margin-bottom: -2px;
}
.nav-tabs .nav-link.active {
  color: var(--logo-orange-dark);
  border-bottom: 3px solid var(--logo-orange);
}
.nav-tabs .nav-link.active:hover {
  opacity: 1;
}

/* --------------- */
/* Homepage Styles */
/* --------------- */

#coverage-map-container {
  min-height: 400px;
}
g.active-project-coverage-tooltip {
  display: none;
}
div.active-project-coverage-tooltip > span {
  position: static !important;
  border-radius: var(--bs-border-radius) !important;
  line-height: 1.2rem !important;
  padding: 0.5rem !important;
  display: block;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  background-color: #fff;
}

/* carousels */

.carousel-caption-text {
  background-color: #00263d25;
  backdrop-filter: blur(5px);
}

/* hero carousel */
@media (min-width: 992px) {
  #iir-hero-carousel .carousel-item,
  .latest-upcoming-container {
    height: 22rem;
  }
}

@media (max-width: 820px) {
  #iir-hero-carousel .carousel-item {
    height: 25rem;
  }
  .latest-upcoming-container {
    height: auto;
  }
}

@media (max-width: 576px) {
  #iir-hero-carousel .carousel-item {
    height: 35rem;
  }
  #iir-hero-carousel .main-title {
    font-size: 90% !important;
  }
  .taglines-rotator {
    width: 225px !important;
    --tagline-height: 60px !important;
  }
  .taglines-rotator > * {
    text-wrap: wrap !important;
  }
  .latest-upcoming-container {
    height: auto;
  }
}

/* hero carousel & logo rotating taglines */
.hero-caption {
  background-color: rgba(0, 0, 0, 0.5);
}
.taglines-rotator,
.logo-taglines-rotator {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  box-sizing: content-box;
  transition: all 0.7s;
}
.taglines-rotator {
  --tagline-width: 571px;
  --tagline-height: 48px;
  width: var(--tagline-width);
  height: var(--tagline-height);
}
.logo-taglines-rotator {
  width: var(--logo-taglines-width);
  height: var(--logo-taglines-height);
  display: block;
  margin-top: 0.5rem;
}
.taglines-rotator > *,
.logo-taglines-rotator > * {
  white-space: nowrap;
  position: absolute;
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 0.7s, opacity 0.25s 0.25s;
}
.taglines-rotator > *.current,
.logo-taglines-rotator > *.current {
  opacity: 1;
  transform: translateY(0);
}
.taglines-rotator > *.next,
.logo-taglines-rotator > *.next {
  transform: translateY(100%);
}

#navbarCollapse.show {
  max-height: 90vh;
  overflow: auto;
}

/* ---------- */
/* Animations */
/* ---------- */

.smooth {
  transition: all 0.25s ease;
}

.floating {
  animation-name: floating;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  margin-top: 100px;
  left: 0;
}

/* --------- */
/* Keyframes */
/* --------- */

@keyframes rotation {
  from {
    transform: rotateZ(0deg);
  }
  to {
    transform: rotateZ(-359deg);
  }
}

@keyframes floating {
  from {
    transform: translate(0, 0px);
  }
  65% {
    transform: translate(0, 20px);
  }
  to {
    transform: translate(0, -0px);
  }
}

/* ------------- */
/* Media Queries */
/* ------------- */

/* desktop view */
@media all and (min-width: 992px) {
  /* navigation */
  .navbar .has-megamenu {
    position: static !important;
  }
  .navbar .megamenu {
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 0;
    box-shadow: 0 0.5rem 3rem rgba(0, 0, 0, 0.5);
    border-radius: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    overflow-x: hidden;
  }
  .nav-item.dropdown .nav-item-img {
    max-width: 45px;
    width: 45px;
    height: auto;
  }
  .navbar .nav-item .dropdown-menu {
    display: none;
  }
  .navbar .nav-item .dropdown-menu-end {
    right: 0;
  }
  .navbar {
    width: 100%;
  }
  .navbar .nav-item {
    flex: 1 1 auto;
  }
  .navbar .nav-item .nav-link {
    font-size: clamp(0.73rem, 0.8rem, 1vw);
    padding: 0.75rem 0 !important;
  }
  .navbar .nav-item:hover .dropdown-menu {
    display: block;
  }
  .navbar .nav-item .dropdown-menu.thin {
    width: 250px;
  }
  .navbar .nav-item .dropdown-menu.mid {
    width: 365px;
  }
  .navbar .nav-item .dropdown-menu.expanded {
    width: 480px;
  }
  .navbar .nav-item .dropdown-menu.wide {
    width: 600px;
  }
}

/* ----------- */
/* Mobile View */
/* ----------- */

@media (max-width: 991px) {
  .container,
  .container-md,
  .container-sm {
    max-width: 100%;
  }
  .navbar.fixed-top .navbar-collapse,
  .navbar.sticky-top .navbar-collapse {
    overflow-y: auto;
    max-height: 90vh;
    margin-top: 10px;
  }
  .navbar-toggler:focus {
    box-shadow: none;
  }
  .navbar .megamenu {
    max-height: 50vh;
    overflow: auto;
    overflow-x: hidden;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    margin-top: 0;
  }
  .navbar .megamenu .border-start {
    border-left: 0 !important;
  }
  nav .navbar-nav {
    padding-right: 0;
    background-color: #ffffff !important;
  }
  .dropdown-toggle::after {
    position: absolute;
    top: 1.1rem;
    right: 1rem;
  }
  nav .navbar-nav .nav-link {
    color: #000 !important;
    text-align: left !important;
    padding-left: 1rem;
  }
  .nav.navbar-nav .nav-link:hover {
    color: var(--primary-teal) !important;
  }
  .nav.navbar-nav .nav-link:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }
  .navbar-collapse {
    margin: 0 -1.5rem 0 -1.5rem;
    position: relative;
  }
  .navbar .navbar-nav .nav-item .dropdown-menu {
    border: none;
    background-color: #ebeff3;
    margin: 0 -1.5rem 0 -1.5rem;
    box-shadow: none !important;
  }
  .nav-item .dropdown-menu::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-top: 13px solid #fff;
    clear: both;
  }
  .navbar .nav-item .dropdown-menu ul.nav-ul .arrow {
    margin-left: 107px;
  }
  .navbar .nav-item .dropdown-menu ul.nav-ul li a {
    padding: 10px 0 10px 102px;
  }
}
.primary-btn,
a.primary-btn,
button.primary-btn,
.primary-btn-inverted,
a.primary-btn-inverted,
button.primary-btn-inverted {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
    margin: 0 auto 1.5rem;
    padding: .85em 1em;
    text-align: center;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.primary-btn,
a.primary-btn,
button.primary-btn {
    background-color: #00263d;
    border: 1px solid #00263d;
    color: #66ffff !important;
    text-decoration: none !important;
}

.primary-btn:hover,
a.primary-btn:hover,
button.primary-btn:hover {
    background-color: #66ffff;
    border: 1px solid #00263d;
    color: #00263d !important;
}

@media (min-width: 992px) {
    .primary-btn,
    .primary-btn-inverted {
        margin: 0 0 1rem;
        width: auto;
    }
}

.primary-btn-inverted,
a.primary-btn-inverted,
button.primary-btn-inverted {
    background-color: #66FFFF;
    border: 1px solid #66FFFF;
    color: #00263d !important;
}

.primary-btn-inverted:hover,
a.primary-btn-inverted:hover,
button.primary-btn-inverted:hover {
    background-color: #0094a2;
    border: 1px solid #0094a2;
    color: #66FFFF !important;
}

a.primary-btn.rounded-btn {
    border-radius: 6px;
    margin-right: 1rem;
    padding: .85rem 1.95rem;
}