#bannerAd {
    text-align: center;
    color: aliceblue;
}

.username_top_bar {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 300;
    margin-right: 10px;
    color: white
}

.logo {
    margin-left: 10px;
    width: 250px;
    height: auto;
}

.cobalt_side_nav {
    background-color: #E3F2FD;
}

.dash-quadrant {
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    padding: 4px;
}

.dash-quadrant-blue {
    background-color: #1976D2;
    color: white;
}

.dash-quadrant-gray {
    background-color: #E0E0E0;
    color: black;
}

.dash-quadrant-red {
    background-color: #D32F2F;
    color: white;
}

.dash-quadrant-green {
    background-color: #689F38;
    color: white;
}

.huge {
    font-size: 40px;
}

.text-center {
    text-align: center;
}

.streets_container {
    height: calc(100vh - 300px);
    overflow-y: scroll;
    scroll-behavior: smooth;
}

.text-white {
    color: white;
}

.text-discreet {
    font-size: smaller;
    opacity: .7;
}

.red {
    background-color: red;
}


/* Voter Prefs  */

.vote_pref_PUP {
    background-color: #64B5F6;
}

.vote_pref_UDP {
    background-color: #E57373;
}

.vote_pref_UNDC {
    background-color: #D1C4E9;
}

.vote_pref_NOVO {
    background-color: #D7CCC8;
}

.vote_pref_THIRD {
    background-color: #FFB74D;
}

.vote_pref_NU {
    background-color: #BDBDBD;
}

.pointer {
    cursor: pointer;
}

.left-spacer {
    padding-left: 15px;
}

.dt_display {
    height: calc(100vh - 390px);
    width: 99%;
}

@media print {
    .no-print,
    .no-print * {
        display: none !important;
    }
}

.print_field {
    width: 15px;
}

.report-header {
    font-weight: bolder;
}

.crypto-ok {
    background-color: #66BB6A;
}

.crypto-fail {
    background-color: #EF5350
}

.even {
    background-color: #EEEEEE;
}

.no-wrap {
    white-space: nowrap;
}

.material-icons.md-18 {
    font-size: 18px;
}

.text-right {
    text-align: right !important;
}

.text-warning {
    color: #E57373;
}

.imported_record {
    background-color: #F0F0F0;
    border: 2 dashed black;
    padding: 5px;
}

.voted {
    background-color: green;
    color: white;
}

.election_tab {
    background-color: #0D47A1;
    color: white;
}

.pledge_progress_main {
    background: #BBDEFB;
    height: 60px;
    padding: 3px
}

.plede-progress-label {
    font-size: 12pt;
    font-weight: bold;
    margin: 0px;
}

.plede-progress-value {
    font-size: 24pt;
    font-weight: bolder;
    margin: 0px;
}

.pledge_progress_bar {
    background-color: #2196F3;
    color: white;
    font-size: 24pt;
    font-weight: bolder;
    text-align: center;
    vertical-align: middle;
    height: 60px;
    line-height: 60px;
}

.pledge_progress_sm {
    background: #BBDEFB;
    height: 30px;
    padding: 3px
}

.plede-progress-label-sm {
    font-size: 8pt;
    font-weight: bold;
    margin: 0px;
}

.plede-progress-value-sm {
    font-size: 12pt;
    font-weight: bolder;
    margin: 0px;
}

.pledge_progress_bar_sm {
    background-color: #2196F3;
    color: white;
    font-size: 12pt;
    font-weight: bolder;
    text-align: center;
    vertical-align: middle;
    height: 30px;
    line-height: 30px;
}

.pledge-pa-label {
    font-size: 12pt;
    margin: 0px;
    font-weight: bolder;
}

.Voted {
    color: #689F38;
    font-weight: bolder;
}

.alert-succ {
    background-color: lightgreen;
}

.alert-err {
    background-color: #D32F2F;
    color: white;
}

.alert {
    padding: 10px;
    border-radius: 5px;
    margin: 8px;
}

.remark-Deceased {
    padding: 3px;
    background-color: black;
}

.remark-Deceased:before {
    content: 'D';
    color: white;
}

.remark-Foreign {
    padding: 3px;
    background-color: pink;
}

.remark-Foreign {
    content: 'F';
    color: white;
}

.outcome-pref-title {
    margin-top: -25px;
}

.election_quadrant {
    float: left;
}

.login-body {
    font-family: 'Roboto', sans-serif;
    background-color: #64B5F6;
    margin: 0;
    min-height: 100vh; /* Change from height to min-height */
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    max-width: 100%;
    height: 100%; /* Add this line */
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.1);
    padding: 24px;
    max-width: 500px;
    min-width: 200px;
    max-height: 100%; /* Add this line */
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    overflow: auto;
    justify-content: center;

}

.logo-login {
    display: block;
    margin: 0 auto 16px;
    width: 128px;
    height: auto;
}

.login-content {
    display: grid;
    gap: 16px;
}

md-input-container {
    display: grid;
    gap: 8px;
}

md-button {
    transition: background-color 0.3s;
}

md-button:hover {
    background-color: #3f51b5;
}

.profile-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 599px) {
    .profile-image-section md-input-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* New styles */
md-sidenav.md-closed.md-locked-open-add,
md-sidenav.md-locked-open,
md-sidenav.md-locked-open-add,
md-sidenav.md-locked-open-remove,
md-sidenav.md-locked-open-remove.md-closed,
md-sidenav.md-locked-open.md-closed,
md-sidenav.md-locked-open.md-closed.md-sidenav-left,
md-sidenav.md-locked-open.md-closed.md-sidenav-right {
    display: flex;
    height: -webkit-fill-available;
    position: static;
    transform: translate3d(0,0,0);
}
h1, h2 {
    margin: 20px 0;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
    color: #333;
    font-family: 'Arial', sans-serif;
    text-align: center;
}

/* Add a subtle shadow to the headings */
h1 {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Notification Badge Styling */
.notification-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #ff3d00;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 10;
}
