/* css document used for the cofffee table homework assignment
author Jacob Gregersen
Course: ITWP 1000
File: style.css
information on using external css style sheet is located in chapter 3/ informaiton on media queries is located in chapter 7. information on tables and css formatting for tables is located in chapter 8.
*/
body {
margin-top: 1em;
margin-bottom: auto;
font-family: Arial, sans-serif;
}

h1 {
    text-align: center;
    font-size: 2.5em;
}

p, div{
    margin: 10px;
    padding: 20px;
    line-height: 1.5em;
}
/* table formaing */
table {
    margin: auto;
    border: 5px solid #3f2a14;
    width: 100%;
    border-spacing: 0;
}

td, th{
    border-style: none;
    padding: 0.5em;
    width:auto;
}
tfoot td{
    font-size:9px;
    font-style: italic;
    text-align: center;
}
tr:nth-of-type(even){
    background-color: #eaeaea;
}
thead:first-of-type{
    background-color: #3f2a14;
    color: #FFF;
}
/* Caption tags */
caption{
    font-family: impact,"Franklin Gothic Bold","Arial Black" "sans-serif";
    font-weight: bold;
    font-size: 1.75em;
    padding-bottom: 0.5em;
}
/* resposive image class*/
.responsive{
    max-width: 100%;
    height: auto;
    border: 1px solid #51471a;
    border-radius: 10px;
}
td.price{
    white-space: nowrap;
}
td.speciality{
    white-space: nowrap;
}
/* ID*/
#validation{
text-align: center;
}
/* media query that hides the image when the screen size is @
550 pixels or lowe */
@media only all and (max-width:550px){
    img{
        display: none;
    }
}