* {
	font-family:sans-serif;
}

html {
	height:100%;
}

body.standalone {
	margin:0;
	display:flex;
	flex-direction: column;
	align-items:center;
	min-height:100%;
	background:url(bg.jpg);
}

body.standalone .page {
	max-width:1000px;
	width:100%;
	padding:40px;
	box-shadow:0 0 10px -2px #000;
	background:#fff;
	border-color:#2b6ea2;
	border-style:solid none;
	border-width:12px;
	font-size:14px;
	flex-grow: 1;
}

body.standalone .alert {
	margin-top: 20px;
}

body.framed {
	min-height: unset;
}
/** fix for including children margins in height calculation **/
body.framed .page {
	margin:-1px 0;
	padding:1px 0;
}

body .header {
	display: flex;
	justify-content: space-between;
}

body .header > h1 {
	margin-top: 0;
}

body .header .cartButton {
	width: auto;
	font-size: 16px;
	border: 1px solid #aaa;
	padding: 5px 8px;
	background: #eee;
	text-decoration: none;
	color: #000;
	cursor: pointer;
	display: inline-block;
}

.lpcForm .lpcFormGroup {
	position:relative; /* needed by datetimepicker */
}

.eventDetails .title {
	font-size: large;
	display: block;
}

/**************** LPC From ****************/

.lpcForm {
	width:100%;
}

.lpcForm .lpcFormGroup,
.lpcForm .lpcFormButtons {
	display:flex;
	flex-flow:row wrap;
	align-items:flex-start;
	margin:0.4em 0;
}

.lpcForm .lpcFormGroup > label,
.lpcForm .lpcFormGroup > .emptyCell,
.lpcForm .lpcFormError:before,
.lpcForm .lpcFormGroup.aligned:before,
.lpcForm .lpcFormButtons:before {
	width:20%;
	min-width:10em;
	max-width:400px;
	flex-grow:1;
/* 	line-height:16px; */
	box-sizing:border-box;
	margin:0;
}
.lpcForm .lpcFormGroup > label {
	padding:0.5em 1em 0.4em 0;
}

.lpcForm .lpcFormGroup > .text {
	padding:0.7em 1em 0.4em 0;
	line-height:16px;
}

.lpcForm .lpcFormGroup > input,
.lpcForm .lpcFormGroup > select,
.lpcForm .lpcFormGroup > button,
.lpcForm .lpcFormInput {
	flex-grow:10;
	padding:5px 8px;
	margin:0;
	white-space:nowrap;
	font-size:16px;
	border:1px solid #aaa;
	width:300px;
	box-sizing:border-box;
}
.lpcForm .lpcFormGroup > textarea {
	flex-grow:10;
	padding:5px 8px;
	margin:0;
	font-size:16px;
	border:1px solid #aaa;
	width:300px;
	box-sizing:border-box;
}
.lpcForm .lpcFormGroup > .captcha.math {
	display: flex;
	align-items: center;
}
.lpcForm .lpcFormGroup > .captcha.math input {
	padding:5px 8px;
	margin:0;
	white-space:nowrap;
	font-size:16px;
	border:1px solid #aaa;
	flex-grow: 1;
}

.lpcForm .lpcFormGroup.aligned > div,
.lpcForm .lpcFormError > div,
.lpcForm .lpcFormButtons > div,
.lpcForm .lpcFormGroup > .captcha {
	flex-grow:10;
	padding:0;
	margin:0.2em 0;
	width:300px;
}

.lpcForm .lpcFormGroup > .showText {
	flex-grow:10;
	padding:0.5em 0 0.4em;
	width:300px;
}

.lpcForm .lpcFormGroup > div.lpcCheckbox {
	position: relative;
	flex-grow:10;
	margin:0.2em;
	width:300px;
	max-height: 155px;
	padding: 3px 3px 8px 3px;
	overflow-y: auto;
	display:flex;
	flex-flow: row wrap;
}

.lpcForm .lpcFormGroup > div.lpcCheckbox > div {
	margin:0.2em 0 0 0.5em;
}

.lpcForm .lpcFormGroup > div.lpcCheckbox > label {
	font-weight: normal;
	width: 100%;
}

.lpcForm .lpcFormGroup.error input,
.lpcForm .lpcFormGroup.error textarea,
.lpcForm .lpcFormGroup.error select {
	border-color:#f99;
}
.lpcForm .lpcFormGroup.error input[type=checkbox] {
	outline:1px solid #f00;
}

.lpcForm .lpcFormGroup input[type="checkbox"],
.lpcForm .lpcFormGroup input[type="radio"] {
	margin:0.5em 0;
	transform:scale(1.2);
}

.lpcForm .lpcFormGroup input[type="submit"],
.lpcForm .lpcFormButtons input[type="submit"],
.lpcForm .lpcFormGroup button,
.lpcForm .lpcFormButtons button,
.lpcForm .lpcFormButton,
.lpcForm .lpcFormButtons a,
.lpcForm a.button {
	flex-grow:0;
	margin-right:1em;
	width:auto;
	font-size:16px;
	border:1px solid #aaa;
	padding:5px 8px;
	background:#eee;
	text-decoration:none;
	color:#000;
	cursor:pointer;
	display: inline-block;
}

.lpcForm .lpcFormError,
.lpcForm .lpcFormGroup.aligned .lpcFormError {
	color:#f00;
	margin:-0.2em 0 0.5em;
	display:flex;
	flex-flow:row wrap;
	width:100%;
}

.lpcForm .lpcFormGroup.aligned:before,
.lpcForm .lpcFormError:before,
.lpcForm .lpcFormButtons:before {
	content:'';
}

.lpcForm .lpcFormGroup textarea {
	resize: vertical;
}

.lpcForm .lpcFormGroup .mandatoryCheckLabel {
	width: calc(100% - 30px);
}
.lpcForm .lpcFormGroup.mandatory > label:first-of-type:after,
.lpcForm .lpcFormGroup .mandatoryCheckLabel > :last-child:after {
	content:'\a0*';
	color:red;
}

.notification {
	padding:0.5em;
	background-color:#f8f88f;
	color:#850;
	margin:1em 0;
	display:flex;
	align-items:center;
}

.notification:before {
	font-weight:bold;
	content:'!';
	margin:0 0.5em 0 0.3em;
	font-size:200%;
	vertical-align:middle;
	line-height:70%;
}

.helpTooltip {
	width:16px;
	height:16px;
	border-radius:8px;
	border:2px solid #086ebd;
	color:#fff;
	color:#086ebd;
	display:inline-block;
	vertical-align:top;
	text-align:center;
	line-height:12px;
	margin:0 4px;
	font-size:11px;
}

.kOOLSubscriptionForm.busy .submitButton {
	color: transparent;
	background:#eee url('/images/loading.svg') no-repeat center/contain;
}



div.subscriptionTextHeader {
	margin: 25px 0 5px 0;
	padding-bottom: 5px;
	border-bottom: 1px solid #999;
}

div.subscriptionTextFooter {
	margin-top: 25px;
	padding-top: 10px;
}


p.free_count {
  text-align: right;
}

#cart h1 {
	margin: 0;
	padding: 0;
}

#cart .subtitle {
	font-size: .7em;
}

#cart #cartItems {
	margin: 2em 0;

}

#cart #cartItems .panel-heading {
	padding:0;
	margin:0;
	display:flex;
	justify-content: space-between;
}
#cart #cartItems .panel-title {
	flex-grow: 1;
	cursor: pointer;
	padding:6px 10px;
}

#cart #cartItems .billing_amount_in_panel {
	white-space: nowrap;
}


#cart .cartItemDetails {
	margin: 10px 0;
}

#cart .cartItemDetails tr td:first-child {
	padding-right: 10px;
	font-weight: bold;
}

#cart .billing_information {
	display: flex;
	justify-content: space-between;
	font-size: 1.1em;
	font-weight: bold;
	margin: 10px 0;
}

#cart .captchaGroup {
    margin-bottom: 2em;
    display: flex;
    flex-flow: column;
    align-items: start;
}
#cart .captcha {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
}
#cart .captcha input {
    border: none;
    outline: none;
    width: 4em;
}
#cart .captchaGroup.invalid .captcha {
    border-color: red;
}
#cart .captchaGroup .captcha-error {
    color: red;
}

#cart .billing_information.billing_total {
	margin: 10px 15px;
}
#cart .billing_information.billing_total span:last-child {
	text-decoration: underline;
	text-decoration-style: double;
}


#cart #paymentmethods {
	width: 100%;
	display: grid;
	grid-auto-rows: 1fr;
	vertical-align: top;
	grid-template-columns: repeat(auto-fill, 140px);
	text-align: center;
	height: auto;
	grid-gap: 3px;
	font-size: .9em;
}

#cart #paymentmethods img {
	max-width: 130px;
}

#cart .loadingIndicator {
	height: 60px;
}

#cart #paymentmethods label {
	cursor: pointer;
	display: block;
	box-shadow: inset 0 0 1px 1px #AAA;
	border-radius: 5px;
	padding: 3px;
	height: 100%;
}

#cart #paymentmethods img {
	padding: 5px;
}

#cart #paymentmethods input[type='radio'] {
	display: none;
}

#cart #paymentmethods input[type='radio']:checked + label {
	box-shadow: inset 0 0 1px 2px #55D;
}


#cart .paymentmethod .description {
	display: block;
	font-size: .75em;
	font-weight: normal;
	padding: 4px;
}

#cart .cartbuttons {
	display:flex;
	justify-content: space-between;
	width:100%;
	min-height:200px;
}

#cart .cartbuttons div {
	width: 33%;
}

@media screen and (max-width: 480px) {
	#cart .cartbuttons div:first-child {
		font-size: 11px;
	}
}