/*
CUSTOM CSS 
LOAD AFTER BOOTSTRAP CSS

CONTENTS
1. GLOBAL
2. TYPOGRAPHY
3. NAV 
4. HEADER
5. MAIN
6. CARDS
7. FOOTER

*/

/* GLOBAL */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    html {
        font-size: 17px;
    }
}

/* FIX for Container-Fluid */
.container-fluid {
    padding-right: 0px !important;
    padding-left: 0px !important;
}
.navbar {
    padding: .5rem 1rem !important;
    margin: 0 !important;
    -webkit-box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.08);
    box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.08)
}
.navbar .btn {
    padding: .375rem .75rem !important
}
.row {
    margin-right: 10px;
    margin-left: 10px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Public Sans', sans-serif;
    color: #000000;
    height: 100%;
}

ul {
    padding-inline-start: 25px;
}

ul li {
    margin: 0.25rem 0rem;
}

a {
    color: #0069AA;
}

p a {
    text-decoration: underline;
}

p a:hover {
    text-decoration: none;
}

hr {
    border: 0px;
    height: 0px;
    border-bottom: 3px solid #efefef;
}


/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

h1 {
    font-size: 2rem;
    line-height: 2.333rem;
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    h1 {
        font-size: 2.333rem;
        line-height: 2.666rem;
    }
}

h2 {
    font-size: 1.666rem;
    line-height: 2rem;
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    h2 {
        font-size: 2rem;
        line-height: 2.333rem;
    }
}

h3 {
    font-size: 1.5rem;
    line-height: 1.666rem;
}

h4 {
    font-size: 1rem;
    line-height: 1.333rem;
}

.title {
    font-family: 'DM Serif Display', serif;
    font-size: 3.333rem;
    line-height: 3.5rem;
    font-weight: 500;
}

.subhead {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.333rem;
    text-transform: uppercase;
}

.text-yellow {
    color: #FBAB18;
}

/* NAV */
.navbar2 {
    /* override template styling */
    width: 100%;
    z-index: 3;
    height: 70px;
    padding: 0rem 1.5rem;
    margin-bottom: -70px;
}

.navbar2 .link {
    /* override template styling */
    display: inline-block;
    height: 70px;
    line-height: 70px;
    text-decoration: none;
    color: #FFFFFF;
}

/* BUTTONS */
.btn-primary {
    background-color: #0069AA;
    border-color: #0069AA;
    padding: .375rem 1.25rem;
}

/*HERO HEADER*/

header {
    background-image: url("/content/dam/csr-crs/art/hero.jpg");
    background-position: center top;
    background-size: cover;
    min-height: 450px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero {
    padding-top: 70px;
    padding-bottom: 70px;

}

/* MAIN */
.wrapper-grey {
    background-color: #F5F5F5;
}


/* CARDS */
.card {
    border: none;
}

.card-body {
    min-height: 140px;
}

.card-grey {
    background-color: #f5f5f5;
}

.card-cta {
    background-color: #000000;
    border-left: 5px solid #FBAB18;
}

.card-cta .card-body {
    padding: 2.5rem 2rem;
}

@media (min-width: 992px) {
    .timeline .card-body {
        min-height: 340px;
    }
}

/* FOOTER */
.footer2 {
    background-color: #000000;
    padding: 1.5rem 1rem;
}

.footer2 a {
    color: #FBAB18;
}