/* help.osss.uic.edu — shared front-end styles
 * Linked from every page so styling and accessibility behavior stay consistent.
 *
 * Structure:
 *   1. Accessibility helpers (skip link)
 *   2. Shared layout / components (used by all pages)
 *   3. Global form defaults
 *   4. Page-specific overrides, scoped with body#<page-name>
 */

/* ------------------------------------------------------------------ *
 * 1. Accessibility helpers
 * ------------------------------------------------------------------
 */

/* Skip to main content link: visually hidden until focused (keyboard/AT users),
 * then revealed at the top-left of the viewport. Target: <main id="main-content">.
 */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    z-index: 100;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* ------------------------------------------------------------------ *
 * 2. Shared layout / components
 * ------------------------------------------------------------------
 */

header {
    min-height: 100px;
    background-color: #001E62;
    color: white;
}

div.subpage {
    padding: 1.5em;
    border-bottom: solid 1px grey;
    margin-bottom: .75em;
}

td.separator {
    border-top: none;
}

.subpage h1 {
    font-size: 1.5em;
    font-weight: bold;
}

.subpage h2 {
    font-size: 1.25em;
    font-weight: bold;
}

.subpage h3 {
    font-size: 1em;
    font-weight: bold;
}

main.subpage {
    padding-top: 2em;
}

main.subpage div.row.course {
    margin-bottom: 4em;
}

p.disclaimer {
    font-weight: bold;
    color: red;
}

.large-brand-mark {
    height: 120px;
    fill: white;
}

.form-wrapper, .confirm-wrapper {
    padding: 1.25em;
}

#criminal-history-explanation-wrapper {
    display: none;
}

#criminal-history-explanation-wrapper.show {
    display: block;
}

img {
    border: 0;
}

#menuz {
    width: 680px;
    position: relative;
    left: 50px;
    height: 100px;
    margin: 1em auto;
}

#menuz a:visited, #menuz a {
    text-decoration: none;
    color: #d00;
    font-weight: bold;
}

#menuz a:visited img, #menuz a img {
    filter: alpha(opacity=40);
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=40);
    -moz-opacity: 0.40;
    opacity: 0.4;
}

#menuz a:hover {
    background-color: transparent;
    color: #06a;
}

#menuz a span {
    display: none;
}

#menuz a:hover span {
    display: block;
    position: absolute;
    top: 35px;
    left: -110px;
    font-size: 12px;
    height: 18px;
    padding: 4px;
    font-weight: bold;
    color: #a40;
}

#menuz a:hover img {
    filter: alpha(opacity=100);
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
    -moz-opacity: 1.00;
    opacity: 1;
}

#menuz_title {
    width: 100px;
    position: absolute;
    left: 10px;
    height: 100px;
    margin: 1em auto;
}

/* ------------------------------------------------------------------ *
 * 3. Global form defaults
 * Accessible placeholder contrast (>= 4.5:1) applied site-wide.
 * ------------------------------------------------------------------
 */

textarea,
select {
    color: #000;
    background-color: #fff;
}

textarea::placeholder {
    color: #595959;
    opacity: 1;
}

input::placeholder {
    color: #595959;
    opacity: 1;
}

/* ------------------------------------------------------------------ *
 * 4. Page-specific overrides (scoped with body#<page-name>)
 * ------------------------------------------------------------------
 */

/* Placement Testing help form */
body#placement-testing textarea#issueDesc {
    color: #000 !important;
    background-color: #fff !important;
    border-color: #000000 !important;
}

body#placement-testing textarea#issueDesc::placeholder {
    color: #595959 !important;
    opacity: 1 !important;
}

/* Portal Connect help form */
body#portal-connect-help select#issue {
    color: #000000 !important;
    background-color: #ffffff !important;
}

body#portal-connect-help select#stutype {
    color: #000000 !important;
    background-color: #ffffff !important;
}

body#portal-connect-help textarea#issue_description {
    color: #000000 !important;
    background-color: #ffffff !important;
}

body#portal-connect-help textarea#issue_description::placeholder {
    color: #595959 !important;
    opacity: 1 !important;
}

/* Online Placement Test Navigation and Information (HTML article page) */
body#online-placement-test-navigation main {
    padding: 2em 0 3em;
}

body#online-placement-test-navigation main h2 {
    font-size: 1.35em;
    font-weight: bold;
    margin-top: 1.5em;
    color: #001E62;
}

body#online-placement-test-navigation main h3 {
    font-size: 1.1em;
    font-weight: bold;
}

body#online-placement-test-navigation .doc-date {
    color: #000;
    font-weight: bold;
}

body#online-placement-test-navigation ol.steps > li {
    margin-bottom: 1.25em;
}

body#online-placement-test-navigation figure.nav-shot {
    margin: 0.75em 0 0.25em;
}

body#online-placement-test-navigation img.nav-shot-img {
    max-width: 100%;
    height: auto;
    border: 1px solid #6c757d;
}

body#online-placement-test-navigation p.note {
    background-color: #eef1f7;
    border-left: 4px solid #001E62;
    padding: 0.75em 1em;
    margin: 0.75em 0;
}

body#online-placement-test-navigation .toc a {
    font-weight: 600;
}

body#online-placement-test-navigation a {
    color: #00308f;
}
