@keyframes starFlash {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}

.media_title_outlet {
    font-weight: bold;
    font-style: normal;
}

.media_title {
    font-size: 0.9em;
    font-weight: normal;
    font-style: italic;
}

.media_video p {
    position: relative;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
}

.media_video:hover {
    background-color: #88888850;
}

.media_video {
    background-color: #88888821;
    border-radius: 15px;
    margin: 0 0 2em 0;
}

.media_video_content_wrapper {
    display: flex;
    align-items: flex-start;    
    margin-top: -1em;
}

.media_video_image {
    width: 50%;
    padding: 0 1em 1em 1em;
    box-sizing: border-box;
}

.media_video_text {
    width: 50%;
    box-sizing: border-box;
    margin-right: 1em;
}

.media_video_image img {
    position: relative;
    width: 100%;
    border-radius: 15px;
}

.finance_decoder_tip {
    display: block;
    border-radius: 15px;
    background-color: #FFB549;
    padding: 1em;
    margin: 0 auto;
    width: 75%;
}

.finance_decoder_content_wrapper {
    display: flex;
    align-items: flex-start;
    margin-top: 1em;
}

.finance_decoder:hover {
    background-color: #88888850;
}
.finance_decoder {
    background-color: #88888821;
    border-radius: 15px;
    margin: 0 0 2em 0;
    width: 100%;
    padding-bottom: 1em;
}

.finance_decoder p {
    position: relative;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
}

.finance_decoder_image {
    width: 50%;
    padding: 0 1em 1em 1em;
    box-sizing: border-box;
}

.finance_decoder_image img {
    position: relative;
    width: 100%;
    border-radius: 15px;
}

.finance_decoder_text {
    width: 50%;
    box-sizing: border-box;
    margin-right: 1em;
}

h1 {
    font-family: 'Georgia', serif; 
    color: black;
    z-index: 900;
    font-weight: bold;
}

h5 {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
  }

.BG-0C2340 {
    background-color: #0C2340;
    color: white;
}

.BG-A6C6ED {
    background-color: #A6C6ED;
}

.BG-FFB549 {
    background-color: #FFB549;
}

.BG-TRANS {
    background-color: #888888;
}

#active {
    text-decoration: underline;
    text-decoration-thickness: 3px; /* Adjust thickness */
    text-underline-offset: 5px; /* Adjust space between underline and text */
}

.add-calendar-button {
    position: absolute;
    font-family: 'Arial', sans-serif;
    margin-top: -5em; /* Move button up */
    width: 20%;
    left: 3%;
    opacity: 1;
    background-color: #FFB549; /* Yellow color */
    color: rgba(10, 35, 63, 1); /* Same blue as the header text */
    padding: 5px 10px;
    border: none;
    border-radius: 25px; /* Rounded corners */
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    display: block;
    font-size: 1em; /* Larger text size */
    transition: background-color 0.1s ease;
    cursor: pointer;
}

.add-to-calendar {
    display: none;
    flex-direction: column;
    background-color: rgba(10, 35, 63, 1);
    border: solid 5px rgb(22, 67, 123);
    width: 50%;
    position: absolute;
    top: 150px;
    left: 100px;
    text-align: left;
    border-radius: 10px;
    z-index: 1000;
}

.add-to-calendar a {
    margin: 5px;
    padding: 5px 10px;
    font-family: 'Arial', sans-serif;
    color: white; /* Change link color to white */
    background-color: rgba(10, 35, 63, 1);
    border-radius: 15px;
    text-decoration: none;
    cursor: pointer;
}

.add-to-calendar p {
    color: white;
    margin: 5px 0;
    padding: 5px 10px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
}

.btn-yellow {
    position: relative;
    font-family: 'Arial', sans-serif;
    margin-top: -7em; /* Move button up */
    width: 30%;
    left: 3%;
    opacity: 1;
    background-color: #FFB549; /* Yellow color */
    color: rgba(10, 35, 63, 1); /* Same blue as the header text */
    padding: 5px 10px;
    border: none;
    border-radius: 25px; /* Rounded corners */
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    display: block;
    font-size: 1em; /* Larger text size */
    transition: background-color 0.1s ease;
}

.btn-yellow img {
    position: relative;
    top: 5px;
    left: -5px;
    transition: filter 0.1s ease;
}

.btn-yellow-container {
    text-align: center;
    display: inline-block;
    width: 100%;
    position: relative !important;
    margin-top: -250px !important;
}

.btn-yellow-inline {
    position: relative;
    font-family: 'Arial', sans-serif;
    margin: -2em 0; /* Move button up */
    width: 30%;
    left: 35%;
    opacity: 1;
    background-color: #FFB549; /* Yellow color */
    color: rgba(10, 35, 63, 1); /* Same blue as the header text */
    padding: 5px 10px;
    border: none;
    border-radius: 25px; /* Rounded corners */
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    display: block;
    font-size: 1em; /* Larger text size */
    transition: background-color 0.1s ease;
}

.btn-yellow-inline:hover {
    background-color: #e69c3f/*#e69c3f*/; /* Darker yellow on hover */
    color: white;
}
.btn-yellow-media {
    position: relative;
    margin: 1em 0 0 0;
    font-family: 'Arial', sans-serif;
    width: 30%;
    left: 35%;
    opacity: 1;
    background-color: #FFB549; /* Yellow color */
    color: rgba(10, 35, 63, 1); /* Same blue as the header text */
    padding: 5px 10px;
    border: none;
    border-radius: 25px; /* Rounded corners */
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    display: block;
    font-size: 1em; /* Larger text size */
    transition: background-color 0.1s ease;
}

.btn-yellow-media:hover {
    background-color: #e69c3f/*#e69c3f*/; /* Darker yellow on hover */
    color: white;
}

.btn-yellow-nav {
    position: relative;
    font-family: 'Arial', sans-serif;
    width: 22%;
    opacity: 1;
    background-color: #FFB549; /* Yellow color */
    color: rgba(10, 35, 63, 1) !important; /* Same blue as the header text */
    padding: 5px 10px;
    border: none;
    border-radius: 25px; /* Rounded corners */
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    display: block;
    font-size: 1em; /* Larger text size */
    transition: background-color 0.1s ease;
}

.btn-yellow-new-member {
    position: relative;
    font-family: 'Arial', sans-serif;
    margin: -10em 0 -10em 0; /* Move button up */
    width: 20%;
    opacity: 1;
    background-color: #FFB549; /* Yellow color */
    color: rgba(10, 35, 63, 1); /* Same blue as the header text */
    padding: 5px 10px;
    border: none;
    border-radius: 25px; /* Rounded corners */
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    display: inline-block;
    font-size: 1em; /* Larger text size */
    transition: background-color 0.1s ease;
}

.btn-yellow:hover {
    background-color: #e69c3f;
    color: white;
}

.btn-yellow:hover img {
    filter: invert(1) brightness(2);
}

.btn-yellow:hover, .btn-yellow-new-member:hover, .btn-yellow-nav:hover {
    background-color: #e69c3f/*#e69c3f*/; /* Darker yellow on hover */
    color: white !important;
}

.calendar-dates {
    font-family: 'Georgia', sans-serif;
    display: inline-block;
    border: none;
    border-radius: 0 5px 5px 0;
    position: relative;
    left: -15px;
    padding: 10px;
    width: auto;
    color: rgba(10, 35, 63, 1);
    font-weight: bold;
    overflow: hidden;
    font-size: 1em;
    margin: 0 auto;
}

.calendar-dates .calendar-label {
    font-weight: normal;
    font-style: italic;
}

.calendar-dates .date {
    font-weight: bold;
}

.card_container {
	position: relative;
	width: 100%;
	bottom: 0;
}

.card_panel {
	position: relative;
	width: 100%;
	border-radius: 0px;
	background-color: #0C2340;
	padding: 1px 1px 1px 1px;
}

.center-container {
    padding-bottom: 25px;
}

.city-of-toledo .calendar-dates {
    background-color: #A6C6ED;
}

.community-events .calendar-dates {
    background-color: #0C2340;
    color: white; /* Adjust text color for better contrast */
}

.content {
    /*margin-top: 65px; /* Adjust based on header height */
    margin-top: 0px;
    text-align: center;
}

.custom {
    text-align: left !important;
}

.designed {
    position: relative;
    margin-top: -15px;
    font-size: 0.6em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.designed .white-text:visited {
    color: #FFB549;
    font-weight: bold;
}

.designed-centered {
    position: relative;
    background-color: #0C2340;
    color: white;
    font-size: 0.6em;
    top: -8px;
    align-items: center;
}

.event {
    padding-left: 15px;
    margin-top: 50px;
    border: none;
    color: rgba(10, 35, 63, 1); /* Same blue as the header text */
    background-color: none;
    position: relative;
}

.event h3 {
    margin: 0 0 5px 0;
}

.event.city-of-toledo::before {
    background-color: #A6C6ED;
}

.event.community-events::before {
    background-color: #0C2340;
}

.event.strong-towns-toledo::before {
    background-color: #FFB549;
}

.event::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #FFB549; /* Same blue as the header text */
}

.event:hover {
    padding-left: 15px;
    margin-top: 50px;
    border: none;
    border-radius: 0 15px 15px 0;
    color: rgba(10, 35, 63, 1);
    background-color: rgba(166, 198, 237, 0.2);
    position: relative;
}

#events {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: none;
}

.flash-star {
    position: relative;
    padding-left: 15px; /* Adjust for star icon space */
}

.flash-star::after {
    content: '●';
    position: absolute;
    top: 15px;
    left: -40px; /* Adjust position as needed */
    transform: translateY(-50%);
    font-size: 70px; /* Adjust size as needed */
    color: #FFB549;
    animation: starFlash 2s infinite;
}

.footer {
	position: relative;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
    color: white;
}

.footer-column {
    width: 33%;
    padding-left: 15px;
    border-left: 3px solid white;
}

.footer-column a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-column h5 {
    margin-bottom: 15px;
    text-decoration: underline;
}

.footer-columns {
    padding: 0;
    display: flex;
    justify-content: space-around;
    text-align: left;
    margin-bottom: 25px;
}

.footer-silhouette {
    position: relative;
    width: 100%;
    margin-bottom: -10px;
}

.header {
    position: relative;
    top: 0;
    width: 100%;
    height: 100px;
    background-color: rgba(12, 35, 64, .9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.0);
}

.header a {
    text-decoration: none;
    color: white; /* Change link color to white */
}

.header img {
    position: relative;
    top: 0px;
    height: 100px;
    margin: 0;
    padding: 0;
    display: block;
}

.header_background {
    position: relative;
    top: -100px;
    left: 0px;
    width: 100%;
    height: 100px;
}

.header_image {
    position: relative;
    top: -110px;
}

li img {
    width: 3em;
}

.key-container {
    display: flex;
    justify-content: flex-end;
    margin: -50px 0 -25px 50px;
}

.key-text {
    position: relative;
    font-size: 16px;
    margin-right: 0px;
    left: -15px;
    line-height: 40px; /* Center the text vertically */
}

.learn_more {
    position: relative !important;
    font-family: 'Arial', sans-serif;
    margin-top: 1em !important;
    width: 30% !important;
    left: 3% !important;
    color: white !important;
    padding: 5px 10px !important;
    border: none;
    font-size: .7em;
    text-align: left !important;
}

.logo_mobile {
    display: none;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

#mc_embed_signup{ 
    background: white;
    border-radius: 25px;
    clear: left;
    font: 14px Helvetica,Arial,sans-serif;
}

#mc_embed_signup_scroll {
    display: block;
}


.menu {
    display: flex;
    flex-direction: column;
}

.menu-item {
    padding: 15px;
    margin-bottom: 5px;
    text-align: center;
    background-color: #A6C6ED;
    color: #0C2340;
    cursor: pointer;
    border-radius: 10px;
}

.menu-item.active {
    background-color: #FFB549;
    color: #0C2340;
    font-weight: bold;
    border-radius: 10px;
}

.merch {
    display: inline-block;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}
.merch a img {
    width: 100%;
    max-width: 300px;
    border-radius: 5px;
}

.merch_product_card {
    display: inline-flex;
    margin: 10px;
    padding: 10px;
}

.merch_product_card:hover {
    border:#0C224010 solid 2px;
    border-radius: 5px;
    background-color: #0C224005;
    margin: 8px;
    box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.25);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 20px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
}

.nav-text:hover {
    text-decoration: none;
    color: white; /* Change link color to white */
    background-color: rgba(0, 174, 239, 0);
    border-radius: 15px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    background: #FFB549; /* Ensure the lines of the hamburger menu are white */
    height: 2px;
    width: 25px;
    margin: 3px 0;
}

.navigation {
    position: sticky;
    top: 0;
    z-index: 100;
}

.newsletter {
    color: rgba(10, 35, 63, 1);
    text-align: center;
    font-weight: bold;
    padding-top: 10px;
}

body {
    font-family: 'Georgia', serif;
    font-size: 1.3em;
    margin: 0;
    background-color: white;
  }

.page_title {
    text-align: left !important;
    font-weight: bold;
}

.past-events {
    display: inline-block;
    width: 100%;
    font-weight: bold;
}

.resources_container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    text-align: center;
}

.resources_content {
    display: none;
    width: 100%;
}

.resources_content.active {
    display: block;
}

.resources_content_div {
    position: relative;
    text-align: center;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.resources_content_div_content {
    padding-bottom: 25px;
    width: calc(25% - 30px);
    max-width: 350px;
    margin: 15px;
    display: inline-block;
}

.resources_content_div_content b {
    background-color: #A6C6ED;
    padding: 5px;
    border-radius: 10px;
    color: #0C2240;
}

.resources_content_div_content img {
    width: 100%;
    height: auto;
    max-width: 300px;
    max-height: 300px;
}

.resources_div {
    display: inline-block;
    border-radius: 10px;
    position: relative;
    width: 28%;
    font-family: 'Arial', sans-serif;
    margin: 15px;
    padding: 10px 20px;
    text-align: center;
    overflow: hidden;
}

.resources_margin {
    margin: 10px;
}

.right .btt-btn {
    position: relative;
    font-family: 'Arial', sans-serif;
    margin-top: -3.5em; /* Move button up */
    opacity: 1;
    background-color: #FFB549; /* Yellow color */
    color: rgba(10, 35, 63, 1) !important; /* Same blue as the header text */
    width: 60px; /* Width of the circle */
    height: 60px; /* Height of the circle */
    border: none;
    border-radius: 15px; /* Make it a circle */
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    display: inline-block; /* Maintain the circle shape */
    font-size: 20px; /* Larger text size */
    line-height: 70px; /* Center the text vertically */
    transition: color 0.1s, background-color 0.1s ease;
}

.right .btt-btn i {
    color: rgba(10, 35, 63, 1) !important; /* Blue color for the icon */
}

.right .btt-btn:hover {
    background-color: #e69c3f; /* Yellow color */
}

.right .btt-btn:hover i {
    color: white !important; /* Blue color for the icon */
}

.row {
    margin-bottom: -10px !important;
}

.sidebar {
    background-color: #0C2240;
    padding: 10px;
    color: white;
    border-radius: 0 15px 15px 0;
    position: relative;
    text-align: center;
    margin-bottom: 25px;
}

.instagram-media {
    border-radius: 15px !important;
    box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.3) !important;
    width: 75% !important;
    margin: 0 auto !important;
}

.social-links {
    font-family: 'Arial', sans-serif;
    display: inline-block;
    border: none;
    background-color: #FFB549;
    border-radius: 15px;
    padding: 10px;
    width: 10%;
    margin: 0.5em;
    color: #0C2340;
    font-weight: bold;
    overflow: hidden;
    font-size: 0.8em;
    transition: color 0.1s, background-color 0.1s;
}

.social-links img {
    transition: filter 0.1s;
    width: 50%;
}

.social-links:hover {
    font-family: 'Arial', sans-serif;
    background-color: #e69c3f;
    color: white;
}

.social-links:hover img {
    filter: invert(1) brightness(2);
}

.strong-towns-block {
    display: block;
}

.strong-towns-toledo .calendar-dates {
    background-color: #FFB549;
}

.sub-menu-item {
    padding: 15px;
    margin-bottom: 5px;
    text-align: center;
    background-color: rgba(166, 198, 237, 0.7);
    color: #0C2340;
    cursor: pointer;
    border-radius: 10px;
}

.sub-menu-item.active {
    background-color: #FFB549;
    color: #0C2340;
    font-weight: bold;
    border-radius: 10px;
}

.subscribe {
    position: relative !important;
    font-family: 'Arial', sans-serif;
    width: 50% !important;
    left: 20% !important;
    opacity: 1;
    background-color: #FFB549; /* Yellow color */
    color: rgba(10, 35, 63, 1); /* Same blue as the header text */
    padding: 10px 20px !important;
    border: none;
    border-radius: 25px !important; /* Rounded corners */
    text-decoration: none;
    text-align: center !important;
    font-weight: bold;
    display: block;
    font-size: 20px; /* Larger text size */
    transition: background-color 0.1s ease;
}

.text-left {
    text-align: left;
}

.white-text {
    color: white; /* Change text color to white */
}

@media (max-width: 965px) {
    
    .add-calendar-button {
        width: 30%;
    }

    .header img {
        height: 75px;
        top: 0px;
    }
    .nav-links {
        display: none;
        background-color: rgba(10, 35, 63, 1);
        border: solid 5px rgb(22, 67, 123);
        flex-direction: column;
        width: 50%;
        position: absolute;
        top: 60px;
        right: 20px;
        text-align: center;
        border-radius: 10px;
    }
    .nav-links a {
        margin: 10px 0;
        font-weight: bold;
        padding: 10px;
    }
    .nav-toggle {
        display: flex;
        background-color: rgba(10, 35, 63, 1);
        border-radius: 10px;
        padding: 10px;
    }
    .social-links {
        width: 20%;
    }

    .btn-yellow-nav {
        background-color: transparent;
        color: white !important;
        flex-direction: column;
        width: 50%;
        display: flex;
        margin: 10px 0;
        font-weight: bold;
        padding: 10px;
    }
    
    .btn-yellow-media {
        width: 50%;
        position: relative;
        left: 25%;
    }

    .btn-yellow-container {
        margin-top: -2em;
    }

    .btn-yellow {
        position: relative;
        font-family: 'Arial', sans-serif;
        margin-top: -4.5em; /* Move button up */
        width: 33%;
        left: 5%;
        opacity: 1;
        background-color: #FFB549; /* Yellow color */
        color: rgba(10, 35, 63, 1); /* Same blue as the header text */
        padding: 5px 10px;
        border: none;
        border-radius: 25px; /* Rounded corners */
        text-decoration: none;
        text-align: center;
        font-weight: bold;
        display: block;
        font-size: 0.8em;
        transition: background-color 0.1s ease;
    }
    .btn-yellow img {
        position: relative;
        left: 1px;
    }

    
    .btn-yellow-new-member {
        width: 45%;
        margin: 1em auto 1em auto;
    }

    .logo_desktop {
        display: none;
    }

    .logo_mobile {
        display: inline;
    }

    .learn_more {
        display: none;
    }
    
    .add-to-calendar {
        top: 120px;
        left: 20px;
    }
    .resources_container {
        display: grid;
        grid-template-columns: 1fr;
    }

    .sidebar {
        margin-bottom: 10px;
        border-radius: 0;
    }

    .resources_div {
        width: 50%;
    }
    .resources_content_div_content img {
        width: 75%;
        max-width: 300px;
        max-height: 300px;
    }
    
    .resources_content_div_content {
        max-width: 250px;
        width: 50%;
    }
    .menu-item, .sub-menu-item{
        padding: 7px;
    }

    .media_video {
        padding: 0 1em 1em 1em;
    }

    .media_video_content_wrapper {
        display: block;
    }

    .media_video_image {
        width: 100%;
    }

    .media_video_text {
        width: 100%;
    }

    .finance_decoder {
        padding: 0 1em 1em 1em;
    }

    .finance_decoder_content_wrapper {
        display: block;
    }

    .finance_decoder_image {
        width: 100%;
    }

    .finance_decoder_text {
        width: 100%;
    }
    
    .finance_decoder_tip {
        width: 100%;
        margin-top: 1em;
    }
}
