/* Toolbox */

.alignleft { float: left; margin-right: 15px; }

.aligncenter { text-align: center; }

.alignright { float: right; margin-left: 15px; }

.squeeze { margin: 0 15px; }


/* General Layout */

#header
{
  width: 100%;
  height: 175px;
  background: url(/images/header_bg.jpg) top center no-repeat;
}

#logo
{
  float: left;
  width: 400px;
  height: 115px;
  margin: 20px 0 0 20px;
  background: url(/images/logo.png) no-repeat;
}

#header_search
{
  position: absolute;
  right: 0;
  top: 78px;
  width: 490px;
}

#header_search table td
{
  vertical-align: bottom;
  text-align: center;
}

#header_search table td.advanced
{
  text-align: right;
}

#content
{
  margin: 25px;
}

#main_content
{
  margin: 0 205px;
}


/* Sidebars */

#sidebar_left
{
  float: left;
  width: 180px;
  text-align: center;
}

#sidebar_right
{
  float: right;
  width: 180px;
  text-align: center;
}

#sidebar_left .box_top, #sidebar_right .box_top
{
  width: 100%;
  height: 15px;
  background: url(/images/sidebar_box_top.jpg) no-repeat;
}

#sidebar_left .box, #sidebar_right .box
{
  width: 100%;
  background: url(/images/sidebar_bg.jpg) repeat-y;
  padding: 1px 0;
  overflow: hidden;
}

#sidebar_right .squeeze, #sidebar_left .squeeze
{
  width: 160px;
  margin: 0 auto;
  word-wrap: break-word;
  overflow: hidden;
  text-align: left;
}

#sidebar_left .box_bottom, #sidebar_right .box_bottom
{
  width: 100%;
  height: 15px;
  margin-bottom: 15px;
  background: url(/images/sidebar_box_bottom.jpg) no-repeat;
}

#sidebar_left p, #sidebar_right p, #sidebar_left ul, #sidebar_right ul
{
  margin-bottom: 0px;
  padding-bottom: 10px;
}

#dialog_book_search, #add_author_dialog
{
  text-align: left;
}


/* Registration */

#registration_type
{
  text-align: center;
}

#registration_type ul
{
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

#registration_type ul li
{
  display: inline;
}

#registration_type ul li a
{
  font-size: 18px;
  text-decoration: none;
  padding: 0 50px;
}

/*

#registration_type ul li
{
  float: left;
  display: block;
  height: 300px;
  width: 204px;
  margin: 0 40px;
}

#registration_type ul li a
{
  display: block;
  width: 100%;
  height: 100%;
  font-size: 0px;
}

#registration_type ul li a.reader
{
  background: url(/images/register_reader.jpg) top no-repeat;
}

#registration_type ul li a.author
{
  background: url(/images/register_author.jpg) top no-repeat;
}

#registration_type ul li a.publisher
{
  background: url(/images/register_publisher.jpg) top no-repeat;
}

#registration_type ul li a.reader:hover
{
  background: url(/images/register_reader.jpg) bottom no-repeat;
}

#registration_type ul li a.author:hover
{
  background: url(/images/register_author.jpg) bottom no-repeat;
}

#registration_type ul li a.publisher:hover
{
  background: url(/images/register_publisher.jpg) bottom no-repeat;
}

*/


/* Home Page */

#home_page .box_top
{
  width: 100%;
  height: 25px;
  margin-top: 25px;
  background: url(/images/home_page_top.jpg) no-repeat;
}

#home_page .box
{
  background: url(/images/home_page_bg.jpg) repeat-y;
  padding-bottom: 1px;
}

#home_page .box_bottom
{
  width: 100%;
  height: 25px;
  background: url(/images/home_page_bottom.jpg) no-repeat;
}

#home_page table td
{
  width: 50%;
  padding-bottom: 15px;
}


/* Book Browse Page */

#book_browse table
{
  margin: 25px 0;
}

#book_browse table td.image
{
  width: 125px;
}

#book_browse table td.axes
{
  width: 180px;
}


/* Book Detail Page */

#book_detail table td.image
{
  width: 250px;
}

#reviews
{
  margin-top: 50px;
  padding: 15px;
  background: #E5ECF9;
  border: 1px solid #c3d9ff;
}


/* Author Browse Page */

#author_browse table
{
  margin: 25px 0;
}

#author_browse table td.image, #author_browse table td.books
{
  width: 150px;
}

#author_initials ul
{
  margin-top: 25px;
  list-style: none;
}

#author_initials ul li
{
  display: inline;
  padding: 0;
}

#author_initials ul li a
{
  font-size: 1.5em;
  padding: 2px 5px;
  color: #000;
  border: 1px solid #000;
}

#author_initials ul li a:hover, #author_initials ul li a.current
{
  color: #999;
  border: 1px solid #999;
}

#author_initials ul li a.current
{
  text-decoration: none;
}


/* Author Detail Page */

#author_detail table td.image
{
  width: 300px;
}

#book_list
{
  margin-top: 50px;
  padding: 15px;
  background: #E5ECF9;
  border: 1px solid #c3d9ff;
}

#book_list table td
{
  width: 50%;
  padding-bottom: 15px;
}


/* Navigation */

#top_nav
{
  float: right;
  height: 26px;
  margin-left: 10px;
  padding: 0px;
  background: url(/images/top_nav_curve.png) top left no-repeat;
}

#top_nav ul
{
  list-style-type: none;
  height: 100%;
  margin: 0 0 0 10px;
  background: url(/images/top_nav_bg.png) repeat-x;
}

#top_nav ul li
{
  float: left;
  display: block;
  height: 25px;
  padding: 0 15px;
  border-right: 1px solid #a09a89;
  color: #fff;
}

#top_nav ul li:last-child
{
  border: none;
}

#top_nav ul li a
{
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
}

#top_nav ul li a:hover
{
  color: #ebebeb;
}

#main_nav
{
  width: 100%;
  height: 25px;
  margin-top: 15px;
  text-align: center;
  background: url(/images/main_nav_bg.png) repeat-x;
}

#main_nav ul
{
  list-style-type: none;
  padding: 1px 0 0 0;
}

#main_nav ul li
{
  display: inline;
  padding: 0 25px;
}

#main_nav ul li a
{
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  padding: 3px 25px 5px 25px;
}

#main_nav ul li a:hover, #main_nav ul li a.current
{
  background: url(/images/main_nav_hover.png);
}

#main_nav ul li a.current
{
  font-weight: bold;
}

#my_account_nav
{

}

#my_account_nav ul
{
  list-style-type: none;
  padding: 5px 0 0 0;
  margin: 0 0 2px 0;
}

#my_account_nav ul li
{
  display: inline;
  padding: 5px 25px;
  background: #c3d9ff;
}

#my_account_nav ul li a
{
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  color: #555;
}

#my_account_nav ul li a:hover, #my_account_nav ul li.current a
{
  color: #000;
}

#my_account_nav ul li.current
{
  background: #E5ECF9;
  border-top: 1px solid #c3d9ff;
  border-left: 1px solid #c3d9ff;
  border-right: 1px solid #c3d9ff;
  border-bottom: 1px solid #E5ECF9;
}

#admin_nav
{

}

#admin_nav ul
{
  list-style-type: none;  
  padding: 5px 0 0 0;
  margin: 0 0 2px 0;
}

#admin_nav ul li
{
  display: inline;
  padding: 5px 25px;
  background: #c3d9ff;
}

#admin_nav ul li a
{
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  color: #555;
}

#admin_nav ul li a:hover, #admin_nav ul li.current a
{
  color: #000;
}

#admin_nav ul li.current
{
  background: #E5ECF9;
  border-top: 1px solid #c3d9ff;
  border-left: 1px solid #c3d9ff;
  border-right: 1px solid #c3d9ff;
  border-bottom: 1px solid #E5ECF9;
}
#store_locator
{
  margin: -10px 0px 15px 0px;
  padding: 0px;
  text-align: right;
}
#store_locator a img
{
  border: none;
}