.truncate-text {
    /*max-height: 300px;*/
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

header{
    background-color: #ffffff;

}

#top-header .my-header .dropdown-menu{
    background-color: #ffffff;
}

#top-header .navbar,.navbar-brand{
    padding-top: 0;
    padding-bottom: 0;
}
#top-header #nav-header a{
    text-decoration: none;
    font-size: 1rem;
    color: #999999;  ;
    position: relative;
    transition: color 0.3s ease;
}

#top-header .my-header .nav-item span {
    pointer-events: none;
    display: none;
}

#top-header #nav-header a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #005BBB;
    transition: width 0.3s ease;
}

#top-header #nav-header a:hover {
    color: #003E8A;
}

#top-header #nav-header a:hover::after {
    width: 100%;
}



#top-header .my-header .hover_logout:hover{
    background-color: red;
    color:white;
}

.my-header .dropdown-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0; /* Initially hidden */
    visibility: hidden;
}

.my-header .dropdown:hover>.dropdown-menu{
    opacity: 1;
    visibility: visible;
    display: block;
    margin-top: 0;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Fix issue with dropdown on small screens */
@media (max-width: 991px) {
    .my-header .dropdown-menu {
        opacity: 1;
        visibility: visible;
        text-align: center;
    }

    .my-header .dropdown-submenu .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
    }

    .my-header .dropdown-submenu i{
        transform: rotate(90deg);
    }
}

.my-header #donor-dropdown{
    color: green;
}

.top-bar {
    display: flex;
    /* align-items: center; */
    background-color: #54758c;
    color: white;
    font-size: 14px;
}
#nav-header img {
    height: 80px;
    width: auto;
}
#nav-header {
    width: 85%;
    margin: auto;
}

.top-bar-container{
display: flex;
justify-content: space-between;
margin: auto;
width: 80%;
padding-top: 10px;
padding-bottom:10px;
flex-wrap: wrap;
}

.top-bar-container .contact-info {
display: flex;
align-items: center;
text-align: center;
gap: 10px;
flex-wrap: wrap;
}

.top-bar-container .contact-info a {
display: flex;
align-items: center;
gap: 8px;
}

.top-bar-container .contact-info a {
color: white;
font-size: 16px;
    text-decoration: none;
}

.top-bar-container .top-social-icons {
display: flex;
justify-content: center;
gap: 10px;
/*margin-top: 10px;*/
flex-wrap: wrap;
}

.top-bar-container .top-social-icons a {
color: white;
text-decoration: none;
font-size: 16px;
display: flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
border: 1px solid #fff;
border-radius: 50%;
transition: background-color 0.3s, color 0.3s;

}


#fixed-social-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.fixed-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007bff; /* Default blue */
    color: white;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0;
    visibility: hidden;
}

#fixed-goToTopButton {
    border: none;
    cursor: pointer;
}

.fixed-social-icon.whatsapp { background-color: #25D366; }
.fixed-social-icon.facebook { background-color: #1877F2; }
.fixed-social-icon.top { background-color: #333; }

.fixed-social-icon.twitter { background-color: #1da1f2; }
.fixed-social-icon.instagram { background-color: #e4405f; }
.fixed-social-icon.youtube { background-color: #ff0000; }

.fixed-social-icon.twitter:hover { color: #1da1f2; background-color: #FFFFFF; }
.fixed-social-icon.instagram:hover { color: #e4405f; background-color: #FFFFFF; }
.fixed-social-icon.youtube:hover { color: #ff0000; background-color: #FFFFFF; }

.fixed-social-icon.whatsapp:hover {
    color: #25D366;
    background-color: #FFFFFF;
}
.fixed-social-icon.facebook:hover {
    color: #1877F2;
    background-color: #FFFFFF;
}
.fixed-social-icon.top:hover {
    color: #333;
    background-color: #FFFFFF;
}


.fixed-show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
}

.fixed-hide {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}


