/* STICKY FOOTER ------------------------------------------------------------ */
html {
    position: relative;
    min-height: 100%;
}
body {
    padding-bottom: 200px;
}
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
    background-color: #f5f5f5;
}
@media (max-width: 991px) {
    body {
        padding-bottom:400px;
    }
    footer {
        height: 400px;
    }
}
@media (max-width: 689px) {
    body {
        padding-bottom:600px;
    }
    footer {
        height: 600px;
    }
}
/* GLOBAL -------------------------------------------------------------------*/
body {
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 16px;
    color: #141517;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}
h1 {
    font-size: 28px;
}

.bold {
    font-weight: 700;
}
.hidden {
    display: none;
}
.meta {
    color: #888;
    font-size: 85%;
    margin: 2px 0;
}
.a {
    color: #888;
}
.text-black {
    color: #141517;
}
.badge-ltgrey {
    background-color: #a09da2;
    color: #FFF;
}
.img-responsive {
    max-width: 100%;
}
/* HEADER -------------------------------------------------------------------*/
header {
    padding: 12px 0 12px 0;
}
.logo {
    max-width: 100%;
    max-height:85px;
}
.tagline {
    font-style: italic;
    font-size: 14px;
    /*margin-left: 64px;*/
    position:relative;
    /*top: -14px;*/
    text-align: center;

}
@media (min-width: 476px) {
    .tagline {
        top: -6px;
        text-align: left;
        margin-left: 64px;
    }
}
@media (min-width: 992px) {
    .tagline {
        float:right;
        top: 0;
        margin: 40px 15px 0 0;
    }
}
header a, header a:hover, header a:active, header a:visited {
    text-decoration: none;
    color: #141517;
}
/* NAVBAR -------------------------------------------------------------------*/
nav a.nav-link {
    text-transform: uppercase;
    font-size: 14px;
    /*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;*/
    font-weight:600;
}
nav li.active, nav li:hover {
    background-color: #a61f30;
}

@media (min-width: 992px) {
    nav .nav-link {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

}
@media (max-width: 991px) {
    nav ul.navbar-nav {
        max-width: 250px;
    }
    nav ul.navbar-nav li {
        padding-left: 1rem;
    }
}

/* SIDEBAR ------------------------------------------------------------------*/
.sidebar {
    padding-top: 16px;
}
.sidebar-nav a {
    color: #541d71;
    font-weight: bold;
}
.sidebar-nav.nav-pills .nav-link.active, .sidebar-nav.nav-pills .show>.nav-link {
    color: #FFFFFF;
    background-color: #541d71;
}
@media (max-width:767px) {
    .sidebar {
        padding-top: 40px;
        border-top: 1px solid #EAEAEA;
        margin: 20px 0 40px 0;
    }
}
/* POST INDEX ---------------------------------------------------------------*/
.post-index-content h5 {
    margin-bottom: 5px;
}
.post-index-meta {
    color: #888;
    font-size: 85%;
    margin: 2px 0;
}
.post-index-meta a {
    color: #888;
}
.post-index-item {
    margin: 30px 0 30px 0;
}
.post-index-image {
    max-width: 120px;
    margin-bottom: 10px;
}
.post-index-image img {
    max-width: 100%;
    border-radius: 3px;
}
@media (min-width: 500px) {
    .post-index-item {
        display: grid;
        grid-template-columns: 1fr 140px;
    }
    .post-index-image {
        order: 2;
        margin-left: 15px;
    }
    .post-content {
        order: 1;
    }
}
/* POST SHOW ----------------------------------------------------------------*/
.post-show-title {
    margin-bottom: 8px;
}
.post-show-meta {
    color: #888;
    margin: 0 0 10px 0;
}
.post-show-image {
    max-width: 350px;
    float: right;
    margin-left: 15px;
    margin-bottom: 15px;
}
.post-show-image img {
    max-width: 100%;
}
@media (max-width: 767px) {
    .post-show-image {
        max-width: 250px;
    }
}
@media (max-width: 529px) {
    .post-show-image {
        float:none;
    }
    .post-show-image {
        margin-left: 0;
    }
}
/* ROLES --------------------------------------------------------------------*/

.role-list-entry {
    margin-bottom: 30px;
}
.role-list-entry h5 {
    margin-bottom: 3px;
}
.role-meta {
    /*color: #541d71;*/
    color: #141517;
    font-weight: 600;
    font-size: 85%;
    margin: 2px 0;
    line-height: 1.6;
}
.role-show-meta {
    margin-top: 15px;
    display: grid;
    grid-template-columns: 100px 1fr;
    font-size: 85%;
}
.role-show-meta div:nth-child(even) {
    font-weight: 600;
}

.role-location {
    font-size: 16px;
}
/* OPPORTUNITIES ------------------------------------------------------------*/

.opp-list-entry {
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 150px 1fr;
    grid-column-gap: 15px;
}
.opp-list-image {
    width: 150px;
    height: 150px;
}
.opp-list-entry h5 {
    margin-bottom: 3px;
}
@media (max-width: 449px) {
    .opp-list-entry {
        margin-bottom: 30px;
        display: block;
    }
    .opp-list-image {
        display: none;
    }
}

/* FORMS --------------------------------------------------------------------*/
label.form-required:after {
    content: ' *';
}
form.bold-labels label {
    font-weight: bold;
}

/* EMERGENCY VOLUNTEERING ---------------------------------------------------*/
@media(min-width: 600px) {
    .skills-grid {
        display:grid;
        grid-template-columns: 1fr 1fr;
    }
}
/* FOOTER -------------------------------------------------------------------*/
footer {
    background-color: #111111;
    color: #FFFFFF;
    font-size: 14px;
}
footer .contact {
    padding: 24px;
    max-width: 530px;
}
footer a, footer a:hover, footer a:active, footer a:visited {
    color: #FFFFFF;
}
footer h4 {
    font-weight: 400;
}
.footer-nav a, .footer-nav a:hover, .footer-nav a:active, .footer-nav a:visited {
    color: #c6ae8a;
}
footer ul {
    padding-left: 0;
    margin-bottom: 0;
}
footer ul li {
    list-style-type: none;
}
@media (min-width: 689px) {
    .footer-contact {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* XMAS ---------------------------------------------------------------------*/
.xmas {
    margin: 25px 0;
    color: white;
    font-weight:bold;
    background: #541d71;
    padding: 1em;
    border-radius: 3px;
}

.xmas p:last-child {
    margin-bottom: 0;
}

.xmas a {
    color: white;
    text-decoration: underline;
}
