﻿@page {
    margin: .5cm;
}

html {
    height: 100%;
}

body {
    overflow: paged-y;
    background-color: #FFFFFF !important;
    color: #000000;
    font-size: 10pt !important;
}
    body .neup_body_left, body .neup_body_right {
        background: none !important;
    }
        body * {
        font-size: 10pt !important;
    }

.neup_content {
    border: 0;
}

/*Page Breaks*/
a {
    page-break-inside: auto;
}

h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
}

table {
    page-break-inside: avoid;
}

/*Set column widths forcing table off page*/
table colgroup col {
    width: auto !important;
}
/*Assume last column is always action links*/
    table colgroup col:last-child {
        width: 0 !important;
    }

    table td {
        line-break: anywhere;
        /*-webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;*/
    }

table td * {
    font-size: .9em !important;
}
    table tr td:last-child:not(.rgCommandCell),
    table tr td:last-child:not(:has(.required-count)) { /*Assume last column is always action links*/
        display: none;
    }

    table tr.rgNoRecords td:last-child,
    table tr.rgCommandRow td:last-child { /*unless special column last column is always action links*/
        display: table-cell;
    }
    
    /* Hide items in command row that are not file count. */
    table tr td.rgCommandCell :not(.required-count, .required-count span) {
        display: none;
    }

    table tr td.rgCommandCell {
        padding: 0;
        background: none !important;
        border: 0 !important;
    }

/*table tr td.rgCommandCell .required-count { 
    display: block;
}*/


ul, ol, dl {
    page-break-before: avoid;
}

/* font sizes */

h1 {
    font-size: 16pt !important;
}

.neup_title, h2 {
    font-size: 14pt !important;
}

.neup_title, h3 {
    font-size: 12pt !important;
}

h4, fieldset legend {
    font-size: 11pt !important;
}

.neup_form .neup_label {
    width: 200pt !important;
    display: block;
}

span.neup_right {
    display: block;
    width: 100%;
}

/* hide elements that are not needed on export. */
.RadComboBox button, .confirmation-fields,
.neup_editor input, #shadowbox, .mp-results, #sessionClock {
    display: none !important;
}

.mode-tab.view-mode {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding-top: 0;
}




.RadComboBox span.rcbInner {
    border: 0 !important;
    background: none;
}


input, textarea, select {
    border: 0 !important;
    border-bottom: 1px solid #888888 !important;
    font-size: 10px;
    background-color: #FFFFFF;
}
input, textarea, select, .RadInput, .neup_med, .neup_long, .RadComboBox input {
    color: #000000 !important;
    display: block;
    width: 95% !important;
    margin: 0 0 0 5% !important;
    overflow: visible !important;
}

.login-logout input {
    width: auto !important;
    display: none;
}

    .RadInput input, .RadInput textarea {
        margin: 0 !important;
    }

    input[type=checkbox] {
        width: auto !important;
        margin-top: 2px !important;
        margin-right: 1em !important;
        display: inline-block;
    }

#imgBtnLogout, #imgBtnLogin {
    display: inline;
    width: auto !important;
    margin: 0 !important;
}

    .neup_editor > input + div > *:first-child::before, /*apply to first child*/
    .neup_editor > input + div:not(:has(*))::before { /*does not have children elements, but pencil exists.*/
    font-family: "FontAwesome";
    content: "\f040  ";
}
    .RadInputDisabled .riTextBox, .RadComboBox .rcbDisabled {
        opacity: 1 !important;
    }

    input [type=submit], input[type=button], input[type=radio], input[type=radio] + label {
        display: none;
    }

input[type=radio]:checked, input[type=radio]:checked + label {
            display: inline;
        }


.attachment-type-identifier span::before {
    content: attr(title);
    position: absolute;
    top: -1.25em;
    right: 0;
    white-space: nowrap;
}

#printEnder {
    border: 1px solid #333333;
    border-width: 1px 0 1px 0;
    text-align: center;
    page-break-after: always;
}

    #printEnder::before, #printEnder:before {
        content: '-- end of document --';
    }

/*.validator {
    visibility: visible !important;
}*/

label:has(.validator) .neup_label::after {
    content: '';
    visibility: hidden;
}