
/* css-main-c03.css */
/* 20180125 v1 */
/* 20180306 v2 new styling to accom centred top nav */
/* 20180314 v3 new for footer */
/* 20180317 v4 reposition cart button */

body
{
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background-color: #b1fffc;
font-family: verdana, sans-serif;
text-align: center;
}

#cartline
{
background-color: #333333;
color: #f2f2f2;
text-align: right;
padding-right: 20px;
padding-top: 5px;
}

#banner
{
background-image: url("images/tempimg/blurbackground.jpg");
background-size: 100% auto;
}

#hols
{
background-color: #F2F5A9;
}

/* new nav section START */

/* my coding to inc the new nav layout */

/* adds style to the container that myTopnav is nested within */
/* same as other similar containers */

#nav
{
background-color: #333333;
padding: 0px 0px;
text-align: center;
overflow: hidden;
}

/* adds style to myTopnav */
/* 732 pix to account for the padding that has been added to the main */

#myTopnav
{
max-width: 732px;
margin-right: auto;
margin-left: auto;
vertical-align: top;
text-align: left;
}

 /* Add a black background color to the top navigation */
.topnav {
    background-color: #333333;
    overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav .pagelink {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* For the cart image, the same styling */
.topnav .cartlink {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px 8px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home").
Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
.topnav a:not(:first-child) {display: none;}
.topnav a.icon {
float: right;
display: block;
}
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon.
This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
.topnav.responsive {position: relative;}
.topnav.responsive a.icon {
position: absolute;
right: 0;
top: 0;
}
.topnav.responsive a {
float: none;
display: block;
text-align: left;
}
} 

/* new nav section END */

#main
{
background-color: white;
padding: 16px;
text-align: center;
overflow: hidden;
}

#maincontent
{
max-width: 700px;
margin-right: auto;
margin-left: auto;
vertical-align: top;
text-align: left;
}

#float
{
text-align: center;
}


#footercontainer
{
background-color: #b1fffc;
padding: 16px;
text-align: center;
overflow: hidden;
}

#footer
{
max-width: 700px;
margin-right: auto;
margin-left: auto;
vertical-align: top;
text-align: left;
}

.inlinenavlist
{
display: inline-block;
vertical-align: top;
text-align: left;
}

img
{
max-width: 100%;
height: auto;
}
