/*CSS style sheet Photo Gallery Page-V 2.0- by Rory McGuire developed for NMD100Lab Fall 2011Last modified 12-7-11 */* {    margin:0;    padding:0;    border: none;}/* === Background image styling === */html {    background-image: url( "../media/frame2.gif");    background-repeat:no-repeat;    background-attachment: fixed; /* Prevents the background image from scrolling */    background-position:center;    background-size: cover; /* Background image fills the entire background of the screen no matter how big the screen it is. */}/* === Main page styling === */body {    font-family: Garamond, Georgia, serif;    font-size: 1em;    background:  #46658C;    -moz-border-radius: 10px; /* Makes the border around the body curved instead of straight */    -webkit-border-radius: 10px;    border:5px solid #26374C;    width: 800px;    margin: 0 auto;   }/* Paragraph styling applying to all P (pargraph) elements */p{    text-indent: 1.5em;    padding: 10px;   }/* Caption styling applying to all figcaption elements */figcaption {    color: #3D7BBB;    font-size: 1.1em;    text-align: center;}/*The new html5 container tags must be displayed as block elements- some browsers don't recognize them as such yet- so use the display property to set them as block elements.(Written by Amy Pierce)*/header, hgroup, menu, nav, section, article, aside, details, figcaption, figure, video, footer {        display: block;}/*This rule states that any content that is too large for the containing element should be hidden-It is not an inherited property so you need to restate it for every element you want it to apply to (Written by Amy Pierce)*/header, hgroup, menu, nav, section, article, aside, details, figcaption, figure, video, footer, div {        overflow: hidden;}/* Styling for the header*/header{   width: 800px;    height: 200px;    padding-top: 10px;    padding-bottom: 10px;    background: url(../media/photogallery.jpg);    background-repeat: no-repeat;    background-position: center;     background-attachment: scroll; /* as the page is scrolled, the image is scrolled as well */ }/* ===== Styling for the navigation bar located below the header =====*/nav {    font-family: Garamond, Georgia, serif;    font-weight: bold;    text-transform: uppercase;    padding: 0 0 0 10px;    list-style-type: none;    font-size: 13px;    background: #eee;    height: 40px;    -moz-border-radius: 10px; /* makes the border surrounding the navigation bar curved */    -webkit-border-radius: 10px;    border-top: 2px solid #eee;    border-left: 2px solid #eee;    border-bottom: 2px solid #ccc;    border-right: 2px solid #ccc;}a:link { /* The styling for a link */        text-decoration:none;	color: #000000;	font-size: 1em;  }a:visited {/*The styling for a visited link*/        text-decoration:none;	color: #000000;}a:hover {/* Styling for when a mouse hovers over a link */	color: #30A9D9;}nav li {    float: left;    margin: 0;   }nav li a {    text-decoration: none;    display: block;    padding: 0 20px;    line-height: 40px;    color: #666;}/* Styling for the hover on the navigation bar */nav li a:hover, nav li.active a {    background-color: #f5f5f5;    border-bottom: 2px solid #DDD;    color: #999;  }/* Blue navigation bar */nav.blue {    border-top: 2px solid #356AA0;    border-left: 2px solid #204061;    border-bottom: 2px solid #204061;    border-right: 2px solid #204061;    background: #356AA0;} nav.blue a {color: #fff;}nav.blue li a:hover, nav.blue li.active a {color: #90CDFF; background: #3D7BBB; border-bottom: 2px solid #356AA0;} /* Colors for the navigation hover *//*class information*/div#galleryinfo{    clear: left;    font-size: 1em;    background: #46658C;  }p.galleryinfo{    text-align: justify;   }   figure.left{    margin-left: 200px;    margin-top: 15px;    float: left;    text-align: center;}figure.left1{    margin-left: 214px;    margin-top: 50px;    margin-bottom: 25px;    float: left;    text-align: center;}figure.right{    margin-right: 200px;    margin-top: 15px;    float: right;    text-align: center;}figure.right1{    margin-right: 234px;    margin-top: 50px;    margin-bottom: 25px;    float: right;    text-align: center;}img{    -moz-border-radius: 10px; /* makes the border surrounding the navigation bar curved */    -webkit-border-radius: 10px;    border: 5px solid #204061;}/* ===== Creating a footer and styling it ===== */footer {       width:800px;       height: 10%;       margin-top: 50px;}/* ===== Here we are targeting the p elements inside the footer element ===== */footer p{        background-color: #ccc;        font-size: 1em;        color: #000000;        text-align:center;       