
/*CSS Document used for the coffee table homework assignemnt
Author: Your Name Goes Here
Course: ITWP 1000
File: styles.css
Information on using external CSS style sheet is located in Chapter 3. Information on media queries is located
in Chapter 7. Information on tables and CSS formatting for tables is located in Chapter 8.
*/

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}
    h1 {
    text-align: center;
    
}


label {
padding: 2px;
line-height: 2.5em;
}
fieldset {
text-align: left;
padding: 5px;
background-color: #4c5c96;
}
legend {
background-color: #f93;
border: 1px solid #f00;
padding: 5px;
margin-bottom: 5px;
}
section {
max-width: 600px;
margin: auto;
}
/* classes that style the textarea tag */
.comment {
float: left;
width: 100%;
height: auto;
padding-top:5px;
}
.textinput {
float: left;
width: 99%;
min-height: 75px;
outline: none;
resize: none;
border: 1px solid gray;
}

/* ID that centers the validation text */
#validation {
    text-align: center;
    
    }
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 formatting*/

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: #4c5c96;
    }
    
    thead:first-of-type {
    background-color: #3f2a14;
    color:#4c5c96;
    }


/*caption tag*/

caption {font-family:  "Franklin Gothic Bold", "Arial white", "sans-serif";
    font-weight: bold;
    font-size: 1.75em;
    padding-bottom: 0.5em;
}


/*responsive image class*/

.responsive {
    
    
    max-width: 100%;
    height: auto;
    border: 1px solid #51471A;
    border-radius: 10px;
    }

    td.price {
        white-space: nowrap;
        }
        
        td.specialty {
        white-space: nowrap;
        }

/*ID*/

#ID {text-align: center;
    }



/*media query that hides the image when the screen size is @ 
550 pixels or lower*/

@media only all and (max-width: 550px) {

    img {
    display: none;
    
    }
    }

