/*
Text      : #5f6062;
Brand     : #d40f7d;
Brand 2   : #5f6062;
Muted Text: #6c757d;
Borders   : #dee2e6;
 */

html {
    font-size: 16px;
}
body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
	/*background: #e5e5e5;*/
    background: #fff;
    color: #333;
    padding-top: 70px; /* height of fixed navbar */
}
p {
    line-height: 18px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    color: #000;
}

a {
    color: #000;
}
a:hover {
    color: #d40f7d;
}
.uppercase {
	text-transform: uppercase;
}
.navbar-toggler {
    /* display: none; */
}
body.slidenav:not(.ci-welcome) .main-content {
    padding-top: 1rem;
}
.ci-welcome .header-container {
    /* height: 200px; */
    transition: all 0.3s ease-in-out 0s;
}
/* Stuff for the hero spot at the top */
.topnav-container {
    background-color: #fff;
    background: rgba(255,255,255,0.9);
    width: 100%;
}
.topnav-container:hover {
    background: #fff;
}

/* Hero image */
.jumbotron {
    position: relative;
    width: 100%;
    background-image: url('/images/owenscorning2/hero4.jpg');
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
}
.jumbotron .container {
    padding: 0;
}

.jumbotron-old {
    position: relative;
    padding: 0;
    margin-top: 89px;
}
.jumbotron-old .container {
    height: 270px;
    padding: 0;
    background: none;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.welcome-intro-title {
    font-family: "Oswald", sans-serif;
}
.welcome-intro-blurb {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
}

.page-heading {
    text-align: left;
    margin-bottom: 1.5rem;
}
.page-title,
.section-title {
    position: relative;
    text-transform: uppercase;
    font-size: 40px;
    line-height: 42px;
    font-weight: normal;
    letter-spacing: -1px;
    padding: 1rem 0;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: none;
}

.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 #bcbcbc;
    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: 'Oswald', sans-serif;
    margin-top: 0;
    margin-bottom: 0;
}
.page-desc {
    position: relative;
    padding: 0;
}

.ci-register .page-title {
    font-size: 28px;
    line-height: 30px;
}
.course-catalog h4 {
    text-transform: uppercase;
    font-size: 40px;
    line-height: 42px;
    border-bottom: none!important;
}
.course-catalog h5 {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: bold;
    line-height: 26px;
}
.course-catalog h5 a {
    color: #000;
}
.course-catalog h5 a:hover {
    color: #d40f7d;
}
.course-catalog h5 i {
    color: #6d6d6d;
}
.text-primary {
    color: #d40f7d!important;
}
.btn-brand,
.btn-primary,
.btn-secondary {
    text-transform: uppercase;
    background-color: #d40f7d;
    border: 1px solid #d40f7d;
    color: #fff !important;
    font-weight: bold;
}
.btn-brand.btn-scorm-launch:after {
    border-left: 0;
}
.btn-brand.btn-scorm-launch {
    background: #d40f7d;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 76%, rgba(198,11,43,1) 76%);
}
.btn-brand.btn-scorm-launch i {
    color: #fff;
}
.btn-brand:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-brand:active,
.btn-primary:active,
.btn-secondary:active,
.btn-brand:focus,
.btn-brand:focus-visible,
.btn-primary:focus,
.btn-secondary:focus,
.btn-brand.btn-scorm-launch:hover {
    border: 1px solid #ab0b64 !important;
    background-color: #ab0b64 !important;
    color: #fff !important;
}
.btn-contact,
.btn-contact:focus,
.btn-contact:active,
.btn-contact:hover {
    background:  #000!important;
    border-color:  #000!important;
}
.btn-brand.btn-scorm-launch:hover {
    background: linear-gradient(90deg, rgba(198,11,43,1) 0%, rgba(198,11,43,1) 76%, rgba(162,14,39,1) 76%);
}

.btn-brand:focus,
.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(225,83,97,.5);
}

.btn-brand.active,
.btn-brand.show,
.btn-brand:first-child:active,
:not(.btn-check)+.btn-brand:active {
    color: #fff;
    background-color: #ab0b64;
    border-color: #ab0b64;
}

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

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #d40f7d;
    border-radius: 0;
}

.border,
.border-top,
.border-bottom,
.border-left,
.border-right {
    border-color: #bcbcbc !important;
}

.hero-text {
    position: relative;
    text-align: right;
}

.hero-text h1 {
    position: relative;
    margin-bottom: 0;
    padding: .5rem 2rem .5rem 2rem;
    background-color: #fff;
    font-size: 32px;
    line-height: 32px;
    font-weight: 500;
    text-transform: uppercase;
    color: #6d6d6d;
}
.hero-text h1::before {
    content: '';
    position: absolute;
    top: 0;
    right: 100%;
    /* what a hack lol */
    width: 1000%;
    height: 100%;
    background-color: #fff;
}
.hero-text h2 {
    display: inline-block;
    text-transform: uppercase;
    margin-bottom: 0;
    margin-top: -3px;
    padding: 0 2rem 0 7rem;
    font-size: 98px;
    line-height: 98px;
    font-weight: 500;
    color: #000;
    background-color: #fff;
}
.hero-text h2 span {
    display: block;
    color: #d40f7d;
}

.hero-intro-text {
    display: inline-block;
    margin-top: -3px;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 500;
    padding: 2rem;
    padding-left: 7rem;
    padding-bottom: 3rem;
    color: #333;
    background-color: #fff;
}
.hero-intro-cta {
    margin-top: 25px;
}

.hero-intro-img {
    position: absolute;
    top: 0;
    right: 0;
}
.hero-intro-img img {
    max-width: 105px;
    height: auto;
}
/* See media queries at bottom of file for
*  adjustments to width at different breakpoints
*/
.navbar-primary.fixed-top {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.navbar-primary {
    /**/
    padding: 0;
}
.navbar-brand {
    margin-left: 1rem;
}
.navbar-brand img {
    max-height: 60px;
}
.navbar-primary .navbar-nav {
    margin-left: auto;
}

/* top nav links */
.navbar-primary .nav-link {
    position: relative;
    padding: .5rem 1rem !important;
    color: #000;
    /*border-bottom: 8px solid transparent;*/
    transition: all 0.3s ease-in-out 0s;
}
.navbar-primary .nav-link:before,
.navbar-primary .dropdown-item:before {
    content: "";
    position: absolute;
    left: 0;
    width: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out 0s;
}
.navbar-primary .nav-link:before {
    height: 4px;
    bottom: 0;
    /*transform: scaleX(0);*/
    background-color: #d40f7d;
}
.navbar-primary .dropdown-item:before {
    height: 1px;
    bottom: -1px;
    width: 0;
    background-color: #5f6062;
}
.navbar-primary .nav-link:hover:before,
.navbar-primary .nav-link.dropdown-toggle:focus:before {
    visibility: visible;
    width: 100%;
    /*transform: scaleX(1);*/
}
.navbar-primary .dropdown-item:hover:before {
    visibility: visible;
    width: 100%;
}

.navbar-primary .nav-link:hover,
.navbar-primary .nav-link:focus {
    outline: none;
}
.navbar-primary .nav-link.dropdown-toggle:focus {
    z-index: 1001;
}
.navbar-primary .dropdown-item {
    position: relative;
    border-bottom: 1px solid #e0e0e0;
    padding-top: .5rem;
    padding-bottom: .5rem;
    color: #5f6062;
}
.navbar-primary .dropdown-item:hover {
    background-color: #fff;
}
.navbar-primary .dropdown-item:focus {
    color: #5f6062;
}
.navbar-primary .dropdown-menu {
    border-radius: 0;
    border-width: 0 1px;
    top: 100%;
    margin: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,.15);
    border-color: #fff;
    background-color: #f5f5f5;
}
/*.navbar-primary .navbar-collapse.show .nav-link {
    padding-top: .75rem;
    padding-bottom: .75rem;
}*/
.ci-welcome .main {
    padding-top: 0;
}

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

/* Course listings (front page) */

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

.course-card {
    position: relative;
    /* override some BS styles */
    border-radius: 0;
    border: none;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}
.course-card:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform:translate(-50%,0);
    height: 1px;
    width: 40%;
    background: #bcbcbc;
}
.course-card:last-child {
    padding-bottom: 0;
}
.course-card:last-child:after {
    background: transparent;
}
.course-card .card-title {
    font-size: 1.3rem;
}
.course-card .card-img-top-wrapper-md {
    padding: 0;
    border-radius: 0;
    border: 1px solid #fff;
    box-shadow: 6px 6px 0 #e1e3e8;
}
.course-card:hover .card-img-top-wrapper-md {
    box-shadow: 6px 6px 0 #5f6062;
}

/* Adjust background-position because of their
*  stupid watermark
*/
.track-card .track-card-img,
.course-card .card-img-top {
    background-position: left top;
}
.track-card:hover .track-card-img,
.course-card:hover .card-img-top {
    transform: scale(1.05);
}
.card-img-top-wrapper-lg {
    height: 239px;
    border-radius: 0;
}
.card-deck-intro .card-img-top-wrapper-lg {
    height: 320px;
}
.course-card-body {
    padding-left: 1.25rem;
    border-left: 1px solid #bcbcbc;
    height: 100%;
}
/* View more link/button - align to bottom */
.course-card-footer {
    margin-top: auto;
    padding-top: 1rem;
}

/* Contact Cards (pre_footer) */
.contact-cards h2 {
    font-size: 40px;
    line-height: 42px;
    font-weight: bold;
    text-transform: uppercase;
}

.contact-card {
    border: 0;
    border-radius: 0;
    border-top: 2px solid #000;
    margin-top: 2rem;
    padding-top: 2rem;
}
.contact-card a {
    color: #000;
}
.contact-card a:hover {
    text-decoration: none;
    color: #d40f7d;
}
.contact-card a span {
    text-decoration: none;
}
.contact-card a:hover span {
    text-decoration: none;
}

.footer-container {
    position: relative;
    font-size: 1rem;
    background-color: #cecece;
    color: #333;
}
.footer-container.container {
    max-width: 1440px;
    color: #000;
}
.footer-container h5 {
    text-transform: none;
    font-family: "Roboto", sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: #000;
}
.footer-container a {
    color: #000;
}
.footer-container a:hover {
    text-decoration: none;
    color: #d40f7d;
}
.footer-container .aec-si-link {
    text-decoration: none;
    border: 0;
    font-size: 1rem;
    color: #333;
    padding: 0;
    margin-right: .75rem;
}
.aec-si-link i {
    transition: all .125s linear;
    -o-transition: all .125s linear;
    -moz-transition: all .125s linear;
    -webkit-transition: all .125s linear;
}

.footer-container .aec-si-link i {
    color: #000;
}
.footer-container .aec-si-link i:hover {
    color: #d40f7d;
    transform: scale(1.3,1.3);
    -ms-transform: scale(1.3,1.3);
    -webkit-transform: scale(1.3,1.3);
}

.separator-white {
    border-bottom: 1px solid #b1b1b1;
}

.text-brand {
    color: #d40f7d;
}

/* Bootstrap overrides */

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

.ci-login .contact-cards,
.ci-register .contact-cards {
    display: none;
}

/* Bootstrap's Breakpoints */
@media (min-width: 576px) {
    .navbar-primary.fixed-top {
        width: 540px;
    }
    .hero-intro-cta {
        margin-top: 25px;
    }
}

@media (min-width: 768px) {
    .navbar-primary.fixed-top {
        width: 720px;
    }
    .ci-welcome .header-container {
        /* height: 300px; */
    }
    /* .jumbotron .container {
        height: 466px;
        background-image: url('/images/owenscorning2/hero1.jpg');
    }
    .hero-text {
        right: 170px;
        top: 50px;
        margin-right: 0;
    }
    .hero-text h1 {
        font-size: 65px;
        line-height: 65px;
    }
    .hero-intro-text {
        top: 185px;
        left: 158px;
        right: auto;
        width: 300px;
    }
    .hero-intro-cta {
        margin-top: 38px;
    }
    .hero-intro-img {
        right: 73px;
        bottom: 20px;
        top: auto;
    }
    .hero-intro-img img {
        max-width: 180px;
    } */

}

@media (min-width: 992px) {
    .navbar-primary.fixed-top {
        width: 960px;
    }
    .ci-welcome .header-container {
        /* height: 400px; */
    }
    /* .jumbotron .container {
        height: 512px;
        background-image: url('/images/owenscorning2/Desktop_Narrow_1x.png');
    }
    .hero-text {
        right: 205px;
        top: 64px;
    }
    .hero-text h1 {
        font-size: 98px;
        line-height: 98px;
    }
    .hero-intro-text {
        top: 255px;
        left: 215px;
        width: 465px;
    }
    .hero-intro-img {
        right: 85px;
        bottom: 20px;
    }
    .hero-intro-img img {
        max-width: 180px;
    } */
}

@media (min-width: 1200px) {
    .navbar-primary.fixed-top {
        width: 1140px;
    }
    .ci-welcome .header-container {
        /* height: 490px; */
    }
    /* .jumbotron .container {
        background-image: url('/images/owenscorning2/Desktop_Wide_1x.png');
    }
    .hero-text {
        right: 205px;
        top: 48px;
    }
    .hero-intro-text {
        top: 230px;
        left: 252px;
        width: 490px;
    } */

    @media (min-width: 1550px) {
        .contact-button {
            position: relative;
            right: 0;
            bottom: 0;
        }
    }

    @media (min-width: 1860px) {
        .contact-button {
            position: fixed;
            right: 30px;
            bottom: 30px;
        }
    }
}
