:root {

    /*
    |--------------------------------------------------------------------------
    | Atlas Theme Colors
    |--------------------------------------------------------------------------
    */

    --atlas-color-primary: #FF0000;
    --atlas-color-secondary: #CCC;
    --atlas-color-accent: #0000FF;

    --atlas-gradient-primary:
        linear-gradient(
            135deg,
            var(--atlas-color-primary),
            var(--atlas-color-secondary),
            var(--atlas-color-accent)
        );

}


/* ==========================================================================
   CCRKBA Info Bar
   ========================================================================== */

.cc-info-bar {
    background: #000;
    color: #fff;
    font-size: .75rem;
}

.cc-info-bar-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
    padding-inline: 1rem;
}

.cc-info-contact,
.cc-info-social {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.cc-info-contact a,
.cc-info-social a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #fff;
    text-decoration: none;
    transition: opacity .15s ease;
}

.cc-info-contact a:hover,
.cc-info-social a:hover {
    opacity: .7;
}

.cc-info-contact i,
.cc-info-address i {
    font-size: .9rem;
}

.cc-info-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, .25);
}


/* ==========================================================================
   Center Address
   ========================================================================== */

.cc-info-address {
    position: absolute;
    left: 50%;
    display: flex;
    align-items: center;
    gap: .5rem;
    transform: translateX(-50%);
}


/* ==========================================================================
   Compact Info Bar
   ========================================================================== */

@media (max-width: 767.98px) {

    .cc-info-bar-inner {
        justify-content: center;
        min-height: 30px;
        gap: .65rem;
    }

    .cc-info-contact,
    .cc-info-address,
    .cc-info-social {
        position: static;
        display: flex;
        align-items: center;
        width: auto;
        gap: .65rem;
        transform: none;
    }

    .cc-info-contact a,
    .cc-info-social a {
        gap: 0;
        padding-inline: .15rem;
    }

    .cc-info-contact a span,
    .cc-info-address span,
    .cc-info-social > span {
        display: none;
    }

    .cc-info-contact i,
    .cc-info-address i,
    .cc-info-social i {
        font-size: 1rem;
    }

    .cc-info-divider {
        height: 14px;
    }
}


/* ==========================================================================
   Arms Atlas Navigation
   ========================================================================== */

.atlas-navbar {
    padding: .4rem 1rem;
    background: #fff;
    border-bottom: 1px solid #dee2e6;
}

.atlas-navbar .container-fluid {
    display: flex;
    align-items: center;
    min-width: 0;
    flex-wrap: wrap;
    padding-inline: 0;
}


/* ==========================================================================
   Navigation Logos
   ========================================================================== */

.navbar-cc-logo,
.navbar-atlas-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 48px;
    text-decoration: none;
}

.navbar-cc-logo {
    width: 150px;
    margin-right: 1.5rem;
}

.navbar-atlas-logo {
    width: 120px;
    margin-left: 1.5rem;
}

.navbar-cc-logo img,
.navbar-atlas-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* ==========================================================================
   Topic Navigation
   ========================================================================== */

.atlas-topic-nav {
    flex: 1 1 auto;
    min-width: 200px;
}

.atlas-topic-nav .navbar-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .35rem;
}

.atlas-topic-nav .nav-item {
    flex: 0 0 auto;
}

.atlas-topic-nav .nav-link {
    position: relative;
    display: block;
    padding: .7rem 1rem;
    border: 2px solid transparent;
    border-radius: .55rem;
    color: #212529;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .035em;
    line-height: 1.2;
    white-space: nowrap;
    transition:
        color .15s ease,
        background-color .15s ease,
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.atlas-topic-nav .nav-link:hover {
    color: var(--atlas-color-accent);
    background: rgba(0,0,0,.05);
    border-color: rgba(0,0,0,.12);
    transform: translateY(-1px);
}

.atlas-topic-nav .nav-link.active {
    color: #fff;
    background: var(--atlas-gradient-primary);
    border-color: transparent;
    box-shadow:
        0 .2rem .5rem rgba(0,0,0,.22),
        0 0 0 2px rgba(0,0,0,.08);
}

.atlas-topic-nav .nav-link.active:hover {
    color:#fff;
    transform:none;
}


/* ==========================================================================
   Medium Screens
   ========================================================================== */

@media (max-width: 991.98px) {

    .navbar-cc-logo {
        width:120px;
        height:42px;
        margin-right:.5rem;
    }

    .navbar-atlas-logo {
        width:100px;
        height:42px;
        margin-left:.5rem;
    }

}


/* ==========================================================================
   Small Screens
   ========================================================================== */

@media (max-width:575.98px) {

    .atlas-topic-nav {
        flex-basis:100%;
        width:100%;
        padding-top:.75rem;
    }

    .atlas-topic-nav .navbar-nav {
        flex-direction:column;
        align-items:stretch;
    }

    .atlas-topic-nav .nav-item,
    .atlas-topic-nav .nav-link {
        width:100%;
    }

}
