/* Site-specific additions on top of the base template (template.css + blue theme). */

p.indent {
    text-indent: 10px;
}

/* Status / requirement colors */
.status-good { color: #3BB143; }  /* Completed, PASS */
.status-warn { color: #ED7014; }  /* In Progress, On Hold, FAIL */
.status-bad  { color: #D0312D; }  /* Unavailable */

/* ================================================================
   Phones / narrow screens. Desktop layout above 760px is untouched.
   ================================================================ */
@media only screen and (max-width: 760px) {

    body { font-size: 14px; }
    body.width_fmax div#wrapper { min-width: 0; }

    /* Header: logo on top, text underneath */
    div#header_r {
        height: auto;
        padding: 12px 14px;
    }
    div#logo {
        position: static;
        float: none;
        width: auto;
        height: auto;
        margin: 0 0 10px 0;
        text-align: center;
    }
    div#logo img { width: 120px; height: auto; }

    /* Header images are fixed-height slices; use a matching gradient instead */
    div#header, div#header_l, div#header_r { background-image: none; }
    div#header {
        background: linear-gradient(#ffffff, #e6e6e6);
        border-radius: 8px;
        margin: 0 11px;
    }
    div#tabarea { display: none; }   /* empty tab bar under the header */

    /* Breadcrumb: drop the 250px right gutter (old search box space) */
    #pathway { margin-right: 0; }

    /* Menu above content, both full width */
    #leftcolumn {
        float: none;
        width: auto;
        margin-bottom: 12px;
    }
    #maincolumn {
        margin-left: 0;
        padding: 0 4px;
        width: auto;
    }

    /* Content tables: stack side-by-side cells vertically */
    #maincolumn table,
    #maincolumn tbody,
    #maincolumn tr,
    #maincolumn th,
    #maincolumn td {
        display: block;
        width: auto !important;
    }
    #maincolumn th:empty,
    #maincolumn td:empty { display: none; }

    /* Media never wider than the screen */
    #maincolumn img,
    #maincolumn video {
        max-width: 100%;
        height: auto;
    }
    #maincolumn iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .mySlides img { height: auto !important; max-height: 310px; }
}
