﻿
/* Reusable Components */

div#mainHeader {
    padding-bottom: 10px;
}

div.action-section {
    padding: 10px;
    margin-bottom: 15px;
    border: 0px;
    width: 100%;
    background-color: #feffcb;
    border-radius: 15px;
}

.action-section a, .action-section a:visited {
    text-decoration-line: none;
}

div.list-body {
    padding-bottom: 10px;
}

/* Flasher */

div#hbkFlasher {
    min-height: 100px;
    z-index: 99;
    margin: 20px;
    
    display: flex;
    justify-content: center;
    position: absolute;
    top: 0; left: 0; right: 0;
    
    background-color: #00c600;
    border-radius: 5px;
    border: 1px solid #363636;
    cursor: pointer;
    box-shadow: 0px 0px 10px #a1a1a1;

    opacity: 1; /* Start hidden */
    animation: flash 0.4s ease-in-out alternate 2, finalFade 0.5s forwards;
}

/* Flash animation */
@keyframes flash {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}
@keyframes finalFlash {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Fade out animation */
@keyframes fadeOut {
    to { opacity: 0; }
}

div#hbkFlasher.error {
    background-color: #f42626;
}

div#hbkFlasherMessage {
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
}



