/* Hide elements while loading */
:not(:defined) > * {
    display: none;
}

/* Model Viewer */
model-viewer {
    background-color: #f5f5f5;
    height: 100%;
    width: 100%;
}

/* Animations */
@keyframes circle {
    from { transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg); }
}

@keyframes elongate {
    from { transform: translateX(100px); }
    to { transform: translateX(-100px); }
}

/* Hide 'View in Your Space' button */
model-viewer::part(ar-button) {
    display: none;
}

/* AR prompt */
model-viewer > #ar-prompt {
    position: absolute;
    left: 50%;
    bottom: 175px;
    animation: elongate 2s infinite ease-in-out alternate;
    display: none;
}

model-viewer[ar-status="session-started"] > #ar-prompt {
    display: block;
}

model-viewer > #ar-prompt > img {
    animation: circle 4s linear infinite;
}

/* AR failure message */
model-viewer > #ar-failure {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 175px;
    display: none;
}

model-viewer[ar-tracking="not-tracking"] > #ar-failure {
    display: block;
}

/* Hide scrollbars */
.tabs-content::-webkit-scrollbar {
    display: none;
}

.tabs-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}



.header-outer-container {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.header-outer-container .main-navigation-bar .parent .badge-primary {
    background: #fff;
    color: #1f3c7d;
}

.header-outer-container .main-navigation-bar .child .badge-primary {
    background: #1f3c7d;
    color: #fff;
}

.retail-header,
.retail-header .nav-item {
    color: #000;
    border-bottom: 1px solid #000;
}

.retail-header {
    background: #fff;
    height: 120px;
    display: flex;
    flex-direction: row;
    padding: 20px;
}

.retail-header .header-logo img {
    max-height: 80px;
}

.retail-header .header-logo {
    margin: auto auto auto 0;
}

.retail-header .header-nav {
    display: flex;
    flex-direction: row;
    margin: auto 0 auto auto;
    background: #fff;
}

.retail-header .nav-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 10px;
    text-transform: uppercase;
    margin: auto 5px;
}

.mobile-back {
    display: none;
}

.retail-header .nav-item._back {
    border: 1px solid #fff;
    background: #1f3c7d;
    color: #fff;
    padding: 10px 30px;
    margin: 25px;
}

@media only screen and (max-width: 1000px) {
    .header-outer-container {
        height: 50px;
        z-index: 3;
        margin-bottom: 15px;
    }
}

@media (max-width: 1000px) {
    .retail-header .nav-item._back {
        padding: 3px;
        margin: 0;
    }
    .mobile-back {
        display: block;
        top: 9px;
        color: #000;
    }
}

@media (max-width: 1000px) {
    .retail-header {
        height: 50px;
        padding: 5px;
        position: fixed;
        width: 100%;
        z-index: 2;
    }
    .retail-header .header-logo img {
        max-height: 40px;
    }
}