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

   Table of Contents
==================================================
    #Layout Base
    #Typography
    #Images
    #Forms + Buttons
    #Misc
    #Auto Icons for Links
    #Breadcrumbs
    #Back to Top
*/

/* ==========================================================================
   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: inherit;*/
    vertical-align: baseline;
    }

h2, h3, h4, h5, h6, p {
    margin-bottom: .5em;
    /*line-height: 2.25em;*/
    }

/***** NEW ADJUSTMENTS ******/

h2 {
	line-height: 1.375em;
	}

h3 {
	line-height: 1.375em;
	}

h4 {
	line-height: 1.375em;
	}

h5 {
	line-height: 1.375em;
	}

h6 {
	line-height: 1.375em;
	}

p {
	line-height: 2em;
	}

p+h3, p+h4, p+h5, p+h6, ul+h3, ul+h4, ul+h5, ul+h6, ol+h3, ol+h4, ol+h5, ol+h6 {
    margin-top: 35px;
	}

/***** END *****/

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 + p {
    margin: 10px 0 0 0;
    }

blockquote cite {
    margin-bottom: .75em;
    display: inline-block;
    }

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

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

/*.content ul, #main ul, .main-content ul {
	margin-left: 20px;
	}*/

/*
.content ul li, #main ul li, .main-content ul li { 
	position: relative;
	padding-left: 5px;
	}

.content ul li:before, #main ul li:before, .main-content ul li:before {
	position: absolute;
	left: -2em;
	} */

ol {
    list-style-position: outside;
    padding: 0;
    margin: 15px 0 15px 20px;
	line-height: 2em;
    }

li {
	line-height: 2em;
	/*padding-left: 5px;*/
	}

ul ul, ol ol, ul ol, ol ul {
	margin-top: 5px;
	margin-bottom: 0;
	}

ul ul li, ul ol li, ol ol li, ol ul li {
	margin-bottom: 0;
	}

a, a:visited {
    word-wrap: break-word;
    text-decoration: none;
    }

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;
    }

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

pre samp, pre code, code {
    font-family: "Courier New", Courier, monospace;
    padding: 10px 0;
    }

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

hr {
    border: 1px solid #ddd;
    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; /*removed !important*/
    margin: 0;  /* Addresses margin not present in IE6/7/8/9, S5, O11.*/
    }

figcaption {
    display: table-caption; /*removed !important*/
    caption-side: bottom;
    }

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

form {
    margin: 0;
    }

legend {
    border: 0; /* Corrects color not being inherited in IE6/7/8/9 */
    padding: 0;
    white-space: normal; /* Corrects text not wrapping in FF3 */
    }

button,
input,
select,
textarea {
    margin: 0; /* Addresses margins set differently in IE6/7, FF3+, S5, Chrome */
    vertical-align: baseline; /* Improves appearance and consistency in all browsers */
    *vertical-align: middle; /* Improves appearance and consistency in all browsers */
    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.
 * 4. Removes inner spacing in IE7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE6.
 */

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

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

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

input[type="checkbox"],
input[type="radio"] {
    padding: 0; /* Removes excess padding in IE8/9 */
    }

input[type="search"],
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none; /* Addresses `appearance` set to `searchfield` in S5, Chrome */
    }

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

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

textarea {
    overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
    vertical-align: top; /* Improves readability and alignment in all browsers */
    }

/* ==========================================================================
   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 (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;
    }


/* ==========================================================================
   Icons for links - 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;
   }

/* ==========================================================================
   Standard Back to Top Button
   ========================================================================== */

.top_page {
    position: fixed;
    bottom: 75px;
    right: 20px;
    border: none;
    text-align: right;
    z-index: 999;
}

.scrollToTop {
    visibility: hidden;
    opacity: 0;
    padding: .5em .75em;
    display: inline-block;
}

.scrollToTop.cd-is-visible {

  visibility: visible; /* the button becomes visible */
  opacity: 1;
}

.scrollToTop.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
