﻿/* ==========================================================================
   Helper classes
   ========================================================================== */


/*reset*/
html
{
    color: #000;
    background: #FFF;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td
{
    margin: 0;
    padding: 0;
}

table
{
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset, img
{
    border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var, optgroup
{
    font-style: inherit;
    font-weight: inherit;
}

del, ins
{
    text-decoration: none;
}

li
{
    list-style: none;
}

caption, th
{
    text-align: left;
}

h1, h2, h3, h4, h5, h6
{
    font-size: 100%;
    font-weight: normal;
}

q:before, q:after
{
    content: '';
}

abbr, acronym
{
    border: 0;
    font-variant: normal;
}

sup, sub {
   vertical-align: baseline;
   position: relative;
   top: -0.4em;
}
sub { top: -0.3em; }

legend
{
    color: #000;
}

input, button, textarea, select, optgroup, option
{
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
}

input, button, textarea, select
{
    *font-size: 100%;
}

/*base*/
body
{
    margin: 10px;
}

h1
{
    font-size: 138.5%;
}

h2
{
    font-size: 123.1%;
}

h3
{
    font-size: 108%;
}

h1, h2, h3
{
    margin: 1em 0 0.25em 0;
}

h1, h2, h3, h4, h5, h6, strong, dt
{
    font-weight: bold;
}

optgroup
{
    font-weight: normal;
}

abbr, acronym
{
    border-bottom: 1px dotted #000;
    cursor: help;
}

em
{
    font-style: italic;
}

del
{
    text-decoration: line-through;
}

blockquote, ul, ol, dl
{
    margin: 1em;
}

ol, ul, dl
{
    margin-left: 2em;
}

    ol li
    {
        list-style: decimal outside;
    }

    ul li
    {
        list-style: disc outside;
    }

    dl dd
    {
        margin-left: 1em;
    }

th, td
{
    border: 1px solid #000;
    padding: .5em;
}

th
{
    font-weight: bold;
    text-align: center;
}

caption
{
    margin-bottom: .5em;
    text-align: center;
}

sup
{
    vertical-align: super;
}

sub
{
    vertical-align: sub;
}

button, input[type="checkbox"], input[type="radio"], input[type="reset"], input[type="submit"]
{
    padding: 1px;
}

.inline
{
    display: inline;
}

.remove
{
    display: none;
}

.hideLegend legend
{
    display: none;
}

.hide, #skipNav
{
    position: absolute;
    top: 0;
    left: -200em;
    width: 20em;
}

.fr
{
    float: right;
}

.fl
{
    float: left;
}

.tar
{
    text-align: right;
}

.tac
{
    text-align: center;
}

.tal
{
    text-align: left;
}

.cl
{
    clear: left;
}

.cr
{
    clear: right;
}

.cb
{
    clear: both;
}

ul, ul li
{
    margin: 0;
    list-style-type: none;
}

address
{
    line-height: 1.3em;
}
/* FULL CLEAR - forces a container to surround all children - regardless of floating */
.fc:after, .formRow:after
{
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.fc, .formRow
{
    display: inline-block;
}
/* Hides from IE-mac \*/
* html .fc, * html .formRow
{
    height: 1%;
}

.fc, .formRow
{
    display: block;
}

/*fonts*/
body
{
    font: 13px/1.231 Tahoma, Geneva, sans-serif;
    *font-size: small;
    *font: x-small;
}

select, input, button, textarea, button
{
    font: 99% Tahoma, Geneva, sans-serif;
}

table
{
    font-size: inherit;
    font: 100%;
}

pre, code, kbd, samp, tt
{
    font-family: monospace;
    *font-size: 108%;
    line-height: 100%;
}


/*
 * Image replacement
 */

.ir
{
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

    .ir:before
    {
        content: "";
        display: block;
        width: 0;
        height: 150%;
    }

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden
{
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

    .visuallyhidden.focusable:active,
    .visuallyhidden.focusable:focus
    {
        clip: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        position: static;
        width: auto;
    }

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix
{
    *zoom: 1;
}

/*custom helpers*/
.page-width
{
    margin: 0 auto;
    padding: 0 10px;
    width: 965px;
}

.one-third
{
    width: 31.91%;
}

.one-quarter
{
    width: 23.4%;
}

.one-fifth
{
    width: 17.72%;
}

.one-half
{
    width: 48.93%;
}

.three-thirds
{
    width: 48.93%;
}

.col
{
    display: block;
    float: left;
    margin: 1% 0 1.5% 2.128%;
}

    .col.nlm
    {
        margin-left: 0;
    }

.module
{
    background: #fff;
    padding: 0 0 50px 0;
    height: auto;
}

.home .module
{
    min-height: 380px;
}

.module p
{
    margin: 0px 20px 5px 20px;
}

.module li
{
    margin: 15px 0;
}




/* ==========================================================================
   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, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi)
{
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print
{
    *
    {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after
    {
        content: "";
    }

    pre,
    blockquote
    {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead
    {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img
    {
        page-break-inside: avoid;
    }

    img
    {
        max-width: 100% !important;
    }

    @page
    {
        margin: 0.5cm;
    }

    p,
    h2,
    h3
    {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3
    {
        page-break-after: avoid;
    }
}
