﻿/*
CSS for Books Ahoy.ca Web Site
*/

body {
  font-family: Verdana, Helvetica, Arial, sans-serif;
  background-color: #FFFDF2;
/* background-color: #e2edff; */
/* min-width: 850px; */
  padding: 15px;
  line-height: 125%;
  padding: 0;
  margin: 0;
  height: 740px;
}

#img {
  border: 15px solid white;
}

/*
#wrapper {
  text-align: left;
  width: 800px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fdf8f2;
  color: #01407a;
  padding: 10px;
}
*/

#tagline p {
  font-style: italic;
font-family: Georgia, Times, serif;
background-color: #CCAE7C;
border-top: 3px solid #FBC2C8;
border-bottom: 3px solid #FBC2C8;
  padding-top: .2em;
  padding-bottom: .2em;
  padding-left: .8em;
  margin: 0;
  background: #CCAE7C url(backgrounds/tagline-fade.jpg) repeat-y
  right bottom;
}

#navigation {
  width: 180px;
  border: 1px solid navy;
/*background-color: #6699CC;*/
  height: 523px;
  background: #7da5db url(backgrounds/booksahoy_sidebar.jpg) no-repeat;
}


/*

Note that FONT name only have to appear in "" if they are two or
more words as shown below
*/





h1, h2, h3 {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  color: white;
  font-size: x-large;

}


/*
You could write ( h1, h2, h3 { ) instead of ( h1 { ) to effect
headings 1, 2 and 3. This simplifies the markup written.
*/


h1 {
  font-size: xx-large;
  background-color: #4E1418;
  color: white;
  padding-top: 1.2em;
  padding-bottom: .42em;
  padding-left: .4em;
  margin: 0;
  background: #4E1418 url(backgrounds/header-ba.jpg) repeat-y right;
}


h2 {
  color: navy;
  font-size: 130%;
  font-weight: normal;
  padding-top: 15px;
  margin: 0;
}

h3 {
  color: navy;
  font-size: 200%;
  font-weight: normal;
  padding-top: 15px;
  margin: 0;
}

/* The list-style-type: below could be disc, circle, square or none */

li {
  font-size: small;
  list-style-type: none;

}

p {
  font-size: small;
  color: navy;
}

#tagline p {
  font-style: italic;
  font-family: Georgia, Times, serif;
}

/*
em {
  font-style: normal;
}
*/



em {
  text-transform: uppercase;
}


a {
  font-weight: bold;
  text-decoration: none;
}


/*

GETING YOUR LINK STATES IN ORDER!
---------------------------------

Links should always be specified in the order below:

    Link
    Visited
    Hover
    Active

Think and try and remember the letters LVHA
Like the phrase "LoVe? Ha"
*/



a:link {
  color: gold;
}

a:visited {
  color: red;
}

a:hover {
  text-decoration: none;
  color: white;
  background-color: purple;
}

a:active {
  color: aqua;
  background-color: navy;
}



/*

CLASS SELECTORS
---------------

In the example below the class selector (.fun) refers to it's counter-
part in the about.html page. Note that in the (class="fun") is shown in the
blockquote and the paragraph tags, but if used in the blockquote tag,
is not reqired in the paragraph tags.

<blockquote>
      <p class="fun">Happiness is a dip in the ocean followed by a pint or two of
         Old Speckled Hen. You can quote me on that!</p>
    </blockquote>

Class versus id
---------------

class - which involves (.)
id    - which involves (#)

On any webpage there can only be one element with an id of main navigation, 
and only one with an id of header. A class on the other hand, can appear 
as many times as required.

*/



.fun {
  color: #339999;
  font-family: Georgia, Times, serit;
  letter-spacing: 0.05em;
}

blockquote.fun {
  font-style: italic;
}

.feature {
  float: right;
  margin: 10px;
}

.galleryphoto p {
  font-size: 65%;
  font-weight: bold;
  margin-top: 0;
  width: 430px;
  line-height: 1.4em;
  padding-bottom: 20px;
  border-bottom: 1px solid navy;
  margin-bottom: 10px;
}

.photocredit {
  font-weight: normal;
  color: gray;
}

/*

The below markup will give a thin red outline and padding around it as to
help you see the items that are nested - you will remove this after
repositioning.

*/

/*
#header, #sitebranding, #tagline, #navigation, #bodycontent{
  border: 1px solid red;
  padding: 2px;
  margin-bottom: 2px;
}
*/

#navigation, #bodycontent, #header {
  position: absolute;
}

/*note: measurement below was 107px for top: */

#navigation, #bodycontent {
  top: 6.54em;
}

#navigation {
  padding-top: 27px;
  width: 180px;
  background-color: #7da5d8;
  border: 0px;
}

#bodycontent {
  padding-top: 15px;
  padding-right: 20px;
  left: 210px;
}

#header {
  width: 100%;
}

#header {
  border-top: 3px solid #FBC2C8;
}

/*
#verticalfade {
  border: 1px solid black;
  padding: 20px;
  padding-top: 300px;
  background-color: #e3e3e3;
  background-image: url(vert-fade.gif);
  background-repeat: repeat-x;
}
*/ 
