#sidebar{
    display: block;
    float: left;
    width: 230px;
    height:100%;
}

.products-main{
    border-left: 1px solid #EEEEEE;
    float: right;
    width: 719px;
}

.preview{
    width: 240px;
    border:0;
    border-top:1px solid #eee;
    background: url("/images/global/products-grid-v-rule.png") no-repeat left top;
    text-align:center;
    height: 338px;
}
.preview:hover {
    background-color: #FBFBFB;
}

.product-preview .product-buttons{
    display:none;
}
.product-preview:hover .product-buttons{
    display:block;
}
.product-preview:hover .pricing{
    display:none;
}

.product-preview:hover .buttons{
    display:block !important;
}



.stack-panel-horizontal{
    width:720px;
    margin-left:-1px;
}
.stack-panel-horizontal > li{
    margin:0;
    width:240px;
}
.preview .content{
    position:relative;
}
.preview .content .corner-badge{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 60px;
    height: 60px;
}
.preview .content .corner-badge.last-chance{
    background: url("/images/global/badge-lastchance-L.png") no-repeat 0 0;
}
.preview .content .corner-badge.ultimosdias{
    background: url("/images/global/badge-ultimosdias-L.png") no-repeat 0 0;
}
.preview .content .corner-badge.featured{
    background: url("/images/global/badge-featured-L.png") no-repeat 0 0;
}
.preview .content .corner-badge.new{
    background: url("/images/global/badge-new-L.png") no-repeat 0 0;
}
.preview .content .corner-badge.sale{
    background: url("/images/global/badge-sale-L.png") no-repeat 0 0;
}


.preview .content .product-buttons a{
    display:block;
    margin:0 auto 5px;

}
.preview .content h2{
    font-family: Arial, sans-serif;
    line-height: 1.2em;
    font-size: 13px;
    font-weight: bold;
    width: 160px;
    margin: 10px auto;
    min-height: 50px;
    letter-spacing: 0;
    padding-left:0 !important;
}
.preview .content h2 a{
	font-family: Arial, sans-serif;
    color: #333333;
    letter-spacing: 0;
}
.preview .pricing, .preview .pricing p{
    font-size: 10px;
    color: #AAA;
    margin: 0;
}
.preview .pricing .sale-price{
    font-size:14px;
    color: #444;
}
.preview .pricing .discount{
    margin-bottom:10px;
}

.preview .pricing .retail-price .money, .preview .pricing .discount .money {
    font-weight:normal !important;
}

.stack-panel-horizontal li.first .preview{
    /*background-image: none;*/
}
.preview .product-img{
    display:table-cell;
    vertical-align: bottom;
    height:170px;
    padding-top:25px;
    position:relative;
    width:239px;
}


.preview .product-img img{
    max-height:140px;
}

/*Predefined searches*/
#predefined-searches li {
  border-right: 1px solid white;
  border-top:0 !important;
  color: white;
  display: block;
  width: 179px;
  height: 180px;
  float: left;
  text-align: center;
  margin:0 !important;
}
#predefined-searches li h2{
    margin:0;
}
#predefined-searches li h2 a,#predefined-searches li h2 a:hover{
    margin: 0;
    letter-spacing: 0px;
    color: #FFF;
    height:80px;
    padding-top:100px;
    line-height: 1.2em;
    display:block;
    font-size:24px;
    font-family: Arial,'Liberation Sans',FreeSans,Sans-Serif;
}

#predefined-searches .first h2 {
    background: url("/images/global/products-collections-icon.png") no-repeat center 50px;
}
#predefined-searches .second h2 {
    background: url("/images/global/products-individual-titles-icon.png") no-repeat center 50px;
}
#predefined-searches .third h2 {
    background: url("/images/global/products-prepub-icon.png") no-repeat center 50px;
}
#predefined-searches .fourth h2 {
    background: url("/images/global/products-community-pricing-icon.png") no-repeat center 50px;
}

#predefined-searches .first {
  background: #63728c;
}
#predefined-searches .first:hover {
  background: #5d6c85;
}
#predefined-searches .second {
  background: #6ea5e1;
}
#predefined-searches .second:hover {
  background: #679cd6;
}
#predefined-searches .third {
  background: #9da4b6;
}
#predefined-searches .third:hover {
  background: #979db0;
}
#predefined-searches .fourth {
  background: #98cb32;
  border: 0;
}
#predefined-searches .fourth:hover {
  background: #8ebf30;
}

.products-main .stack-panel-vertical>.screen>div{
    border-bottom: 1px solid #EEE;
    float:left;
}
.stack-panel-vertical>.screen.last>div,.stack-panel-vertical>.screen.first>div{
    border-bottom:none;
}

/* CAROUSEL STYLES */
.carousel{
	/*overflow:visible !important;*/
}
#bestselling>h2, #staff-picks>h2, #hot-deals>h2, #merch>h2{
    color:#006BB3;
    padding-left:22px;
}
.products-carousel {
    height: 295px;
    margin: 0 auto;
    /*overflow: hidden;*/
    width:720px !important;
    float:right;
    overflow-x:hidden;
}
li.carousel h2{
    padding-left:22px;
    font-size:24px;
}
li.carousel h2 a{
    color:#006CB5;
}

.products-carousel .book-instance {
    float: left;
    height: 270px;
    margin: 0.3em;
    padding-top: 1em;
    text-align: center;
    width: 128px;
    border-radius:3px;
}

.products-carousel .book-instance .add-to-cart, .products-carousel .book-instance .remove-from-cart {
    margin-top: 0px;
    padding-left: 4px;
    position: relative;
    text-align: center;
    visibility: hidden;
}
.products-carousel .book-instance:hover {
    background: none repeat scroll 0 0 #FBFBFB;
}
.products-carousel .book-instance:hover .add-to-cart {
    visibility: visible;
}
.products-carousel .book-instance:hover .bprice{
    display:none;
}

.products-carousel .bookslides {
    position: relative;
}

.products-carousel .bookslides-container {
    position:relative;
    left:-20px;
}
.products-carousel .bookslides .prev, .bookslides .next {
    padding: 90px 10px;
    position: absolute;
    top: 5px;
    z-index: 100;
}

.products-carousel .bookslides .prev > div, .bookslides .next  > div{
    display: none;
}

.products-carousel .bookslides .prev {
    background:url('/images/home-beta/carousel-left.png') no-repeat center left transparent;
    cursor:pointer;
}
.products-carousel .bookslides .next {
    background:url('/images/home-beta/carousel-right.png') no-repeat center right transparent;
    cursor:pointer;
}
.products-carousel .bookslides .prev:hover {
    background:url('/images/home-beta/carousel-left-hover.png') no-repeat center left transparent;
    cursor:pointer;
}
.products-carousel .bookslides .next:hover {
    background:url('/images/home-beta/carousel-right-hover.png') no-repeat center right transparent;
    cursor:pointer;
}
.products-carousel .bookslides .prev {
    left: 10px;
}
.products-carousel .bookslides .next {
    left: 687px;
}
.products-carousel .bookslides .slide-button-container {
    float: left;
    overflow: hidden;
    width: 14px;
}
.products-carousel .bookslides .slide-button-container #rightbtn {
    margin-left: -14px;
}
.no-js .next {
}
.no-js .prev {
}
.products-carousel .bookslide {
    padding-left: 40px;
}
.products-carousel .book-info {
    margin-left: 8px;
    margin-right: 8px;
}
.products-carousel .book-cover {
    height: 130px;
    position: relative;
    z-index: 10;
}
.products-carousel .book-cover a {
    bottom: 0;
    left: 22px;
    position: absolute;
}
.products-carousel .book-cover img {
    display: block;
    margin: 0 auto;
    width: 84px;
}

.products-carousel .bbuy a, .products-carousel .bbuy a:hover, .products-carousel  .bbuy a:visited {
    color: #0776BE;
    text-decoration: none;
}
.products-carousel .btitle {
    color: #666;
    font-size: 12px;
    margin-top: 22px;
    max-height: 26px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: normal;
    width: 100%;
}
.products-carousel .btitle a {
    color: #006CB5;
    display: block;
    max-height: 2.5em;
    width: 100%;
}
.products-carousel .btitle span {
    display: block;
    max-height: 34px;
    overflow: hidden;
}
.products-carousel .bauthor {
    color: #999;
    font-size: 12px;
    margin: 0;
    max-height: 1.3em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    width: 100%;

}
.products-carousel .title-author-container {
    height: 60px;
    width: 100%;
}
.products-carousel .bprice {
    font-size: 14px;
    color:#444;
    font-weight: bold;
}
.products-carousel .bpricefull {
    color: #B6B6B6;
    font-size: 1em;
    text-decoration: line-through;
}

#product-slider h2 a {
    font-size:24px;
    top:15px;
    margin-left:22px;
    position:relative;
}


.ad-widget {
    height:150px;
    float:right;
    width:720px;
    border-top: 1px solid #EEEEEE;
    margin-right:0px;
}

.ad-widget h2 {
    margin-left:26px;
    margin-top:15px;
}

.ad-widget p {
    margin-left:26px;
}

.ad-widget a {
    margin-left:26px;
    margin-top:15px;
}

#homepage .ad-widget div {
    background-position:480px center !important;
}

.purchase-options-dialog {
    z-index:10 !important;
}


#static-fps li .product-img img {
max-width:85%;
}
#static-fps .product-preview {

}
#static-fps .very-last {
    margin-bottom:60px;
}
#static-fps .very-first {
    margin-top:-5px;
}
#static-fps .preview .content .product-buttons a {
    position: relative;
    top: 20px;
}



/* fix for js content swap flicker (user states) */
.user-state{
	display:none;
}
.user-state.nsi{
	display:block;
}