:root {
    --primary: #7878B7;
    /*--secondary: #7878B7;*/
    --dark: #353535;
    --default_text: #202223;
    --text_heading: #798CAB;
    --text_light_1: #ccc;
    --text_light_2: #999;
    --quick_tab: #ca9a88;
}

@font-face {
  font-family: Aller;
  src: url(fonts/aller/Aller_Lt.ttf);
}

@font-face {
  font-family: AllerBold;
  src: url(fonts/aller/Aller_Bd.ttf);
}

html {
    min-height: 100%;
    width: 100%;
    position: relative;
}

body {
    font-family: Aller, Arial, Verdana, Helvetica;
    font-size: 14px;
    color: var(--default_text);
}

.btn,
.card {
    border-radius: 0;
}

.btn-quick_nav {
    text-transform: uppercase;
    border-width: 3px;
    text-decoration: none;
    border-color: var(--quick_tab);
    color: var(--quick_tab);
    margin-left: .5rem;
    margin-right: .5rem;
    font-size: 1.25rem;
    padding-left: .75rem !important;
    padding-right: .75rem !important;
}

.btn-quick_nav:hover {
    text-decoration: none;
    color: #fff;
    border-color: var(--quick_tab);
    background-color: var(--quick_tab);
}

.btn-quick_nav.active {
    border-color: #484141;
    background-color: #484141;
    color: #fff;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
    color: var(--text_heading);
    font-weight: bold;
    text-transform: uppercase;
    font-family: AllerBold, Arial, Verdana, Helvetica;
}

a {
    color: var(--primary);
    text-decoration: underline;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-light {
    background-color: #d2d3d3 !important;
}


.card {
    text-decoration: none !important;
    color: var(--default_text);
}

.card:hover {
    color: var(--default_text);
    text-decoration: none !important;
    -webkit-box-shadow: 0 0 18px 0 rgba(0,0,0,.38);
    box-shadow: 0 0 18px 0 rgba(0,0,0,.38);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}


/*** HEADER ***/
#html-page_header {
    background-size: cover;
    background-position: center top;
    padding: 4rem 0;
    min-height: 510px;
}

#html-page_header h1 {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

#btn-nav {
    right: 1.5rem;
    top: 1.5rem;
    background: transparent;
    border: 0;
    color: #fff;
    font-weight: 400;
    z-index:999;
    font-size: 1.15rem;
}

#html-nav_bg {
    top: 0;
    left: 0;
    display: none;
    overflow: hidden;
    transition: transform 0.5s;
    text-align: center;

    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 1);
    transition: background-color 0.5s;
}

#html-nav {
    margin: 3rem 0;
}

#html-nav ul,
#html-nav ul li {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

nav li a {
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 1.25rem
}

nav li a:hover {
    background-color: var(--primary);
    color: #fff;
    transition: background-color 0.5s, border-color 0.5s, color 0.5s;
}

body.nav_on #html-nav_bg {
    position: fixed;
    z-index:990;
    display: block;
}

body #btn-nav .fa-times {
    display: none;
}

body.nav_on #btn-nav .fa-bars {
    display: none;
}

body.nav_on #btn-nav .fa-times {
    display: inline-block;
}

/**** FOOTER ****/
footer {
    width: 100%;
}

footer section {
    padding: 2em 0;
}

footer .h3 {
    font-size: 1em;
    color: var(--text_light_1);
    font-weight: bold;
}

#html-footer_main ul li,
#html-footer_main ul li a {
    color: var(--text_light_1);
    text-decoration: none;
}

#html-footer_main ul li a:hover {
    text-decoration: underline;
}

#html-footer_banner {
    background-color: var(--text_heading) !important;
    color: var(--text_light_1) !important;
}

#html-footer_banner a{
    background-color: var(--text_heading) !important;
    text-decoration: none !important;
    color: var(--text_light_1) !important;
}


#html-footer_main {
    background-color: var(--dark);
    color: var(--text_light_1);
}

#html-footer_main ul,
#html-footer_main ul li {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

/** SPEAKERS **/
.row-equal_height > div[class*="col-"] {
    display: flex;
    flex: 1 0 auto;
    margin-bottom: 2rem;
    padding: 0;
}

time {
    font-size: .8rem;
    font-style: italic;
    color: var(--text_light_2);
}

.row-sermon p:last-child {
    margin-bottom: 0;
}

.alert p:last-child{
    margin-bottom: 0;
}

.banner_button {
    max-width: 300px;
    border-radius: 6px;
    text-decoration: none !important;
    color: var(--default_text);
    background-color: #88b8ca;
    display: block;
}
.banner_button:hover {
    background-color: #65a3ba;
    text-decoration: none !important;
    color: var(--default_text);
}

@media all and (max-width: 720px) {
    #html-page_header {
        min-height: unset;
    }
}

.staff_card .card:hover{
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    transform: none !important;
}