/* Variables for color */
:root {
    --rc-red: #B31313;
    --font: #333;
    --border: #7D7D7D;
    --border-light: #DFDFDF;
    --border-hov: #F7F7F7;
}

* { box-sizing: border-box; }

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "aktiv-grotesk", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    color: var(--font) !important;
    line-height: 1.7;
}

header {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #aaa;
    padding: 1rem;
    margin-bottom: 1rem;
}

.header-content {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
}

a .header-img {
    width: auto;
    height: 60px;
    background: #fff;
    margin-right: 1.5rem;
}

a .robotc-logo {
    height: 26px;
    margin-top: 35px;
}

a .rvw-logo {
    height: 26px;
    margin-top: 35px;
}

footer {
    width: 100%;
    background-color: #333;
    color: white;
    border-top: 1px solid #999;
    padding: 2rem 1rem 1rem;
    margin-top: 5rem;
}

.footerContent {
    max-width: 1360px;
    margin: 0 auto;
    color: #ccc;
}

.robomatter {
    margin-bottom: 0;
}

address {
    font-size: .8rem;
}

main {
    padding: 0.5rem 1rem 0 1rem;
    margin: 0;
}

.copyright {
    text-align: center;
    font-size: .65rem;
}

.alert.alert-warning {
    text-align: center;
    margin: 1rem 10px !important;
}

/* CSS styles for everything inside the container, which should contain everything */

.rcLinksContainer {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
}

.rcLinksContainer a {
color: #006bb4;
text-decoration: none;
}

.rcLinksContainer a:hover {
text-decoration: underline;
}


/* Intro styling */

.intro {
margin: 2rem auto;
}

.title-logo {
    margin-left: auto;
    margin-right: auto;
    width: 229px;
    height: auto;
    display: block;
    text-align: center !important;
    margin-bottom: 1rem;
}

.title-desc {
    font-weight: 500;
    font-size: 1.15rem;
    text-align: center !important;
}

/* Styling for the Navigation Tabs */

.nav-tabs{
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-tabs .nav-link {
    border-color: var(--border);
    color: var(--border);
    background-color: var(--border-light);
    border-top: 1px solid;
    border-left: 1px solid;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border-light);
}

.nav-tabs .nav-link:hover {
    border-color: var(--border);
    background-color: var(--border-hov);
    border-top: 1px solid;
    border-left: 1px solid;
    border-bottom: 1px solid;
    border-right: 1px solid #fff;
    text-decoration: none;
}

.nav-tabs .nav-link:last-of-type {
    color: var(--border);
    border-right: 1px solid;
}

.nav-tabs .nav-link.active{
    background-color: #fff;
    border-color: var(--border);
    border-top: 1px solid;
    border-left: 1px solid;
    border-right: 0px;
    border-bottom: 0px;
    margin-bottom: -1px;
    font-weight: bold;
}

.nav-tabs .nav-link.active:last-of-type{
    border-color: var(--border);
    border-right: 1px solid;
    color: var(--font);
}

/* One col formatting for Support section */

.oneCol{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    border-color: var(--border) !important;
    color: var(--font);
    border: 1px solid;
    border-radius: 0.25rem;
    padding: 1rem 1.5rem;
}

.body-h3-sup {
    width: 100%;
    font-size: 1.15rem;
    font-weight: 700;
    border-top: 1px solid var(--border-light);
    padding-top: 0.5rem;
}

/* Two Column formatting and styles */

.nav-tabs {
    border-color: var(--border);
}

.twoCol{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    border-color: var(--border) !important;
    color: var(--font);
    border-left: 1px solid;
    border-right: 1px solid;
    border-bottom: 1px solid;
    border-radius: 0.25rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 1rem 1.5rem;
}

.col-left{
    flex: 0 0 40%;
    max-width: 40%;
    padding-right: 1rem;
    border-right: 1px solid var(--border-light);
}

.col-right{
    flex: 0 0 60%;
    padding-left: 1rem;
    max-width: 60%;
}

.col-left-img{
    width: 100%;
    display: block;
    padding-bottom: 1.5rem;
}

/* Body Formatting */

.body-h1 {
    margin-bottom: 1.5rem;
    margin-top: 4rem;
}

.body-h2 {
    color: var(--rc-red) !important;
    padding-bottom: 0.5rem;
    width: 100%;
    font-size: 1.75rem;
    font-weight: bold;
}

.body-h3 {
    width: 100%;
    font-size: 1.15rem;
    font-weight: 700;
    border-top: 1px solid var(--border-light);
    padding-top: 0.5rem;
}

.body-h3:first-of-type {
    padding-top: 0rem;
    border-top:none
}

.btn-link {
    color: var(--rc-red) !important;
}

.video {
    max-width: 50%;
    height: auto;
}

.youtube-wrapper {
    max-width: 50%;
    margin-bottom: 1rem;
}

.youtube-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Mobile styles */
@media (max-width: 768px) {
    h1 {
        text-align: center;
    }

    a .header-img {
        height: 45px;
        margin-right: 1rem;
    }

    a .robotc-logo {
        height: 19px;
        margin-top: 27px;
    }
    
    a .rvw-logo {
        height: 19px;
        margin-top: 27px;
    }
    
    .nav-link {
        padding: .5rem .4rem;
        font-size: .9rem;
    }
    
    .col-left {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

    .col-right {
        flex: 0 0 100%;
        padding-left: 0;
        max-width: 100%;
    }

    .btn {
        white-space: initial;
    }

    .video {
        max-width: 100%;
    }

    .youtube-wrapper {
        max-width: 100%;
    }
    
    .footerContent {
       text-align: center;
    }
    
    .copyright {
        display: none;
    }
}

/* Special Formatting - Temp link color to indicate broken links that are missing the files */
.broken {
    color: #FF0000 !important;
}

