﻿body {
    font-family: Tahoma;
    font-size: 18px;
    color: black;
    background: #fafafa;
}

/* Session Timeout Warning Dialog */
.session-timeout-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.session-timeout-overlay.active {
    display: flex;
}
.session-timeout-box {
    background: #fff;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.session-timeout-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.session-timeout-body {
    margin-bottom: 1.5rem;
}
.session-timeout-actions {
    display: flex;
    gap: 0.5rem;
}

.session-timeout-actions .btn-primary {
    background-color: #1b6ec2;
    border: 2px solid #1b6ec2;
    color: #fff;
}
.session-timeout-actions .btn-primary:hover,
.session-timeout-actions .btn-primary:focus {
    background-color: #155a9e;
    border-color: #155a9e;
    color: #fff;
}

.session-timeout-actions .btn-outline-danger {
    color: #000000;
    border: 2px solid #000000;
    background-color: #fff;
}
.session-timeout-actions .btn-outline-danger:hover {
    background-color: #000000;
    border-color: #000000;
    color: #fff;
}
.session-timeout-actions .btn-outline-danger:focus,
.session-timeout-actions .btn-outline-danger:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px #FFD700, 0 0 0 6px #000000 !important;
    border-radius: 4px !important;
}

.imageseal {
    background-image: url('/Content/images/state-seal.png');
    opacity: 1.2;
    background-size: 18% auto;
    background-position: left 1% top 50%;
    background-repeat: no-repeat;
    display: inline-block;
    height: 70px;
}

.sidebarheaderline {
    font-family: Tahoma;
    font-weight: 800;
    font-size: 18px;
    color: #fff;
    padding: .5rem;
}

.layoutheaderbanner {
    background-color: white;
}

.layoutheaderline {
    font: normal normal bold 18px/22px Georgia !important;
    letter-spacing: 0px !important;
    color: #014B7E !important;
    margin-left: 65px !important;
    margin-top: 10px !important;
}

.headerLine1 {
    padding: 0px;
    margin-bottom: -10px;
    font-family: Segoe UI;
    color: #014B7E;
}

.headerLine2 {
    padding: 0px;
    font-family: Segoe UI;
}

.copyright {
    font-family: Segoe UI;
}


.navbar-text {
    display: inline-block;
    padding-top: 0.5rem;
    /*padding-bottom: 0.5rem;*/
}

.pl-1, .px-1 {
    padding-left: 0.25rem !important;
}

.k-menu-vertical .k-link {
    white-space: normal !important;
}

.k-menu:not(.k-context-menu) > .k-item {
    color: #135A98 !important;
    background-color: #ffffff !important;
    border-color: #dee2e6
}

.k-menu:not(.k-context-menu) {
    background-color: #ffffff !important;
}

h1 {
    font-size: 1.5em;
}

h2 {
    font-size: 1em;
    color: #333;
}

h3 {
    font-size: .925em;
}

h4 {
    font-size: .8125em;
}

h5 {
    font-size: .75em;
}

.border-all {
    background: #ffffff;
    border: 5px solid #ededed;
}


.subHeader {
    color: #2B78E4;
}

.btn {
    white-space: normal !important;
    word-wrap: break-word;
    border-radius: inherit !important;
}

.k-menu-vertical > .k-menu-item > .k-menu-link {
    padding-right: inherit !important;
}

.btn-red, .btn-red:active, .btn-red.active, .btn-red:hover {
    color: #FFFFFF;
    background-color: #b02a37;
    border-color: #b02a37;
    min-width: 150px;
    max-width: 200px;
}

.btn-green, .btn-green:active, .btn-green.active, .btn-green:hover {
    color: #FFFFFF;
    background-color: #007A0C;
    border-color: #007A0C;
    min-width: 150px;
    max-width: 200px;
}

.btn-blue, .btn-blue:active, .btn-blue.active, .btn-blue:hover {
    color: #FFFFFF;
    background-color: #073763;
    border-color: #073763;
    min-width: 150px;
    max-width: 200px;
}

.btn-dark {
    color: #fff;
    background-color: #212529;
    border-color: #212529;
    min-width: 200px;
    max-width: 200px;

}

    .btn-dark:hover {
        color: #fff;
        background-color: #1c1f23;
        border-color: #1a1e21;
        min-width: 200px;
        max-width: 200px;

    }

    .btn-dark:disabled, .btn-dark.disabled {
        color: #fff;
        background-color: #212529;
        border-color: #212529;
        min-width: 200px;
        max-width: 200px;

    }

.Cancel-link {
    padding: 0.375rem 0.30rem;
    text-decoration: underline !important;
    color: #0266d1 !important;
    font-weight: bold;
    cursor: pointer;
}

.required:before {
    content: "* ";
    font-weight: bold;
    color: #cd2026;
}

.k-form-hint, .k-form-error {
    font-size: 18px !important;
}

.required-note {
    color: #cd2026;
}

#mainContainer .row {
    margin-bottom: 1rem;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.ForceUpperCase {
    text-transform: uppercase;
}

.successBanner {
    color: black !important;
    background-color: #93C47D !important;
    text-align: center;
    font-weight: bold;
    width: 100%;
    padding: 5px;
}

.btnGreenText {
    color: white !important;
    background-color: #1F8243 !important;
}

#kendoConfirmDiv ~ .k-dialog-buttongroup {
    width: 300px !important;
}

.k-window > .k-dialog-buttongroup {
    border-width: 0px 0 0 !important;
    margin-left: auto;
}

.k-dialog-buttongroup .k-button {
    box-sizing: content-box !important;
    background-color: white !important;
    border: none !important;
    border-color: white !important;
}

.k-window > .k-dialog-buttongroup > .k-primary {
    background-color: #14558f !important;
    color: white !important;
    font-weight: bold;
}

.success-checkmark:after {
    font-family: "Font Awesome 5 Free";
    content: "\f00c";
    display: inline;
    position: inherit;
    text-align: center;
    font-weight: 600;
    border: 1px solid #aaa;
    background: #4b8120;
    border-radius: 50%;
    color: white;
}

.warning-failed:after {
    font-family: "Font Awesome 5 Free";
    content: "\f071";
    display: inline;
    position: inherit;
    text-align: center;
    font-weight: 600;
    color: red;
    font-size: 12px;
}

.captcha-refresh:after {
    font-family: "Font Awesome 5 Free";
    content: "\f021";
    display: inline;
    position: inherit;
    text-align: center;
    font-weight: 600;
    color: navy;
}

.subHeader-layout {
    color: #005A9C !important;
    font-size: larger;
    font-weight: bold;
    padding: 0px 0px 5px;
}

.confirmation-header {
    color: #09479d;
}

.g19x {
    --bs-gutter-x: 1.9rem;
}
.k-dropdown .k-input {
    background-color: #fff !important;
    border-radius: inherit;
}
#kendoAlertDiv ~ .k-dialog-buttongroup {
    width: 150px !important;
}
.electionHeadingSize {
    color: #000000 !important;
    font-weight: bolder;
    font-size:20px;
}
.PartialPadding {
    padding-left: 10px;
    padding-top: 5px;
}
.ps-206 {
    padding-left: 0.8rem !important;
}

.k-textbox {
    border-color: #878787 !important;
}

.k-dropdown .k-dropdown-wrap {
    border-color: #878787 !important;
}

.k-autocomplete  {
    border-color: #878787 !important;
}

.k-combobox .k-dropdown-wrap {
    border-color: #878787 !important;
}

.k-animation-container-shown, .k-animation-container > .k-popup {
    margin-bottom: 40px;
    z-index: 30000;
    max-width: 250px;
}

[data-title]:hover:after {
    opacity: 1;
    transition: all 0.1s ease 0.5s;
    visibility: visible;
}
[data-title]:after {
    content: attr(data-title);
    margin: 0;
    color: #111;
    padding: 0.25rem 0.5rem;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 0.875rem;
    line-height: 1.5;
    border-style: solid;
    box-sizing: border-box;
    border: 1px solid black;
    background-color: white !important;
    position: absolute;
    left: 5%;
    top: -90%;
    z-index: 99999;
    visibility: hidden;
}

[data-title] {
    position: relative;
    
}

[data-title-hl]:hover:after {
    opacity: 1;
    transition: all 0.1s ease 0.5s;
    visibility: visible;
}

[data-title-hl]:after {
    content: attr(data-title-hl);
    margin: 0;
    color: #111;
    padding: 0.25rem 0.5rem;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 0.875rem;
    line-height: 1.5;
    border-style: solid;
    box-sizing: border-box;
    border: 1px solid black;
    background-color: white !important;
    position: absolute;
    left: 5%;
    top: -160%;
    z-index: 99999;
    visibility: hidden;
}

[data-title-hl] {
    position: relative;
    white-space: nowrap !important;
}

@media only screen and (max-width: 768px) {
    .step-text {
        text-align: center;
        font-size: 8px;
    }
}

span.k-invalid {
   border: 1px solid #b30404 !important;   
   box-shadow: 0 0 0 2px rgba(179, 4, 4, 0.5) !important;
}

#btnTrackMyBallot:focus, #btnRequestAbsenteeBallotUOCAVA:focus,
#btnAbsenteeBallotRequestDisable:focus {    
    outline: none !important;
    box-shadow: 0 0 0 3px #FFD700, 0 0 0 6px #000000 !important;
    border-radius: 4px !important;
}

.k-breadcrumb-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
}

k-breadcrumb-item {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal !important;
    overflow-wrap: anywhere; 
    word-break: normal; 
}

.k-breadcrumb-link {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    display: inline-block;
}

.k-breadcrumb-item:first-child .k-breadcrumb-link {
    white-space: nowrap !important;
}

.k-breadcrumb-container,
.k-breadcrumb-item {
    overflow: visible !important;
}

#Menu .k-link {   
    display: flex;
    align-items: center;
    padding: 16px;
    margin-bottom: 12px;
    line-height: 1.5;
    border-radius: 4px;
    box-sizing: border-box;
    word-wrap: break-word;
    min-height: 64px;
}

#Menu .k-item {
    margin-bottom: 0;
}

.k-breadcrumb-container
.k-breadcrumb-link:focus {
    border-radius: 4px !important;
    box-shadow: 0 0 0 3px #005FCC !important;
    outline: none !important;
    color: #005fcc !important;
    background-color: #E6F0FF !important;
}

.k-menu-vertical .k-state-focused,
.k-menu-vertical .k-state-focused > .k-link {
    border: none !important;
    box-shadow: none !important; 
}

.k-menu-vertical .k-menu-link:focus,
.k-menu-vertical .k-menu-link.k-focus,
.k-menu-vertical .k-menu-link:focus-visible {
    outline: none !important;
    background-color: #E6F0FF !important;
    color: #005fcc !important;
    border-radius: 4px !important;
    box-shadow: 0 0 0 3px #005FCC !important;
}

th.k-header:focus-within,
th.k-header a:focus-visible {
    outline: 3px solid #FFD700;  
    outline-offset: 2px;  
    border-radius: 4px; 
}

.k-input:focus,
.k-textbox .k-input:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.k-textbox.k-state-focused {
    box-shadow: 0 0 0 3px #005FCC !important;
    border-radius: 4px !important;
    border-color: #005fcc !important;
}

.k-dropdown .k-dropdown-wrap.k-state-focused,
.k-dropdown .k-dropdown-wrap:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.k-dropdown.k-state-focused {
    border: none !important;
    outline: none !important;
    box-shadow: 0 0 0 3px #005FCC !important;
    border-radius: 4px !important;
}

.btn.btn-primary:focus,
.btn.btn-primary:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px #FFD700, 0 0 0 6px #000000 !important;
    border-radius: 4px !important;
}

.k-autocomplete .k-input,
.k-autocomplete .k-input:focus,
.k-autocomplete input:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent; 
}

.k-autocomplete.k-state-focused {
    border: none !important;
    outline: none !important;
    box-shadow: 0 0 0 3px #005FCC !important;
    border-radius: 4px !important;
}

.k-list .k-item.k-state-focused,
.k-list .k-item.k-state-hover,
.k-list .k-item.k-state-selected {
    background-color: #005FCC !important; 
    color: #FFFFFF !important; 
}

/* ==========================================================================
   hCaptcha accessibility: hide captcha response textareas.
   ========================================================================== */
textarea[name="h-captcha-response"],
textarea[name="g-recaptcha-response"] {
    display: none !important;
}

.k-combobox .k-input:focus,
.k-dropdowngrid .k-input:focus,
.k-autocomplete .k-input:focus,
.k-dropdown .k-input:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.k-combobox .k-dropdown-wrap.k-state-focused,
.k-dropdowngrid .k-dropdown-wrap.k-state-focused,
.k-autocomplete.k-state-focused,
.k-dropdown .k-dropdown-wrap.k-state-focused {
    border: 1px solid #005fcc !important;
    box-shadow: 0 0 0 3px #005FCC !important;
}

.btn-red:focus, .btn-red:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px #FFD700, 0 0 0 6px #000000 !important;
    border-radius: 4px !important;
}

.btn-green:focus, .btn-green:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px #FFD700, 0 0 0 6px #000000 !important;
    border-radius: 4px !important;
}

.btn-dark:focus, .btn-dark:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px #FFD700, 0 0 0 6px #000000 !important;
    border-radius: 4px !important;
}

.btn-blue:focus, .btn-blue:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px #FFD700, 0 0 0 6px #000000 !important;
    border-radius: 4px !important;
}

.btnGreenText:focus, .btnGreenText:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px #FFD700, 0 0 0 6px #000000 !important;
    border-radius: 4px !important;
}

.skipnav {
    position: relative;
    list-style-type: none;
    z-index: 101;
    margin-top: -2.4rem;
    text-align: center;
}

.skipnav li {
    display: inline-block;
}

.skipnav button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.sr1, .sr2, .sr3, .sr4, .sr5 {
    background: var(--color-vlight-gray);
    height: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    padding: 8px;
    position: absolute;
    transition: transform 0.3s;
    top: 0;
}

.sr1:focus, .sr2:focus, .sr3:focus, .sr4:focus, .sr5:focus {
    background: var(--color-vlight-gray);
    transform: translateX(-50%) translateY(28px);
    margin-top: 1.2rem;
}

.k-pager-wrap .k-link:focus,
.k-pager-wrap .k-button:focus,
.k-pager-wrap input:focus {
    outline: 2px solid #005FCC !important;
    outline-offset: 2px !important;
    border-radius: 2px !important;   
}

.k-grid-header .k-link:focus {
    outline: 2px solid #005FCC !important;
    outline-offset: 2px !important;
    border-radius: 4px !important;
}

.k-grid-header .k-link:focus-visible {
    outline: 2px solid #005FCC !important;
    outline-offset: 2px !important;
}

#voterInformation.k-state-focused {
    box-shadow: 0 0 0 3px #005FCC !important;
    border-radius: 4px !important;
    border-color: #005fcc !important;
}