﻿.bg-maroon{
    background-color:maroon;
}

.bg-dark-maroon {
    /*background-color: #800000;*/
    background-color: maroon;
}

.custom-shadow {
        box-shadow: -2px 2px 10px 2px rgba(0, 0, 0, 2);
    }

.box-shadow {
    box-shadow: -2px 2px 9px 2px rgba(0,0,0,0.75);
    -webkit-box-shadow: -2px 2px 9px 2px rgba(0,0,0,0.75);
    -moz-box-shadow: -2px 2px 9px 2px rgba(0,0,0,0.75);
}

.login-boxshadow {
    box-shadow: -2px 2px 15px 12px rgba(0,0,0,0.75);
    -webkit-box-shadow: -2px 2px 15px 12px rgba(0,0,0,0.75);
    -moz-box-shadow: -2px 2px 15px 12px rgba(0,0,0,0.75);
}

.btn-3d {
    position: relative;
    border: none;
    transition: transform 0.1s, box-shadow 0.1s;
    box-shadow: -1px 1px 3px 1px rgba(0, 0, 0, 5);
}


.top-text{
        font-size: 12px; /* Adjust the font size as needed */
}

.loginformlabelfont {
    color: darkblue;
    font-size: 14px;
    font-weight: bold;
}


.card-body {
    position: relative;
    min-height: 300px;
    max-height: 400px;
    overflow: hidden; 
}

.running-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: visible; /* let content flow; card-body does the clipping */
    animation-name: scrollUp;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: var(--scroll-duration, 20s);
    will-change: transform;
}

    /* Optional fallback base speeds */
    .running-text.software {
        --scroll-duration: 28s;
    }

    .running-text.gazette {
        --scroll-duration: 18s;
    }

/* Pause on hover (works with UpdatePanel too) */
@keyframes scrollUp {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(var(--scroll-end, -300px));
    }
}

.news-item {
    margin-bottom: 10px; /* Space between messages */
    padding: 5px 0; /* Padding for each message */
}

.news-date {
    font-weight: bold; /* Make the date bold */
    color: #333; /* Change the color as needed */
}

.news-message {
    color: #444; /* Change the color as needed */
}

.note-item {
    margin-bottom: 10px; /* Space between messages */
    padding: 5px 0; /* Padding for each message */
}

.note-date {
    font-weight: bold; /* Make the date bold */
    color: #333; /* Change the color as needed */
}

.note-message {
    color: #444; /* Change the color as needed */
}

.separator {
    border: none; 
    border-top: 1px solid rgba(0, 0, 0, 0.5);
    margin: 5px 0; 
}

/* Pause animation when user hovers over the card body */
.card-body:hover .running-text {
    animation-play-state: paused;
}

/*Footer Message movement*/
.footer {
    background-color: maroon;
    color: white;
    padding: 8px 0; /* Increase padding for more height */
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9999; /* Ensure it stays on top */
     /*overflow: visible; Hide overflow */
}


.footer-text {
    font-size: 12px;
    display: flex;
    white-space: nowrap;
}

.message-container {
    display: flex;
    animation: scrollRight 25s linear infinite;
    width: auto;
}

.message-item {
    margin: 0 5px; /* Increase space between messages */
    white-space: nowrap; /* Prevent wrapping */
    flex-shrink: 0; /* Prevent messages from shrinking */
}


.container {
    width: 100%;
    padding: 0 30px; /* Add some padding to container */
}


/* Keyframe animation to scroll from right to left */
@keyframes scrollRight {
    from {
        transform: translateX(100%); /* Start off-screen */
    }
    to {
        transform: translateX(-100%); /* End off-screen */
    }
}

.footer-separator {
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    font-size: 12px;
    margin: 0 10px;
}

.footer-text p {
    display: inline-block;
    white-space: nowrap;
}

