.ojkheader {
    overflow: hidden;
    height:  20vw;
    @media (max-width: 768px) {
        height: 35vw;
    }
}
.ojkheader [class^="col-"] {
    max-height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ojkheader img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.logo {
    width: 100px;
}
.welcome-text {
    margin-top: -18vw;
    margin-bottom: 5vw;

    color: white;
    font-weight: 900;
    text-shadow: 1px 1px 0 #000;

}
.welcome-text :nth-child(1) {
font-size: 3vw;
}
.welcome-text :nth-child(2) {
font-size: 4vw;
}
.welcome-text img {
    width: 60%;
    height: auto;
}

/* Facebook Posts Styles */
.facebook-posts {
    margin-bottom: 20px;
}

.facebook-posts h4 {
    color: #3b5998;
    border-bottom: 2px solid #3b5998;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.facebook-post {
    margin-bottom: 10px;
    border-left: 3px solid #3b5998;
}

.post-date {
    color: #999;
    font-size: 0.7rem;
    margin-bottom: 5px;
    font-style: italic;
}

.post-content {
    display: flex;
    margin-bottom: 10px;
}

.post-thumbnail {
    margin-right: 10px;
    flex-shrink: 0;
    width: 80px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.post-message {
    flex-grow: 1;
    border-radius: 0 0 0 0;
}

.post-link {
    text-align: right;
}

.post-link a {
    color: #3b5998;
    text-decoration: none;
    font-size: 0.9rem;
}

.post-link a:hover {
    text-decoration: underline;
    color: #2d4373;
}

/* Spond Events Styles */
.spond-events {
    margin-bottom: 20px;
}

.spond-events h4 {
    color: #1a73e8;
    border-bottom: 2px solid #1a73e8;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.spond-event {
    margin-bottom: 10px;
    border-left: 3px solid #1a73e8;
}

.event-date {
    color: #999;
    font-size: 0.7rem;
    margin-bottom: 5px;
    font-style: italic;
}

.event-content {
    margin-bottom: 10px;
}

.event-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.event-subgroups {
    margin-top: 5px;
}

.event-subgroup {
    display: inline-block;
    background-color: #f0f4f8;
    color: #1a73e8;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 3px;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Facebook Image Carousel Styles */
.facebook-carousel {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide.fade-in {
    animation: fadeIn 1s;
}

.carousel-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Navbar dropdown styles */
.nav-item-container {
    display: flex;
    align-items: center;
}

.nav-item-container .nav-link {
    margin-right: 5px;
}

.navbar .logo img {
    width: 100px;
    height: auto;
}
.dropdown-indicator {
    padding: 0.5rem 0.5rem;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.55);
    text-decoration: none;
    cursor: pointer;
}

.dropdown-indicator:hover {
    color: rgba(0, 0, 0, 0.7);
}

.dropdown-indicator::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

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

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    border-radius: 0 6px 6px 6px;
}

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

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    border-radius: 6px 0 6px 6px;
}
