/* shop 메인페이지
---------------------------------------------------------------------- */
#shop-roof-deco {
	width: 1000px;
	height: 35px;
	margin-left: -20px;
	margin-bottom: -10px;
	background: url(../images/shop/header-deco.png) no-repeat center top;
	position: relative;
	z-index: 2;
}
.page-shop .entry-title {
	border: none;
	padding: 0;
	margin: 3px 0 10px 0;
}

.shop-product-list {
	position: relative;
}
.shop-product-list .hd {
	margin-top: 30px;
	padding-top: 30px;
	border-top: 1px solid #ddd;
}
.shop-product-list:first-of-type .hd {
	border-top: none;
	margin-top: 0;
}
.shop-product-list .hd .title {
	font-size: 18px;
	margin: 0;
	line-height: 24px;
}
.shop-product-list aside {
	position: absolute;
	top: 30px;
	right: 0;
	line-height: 24px;
}
.shop-product-list .paged-nav,
.shop-product-list .search-form {
	float: left;
	margin: 0 0 0 10px;
}
.shop-product-list .paged-nav .page-numbers {
	padding: 0 5px;
	line-height: 22px;
	font-size: 10px;
	border-radius: 0;
}
.shop-product-list .search-form .search-input {
	width: 100px;
	height: 24px;
	padding: 0 4px;
}
.shop-product-list .bd {
	position: relative;
}
.shop-product-list .bd .ajax-loading {
	background: url(../images/common/wpspin_light-2x.gif) no-repeat center center;
	background-color: rgba(255,255,255,.5);
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: none;
}
.shop-product-list.loading .bd .ajax-loading {
	display: block;
}
.shop-product-list .gutter {
	clear: both;
	height: 20px;
	overflow: hidden;
}
.shop-product-list .product {
	width: 150px;
	margin: 0 7px;
	float: left;
	text-align: center;
	line-height: 1.4;
}
.shop-product-list .product-thumbnail {
	display: block;
	width: 120px;
	margin: 0 auto;
}
.shop-product-list .product-thumbnail.ratio-v,
.shop-product-list .product-thumbnail.ratio-v img {
	width: 100px;
	max-height: 140px;
}
.shop-product-list .product-thumbnail img {
	width: 100%;
	height: auto;
	background: #f2f8fa url(../images/shop/default-thumb.png) no-repeat center center;
}
.msie8in .shop-product-list .product .inner-border {
	border: 1px solid #ddd;
}
.shop-product-list .product-title {
	margin: 10px 0 4px 0;
}
.shop-product-list .product-title a {
	font-size: 12px;
	color: #333;
}
.shop-product-list .product-title a:hover {
	text-decoration: underline;
}
.shop-product-list .product-sale-price b {
	color: #ff6600;
}
.shop-product-list .no-quantity {
	text-decoration: line-through;
	color: #999;
}
.shop-product-list .product-price {
	font-size: 11px;
	text-decoration: line-through;
	color: #999;
}
.shop-product-list .no-data {
	margin-top: 15px;
	font-size: 14px;
}


/* 이벤트 슬라이더 */
.shop-bundle-event-slider {
	width: 100%;
	height: 200px;
	padding: 0;
	margin: 0;
}
.shop-bundle-event-slider .np-nav {
	display: none;
}
.shop-bundle-event-slider .nav {
	text-align: right;
	bottom: auto;
	top: -30px;
} 

.shop-bundle-event-banner li{
	list-style:none;
}

/* 묶음도서 */
.shop-product-list.bookbundle .product-thumbnail i,
.shop-product-list.bookrefurbundle .product-thumbnail i {
	position: absolute;
	z-index: 1;
	height: 50px;
	width: 50px;
	top: -1px;
	left: -1px;
	background: url(../images/shop/bundle-ribon.png) no-repeat left top;
}

/* 시리즈 */
.shop-product-list.series .product-thumbnail {
	width: 150px;
}

/* 사이드바 
---------------------------------------------------------------------- */ 
body.shop #sidebar-menu {
	display: none !important;
}
#sidebar .shopbundleevent-list li {
	background: none;
	padding: 0;
}
#sidebar .shopbundleevent-list a {
	display: block;
}
#sidebar .shopbundleevent-list img {
	width: 100%;
	display: block;
}
.thembook-widget-slider {
	width: 120px;
	height: 150px;
	margin: 15px 0 0 0;
}
.thembook-widget-slider li img {
	width: 100%;
	height: auto;
	max-height: 100%;
}
.thembook-widget-slider li {
	background: none !important;
	padding: 0 !important;
}
.thembook-widget-slider li a {
	display: block;
}
.thembook-widget-slider .nav {
	text-align: left;
	left: -3px;
}
.shop-bookseries-widget h3 {
	margin: 0 !important;
}
.shop-bookseries-widget {
	margin-bottom: 10px;
}
.shop-bookseries-widget:last-child {
	margin-bottom: 0;
}

/* 구매폼
---------------------------------------------------------------------- */
.shop-buy-form { 
	line-height: 1;
	margin: 30px 0;
	position: relative;
	color: #666;
	font-size: 14px;
}
.shop-buy-form form {
	border: 1px solid #ddd;
	padding: 10px 18px;
}
.shop-buy-form a {
	color: #08c;
}
.shop-buy-form .form-title {
	position: absolute;
	left: 1.5em;
	top: -.5em;
	padding: 0 5px;
	background: white;
	color: #222;
	font-weight: bold;
	font-size: 16px;
}
.shop-buy-form .item {
	margin: 8px 0;
}
.shop-buy-form.single-form .item.no-qt {
	margin: 16px 0;
}
.shop-buy-form .quantity-wrap,
.shop-buy-form .buttons {
	margin-left: 10px;
}
.shop-buy-form .product-name {
	font-weight: bold;
	color: #333;
	margin-right: 10px;
}
.shop-buy-form .sale-price b {
	color: #ff6600;
}
.shop-buy-form .price {
	color: #999;
	text-decoration: line-through;
	font-size: 12px;
}
.shop-buy-form .price b {
	color: #999;
	font-weight: normal;
}
.shop-buy-form .no-qt .product-name {
	font-weight: normal;
}
.shop-buy-form .no-qt .price-wrap {
	text-decoration: line-through;
}
.shop-buy-form .no-qt .price-wrap * {
	color: #999;
	font-weight: normal;
}
.shop-buy-form .result {
	font-size: 16px;
	line-height: 30px;
	border-top: 1px dotted #ccc;
	padding-top: 10px;
	margin-top: 10px;
	color: #222;
}
.shop-buy-form .result .submit {
	float: right;
}
.shop-buy-form .result .button-submit {
	font-size: 14px;
	padding: 0 20px;
	height: 30px;
}
.shop-buy-form .result .button-submit[disabled=disabled] {
	background: #ccc !important;
	border-color: #ccc !important;
	box-shadow: none !important;
	cursor: default;
}

.shop-buy-form .bundle-list {
	border-bottom: 1px dotted #ccc;
	padding: 0 0 5px 0;
	margin: 0 0 10px 0;
}
.shop-buy-form .bundle-list h3 {
	font-size: 16px;
	margin: 0 0 10px 0;
}
.shop-buy-form .bundle-list ol {
	list-style: decimal inside !important;
	margin: 0 !important;
	padding: 0 !important;
}
.shop-buy-form .bundle-list li {
	margin: 10px 0;
}

.shop-buy-form.multi-form .bundle-list {
	display: none;
}

/* 싱글 포스트에서 구매폼 */
.shop-single .shop-buy-form {
	margin: 3em 0 0 0;
}
.shop-single .shop-buy-form .product-name {
	display: none !important;
}

/* 도서 임베드에서 구매폼 */
.book-embed .book-buy {
	position: relative;
	margin-bottom: 4px;
}
.book-embed .book-buy .shop-buy-form {
	margin: 0;
	font-size: 12px;
}
.book-embed .book-buy .shop-buy-form form {
	border: none;
	padding: 0;
}
.book-embed .book-buy .shop-buy-form .item {
	margin: 0;
}
.book-embed .book-buy .buy-button {
	padding: 4px 6px;
	font-size: 11px;
}
.book-embed .book-buy .buy-balloon {
	position: absolute;
	right: 0;
	top: 19px;
	border: 1px solid #ccc;
	padding: 10px 12px;
	background: white;
	box-shadow: 0 1px 4px rgba(0,0,0,.1);
	display: none;
	z-index: 1;
}
.book-embed.buy-selected {
	z-index: 50;
}
.book-embed.buy-selected .book-aside {
	width: 100%;
}
.book-embed.buy-selected .book-buy.selected {
	z-index: 2;
}
.book-embed.buy-selected .book-buy.selected .buy-balloon {
	display: block !important;
}
.book-embed.buy-selected .book-buy.selected .buy-button {
	border-color: #ccc;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	border-bottom: none;
	box-shadow: none;
	background: white;
	z-index: 2;
}
.book-embed .book-buy .form-title,
.book-embed .product-name {
	display: none;
}

/* 도서 상세에서 구매폼 */
#single-book .shop-buy-form {
	margin: 20px 0;
	font-size: 12px;
}
#single-book .shop-buy-form form {
	border-width: 1px 0 0 0;
	padding: 5px 0;
}
#single-book .shop-buy-form .form-title {
	font-size: 14px;
	padding: 0 5px 0 0;
	left: 0;
}
#single-book .shop-buy-form .product-name {
	display: none;
}

/* 도서 시리즈에서 구매폼 */
.book-series-embed .shop-buy-form {
	display: none;
	font-size: 12px;
	margin: 0;
}
.book-series-embed .shop-buy-form form {
	padding: 10px;
}
.book-series-embed .shop-buy-form .item {
	margin: 4px 0;
}
.book-series-embed .shop-buy-form .items {
	max-height: 300px;
	overflow: auto;
}
.book-series-embed .shop-buy-form.open {
	display: block;
}
.book-series-embed .bookseries-actions .button {
	vertical-align: top;
}
.book-series-embed .buy-series-button {
	visibility: hidden;
}
.book-series-embed .buy-series-button.js-ready {
	visibility: visible;
}
.book-series-embed .buy-series-button.open {
	padding-bottom: 12px !important;
	margin-bottom: -1px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	border-color: #ccc !important;
	border-bottom: none;
	background: white;
	box-shadow: none;
	z-index: 1;
}

/* 상품 싱글
---------------------------------------------------------------------- */
.shop-single article .singular-utils,
.shop-single article .addthis_toolbox,
.shop-single article .post-nav,
.shop-single article .entry-meta {
	display: none;
}
.shop-single article .entry-title {
	font-size: 2em;
	margin-bottom: 15px;
}



/* 결제 히스토리
---------------------------------------------------------------------- */
#shop-pay-history th,
#shop-pay-history td {
	text-align: left;
	vertical-align: top;
	line-height: 1.5;
}
#shop-pay-history .pay-name {
	font-size: 14px;
	font-weight: bold;
	color: #333;
}
#shop-pay-history .product {
	margin-top: 5px;
}
#shop-pay-history .product-thumbnail {
	width: 50px;
	min-height: 50px;
	background: #f5f5f5;
	float: left;
	margin-right: 10px;
}
#shop-pay-history .button {
	margin-top: 3px;
}
#shop-pay-history .pay-info {
	width: 250px;
}
#shop-pay-history a.more {
	color: #08c;
	margin-top: 5px;
	display: inline-block;
}
#shop-pay-history a.more * {
	font-style: normal;
}
#shop-pay-history a.more em,
#shop-pay-history a.more.selected i {
	display: none;
}
#shop-pay-history a.more.selected em {
	display: inline;
}

/* 결제. 기본 스타일은 css/style.css .xpay-form으로 검색.
---------------------------------------------------------------------- */
.pay-result .data-table th {
	width: 120px;
}

/* 장바구니
---------------------------------------------------------------------- */
#shop-cart-form .thumbnail-col,
#shop-cart-form .thumbnail {
	width: 50px;
}
#shop-cart-form .price-col,
#shop-cart-form .sale_price-col,
#shop-cart-form .quantity-col,
#shop-cart-form .amount-col {
	width: 60px;
	padding-left: 0;
	padding-right: 0;
}
#shop-cart-form .title-col {
	text-align: left;
}
#shop-cart-form .actions-col {
	width: 40px;
}
#shop-cart-form select.quantity {
	width: 46px;
}
#shop-cart-form .actions-col a {
	display: block;
	margin: 2px 0;
}
#shop-cart-form .result {
	font-size: 16px;
	border: 1px solid #90cf58;
	background: #e6ffc9;
	padding: 12px 18px;
	margin-bottom: 10px;
}
#shop-cart-form .result .operator {
	font-weight: bold;
	margin: 0 4px;
} 
#shop-cart-form .result .button-submit {
	float: right;
	font-size: 14px;
	margin: -2px -6px 0 0;
}