#preview_button_tofirst,
#preview_button_back,
#preview_button_next,
#preview_button_tolast,
#preview_button_close,
#preview_select,
.preview-button,
.preview-select,
#design_page_select,
.preview-button-close{
	border-radius: 5px;
	box-shadow: black 1px 1px 5px;
}

#preview_button_close{
	width: 70px;
}

#preview_button_tofirst:hover,
#preview_button_back:hover,
#preview_button_next:hover,
#preview_button_tolast:hover,
#preview_button_close:hover,
#preview_select:hover,
.preview-button:hover,
.preview-select:hover,
#design_page_select:hover,
.preview-button-close:hover{
	border-radius: 5px;
	box-shadow: black 1px 1px 5px;
	background: #FBCF7D;
}

#preview_button_tofirst:active,
#preview_button_back:active,
#preview_button_next:active,
#preview_button_tolast:active,
#preview_button_close:active,
#preview_select:active,
.preview-button:active,
.preview-select:active,
#design_page_select:active,
.preview-button-close:active{
	border-radius: 5px;
	box-shadow: black 1px 1px 5px;
	background: #FBCF7D;
	transform: scale(0.95);
}


#overlay-new
{
		position: fixed;
    padding: 0;
    margin: 0;

    width: 100%;
    height: 100%;

    z-index: 1101;

    background: rgba(0,0,0,0.5);
}

/* ... */

.layout-table td.content_top {
	max-width: 660px;
	min-width: 320px; /* not really... */
	padding: 20px;
}
.layout-table td#content_sidebar_top {
	padding: 20px 20px 0 0;
	min-width: 200px;
	max-width: 200px;
	height: 88px;
	vertical-align: bottom;
}
.layout-table td#content_sidebar {
	padding: 20px 30px 30px 0;
	max-width: 200px;
	font-size: 12px;
	font-size: 16px;
	vertical-align: top;
}

.layout-table td#content_sidebar_top a { color: #666; }
.layout-table td#content_sidebar_top img {
	border: 0;
	float: left;
	margin-right: 10px;
}

.cover_thumbnail {
	box-shadow: 0 0 10px darkgray;
	margin-left: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
	max-width: 200px;
}

#second_half_off_div {
	background: yellow;
	border: 1px solid brown;
	padding: 10px;
	margin-right: 20px;
	border-radius: 5px;
	width: 250px;
}

/****** PREVIEW ******/

#preview_area { text-align: center; }
#preview {
	display: none;
	position: fixed;
	z-index: 1110;
}
#preview_cover_div {
	position: absolute;
	top: 1px;
	border-width: 0 1px;
	border-style: solid;
}
/* This is the blank page next to the first */
#preview_1 {
	display: none;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

#preview_title_div { background: #fff; }

#preview_cover_spine {
	position: absolute;
	z-index: 1;
	border: 0;
	top: 1px;
	left: 0;
	display: block;
}

#preview_buttons {
	text-align: center;
	margin-top: 20px;
}

#preview_select { 
	width: 300px; 
	margin-left: 5px;	
}
#preview_button_order { width: 120px; }

.preview_button {
	margin: 0;
	padding: 0;
	width: 50px;
}

/* This holds two pages together */
.preview_container {
	position: relative;
	display: none;
	margin-left: auto;
	margin-right: auto;
}

.preview_page {
	position: absolute;
	display: block;
	left: 0;
	top: 0;
	border: 1px solid black;
}

.blank_page {
	border: 1px solid #000;
	background-color: #fff;
}

/* This is the container of 2 pages */
.preview_pages {
	display: none;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

#preview_btn {
	display: block;
	text-align: center;
	width: 100%;
	font-size: 22px;
	margin-top: 5px;
}

#publish_book_img {
	width: 500px;
	margin-top: 50px;
}

/**
 * This is for the Cloud Zoom jQuery plugin we use for previews
*/

/* This is the moving lens square underneath the mouse pointer. */
.cloud-zoom-lens {
/*	border: 1px solid #000;
	margin:-1px;	*//* Set this to minus the border thickness. */
	background-color:#fff;
	cursor:move;
}

/* This is the zoom window. */
.cloud-zoom-big {
/*	border:1px solid #000; */
	overflow:hidden;
}

/* This is the loading message. */
.cloud-zoom-loading {
	visibility: hidden;
	color:white;
	background:#222;
/*	padding:3px;
	border:1px solid #000; */
}

/****** END PREVIEW ******/

/******* ORDER *******/

.bigblob {
	position: fixed;
	width: 640px;
	height: 600px;
	padding: 0;
	
	top: 50%;
	left: 50%;

	margin-top: -300px;
	margin-left: -350px;
	background: linear-gradient(#c7c7c7 0%, #dfdfdf 100%);
	background: -moz-linear-gradient(#c7c7c7 0%, #dfdfdf 100%);
    background: -webkit-linear-gradient(#c7c7c7 0%, #dfdfdf 100%);
	background-repeat: no-repeat;
	text-align: left;
	overflow: auto;
}

.blob_inner {
	margin: 20px;
	text-align: left;
}

#pub_order_button {
	padding: 5px;
	margin: 0 auto;
	width: 240px;
	height: 40px;
	cursor: pointer;
	font-size: 28px;
}

#publish_helpbox {
	padding: 10px;
	background: #D9534F;
	color: white;
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 9999999;
}

#order * {
	font-size: 12px;
	font-family: Arial, sans-serif;
}

#order .row {
	margin-bottom: 8px;
}

.red { color: red; }

#order {
	display: none;
	width: 700px;
	height: 600px;
}

.first-row {
	margin: 10px 0;
	text-align: center;
}

#order input[type="text"] {
    width: 100%;
    border: 0;
    padding: 3px 5px;
}

#order_quantity {
	width: 30px !important;
}

#order, #samport {
	z-index: 5001;
	border-radius: 5px;
}

#order span.field {
	padding: 2px 5px;
	background-color: yellow;
	border: 1px solid gray;
}

#order_address_container {
	width: 540px;
	height: 500px;
	margin: 40px auto 0 auto;
}
#order_address_table tr {

}
#order_address_table {
	background: #fff;
	width: 100%;
	border: 1px solid #000;
	padding: 10px;
}
#order_address_text {
	background: #fff;
	padding: 10px;
	border: 2px solid #000;
	border-radius: 3px;
}
#order_state_div {
	display: none;
}
#order_country_div {
	display: none;
}

#order_country_other, #order_state { width: 150px; }
#order_zip { width: 70px; }
#span_house_nbr, #hausnummer_row,
#order_terms_de_span { display: none; }
#order_house_nbr {
	display: none;
	width: 30px !important;
}
.order_input_td { padding: 5px 0; }
.p5 { padding: 5px; }
#order_pay_free_wrap {
	display: none;
}
#order_terms { margin-right: 5px; }
#order_cover_img {
	padding: 0;
	margin: 0 10px 10px 0;
	border: 1px solid black;
	float: left;
	max-height: 200px;
	max-width: 280px;
}
.book_info_row {
	clear: left;
	margin-top: 8px;
}
#pnum_div {
	display: none;
}
#order_pnum {
	border: 1px solid green;
	box-shadow: 0 0 5px 0 green;
	width: 150px;
	color: gray;
	float: left;
	margin-right: 5px;
}
#pnum_gender { display: none; width: 100%; margin-top: 8px;}

#pnum_btn { margin-left: 0 !important; margin-top: 8px;}
#samport_iframe {
	width: 600px;
	height: 530px;
	overflow: auto;
}
/* the following is for order_approve & et al */
body.order_confirm {
	font-size: 10px;
	background: transparent url('https://static1.solentro.com/production_bg.jpg') fixed -20px -20px;
	height: 100%;
	width: 580px;
}
body.order_confirm .box {
	background-color: #fff;
	border: 1px solid black;
	padding: 5px;
	text-align: left;
	margin-bottom: 20px;
}
body.order_confirm th {
	background-color: #CCCCCC;
	border-bottom: 1px solid black;
}
body.order_confirm .total {
	font-size: 13px;
	font-weight: bold;
}
body.order_confirm input { margin: 20px; }
body.order_confirm h1 {
	font-size: 24px;
	font-weight: bold;
}

.navbar-desktop{
	top: -10px;
}

/******* END ORDER *******/

@media (min-width: 768px) and (max-width: 991px)
{
	.layout-table td#content_sidebar_top 
	{
		display: none;
	}
}

@media (max-width:768px) 
{
	#order {
		position: absolute;
		top:0;
		left:0;
		width: 100%;
		height: auto;
		margin: 0;
		overflow: auto;
		padding: 10px;
	}
	
	#samport {
		position: absolute;
		top:0;
		left:0;
		width: 100%;
		height:auto;
		margin: 0;
		overflow: auto;
	}

	#pub_order_button {
		font-size: 20px;
    	width: auto;
	}
}

#preview_btn.mobile-preview
{
	display: none;
}

@media (max-width: 1099px)
{
	#preview_btn.mobile-preview
	{
		display: block;
	}
	.mobile-preview-warning {
		width: 98vW;
		background-color: #f4dba3;
		text-align: center;
		position: fixed;
		z-index: 1999999;
		padding: 30px;
		left: 1vw;
		top: 50vw;
	}
	.mobile-preview-warning img {
	    width: auto;
    	height: 200px;
	}
	.mobile-preview-warning p {
		margin-top: 20px;
		font-size: 25px;
	}
}
@media (max-width: 1099px) and (orientation: landscape) {
	.mobile-preview-warning {
	  	display: none;
	}
}

.shop-search-container {
	position: absolute;
	right: 50px;
}
@media only screen and (max-width: 720px) {
	.shop-search-container {
		margin-left: 55px;
		display: flex;
		position: relative;
		width: 100%;
	}
}
.shell{
	padding:10px 0;
}
.wsk-cp-product{
	background:#fff;
	padding:15px;
	border-radius:6px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	position:relative;
	margin:20px auto;
}
.wsk-cp-img{
	position:absolute;
	top:5px;
	left:50%;
	transform:translate(-50%);
	-webkit-transform:translate(-50%);
	-ms-transform:translate(-50%);
	-moz-transform:translate(-50%);
	-o-transform:translate(-50%);
	-khtml-transform:translate(-50%);
	width: 100%;
	padding: 15px;
	transition: all 0.2s ease-in-out;
	}
.wsk-cp-img img{
	max-height: 335px;
	width:100%;
	transition: all 0.2s ease-in-out;
	border-radius:6px;
}
.wsk-cp-product:hover .wsk-cp-img{
	top:-10px;
}
.wsk-cp-product:hover .wsk-cp-img img{
	box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}
.wsk-cp-text{
	padding-top:150%;
}
.wsk-cp-text .category{
	text-align:center;
	font-size:12px;
	font-weight:bold;
	padding:5px;
	margin-bottom:45px;
	position:relative;
	transition: all 0.2s ease-in-out;
}
.wsk-cp-text .category > *{
	position:absolute;
	top:50%;
	left:50%;
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	-khtml-transform: translate(-50%,-50%);
	
}
.wsk-cp-text .category > span{
	padding: 12px 30px;
	border: 1px solid #313131;
	background:#212121;
	color:#fff;
	box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
	border-radius:27px;
	transition: all 0.05s ease-in-out;

}
.wsk-cp-product:hover .wsk-cp-text .category > span{
	border-color:#ddd;
	box-shadow: none;
	padding: 11px 28px;
}
.wsk-cp-product:hover .wsk-cp-text .category{
	margin-top: 0px;
}
.wsk-cp-text .title-product{
	text-align:center;
}
.wsk-cp-text .title-product h5{
	white-space: nowrap;
	text-overflow: ellipsis;
    overflow-x: clip;
}
.wsk-cp-text .title-product h3{
	font-size:20px;
	font-weight:bold;
	margin:15px auto;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	width:100%;
}
.wsk-cp-text .description-prod p{
	margin:0;
}
/* Truncate */
.wsk-cp-text .description-prod {
	text-align:center;
	width: 100%;
	height: 76px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	margin-bottom:15px;
}
.card-footer{
	padding: 25px 0 5px;
	border-top: 1px solid #ddd;
}
.card-footer:after, .card-footer:before{
	content:'';
	display:table;
}
.card-footer:after{
	clear:both;
}

.card-footer .wcf-left{
	float:left;

}

.card-footer .wcf-right{
	float:right;
}

.price{
	font-size:18px;
	font-weight:bold;
}

a.buy-btn{
	display:block;
	color:#212121;
	text-align:center;
	font-size: 18px;
	width:35px;
	height:35px;
	line-height:35px;
	border-radius:50%;
	border:1px solid #212121;
	transition: all 0.2s ease-in-out;
}
a.buy-btn:hover , a.buy-btn:active, a.buy-btn:focus{
	border-color: #FF9800;
	background: #FF9800;
	color: #fff;
	text-decoration:none;
}
.wsk-btn{
	display:inline-block;
	color:#212121;
	text-align:center;
	font-size: 18px;
	transition: all 0.2s ease-in-out;
	border-color: #FF9800;
	background: #FF9800;
	padding:12px 30px;
	border-radius:27px;
	margin: 0 5px;
}
.wsk-btn:hover, .wsk-btn:focus, .wsk-btn:active{
	text-decoration:none;
	color:#fff;
}  
.red{
	color:#F44336;
	font-size:22px;
	display:inline-block;
	margin: 0 5px;
}
@media screen and (max-width: 991px) {
	.wsk-cp-product{
		margin:40px auto;
	}
	.wsk-cp-product .wsk-cp-img img{
		box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
	}
	.wsk-cp-product .wsk-cp-text .category > span{
		border-color:#ddd;
		box-shadow: none;
		padding: 11px 28px;
	}
	.wsk-cp-product .wsk-cp-text .category{
		margin-top: 0px;
	}
	/* a.buy-btn{
		border-color: #FF9800;
		background: #FF9800;
		color: #fff;
	} */
}
	