@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,700');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');

html,
body {
    height: 100%;
    width: 100%;
    font-family: 'Poppins', 'Roboto', Arial, Impact;
    color: #222;
}

footer {
    background-color: #1d1d1d;
    color: #d5d5d5;
    margin-top: 1rem;
    padding-top: 2rem;
}

footer a {
    color: #d5d5d5;
}

footer a:hover {
    color: #d22030;
    text-decoration: none;
}

footer p {
    font-family: 'Roboto';
    font-size: 14px;
}

hr.light {
    border-top: 1px solid #d5d5d5;
    width: 75%;
    margin-top: .8rem;
    margin-bottom: 1rem;
}

hr.light-100 {
    border-top: 1px solid #d5d5d5;
    width: 100%;
    margin-top: .8rem;
    margin-bottom: 1rem;
}

input[type="checkbox"] {
    display: none;
}

nav {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: start;
    align-items: center;
    background-color: #e9ecef;
    margin-bottom: 1rem;
    position: relative;
    /* Fallback */
    position: -webkit-sticky;
    /* Fallback */
    position: sticky;
    /* This makes the element stay on top when scrolled past - but since its parent is "body" and the content actually extends beyond regular body size with this layout, it will scroll away after one screen worth of vertical space! */
    top: -1px;
    z-index: 3000;
}

nav ul {
    margin-bottom: 0;
    padding-inline-start: 1px;
    z-index: 11;
    background-color: #e9ecef;
}

nav ul li {
    display: inline-block;
    color: #d22030;
    text-shadow:
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000;
    text-transform: uppercase;
    font-size: 21px;
    padding: 0 10px;
}

nav ul li a {
    color: #d22030;
}

nav ul li a:hover {
    color: #d22030;
    text-shadow:
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000;
}

.active-link {
    text-decoration: underline;
}

.article p {
    font-family: Arial;
    margin-bottom: 20px;
}

.article span {
    margin-bottom: 20px;
}

.article ul {
    font-family: Arial;
    margin-bottom: 20px;
    padding-inline-start: 1.05rem;
}

.article li {
    margin-bottom: 10px !important;
}

.article-author {
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 0;
}

.article-author a {
    color: #d22030;
}

.article-date {
    color: #939393;
    padding-left: .5rem;
}

.article-notes {
    margin-bottom: 5px !important;
}

.article-title {
    font-family: 'Roboto';
}

.athletics {
    background-color: #e9ecef;
    margin-top: 1rem;
    padding-bottom: .1px;
}

.athletics-title {
    background: rgb(239, 178, 30);
    background: linear-gradient(90deg, rgba(239, 178, 30, 1) 35%, rgba(0, 56, 49, 1) 100%);
    color: white;
    text-shadow:
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000;
    margin-bottom: 0;
    text-align: left;
    padding-left: 15.75px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 100%;
}

.btn-outline-secondary {
    color: #222;
    background-color: #e9ecef;
    border-color: #222;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-primary {
    background-color: #6648b1;
    border: 1px solid #6648b1;
}

.btn-primary:hover {
    background-color: #563d7c;
    border: 1px solid #563d7c;
}

.btnbg {
    background-color: rgba(0, 0, 0, 0);
    border: none;
}

.btnbg a {
    background-color: #fff;
}

.card {
    border-radius: 0;
    margin: 1rem;
}

.card-body .download {
    float: right;
    font-size: 90%;
}

.card-body .gallery {
    font-size: 90%;
}

.card-body .listen {
    font-size: 90%;
}

.card-body .watch {
    font-size: 90%;
}

.card-img,
.card-img-top {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.card-text {
    font-size: 95%;
}

.card-text-credit {
    font-size: 70%;
}

.card-text-photo {
    margin-bottom: .7rem;
    font-size: 95%;
}

.card-text-teams {
    font-size: 95%;
}

.carousel-caption-basw h1 {
    background-color: rgb(0, 0, 0, .5);
    font-size: 200%;
    text-transform: uppercase;
    text-shadow: 1px 1px 15px #000;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    padding: 10px 9px;
    transform: translateY(9px);
    color: #fff;
    text-align: center;
}

.carousel-caption-basw h2 {
    background-color: rgb(0, 0, 0, .3);
    font-size: 125%;
    text-transform: uppercase;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    padding: 10px 10px 10px 10px;
    color: #fff;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
}

.carousel-inner img {
    width: 100%;
    height: 100%;
}

.connect a {
    font-size: 1.7em;
    margin-left: .6rem;
    margin-right: .6rem;
}

.dropdown-item {
    color: #d22030;
    padding: .5rem;
}

.dropdown-item:active {
    /* Same style as :focus and :hover */
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa;
}

.dropdown-menu {
    background: #e9ecef;
    border: none;
    padding-top: 8px !important;
    padding-bottom: 0 !important;
    font-size: 21px;
    border-left: 2px solid #d22030;
    border-right: 2px solid #d22030;
    border-bottom: 2px solid #d22030;
    border-radius: 0 !important;
    top: 27.5px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-toggle::after {
    display: none;
}

.bay-fc {
    background-color: #e9ecef;
    margin-top: 2rem;
    padding-bottom: .1px;
}

.bay-fc-title {
    background: rgb(240, 82, 77);
    background: linear-gradient(90deg, rgba(240, 82, 77, 1) 35%, rgba(10, 32, 50, 1) 100%);
    color: white;
    text-shadow:
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000;
    margin-bottom: 0;
    text-align: left;
    padding-left: 15px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 100%;
}

.earthquakes {
    background-color: #e9ecef;
    margin-top: 2rem;
    padding-bottom: .1px;
}

.earthquakes-title {
    background: rgb(48, 69, 122);
    background: linear-gradient(90deg, rgba(48, 69, 122, 1) 35%, rgba(31, 31, 31, 1) 100%);
    color: white;
    text-shadow:
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000;
    margin-bottom: 0;
    text-align: left;
    padding-left: 15px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 100%;
}

.facebook-page {
    background-color: #e9ecef;
    margin-top: 2rem;
    padding-bottom: .1px;
}

.fa-facebook {
    color: #3b5998;
}

.fa-instagram {
    color: #e95950;
}

.fa-itunes {
    color: #5a7bff;
}

.fa-youtube {
    color: #bb0000;
}

.fa-facebook:hover,
.fa-instagram:hover,
.fa-itunes:hover,
.fa-youtube:hover {
    color: #d5d5d5;
}

.forty-niners {
    background-color: #e9ecef;
    margin-top: 2rem;
    padding-bottom: .1px;
}

.forty-niners-title {
    background: rgb(201, 36, 63);
    background: linear-gradient(90deg, rgba(201, 36, 63, 1) 35%, rgba(200, 170, 118, 1) 100%);
    color: white;
    text-shadow:
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000;
    margin-bottom: 0;
    text-align: left;
    padding-left: 15.75px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 100%;
}

.giants {
    background-color: #e9ecef;
    margin-top: 1rem;
    padding-bottom: .1px;
}

.giants-title {
    background: rgb(255, 72, 25);
    background: linear-gradient(90deg, rgba(255, 72, 25, 1) 35%, rgba(0, 0, 0, 1) 100%);
    color: white;
    text-shadow:
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000;
    margin-bottom: 0;
    text-align: left;
    padding-left: 15.75px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 100%;
}

.headlines {
    background-color: #e9ecef;
    margin-bottom: 1rem;
}

.headlines-link {
    font-family: Arial;
    font-size: 1rem;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 0;
}

.headlines-link a {
    color: #222;
}

.headlines-link-hr {
    margin-left: 15px;
    margin-right: 15px;
}

.headlines-title {
    background: rgb(210, 32, 48);
    background: linear-gradient(90deg, rgba(210, 32, 48, 1) 35%, rgba(0, 0, 0, 1) 100%);
    color: white;
    text-shadow:
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000;
    text-align: left;
    padding-left: 13px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 100%;
}

.img-frame {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.latest-audio {
    background-color: #e9ecef;
    margin-bottom: 2rem;
    padding-bottom: .1px;
}

.latest-audio-title {
    background: rgb(210, 32, 48);
    background: linear-gradient(90deg, rgba(210, 32, 48, 1) 35%, rgba(0, 0, 0, 1) 100%);
    color: white;
    text-shadow:
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000;
    margin-bottom: 0;
    text-align: left;
    padding-left: 15px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 100%;
}

.latest-galleries {
    background-color: #e9ecef;
    padding-bottom: .1px;
}

.latest-galleries-title {
    background: rgb(210, 32, 48);
    background: linear-gradient(90deg, rgba(210, 32, 48, 1) 35%, rgba(0, 0, 0, 1) 100%);
    color: white;
    text-shadow:
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000;
    margin-bottom: 0;
    text-align: left;
    padding-left: 15px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 100%;
}

.latest-video {
    background-color: #e9ecef;
    margin-bottom: 2rem;
    padding-bottom: .1px;
}

.latest-video-title {
    background: rgb(210, 32, 48);
    background: linear-gradient(90deg, rgba(210, 32, 48, 1) 35%, rgba(0, 0, 0, 1) 100%);
    color: white;
    text-shadow:
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000;
    margin-bottom: 0;
    text-align: left;
    padding-left: 15px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 100%;
}

.logo {
    margin-left: 15px;
    margin-right: 15px;
}

.nav-link {
    padding: 0;
}

.padding {
    padding-bottom: 2rem;
}

.photo-credit {
    color: #939393;
    font-size: .75rem;
    font-weight: 300;
    padding-top: .25rem;
    text-align: right;
}

.raiders {
    background-color: #e9ecef;
    margin-top: 2rem;
    padding-bottom: .1px;
}

.raiders-title {
    background: rgb(0, 0, 0);
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 35%, rgba(196, 201, 204, 1) 100%);
    color: white;
    text-shadow:
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000;
    margin-bottom: 0;
    text-align: left;
    padding-left: 15.25px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 100%;
}

.red-link {
    color: #d22030;
}

.red-link:hover {
    color: #d22030;
}

.barracuda {
    background-color: #e9ecef;
    margin-top: 2rem;
    padding-bottom: .1px;
}

.barracuda-title {
    background: rgb(0, 98, 114);
    background: linear-gradient(90deg, rgba(0, 98, 114, 1) 35%, rgba(229, 114, 0, 1) 100%);
    color: white;
    text-shadow:
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000;
    margin-bottom: 0;
    text-align: left;
    padding-left: 15.25px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 100%;
}

.share-social {
    text-align: left;
    padding-bottom: 1rem;
    padding-left: 0;
    padding-right: 0;
    margin-top: 1rem;
    /* Will collapse with photo credits margin, but will keep a distance if there is no photo credit at all */
}

.share-social a {
    margin-left: .75rem;
    margin-right: .75rem;
}

.sharks {
    background-color: #e9ecef;
    margin-top: 2rem;
    padding-bottom: .1px;
}

.sharks-title {
    background: rgb(0, 110, 127);
    background: linear-gradient(90deg, rgba(0, 110, 127, 1) 35%, rgba(0, 0, 0, 1) 100%);
    color: white;
    text-shadow:
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000;
    margin-bottom: 0;
    text-align: left;
    padding-left: 15.25px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 100%;
}

.top-divider {
    margin-top: 10px;
}

.topper:hover {
    text-decoration: underline;
}

.under-tweet {
    margin-top: 1.25rem;
}

.article div:has(> iframe) {
margin-bottom: 20px;
}

.valkyries {
    background-color: #e9ecef;
    margin-top: 2rem;
    padding-bottom: .1px;
}

.valkyries-title {
    background: rgb(184, 150, 212);
    background: linear-gradient(90deg, rgba(184, 150, 212, 1) 35%, rgba(0, 0, 0, 1) 100%);
    color: white;
    text-shadow:
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000;
    margin-bottom: 0;
    text-align: left;
    padding-left: 15px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 100%;
}

.warriors {
    background-color: #e9ecef;
    margin-top: 2rem;
    padding-bottom: .1px;
}

.warriors-title {
    background: rgb(29, 66, 138);
    background: linear-gradient(90deg, rgba(29, 66, 138, 1) 35%, rgba(255, 199, 44, 1) 100%);
    color: white;
    text-shadow:
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000;
    margin-bottom: 0;
    text-align: left;
    padding-left: 16px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 100%;
}

.wrapper-top {
    background-color: #e9ecef;
    padding-top: 5px;
}

.wrapper-top img {
    vertical-align: -6.5%
}

#box-2:checked~#search-form {
    transform: scale(1, 1);
}

#box-2:checked~#search-form-opener {
    display: none;
}

#box-2:checked~#search-form-closer {
    display: flex;
}

#facebook-share {
    margin-left: 0;
    margin-right: .5rem;
}

#headlines-link-newest {
    padding-top: 10px;
}

#headlines-link-oldest {
    padding-bottom: 15px;
}

#more {
    left: -40px !important;
}

#navbar-form {
    position: relative;
    display: inline-flex;
    margin-left: 3px;
}

#search-bar {
    width: 290px;
    height: 40px;
    padding: 10px;
    color: #000;
    font-size: 18px;
    outline: none;
}

#search-btn {
    width: 80px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #fff;
    border: none;
    outline: none;
    background-color: #414141;
}

#search-btn:hover {
    color: green;
    background-color: #414141;
}

#search-form {
    display: inline-flex;
    width: 370px;
    height: 40px;
    position: absolute;
    right: 100%;
    transform: scale(0, 0);
    transform-origin: center right;
    transition: 0.4s transform linear;
    z-index: 12;
}

#search-form-opener {
    width: 60px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #d22030;
    font-size: 25px;
    font-weight: bolder;
    margin-bottom: 0;
    cursor: pointer;
}

#search-form-opener:hover {
    color: black;
}

#search-form-closer {
    width: 60px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 25px;
    font-weight: bolder;
    background-color: rgba(0, 0, 0, 0.65);
    display: none;
    margin-bottom: 0;
}

#search-form-closer:hover {
    color: #d22030;
}

#toggler {
    width: 100px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #d22030;
    font-weight: bolder;
    font-size: 20px;
    border: 1px solid #d22030;
    display: none;
    margin-top: 15px;
    margin-bottom: 0;
    margin-left: 10px;
}

#toggler:hover {
    color: black;
    border-color: black;
}

/* Hamburger menu */
/*
    Contains code by Jonathan Suh
    LICENSE:

    The MIT License (MIT)

    Copyright (c) 2016 Jonathan Suh <hello@jonsuh.com> (jonsuh.com)

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
*/
.hamburger {
    font: inherit;
    display: inline-block;
    overflow: visible;
    margin: 0;
    padding: 0;
    cursor: pointer;
    transition-timing-function: linear;
    transition-duration: .15s;
    transition-property: opacity,filter;
    text-transform: none;
    color: inherit;
    border: 0;
    background-color: transparent;
}

.mobile-nav-open .hamburger:hover,.hamburger:hover {
    opacity: .7
}

.mobile-nav-open .hamburger .hamburger-inner,.mobile-nav-open .hamburger .hamburger-inner:after,.mobile-nav-open .hamburger .hamburger-inner:before {
    background-color: currentColor;
}

.hamburger-box {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 14px;
}

.hamburger-inner {
    top: 50%;
    display: block;
    margin-top: -2px
}

.hamburger-inner,.hamburger-inner:after,.hamburger-inner:before {
    position: absolute;
    width: 20px;
    height: 4px;
    transition-timing-function: ease;
    transition-duration: .15s;
    transition-property: transform;
    border-radius: 4px;
    background-color: currentColor;
}

.hamburger-inner:after,.hamburger-inner:before {
    display: block;
    content: ""
}

.hamburger-inner:before {
    top: -7px;
}

.hamburger-inner:after {
    bottom: -7px;
}

.hamburger--spin .hamburger-inner {
    transition-timing-function: cubic-bezier(.55,.055,.675,.19);
    transition-duration: .22s
}

.hamburger--spin .hamburger-inner:before {
    transition: top .1s ease-in .25s,opacity .1s ease-in
}

.hamburger--spin .hamburger-inner:after {
    transition: bottom .1s ease-in .25s,transform .22s cubic-bezier(.55,.055,.675,.19)
}

.mobile-nav-open .hamburger--spin .hamburger-inner {
    transition-delay: .12s;
    transition-timing-function: cubic-bezier(.215,.61,.355,1);
    transform: rotate(225deg)
}

.mobile-nav-open .hamburger--spin .hamburger-inner:before {
    top: 0;
    transition: top .1s ease-out,opacity .1s ease-out .12s;
    opacity: 0
}

.mobile-nav-open .hamburger--spin .hamburger-inner:after {
    bottom: 0;
    transition: bottom .1s ease-out,transform .22s cubic-bezier(.215,.61,.355,1) .12s;
    transform: rotate(-90deg)
}
/* End of section containing code by Jonathan Suh */

.taglet {
    font-family: 'Impact';
    font-size: 18px;
    padding-right: 0;
}


/*---Media Queries --*/
@media (max-width: 991px) {
    .athletics {
        margin-top: 0;
    }

    .carousel-caption-basw h1 {
        font-size: 180%;
    }

    .carousel-caption-basw h2 {
        font-size: 112.5%;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 27px;
        height: 27px;
    }

    .giants {
        margin-top: 0;
    }

    .headlines {
        margin-top: 1rem;
    }

    .latest-audio {
        margin-top: 1rem;
    }

    .padding {
        padding-bottom: 2rem;
    }

}


@media (max-width: 767px) {
    nav ul {
        position: absolute;
        top: 143px;
        left: -100%;
        width: 100%;
        text-align: center;
        transition:  left 0.8s ease-in-out;
    }

    nav ul li {
        display: block;
        padding: 20px 0px;
        clear: both;
    }

    .article-title {
        font-size: 2.25rem;
    }

    .athletics {
        margin-top: 0;
    }

    .card-body .download {
        float: right;
        font-size: 69%;
    }

    .card-body .gallery {
        font-size: 69%;
    }

    .card-body .listen {
        font-size: 69%;
    }

    .card-body .watch {
        font-size: 69%;
    }

    .carousel-caption-basw h1 {
        font-size: 162%;
    }

    .carousel-caption-basw h2 {
        font-size: 101.25%;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 24px;
        height: 24px;
    }

    .display-4 {
        font-size: 200%;
    }

    nav {
        justify-content: space-between;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown>a:after {
        content: '\25BE';
    }

    .dropdown.mobile-expanded .dropdown-menu {
        display: block;
        position: static;
        width: 100%;
        text-align: center;
        font-size: 80%;
        margin-bottom: 1.5rem;
        border: 0;
    }

    .dropdown.mobile-expanded>a:after {
        content: '\25B4';
    }

    .giants {
        margin-top: 0;
    }

    .headlines {
        margin-top: 1rem;
    }

    .latest-audio {
        margin-top: 1rem;
    }

    .padding {
        padding-bottom: 2rem;
    }

    #box-1:checked~ul {
        left: 0;
    }

    #toggler {
        display: flex;
    }

    nav > ul {
        position: fixed;
        top: 149px; /* Fallback - this will get overwritten by JavaScript with the actual position */
        bottom: 0;
        overflow: auto;
    }

    body.mobile-nav-open {
        overflow: hidden;
    }
}


@media (max-width: 575px) {
    .article-title {
        font-size: 2rem;
    }

    .athletics {
        margin-top: 2rem;
    }

    .card-body .download {
        float: right;
        font-size: 90%;
    }

    .card-body .gallery {
        font-size: 90%;
    }

    .card-body .listen {
        font-size: 90%;
    }

    .card-body .watch {
        font-size: 90%;
    }

    .carousel-caption-basw h1 {
        font-size: 130%;
    }

    .carousel-caption-basw h2 {
        font-size: 85%;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .connect a {
        font-size: 1.3em;
        margin-left: .5rem;
        margin-right: .5rem;
    }

    .connect img {
        vertical-align: -12%;
        width: 98.6px;
        height: 22.1px;
    }

    .display-4 {
        font-size: 160%;
    }

    nav {
        justify-content: space-between;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown>a:after {
        content: '\25BE';
    }

    .dropdown.mobile-expanded .dropdown-menu {
        display: block;
        position: static;
        width: 100%;
        text-align: center;
        font-size: 80%;
        margin-bottom: 1.5rem;
        border: 0;
    }

    .dropdown.mobile-expanded>a:after {
        content: '\25B4';
    }

    .giants {
        margin-top: 2rem;
    }

    .headlines {
        margin-top: 1rem;
    }

    .latest-audio {
        margin-top: 0;
    }

    .taglet {
        font-size: 14px;
    }

    .padding {
        padding-bottom: 0;
    }

    #search-bar {
        width: 217.5px;
        height: 30px;
        font-size: 13.5px;
    }

    #search-btn {
        width: 60px;
        height: 30px;
        font-size: 13.5px;
    }

    #search-form {
        width: 263.75px;
        height: 30px;
    }

    #search-form-opener {
        width: 45px;
        height: 30px;
        font-size: 18.75px;
    }

    #search-form-closer {
        width: 45px;
        height: 30px;
        font-size: 18.75px;
    }

}


/*---Firefox Bug Fix --*/
.carousel-item {
    transition: -webkit-transform 0.5s ease;
    transition: transform 0.5s ease;
    transition: transform 0.5s ease, -webkit-transform 0.5s ease;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
}

/* Give carousel a fixed aspect ratio of 12:7 regardless of image size */
.carousel-inner {
    position: relative;
    padding-top: 58.3333%;
    /* This works because padding % values are always relative to width, even for vertical padding */
}

.carousel-item {
    position: absolute;
    /* Counteract the padding */
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.carousel-item img {
    object-fit: cover;
    /* Avoid distortion */
}

/* Post list styling (instead of individual classes) */
.post-list {
    margin-top: 1rem;
    padding-bottom: .1px;
}

.post-list.narrow-post-list,
.post-list.headlines {
    background-color: #e9ecef;
}

.narrow-post-list .img-fluid {
    width: 100%;
}

.sidebar .post-list h2 {
    font-size: 1.65rem;
}

.post-list:first-child {
    margin-top: 0;
}

.post-list-title {
    text-align: left;
    padding-left: 13px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 100%;
    text-transform: uppercase;
}

.wide-post-list .img-fluid {
    display: block;
    margin: auto;
}

.wide-post-list hr {
    margin-left: 0;
    margin-right: 0;
}

.date {
    font-size: 75%;
}

@media (min-width: 992px) {
    .description {
        padding-left: 0;
    }
}

.description a {
    color: #222;
    font-weight: 500;
}

.article-category-header,
.article-category-header:hover {
    color: #d22030;
    text-shadow:
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000;
    font-size: 2rem;
    margin-bottom: 0;
    text-align: left;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 100%;
}

.article-category-header:hover {
    text-decoration: none;
}

/* Profiles */
.about-basw {
    padding-right: 0;
}

.about-basw-connect {
    font-size: 1.5rem;
    padding-left: .5rem;
    margin-bottom: 2rem;
}

.about-basw-connect a {
    padding-left: .5rem;
    padding-right: .5rem;
}

.connect-name {
    margin-bottom: 0;
    text-align: left;
    font-size: 1.5rem;
}

.fa-envelope:hover,
.fa-twitter:hover {
    color: #d5d5d5;
}

.latest-name {
    background-color: #e9ecef;
    padding-bottom: .1px;
}

.latest-name-title {
    background: rgb(210, 32, 48);
    background: linear-gradient(90deg, rgba(210, 32, 48, 1) 35%, rgba(0, 0, 0, 1) 100%);
    color: white;
    text-shadow:
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 0 #000;
    font-size: 1.65rem;
    margin-bottom: 0;
    text-align: left;
    padding-left: 15.75px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 100%;
}

.name {
    color: #d22030;
}

/*---Media Queries --*/
@media (max-width: 991px) {
    .about-basw-connect {
        font-size: 1.25rem;
    }

    .connect-name {
        font-size: 1.25rem;
    }

    #slogan {
    	vertical-align: -27.5%;
    }
}

@media (max-width: 767px) {
    .about-basw {
        padding-right: 15px;
    }
}

@media (max-width: 575px) {
    .about-basw {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 2rem;
    }

    .about-basw-connect {
        font-size: 1.1rem;
        padding-bottom: 2rem;
    }

    .connect-name {
        font-size: 1.1rem;
    }

    #slogan {
    	vertical-align: -55%;
    }
}

/* Team category title styles */
.athletics-header,
.athletics-header:hover {
    color: rgb(239, 178, 30);
}

.barracuda-header,
.barracuda-header:hover {
    color: rgb(0, 98, 114);
}

.bay-fc-header,
.bay-fc-header:hover {
    color: rgb(240, 82, 77);
}

.earthquakes-header,
.earthquakes-header:hover {
    color: rgb(48, 69, 122);
}

.forty-niners-header,
.forty-niners-header:hover {
    color: rgb(201, 36, 63);
}

.giants-header,
.giants-header:hover {
    color: rgb(255, 72, 25);
}

.raiders-header,
.raiders-header:hover {
    color: rgb(0, 0, 0);
}

.sharks-header,
.sharks-header:hover {
    color: rgb(0, 110, 127);
}

.valkyries-header,
.valkyries-header:hover {
    color: rgb(184, 150, 212);
}

.warriors-header,
.warriors-header:hover {
    color: rgb(29, 66, 138);
}

/* Overwrite default centered styling for Twitter embed */
.twitter-tweet {
    margin: 1.5rem 0 !important;
}

/* Don't show images and embeds inside summaries */
.summary img,
.summary iframe {
    display: none !important;
}

/* Fix navbar scroller and search bar on ultra-narrow screens */
@media (max-width: 359px) {
    #toggler {
        font-size: 15px;
    }

    #search-form {
        width: 235px;
    }

    #search-bar {
        width: 175px;
    }
}

/* Masonry sizer element */
.masonry-sizer {
    margin: 0;
    padding: 0;
    height: 0;
}

/* Hover effect on subscribe button */
.connect .subscribe:hover {
    filter: grayscale(1) brightness(4);
}
