﻿/* ---------------------------------------------------------------------------------------------

    This CSS file is designed to standardize the appearance of websites across a wide range of 
    browsers, including (but not limited too): IE 7+, Firefox 3.6+, Chrome and Safari.
    
    It combines a CSS reset (similar to what many CSS frameworks do) along with some basic layout 
    and typographical styles.

    This file contains code from PHD's legacy Core.Css, plus additional code from the Normnalize.Css project, 
    the Twitter Boostrap project, and other sources around the web.
    
   --------------------------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------------------------- */
/* CSS Reset - Its bad but necessary. */

a, abbr, acronym, address, b, big, blockquote, body, caption, center, cite, code, dd, del, dfn, div, dl, dt, em, fieldset, font, form, 
h1, h2, h3, h4, h5, h6, html, i, iframe, img, ins, kbd, label, legend, li, object, ol, p, pre, q, samp, small, span, strong, sub, sup, 
table, tbody, td, tfoot, thead, th, tr, tt, ul, var
{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
    line-height: inherit;
    vertical-align: baseline;
    background: transparent;
}

/* --------------------------------------------------------------------------------------------- */
/* Set the default font on the page, with the size (16px) and line height (24px). */

html {
    font-family: Arial, 'Helvetica Neue', Helvetica, Sans-Serif;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    line-height: 24px;
    color: #000000;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
}

/* --------------------------------------------------------------------------------------------- */
/* Correct 'block' display not defined in IE 8/9. */

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}

/* --------------------------------------------------------------------------------------------- */
/* Correct 'inline-block' display not defined in IE 8/9. */

audio, canvas, video {
    display: inline-block;
}

/* --------------------------------------------------------------------------------------------- */
/* Prevent modern browsers from displaying `audio` without controls. */
/* Remove excess height in iOS 5 devices.*/

audio:not([controls]) {
    display: none;
    height: 0;
}

/* --------------------------------------------------------------------------------------------- */
/* Address `[hidden]` styling not present in IE 8/9. */
/* Hide the `template` element in IE, Safari, and Firefox < 22. */

[hidden], template {
    display: none;
}

/* --------------------------------------------------------------------------------------------- */
/* Correct overflow displayed oddly in IE 9. */

svg:not(:root) {
    overflow: hidden;
}

/* --------------------------------------------------------------------------------------------- */
/* Address margin not present in IE 8/9 and Safari 5. */

figure {
    margin: 0;
}

/* --------------------------------------------------------------------------------------------- */
/* Headers (H1 Through H6) */

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;   
    font-weight: bold;
}

h1 {   
    margin-bottom: 16px;
    font-size: 28px;
    line-height: 42px;
}

h2 {
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 36px;
}

h3 {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 30px;
}

h4, h5, h6 {
    font-size: 12px;
    line-height: 24px;
}

/* --------------------------------------------------------------------------------------------- */
/* Links */

a, a:visited {
    color: #FF0000;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
}

a:active, a:hover {
    outline: 0;
}

a:hover {
    color: #0000FF;
}

a:focus {
    outline: 1px dotted #CCCCCC;
}

a img {
    border: 0 none;
}

/* --------------------------------------------------------------------------------------------- */
/* Horizonal Rule */

hr {
    height: 0;
    line-height: 0;
    font-size: 0;
    margin-bottom: 24px;
    border: 0 solid #CCCCCC;
    border-top-width: 1px;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

/* --------------------------------------------------------------------------------------------- */
/* Paragraphs and Font Modifiers */

p {
    margin-bottom: 24px;
}

pre, code, samp, kbd, tt {
    font-family: Consolas, 'Liberation Mono', Courier, monospace;
    background-color: #FAFAFA;
}

pre {
    margin-bottom: 24px;
    padding: 16px 16px;
    color: #333333;
    white-space: pre-wrap;
    word-wrap: break-word;
    border: 1px solid #EEEEEE;
}

code, kbd, samp {
    margin: 0 2px;
    padding: 4px 8px;
    font-size: 14px;
    color: #333333;
    white-space: nowrap;
}

abbr, acronym {
	border-bottom: 1px dotted #000000;
	cursor: help;
}

em, i, cite, address, var {
    font-style: italic;
}

u {
    text-decoration: underline;
}

strong, b {
    font-weight: bold;
}

ins {
    text-decoration: none;
}

del {
    text-decoration: line-through;
}

big {
    font-size: 20px;
}

small {
    font-size: 12px;
}

sub {
    position: relative;
    bottom: -4px;
    font-size: 12px;
    vertical-align: bottom;
}

sup {
    position: relative;
    top: -4px;
    font-size: 12px;
    vertical-align: top;
}

dfn {
    font-style: italic;
}

mark {
    background: #FFFF00;
    color: #000000;
}

cite {
    font-style: italic;
}

q {
    quotes: "\201C" "\201D" "\2018" "\2019";
}

blockquote {
    margin: 24px 40px;
    padding-left: 24px;
    font-style: italic;
    color: #666666;
    border-left: 6px solid #CCCCCC;
}

/* --------------------------------------------------------------------------------------------- */
/* Ordered Lists, Unordered Lists and Definition Lists. */

ol, ul, dl {
    margin-bottom: 24px;
}

ol {
    list-style: decimal;
}

ul {
    list-style: disc;
}

li {
    margin-left: 24px;
}

li ul, li ol {
    margin-bottom: 0;
}

dl dt {
    font-weight: bold;
}

dl dd {
    margin-left: 24px;
}

/* --------------------------------------------------------------------------------------------- */
/* Tables and Table Cells */

table {
    border-collapse: collapse;
    border-spacing: 0;
    vertical-align: middle;
}

th, td {
    vertical-align: middle;
}

th {
    font-weight: bold;
}

/* --------------------------------------------------------------------------------------------- */
/* Forms and Form Elements */

fieldset {
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid #CCCCCC;
}

legend {
    margin-left: -4px;
    padding: 0 4px;
    font-weight: bold;
}

label {
    font-weight: bold;
}

/*  Correct font family not being inherited in all browsers. Correct font size not being inherited in all browsers. Address margins set differently in Firefox 4+, Safari 5, and Chrome. */

button, input, select, textarea {
    margin: 0 0;
    font-family: inherit;
    font-size: 100%;
}

/* Address Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet. */

button, input {
    line-height: normal;
}

/* Address inconsistent 'text-transform' inheritance for 'button' and 'select'. All other form control elements do not inherit 'text-transform' values. Correct 'button' style inheritance in Chrome, Safari 5+, and IE 8+. Correct 'select' style inheritance in Firefox 4+ and Opera. */

button, select {
    text-transform: none;
}

/* Avoid the WebKit bug in Android 4.0.* which destroys native 'audio' and 'video' controls. Correct inability to style clickable 'input' types in iOS. Improve usability and consistency of cursor style between image-type 'input' and others. */

button, html input[type="button"], input[type="reset"], input[type="submit"] { 
    -webkit-appearance: button;
    cursor: pointer;
}

/* Re-set default cursor for disabled elements. */

button[disabled], html input[disabled] {
    cursor: default;
}

/* Address box sizing set to `content-box` in IE 8/9/10. Remove excess padding in IE 8/9/10. */

input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0 0;
}

/* --------------------------------------------------------------------------------------------- */
/* Text alignment. */

.align-left, .text-left {
    text-align: left;
}

.align-right, .text-right {
    text-align: right;
}

.align-center, .text-center, center {
    text-align: center;
}

/* --------------------------------------------------------------------------------------------- */
/* Floating */

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.float-none {
    float: none;
}

.clear-left {
    clear: left;
}

.clear-right {
    clear: right;
}

.clear-both {
    clear: both;
}

/* --------------------------------------------------------------------------------------------- */
/* These are some settings to fix various display issues relating to deprecated HTML tags */
/* and attributes.  This fixes some (but not all) of the issues in IE 7. */

font[size="1"] { font-size: 12px; line-height: 18px; }
font[size="2"] { font-size: 14px; line-height: 20px; }
font[size="3"] { font-size: 16px; line-height: 24px; }
font[size="4"] { font-size: 18px; line-height: 28px; }
font[size="5"] { font-size: 20px; line-height: 30px; }

table[align="center"] { margin-left: auto; margin-right: auto; }
table[width="100%"] { width: 100%; }
table[border="1"] { border: 1px solid #000000; }
table[border="1"] td, table[border="1"] th { border: 1px solid #000000; }
table[cellpadding="1"] td, table[cellpadding="1"] th { padding: 2px 2px; }
table[cellpadding="2"] td, table[cellpadding="2"] th { padding: 4px 4px; }
table[cellpadding="3"] td, table[cellpadding="3"] th { padding: 6px 6px; }
table td[align="center"], table th[align="center"] { text-align: center; }
table td[align="left"], table th[align="left"] { text-align: left; }
table td[align="right"], table th[align="right"] { text-align: right; }
table td[valign="top"], table th[valign="top"] { vertical-align: top; }
table td[valign="middle"], table th[valign="middle"] { vertical-align: middle; }
table td[valign="bottom"], table th[valign="bottom"] { vertical-align: bottom; }
table td[width="20%"], table th[width="20%"] { width: 20%; }
table td[width="40%"], table th[width="40%"] { width: 40%; }
table td[width="60%"], table th[width="60%"] { width: 60%; }
table td[width="80%"], table th[width="80%"] { width: 80%; }
table td[width="25%"], table th[width="25%"] { width: 25%; }
table td[width="50%"], table td[width="50%"] { width: 50%; }
table td[width="75%"], table td[width="75%"] { width: 75%; }
table td[width="33%"], table th[width="33%"] { width: 33%; }
table td[width="34%"], table th[width="34%"] { width: 34%; }
table td[width="66%"], table th[width="66%"] { width: 66%; }
table td[width="67%"], table th[width="67%"] { width: 67%; }
table td[width="100%"], table th[width="100%"] { width: 100%; }
table td[width="*"], table th[width="*"] { width: auto; }
