/**
* My Account
*/
.jrMyAccount .jrListingThumbnail img {
	border: 1px solid #ccc !important;
	margin-right: 5px;
	width: 45px !important;
	height: auto !important;
}
.jrMyAccount .jrTabs.ui-tabs .ui-tabs-panel {
	font-size: 0.9em;
	padding: 10px 16px;
}
.jrMyAccount .jrDataList {
	margin-bottom: 30px;
}
.jrMyAccount .jrListingThumbnail {
	float: left;
	margin-right: 5px;
}
.jrMyAccount .jrAccountDetails,
.jrMyAccount .jrAccountDetails fieldset {
	margin: 0;
}

.jrMyAccount .jrCancelSubscription:not(.jrButton) {
	padding:3px 0;
}
.jrMyAccount .jrCancelSubscription.success {
	color:blue;
}
.jrMyAccount .jrCancelSubscription.failure {
	color:red;
}
.jrMyAccount .jrPaymentStatus {
	text-align:center;
	margin:0.5em -6px -6px;

	background-color:rgb(233, 233, 233);
}
.jrMyAccount .jrPaymentStatus.failure {
	background-color:#ffcccc;
}
.jrMyAccountPayments .jrNoPayment {
	margin:1em 0;
	text-align:center;
}
.jrMyAccountPayments .paymentCardEdit {
	display:block !important;
}
.jrMyAccountPayments .jrDataListHeader {
	font-weight:bold;
	margin-bottom:0.5em;
}

.jrAccountTabs .jrDataList > .jrGrid:not(.jrDataListHeader) {
	padding: 10px 0;
}

.jrAccountTabs .jrStatusIndicators span {
	font-size: 9px;
	padding: 2px 4px;
	margin-left: 5px;
}

.jrMyAccountListings .jrPlanType {
	font-weight: bold;
	margin-bottom: 2px;
}
.jrMyAccountListings .jrPlanInfo {
	margin: 3px 0 3px 5px;
}

/**
* ORDER FORM
*/

.jrPaidOrderFormInner {
	min-height:290px;
	padding:0;
}
.jrPaidOrderFormInner .jrDataList > .jrGrid {
	border: 0;
}
.jrPaidOrderFormInner .jrDataList > * {
	padding: 2px 5px;
}
.jrPaidStep {
	width: 100%;
}
.jrPaidHandler label {
	display: inline;
}
.jrPaidCoupon {
	margin: 10px 0;
}
.jrPaidOrderButtons {
	margin-top: 10px;
}
.jrPaidCouponError,
.jrPaidCouponSuccess {
	margin: 10px 0;
	text-align: right;
}
.jrPaidTos {
	margin-top: 10px;
}
.jrPaidTosText {
	border: 1px solid #ccc;
	padding: 8px 0 8px 8px;
	background-color: #fff;
	display: block;
	overflow-y: auto;
	overflow-x: hidden;
	height: 5em;
	width: 100%;
	font-size: 11px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
div.jrPaidTosAgreement {
	margin: 20px 5px 0 0;
}
div.jrPaidTosAgreement a {
	text-decoration: underline;
}
div.jrPaidTosAgreement span {
	font-weight: bold;
}
#handler_payment_form {
	border-top:1px solid #ddd;
	margin-top:10px;
	padding-top:10px;
}

/**
 * New listing page
 */
.jrListingCreate .jrPlanName {
   font-weight: bold;
   display: block;
}
.jrListingCreate .jrPlanDuration {
   display: block;
}

/**
* PaidPlans page
*/
.jrNewPlans {
	margin: 0 auto 20px auto;
	overflow: hidden;
}
.jrNewPlans.jrPlanCols1 {
	max-width: 280px;
}
.jrNewPlans.jrPlanCols2 {
	max-width: 520px;
}
.jrNewPlans .jrPlanInfo {
	position: relative;
	padding: 5px !important;
	float: left;
	text-align: center;
	width: 100%;
	margin: 0 1.428571429% 10px 0;
	max-width: 280px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
    -moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.jrNewPlans.jrPlanCols4 .jrPlanInfo {
	width: 23.64285714%;
}
.jrNewPlans.jrPlanCols3 .jrPlanInfo {
	width: 32.0952381%;
}
.jrNewPlans.jrPlanCols2 .jrPlanInfo {
	width: 48.72857143%;
}
.jrNewPlans.jrPlanCols4 .jrPlanInfo:nth-child(4n),
.jrNewPlans.jrPlanCols3 .jrPlanInfo:nth-child(3n),
.jrNewPlans.jrPlanCols2 .jrPlanInfo:nth-child(2n),
.jrNewPlans.jrPlanCols1 .jrPlanInfo {
	margin-right: 0px !important;
}

@media (max-width: 768px) {

	.jrNewPlans {
		max-width: 560px;
	}

	.jrNewPlans.jrPlanCols4 .jrPlanInfo {
		width: 48.72857143%;
	}

	.jrNewPlans.jrPlanCols4 .jrPlanInfo:nth-child(2n) {
		margin-right: 0px !important;
	}

}

@media (max-width: 480px) {

	.jrNewPlans {
		max-width: 280px !important;
	}

	.jrNewPlans.jrPlanCols4 .jrPlanInfo,
	.jrNewPlans.jrPlanCols3 .jrPlanInfo,
	.jrNewPlans.jrPlanCols2 .jrPlanInfo {
		width: 100% !important;
	}

	.jrNewPlans .jrPlanInfo {
		margin-right: 0px !important;
	}

}

.jrNewPlans .jrPlanInfo.jrHighlightedPlan {
	border: 1px solid #e5b100;
	background-color: #FFE27F;
	background-image: -moz-linear-gradient(top, #FFE27F, #ffdc65);
	background-image: -ms-linear-gradient(top, #FFE27F, #ffdc65);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#FFE27F), to(#ffdc65));
	background-image: -webkit-linear-gradient(top, #FFE27F, #ffdc65);
	background-image: -o-linear-gradient(top, #FFE27F, #ffdc65);
	background-image: linear-gradient(top, #FFE27F, #ffdc65);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFE27F', endColorstr='#ffdc65', GradientType=0);
}
.jrNewPlans .jrPlanName {
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 5px;
}
.jrNewPlans .jrPlanDuration {
	font-size: 12px;
	display: block;
	text-align: center;
}
.jrNewPlans .jrPlanPrice {
	color: #000;
	font-size: 25px;
	margin: 10px 0 10px 0;
	display: block;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	padding: 10px;
	background: #eee;
}
.jrNewPlans .jrPlanInfo.jrHighlightedPlan .jrPlanPrice {
	border-top: 1px solid #e5b100;
	border-bottom: 1px solid #e5b100;
	background: #ffd64c;
}
.jrNewPlans .jrPlanDesc {
	overflow: hidden;
	margin-bottom: 10px;
}
.jrNewPlans .jrSubscription {
	background: url(images/subscription.png) 0 0 no-repeat;
	display: inline-block;
	position: relative;
	top: 2px;
	width: 14px;
	height: 14px;
	margin-left: 5px;
}

.jrUpgradePlans {
	margin-bottom: 20px;
}

.jrUpgradePlans .jrPlanName {
	font-weight: bold;
	font-size: 14px;
}
.jrUpgradePlans .jrPlanDesc {
	font-style: italic;
	color: #777;
}

/**
* Invoice
*/
#jrInvoicePage {
	width: 800px;
	margin: 0 auto;
	line-height: 1.4;
	font-size: 14px;
}
#jrInvoicePage * {
	-webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
#jrHeader {
	background: #222 none repeat scroll 0 0;
	color: #fff;
	font-family: Helvetica, sans-serif;
	font-size: 15px;
	font-weight: bold;
	height: 15px;
	letter-spacing: 20px;
	line-height: normal;
	margin: 20px 0;
	padding: 8px 0;
	text-align: center;
	width: 100%;
	text-transform: uppercase;
}
#jrFooter {
	margin: 20px 0 0;
	text-align: center;
}
/* Seller */
#jrSeller {
	width: 100%;
}
#jrSellerInfo {
	float: left;
	height: 150px;
}
#jrSeller #jrLogo {
	border: 1px solid #fff;
	float: right;
	max-height: 100px;
	max-width: 540px;
	overflow: hidden;
	position: relative;
	text-align: right;
}
/* Customer */
#jrCustomer {
	width: 100%;
	clear: both;
}
#jrCustomerInfo {
	float: left;
	font-size: 16px;
	font-weight: bold;
}
/* Invoice header */
table#jrInvoiceData {
	float: right;
	width: 290px;
	border-collapse: collapse;
	margin-bottom: 20px;
}
table#jrInvoiceData td {
	text-align: right;
	border: 1px solid black;
	padding: 5px;
}
table#jrInvoiceData td.label {
	background-color: #eee;
	color: #333;
}

/* Invoice details */
table#jrInvoiceItems {
	width: 99%;
	border-collapse: collapse;
	clear: both;
	margin: 30px 0 0;
}

table#jrInvoiceItems td {
	text-align: left;
	border: 1px solid black;
	padding: 5px;
}
table#jrInvoiceItems th {
	border: 1px solid black;
	padding: 5px;
	background-color: #eee;
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
}
table#jrInvoiceItems .jrItemCol {
	width: 30%;
}
table#jrInvoiceItems .jrDescCol {
	width: 60%;
}
table#jrInvoiceItems tr.jrItemRow {
	height: 400px;
	vertical-align: top;
}
table#jrInvoiceItems td.jrAlignRight {
	text-align: right;
}
table#jrInvoiceItems td.jrInvoiceTotal {
	text-align: right;
	border: 0;
	text-transform: uppercase;
	font-weight: bold;
}
table#jrInvoiceItems td.jrInvoiceAmountTotal {
	font-weight: bold;
}


/**
* payment handlers
*/

/* stripe  */

/* payment_form, payment_edit */

.stripeCard .jrLoadingSmall, .stripeMyAccountCard .jrLoadingSmall {
	display:none;
}
.stripeCard a, .stripeMyAccountCard a, .stripeCard a:hover, .stripeMyAccountCard a:hover, .stripeCard a:visited, .stripeMyAccountCard a:visited {
	color:blue;
}
#stripeErrors, #stripeMyAccountErrors {
	margin-top:1em;
	color:red;
}
#stripeMyAccountSaveSuccess, #stripeMyAccountDeleteSuccess {
	display:none;
	margin-top:1em;
	color:green;
}
#stripeCardSaved, #stripeMyAccountCardSaved {
	font-weight:bold;
}
#stripeCardData, #stripeMyAccountCardData {
	float:left;
}
#stripeCardEdit, #stripeMyAccountCardEdit, #stripeMyAccountCardDelete {
	display:none;
	float:right;
	font-weight:normal;
}
#stripeMyAccountCardEdit {
	margin-right:1em;
}
#stripeMyAccountCardEditSave, #stripeMyAccountCardEditCancel {
	display:none;
	float:right;
	margin-right:1em;
}
#stripeCardKeep {
	display:none;
	margin:1em auto;
}
#stripeEditDialog, #stripeMyAccountDeleteDialog {
	display:none;
	margin-top:1em;
	border:1px solid #ccc;
	border-radius:5px;
	padding:3px;
}
#stripeMyAccountDeleteDialog {
	border-color:#000;
	font-weight:normal;
}
#stripeMyAccountCardSaved.success {
	color:blue;
}
#stripeMyAccountCardSaved.failure {
	color:red;
}
#stripeEditDialog a, #stripeMyAccountDeleteDialog a {
	text-decoration:underline;
	color:#002b41;
}
#stripeEditConfirm, #stripeEditCancel, #stripeMyAccountDeleteConfirm, #stripeMyAccountDeleteCancel {
	margin-left:1em;
}
label[for="stripeMyAccountCardElement"] {
	float:left;
}
