.shop_button {
	display: block;
	padding: 6px 16px;
	color: #fff;
	border-radius: 10px;
	text-align: center;
	text-decoration: none;
	font: 700 14px Verdana, Arial, sans-serif;
	border: none;
	cursor: pointer;
	background: #6d9364; /* Old browsers */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#57cc57), color-stop(100%,#1d7a03)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #57cc57 0%,#1d7a03 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #57cc57 0%,#1d7a03 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #57cc57 0%,#1d7a03 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #57cc57 0%,#1d7a03 100%); /* W3C */
}
.shop_button:hover {
	background: #62e562; /* Old browsers */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#62e562), color-stop(100%,#1c8904)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #62e562 0%,#1c8904 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #62e562 0%,#1c8904 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #62e562 0%,#1c8904 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #62e562 0%,#1c8904 100%); /* W3C */
}
ul.actions li .shop_button {
	padding: 10px 20px;
}
ul.justified,
ul.actions {
	padding: 4px 0 0;
	margin: 0;
	list-style: none;
	text-align: justify;	
	line-height: 0;
	font-size: 1px;
	text-justify: newspaper;
	zoom: 1;
	text-align-last: justify;
}
ul.justified:after,
ul.actions:after {
	width: 100%;
	height: 0px;
	visibility: hidden;
	overflow: hidden;
	content: '';
	display: inline-block;
}
ul.justified li,
ul.actions li {
	display: inline-block;
	line-height: 16px;
	text-align: center;
	vertical-align: top;
	/* IE */
	//display: inline;
	//zoom: 1;
}
ul.actions {
	border-top: 1px solid #eee;
	margin: 10px 0 0;
	padding: 10px 0 0;
}
ul.justified li span {
	font-size: 11px;
}

.float-left {
	float: left;
}
.float-right {
	float: right;
}
.align_center {
	text-align: center;
}
.align_right {
	text-align: right;
}
.auto_width {
	width: auto !important;
}
.green {
	color: #47ae09 !important;
}
.red {
	color: #e01d07 !important;
}
.bold {
	font-weight: 700 !important;
}

button[disabled="disabled"],
button[disabled="disabled"]:hover {
	background: #939594;
	color: #ccc;
}
input[disabled="disabled"] {
	background: #efefef;
}
.shop_container #gallery .portfolio-item {
	display: block;
	position: relative;
	padding: 1px 4px 21px 4px;
	background: #efefef;
	border: 1px solid #ddd;
}
.shop_container #gallery .portfolio-item.no_link {
	padding: 1px 4px 4px 4px;
}
.shop_container #gallery {
	width: 930px;
}
.shop_container #gallery a img {
	width: 195px;
	height: 130px;
}
.shop_container #gallery img.wait {
	width: auto;
	height: auto;
}
.shop_container input {
	width: auto;
	height: auto;
	padding: 1px;
}
.shop_container table {
	width: 100%;
}
.shop_container table td {
	vertical-align: top;
}
.shop_container h1,
.shop_container h2,
.shop_container h3,
.shop_container h4,
.shop_container h5 {
	margin: 0 0 10px 0;
}
.order_details input[type="text"] {
	width: 87%;
}
.shop_container a {
	cursor: pointer;
}
.shop_container .check {
	display: inline-block;
	font-weight: bold;
	font-size: 10px;
	line-height: 14px;
	text-indent: -8px;
	color: #069c00;
	width: 16px;
	height: 14px;
	margin: 0;
	background: url(../images/check.png) no-repeat 0 100%;
}

a.choose_ketubah {
	position: absolute;
	bottom: 0;
	left: 4px;
}
img.single_ketubah {
	padding: 4px;
	border: 1px solid #ccc;
	max-width: 300px;
}

.shop_container .steps a {
	border-right: 2px solid #ddd;
	width: 148px;
}

/* the overlayed element */
.simple_overlay {
	display:none;
	z-index:10000;
   background-color:#d9d9d9;
	width:600px;
	min-height:200px;
	padding: 10px;
	border:1px solid #999;
	-moz-box-shadow:0 0 90px 5px #888;
	-webkit-box-shadow: 0 0 90px #888;
	box-shadow: 0 0 5px #888;
	top: 60%;
}
.simple_overlay .content {
	height: 400px;
	overflow-y: auto;
} 

/* close button positioned on upper right corner */
.simple_overlay .close:after {
	content: 'X';
}
.simple_overlay .close {
	background: #efefef;
	color: #ff0000;
	border: 1px solid #dfdfdf;
	padding: 2px 4px;
	border-radius: 6px;
	text-decoration: none;
	position:absolute;
	right:-8px;
	top:-10px;
	cursor:pointer;
}

.ketubah_fonts img {
	margin-bottom: -15px;
}
.ketubah_fonts input[type="radio"] {
	padding: 6px;
}
.ketubah_texts .simple_overlay ul.justified {
	margin-top: 7px;
}
.ketubah_texts .simple_overlay .done,
a.ketubah_text {
	font-size: 11px;
	padding: 2px 4px;
	background: #e6e6e6;
	border: 1px solid #ccc;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.ketubah_texts table,
.ketubah_texts td {
	border: none;
}
.ketubah_texts td {
	width: 30%;
}
.ketubah_texts td:hover {
	background: none;
}
#portfolio-categories h6 {
	margin-bottom: 8px;
}
#portfolio-categories ul li {
	padding-right: 21px;
	text-transform: none;
	line-height: 23px;
}
#portfolio-categories ul li.selected a {
	text-decoration: underline;
}

.step_six .summary {
	width: 75%;
	margin: 0 auto;
	border: none;
}
.step_six .summary td {
	border: none;
	border-bottom: 1px solid #ccc;
	padding: 6px 2px;
}
.step_six .summary td:nth-child(2) {
	text-align: right;
}
.step_six .summary tr:hover > td {
	background: #ededed;
}
.step_six .summary tr.last_tr td {
	border-bottom: none;
}
.step_six .summary ul {
	margin: 0;
	padding: 0;
	list-style-position: inside;
}
.step_six .summary ul li {
	padding: 4px 0;
	
}
.overlay_form form p {
	width: 350px;
}
.overlay_form form input[type=text],
.overlay_form form textarea {
	width: 340px;
	padding: 5px !important;
}

.extra_row {
	padding: 12px 6px;
}
.choose_extra {
	width: 22px !important;
	height: 22px !important;
	padding: 3px !important;
}

.handmade_gallery .portfolio-item {
	margin-right: 10px;
}
.handmade_gallery #gallery {
	width: 100%;
}
.handmade_gallery #gallery a img {
	width: 205px;
	height: 160px;
}

/* Shop buttons */

.shop_btn {
	display: block;
	font-size: 0;
	overflow: hidden;
	border: none;
	text-indent: -9999px;
	background-color: transparent;
	cursor: pointer;
}
.shop_btn:before {
	content: "";
	display: block;
	width: 0;
	height: 100%;
}

.back {
	width: 125px;
	height: 50px;
	background: url(../images/shop/back.jpg) no-repeat center;
}
.back:hover {
	width: 125px;
	height: 50px;
	background: url(../images/shop/back_hover.jpg) no-repeat center;
}
.buyartwithnotext {
	width: 200px;
	height: 50px;
	background: url(../images/shop/buyartwithnotext.jpg) no-repeat center;
}
.buyartwithnotext:hover {
	width: 200px;
	height: 50px;
	background: url(../images/shop/buyartwithnotext_hover.jpg) no-repeat center;
}
.chooseanotherketubah {
	width: 200px;
	height: 50px;
	background: url(../images/shop/chooseanotherketubah.jpg) no-repeat center;
}
.chooseanotherketubah:hover {
	width: 200px;
	height: 50px;
	background: url(../images/shop/chooseanotherketubah_hover.jpg) no-repeat center;
}
.contactartketubah {
	width: 200px;
	height: 50px;
	background: url(../images/shop/contactartketubah.jpg) no-repeat center;
}
.contactartketubah:hover {
	width: 200px;
	height: 50px;
	background: url(../images/shop/contactartketubah_hover.jpg) no-repeat center;
}
.emailform {
	width: 200px;
	height: 50px;
	background: url(../images/shop/emailform.jpg) no-repeat center;
}
.emailform:hover {
	width: 200px;
	height: 50px;
	background: url(../images/shop/emailform_hover.jpg) no-repeat center;
}
.next {
	width: 125px;
	height: 50px;
	background: url(../images/shop/next.jpg) no-repeat center;
}
.next:hover {
	width: 125px;
	height: 50px;
	background: url(../images/shop/next_hover.jpg) no-repeat center;
}
.submit {
	width: 125px;
	height: 50px;
	background: url(../images/shop/submit.jpg) no-repeat center;
}
.submit:hover {
	background: url(../images/shop/submit_hover.jpg) no-repeat center;
}
.viewextras {
	width: 200px;
	height: 50px;
	background: url(../images/shop/viewextras.jpg) no-repeat center;
}
.viewextras:hover {
	width: 200px;
	height: 50px;
	background: url(../images/shop/viewextras_hover.jpg) no-repeat center;
}
.wanttobuytheextra {
	width: 200px;
	height: 50px;
	background: url(../images/shop/wanttobuytheextra.jpg) no-repeat center;
}
.wanttobuytheextra:hover {
	width: 200px;
	height: 50px;
	background: url(../images/shop/wanttobuytheextra_hover.jpg) no-repeat center;
}
.wanttobuytheseextras {
	width: 200px;
	height: 50px;
	background: url(../images/shop/wanttobuytheseextras.jpg) no-repeat center;
}
.wanttobuytheseextras:hover {
	width: 200px;
	height: 50px;
	background: url(../images/shop/wanttobuytheseextras_hover.jpg) no-repeat center;
}
