/*
   New Perspectives on HTML and CSS
   Tutorial 11
   Tutorial Case

   New Year's Eve Style Sheet

   Filename:         newyear.css
   Supporting Files:

*/


/* Display HTML5 structural elements as blocks */

article, aside, figure, figcaption, footer, hgroup, header,
section, nav {
   display: block;
}


/* Set the default page element styles */

body {
   margin: 0px auto;

   min-width: 700px;
   max-width: 1200px;

   background-color: black;
}

body * {

   font-family: Verdana, Geneva, sans-serif;
   font-size: 100%;
   font-weight: inherit;
   line-height: 1.2em;
   margin: 0px;
   padding: 0px;
   text-decoration: none;
   vertical-align: baseline;

}

/* Header styles */

header {
   position: relative;
   width: 100%;
}

header > h1 {
   position: absolute;
   top: 15px;
   right: 15px;
   text-align: right;

   font-size: 3.3em;
   letter-spacing: 0.2em;
   font-family: 'Times New Roman', serif;

   color: black;
   color: black;
}


header img {
   width: 40%;
}

#paul1 {
  padding-top: 150px;
  float: right;
}

/* Navigation lists */


nav.horizontal {
   width: 100%;
   position: relative;
   top: -50px;
}

nav.horizontal ul {
   margin: 0px;
}

nav.horizontal ul li {
   display: block;
   float: left;
   height: 50px;
   width: 20%;
}

nav.horizontal ul li a {
   background-color: #1C1C1C;
   background-color: rgba(15, 8, 8, 0.4);
   display: block;
   font-family: 'Trebuchet MS', Helvetica, sans-serif;
   line-height: 50px;
   color: rgb(241, 241, 241);
   color: rgba(255, 255, 255, 0.8);
   text-align: center;
   text-shadow: black 2px 1px 0px;
   font-size: 1em;
}

nav.horizontal ul li a:hover {
   background-color: rgb(148, 171, 199);
   background-color: rgba(148, 171, 199, 0.4);

}


/* Styles for the Time Clock */

div#time {
   position: absolute;
   top: 20px;
   left: 15px;
}

div#time h2 {
   color: black;
   color: black);
   font-size: 1.3em;
   font-weight: bolder;
   letter-spacing: 0.3em;

}

div#time input {
   display: block;
   position: absolute;
   background-color: rgb(82, 94, 110);
   background-color: rgba(82, 94, 110, 0.8);
   color: white;
   color: white;
   padding: 5px 0px 5px 10px;
   width: 140px;
   font-size: 1.1em;
   font-family: 'Trebuchet MS', Helvetica, sans-serif;
   font-weight: bolder;
   border-width: 0px;

   -moz-border-radius: 15px;
   -webkit-border-radius: 15px;
    border-radius: 15px;
}

input#dateNow {
   top: 33px;
}

input#timeNow {
   top: 70px;
}

/* Vertical navigation list styles */


nav.vertical {
   float: left;
   width: 32%;
   margin-top: -55px;
   height: 430px;
   background-color: rgb(240, 242, 244);
   background-color: rgba(240, 242, 244, 0.4);
}

nav.vertical h1 {
   color: white;
   color: white;


   font-size: 1.35em;
   letter-spacing: 3px;
   text-align: center;
   padding: 10px;
   margin: 0px 0px 15px 0px;
   background-color: rgb(207, 208, 210);
   background-color: rgba(165, 167, 169, 0.5);
}

nav.vertical ul {
   list-style: none;
}

nav.vertical ul li {
   font-size: 0.82em;
   letter-spacing: 3px;
}





/* Middle section styles */

section#middle {
   float: left;
   height: 430px;
   width: 34%;
   margin-top: -55px;
   background-color: rgb(202, 207, 212);
   background-color: rgba(202, 207, 212, 0.4);
}

section#middle h1 {
   color: white;
   color: white;

   font-size: 1.35em;
   letter-spacing: 3px;
   text-align: center;
   padding: 10px;
   margin: 0px 0px 15px 0px;
   background-color: rgb(207, 208, 210);
   background-color: rgba(165, 167, 169, 0.5);
}

section p {
   text-align: justify;
   margin: 10px 20px 20px 20px;
}

/* Right section styles */

section#right {
   float: left;
   height: 430px;
   width: 34%;
   margin-top: -55px;
   background-color: rgb(240, 242, 244);
   background-color: rgba(240, 242, 244, 0.3);
}

section#right h1 {
   color: white;
   color: white;


   font-size: 1.35em;
   letter-spacing: 3px;
   text-align: center;
   padding: 10px;
   margin: 0px 0px 15px 0px;
   background-color: rgb(207, 208, 210);
   background-color: rgba(165, 167, 169, 0.5);
}



/* Page footer styles */

footer {
   clear: left;
   display: block;
}

footer address {
   display: block;
   font-style: normal;
   text-align: center;
   font-size: 10px;
   line-height: 20px;
   height: 20px;
   background-color: rgba(82, 94, 110, 0.8);
   color: white;
}

form {
   background-color: white;
   -moz-box-shadow: rgb(101, 101, 101) -20px 0px 20px,
               rgb(101, 101, 101) 20px 0px 20px;
   -webkit-box-shadow: rgb(101, 101, 101) -20px 0px 20px,
               rgb(101, 101, 101) 20px 0px 20px;
   box-shadow: rgb(101, 101, 101) -20px 0px 20px,
               rgb(101, 101, 101) 20px 0px 20px;
}

img#radioHarvey {
  width: 20%;
}
