/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

/*html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}*/

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    /*background: #b3d4fc;*/
    text-shadow: none;
    background: #fff;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*	IDOC Global link styles from dashboard.css*/
a { color: #486edf; text-decoration: underline; text-shadow: 0px 0px 0px transparent; }
a:hover{ color: #069; text-decoration: underline; text-shadow: 0px 0px 0px transparent; }
a:active{ color: #069; text-decoration: underline; text-shadow: 0px 0px 0px transparent; }

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* Override a few responsive styles from the Skeleton framework */

body {
   /* font-size: 1.4em; /* 14pt font size */
    font-family: Arial;
   /*changed font-size to match existing CB style */
   font-size: 1.3em;
   color: #666666;
   
}


button, .button {
    border-width: 0px;
    border-radius: 10px;
    background: #707070;
    color: #ffffff;
    text-transform: none;
    /*font-size: 1.4rem;*/
    /*changed font-size & font-family to match existing CB style */
   font-size: 1.0em;
    /*line-height: 4.8rem;
    height: 4.8rem;*/
    height: 3.8rem;
    padding: 0 20px;
}
button.button-primary,
.button.button-primary {
    background: #0d5077;
    padding: 0px, 10px;
}

    button.button-primary:disabled, .button.button-primary:disabled, .button.button-primary[disabled] {
        background-color: #ccc !important;
        pointer-events: none !important;
    }
.btn-warning, .btn-warning.disabled, .btn-warning[disabled]
{
    background: #ac5000 !important;
}

button.button-warning,
.button.button-warning {
    background: #ff1c03;
}

/*Accessibility requires Dashed outline for focus on all buttons*/
/*B-11626 set color contrast on button*/
.button-primary:focus, .button-primary:hover {
    outline: dotted 2px #000 !important;
    color: #141414 !important;
}
/*B-11626 set color contrast on button*/
button:hover,
button:focus,
.button:hover,
.button:focus {
    /* color: #141414;*/
    color: #ffffff;
    /*background: #888888;*/
    text-decoration: none;
    outline: dotted 2px #000;
}
.container.full {
    /* Remove max-width restriction */
    max-width: none;
    padding: 0px 2em;
}

/* Larger than mobile */
@media (min-width: 400px) {
    .container.full {
        width: 100%;
    }
}

/* Larger than phablet */
@media (min-width: 550px) {
    .container.full {
        width: 100%;
    }
}

#header {
    background: #0d5077;
    color: #ffffff;
    padding-bottom: 10px;
}
#header .logo,
#header .title,
#header .date {
    font-size: 1.8rem;
    text-align: center;
}

@media (min-width: 550px) {
    /* Vertical centering in CSS is a huge pain. Since thiis header is fairly
        simple, we'll use table styling to achieve it at larger screen sizes. */
    #header {
        display: table;
    }
    #header .row {
        display: table-row;
    }
    #header .title,
    #header .date {
        display: table-cell;
        vertical-align: middle;
        float: none;
    }
    #header .title {
        font-size: 2.4rem;
        /*Change for CB*/
       /* font-size: 1.8rem;*/
    }
}
#header .date {
    font-size: 1.2rem;
    font-weight: 700;
}

#navigation {
    background: #eeeeee;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
#navigation .controls {
    width: 50%;
    padding-top: 1rem;
    text-align: center;
}

#navigation .title,
#navigation .step {
    width: 15.6666666667%;
    text-align: center;
    margin-left: 4%;
}
#navigation .title:first-child,
#navigation .step:first-child {
    margin-left: 5px;
}
#navigation .title div {
    font-weight: 700;
    font-size: 1.4rem;
}
#navigation .title p {
    margin-bottom: 0px;
}
#navigation .step {
    font-weight: 700;
    font-size: 2.4rem;
    position: relative;
}
#navigation .step .circle {
    width: 2.4rem;
    height: 2.4rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    background: url(images/inactive.png) center no-repeat;
}
#navigation .step.active .circle {
    background-image: url(images/active.png);
}
#navigation .step.complete .circle {
    background-image: url(images/completed.png);
}
#navigation .step .line {
    position: absolute;
    height: 3px;
    width: 108%;
    z-index: 9;
    top: 46%;
    left: -63%;
    background: url(images/bg.png) repeat;
}
#navigation .step.active .line,
#navigation .step.complete .line {
    background-image: url(images/active-bg.png);
}
#navigation .active {
    color: #0D5077;
}
@media (min-width: 400px) {
    #navigation .controls .button-cancel {
        padding: 0px 8px;
    }
    #navigation .controls .button-primary {
        padding: 0px 8px;
    }

}
@media (min-width: 1000px) {
    #navigation .controls .button-cancel {
        padding: 0px 8px;
    }
    #navigation .controls2 .left2 .button-cancel {
        padding: 0px 8px;
    }
    #navigation .controls  .button-primary {
        padding: 0px 8px;
    }
 
}
@media (min-width: 550px) {
    #navigation .controls {
        width: 13.3333333333%;
    }
    #navigation .controls.left {
        /* For larger screens, we need to offset by 10 columns */
        margin-left: -82.6666666667%;
    }
    #navigation .steps {
        /* For larger screens, we need to offset 2 columns, plus 4% margin */
        margin-left: 17.3333333333%;
    }
    #navigation .controls .button-cancel {
        padding: 0px 10px;
    }
    #navigation .controls .button-primary {
        padding: 0px 15px;
    }
}

#content {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
#content h2 {
    color: #0D5077;
    /*font-size: 2.4rem;*/
    /*Change for CB*/
    font-size: 2rem;
}
#content h3 {
    color: #0D5077;
    /*font-size: 2.4rem;*/
    /*Change for CB*/
    font-size: 2rem;
}
#content .checklist {
    list-style: none;
    margin-left: 1.2rem;
}
#content .checklist li {
    padding-left: 1rem;
    position: relative;
}
#content .checklist li i {
    position: absolute;
    left: -1.5rem;
    top: 0.4rem;
    color: #06c73d;
    font-size: 2rem;
}
#content .checklist li img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 2px solid #06c73d;
    border-radius: 1rem;
    margin-top: 1rem;
}
#content .checklist li img.bad {
    border-color: #ff1c03;
}
#content .filelist {
    list-style: none;
    margin-left: 1.2rem;
}
#content .filelist li {
    padding-left: 1rem;
    position: relative;
}
#content .filelist li i {
    position: absolute;
    left: -1.5rem;
    top: 0.4rem;
    color: #666;
    font-size: 1rem;
}
#uploader.outer {
    background: #ebebeb;
    border-radius: 1em;
    padding: 1rem;
    margin-bottom: 2rem;
}
#uploader .inner {
    border: 2px dashed #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    /*Change for CB*/
    font-size: 1.4rem;
    /*font-size: 2.4rem;*/
    color: #515151;
    text-align: center;
}
@media (min-width: 400px) {
    #uploader .inner {
        padding: 5rem;
    }
}
@media (min-width: 1000px) {
    #uploader .inner {
        padding: 10rem;
    }
}
#uploader #uploadButton {
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
}
.footnote {
    color: #666666;
    font-style: italic;
    font-size: 1.1rem;
    line-height: normal;
    margin-bottom: 2rem;
}

#uploadList {
    list-style: none;
}
#uploadList li {
    background: #ebebeb;
    border-radius: 1rem;
    padding: 1.6rem;
    margin-bottom: 2rem;
    color: #666666;
    font-weight: 700;
}
#uploadList li .filesize {
    font-weight: 400;
    color: #ADADAD;
}
#uploadList li .progressBar {
    background: rgba(255,255,255,0.5);
    display: inline-block;
    position: relative;
    top: 0.1rem;
    padding: 0;
    width: 9.5rem;
    height: 1.2rem;
}
#uploadList li .progress {
    background: #06c73d;
    display: inline-block;
    position: absolute;
    padding: 0;
    height: 1.2rem;
}
#uploadList li .remove {
    color: #FF1C03;
    display: inline-block;
    text-align: right;
    float: right;
}
#uploadList li .remove i {
    font-size: 2rem;
    padding-right: 0.5rem;
    position: relative;
    top: 0.2rem;
}
@media (min-width: 1000px) {
    #uploadList li > span {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    #uploadList li .filename {
        padding: 0;
    }
    #uploadList li .filesize {
        padding-left: 0;
    }
    #uploadList li .progressBar {
        margin: 0 2rem;
    }
}
@media (min-width: 1000px) and (orientation: landscape) {
    #uploadList li .remove {
        float: none;
        padding: 0;
    }
    /* Reset the float and padding for the review listing, which
        has no progress bar and so needs the delete button to
        float to the right */
    #uploadList.review li .remove {
        float: right;
        padding: 0 1rem;
    }
}
.removeAll {
    margin-top: 4rem;
    text-align: center;
    width: 100%;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
/*B-11624 FAS-6299: IDOC: Document Management Dashboard - Provide a mechanism for skipping past repetitive content*/
.skiplink {
    position: absolute;
    top: -100px;
}

    .skiplink:focus {
        position: relative;
        top: 0px;
        color: #ffffff;
    }

.errorBold {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #CC0000;
    font-weight: bold;
    line-height: 11px;
    vertical-align: middle;
    text-decoration: none;
    text-align: left;
    padding-top: 3px;
}

.checkboxLabel {
    width: 650px;
    padding-left: 4px;
    text-align: left !important;
    display: inline-block;
    padding-top: 0px;
}

.checkbox {
    display: inline-block;
    padding-right: 10px;
    vertical-align: top;
}
.tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

    .tooltip::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 6px solid transparent;
        border-top-color: #222;
    }

.tooltip-wrapper:hover .tooltip {
    opacity: 1;
    visibility: visible;
}