/*
  ---- ---- ---- ---- RESET STYLESHEET ---- ---- ---- ----
*/
html, body {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, cite, code, del, dfn, em, img, q, s, samp, small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, button, table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: normal;
    font-style: normal;
    font-size: 100%;
    line-height: 1.2;
    font-family: inherit;
    text-align: left;
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
    display: block;
}

audio[controls], canvas, video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/*
  ---- ---- ---- ---- FONT-FACE DECLARATIONS ---- ---- ---- ----
*/
/*
  ---- ---- ---- ---- ALL VIEWPORTS AND SIZES ---- ---- ---- ----
*/
/* BODY */
@-webkit-viewport {
    width: device-width;
}

@-moz-viewport {
    width: device-width;
}

@-ms-viewport {
    width: device-width;
}

@-o-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}

html {
    width: 100%;
    height: 100%;
    background: white;
    -webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    width: 100%;
    height: 100%;
    background: transparent;
    font-family: "pragmatica-web", Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 100%;
    line-height: 1.2em;
    color: #404040;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-family: "pragmatica-web", Helvetica Neue, Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #4f8dc3;
    line-height: 1.35em;
    text-rendering: optimizeLegibility;
}

h1,
.h1 {
    margin-bottom: 0.8em;
    font-size: 2em;
}

h2,
.h2 {
    margin-bottom: 0.8em;
    font-size: 1.5em;
}

h3,
.h3 {
    margin-bottom: 0.68571em;
    font-size: 1.25em;
    color: #404040;
}

h4,
.h4 {
    margin-bottom: 0.68571em;
    font-size: 1.125em;
}

h5,
.h5 {
    margin-bottom: 0.6em;
    font-size: 1em;
}

h6,
.h6 {
    margin-bottom: 0.6em;
    font-size: 1em;
    font-weight: normal;
}

p,
ol,
ul,
dl,
address {
    margin-bottom: 1.2em;
    line-height: 1.44em;
}

small {
    font-size: .875em;
}

small.f-right {
    font-size: .875em;
    float:right;
    padding-bottom: 5px;
}

ul,
ol {
    padding: 0 0 0 20px;
}

blockquote {
    margin: 0 20px 1.2em 15px;
    border-left: 5px solid #bfbfbf;
    font-family: "pragmatica-web", Helvetica Neue, Helvetica, Arial, sans-serif;
    font-style: italic;
}

dl,
dd {
    margin-bottom: 1.2em;
}

dt {
    font-weight: bold;
}

b,
strong {
    font-weight: bold;
}

    b a,
    strong a {
        font-weight: bold;
    }

dfn,
em {
    font-style: italic;
}

ins {
    background-color: #e6e6e6;
    color: red;
    text-decoration: none;
}

mark {
    background-color: #e6e6e6;
    color: red;
    font-style: italic;
    font-weight: bold;
}

pre,
code,
kdb,
samp {
    padding: 5px;
    background-color: #e6e6e6;
    font-family: Monaco, Courier New, monospace;
    font-size: .875em;
}

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

sub,
sup {
    position: relative;
    font-size: .75em;
    line-height: 0;
    vertical-align: 1.2em;
}

sup {
    top: -.5em;
}

sub {
    bottom: -.25em;
}

/* LINKS */
a,
.link {
    color: #4f8dc3;
    text-decoration: none;
    cursor: pointer;
}

    a:hover,
    .link:hover {
        color: #3d7bb2;
        text-decoration: underline;
        border: 0;
        outline: 0;
    }

    a:visited,
    .link:visited {
        color: #346997;
    }

    a:focus, a:active,
    .link:focus,
    .link:active {
        color: #2a567c;
        border: 0;
        outline: 0;
    }

    a img,
    .link img {
        border: 0;
        outline: 0;
    }

strong a {
    font-weight: bold;
}

/* SELECTION */
::-moz-selection {
    background-color: gray;
    color: white;
    text-shadow: none;
}

::selection {
    background-color: gray;
    color: white;
    text-shadow: none;
}

/* ELEMENTS */
hr {
    display: block;
    margin: 1em 0;
    padding: 0;
    height: 1px;
    border: 0;
    background-color: #bfbfbf;
}

img {
    max-width: 100%;
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
}

figure {
    margin-bottom: 1.2em;
}

figcaption {
    display: block;
    margin: 0 0 1.2em 0;
    padding: 0;
    font-weight: normal;
}

/* FORMS */
label {
    font-size: .875em;
    color: #404040;
    cursor: pointer;
}

input[type="text"],
input[type="date"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="url"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="file"],
input[type="password"],
select,
textarea,
.textbox {
    display: block;
    width: 100%;
    max-width: 500px;
    padding: 3px;
    margin-bottom: 8px;
    background-color: white;
    border: 1px solid #d1d2d2;
    color: black;
    font-size: 1.25em;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: inset 2px 2px 2px rgba(0, 0, 0, 0.49);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.7);
}

    input[type="text"]:active, input[type="text"]:focus,
    input[type="date"]:active,
    input[type="date"]:focus,
    input[type="time"]:active,
    input[type="time"]:focus,
    input[type="datetime"]:active,
    input[type="datetime"]:focus,
    input[type="datetime-local"]:active,
    input[type="datetime-local"]:focus,
    input[type="url"]:active,
    input[type="url"]:focus,
    input[type="email"]:active,
    input[type="email"]:focus,
    input[type="number"]:active,
    input[type="number"]:focus,
    input[type="search"]:active,
    input[type="search"]:focus,
    input[type="file"]:active,
    input[type="file"]:focus,
    input[type="password"]:active,
    input[type="password"]:focus,
    select:active,
    select:focus,
    textarea:active,
    textarea:focus,
    .textbox:active,
    .textbox:focus {
        border-color: #9da0a0;
        outline: none;
    }

select {
    /*-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;*/
    background: transparent;
}

input[type="checkbox"],
input[type="radio"] {
    margin: 3px;
    padding: 0;
    vertical-align: top;
    *width: 13px;
    *height: 13px;
}

/* body > div.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-front.ui-dialog-buttons.ui-draggable.ui-resizable > div.ui-dialog-buttonpane.ui-widget-content.ui-helper-clearfix > div > button, */
.ui-dialog-buttonset button.ui-button,
.ui-dialog-buttonset button,
button,
.button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    display: block;
    width: 72%;
    height: auto;
    padding: 8px 3px;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#a5d93b), to(#85a82b));
    background-image: -webkit-linear-gradient(top, #a5d93b, #85a82b);
    background-color: #85a82b;
    background-image: -moz-linear-gradient(top, #a5d93b, #85a82b);
    background-image: -ms-linear-gradient(top, #a5d93b, #85a82b);
    background-image: -o-linear-gradient(top, #a5d93b, #85a82b);
    background-image: linear-gradient(top, #a5d93b, #85a82b);
    background-repeat: repeat-x;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 0;
    font-family: "pragmatica-web", Helvetica Neue, Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: white;
    font-size: 23px;
    text-align: center;
    cursor: pointer;
    margin: 0em auto 1em;
}

    button:hover,
    .button:hover,
    input[type="button"]:hover,
    input[type="submit"]:hover,
    input[type="reset"]:hover {
        color: white;
        text-decoration: none;
    }

    button:active,
    .button:active,
    input[type="button"]:active,
    input[type="submit"]:active,
    input[type="reset"]:active {
        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#a5d93b), to(#759426));
        background-image: -webkit-linear-gradient(top, #a5d93b, #759426);
        background-color: #759426;
        background-image: -moz-linear-gradient(top, #a5d93b, #759426);
        background-image: -ms-linear-gradient(top, #a5d93b, #759426);
        background-image: -o-linear-gradient(top, #a5d93b, #759426);
        background-image: linear-gradient(top, #a5d93b, #759426);
        background-repeat: repeat-x;
    }

    .button:visited {
        color: white;
    }

input[type="hidden"] {
    display: none;
}

input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
    -webkit-opacity: 0.5;
    -moz-opacity: 0.5;
    opacity: 0.5;
    cursor: not-allowed;
}

::-webkit-input-placeholder {
    color: #bfbfbf;
    font-style: italic;
    font-family: "pragmatica-web", Helvetica Neue, Helvetica, Arial, sans-serif;
}

:-moz-placeholder {
    color: #bfbfbf;
    font-size: .875em;
    font-style: italic;
    font-family: "pragmatica-web", Helvetica Neue, Helvetica, Arial, sans-serif;
}

::-moz-placeholder {
    color: #bfbfbf;
    font-size: .875em;
    font-style: italic;
    font-family: "pragmatica-web", Helvetica Neue, Helvetica, Arial, sans-serif;
}

:-ms-input-placeholder {
    color: #bfbfbf;
    font-size: .875em;
    font-style: italic;
    font-family: "pragmatica-web", Helvetica Neue, Helvetica, Arial, sans-serif;
}

/* BUTTON SIZES */
.button-xl {
    padding: .875em 1.75em;
    font-size: 1.25em;
    -webkit-border-top-right-radius: 6px;
    -webkit-border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-top-left-radius: 0;
    -moz-border-radius-topright: 6px;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-topleft: 0;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

.button-lg {
    padding: .5em 1em;
    font-size: 1em;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-top-left-radius: 0;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-topleft: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

.button-med {
    padding: .375em .75em;
    font-size: .875em;
    line-height: 1em;
    -webkit-border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-top-left-radius: 0;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-topleft: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

.button-xs {
    padding: .25em .5em;
    font-size: .75em;
    line-height: .875em;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-top-left-radius: 0;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-topleft: 0;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

/* TABLES */
/*
table {
    height: 100%;
    width: 100%;
    margin-bottom: 0.6em;
    background-color: transparent;
    border-spacing: 0;
}

th,
td {
    padding: 0 .5em;
    vertical-align: middle;
    border-top: 1px solid #bfbfbf;
    line-height: 1.2em;
    text-align: left;
    font-size: .875em;
}

th {
    font-weight: bold;
}

thead th {
    vertical-align: bottom;
}

thead:first-child tr:first-child th,
thead:first-child tr-first-child td {
    border-top: 0;
}

tbody tr td,
tbody tr th {
    -webkit-transition: background-color 0.25s 0 ease;
    -moz-transition: background-color 0.25s 0 ease;
    -ms-transition: background-color 0.25s 0 ease;
    -o-transition: background-color 0.25s 0 ease;
    transition: background-color 0.25s 0 ease;
}

tbody tr:hover td,
tbody tr:hover th {
    background-color: #e6e6e6;
}

.table-striped tbody tr:nth-child(odd) td,
.table-striped tbody tr:nth-child(odd) th {
    background-color: #e6e6e6;
}
*/
/* FORM VALIDATION CLASSES FROM MVC */
.field-validation-error {
    color: #f00;
    display: block !important;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #f00;
    background-color: #fee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #f00;
}

.validation-summary-valid {
    display: none;
}

/* OCDA SPECIFIC STYLES */
.text_outline, button,
.button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    text-shadow: -2px -2px 0 #85a82b, 2px -2px 0 #85a82b, -2px 2px 0 #85a82b, 2px 2px 0 #85a82b;
    letter-spacing: 1px;
}

.warning {
    color: red;
    font-size: 1em;
}

.error {
    max-width: 500px;
    margin: 1em auto;
    color: red;
    border-left: 20px solid red;
    padding-left: 5px;
}

/* PAGE LAYOUT */
.wrapper {
    position: relative;
    width: 90%;
    height: auto;
    min-height: 100%;
    margin: 0 auto;
    max-width: 1380px;
}

.oldie .wrapper {
    max-width: 800px;
}

body .ui-widget {
    font-size: 1em;
}

.ui-datepicker {
    z-index: 10000000 !important;
}

@media only screen and (min-width: 38em) {
    #home {
        display: inline-block;
    }

    body .ui-widget {
        font-size: 1.5em;
    }
}

@media only screen and (min-width: 76.25em) {
    .no-csscalc .secure header.main,
    .no-csscalc .secure footer.main,
    .no-csscalc .secure section.main_content {
        width: 80%;
        margin-left: 20%;
    }

    .no-csscalc .secure nav.main {
        width: 20%;
    }
}

header {
    text-align: center;
}

    header h1 {
        margin-bottom: 1em;
        padding: .5em 0;
        border-bottom: 2px solid #95bd30;
    }

#openLogin {
    display: none;
}

.login,
.full_login,
.logged_in {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

    .login label,
    .full_login label,
    .logged_in label {
        display: block;
    }

    .login .existing_or_new,
    .full_login .existing_or_new,
    .logged_in .existing_or_new {
        text-align: left;
        margin-bottom: 2em;
    }

        .login .existing_or_new label,
        .full_login .existing_or_new label,
        .logged_in .existing_or_new label {
            display: inline-block;
            font-size: 1.25em;
        }

        .login .existing_or_new span,
        .full_login .existing_or_new span,
        .logged_in .existing_or_new span {
            display: block;
            margin-bottom: .25em;
        }

        .login .existing_or_new input,
        .full_login .existing_or_new input,
        .logged_in .existing_or_new input {
            vertical-align: top;
            margin-right: 5px;
        }

.name-logoutlink {
    display: none;
}

a.log_off_link {
    margin-bottom: 1em;
}

#forgotPasswordForm {
    display: none;
}

#confirmNewPassword {
    display: block;
}

#forgotPasswordForm label {
    display: none;
}

#confirmNewPassword label {
    display: block;
}

.links {
    margin-top: 2em;
    text-align: center;
}

    .links a {
        font-weight: bold;
    }

@media only screen and (min-width: 38em) {
    .logged_in {
        text-align: left;
    }

        .logged_in .divider {
            display: inline;
        }

        .logged_in a {
            display: inline;
        }
}

@media only screen and (min-width: 48em) {
    header {
        position: relative;
        text-align: left;
        margin-bottom: 10px;
        padding: 5px;
        border-bottom: 2px solid #95bd30;
    }

        header h1 {
            margin-bottom: 0;
            padding: 0;
            border-bottom: 0;
        }

    #openLogin {
        display: inline-block;
        position: absolute;
        top: 32px;
        right: 0;
        padding-right: 30px;
        background: url(/content/images/arrow_down.png) no-repeat right 50%;
        font-size: 1.25em;
        color: #bfbfbf;
    }

        #openLogin:hover {
            text-decoration: none;
        }

        #openLogin.opened {
            background-image: url(/content/images/arrow_up.png);
        }

    .logged_in {
        display: inline-block;
        position: absolute;
        top: 1em;
        right: 0;
        width: auto;
    }

        .logged_in .button {
            display: none;
        }

    .name-logoutlink {
        display: inline;
    }

    .login {
        position: absolute;
        display: none;
        top: 56px;
        right: 0;
        width: 20em;
        margin: 0 auto;
        padding: 1em;
        border: 2px solid #95bd30;
        background: white;
    }
}

@media only screen and (min-width: 76.25em) {
    .secure header.main {
        width: -moz-calc(100% - 200px);
        width: -webkit-calc(100% - 200px);
        width: calc(100% - 200px);
        margin-left: 200px;
    }
}

nav.main {
    text-align: center;
    margin-bottom: 1em;
}

    nav.main a {
        display: inline-block;
        width: 24%;
        max-width: 80px;
        padding-top: 30px;
        color: #9c9c9c;
        font-size: .75em;
        text-align: center;
        overflow: hidden;
    }

#home {
    display: none;
    background: url(/content/images/iconsprite.png) no-repeat 50% -41px;
}

#assessments {
    background: url(/content/images/iconsprite.png) no-repeat 50% -109px;
}

#payments {
    background: url(/content/images/iconsprite.png) no-repeat 50% -172px;
}

#account {
    background: url(/content/images/iconsprite.png) no-repeat 50% -234px;
}

#help {
    background: url(/content/images/iconsprite.png) no-repeat 50% -306px;
}

#archive {
    background: url(/content/images/iconsprite.png) no-repeat 50% -376px;
}

#admin {
    background: url(/content/images/iconsprite.png) no-repeat 50% -448px;
}

@media only screen and (min-width: 38em) {
    nav.main {
        text-align: center;
    }

        nav.main a {
            display: inline-block;
            width: 20%;
            max-width: 80px;
            padding-top: 30px;
            color: #9c9c9c;
            font-size: .75em;
            text-align: center;
            overflow: hidden;
        }
}

@media only screen and (min-width: 76.25em) {
    .secure nav.main {
        float: left;
        width: 200px;
    }

    nav.main a {
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 1em 0 1em 45px;
        line-height: 30px;
        text-align: left;
        font-size: 1.25em;
    }

    nav.main #home {
        display: block;
    }

    #home {
        display: none;
        background-position: -50px -23px;
    }

    #assessments {
        background-position: -50px -91px;
    }

    #payments {
        background-position: -50px -154px;
    }

    #account {
        background-position: -50px -216px;
    }

    #archive {
        background-position: -50px -358px;
    }

    #help {
        background-position: -50px -288px;
    }

    #admin {
        background-position: -50px -430px;
    }
}

.main_content {
    display: none;
}

    .main_content h1 {
        text-align: center;
        margin-bottom: 1.4em;
    }

    .main_content.public {
        max-width: 950px;
        margin-left: auto;
        margin-right: auto;
    }

.login_page .main_content {
    display: block;
    max-width: 500px;
    margin: 0 auto 2em auto;
}

.secure .logged_in {
    position: absolute;
    top: 1em;
    right: 1em;
    width: auto;
    max-width: 40%;
    font-size: .875em;
}

.secure .main_content {
    display: block;
    max-width: 500px;
    margin: 0 auto 2em auto;
}

.logged_in form {
    text-align: right;
}

.logged_in .divider {
    display: none;
}

.logged_in a {
    display: block;
    text-align: right;
}

#assessmentWrapper {
    *zoom: 1;
}

    #assessmentWrapper:before, #assessmentWrapper:after {
        display: table;
        content: "";
    }

    #assessmentWrapper:after {
        clear: both;
    }

    #assessmentWrapper h3 {
        border-bottom: 2px solid black;
    }

        #assessmentWrapper h3.question_text {
            border-bottom: 0;
        }

@media only screen and (min-width: 48em) {
    .main_content {
        display: block;
        padding: 0 10%;
    }

    .login_page .main_content {
        padding: 0;
    }

    .secure .main_content {
        width: 100%;
        max-width: 100%;
    }

    .secure .button,
    .secure button,
    .secure input[type='button'] {
        display: block;
        max-width: 500px;
        margin: 0 auto;
    }

    .button_wrapper {
        width: 60%;
        max-width: 400px;
        margin: 2em auto;
    }

    #assessmentWrapper {
        *zoom: 1;
    }

        #assessmentWrapper:before, #assessmentWrapper:after {
            display: table;
            content: "";
        }

        #assessmentWrapper:after {
            clear: both;
        }

        #assessmentWrapper li {
            line-height: 1.4;
        }
}

@media only screen and (min-width: 76.25em) {
    .secure section.main_content {
        float: right;
        width: -moz-calc(100% - 200px);
        width: -webkit-calc(100% - 200px);
        width: calc(100% - 200px);
    }
}

#progressBar {
    position: relative;
    height: 12px;
    width: 100%;
    margin: 40px 0 30px;
}

    #progressBar .bar_end {
        position: absolute;
        left: 0;
        top: 0;
        height: 12px;
        width: 12px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        background-color: #85a82b;
    }

        #progressBar .bar_end:last-child {
            left: auto;
            right: 0;
        }

    #progressBar .bar_middle {
        position: absolute;
        left: 0;
        top: 3px;
        height: 6px;
        width: 100%;
        border-left: 12px solid #85a82b;
        border-right: 12px solid #85a82b;
    }

        #progressBar .bar_middle .bg_line {
            position: absolute;
            left: 0;
            top: 2px;
            width: 100%;
            height: 2px;
            background: #85a82b;
        }

        #progressBar .bar_middle #progress {
            position: absolute;
            top: 0;
            left: 0;
            height: 6px;
            width: 0;
            background: #85a82b;
        }

    #progressBar #bubble {
        position: absolute;
        display: inline-block;
        top: -33px;
        left: 0;
        padding-bottom: 6px;
        background: url(/content/images/progress_arrow.png) no-repeat center bottom;
        z-index: 2;
    }

    #progressBar #percent {
        font-size: .75em;
        padding: 2px;
        color: white;
        background: #4f8dc3;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }

.test_list {
    margin-bottom: 2em;
}

    .test_list table {
        border: 2px solid #9c9c9c;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;
    }

    .test_list thead {
        background: #9c9c9c;
        color: white;
        font-size: 1.2em;
    }

    .test_list th {
        border-right: 1px solid white;
        vertical-align: middle;
    }

        .test_list th:last-child {
            border-right: none;
        }

    .test_list tr.inprogress:hover td,
    .test_list .new_assessment:hover td {
        background-color: #e6e6e6;
    }

    .test_list tr.inprogress td,
    .test_list .new_assessment td {
        background-color: #eef8d8;
        font-weight: bold;
    }

    .test_list tr.inprogress:last-child,
    .test_list .new_assessment:last-child {
        -webkit-border-top-right-radius: 0;
        -webkit-border-bottom-right-radius: 8px;
        -webkit-border-bottom-left-radius: 8px;
        -webkit-border-top-left-radius: 0;
        -moz-border-radius-topright: 0;
        -moz-border-radius-bottomright: 8px;
        -moz-border-radius-bottomleft: 8px;
        -moz-border-radius-topleft: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 8px;
        border-bottom-left-radius: 8px;
        border-top-left-radius: 0;
        -webkit-background-clip: padding-box;
        -moz-background-clip: padding;
        background-clip: padding-box;
    }

    .test_list tr.inprogress a,
    .test_list .new_assessment a {
        font-weight: bold;
    }

    .test_list a {
        display: block;
        line-height: 2em;
    }

    .test_list.agency a {
        font-weight: bold;
    }

.view {
    padding-left: 20px;
    background: url(/content/images/view-icon.png) no-repeat left 50%;
}

.delete {
    padding-left: 20px;
    background: url(/content/images/delete-icon.png) no-repeat left 50%;
}

.continue {
    padding-left: 20px;
    background: url(/content/images/continue-icon.png) no-repeat left 50%;
}

.download {
    padding-left: 20px;
    background: url(/content/images/download-icon.png) no-repeat left 50%;
}

.edit {
    padding-left: 20px;
    background: url(/content/images/edit-icon.png) no-repeat left 50%;
}

.assign {
    padding-left: 20px;
    background: url(/content/images/reassign-icon.png) no-repeat left 50%;
}

.add {
    padding-left: 20px;
    background: url(/content/images/add-icon.png) no-repeat left 50%;
}

.comments {
    margin-bottom: 10px;
}

    .comments label {
        display: none;
    }

.resultset {
    max-height: 600px;
    overflow-y: scroll;
}

.results {
    margin-bottom: 10px;
}

    .results .titles td {
        font-weight: bold;
    }

@media only screen and (max-width: 38em) {
    .test_list table, .test_list thead, .test_list tbody, .test_list th, .test_list td, .test_list tr {
        display: block;
    }

    .test_list tr {
        border-bottom: 1px solid #9c9c9c;
    }

    .test_list thead {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .test_list td {
        position: relative;
        padding-left: 50%;
        border: none;
        line-height: 2em;
    }

        .test_list td:before {
            position: absolute;
            top: 1px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }

        .test_list td:nth-of-type(1):before {
            content: "Last Accessed:";
        }

        .test_list td:nth-of-type(2):before {
            content: "Status:";
        }

        .test_list td:nth-of-type(3):before {
            content: "Actions: ";
        }

    .test_list tr.inprogress td:before {
        font-weight: bold;
    }
}

h2#sectionTitle {
    text-align: center;
}

.assessment_sections {
    font-weight: bold;
}

    .assessment_sections input[type='checkbox'],
    .assessment_sections input[type='radio'] {
        margin-right: 5px;
    }

    .assessment_sections .drug_name {
        display: inline-block;
        margin-left: -15px;
        padding-left: 15px;
        cursor: default;
    }

    .assessment_sections .drug_description {
        display: block;
        font-weight: normal;
        cursor: default;
    }

.question {
    width: 80%;
    max-width: 650px;
    margin: 1em auto 1em auto;
}

    .question .question_text {
        border-bottom: 0;
    }

    .question span {
        display: none;
    }

    .question label {
        position: relative;
        display: inline-block;
        width: 90%;
        margin-left: -15px;
        padding-left: 15px;
        z-index: 1000000;
        font-size: .875em;
    }
    /*
  .question span {
    position: relative;
    display: inline-block;
    width: 90%;
    margin-left: -15px;
    padding-left: 15px;
    z-index: 1000000; }
  */
    .question .answers {
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;
        border: 2px solid #bfbfbf;
        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e3eecb), to(#f8fbf1));
        background-image: -webkit-linear-gradient(top, #e3eecb, #f8fbf1);
        background-color: #f8fbf1;
        background-image: -moz-linear-gradient(top, #e3eecb, #f8fbf1);
        background-image: -ms-linear-gradient(top, #e3eecb, #f8fbf1);
        background-image: -o-linear-gradient(top, #e3eecb, #f8fbf1);
        background-image: linear-gradient(top, #e3eecb, #f8fbf1);
        background-repeat: repeat-x;
        clear: both;
    }

        .question .answers.ddl {
            /*background: url(/content/images/select_arrow.png) no-repeat right 21px;*/
            background: none;
            overflow: hidden;
            -webkit-border-radius: 8px;
            -moz-border-radius: 8px;
            border-radius: 8px;
            border: 2px solid #bfbfbf;
            margin-bottom: 1.5em;
        }


        .question .answers .box1,
        .question .answers .box2 {
            border-bottom: none;
            padding: 10px !important;
        }


        .question .answers div {
            padding: 4px 10px;
            border-bottom: 2px solid #e6e6e6;
            background-color: white;
            cursor: pointer;
        }

            .question .answers div.selected {
                background-color: transparent;
            }

            .question .answers div:first-child {
                -webkit-border-top-right-radius: 8px;
                -webkit-border-bottom-right-radius: 0;
                -webkit-border-bottom-left-radius: 0;
                -webkit-border-top-left-radius: 8px;
                -moz-border-radius-topright: 8px;
                -moz-border-radius-bottomright: 0;
                -moz-border-radius-bottomleft: 0;
                -moz-border-radius-topleft: 8px;
                border-top-right-radius: 8px;
                border-bottom-right-radius: 0;
                border-bottom-left-radius: 0;
                border-top-left-radius: 8px;
                -webkit-background-clip: padding-box;
                -moz-background-clip: padding;
                background-clip: padding-box;
            }

            .question .answers div:last-child {
                border-bottom: 0;
                -webkit-border-top-right-radius: 0;
                -webkit-border-bottom-right-radius: 8px;
                -webkit-border-bottom-left-radius: 8px;
                -webkit-border-top-left-radius: 0;
                -moz-border-radius-topright: 0;
                -moz-border-radius-bottomright: 8px;
                -moz-border-radius-bottomleft: 8px;
                -moz-border-radius-topleft: 0;
                border-top-right-radius: 0;
                border-bottom-right-radius: 8px;
                border-bottom-left-radius: 8px;
                border-top-left-radius: 0;
                -webkit-background-clip: padding-box;
                -moz-background-clip: padding;
                background-clip: padding-box;
            }

            .question .answers div:only-child {
                border-bottom: 0;
                -webkit-border-radius: 8px;
                -moz-border-radius: 8px;
                border-radius: 8px;
            }

            .question .answers div span,
            .question .answers div label {
                cursor: pointer;
            }
    /*.question label {
    font-size: 1.25em; }*/
    .question input[type='text'],
    .question textarea {
        width: 100%;
        max-width: 100%;
        /*-webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;
        border: 2px solid #bfbfbf;*/
    }

    .question select {
        /*width: -moz-calc(100% + 24px);
        width: -webkit-calc(100% + 24px);
        width: calc(100% + 24px);*/
        /*max-width: -moz-calc(100% + 24px);
        max-width: -webkit-calc(100% + 24px);
        max-width: calc(100% + 24px);*/
        width: 99%;
        border: 0;
        /*-webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;*/
        margin: 0;
    }

.no-csscalc .question select {
    width: 130%;
    max-width: 130%;
}

.no-touch .answers div:hover {
    background-color: transparent;
}

#questionsLoader {
    display: none;
    line-height: 40px;
    text-align: center;
}

    #questionsLoader img {
        height: 40px;
    }

.question-image {
    display: block;
    margin: 1em auto;
    width: 100%;
    max-width: 375px;
    max-height: 467px;
}

@media only screen and (min-width: 48em) {
    .test_list {
        width: 100%;
    }

        .test_list a {
            display: inline-block;
        }

    .delete,
    .download,
    .edit {
        padding-left: 32px;
        background-position: 16px 50%;
    }
}

#shim {
    height: 70px;
    clear: both;
}

footer.main {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 70px;
    text-align: center;
    color: gray;
    font-size: .875em;
}

@media only screen and (min-width: 76.25em) {
    .secure footer.main {
        width: -moz-calc(100% - 200px);
        width: -webkit-calc(100% - 200px);
        width: calc(100% - 200px);
        margin-left: 200px;
    }
}


/* Admin */
.admin aside {
    text-align: right;
    margin-bottom: 10px;
}

    .admin aside > span {
        display: inline-block;
        padding: 6px;
        background-color: #4f8dc3;
        color: #fff;
        cursor: pointer;
    }

.admin ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

    .admin ul li {
        margin-bottom: 10px;
    }

        .admin ul li .parentsection {
            display: block;
            padding: 6px;
            border: 1px solid #cacaca;
            background-color: #f0f0f0;
            cursor: pointer;
        }

        .admin ul li ul.screens {
            padding: 10px;
            border-bottom: 1px solid #95bd30;
        }

            .admin ul li ul.screens > li > span {
                font-weight: bold;
                cursor: pointer;
            }

            .admin ul li ul.screens ul.questions {
                margin-left: 15px;
                margin-top: 15px;
                margin-bottom: 20px;
            }

            .admin ul li ul.screens .answeritem {
                margin-bottom: 15px;
            }

                .admin ul li ul.screens .answeritem input[type=text] {
                    margin: 0px;
                }

                .admin ul li ul.screens .answeritem .edit {
                    background: transparent;
                    padding: 0px;
                }

                .admin ul li ul.screens .answeritem .save {
                    padding: 3px;
                    background-color: red;
                    color: #fff;
                    display: block;
                    width: 50px;
                    text-align: center;
                    margin-top: 5px;
                    cursor: pointer;
                }

                .admin ul li ul.screens .answeritem .actions {
                    display: block;
                }

            .admin ul li ul.screens .question {
                display: inline-block;
                margin: 0px;
                width: 75%;
            }

            .admin ul li ul.screens .questionitem {
                border-bottom: 1px solid #95bd30;
                padding-bottom: 6px;
            }

                .admin ul li ul.screens .questionitem input[type=text], .admin ul li ul.screens .questionitem select {
                    margin: 0px;
                }

                .admin ul li ul.screens .questionitem input[type=text] {
                    margin-bottom: 10px;
                }

                .admin ul li ul.screens .questionitem .actions {
                    margin-top: 10px;
                    display: block;
                    margin-bottom: 15px;
                }

                    .admin ul li ul.screens .questionitem .actions span {
                        display: inline-block;
                        margin-left: 4px;
                        padding: 3px;
                        background-color: #4f8dc3;
                        color: #fff;
                        cursor: pointer;
                    }

                .admin ul li ul.screens .questionitem .answers {
                    margin-top: 10px;
                    margin-left: 30px;
                }

                .admin ul li ul.screens .questionitem .answer {
                    font-style: italic;
                }

                .admin ul li ul.screens .questionitem .edit {
                    background: transparent;
                    padding: 0px;
                }

                .admin ul li ul.screens .questionitem .editquestion {
                    display: inline-block;
                    margin-bottom: 25px;
                    border-bottom: 1px solid red;
                    padding-bottom: 15px;
                }

                .admin ul li ul.screens .questionitem .save {
                    padding: 3px;
                    background-color: red;
                    color: #fff;
                    display: inline-block;
                    width: 50px;
                    text-align: center;
                    margin-top: 5px;
                    cursor: pointer;
                }

                .admin ul li ul.screens .questionitem .advanced {
                    padding: 3px;
                    background-color: red;
                    color: #fff;
                    display: inline-block;
                    min-width: 50px;
                    text-align: center;
                    margin-top: 5px;
                    cursor: pointer;
                }

                .admin ul li ul.screens .questionitem .displaytype {
                    display: block;
                    margin-top: 6px;
                }

                    .admin ul li ul.screens .questionitem .displaytype .changetype {
                        float: right;
                        display: inline-block;
                        margin-left: 4px;
                        padding: 3px;
                        background-color: #4f8dc3;
                        color: #fff;
                        cursor: pointer;
                        position: relative;
                        top: -4px;
                    }

                .admin ul li ul.screens .questionitem .edittype br {
                    display: none;
                }

@media only screen and (min-width: 48em) {
    /* Admin */
    .admin ul li ul.screens .questionitem .editquestion {
        display: block;
    }

    .admin ul li ul.screens .questionitem .actions, .admin ul li ul.screens .answeritem .actions {
        float: right;
        display: inline;
        margin: 0px;
        margin-top: 0px;
        margin-bottom: 0px;
        position: relative;
        top: -5px;
    }
}

.question_text small {
    font-size: 13px;
}

.question_text small > b {
    font-size: 1.25em;
}

.question_text em {
    font-size: 13px;
}

.ui-dialog {
    z-index: 9999999;
}

.ui-dialog-title {
    height: 23px;
}

.ui-dialog-titlebar-close:not(.ui-button)::after {
    content: "x";
    font-size: small;
    text-align:center;
    vertical-align: top;
}

.ui-dialog-buttonset button,
.ui-dialog-buttonset button.ui-button {
    width:auto;
    height:auto;
}