.hcell {
    display:table-cell;
    border-top: 1px solid grey;
    border-bottom: 1px solid grey;    
    background-color: #ddd;
    padding: 0 20px 0 0;
}

.hrow {
	display:table-row-group;
    background-color: #ddd;
    margin: 0;
    font-weight: bold;
}


.acell {
    display:table-cell;
    border-bottom: 1px solid grey;
    padding: 0 20px 0 0;
}


.arow {
    display:table-row-group;
}

.expand {
    cursor: pointer;
    color: green;
    font-weight: bold;
}

.shrink {
    cursor: pointer;
    color: green;
}

#book_details {
	font-size: 8pt;

}

.formcell {
    display:table-cell;
    padding: 0 10px 0 0;
}


.formrow {
    display:table-row-group;
}


/************************
 * book homepage block
 ************************/
 
.book-thumb
{
	position:relative;
}

.book-thumb .desc
{
	-webkit-transition:0.3s;
	-moz-transition:0.3s;
	transition:0.3s;
}
	
.book-thumb .pic
{
	overflow:hidden;
	margin-top: 30px;
}

.book-thumb .pic img
{
	display:block;
	max-width: 100%;
	max-height: 100%;
}

.book-thumb .title
{
	padding:10px 12px;
	font-size:95%;
	line-height:130%;
	text-align:center;

	-webkit-transition:0.3s;
	-moz-transition:0.3s;
	transition:0.3s;
}

.book-thumb .link
{
	display:block;
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	
	color:#fff;
	border:6px solid rgba(255,255,255,0);
	
	-webkit-transition:0.3s;
	-moz-transition:0.3s;
	transition:0.3s;
}

.msie .book-thumb .link
{
	background-image:url(about:blank);
}


.no-touch .book-thumb:hover .link
{
	border-color:rgba(255,255,255,0.3);
}

.no-touch .book-thumb.show-hover-link .after
{
	top:40%;
}

.book-thumb .tags
{
	position:absolute;
	top:5px;
	left:12px;
	right:12px;
	text-align:center;
	font-size:80%;
}

.book-thumb .tags a
{
	position:relative;
	z-index:1;
	color:inherit;
	opacity:0.8;
}

.book-thumb:hover .title,
.book-thumb:hover .tags
{
	color:#fff;
}

/* Item */

.book-item
{
	display:table;
	width:100%;
}

.book-item .desc,
.book-item .pic
{
	display:table-cell;
	vertical-align:top;
}

.book-item .pic
{
	padding-top:16px;
}

.book-item .pic .custom-gallery
{
	margin:0;
}



/* Book Shortcode */

.book-shortcode
{
	margin-top:8px;
	margin-bottom:8px;
}

.book-shortcode .book-thumb
{
	background:rgba(0,0,0,0.03);
	-webkit-box-shadow:inset 0 0 0 1px rgba(0, 0, 0, 0.07);
	-moz-box-shadow:inset 0 0 0 1px rgba(0, 0, 0, 0.07);
	box-shadow:inset 0 0 0 1px rgba(0, 0, 0, 0.07);
}





/************************
 * bookstore block
 ************************/
 
.store-thumb
{
	position:relative;
}

.store-thumb .desc
{
	-webkit-transition:0.3s;
	-moz-transition:0.3s;
	transition:0.3s;
}
	
.store-thumb .pic
{
	overflow:hidden;
	margin-top: 10px;
}

.store-thumb .pic img
{
	display:block;
	max-width: 100%;
	max-height: 100%;
	margin-left: auto;
	margin-right: auto;
}

.store-thumb .title
{
	padding:20px 12px;
	font-size:130%;
	line-height:130%;
	text-align:center;

	-webkit-transition:0.3s;
	-moz-transition:0.3s;
	transition:0.3s;
}

.store-thumb .link
{
	display:block;
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	
	color:#fff;
	border:6px solid rgba(255,255,255,0);
	
	-webkit-transition:0.3s;
	-moz-transition:0.3s;
	transition:0.3s;
}

.msie .store-thumb .link
{
	background-image:url(about:blank);
}


.no-touch .store-thumb:hover .link
{
	border-color:rgba(255,255,255,0.3);
}

.no-touch .store-thumb.show-hover-link .after
{
	top:40%;
}

.store-thumb .tags
{
	position:absolute;
	bottom:5px;
	left:12px;
	right:12px;
	text-align:center;

}

.store-thumb .tags a
{
	position:relative;
	z-index:1;
	color:inherit;
	opacity:0.8;
}

.store-thumb:hover .title,
.store-thumb:hover .tags
{
	color:#fff;
}

/* Item */

.store-item
{
	display:table;
	width:100%;
}

.store-item .desc,
.store-item .pic
{
	display:table-cell;
	vertical-align:top;
}

.store-item .pic
{
	padding-top:16px;
}

.store-item .pic .custom-gallery
{
	margin:0;
}



/* Book Shortcode */

.store-shortcode
{
	margin-top:8px;
	margin-bottom:8px;
}

.store-shortcode .store-thumb
{
	background:rgba(0,0,0,0.03);
	-webkit-box-shadow:inset 0 0 0 1px rgba(0, 0, 0, 0.07);
	-moz-box-shadow:inset 0 0 0 1px rgba(0, 0, 0, 0.07);
	box-shadow:inset 0 0 0 1px rgba(0, 0, 0, 0.07);
}


/* ////// OVERRIDES ///// */

.homepage-blocks > .block-full > .block-inner,
.homepage-blocks > .blocks-same-height-wrapper > .blocks-same-height > .block-1 > .block-inner,
.homepage-blocks > .blocks-same-height-wrapper > .blocks-same-height > .block-2 > .block-inner,
.homepage-blocks > .blocks-same-height-wrapper > .blocks-same-height > .block-3 > .block-inner,
.homepage-blocks > .blocks-same-height-wrapper > .blocks-same-height > .block-4 > .block-inner,
.homepage-blocks > .blocks-same-height-wrapper > .blocks-same-height > .block-5 > .block-inner,
.homepage-blocks > .blocks-same-height-wrapper > .blocks-same-height > .block-6 > .block-inner,
.homepage-blocks > .blocks-same-height-wrapper > .blocks-same-height > .block-7 > .block-inner,
.homepage-blocks > .blocks-same-height-wrapper > .blocks-same-height > .block-8 > .block-inner
{
	padding-bottom:16px;
}