/*
Text      : #515151;
Brand     : #1b7dff;
Brand 2   : #6ba755; (part of logo)
Accent 2  : #1b7dff; (buttons, hover)
Accent 3  : #373737; (top nav bg)

Muted Text: #6c757d;
Borders   : #dee2e6;
 */
:root {
    --text-color: #6B6F74;
    --border-color: #dad9da;
    --brand-color: #1b7dff;
    --brand-hover-color: #90120e;
    --brand-accent-color: #0074EA;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: Arial, sans-serif;
	background: #e7eaed;
    color: var(--text-color);
    scroll-padding-top: 99px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: Arial, sans-serif;
    color: var(--brand-color);
}
a:not(.btn):not(.dropdown-item):not(.nav-link) {
    color: var(--brand-color);
}
a:not(.btn):not(.dropdown-item):not(.nav-link):hover {
    color: var(--brand-accent-color);
}

.topnav-container {
    position: relative;
    background: rgba(255,255,255, 0.75);
    box-shadow: 3px 0 5px 1px rgba(0,0,0,0.1);
}
.topnav-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background-color: var(--brand-color);
}
.topnav-container:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,.25);
    transition: all .5s;
}
.topnav-container .container {
    position: relative;
}
/*.scroll-up:not(.menu-open) .topnav-container {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}*/

/* Stuff for the hero spot at the top */
.ci-welcome-index .header-container {
    height: 500px;
}
.jumbotron {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-image: url('/images/sandbox/hero.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    max-width: 100%;
    padding: 0;
}
.jumbotron .container {
    position: relative;
    height: 100%;
    padding: 0;
}

.hero-text {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 1.5rem 1rem;
    top: 50%;
    transform: translateY(-30%);
}
.hero-text h1,
.hero-text h2 {
    position: absolute;
    text-transform: uppercase;
    margin-bottom: 0;
    padding: 1.25rem 3rem;
    font-size: 2rem;
    color: #fff;
    background-color: rgba(0,0,0,.6);
}
.hero-text h1 {
    right: 5rem;
    top: 4rem;
    font-size: 2rem;
}
.hero-text h2 {
    right: 1rem;
    top: 9.75rem;
    font-family: Arial Black, sans-serif;
    font-size: 2.5rem;
}

.page-heading {
    text-align: left;
    margin-bottom: 1.5rem;
}
.page-title,
.section-title {
    position: relative;
    text-transform: none;
    font-size: 1.4rem;
    font-weight: normal;
    letter-spacing: -1px;
    border-bottom: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    padding: 1rem;
    padding-left: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.page-title:before,
.section-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 1px;
    background-color: var(--border-color);
}
.subsection-title {
    display: flex;
    width: 100%;
    justify-content: start;
    align-items: center;
    /*text-align: center;*/
    font-size: 1.2rem;
}
.subsection-title:before,
.subsection-title:after {
    content: '';
    border-top: 1px solid var(--border-color);
    margin: 0 20px 0 0;
    flex: 1 0 20px;
    max-width: 12px;
}
.subsection-title:after {
    margin: 0 0 0 20px;
    max-width: 100%;
}

.page-title {
    font-family: Arial Black, sans-serif;
    margin-top: 0;
    margin-bottom: 0;
}
.page-desc {
    position: relative;
    padding: .5rem 2rem;
    border-right: 1px solid var(--border-color);
}
.page-desc:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 120px;
    height: 1px;
    background-color: var(--border-color);
}

.btn-brand {
    text-transform: uppercase;
    background-color: var(--brand-accent-color);
    border: 1px solid #c5951f;
    color: #fff;
    font-weight: bold;
}
.btn-brand:hover {
    border: 1px solid #886614;
    background: #9a7315;
    color: #fff;
}

.btn-brand:focus {
    box-shadow: 0 0 0 0.2rem rgba(216,173,70,.5);
}

/* override Bootstrap */
.btn {
    border-radius: 0;
}

.navbar-primary {
    padding: 0;
}
.navbar-brand {
    margin-left: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.navbar-brand img {
    height: 36px;
    width: auto;
}
.navbar-primary .navbar-nav {
    margin-left: auto;
}

/*
 * top nav links
 * Desktop styles are in a media query near bottom of file
 */
.navbar-primary .nav-link {
    position: relative;
    padding: .5rem 1rem !important;
    color: #6B6F74;
    transition: all .5s;
}

.navbar-primary .dropdown-menu {
    border-radius: 0;
    border-width: 0 1px;
    margin: 0;
    box-shadow: 0 10px 10px rgba(0,0,0,.15);
    border-color: #f5f5f5;
    border-left: 5px solid var(--brand-color);
    border-top: 0;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
}

.navbar-toggler {
    color: #fff;
}

.navbar-primary .dropdown-item {
    position: relative;
}
.navbar-primary .dropdown-item:hover {
    z-index: 2;
    color: #fff;
}
.navbar-primary .dropdown-item:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    color: transparent;
    transition: all .5s;
    background: var(--brand-color);
    visibility: none;
    opacity: 0;
    z-index: -1;
}
.navbar-primary .dropdown-item:hover:after {
    opacity: 1;
    visibility: visible;
    width: 100%;
}

.slidenav:not(.ci-welcome) .main-content {
    padding-top: 125px;
}

.main-content section {
    margin-top: 24px;
}

/* Course listings (front page) */

.subsection-title + .course-card {
    margin-top: 2.3rem;
}

.footer-container {
    position: relative;
    background-color: #373737;
}
.footer-container,
.footer-container a,
.footer-container a:not(.btn):not(.dropdown-item):not(.nav-link),
.footer-container h5 {
    color: #fff;
}
.footer-container a:not(.btn):not(.dropdown-item):not(.nav-link):hover {
    color: var(--brand-accent-color);
}
.footer-container.container {
    max-width: 100%;
}
.footer-container .separator-white {
    border-color: #666;
}

.footer-container h5 {
    font-weight: 700;
    font-size: 1rem;
}
.footer-container a {
    border-bottom: 1px dotted #666;
}
.footer-container a:hover {
    text-decoration: none;
    border-bottom-color: #fff;
}
.footer-container .social-icon-link {
    text-decoration: none;
    border: 0;
    font-size: 1rem;
}
.social-icon-link i {
    transition: all .125s linear;
    -o-transition: all .125s linear;
    -moz-transition: all .125s linear;
    -webkit-transition: all .125s linear;
}

.footer-container .social-icon-link i:hover {
    transform: scale(1.3,1.3);
    -ms-transform: scale(1.3,1.3);
    -webkit-transform: scale(1.3,1.3);
}

.post-footer {
    background-color: #f6f6f6;
}
.footer-brands {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
}
.footer-brands .brand-logo {
    text-align: center;
    margin-bottom: 1rem;
    min-width: 33%;
}
.footer-brands .brand-logo:last-child {
    margin-bottom: 0;
}
/* Bootstrap overrides */

.alert,
.list-group-item:first-child,
.list-group-item:last-child {
    /*border-radius: 0;*/
}


/* Bootstrap's Breakpoints */
@media (min-width: 576px) {
}

@media (min-width: 768px) {
    .jumbotron .container {
        padding-top: 125px;
    }
    .navbar-primary .nav-link {
        position: relative;
        z-index: 1;
        padding: 2rem 1rem !important;
        margin-left: 1px;
    }
    .navbar-primary .nav-link:hover,
    .navbar-primary .nav-link:focus,
    .navbar-primary .nav-link-active {
        outline: 0;
        color: #fff;
    }
    .navbar-primary .nav-link:before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        /*margin-top: auto;*/
        width: 100%;
        height: 1px;
        color: transparent;
        transition: all .5s;
        background: var(--brand-color);
        visibility: none;
        opacity: 0;
        z-index: -1;
    }

    .navbar-primary .nav-link:hover:before,
    .navbar-primary .nav-link:focus:before,
    .navbar-primary .nav-link-active:before {
      opacity: 1;
      visibility: visible;
      height: 100%;
    }
    .ci-welcome .navbar-primary .nav-link:before {
        bottom: 0;
    }
    .navbar-primary .dropdown-menu {
        top: 100%;
    }

    .footer-brands .brand-logo {
        min-width: 20%;
    }
}

@media (min-width: 992px) {
    .footer-brands .brand-logo {
        margin-bottom: 0;
        min-width: 20%;
    }
}

@media (min-width: 1200px) {

}
