body {
    margin: 10px !important;
}

.datagrid {
  font-size: 0.80rem;
}

.txtcenter {
    text-align: center;
}

.txtright {
    text-align: right;
}

.frmcenter {
    margin-left: 25px !important;   
}

.mcurrent a {
    text-decoration: none;
    color: black;
}

nav {
    font-size: 1.4rem;
    border: 1px solid #dee2e6;
}

nav li {   
    padding-right: 20px;
}

h4 {
    font-size: 1.2rem !important;
}

.mcurrent a:hover {
    text-decoration: none;
    color: black;    
}

#patable td, th {
    padding: 2px;
}

#patable ul, li {
    margin: 0;
    padding: 0;
    vertical-align: central;
}

div.flash {
	color: green;
	background: #f1ffd7;
	margin: 10px 0;
        border-radius: 10px;
        text-align: center;
        font-weight: bold;
}

div.flash.flash-error, div.flash.flash-danger {
    background: #FBE3E4;
    color: #8a1f11;
    border-color: #FBC2C4;
}

div.flash.flash-success {
    background: #E6EFC2;
    color: #264409;
    border-color: #C6D880;
}

@keyframes fadeOut {
    from {
        opacity: 1; /* Fully visible */
    }
    to {
        opacity: 0; /* Fully invisible */
    }
}

#flashMessages {
    opacity: 1; /* Initially visible */
    animation-fill-mode: forwards; /* Keep the final state of the animation */
}

#flashMessages.fade-out {
    animation: fadeOut 0.5s ease-out; /* Fade out over 0.5 seconds */
}

@media print
{    
    .noprint, .noprint *
    {
        display: none !important;
    }
    
    .print-list { 
        font-size: 13px;               
    }
    
    .print-list td {
        padding: 2px !important;
    }
    
    .print-table {
        font-size: 10px;
    }
        
}
