html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    /* font-family: Arial, Helvetica, sans-serif; */
    overflow: hidden;
}

main {
    /* width: 1920px;
    height: 1080px; */
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 100;
}

p {
    line-height: 200%;
}

.home-background {
    /* background-image: url('../images/background.png'); */
    background-color: #000;
    background-size: cover;
    background-repeat: no-repeat;
    /* width: 1920px;
    height: 1080px; */
    width: 100%;
    height: 100%;
    /* z-index: 0; */
    position: absolute;
    top: 0;
}

.home-background video {
    width: 100%;
}
img.bubble {
    animation: float 6s ease-in-out infinite;
}

main.trailer-program-page {
    background: unset;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

article.main-content {
    display: flex;
    height: 81%;
}

.equipment-images-page .main-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 3rem 2rem;
    justify-items: center;
    align-items: center;
    width: 80%;
    margin: auto;
}

.equipment-images-page .main-content .first-row {
    align-self: end;
}

.equipment-images-page .main-content .second-row {
    align-self: baseline;
}

section.sidebar {
    flex-basis: 25%;
}

.sidebar.right {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 3rem;
}

.sidebar.parts-list {
    overflow-y: scroll;
    font-size: 14px;
    flex-basis: 20%;
}

.parts-list tr td:first-of-type {
    text-align: right;
    padding-right: .5rem;
}

.parts-list table {
    margin: auto;
}

.sidebar .header-overlap {
    margin-top: -190px;
    position: relative;
    z-index: 10;
}

.sidebar-copy {
    width: 70%;
    margin: -75px auto auto;
    line-height: 200%;
    background-color: #ccc;
    padding-bottom: 1rem;
}

.qr-button {
    /* width: 70%; */
    margin: 2rem auto;
    display: block;
    width: 370px;
}

.sidebar-copy ul {
    margin: 0 auto 2rem
}

.retail-sales-solutions-page .sidebar-copy {
    background-color: unset;
}

.source-university-page .sidebar-copy {
    text-align: center;
    padding-bottom: 5rem;
}

.sidebar-copy span {
    padding: 1rem;
    display: inline-block;
}

.sidebar-copy::before {
    content: '';
    display: block;
    height: 1.5rem;
    background-color: #0367a1;
}

section.main-column {
    flex-basis: 50%;
    padding: 2rem;
}

.main-column .content-media {
    max-width: 820px;
    margin: auto;
    border: 10px solid #ccc;
}

.main-column h2 {
    font-size: 2.3rem;
    font-weight: bold;
    color: #0367a1;
}

header.internal {
    height: 8vh;
    background: #0367a1;
    display: grid;
    grid-template-columns: 1775px 145px;
    align-items: center;
    position: relative;
    top: 0;
    z-index: 10;
}

header.internal p {
    line-height: 150%;
}

.equipment-images-page {
    background: radial-gradient(#fff, #ccc);
}

.equipment-images-page header.internal, .equipment-legend-page header.internal {
    grid-template-columns: 20% 70% 10%;
}

footer {
    height: 5vh;
    min-height: 94px;
    width: 100%;
    z-index: 101;
    position: absolute;
    bottom: 0;
    background-color: #007cc5;
}

footer nav img {
    max-width: 100%;
}

header.internal h1 {
    font-family: 'Open Sans';
    font-weight: bold;
    color: white;
    margin-left: 530px;
}

.equipment-images-page header.internal h1, .equipment-legend-page header.internal h1 {
    margin-left: 2rem;
    ;
}

.equipment-images-page header.internal p, .equipment-legend-page header.internal p {
    color: #fff;
}

.backnav {
    display: flex;
    align-items: center;
    font-family: 'Open Sans';
    color: #fff;
    font-size: 1.5rem;
    gap: 1rem;
    text-decoration: none;
}

.homescreen-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 90%;
    width: 90%;
    margin: auto;
}

.homescreen-buttons div {
    margin: auto;
}

.homescreen-buttons div img {
    max-width: 100%;
}

.homescreen-logo {
    grid-row-end: 3;
    grid-column-start: 2;
    grid-row-start: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative
}

.homescreen-logo img {
    margin: -10rem auto auto;
}

.bottom-nav {
    display: flex;
    justify-content: center;
}

.qr-container {
    position: absolute;
    top: 22rem
}
.qr-code {
    /* position: absolute;
    top: 2em;
    right: 2em; */
}

img.utc-campus {
    display: block;
    margin: -4rem auto auto;
}

.left-rail-icons {
    max-width: 23rem;
    margin-top: 1rem;
}

.trigger {
    cursor: pointer;
}

.w3-animate-top {
    position: relative;
    animation: animatetop 2s;
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}


@keyframes float {
    0% {
        /* box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6); */
        transform: translatey(0px);
    }

    50% {
        /* box-shadow: 0 25px 15px 0px rgba(0,0,0,0.2); */
        transform: translatey(-20px);
    }

    100% {
        /* box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6); */
        transform: translatey(0px);
    }
}

@font-face {
    font-family: 'Open Sans';
    src: url('../images/OpenSans-VariableFont_wdth\,wght.ttf')
}



.modal {
    display: none;
    position: fixed;
    z-index: 103;
    left: 0;
    top: 0;
    /* width: 1920px;
    height: 1080px; */
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content/Box */
.modal-content {
    display: flex;
    gap: 2rem;
    position: relative;
    background-color: #fefefe;
    margin: 10% auto;
    padding: 3rem;
    border: 1px solid #888;
    width: 1420px;
    border-radius: 2rem;
}

.product-info {
    max-width: 52%;
}

.product-info h3 {
    font-size: 1.8rem;
    color: #0066a3;
    line-height: 125%;
}

.product-info p {
    font-size: 1.5rem;
    line-height: 140%;
}

.product-info table {
    width: 100%;
}

.product-info td, .product-info th {
    padding: .5rem 0;
    border-bottom: 1px solid #333;
    text-align: left;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    color: #aaa;
}

.close .icon {
    color: #333;
    font-size: 28px;
    font-weight: bold;
    background: #ccc;
    line-height: 100%;
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.active {
    display: block;
    animation: fadeIn ease 1s;
}

@keyframes fadeIn {
    0% {
      opacity:0;
    }
    100% {
      opacity:1;
    }
  }

iframe {
    border: 1px solid #ccc;
}

.graph {
    position: relative;
    margin: auto;
}

.red-dot {
    background: #b00000;
    color: #fff;
    padding: 0.4rem;
    width: 1rem;
    height: 1rem;
    text-align: center;
    border: 1px solid #000;
    border-radius: 1rem;
    line-height: 100%;
    font-weight: bold;
    text-indent: -1px;
    position: absolute;
}

.red-dot.eight {
    left: 761px;
    top: 518px;
    text-indent: unset;
}

.red-dot.eleven {
    top: 40px;
    left: 482px;
}

.red-dot.sixteen {
    top: 135px;
    left: 575px;
}

.red-dot.thirteen {
    top: 184px;
    left: 324px;
}

.red-dot.eighteen {
    top: 220px;
    left: 635px;
}

.red-dot.twentythree {
    top: 250px;
    left: 482px;
}

.red-dot.thirtytwo {
    top: 418px;
    left: 675px;
}

.red-dot.fortyone {
    top: 494px;
    left: 402px;
}



.click-drag {
    width: 21rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem 2rem;
    border: 2px solid #ccc;
    border-radius: 4rem;
    margin-top: 1rem;
}

.click-drag h4 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #0066a3;
}

@media screen and (max-width: 1840px){
    article.main-content {
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-template-rows: 1fr 1fr;
        overflow: auto;
        /* height: unset */
    }
    article.main-content::after {
        content: "";
        display: block;
        height: 6vh;    
    }

    .sidebar.right {
        flex-direction: row;
        grid-column-start: 1;
        grid-column-end: 3;
        justify-content: center;
        padding: unset;
    }

    .sidebar.right img {
        max-width: 90%;
    }


    .sidebar .header-overlap {
        margin-top: -100px;
    }

    header.internal {
        grid-template-columns: 6fr 1fr;
    }

    .equipment-images-page .main-content {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }

    footer {
        min-height: 78px;
    }

}

@media screen and (max-width: 1420px) {
    
    header.internal {
        font-size: x-small;
    }

    header.internal h1 {
        margin-left: 2rem;
    }

    article.main-content {
        display: block;
        padding-bottom: 10%
    }
    .sidebar:first-of-type {
        display: flex;
    }
    .sidebar-copy {
        display: none;
    }
    .qr-button {
        width: unset;
        max-height: 18vh;
    }
    video {
        display: block;
    }
    .sidebar .header-overlap {
        margin-top: 0;
        max-width: 350px;
    }

    .equipment-images-page .main-content {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
    }

    .modal {
        overflow: auto;
    }

    .modal-content {
        flex-direction: column;
        width: 80%;
    }
    img.utc-campus {
        display: none;
    }

    footer {
        height: 4vh;
        min-height: 62px;
    }
    .backnav img {
        width: 3rem;
    }
    iframe, .product-info {
        margin: auto;
    }
}

@media screen and (max-width: 820px) {
    .qr-button {
        width: unset;
        max-height: 15vh;
    }

    .modal-content {
        width: 620px;
    }
    footer {
        height: 3vh;
        min-height: 40px;
    }
}