
html#login, html#login body {
    height: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

    html#login body {
        background-size: cover !important;
        background-position: 15% center !important;
        transition: all 2s ease;
    }

@media(max-width: 1220px) {
    html#login body {
        background-size: cover !important;
        background-position: 30% center !important;
    }
}

@media(max-width: 800px) {
    html#login body {
        background-size: cover !important;
        background-position: 42% center !important;
    }
}


body {
    background: #FFF;
    padding: 0 30px 30px;
}

#homeButton {
    width: 210px;
    margin-top: -10px;
    margin-left: -30px;
}

header {
    background: none;
}

.aces-bread-crumb-container {
    margin-bottom: 20px;
}

.box.round-corners {
    border-radius: 2px;
    border: 1px;
    background: #F2F2F2;
    box-shadow: none;
    border: 2px solid #CECECE;
    margin-bottom: 20px;
    padding: 20px 0 20px 13px;
}

.box h2 {
    background: none;
    color: #616161;
    border: 0;
    font-size: 19px;
    text-transform: initial;
}

#ajonav ul, #ajonav ul li,
#ajonav ul ul, #ajonav ul li span, #ajonav ul li a {
    text-align: left;
}

#ajonav {
    margin-top: 32px;
}

    #ajonav ul li span {
        font-size: 14px;
        cursor: pointer;
    }

    #ajonav ul > li {
        margin-left: 8px;
    }

    #ajonav ul li {
        background: #efefef;
        border: none;
        width: auto;
        padding: 0 15px;
        border-radius: 4px;
    }

    #ajonav ul ul li a,
    #ajonav ul ul li a:visited {
        color: #444;
    }

        #ajonav ul ul li a:hover {
            color: #1f73b6 !important;
        }

    #ajonav ul ul li:first-child:before {
        content: ' ';
        padding-top: 20px;
    }

    #ajonav ul ul {
        background-color: #FFF;
        -webkit-box-shadow: 2px 4px 9px -4px rgba(0,0,0,0.75);
        -moz-box-shadow: 2px 4px 9px -4px rgba(0,0,0,0.75);
        box-shadow: 2px 4px 9px -4px rgba(0,0,0,0.75);
        border-radius: 0;
        left: -25px;
    }

    #ajonav ul li:hover {
        border: none;
        border-radius: 4px;
        background-color: #efefef;
    }

        #ajonav ul li:hover span {
            background-color: #efefef;
            border: none;
            border-radius: 4px;
        }

    #ajonav ul ul li {
        margin: 0 !important;
        border-radius: 0 !important;
        border-top: 1px solid #efefef;
    }

        #ajonav ul ul li:hover {
            border-top: 1px solid #efefef;
            background-color: #FFF;
        }

        #ajonav ul ul li:first-child {
            border: none;
        }

        #ajonav ul ul li a:hover {
            background-color: #FFF;
            border-radius: 0;
            border: none;
        }

header .aces-header-text {
    margin-top: 32px;
}

.aces-bread-crumb-container {
    background: #F7F7F7;
    color: #1f73b6;
    padding: 10px 0;
    margin-left: 2px;
    margin-top: -15px;
}

.dataTables_wrapper .dataTables_length {
    margin: 10px !important;
}

header .sub_omega img {
    margin-top: 18px;
    width: 50px;
}

input[type="submit"], input[type="button"], button {
    border-radius: 4px !important;
    border: none !important;
    background-color: #1f73b6 !important;
    padding: 8px 18px !important;
    font-size: 12px;
    letter-spacing: .5px;
    height: auto !important;
    width: auto !important;
}

.ui-dialog .ui-dialog-buttonpane button {
    padding: 8px 18px !important;
}

button.ui-button-text-only .ui-button-text {
    padding: 0 !important;
}

.aces-data-row {
    display: flex;
    align-items: center;
}

.aces-report-table .aces-data-row,
.omega .aces-data-row {
    display: table-row;
}

#labelResults .aces-data-row {
    padding: 10px 0 !important;
}

.aces-data-row:hover .NotSubmitted-Background .aces-label-screen-label {
    color: #333 !important;
}

table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover,
.aces-data-row:hover {
    background-color: #1f73b6;
    color: #FFF;
}

    table.dataTable.hover tbody tr:hover a,
    table.dataTable.display tbody tr:hover a {
        color: #FFF;
    }

#loginForm ol, #diatherixloginForm ol, #resetPasswordForm ol {
    background: rgba(255,255,255,.4);
    padding: 9px;
    width: 270px;
    margin: 0 auto 0;
    border: 1px solid #fff;
    border-radius: 12px;
    height: auto !important;
    padding: 20px;
}

#loginForm, #diatherixloginForm, #diatherixloginForm fieldset, #diatherixloginForm form, #loginForm fieldset, #loginForm form, #resetPasswordForm, #resetPasswordForm fieldset, #resetPasswordForm form {
    width: 100%;
    margin: 0 auto 0;
}

    #loginForm legend, #diatherixloginForm legend, #resetPasswordForm legend {
        background: url(../images/Euro_LabCheck_Logo_RGB.png);
        display: block;
        height: 100px;
        width: 255px;
        background-size: 255px;
        background-repeat: no-repeat;
        margin: 0 auto 0;
        text-indent: -9999px;
        position: relative;
        top: 90px;
    }
     #diatherixloginForm legend {
        background: url(../images/Custom/Euro_Diatherix_LabCheck_Logo.png);
        display: block;
        height: 100px;
        width: 255px;
        background-size: 255px;
        background-repeat: no-repeat;
        margin: 0 auto 0;
        text-indent: -9999px;
        position: relative;
        top: 90px;
    }
    #loginForm img#eurofinLogo, #diatherixloginForm img#eurofinLogo {
        width: 90%;
        height: 90%;
        object-fit: cover;
    }

    #loginForm div.eurofinLogo, #diatherixloginForm div.eurofinLogo {
        margin-top: 20px;
        height: 55px;
        width: 208px;
    }

    #loginForm input[type="submit"], #diatherixloginForm input[type="submit"] {
        border: 0;
        border-radius: 4px !important;
        background-color: #1f73b6 !important;
        padding: 10px 24px !important;
        font-size: 12px;
        letter-spacing: .5px;
        height: auto !important;
        width: 99% !important;
        margin: 15px 0px;
    }

    #loginForm input[type="button"], #diatherixloginForm input[type="button"] {
        border: 0;
        border-radius: 4px !important;
        background-color: #1f73b6 !important;
        padding: 10px 24px !important;
        font-size: 12px;
        letter-spacing: .5px;
        height: auto !important;
        width: 99% !important;
        margin: 15px 0px;
    }

.login-error-div {
    background: #D50032;
    border: solid 1px #9a9b9c;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
    width: 290px;
    padding: 10px;
    margin-left: 5px;
    text-align: center;
    margin: 30px auto 0;
}

h3.aces-common-header,
.aces-common-header {
    color: #616161 !important;
}

button:disabled {
    background-color: rgba(211,211,211,1) !important;
}

.aces-bread-crumb-container a {
    color: gray !important;
    text-decoration: underline !important;
}

.selected-secnav {
    background-color: #1f73b6 !important;
}

    .selected-secnav:hover {
        background-color: #4d4d4f !important;
        color: #fff !important;
        cursor: pointer;
    }

.aces-patient-name-header {
    color: #000 !important;
    background-color: transparent !important;
}

.aces-data-row button {
    padding: 0 !important;
    background: none !important;
    color: #1f73b6 !important;
}

    .aces-data-row button.aces-small-button {
        color: #FFF !important;
        background-color: #1f73b6 !important;
        padding: 8px 18px !important;
        text-shadow: none;
    }

.aces-data-row:hover button.aces-small-button {
    background: #FFF !important;
    color: #1f73b6 !important;
}

table.dataTable.hover tbody tr:hover button, table.dataTable.display tbody tr:hover button,
.aces-data-row:hover button {
    background: #FFF !important;
    color: #1f73b6 !important;
    text-shadow: none !important;
}

.aces-data-row:hover button {
    color: #FFF !important;
    background: none !important;
}

.ui-dialog .ui-dialog-titlebar-close {
    top: 43% !important;
    padding: 0px 9px !important;
    line-height: 10px !important;
}

.aces-labpanelcd-clear-button,
.aces-autocomplete-clear-button,
.aces-icd-clear-button {
    margin-left: 6px;
    padding: 8px !important;
    position: relative;
    top: 2px;
}

.aces-icd-bundled-button {
    padding: 10px !important;
}

button.ui-multiselect {
    width: 100% !important;
}

.ui-multiselect-menu {
    width: 600px !important;
}

div[aria-describedby="CheckPrimaryICDDiv"] {
    width: 350px !important;
}

#CheckPrimaryICDDiv {
    height: 85px !important;
}

.ui-widget {
    font-family: Helvetica,Arial,'Liberation Sans',FreeSans,sans-serif !important;
}

button.aces-link-button.edit-button {
    padding: 5px !important;
}

.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    gap: 16px;
}

    .form-row label {
        min-width: 180px;
        margin-bottom: 0;
    }

    .form-row select,
    .form-row input,
    .form-row .aces-calendar,
    .form-row .aces-multiselect,
    .form-row button {
        flex: 1 1 0;
        max-width: 350px;
    }

.header-username-logout {
    
    align-items: center;
    justify-content: right;
    margin-right: 20px;
    text-align: right;
}
/* Mobile-friendly overrides for ZZZ site */
@media only screen and (max-width: 600px) {
    .aces-bread-crumb-container {
        margin-bottom: 3px;
    }


    #homeButton, #homeButton {
        max-width: 100px !important;
        height: auto !important;
        margin: 4px 0 !important;
        display: inline-block !important;
    }
     
    .aces-patient-inquiry-block {               
        border-style: none;        
    }

    .expand {
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
        font-size: 12px;
        font-family: arial, helvetica, sans-serif;
        padding: 10px 10px 10px 10px;
        text-decoration: none;
        display: inline-block;
        text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
        font-weight: bold;
        color: #FFFFFF;
        background-color: #1f73b6 !important;
        cursor: pointer;
        font-size: 1em;
        font-weight: 600;
        margin-right: 8px;
        padding: 7px;
        width: auto;
    }
    #logoutButton {
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
        font-size: 12px;
        font-family: arial, helvetica, sans-serif;
        padding: 0px;
        text-decoration: none;
        display : table-cell;        
        text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
        font-weight: bold;
        color: #FFFFFF;
        background-color: #1f73b6 !important;
        cursor: pointer;
        font-size: 1em;
        font-weight: 600;
        margin-right: 8px;
        padding: 7px;
        width: auto;
    }

    .header-username-logout {
        display: flex;
        align-items: center;
        justify-content:right;
        margin-right:0px;
        text-align:right;
    }



    .form-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

        .form-row label, .form-row input {
            min-width: 0px;
            margin-bottom: 0px;
            margin-top: 0px;
        }
}
