/* ----------- */
/* 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;
}
body > section.vh-100 {
    height: calc(100vh - 6rem) !important;
    min-height: 32rem;
}
body > section.vh-100 {
    height: calc(100vh - 6rem) !important;
    min-height: 32rem;
}
.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 > div > input {
    max-height: calc(1.5em + 0.5rem);
    min-height: calc(1.5em + 0.5rem);
    font-size: 0.8rem;
}

header .login-fields .form-check {
    min-height: auto !important;
}

#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 > .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar-nav > .nav-item:last-child {
    border-bottom: 0;
}

/* --------------------- */
/* Main Container Styles */
/* --------------------- */

.main-container {
    background-color: #fff;
    position: relative;
    /* border-bottom: 3px solid var(--primary-teal); */
    overflow-x: hidden;
    flex-grow: 1;
}

.w-12rem {
    width: 12rem !important;
}

/* ------------- */
/* Footer Styles */
/* ------------- */

.main-footer {
    bottom: 0;
    left: 0;
    z-index: -1;
    background-image: url(/img/bg_globe_05.png);
    background-size: 560px 594px;
    background-position: 12px 15px;
    background-repeat: no-repeat;
}

/* -------------- */
/* 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;
}

.latest-upcoming-container .badge.bg-success {
    --bs-bg-opacity: 1;
    background-color: #136740 !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-800);
}

.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 */
/* --------------- */

#home-coverage-map-container {
    min-height: 300px;
}
#home-coverage-map-container .highcharts-background {
    fill: none !important;
}
#home-coverage-map-container .highcharts-axis-labels text {
    color: #fff !important;
    fill: #fff !important;
}
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;
}

@media (min-width: 768px) {
    #home-coverage-map-container {
        min-height: 400px !important;
    }
}

@media (min-width: 1200px) {
    #home-coverage-map-container {
        min-height: 700px !important;
    }
}

/* 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-container {
    background: linear-gradient(to right, #01070caf, #01070c30);
    backdrop-filter: blur(0.2rem);
}
.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;
    }

    .navbar .megamenu-2 {
        padding: 1.25rem 1rem !important;
        background: #000000af;
        backdrop-filter: blur(0.5rem);
        color: #fff;
    }

    .navbar .megamenu-2 .dropdown-item.active {
        border-left: 5px solid var(--logo-orange) !important;
        background-color: rgba(255, 255, 255, 0.15) !important;
    }

    .navbar .megamenu-2 .dropdown-item.active:hover,
    .navbar .megamenu-2 .dropdown-item.active:focus {
        border-left: 5px solid var(--logo-orange) !important;
        background-color: rgba(255, 255, 255, 0.15) !important;
        box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.12);
        transform: translateX(2px);
        cursor: pointer;
    }

    .navbar .megamenu-2 .fa-2x.text-success {
        color: limegreen !important;
    }

    .nav-item.dropdown .nav-item-img {
        max-width: 45px;
        width: 45px;
        height: auto;
    }

    .navbar .nav-item .dropdown-menu {
        display: block !important;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    }

    .navbar .nav-item .dropdown-menu-end {
        right: 0;
    }

    .navbar {
        width: 100%;
    }

    .navbar .nav-item {
        flex: 1 1 auto;
        padding: 1.3%;
    }

    .navbar .nav-item .nav-link {
        font-size: clamp(0.9rem, 0.95rem, 1vw);
        padding: 0.75rem 0 !important;
    }

    .navbar .nav-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0); /* Slide to its final position */
    }

    .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 (min-width: 992px) {
    .mobileMenu {
        display: none;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1400px) {
    .navbar .nav-item .nav-link {
        font-size: clamp(0.7rem, 0.75rem, 1vw);
    }
}

@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: 70vh;
        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;
    }

    .navbar .megamenu .border-end {
        border-right: 0 !important;
    }

    nav .navbar-nav {
        padding-right: 0;
        width: 100%;
    }

    .dropdown-toggle::after {
        position: absolute;
        top: 1.1rem;
        right: 1rem;
    }

    nav .navbar-nav .nav-link {
        color: #fff !important;
        text-align: left !important;
        font-size: 1.1rem;
        padding: 0.8rem 0;
    }

    .navbar-nav > .nav-item > .nav-link:hover,
    .navbar-nav > .nav-item > .nav-link:focus {
        color: var(--logo-orange) !important;
    }

    .nav.navbar-nav .nav-link:not(:last-child) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    }

    .navbar .nav-item .dropdownToggleButton {
        /* width: 40px; */
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        display: flex;
        align-items: top;
        padding: 1rem;
        border: 0;
        color: #fff !important;
    }

    .navbar .nav-item .dropdownToggleButton:hover,
    .navbar .nav-item .dropdownToggleButton:focus {
        color: var(--logo-orange) !important;
    }

    .navbar .nav-item .dropdownToggleButton .fa,
    .navbar .nav-item .dropdownToggleButton .fas,
    .navbar .nav-item .dropdownToggleButton .far,
    .navbar .nav-item .dropdownToggleButton .fal,
    .navbar .nav-item .dropdownToggleButton .fa-solid,
    .navbar .nav-item .dropdownToggleButton .fa-regular,
    .navbar .nav-item .dropdownToggleButton .fa-light {
        color: inherit !important;
    }

    .navbar-collapse {
        margin: 0 -1.5rem 0 -1.5rem;
        position: relative;
        background: inherit;
        width: 100%;
        padding-bottom: 1rem;
    }

    .navbar .navbar-nav .nav-item .dropdown-menu {
        border: none;
        margin: 0 -1.5rem 0 -1.5rem;
        box-shadow: none !important;
    }

    .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;
    }

    #logo-globe-mobile {
        padding: 1rem;
    }

    .make-white {
        filter: brightness(0) invert(1);
    }
}

@media (max-width: 768px) {
    .dropdown-menu.megamenu .megamenu-arrow i.fa-chevron-right,
    .dropdown-menu.megamenu .megamenu-arrow i.fal.fa-chevron-right,
    .dropdown-menu.megamenu .megamenu-arrow i.fa-regular.fa-chevron-right {
        transform: rotate(90deg);
        transition: transform 0.2s ease;
    }
}

/* Research Layers */

.research-layer {
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.research-layer .research-layer-item {
    pointer-events: all;
    cursor: pointer;
}

/* Temporailly removed since we do not have approved text for popovers */
/* svg:has(.research-layer.is-hovered) .research-layer {
  opacity: 0.25;
}

svg:has(.research-layer.is-hovered) .research-layer.is-hovered {
  opacity: 1;
} */

/* PLatform Overview Boxes */

.list-unstyled span {
    letter-spacing: 1px;
    text-shadow: 4px 3px 10px black;
}

.overview-box {
    height: 30rem !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Subtle shadow on each box */
.coverage-box {
    height: 6rem !important;
    border-radius: 4px;
    /* Optional but makes the shadow look cleaner */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.25s ease, outline 0.25s ease, outline-offset 0.25s ease;
}

/* Orange outline on hover */
.coverage-box:hover {
    /* Soft orange */
    outline: 2px solid #ff7a00;
    /* Separates outline from edge so layout doesn't jump */
    outline-offset: 2px;
    /* Slightly stronger shadow on hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    /* Zoom on hover industry coverage boxes */
    transform: scale(1.02);
    transition: transform 250ms ease;
}

/* Make sure the link block maintains shape */
.coverage-box,
.coverage-card {
    border-radius: inherit;
}

.coverage-card.platform {
    background: rgba(0, 0, 0, 0.5);
}

.non-featured-wrapper hr:last-of-type {
    display: none;
}

.why-icon.fa-light,
.why-icon.fa-thin {
    text-shadow: 0 2px 6px rgb(0, 0, 0);
}

.seenIn img {
    filter: brightness(0) invert(1);
}

/* Header SVG */

header .header-svg-logo {
    max-width: 200px;
    width: fit-content;
}
