html, body {
    font-family: 'Oswald', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.navbar {
    font-size: 1.2em;
}
.navbar-logo {
    max-height: 60px;
}
.navbar-brand {
    font-size: 1.6rem;
}
.navbar-text {
    display: inline-block;
}

.page {
    position: relative;
    flex-direction: column;
}

.main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row ::deep a, .top-row .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
}

.top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

#home {
    background: url(../images/praiseteam.jpg);
    background-position: center;
    background-size: cover;
    display: table;
    height: 100vh;
    position: relative;
    width: 100%;
    padding-top: 80px;
}

#home h1 {
    color: #f5f5f5;
}

.article-list {
    background-color: rgb(222,211,193);
}

.vision-stmt {
    padding: 20px 0 40px 0;
}

.vision-stmt h2 {
    font-weight: bold;
    margin-bottom: 20px;
    color: inherit;
}

.vision-stmt p {
    color: inherit;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 15px auto;
}

.faith-stmt {
    padding: 40px 0 40px 0;
}

.faith-stmt h2 {
    font-weight: bold;
    margin-bottom: 20px;
    padding-top: 40px;
    color: inherit;
}

.faith-stmt .group-title {
    text-transform: uppercase;
    font-weight: bold;
    color: #404040;
    letter-spacing: 2px;
    font-size: 17px;
    padding: 10px;
}

.faith-stmt .group-item {
    color: #7d8285;
    font-size: 18px;
    max-width: 510px;
    margin: 0 auto 15px auto;
}

.faith-stmt p {
    color: inherit;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 15px auto;
}

.elder-list {
    padding: 20px 0 40px 0;
    background-image:url('../images/shepherd.jpg'); 
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center;
    background-color: rgba(0,0,0,0.1);
    background-blend-mode: darken;
}

.elder-list .group-title {
    text-transform: uppercase;
    font-weight: bold;
    color: #404040;
    letter-spacing: 2px;
    font-size: 13px;
    padding: 10px;
}

.elder-list h2 {
    font-weight: bold;
    margin-bottom: 20px;
    padding-top: 40px;
    color: inherit;
}

.elder-list p {
    color: #494545;
    font-size: 18px;
    max-width: 500px;
    margin: 0 auto 15px auto;
}

.elder-list .item {
    font-size: 20px;
    color: #7d8285;
}

.elder-list ul {
    list-style: none;
}

.deacon-list {
    background-color: rgb(222,211,193);
    padding: 20px 0 40px 0;
}

.deacon-list .group-title {
    text-transform: uppercase;
    font-weight: bold;
    color: #404040;
    letter-spacing: 2px;
    font-size: 13px;
    padding: 10px;
}

.deacon-list h2 {
    font-weight: bold;
    margin-bottom: 20px;
    padding-top: 40px;
    color: inherit;
}

.deacon-list p {
    color: #7d8285;
    font-size: 18px;
    max-width: 500px;
    margin: 0 auto 15px auto;
}

.deacon-list .item {
    font-size: 20px;
    color: #7d8285;
}

.deacon-list ul {
    list-style: none;
}

#spanishworship {
    background: url(../images/spanishworship.jpg);
    background-position: center;
    background-size: cover;
    display: table;
    height: 100vh;
    position: relative;
    width: 100%;
    padding-top: 80px;
}

@media (max-width: 768px) {
    #home {
        height: 60vh;
    }
    #spanishworship {
        height: 60vh;
    }
}
@media (max-width: 640.98px) {
    .top-row:not(.auth) {
        display: none;
    }

    .top-row.auth {
        justify-content: space-between;
    }

    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
