.egov-login-container {
    padding-top: 25px;
    padding-bottom: 25px;
}

.egov-login-form {
    height: 100%;
    margin: 0 auto;
    width: 500px;
    text-align: left;
}

    .egov-login-form form {
    }

.menu-left ul {
    padding: 10px 0px 10px 10px;
    list-style-type: none;
}

    .menu-left ul li ul {
        list-style-type: none;
    }

#resultsTable table th {
    text-align: left;
}

/* EGOV MAIN MENU PAGE - BEGIN */
ul.servicesMenu, ul.servicesMenu li {
    list-style-type: none;
    padding: 0.1em;
  
}

ul.servicesMenu .ui-widget-header
{
    background: #A7DDE; /* Classic light blue */
    background: #DFDFDF; /* Boring light grey */
    background: #FFE974; /* Goldilocks */
    
    padding: 0.1em;
    margin: 1em;
    border-radius: 3px;
    text-align:center;    
}

    ul.servicesMenu .service-app, ul.servicesMenu li {
        margin-left: 1.5em;
    }

.splashbox {
    margin: 0 auto;
    border: 0px solid red;
    max-width: 75em;
    overflow: auto;
    margin-bottom: 3em;
}

    .splashbox table {
        margin: 0 auto;
    }

    .splashbox h2 {
        text-align: center;
    }

.splashcol {
    border: 1px solid #0a314d;
    vertical-align: top;
}

    .splashcol:hover {
        background: #eee;
        border-color: #0a314d;
    }

    .splashcol h3 {
        background-color: #0a314d;
        border-color: #0a314d;
        color: #fff;
        border-radius: 3px;
        text-align: center;
        margin: 1em;
        padding: 1em 0 1em 0;
        font-size: 1.5em;
    }
/* EGOV MAIN MENU PAGE - END */


:root {
    --branding-black-pearl: #0a2240;
    --branding-black-pearl-rgb: 10, 34, 64;
    --branding-tarawera: #0a314d;
    --branding-tarawera-rgb: 10, 49, 77;
    --branding-merlot: #981b1e;
    --branding-merlot-rgb: 152, 27, 30;
    --branding-alizarin-crimson: #d01319;
    --branding-alizarin-crimson-rgb: 208,  19,  25;
    --branding-smalt: #002d74;
    --branding-smalt-rgb: 0, 45, 116;
    --branding-matisse: #205493;
    --branding-matisse-rgb: 32, 84, 147;
}
:root {
    --egov-text-primary: var(--branding-black-pearl);
    --egov-text-primary-rgb: var(--branding-black-pearl-rgb);
    --egov-bg-primary: var(--branding-matisse);
    --egov-bg-primary-rgb: var(--branding-matisse-rgb);
    --egov-border-primary: var(--branding-smalt);
    --egov-border-primary-rgb: var(--branding-smalt-rgb);
    --egov-link-primary: #4c697d;
    --egov-text-error: #d01319;
    --egov-bg-opacity: 1;
    --egov-border-opacity: 1;
}


html {
    /*background-color: #e2e2e2; */
    margin: 0;
    padding: 0;
}

body {
    font-family: "Open Sans", Arial, sans-serif;
    background-color: #fff;
    color: var(--egov-text-primary);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

    body > header {
	    background-color: var(--egov-bg-primary);
    }

    body > main {
        flex: 1 0 auto;
        padding: 1em;
    }

    body > footer {
        padding: 1rem;
        min-height: 20px;
        margin: 0 0 0 0px;
	    background-color: var(--egov-bg-primary);
        color: #fff;
    }

        body > footer a {
            color: #fefefe;
        }

a {
    color: var(--egov-link-primary);
    text-decoration: none;
}


    a:hover {
        text-decoration: underline;
    }

h1, h2, h3, h4, h5, h6, span.head, div.head {
    font-family: "EB Garamond", Times, serif;
}

.infoLable {
    color: green;
    font-weight: bold;
    /*font-style: italic;*/
}

.go-button {
    padding: 1px 5px !important;
    line-height: 1.3 !important;
    margin-bottom: 0.5em !important;
}


.colortest {
    background-color: #E1E1FF;
}


.ui-datepicker {
    padding-top: 5px;
    margin: 15px auto auto auto;
}

    .ui-datepicker table {
        font-size: .9em;
    }

div.ui-datepicker-header select {
    font-size: .5em;
}

.wrapper {
    min-height: 100%;
}


.footer {
    padding-top: 20px;
    height: 20px;
    margin: 0 0 0 0px;
}

.required-asterisk {
	color: var(--egov-text-error);
    font-weight: bold;
    padding-left: 2px;
}

.editor-label {
    /*padding-bottom: 2px;*/
    font-weight: bold;
}

.editor-field {
    padding-bottom: 10px;
    vertical-align: top;
}

table.search-results {
    border-collapse: collapse;
}

    table.search-results th {
        border-style: solid;
        border-width: 1px;
        border-collapse: collapse;
    }

    table.search-results td {
        border-style: solid;
        border-width: 1px;
        border-collapse: collapse;
    }

.confirmation-label {
    font-weight: bold;
}

/* styles for validation helpers */
.field-validation-error {
    color: var(--egov-text-error);
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

.is-invalid {
    border: 1px solid var(--egov-text-error);
    
}

.input-validation-error {
    border: 1px solid var(--egov-text-error);
}

section.input-validation-error {
    border: 1px solid var(--egov-text-error);
}

input.input-validation-error {
    border: 1px solid var(--egov-text-error);
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: var(--egov-text-error);
    font-weight: bold;
}

    .validation-summary-errors ul {
    }


.validation-summary-valid {
    display: none;
}

.draft-save-message {
    color: #337ab7;
}

.summary-page-attachments {
    border: 1px solid #ccc;
    padding: 0em 0.5em 0.5em 0.5em;
    width: 100%;
}

    .summary-page-attachments td.header {
        background: #ccc; /*color: #000;*/
        font-size: 1.17em;
        font-weight: 700;
        text-align: center;
    }

.confirmation-page-trans-label {
    font-family: Segoe UI;
    font-size: 12pt;
}

.confirmation-page-trans-text {
    font-family: Segoe UI;
    font-size: 12pt;
    font-weight: bold;
}

/* jquery Dialog overrides */
.ui-dialog-title {
}

.egov-ui-dialog {
    font-size: 0.75em;
}

    .egov-ui-dialog input, .egov-ui-dialog select, .egov-ui-dialog select option, .egov-ui-dialog textarea {
        font-size: 1em;
    }

.ui-dialog .ui-dialog-buttonpane {
    text-align: center;
}

    .ui-dialog .ui-dialog-buttonpane button {
        float: none;
    }

.Transaction-title {
    font-size: 12pt;
    color: #3C3C5C;
}

.accreditation-cancel-dialog-text {
    font-weight: bolder;
}

.announcements {
    padding: 25px;
    text-align: center;
    margin: 1em auto;
}

.announcement {
    padding-bottom: 15px;
}

.announcement-title {
    text-align: left;
    font-weight: bold;
    padding-bottom: 1px;
}

.announcement-text {
    text-align: left;
}

/* Timeout dialog styling*/
.timeout-prompt {
    min-width: 500px;
    padding: 20px;
    background-color: lightgray;
    border: 1px solid black;
    box-shadow: 10px 10px 5px gray;
}

    .timeout-prompt .ui-dialog-titlebar {
        display: none;
    }

/* for cop */

.tooltip {
    position: relative;
    display: inline-block;
}

    /* Tooltip text */
    .tooltip .tooltiptext {
        visibility: hidden;
        width: 400px;
        background-color: #555;
        color: #fff;
        text-align: left;
        padding: 5px 10px;
        border-radius: 6px;
        /* Position the tooltip text */
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -60px;
        /* Fade in tooltip */
        opacity: 0;
        transition: opacity 0.3s;
    }

        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 12%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    /* Show the tooltip text when you mouse over the tooltip container */
    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

.coptable {
    border-collapse: separate;
    border-spacing: 3px;
    padding-left: 20px;
}

.copContainer {
    background-color: #e9f0f9;
    margin-right: 10px;
    border: 1px lightgray solid;
}

.copInnerContainer {
    border: 1px lightgray solid;
    border-radius: 5px;
    padding: 20px;
    margin: 20px;
}

.copInfo {
    border: 2px orange double;
    border-radius: 10px;
    min-height: 45px;
    background-color: #FCF3CF;
    font-weight: bold;
    padding: 10px;
    margin: 10px;
}

.coplisttable {
    border-collapse: collapse;
    border: 1px black solid;
    border-radius: 5px;
    border-color: lightgray;
    width: 98%;
    padding: 10px;
    background-color: white;
    margin: 10px;
}

.button {
    display: inline-block;
    padding: 7px 10px;
    min-width: 100px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    color: #fff;
    background-color: #4CAF50;
    border: none;
    /*border-radius: 5px;*/
    /*box-shadow: 0 5px #999;*/
}

.buttonSmall {
    display: inline-block;
    padding: 8px 6px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: .85em;
}

.note {
    color: blue;
    font-size: small;
}

.button:hover {
    background-color: #2ECCFA !important;
    color: black !important;
}

.button:active {
    background-color: #3e8e41;
    box-shadow: 0 5px #666;
    /*transform: translateY(4px);*/
    opacity: 0.5;
}

.buttonBlue {
    background-color: Highlight !important; /* Blue */
}

.buttonRed {
    background-color: #f44336 !important; /* Red */
}

.buttonGray {
    background-color: #e7e7e7 !important; /* Gray */
    color: black;
}

.buttonLightgray {
    background-color: lightgray !important; /* Lightgray */
    color: black !important;
}

.buttonBlack {
    background-color: #555555 !important; /* Black */
}

.buttonOrange {
    background-color: orange !important; /* orange */
}

.buttonHighlight {
    background-color: Highlight !important; /* Highlight */
}

.buttonGrey {
    background-color: grey !important; /* grey */
}

.buttonGreen {
    background-color: #4CAF50 !important; /* green */
}

.buttonSkytBlue {
    background-color: deepskyblue !important; /* skyBlue */
}

.disabled-button {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

#MessageLayer {
    position: absolute;
    top: 40%;
    right: 0;
    bottom: 0;
    left: 35%;
    padding: 30px;
    width: 300px;
    border-color: blue !important;
    height: 80px;
    border-radius: 5px;
    background-color: White;
    visibility: hidden;
    border: 1px solid black;
    z-index: 1;
}

.bottonBar {
    display: flex;
    margin-top: 10px;
    background-color: antiquewhite;
    padding: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    /*background-color:lightgray;
    border-color:gray;
    border-style:unset ;
    padding:5px;*/
}

.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.Info {
    border: 2px orange solid;
    border-radius: 10px;
    background-color: #FCF3CF;
    font-weight: bold;
    font-size: small;
    padding-top: 2px;
    padding-bottom: 20px;
    padding-right: 15px;
    text-align: center;
    margin: 10px;
}

.center {
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    padding: 15px;
}


::placeholder, :-ms-input-placeholder, ::-ms-input-placeholder {
    color: #555555;
}

.modal .modal-wide {
    width: 90%;
    min-width: 90%;
}

.spinner-wrapper {
    text-align: center;
    position: relative;
}

.spinner.loading {
    padding: 50px;
    text-align: center;
}

.loading-text {
    width: 100px;
    position: absolute;
    top: calc(50% - 10px);
    left: calc(50% - 50px);
    text-align: center;
}

.spinner.loading:before {
    content: "";
    height: 100px;
    width: 100px;
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    border-width: 15px;
    border-style: solid;
    border-color: #2180c0 #ccc #ccc;
    border-radius: 100%;
    animation: spin .7s infinite linear;
}

.required:after {
    content: " *";
    color: var(--egov-text-error);
}

h3.attachments {
    padding-top: 0%;
}


/* Table layout */
table.attachments {
    border: 2px solid gray;
    border-collapse: collapse;
    background-color: transparent;
    border-color: dimgray;
    border-style: solid;
    border-radius: 15px !important;
    padding: 10px;
    display: table;
    text-align: left;
    font-size: 9pt;
    width: 100%;
    margin: 10px;
    table-layout: fixed;
    margin-bottom: 30px;
}

    table.attachments col:nth-child(1) {
        width: 60%;
        text-align: left;
    }

    table.attachments col:nth-child(2) {
        width: 25%;
        text-align: left;
    }

    table.attachments col:nth-child(3) {
        width: 15%;
        text-align: left;
    }


    table.attachments th {
        border: 1px solid gray;
        height: 30px;
        font-family: Verdana;
        font-weight: bolder;
        vertical-align: middle;
        background-color: lightgrey;
        text-align: center;
    }

    table.attachments tr {
        border: 1px solid gray;
        height: 30px;
        color: #464646;
        /* background-color: #C0C0C0;*/
    }

    table.attachments td {
        border: 1px solid gray;
        padding-left: 10px;
        color: blue;
    }

        table.attachments td:nth-child(2) {
            border-right: 0px none;
        }

        table.attachments td:nth-child(3) {
            border-left: 0px none;
        }

    table.attachments tr:nth-child(odd) {
        background-color: white;
    }

    table.attachments th a {
        text-decoration: none;
        color: #202020;
        width: 75%;
    }

        table.attachments th a:hover {
            color: #FFFFFF;
        }

    table.attachments td a {
        width: 100%;
        text-decoration: underline;
    }

        table.attachments td a:hover {
            font-weight: bold;
            color: #FFFFFF;
        }

tr.hoverRow:hover {
    background-color: lightblue;
    color: darkblue;
}

    tr.hoverRow:hover td {
        background-color: lightblue;
        color: darkblue;
    }

    tr.hoverRow:hover a {
        background-color: lightblue;
        color: blue;
    }


.uploadDialog {
    font-family: Arial;
    font-size: 9pt;
}

.removeDialog {
    font-family: Arial;
    font-size: 9pt;
}

/*BOOTSTRAP CHANGES*/


.form-label {
    font-weight: bold;
    margin-bottom: auto;
    margin-top: 0.5em;
    white-space: nowrap;
}

label.form-check-label {
    font-weight: bold;
}

.form-floating label.form-label {
    font-weight: normal;
}

table.ObjectViewer {
    width: 100%;
    border: none;
    border-spacing: 0px;
    border-collapse: separate;
    padding: 0px;
    margin: 0px;
}

    table.ObjectViewer td {
        min-width: 150px;
        vertical-align: top;
        padding: 2px 4px;
        margin: 0px;
        font-weight: bold;
    }

.sticky-scrollspy {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
}

table.ObjectViewer td:nth-child(odd) {
    border: none;
    font-weight: normal;
    white-space: nowrap;
    width: 1%;
    text-align: right;
    border-right: 1px solid #e0e0e0;
}


.ignore-uppercase {
    text-transform: revert;
}

.input-surname {
   width: 400px;
}
.input-givenname {
    width: 400px;
}
.input-dob {
    width: 200px;
}
.input-pid {
    width: 150px;
}
.input-visa-foil {
    width: 200px;
}

.input-gender {
    width: 200px;
}
.table-primary {
    --bs-table-color: #fff;
    --bs-table-bg: var(--branding-matisse);
    --bs-table-border-color: var(--branding-smalt);
    --bs-table-striped-bg: #c5d7f2;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #bacbe6;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #bfd1ec;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}
.bg-primary {
    color: #fff !important;
    background-color: rgba(var(--egov-bg-primary-rgb), var(--egov-bg-opacity, 1)) !important;
}
.text-bg-primary {
    color: #fff !important;
    background-color: RGBA(var(--egov-bg-primary-rgb), var(--egov-bg-opacity, 1)) !important;
}

.border-primary {
    border-color: rgba(var(--egov-border-primary-rgb), var(--egov-border-opacity, 1)) !important;
}

.alert-primary {
    --bs-alert-color: white;
    --bs-alert-bg: var(--branding-matisse);
    --bs-alert-border-color: black;
    --bs-alert-link-color: whitesmoke;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--branding-matisse);
    --bs-btn-border-color: var(--branding-smalt);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--branding-smalt);
    --bs-btn-disabled-border-color: var(--branding-smalt);
}

.btn-outline-primary {
    --bs-btn-color: var(--branding-smalt);
    --bs-btn-border-color: var(--branding-smalt);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--branding-smalt);
    --bs-btn-hover-border-color: var(--branding-smalt);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--branding-smalt);
    --bs-btn-active-border-color: var(--branding-smalt);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--branding-smalt);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--branding-smalt);
    --bs-gradient: none;
}
