Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Part 1 =========================================================================

ID: 3787361 • Letter: P

Question

Part 1

===========================================================================================================

HTML File (c07x_sampson.html):

<!DOCTYPE html>
<html lang="en">

<head>
   <meta charset="utf-8">
   <title>San Joaquin Valley Town Hall</title>
   <link rel="shortcut icon" href="images/favicon.ico">
   <link rel="stylesheet" href="styles/normalize.css">
   <link rel="stylesheet" href="styles/c07x_speaker.css">
</head>

<body>
   <header>
       <img src="images/town_hall_logo.gif" alt="Town Hall logo" height="80">
       <h2>San Joaquin Valley Town Hall</h2>
       <h3>Celebrating our <span class="shadow">75<sup>th</sup></span> Year</h3>
   </header>
   <main>
       <section>
           <h1>Fossil Threads in the Web of Life</h1>
           <article>
               <img src="images/sampson_dinosaur.jpg" alt="Scott Sampson with dinosaur">
               <h2>February<br>Scott Sampson</h2>
               <p>What's 75 million years old and brand spanking new? A teenage Utahceratops! Come to the
               Saroyan, armed with your best dinosaur roar, when Scott Sampson, Research Curator at the
               Utah Museum of Natural History, steps to the podium. Sampson's research has focused on the
               ecology and evolution of late Cretaceous dinosaurs and he has conducted fieldwork in a number
               of countries in Africa.</p>
               <p>Scott Sampson is a Canadian-born paleontologist who received his Ph.D. in zoology from the
               University of Toronto. His doctoral work focused on two new species of ceratopsids (horned
               dinosaurs) from the Late Cretaceous of Montana, as well as the growth and function of certopsid
               horns and frills.</p>
               <p>Following graduation in 1993, Sampson spent a year working at the American Museum of Natural
               History in New York City, followed by five years as assistant professor of anatomy at the New
               York College of Osteopathic Medicine on Long Island. He arrived at the University of Utah
               accepting a dual position as assistant professor in the Department of Geology and Geophysics
               and curator of vertebrate paleontology at the Utah Museum of Natural History. His research
               interests largely revolve around the phylogenetics, functional morphology, and evolution of
               Late Cretaceous dinosaurs.</p>
               <p>In addition to his museum and laboratory-based studies, Sampson has conducted paleontological
               work in Zimbabwe, South Africa, and Madagascar, as well as the United States and Canada. He was
               also the on-air host for the Discovery Channel's Dinosaur Planet and recently completed a book,
               Dinosaur Odyssey: Fossil Threads in the Web of Life, which is one of the most
               comprehensive surveys of dinosaurs and their worlds to date.</p>
           </article>
       </section>
      
       <aside>
           <h2>Guest speakers</h2>
           <h3>October<br><a href="c06x_toobin.html">Jeffrey Toobin</a></h3>
           <img src="images/toobin75.jpg" alt="Jeffrey Toobin photo">
           <h3>November<br><a href="#">Andrew Ross Sorkin</a></h3>
           <img src="images/sorkin75.jpg" alt="Andrew Ross Sorkin photo">
           <h3>January<br><a href="#">Amy Chua</a></h3>
           <img src="images/chua75.jpg" alt="Amy Chua photo">
           <h3>February<br><a href="c07x_toobin.html">Scott Sampson</a></h3>
           <img src="images/sampson75.jpg" alt="Scott Sampson photo">
           <h3><a href="index.html">Return to Home page</a></h3>
       </aside>
   </main>
   <footer>
       <p>&copy; 2016, San Joaquin Valley Town Hall, Fresno, CA 93755</p>
   </footer>
</body>
</html>

CSS File 1 (c07x_speaker.css):

/* the styles for the elements */
* {
   margin: 0;
   padding: 0;
}
html {
   background-color: white;
}
body {
   font-family: Arial, Helvetica, sans-serif;
font-size: 100%;
width: 850px;
margin: 0 auto;
border: 3px solid #931420;
background-color: #fffded;
}
a:focus, a:hover {
   font-style: italic;
}
/* the styles for the header */
header {
   padding: 1.5em 0 2em 0;
   border-bottom: 3px solid #931420;
       background-image: -moz-linear-gradient(
   30deg, #f6bb73 0%, #f6bb73 30%, white 50%, #f6bb73 80%, #f6bb73 100%);
   background-image: -webkit-linear-gradient(
   30deg, #f6bb73 0%, #fffded 30%, white 50%, #fffded 80%, #f6bb73 100%);
   background-image: -o-linear-gradient(
   30deg, #f6bb73 0%, #fffded 30%, white 50%, #fffded 80%, #f6bb73 100%);
   background-image: linear-gradient(
   30deg, #f6bb73 0%, #fffded 30%, white 50%, #fffded 80%, #f6bb73 100%);
}
header h2 {
   font-size: 175%;
   color: #800000;
}
header h3 {
   font-size: 130%;
   font-style: italic;
}
header img {
   float: left;
   padding: 0 30px;
}
.shadow {
   text-shadow: 2px 2px 2px #800000;
}
/* the styles for the main content */
main {
   clear: left;
}

/* the styles for the section */
section {
   width: 575px;
   float: right;
   padding: 0 20px 20px 20px;
}
section h1 {
   color: #800000;
   font-size: 150%;
   padding-top: .5em;
   margin: 0;
}
section p {
   padding-bottom: .5em;
}

/* the styles for the article */
article {
   padding: .5em 0;
}
article h2 {
   font-size: 115%;
   padding: 0 0 .25em 0;
}
article img {
   float: right;
   margin: .5em 0 1em 1em;
   border: 1px solid black;
}

/* the styles for the aside */
aside {
   width: 215px;
   float: right;
   padding: 0 0 20px 20px;
}
aside h2 {
   color: #800000;
   font-size: 130%;
   padding: .6em 0 .25em 0;
}

aside h3 {
   font-size: 105%;
   padding-bottom: .25em;
}
aside img {
   padding-bottom: 1em;
}

/* the styles for the footer */
footer {
   background-color: #931420;
   clear: both;

}
footer p {
   text-align: center;
   color: white;
   padding: 1em 0;
}

CSS File 2 (normalize.css):

/*! normalize.css v2.1.1 | MIT License | git.io/normalize */

/* ==========================================================================
HTML5 display definitions
========================================================================== */

/**
* 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 styling not present in IE 8/9.
*/

[hidden] {
display: none;
}

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

/**
* 1. Prevent system color scheme's background color being used in Firefox, IE,
* and Opera.
* 2. Prevent system color scheme's text color being used in Firefox, IE, and
* Opera.
* 3. Set default font family to sans-serif.
* 4. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/

html {
/*background: #fff; */
color: #000; /* 2 */
font-family: sans-serif; /* 3 */
-ms-text-size-adjust: 100%; /* 4 */
-webkit-text-size-adjust: 100%; /* 4 */
}

/**
* Remove default margin.
*/

body {
margin: 0;
}

/* ==========================================================================
Links
========================================================================== */

/**
* Address `outline` inconsistency between Chrome and other browsers.
*/

a:focus {
outline: thin dotted;
}

/**
* Improve readability when focused and also mouse hovered in all browsers.
*/

a:active,
a:hover {
outline: 0;
}

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

/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari 5, and Chrome.
*/

h1 {
font-size: 2em;
margin: 0.67em 0;
}

/**
* Address styling not present in IE 8/9, Safari 5, and Chrome.
*/

abbr[title] {
border-bottom: 1px dotted;
}

/**
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
*/

b,
strong {
font-weight: bold;
}

/**
* Address styling not present in Safari 5 and Chrome.
*/

dfn {
font-style: italic;
}

/**
* Address differences between Firefox and other browsers.
*/

hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}

/**
* Address styling not present in IE 8/9.
*/

mark {
background: #ff0;
color: #000;
}

/**
* Correct font family set oddly in Safari 5 and Chrome.
*/

code,
kbd,
pre,
samp {
font-family: monospace, serif;
font-size: 1em;
}

/**
* Improve readability of pre-formatted text in all browsers.
*/

pre {
white-space: pre-wrap;
}

/**
* Set consistent quote types.
*/

q {
quotes: "C" "D" "8" "9";
}

/**
* Address inconsistent and variable font size in all browsers.
*/

small {
font-size: 80%;
}

/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/

sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}

sup {
top: -0.5em;
}

sub {
bottom: -0.25em;
}

/* ==========================================================================
Embedded content
========================================================================== */

/**
* Remove border when inside `a` element in IE 8/9.
*/

img {
border: 0;
}

/**
* Correct overflow displayed oddly in IE 9.
*/

svg:not(:root) {
overflow: hidden;
}

/* ==========================================================================
Figures
========================================================================== */

/**
* Address margin not present in IE 8/9 and Safari 5.
*/

figure {
margin: 0;
}

/* ==========================================================================
Forms
========================================================================== */

/**
* Define consistent border, margin, and padding.
*/

fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}

/**
* 1. Correct `color` not being inherited in IE 8/9.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/

legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}

/**
* 1. Correct font family not being inherited in all browsers.
* 2. Correct font size not being inherited in all browsers.
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
*/

button,
input,
select,
textarea {
font-family: inherit; /* 1 */
font-size: 100%; /* 2 */
margin: 0; /* 3 */
}

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

/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve 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: button; /* 2 */
cursor: pointer; /* 3 */
}

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

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

/**
* 1. Address box sizing set to `content-box` in IE 8/9.
* 2. Remove excess padding in IE 8/9.
*/

input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}

/**
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
* (include `-moz` to future-proof).
*/

input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}

/**
* Remove inner padding and search cancel button in Safari 5 and Chrome
* on OS X.
*/

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

/**
* Remove inner padding and border in Firefox 4+.
*/

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

/**
* 1. Remove default vertical scrollbar in IE 8/9.
* 2. Improve 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;
}

=====================================================================================================

normalize.css is unlikely to be modified...

Directly below are the attached images with their associated file names to match the code to complete both parts of the problem(part one above and part 2 below):

favicon.ico

will not display here, but I can figure that out on my own...

----------------------------

right.jpg (needed for part 2)

----------------------------

chua75.jpg (needed for part 1)

---------------------------

sampson75.jpg   (needed for part 1)

---------------------------

sorkin75.jpg   (needed for part 1)

--------------------------

toobin75.jpg   (needed for part 1)

-----------------------------------------------------------------------

sampson_dinosaur.jpg   (needed for part 1 and part 2)

-----------------------------------------------------------------------------------------

town_hall_logo.gif   (needed for part 2)

===========================================================================================================

Part 2

Sample code from book:

Sample: The HTML for the navigation menus:

<nav id=”nav_menu”>

            <ul>

                        <li><a href=”index.html”>Home</a></li>

                        <li><a href=”tickets.html”>Get Tickets</a></li>

                        <li><a href=”members.html” class=”current”>Become a Member</a></li>

                        <li><a href=”about_us.html” class=”lastitem”About Us</a></li>

            </ul>

</nav>

Sample: The CSS for the first navigation menu:

#nav_menu ul {

            list-style-type: none;

            padding: 1em 0;

            text-align: center;

border-top: 2px solid black;

border-bottom: 2px solid black; }

#nav_menu ul li {

            display: inline;

            padding: 0 1.5em; }

#nav_menu ul li a {

            font-weight: bold;

            color: blue; }

#nav_menu ul li a.current { text-decoration: none; }

Sample: The CSS for the second navigation menu:

#nav_menu ul { list-style-type: none; }

#nav_menu ul li {float: left; }

#nav_menu ul li a {

            text-align: center;

            display: block;

            width: 175px;

            padding: 1em 0;

            text-decoration: none;

            background-color: blue;

            color: white;

            font-weight: bold;

            border-right: 2px solid white; }

#nav_menu ul li a.lastitem { border-right: none; }

#nav_menu ul li a.current { color: yellow; }

===========================================================================================

For the first part, I only successfully added the email link with this:

<p><b>For up-to-date information on the luncheon, please <a href="mailto:eleanor@townhall.com?cc=georgia@townhall.com&amp;subject=Scott Sampson luncheon email">email us</a>.</b></p>

I'm having difficulty with the footer, borders, floating the objects around, the and the background colors.

Thanks for your help. It is greatly appreciated.

-B

Guest speakers October Jeffrey Toobin November Andrew Ross Sorkin January Amy Chua February Scott Sampson Return to Home page Fossil Threads in the Web of Life February Scott Sampson What's 75 million years old and brand spanking new? Ateenage Utahceratopsl Come to the Saroyan, armed with your best dinosaur roar, when Scott Sampson Research Curator at the Utah Museum of Natural History, steps to the podium. Sampson's research has focused on the ecology and evolution of late Cretaceous dinosaurs and he has conducted fieldwork in a number of countries in Africa. Scott Sampson is a Canadian-born paleontologist who received his Ph.D. in zoology from the University of Toronto His doctoral work focused on two new species of ceratopsids (horned dinosaurs) from the Late Cretaceous of Montana, as well as the growth and function of certopsid horns and frills Following graduation in 1993, Sampson spent a year working at the American Museum of Natural History in New York City, followed by five years as assistant professor of anatomy at the New York College of Osteopathic Medicine on Long Island. He arrived at the University of Utah accepting a dual position as assistant professor in the Department of Geology and Geophysics and curator of vertebrate paleontology at the Utah Museum of Natural History. His research interests largely revolve around the phylogenetics, functional morphology, and evolution of Late Cretaceous dinosaurs In addition to his museum and laboratory-based studies, Sampson has conducted paleontological work in Zimbabwe, South Africa, and Madagascar, as well as the United States and Canada. He was also the on-air host for the Discovery Channel's Dinosaur Planet and recently completed a book, Dinosaur Odyssey: Fossil Threads in the Web of Life, which is one of the most comprehensive surveys of dinosaurs and their worlds to date For up-to-date information on the luncheon, please email us. O 2016, San Joaquin Valley Town Hall, Fresno, CA 93755

Explanation / Answer

part a:

c07_sample.html

-----------------------------------------------------------------------------------------------------------------------------------------------

<!DOCTYPE html>
<html idmmzcc-ext-docid="1041862656" lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
   <meta charset="utf-8">
   <title>San Joaquin Valley Town Hall</title>
   <link rel="shortcut icon" href="https://web.njit.edu/%7Ejp579/ex7/images/favicon.ico">
   <link rel="stylesheet" href="San%20Joaquin%20Valley%20Town%20Hall_files/normalize.css">
   <link rel="stylesheet" href="San%20Joaquin%20Valley%20Town%20Hall_files/c07_speaker.css">
</head>

<body>
   <header>
       <img src="San%20Joaquin%20Valley%20Town%20Hall_files/town_hall_logo.gif" alt="Town Hall logo" height="80">
       <h2>San Joaquin Valley Town Hall</h2>
       <h3>Celebrating our <span class="shadow">75<sup>th</sup></span> Year</h3>
   </header>
   <main>
       <section>
           <h1>Fossil Threads in the Web of Life</h1>
           <article>
               <img src="San%20Joaquin%20Valley%20Town%20Hall_files/sampson_dinosaur.jpg" alt="Scott Sampson with dinosaur">
               <h2>February<br>Scott Sampson</h2>
               <p>What's 75 million years old and brand spanking new? A teenage Utahceratops! Come to the
                   Saroyan, armed with your best dinosaur roar, when Scott Sampson, Research Curator at the
                   Utah Museum of Natural History, steps to the podium. Sampson's research has focused on the
                   ecology and evolution of late Cretaceous dinosaurs and he has conducted fieldwork in a number
                   of countries in Africa.</p>
               <p>Scott Sampson is a Canadian-born paleontologist who received his Ph.D. in zoology from the
                   University of Toronto. His doctoral work focused on two new species of ceratopsids (horned
                   dinosaurs) from the Late Cretaceous of Montana, as well as the growth and function of certopsid
                   horns and frills.</p>
               <p>Following graduation in 1993, Sampson spent a year working at the American Museum of Natural
                   History in New York City, followed by five years as assistant professor of anatomy at the New
                   York College of Osteopathic Medicine on Long Island. He arrived at the University of Utah
                   accepting a dual position as assistant professor in the Department of Geology and Geophysics
                   and curator of vertebrate paleontology at the Utah Museum of Natural History. His research
                   interests largely revolve around the phylogenetics, functional morphology, and evolution of
                   Late Cretaceous dinosaurs.</p>
               <p>In addition to his museum and laboratory-based studies, Sampson has conducted paleontological
                   work in Zimbabwe, South Africa, and Madagascar, as well as the United States and Canada. He was
                   also the on-air host for the Discovery Channel's Dinosaur Planet and recently completed a book,
                   Dinosaur Odyssey: Fossil Threads in the Web of Life, which is one of the most
                   comprehensive surveys of dinosaurs and their worlds to date.</p>
                 <p><b>For up-to-date information about the luncheon, please <a href="mailto:eleanor@townhall.com?cc=georgia@townhall.com&amp;amp;Subject=Scott%20Sampson%20Luncheon">email us.</a></b></p>
           </article>
       </section>
      
       <aside>
           <h2>Guest speakers</h2>
           <h3>October<br><a href="https://web.njit.edu/%7Ejp579/ex7/c06x_toobin.html">Jeffrey Toobin</a></h3>
           <img src="San%20Joaquin%20Valley%20Town%20Hall_files/toobin75.jpg" alt="Jeffrey Toobin photo">
           <h3>November<br><a href="#">Andrew Ross Sorkin</a></h3>
           <img src="San%20Joaquin%20Valley%20Town%20Hall_files/sorkin75.jpg" alt="Andrew Ross Sorkin photo">
           <h3>January<br><a href="#">Amy Chua</a></h3>
           <img src="San%20Joaquin%20Valley%20Town%20Hall_files/chua75.jpg" alt="Amy Chua photo">
           <h3>February<br><a href="https://web.njit.edu/%7Ejp579/ex7/c07x_toobin.html">Scott Sampson</a></h3>
           <img src="San%20Joaquin%20Valley%20Town%20Hall_files/sampson75.jpg" alt="Scott Sampson photo">
           <h3><a href="https://web.njit.edu/%7Ejp579/index.html">Return to Home page</a></h3>
       </aside>
   </main>
   <footer>
       <p>© 2016, San Joaquin Valley Town Hall, Fresno, CA 93755</p>
   </footer>


</body></html>

-----------------------------------------------------------------------------------------------------------------------------------------

c07_speaker.css

---------------------------------------------------------------------------------------------------------------------------------------------

/* the styles for the elements */
* {
   margin: 0;
   padding: 0;
}
html {
   background-color: white;
}
body {
   font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
    width: 850px;
    margin: 0 auto;
    border: 3px solid #931420;
    background-color: #fffded;
}
a:focus, a:hover {
   font-style: italic;
}
/* the styles for the header */
header {
   padding: 1.5em 0 2em 0;
   border-bottom: 3px solid #931420;
       background-image: -moz-linear-gradient(
        30deg, #f6bb73 0%, #f6bb73 30%, white 50%, #f6bb73 80%, #f6bb73 100%);
   background-image: -webkit-linear-gradient(
        30deg, #f6bb73 0%, #fffded 30%, white 50%, #fffded 80%, #f6bb73 100%);
   background-image: -o-linear-gradient(
        30deg, #f6bb73 0%, #fffded 30%, white 50%, #fffded 80%, #f6bb73 100%);
   background-image: linear-gradient(
        30deg, #f6bb73 0%, #fffded 30%, white 50%, #fffded 80%, #f6bb73 100%);
}
header h2 {
   font-size: 175%;
   color: #800000;
}
header h3 {
   font-size: 130%;
   font-style: italic;
}
header img {
   float: left;
   padding: 0 30px;
}
.shadow {
   text-shadow: 2px 2px 2px #800000;
}
/* the styles for the main content */
main {
   clear: left;
}

/* the styles for the section */
section {
   width: 575px;
   float: right;
   padding: 0 20px 20px 20px;
}
section h1 {
   color: #800000;
   font-size: 150%;
   padding-top: .5em;
   margin: 0;
}
section p {
   padding-bottom: .5em;
}

/* the styles for the article */
article {
   padding: .5em 0;
}
article h2 {
   font-size: 115%;
   padding: 0 0 .25em 0;
}
article img {
   float: right;
   margin: .5em 0 1em 1em;
   border: 1px solid black;
}

/* the styles for the aside */
aside {
   width: 215px;
   float: right;
   padding: 0 0 20px 20px;
}
aside h2 {
   color: #800000;
   font-size: 130%;
   padding: .6em 0 .25em 0;
}

aside h3 {
   font-size: 105%;
   padding-bottom: .25em;
}
aside img {
   padding-bottom: 1em;
}

/* the styles for the footer */
footer {
   background-color: #931420;
   clear: both;

}
footer p {
   text-align: center;
   color: white;
   padding: 1em 0;
}

----------------------------------------------------------------------------------------------------------------------

normalize.css

-------------------------------------------------------------------------------------------------------------------

/*! normalize.css v3.0.2 | MIT License | git.io/normalize */

/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
*    user zoom.
*/

html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}

/**
* Remove default margin.
*/

body {
margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/

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

/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/

audio,
canvas,
progress,
video {
display: inline-block; /* 1 */
vertical-align: baseline; /* 2 */
}

/**
* 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/10.
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/

[hidden],
template {
display: none;
}

/* Links
   ========================================================================== */

/**
* Remove the gray background color from active links in IE 10.
*/

a {
background-color: transparent;
}

/**
* Improve readability when focused and also mouse hovered in all browsers.
*/

a:active,
a:hover {
outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/

abbr[title] {
border-bottom: 1px dotted;
}

/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/

b,
strong {
font-weight: bold;
}

/**
* Address styling not present in Safari and Chrome.
*/

dfn {
font-style: italic;
}

/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/

h1 {
font-size: 2em;
margin: 0.67em 0;
}

/**
* Address styling not present in IE 8/9.
*/

mark {
background: #ff0;
color: #000;
}

/**
* Address inconsistent and variable font size in all browsers.
*/

small {
font-size: 80%;
}

/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/

sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}

sup {
top: -0.5em;
}

sub {
bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
* Remove border when inside `a` element in IE 8/9/10.
*/

img {
border: 0;
}

/**
* Correct overflow not hidden in IE 9/10/11.
*/

svg:not(:root) {
overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
* Address margin not present in IE 8/9 and Safari.
*/

figure {
margin: 1em 40px;
}

/**
* Address differences between Firefox and other browsers.
*/

hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}

/**
* Contain overflow in all browsers.
*/

pre {
overflow: auto;
}

/**
* Address odd `em`-unit font size rendering in all browsers.
*/

code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/

/**
* 1. Correct color not being inherited.
*    Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/

button,
input,
optgroup,
select,
textarea {
color: inherit; /* 1 */
font: inherit; /* 2 */
margin: 0; /* 3 */
}

/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/

button {
overflow: visible;
}

/**
* 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 Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/

button,
select {
text-transform: none;
}

/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
*    and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve 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: button; /* 2 */
cursor: pointer; /* 3 */
}

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

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

/**
* Remove inner padding and border in Firefox 4+.
*/

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

/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/

input {
line-height: normal;
}

/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/

input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}

/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}

/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
*    (include `-moz` to future-proof).
*/

input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}

/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/

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

/**
* Define consistent border, margin, and padding.
*/

fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}

/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/

legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}

/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/

textarea {
overflow: auto;
}

/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/

optgroup {
font-weight: bold;
}

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

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

table {
border-collapse: collapse;
border-spacing: 0;
}

td,
th {
padding: 0;
}