/* PMACS Web Team: Layout reset for Gridism (combination of base.css from Skeleton (www.getskeleton.com) and http://github.com/necolas/normalize.css)
   Version 1.2
   September 2016

   Table of Contents
==================================================
    #Layout Base
    #Typography
    #Images
    #Forms + Buttons
    #Misc
    #Breadcrumbs
*/

/* ==========================================================================
   Layout Base
   ========================================================================== */

html,
body {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    }

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
main {
    display: block;
}

/* ==========================================================================
   Typography
   ========================================================================== */

html {
    -webkit-text-size-adjust: none; /*Prohibits text sizes from changing when viewed on iPhones in "Landscape View".*/
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 100%; /*Base font default, 1REM = 16px */
    }

h1, h2, h3, h4, h5, h6, p, blockquote, pre, code, kbd, samp, small, sub, sup {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    }

h1 {
    font-size: 32px; font-size: 2rem;
    line-height: 45px; line-height: 2.8125rem;
    }

h2 {
    font-size: 28px; font-size: 1.75rem;
    line-height: 41px; line-height: 2.5625rem;
    margin-bottom: 10px;
    }

h3 {
    font-size: 24px; font-size: 1.5rem;
    line-height: 36px; line-height: 2.25rem;
    margin-bottom: 10px;
    }

h4 {
    font-size: 22px; font-size: 1.375rem;
    line-height: 34px; line-height: 2.125rem;
    margin-bottom: 10px;
    }

h5 {
    font-size: 20px; font-size: 1.25rem;
    line-height: 32px; line-height: 2rem;
    margin-bottom: 10px;
    }

h6 {
    font-size: 18px; font-size: 1.125rem;
    line-height: 30px; line-height: 1.875rem;
    margin-bottom: 10px;
    }

p {
    font-size: 14px; font-size: 0.875rem;
    line-height: 26px; line-height: 1.625rem;
    margin-bottom: 10px;
    }

cite {
    font-style: italic;
    }

blockquote {
    padding: 10px;
    margin-bottom: 20px;
    }

blockquote, q {
    quotes: none;
    }

blockquote:before, blockquote:after, q:before, a:after {
    content: '';
    content: none;
    }

blockquote p {
    font-size: 14px; font-size: 0.875rem;
    line-height: 26px; line-height: 1.625rem;
    }

blockquote p + p {
    margin: 10px 0 0 0;
    }

blockquote cite {
    font-size: 12px; font-size: 0.75rem;
    line-height: 24px; line-height: 1.5rem;
    margin-bottom: 5px;
    display: inline-block;
    }

blockquote cite:last-of-type {
    margin-bottom: 0;
    }

ul {
    list-style: disc outside;
    padding: 0;
    margin: 0 0 20px 20px;
    }

ol {
    list-style-position: outside;
    padding: 0;
    margin: 0 0 20px 20px;
    }

ul ul, ol ul {
    list-style-type: circle;
   }

ul ul, ol ol, ul ol, ol ul {
    padding-left: 20px;
    margin: 0;
    }

ul li, ol li {
    margin: 5px 0;
    }

a, a:visited {
    word-wrap: break-word;
    text-decoration: none;
    -webkit-transition:.3s;
    transition:.3s;
    }

strong, b {
    color: inherit;
    }

em, i {
    font-style: italic;
    }

sub {
    font-size: 10px; font-size: 0.6275rem;
    position: relative;
    bottom: -4px; bottom: -0.25rem;
    }

sup {
    font-size: 10px; font-size: 0.6275rem;
    position: relative;
    top: -8px; top: -0.5rem;
    }

small {
    font-size: 12px; font-size: 0.75rem;
    line-height: 25px; line-height: 1.5625rem;
    }

pre {
    background-color: #FCFCFC;
    padding: 10px 10px 0;
    }

pre samp, pre code, code {
    font-family: "Courier New", Courier, monospace;
    font-size: 12px; font-size: 0.75rem;
    line-height: 18px; line-height: 1.125rem;
    padding: 10px 0;
    }

h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
    font-size: inherit;
    }

hr {
    border: solid #ddd;
    border-width: 1px 0 0;
    margin: 25px 0;
    height: 0;
    clear: both;
    }

/* ==========================================================================
   Images
   ========================================================================== */

img {
    height: auto;
    }

img,
audio,
canvas,
video,
iframe {
    max-width: 100%;
   }

 a img {
     border: 0px;   /* Removes border from linked images*/
    }

/*Added display to figure and figcaption*/
figure {
    display: table !important;
    margin: 0;  /* Addresses margin not present in IE6/7/8/9, S5, O11.*/
    }

figcaption {
    display: table-caption !important;
    caption-side: bottom;
    font-size: 12px; font-size: 0.75rem;
    line-height: 18px; line-height: 1.125;
    }

/* ==========================================================================
   Forms and Buttons
   ========================================================================== */

form {
    margin: 0;
    }

legend {
    padding: 0;
    }

/*
 * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome.
 * 3. Improves appearance and consistency in all browsers.
 */

button,
input,
select,
textarea {
    margin: 0; /* 2 */
    vertical-align: baseline; /* 3 */
    vertical-align: middle; /* 3 */
    max-width: 100%;
    }

/*
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Corrects inability to style clickable `input` types in iOS.
 * 3. Improves usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: none; /* 2 */
    cursor: pointer; /* 3 */
    }

/* Re-set default cursor for disabled elements. */

button[disabled],
input[disabled] {
    cursor: default;
    }

/*
 * 2. Removes excess padding in IE8/9.
 */

input[type="checkbox"],
input[type="radio"] {
    padding: 0; /* 2 */
    }

/*
 * 1. Addresses `appearance` set to `searchfield` in S5, Chrome.
 */

input[type="search"],
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none; /* 1 */
    }

/*
 * Removes inner padding and border in FF3+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
    }

/*
 * 1. Removes default vertical scrollbar in IE6/7/8/9.
 * 2. Improves readability and alignment in all browsers.
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
    }

/* ==========================================================================
   Tables
   ========================================================================== */

/*
 * Remove most spacing between table cells.
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin: 20px 0;
    clear: both;
    }

table tr, table td {
    border: 1px solid;
    padding: 10px;
    }

table th {
    text-align: left;
    border: 1px solid;
    padding: 10px;
    }

/* ==========================================================================
   MISC: Clearing, floats, text-align, icons
   ========================================================================== */

/* Clearing (from Skeleton - skeleton.css) You can also use a &lt;br class="clear" /&gt; to clear columns */
.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
    }

/* Automatically add FontAwesome icons to document links */

a[href$=".pdf"]:after {
    font-family: 'FontAwesome';
    font-weight: 400;
    content: '\f1c1'; /*PDF*/
    padding: 0 0 0 3px;
    }

a[href$=".xls"]:after, a[href$=".xlsx"]:after {
    font-family: 'FontAwesome';
    font-weight: 400;
    content: '\f1c3'; /*SPREADSHEET*/
    padding: 0 0 0 3px;
    }

a[href$=".doc"]:after, a[href$=".docx"]:after {
    font-family: 'FontAwesome';
    font-weight: 400;
    content: '\f1c2'; /*WORD DOC*/
    padding: 0 0 0 3px;
    }

a[href$=".ppt"]:after, a[href$=".pptx"]:after {
    font-family: 'FontAwesome';
    font-weight: 400;
    content: '\f1c4'; /*POWERPOINT*/
    padding: 0 0 0 3px;
    }

/* Automatically add FontAwesome icons to phone and email links */

a[href^='mailto:']:before {
    font-family: 'FontAwesome';
    font-weight: 400;
    content: '\f199'; /*ENVELOPE*/
    padding: 0 3px 0 0;
    }

a[href^='tel:']:before {
    font-family: 'FontAwesome';
    font-weight: 400;
    content: '\f098'; /*PHONE*/
    padding: 0 3px 0 0;
    }

a.no-icon:after {
    display: none; /*take away icon on linked images*/
    }

/* Automatically hide GSA Search Results page heading */

#gsa_search h2 {
    display: none; /* Hide extraneous h2 on gsa search results page */
    }

/* ==========================================================================
   Standard Breadcrumb Styling
   ========================================================================== */

.breadcrumbs ul {
   margin: 0;
   }

.breadcrumbs ul li {
   list-style-type: none;
   display: inline;
   }

.breadcrumbs li+li:before {
   font-family: 'FontAwesome';
   content: '\f105';
   margin: 0 5px;
   }
