/* Brand Guidelines */
:root {
    /* -- Primary colors -- */
    --u-midnight-blue: #121F33;
    --u-midnight-blue-rgb: 18, 31, 51;
    --u-energy-blue: #336ee5;
    --u-sky-blue: #adceff;
    --u-white: #ffffff;

    /* -- Grays -- */
    --u-slate: #505055;
    --u-stone: #a0a0a5;
    --u-steel: #c8c8cd;
    --u-ash: #f0f0f5;

    /* -- Semantic colors -- */
    --u-red: #D11b25;
    --u-orange: #f15100;
    --u-yellow: #ffba2c;
    --u-green: #007d1e;
}

/*
Text      : #000000;
Brand     : #121F33;
Secondary : #ffffff;
Muted Text: #6c757d;
Borders   : #ececec;
 */

 
 @font-face {
     font-family: Runda;
     src: url(//static.aecdaily.com/fonts/runda/RehlkoRunda-Regular.ttf) format("truetype");
     font-style: normal
}

body {
	background: var(--u-white);
    color: var(--u-slate);
    scroll-padding-top: 109px;
    font-family:  "Runda", sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    color:  var(--u-slate);
}

a {
    color: var(--u-energy-blue);
    transition: all 0.3s 0s ease-in-out;
}

a:hover {
	--bs-link-color-rgb: rgb(var(--u-midnight-blue));
}


.topnav-container {
    /* position: relative; */
    background: #fff;
    color: #fff;
    transition: all .5s ease-in-out;
}

.topnav-container:hover {
    /* background-color: #fff; */
    box-shadow: 0 3px 10px rgba(0,0,0,.25);
}

.topnav-container > .container {
    max-width: 100%;
}

/* 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/kohler/hero-2.jpg');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
}

.jumbotron .container {
    position: relative;
    display: flex;
    height: 100%;
    padding: 0;
}

.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(--u-ash);
    padding: 1rem;
    padding-left: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.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 #dad9da;
    margin: 0 20px 0 0;
    flex: 1 0 20px;
    max-width: 12px;
}
.subsection-title:after {
    margin: 0 0 0 20px;
    max-width: 100%;
}

.course-list-section .page-title {
    color: var(--u-midnight-blue);
}

.page-title {
    margin-top: 0;
    margin-bottom: 0;
}
.page-desc {
    position: relative;
    padding: .5rem 2rem;
    background: #f3f3f3;
}

.ccard-meta .meta-extra {
    color: var(--u-stone);
}
.ccard-duration {
    background: var(--u-ash);
    color: var(--u-slate);
}
.ccard-live .ccard-meta .delivery-type {
	color: var(--u-energy-blue);
}
.hp-course-grid .ccard-desc {
    color: var(--u-midnight-blue);
}
.ccard-footer {
    background: var(--u-ash);
}

.btn-brand,
.btn-primary {
    text-transform: uppercase;
    background-color: var(--u-energy-blue);
    font-weight: 400;
    border: 1px solid var(--u-energy-blue);
    color: #fff;
}

.btn-brand:hover,
.btn-brand:focus,
.btn-brand:active,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color:  var(--u-midnight-blue) !important;
    border-color:  var(--u-midnight-blue) !important;
    color:  #fff !important;
    box-shadow: none !important;
}

.btn-success {
	--bs-btn-bg: var(--u-green);
	--bs-btn-border-color: var(--u-green);
	--bs-btn-hover-bg: var(--u-green);
	--bs-btn-hover-border-color: var(--u-green);
	--bs-btn-active-bg: var(--u-green);
	--bs-btn-active-border-color: var(--u-green);
	--bs-btn-disabled-bg: var(--u-green);
	--bs-btn-disabled-border-color: var(--u-green);
}
.btn-danger {
	--bs-btn-bg: var(--u-red);
	--bs-btn-border-color: var(--u-red);
	--bs-btn-hover-bg: var(--u-red);
	--bs-btn-hover-border-color: var(--u-red);
	--bs-btn-active-bg: var(--u-red);
	--bs-btn-active-border-color: var(--u-red);
	--bs-btn-disabled-bg: var(--u-red);
	--bs-btn-disabled-border-color: var(--u-red);
}

.btn-secondary {
	--bs-btn-bg: var(--u-slate);
	--bs-btn-border-color: var(--u-slate);
	--bs-btn-hover-bg: var(--u-midnight-blue);
	--bs-btn-hover-border-color: var(--u-midnight-blue);
	--bs-btn-active-bg: var(--u-midnight-blue);
	--bs-btn-active-border-color: var(--u-midnight-blue);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: var(--u-stone);
	--bs-btn-disabled-border-color: var(--u-stone);
}

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

.hero-text {
    display: block;
    position: absolute;
    left: 0;
    bottom: 20%;
    padding: 3rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
}
.hero-text h1 {
    font-size: 1.75rem;
    margin-bottom: .25rem;
    color: #fff;
}
.hero-text h5 {
    margin-bottom: 0;
    color: #fff;
}

.navbar-primary {
    padding: 0;
}
.navbar-brand {
    margin: 0;
    padding: 0;
}
.navbar-brand:hover {
    opacity:  1;
}
/* .navbar-brand img {
    height: auto;
    max-width: 165px;
} */
.navbar-brand img {
    /* real logo (svg) */
    /*
    width: 144px;
    height: auto;
    max-height: 100%;
    */

    /* temp animated gif */
    height: 80px;
    width: auto; 
    max-width: 100%;
}
.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: var(--u-midnight-blue);
    transition: all .5s;
}
.nav-link:focus, .nav-link:hover {
	color: var(--u-energy-blue);
}

.navbar-primary .dropdown-menu {
    border-radius: 0;
    margin: 0;
    border: none;
    box-shadow: 0 10px 10px rgba(0,0,0,.15);
    background-color: #fff;
    transition: all 0.2s ease-in-out;
}

.navbar-primary .dropdown-item {
    position: relative;
    color: var(--u-midnight-blue);
}

.navbar-primary .dropdown-item:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    bottom: -1px;
    width: 0;
    background-color: var(--u-ash);
    visibility: hidden;
    /* transform: scaleX(0); */
    transition: all 0.3s ease-in-out 0s;
}
.navbar-primary .dropdown-item:hover:before {
    visibility: visible;
    /*transform: scaleX(1);*/
    width: 100%;
}

.navbar-secondary {
    background: #060606;
}

/* Hack up mobile nav colors for now - thanks mobile-first /s */
.navbar-primary .show .nav-link {
    color: var(--u-midnight-blue);
}
body:not(.ci-welcome) .main-content {
    padding-top: 85px;
}
.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;
}

.course-overlay-live {
	background: var(--u-energy-blue);
}
.course-overlay-live::after {
	border-color: var(--u-energy-blue);
	color: var(--u-energy-blue);
	content: "\f0c0";
}

/* Bug:19966 */
.card-subtitle {
    display: none;
}

/* Pre-Footer */
.request-for-contact {
    background: var(--u-energy-blue);
    color: #fff;
    padding: 1rem 0;
}
.request-for-contact a {
    display: inline-block;
    text-decoration: none;
    color: var(--u-energy-blue);
    background-color: #fff;
    padding: .3rem .5rem;
    border-radius: 3px;
}
.request-for-contact a:hover {
    text-decoration: none;
    color: black;
}

.footer-container {
    position: relative;
    background: var(--u-white);
    color: var(--u-midnight-blue);
}
.footer-container.container {
    max-width: 100%;
}
.footer-container .separator-white {
    border-color: var(--u-ash);
    margin: 1rem 0;
}

.footer-container h5 {
    color: var(--u-midnight-blue);
    font-weight: 700;
    font-size: 1rem;
}
.footer-container a {
    color: var(--u-midnight-blue);
}
.footer-container a:hover {
    text-decoration: underline;
}
.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-container {
    background-color: var(--u-slate);
    color: var(--u-ash);
    border-top: none;
}

/* Bootstrap overrides */
.navbar-toggler {
    border-color: var(--u-ash);
    margin-right: 1rem;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='rgb(18,31,51)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}

.alert,
.list-group-item:first-child,
.list-group-item:last-child {
    border-radius: 0;
}
.alert-secondary {
	--bs-alert-color: var(--u-slate);
	--bs-alert-bg: var(--u-ash);
	--bs-alert-border-color: var(--u-steel);
	--bs-alert-link-color: var(--u-midnight-blue);
}

/* SCORM viewer overrides */
.sco-navigation #prev,
.sco-navigation #next {
    display:  none;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
	background-color: var(--u-energy-blue);
}
.badge-pill.badge-light {
    background-color: var(--u-ash);
    color: var(--u-stone);
}

.card {
    color: var(--u-slate);
}

/* Bootstrap's Breakpoints */
@media (min-width: 576px) {
    .list-view .ccard {
        border-color: var(--u-ash);
    }
}

@media (min-width: 768px) {
    .ci-welcome-index .header-container {
        height:  580px;
    }
    .jumbotron .container {
        /* padding-top: 430px; */
    }

    .navbar-primary .nav-link {
        position: relative;
        z-index: 1;
        border-top: 8px solid transparent;
        padding: 1.25rem 1rem !important;
        margin-left: 1px;
    }
    .navbar-primary .nav-link:hover,
    .navbar-primary .nav-link:focus,
    .navbar-primary .nav-link-active {
        outline: 0;
        background-color: #fff;
        color: #121F33;
    }
    .navbar-primary .nav-link:before {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        top: -8px;
        right: 0;
        margin-bottom: auto;
        width: 100%;
        height: 8px;
        color: transparent;
        transition: all .5s;
        background: #121F33;
        visibility: none;
        transform: scaleX(0);
    }

    .navbar-primary .nav-link:hover:before,
    .navbar-primary .nav-link:focus:before,
    .navbar-primary .nav-link-active:before {
        visibility: visible;
        transform: scaleX(1);
    }
    .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) {
    .hero-text {
        text-align: left;
        max-width: 100%;
    }
    .hero-text h1 {
        font-size: 2rem;
        bottom: 48%;
    }
    .footer-brands .brand-logo {
        margin-bottom: 0;
        min-width: 20%;
    }
    .navbar-primary {
        align-items: stretch;
    }
    .navbar-primary .navbar-nav .nav-link {
        height: 80px;
    }
}

@media (min-width: 1200px) {
    .hero-text {
        max-width: 70%;
    }
}

@media (min-width: 1400px) {
    .ci-welcome-index .header-container {
        height:  600px;
    }
    .hero-text {
        max-width: 70%;
    }
}
