/* Headers */

h2 {
	color:#333333;
	font-size:18px;
}
h1 {
	margin-bottom:15px;
	font-size:32px;
	color:#003333;
}
/* end Headers */

body {
	font: normal 12px/normal Georgia, Palatino, Tahoma, Geneva, sans-serif;
	color:#333333;
	background-color:#ced0aa;
}

div#wrapper {
	width:960px;
	margin:10px auto;
}
div#header {
	height:140px;
	overflow:hidden;
	background:url(../images/bg-header.jpg) no-repeat;
}
div#header div.goleft {
	padding:10px 0 0px 25px;
}
div#header div.goright {
	padding:35px 35px;
}
div#header div.goright a {
	margin: 15px 0 15px 0;
	
	display:block;
	text-align:right;
	color:#fff;
}
div#button{
background:url(../images/btn-addtobasket.gif) no-repeat;
}
div#header div.goright a:hover {
	text-decoration:underline;
}
form#search {
	margin-bottom:5px;
}
form#search input {
	border:medium none;
	display:block;
	float:left;
	margin-bottom:5px;
	margin-right:0;
	overflow:hidden;
}
form#search input.text {
	width:155px;
	padding:3px 0 3px 0px;
	background:url(../images/input-text-search.png) no-repeat scroll 25 0 transparent;
}
form#search input.submit {
	width:34px;
	height:23px;
	margin-left:5px;
	cursor:pointer;
	background:url(../images/input-submit-search.png) no-repeat;
	
}
form#search input.mag {
    width:25px; 
    height:22px;
    background:url(../images/input-text-search.png) no-repeat scroll 0 -2px transparent;
}
div#menu {
	height:32px;
	overflow:hidden;
	background:url(../images/bg-menu.gif) repeat-x;
}
div#menu a {
	height:16px;
	padding:8px 20px;
	float:left;
	display:block;
	color:#ffffff;
}
div#menu li {
	float:left;
	padding-right:5px;
	margin-right:5px;
	background:url(../images/sep.gif) right top no-repeat;
}
div#menu ul li.selected a {
	background:url(../images/bg-menu-selected.gif) repeat-x;
}
div#menu ul li a:hover {
	background:url(../images/bg-menu-hover.gif) repeat-x;
	text-decoration: none;
}
div#menu ul li a:active {
	background:url(../images/bg-menu-active.gif) repeat-x;
	text-decoration: none;
}
div#menu ul {
    height: 32px;
	padding-left:146px;
}
div#content {
	height:1%;
	background-color:#fff;
}

ul#sort-books li { list-style: none; text-decoration:none; }
ul#sort-books li a { display:block; font-weight:bold; color:#736e6e; padding: 2px 0px 2px 10px; }

div#left-bar, div#right-bar {
	width:150px;
	border-bottom:7px solid #9CA054;
	overflow:hidden;
	float:left;
	display:inline;
	background:#e6e7d4 url(../images/top.gif) no-repeat;
	font-size:11px;
}

div.padding {
	padding:5px 15px;
}
div#left-bar h3 {
	font-size:11px;
	margin:2px 0 10px;
	color:#fff;
}
div#left-bar dl {
	font-weight:bold;
}
div#left-bar dt {
	color:#4e502a;
	font-weight:bold;
	font-family:Tahoma, Geneva, sans-serif;
}
div#left-bar dd {
	padding-left:10px;
}
div#left-bar dd a {
	color:#736e6e;
}
div#left-bar dd a:hover {
	text-decoration:underline;
}
div#left-bar h4 {
	height:21px;
	padding:6px 0 0 15px;
	font-size:11px;
	color:#fff;
	overflow:hidden;
	background:url(../images/bg-header.gif) repeat-x;
}

ul.sub-menu {
	margin-bottom:40px;
	margin-top:5px;
	border-top:2px solid #fff;
	font-weight:bold;
	width:150px;
}
ul#subject-menu {
	margin:0px;
	border:0px;
}
ul.sub-menu li {
	list-style: none;
	border-bottom:2px solid #fff;
	text-decoration:none;
}
ul.sub-menu li a {
	display:block;
	padding:7px 0 7px 15px;
	width:135px;
	color:#4e502a;
}
ul.sub-menu li a:hover, ul#sort-books li a:hover {
	color:white;
	background: #75783f;
	text-decoration:none;
}
ul.sub-menu li a.ui-state-active, ul#sort-books li a.ui-state-active {
	background: #BBC068;
	border:0px;
	font-weight:bold;
	color: #333;
}

ul.sub-menu ul.sub_sub-menu li a {
        display:block;
        padding:2px 0 2px 20px;
        width:135px;
        color:#4e502a;
	font-weight: normal;
}
ul.sub-menu ul.sub_sub-menu li a:hover {
	color:white;
}
ul.sub-menu ul.sub_sub-menu li { border:0px; }
ul.sub-menu ul.sub_sub-menu li:first-child  { margin-top:-5px; }

form#newsletter {
	padding:10px;
	margin-bottom:15px;
	background-color:#926326;
}
form#newsletter input {
	border:none;
	display:block;
	overflow:hidden;
}
form#newsletter label {
	margin-bottom:5px;
	display:block;
	color:#fff;
	font-weight:bold;
}
form#newsletter input.text {
	width:130px;
	padding:4px 0 4px 5px;
	margin-bottom:5px;
	font-size:10px;
	color:#333333;
	background:url(../images/input-text-newsletter.gif) no-repeat;
}
form#newsletter input.submit {
	width:64px;
	height:22px;
	cursor:pointer;
	background:url(../images/input-submit-newsletter.gif) no-repeat;
}
form#newsletter input.submit {
	width:64px;
	height:22px;
	cursor:pointer;
	background:url(../images/input-submit-newsletter.gif) no-repeat;
}

div#main {
	width:601px;
	float:left;
}
div#shelf {
	width:601px;
	height:251px;
	margin-bottom:20px;
	padding:20px 0 0 0;
	background:url(../images/bg-shelf.gif) no-repeat;
}
div#shelf a {
	margin-left:31px;
}
div#main div.padding {
	padding:10px 20px;
}
div#main p {
	margin-bottom:20px;
	line-height:20px;
	text-align:justify;
}
div#right-bar {
float: right;
padding-top: 10px;
}
a#pdf {
	padding-right:30px;
	display:block;
	color:#333333;
	font-weight:bold;
	text-align:left;
	background:url(../images/pdf.gif) no-repeat right top;
}
div#footer {
	margin-bottom:10px;
	height:102px;
	background:url(../images/bottom.gif) no-repeat;
}
div#footer div.padding {
	padding:25px 40px;
}
div#footer ul {
	margin-bottom:30px;
}
div#footer ul li {
	margin-right:15px;
	
	float:left;
}
div#footer li a {
	color:#ffffff;
}
div#footer li a:hover {
	text-decoration:underline;
}
div#footer p {
	color:#fff;
}
div#footer p strong {
	margin-bottom:5px;
	display:block;
	padding-left: -20px;
}
div#site-info {
	color:#fff;
	margin:10px 0 0 0;
	text-align:right;
}
ul#breadcrumbs {
	height:1%;
	margin-bottom:10px;
	overflow:hidden;
}
ul#breadcrumbs li {
	margin-right:10px;
	float:left;
	color:#4e502a;
}
ul#breadcrumbs li a {
	padding-right:15px;
	color:#999999;
	display:block;
	background:url(../images/sep-breadcrumb.gif) no-repeat right 4px;
}
ul#breadcrumbs li a:hover {
	text-decoration:underline;
}
ul#breadcrumbs li strong {
	color:#333333;
}
div#main.page h1 {
	color:#000000;
}
ul#pagination {
	height:1%;
	margin-bottom:20px;
	overflow:hidden;
}
ul#pagination li {
	margin-right:5px;
	padding-right:5px;
	border-right:1px solid #333;
	float:left;
	color:#333333;
}
ul#pagination li a {
	color:#333333;
}
ul#pagination li a:hover {
	text-decoration:underline;
}
ul#pagination li.last {
	border-right:none;
	padding-right:0;
	margin-right:0;
}
ul#products {
	
}
ul#products li {
	margin-bottom:15px;
	height:1%;
	overflow:hidden;
}
ul#products div.pic {
	float:left;
}
ul#products div.info {
	width:450px;
	float:right;
}
ul#products li p {
	margin-bottom:10px;
	line-height:16px;
}
ul#products li h3 {
	font-weight:normal;
}
div.pricebox {
	width:185px;
	float:right;
}
div.pricebox strong {
	display:block;
	color:#333333;
}
div.pricebox a {
	margin-left:50px;
	position:relative;
	top:-3px;
}
div.pricebox span {
	position:relative;
	top:-10px;
	font-size:14px;
	font-weight:bold;
	color:#6a121f;
}
div#details h1 {
	margin-bottom:0;
}
div#details h2 {
	margin-bottom:10px;
	color:#666666;
	font-size:14px;
	text-decoration:underline;
}
div#product-detail {
	height:1%;
	margin-bottom:20px;
	overflow:hidden;
	position:relative;
}
div#product-detail div.pic {
	float:left;
}
div#product-detail div.info {
	width:400px;
	font-size:14px;
	float:right;
}
div#product-detail div.info h3 {
	font-size:18px;
	color:#333333;
}
div#product-detail div.info span {
	color:#6a121f;
}
div#product-detail div.info h4 {
	font-size:14px;
}	
div#product-detail div.info p {
	margin-bottom:0;
}
div#product-detail div.info p.padded {
	margin-bottom:15px;
}
div#product-detail div.info a {
	position:absolute;
	right:0;
	bottom:0;
}
ul#options {
	margin-bottom:15px;
	height:1%;
	overflow:hidden;
	border-bottom:1px solid #b4b4b4;
}
ul#options li {
	padding-right:2px;
	float:left;
	background:url(../images/sep-options.gif) right top no-repeat;
}
ul#options li a {
	padding:2px 20px 0;
	height:17px;
	float:left;
	overflow:hidden;
	display:block;
	background:url(../images/bg-options.gif) repeat-x;
	color:#777;
	font-weight:bold;
}
ul#options li.selected a, ul#options li a:hover {
	background:url(../images/bg-options-selected.gif) repeat-x;
}
div#info {
	margin-bottom:20px;
	border-bottom:1px solid #b4b4b4;
	line-height:16px;
}
div#info a {
	color:#333;
}
div#info a:hover {
	text-decoration:underline;
}
div#additional strong {
	display:block;
	margin-bottom:10px;
}
div#additional a {
	margin-right:20px;
}

span.error { color: #922629; display:block; }
div#header div.goright div.top_nav{display:block; float: right;}
div#header div.goright div.top_nav a{display:block; float:left;  margin-left: 20px;}

#bookshelf {
    clear: both;
    height: 225px;
    margin: 17px  auto 10px;
    position: relative;
    width: 601px;
}
#bookshelf_content {
    background: url("../images/bg-shelf.gif") repeat-x scroll 0 0 transparent;
    float: left;
    width: 601px;
}
#slideshow {
    height: 205px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 2000px;
}
#window {
    height: 205px;
    margin: 10px 20px; 
    overflow: hidden;
    position: relative;
    width: 561px;
}
#slideshow li {
    display: inline;
    float: left;
    height: 205px;
    text-align: center;
    width: 184px;
}
#slideshow li:first-child { margin-left:0px; }
#slideshow li a {
    margin: 0 auto;
}
#slideshow li a img {
    max-height: 200px;
    max-width: 155px;
}
#bookshelf_previous {
    left: -13px;
    position: absolute;
    top: 100px;
}
#bookshelf_left {
    background: url("../images/bookshelf_left_bg.png") no-repeat scroll 0 0 transparent;
    float: left;
    height: 225px;
    width: 8px;
    display:none;
}
#bookshelf_next {
    left: 583px;
    position: absolute;
    top: 100px;
}
#bookshelf_right {
    background: url("../images/bookshelf_right_bg.png") no-repeat scroll 0 0 transparent;
    float: left;
    height: 225px;
    width: 8px;
    display:none;
}
.ui-state-active{font-weight:bold;}
#advert_window {
    clear: both;
    height: 250px;
    margin: 0;
    position: relative;
    width: 960px;
     margin-bottom:20px;
}#advert_content {
    height: 250px;
    overflow: hidden;
    width: 960px;
   
}
div.advert_window_border {
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.2);
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
}
#advert_slideshow, #_advert_slideshow {
    height: 250px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
}
#advert_slideshow li, #_advert_slideshow li {
    display: inline;
    float: left;
    height: 250px;
    margin: 0;
    text-align: center;
    width: 960px;
}
#advert_slideshow li img, #_advert_slideshow li img {
    max-height: 250px;
    width: 960px;
}

ul.insert_books li, ul.other_visitors_viewed li {
    float:left;
    width:150px;
    min-height: 200px;
    padding:6px 0 0 0px;
    text-align:center;
}
ul.insert_books li a {
    height:175px;
    min-width:100px;
}

ul.insert_books li img, ul.other_visitors_viewed li img {
  display: block;
  position: relative;
  background-color: #fff;
  border: 0;
  margin: 0px 6px 6px 0px;
  border: 1px solid #EBE9DC;
  height: 175px;
  padding: 0;
  
        -moz-box-shadow: 5px 5px 8px #7F7F7F;
        -webkit-box-shadow: 5px 5px 8px #7F7F7F;
        box-shadow: 5px 5px 8px #7F7F7F;
        /* For IE 8 */
        -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='#7F7F7F')";
        /* For IE 5.5 - 7 */
        filter: progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='#7F7F7F');
}

ul.other_visitors_viewed li {
    width:120px;
    min-height: 200px;
}
ul.other_visitors_viewed li a {
    height:135px;
    min-width:100px;
}
ul.other_visitors_viewed li img {
    height:135px;
    border:0px;
}

img.bookimgborder {
  display: block;
  position: relative;
  background-color: #fff;
  border: 0;
  margin: 0px 6px 6px 0px;
  padding: 0;
  
        -moz-box-shadow: 5px 5px 8px #7F7F7F;
        -webkit-box-shadow: 5px 5px 8px #7F7F7F;
        box-shadow: 5px 5px 8px #7F7F7F;
        /* For IE 8 */
        -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='#7F7F7F')";
        /* For IE 5.5 - 7 */
        filter: progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='#7F7F7F');
}