/* Styles shared by all pages */
@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&family=Outfit:wght@100..900&display=swap');

* {
    padding: 0px;
    margin: 0px;
    font-family: 'Karla', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.logo {
    max-height: 110px;
}

.logoSmall {
    max-height: 80px;
}

#theNavBar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    background: linear-gradient(#ffffff, #CCCCCC, #CCCCCC, #aaaaaa);
    border-bottom: 10px solid #E60B2B;
}

#leftNav {
    align-items: center;
}

#rightNav {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

#mobileNav {
    display: none;
}

#topRightNav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-bottom: 4px solid #0030AC;
    padding: 10px;
}

#topRightNav * {
    padding: 0px 10px;
}

#bottomRightNav {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-grow: 1;
}

#bottomRightNav a {
    font-size: larger;
}

.phoneLink {
    position: relative;
    display: inline-block;
    font-size: x-large;
    font-weight: bold;
    color: #E60B2B;
    text-decoration: none;
}

.phoneLink:hover{
    background-color: #E60B2B;
    color: white;
    border-radius: 4px;
    transition: all 0.2s ease-in;
}

.phoneLinkBlue {
    font-size: x-large;
    font-weight: bold;
    color: #0030AC;
    text-decoration: none;
}

.phoneLinkBlue:hover{
    background-color: #0030AC;
    color: white;
    border-radius: 4px;
    transition: all 0.2s ease-in;
}

.fakeButton {
    background-color: #E60B2B;
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    font-size: large;
    border-radius: 5px;
}

.fakeButtonLarge {
    background-color: #E60B2B;
    text-decoration: none;
    color: white;
    padding: 15px 25px;
    font-weight: bold;
    font-size: larger;
    border-radius: 5px;
}

.fakeButton:hover, .fakeButtonLarge:hover {
    background-color: #0030AC;
    transition: background-color 0.2s ease-in;
    cursor: pointer;
}

.navBarLink {
    text-decoration: none;
    color: black;
    padding: 0 10px;
    font-size: medium;
}

.navBarLink:hover{
    background-color: #E60B2B;
    border-radius: 4px;
    color: white;
    transition: background-color 0.2s ease-in;
}

#mobileLogo {
    max-height: min(110px, 15vw);
}

.mainContainer{
    background-color: white;
}

textarea {
    resize: none;
}

.bannerLarge{
    font-size: larger;
    background: url('../img/JR11.jpg');
    background-size: cover;
    background-position-y: top;
    text-align: center;
    padding: 40px 20px;
    margin-top: 10px;
    color: #ffffff;
    background-color: rgba(0, 0, 139, 0.5);
    background-blend-mode: multiply;
    border-bottom: 5px #0030AC solid;
}

.fadeOverlayRight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 30%, white 100%);
}

.fadeOverlayLeft {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 30%, white 100%);
}

.mainContainer{
    max-width: 2400px;
    margin: auto;
}

/* Desktop Footer */

#desktopFooter{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 150px;
    padding: 20px 0px;
    background: linear-gradient(#ffffff, #CCCCCC, #CCCCCC, #aaaaaa);
    border-top: 10px solid #E60B2B;
}

#desktopFooter div{
    text-align: center;
    padding: 0px 40px;
}

#footerLeft{
    display: flex;
    flex-direction: column;
}
#footerCenter * {
    margin-bottom: 10px;
}
#footerRight{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    flex-wrap: wrap;
    height: 100%;
    width: 33%;
}

#footerRight a{
    padding: 10px;
    width: 50%;
    text-align: center;
}

/* Mobile Footer */

#mobileFooter {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(#ffffff, #CCCCCC, #CCCCCC, #aaaaaa);
    border-top: 10px solid #E60B2B;
    height: auto;
    flex-wrap: wrap;
}

#mobileFooter div {
    text-align: center;
    padding: 10px;
}

.footerLink {
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    color: black;
    max-width: 100%;
    display: block;
}

.footerLink:hover{
    color: white;
    background-color: #0030AC;
    color: white;
    border-radius: 4px;
    transition: all 0.2s ease-in;
}

#footerRight a, #mobileFooterRight a {
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    color: black;
    max-width: 100%;
    display: block;
}

#footerRight a:hover, #mobileFooterRight a:hover {
    background-color: #E60B2B;
    color: white;
    border-radius: 4px;
    transition: all 0.2s ease-in;
}

#mobileFooterLeft {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

#mobileFooterRight {
    display: flex;
    justify-content: space-around;
    flex: 1;
}

#mfrLeftColumn, #mfrRightColumn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
}

#mfrLeftColumn a, #mfrRightColumn a {
    padding: 5px 0;
    width: 100%;
}



/* Dropdown Styles */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: block;
    position: absolute;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    width: 200px;
    top: 150%;
    left: -50px;
    z-index: 15;
    padding: 5px 0;
}

.dropdown-content a {
    display: block;
    padding: 10px;
    color: black;
    text-decoration: none;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #0030AC;
    color: white;
}

#scheduleItem {
    background-color: #E60B2B;
    color: white;
    font-weight: bold;
}

/* Media Queries */

/* Changing navbar to compact */
@media (max-width: 1100px) {
    #leftNav {
        display: none;
    }

    #rightNav {
        display: none;
    }

    #mobileNav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-grow: 1;
        padding: 10px;
        background-color: #CCCCCC;
    }

    .banner * {
        font-size: 1.5rem;
    }
}

@media (max-width: 950px) {
    #desktopFooter div{
        padding-left: 20px;
    }
    #footerRight a{
        font-size: medium;
    }
}

/* Changing footer to compact */
@media (max-width: 800px) {
    #desktopFooter{
        display: none;
    }
    #mobileFooter{
        display: flex;
    }
}

@media (max-width: 500px) {
    .fakeButton {
        font-size: medium;
        padding: 5px;
    }
    #mobileFooterRight a{
        font-size: medium;
    }
}
