body.path-admin .button { margin: 0; }
body.path-admin .button-spacer { margin-bottom: 20px; }

.code-dtype {
	border: 2px solid #3C3E40;
	margin-bottom: 15px;
	display: inline-block;
	width: 580px;
	margin-right: 15px;
	vertical-align: top;
	position: relative;
}
.code-dtype h2 {
	margin: 0;
	cursor: pointer;
	background: #97B717;
	padding: 10px;
	color: #FFFFFF;
	font-weight: 300;
}
.code-dtype p {
	margin: 0;
}
.code-dtype .code-dtype-inner {
	display: none;
	padding: 10px;
	border-top: 2px solid #3C3E40;
}
.code-dtype .code-dtype-inner.force-open {
	display: block;
}

.code-actions {
	position: absolute;
	top: 5px;
	right: 5px;
}
.code-actions a {
	background: #3C3E40;
	color: #FFFFFF;
	padding: 5px;
	display: inline-block;
	text-transform: uppercase;
	font-size: 11px;
	padding: 5px 10px;	
}
.code-actions a:hover {
	text-decoration: none;
	background: #FFFFFF;
	color: #3C3E40;
}

.code {
	background: #EFEFEF;
	border: 2px solid #CBCBCB;
	display: inline-block;
	vertical-align: top;
	margin: 0 10px 10px 0;
	text-align: center;
	padding: 5px 10px;
	border-radius: 10px;
	cursor: pointer;
	position: relative;
}
.code label {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.code input {
	display: none;
}
.code.selected {
	border-color: #FF0000;
}
.code.used {
	opacity: 0.2;
}
.code h5 {
	margin: 5px 0;
	font-size: 20px;
}
.code p {
	font-size: 10px;
	line-height: 12px;
}

.submit-codes {
	margin: 15px 0 0;
	float: right;
}


span.setting-unavailable {
	color: #BBB;
}
span.setting-included {
	color: #97B717;
	font-weight: bold;
}
span.setting-optional {
	color: #e07912;
	font-weight: bold;
}
span.setting-soldout {
	color: #CE3328;
	font-weight: bold;
}


.pitem-dtype {
	border: 1px solid #97B717;
	padding: 15px;
	display: inline-block;
	margin: 0 15px 15px 0;
}
.pitem-dtype p, .pitem-dtype div {
	display: inline-block;
	vertical-align: middle;
	margin: 0;
}
.pitem-dtype p {
	width: 150px;
	font-weight: bold;
}
.pitem-dtype div.ticket-price-limit {
	text-align: right;
}
.pitem-dtype div.ticket-price-limit > div:first-child {
	margin-bottom: 5px;
}


.ticket-dtype {
	border: 1px solid #97B717;
	padding: 15px;
	display: inline-block;
	margin: 0 15px 15px 0;
}


/* BOOKING FORM */
.booking-message {
	margin-bottom: 20px;
	background: #a5def0;
	border: 2px solid #46a0bc;
	text-align: center;
	padding: 10px;
}
.booking-message.warning {
	background: #ebafab;
	border-color: #ce3328;
}
.bookingform {
	position: relative;
	margin: 30px 0;
}
.bookingform h1 {
	font-size: 40px;
	margin-bottom: 10px;
}
.bookingform hr, hr.pdb {
	margin: 30px 0;
	border-color: #EFEFEF;
}
.bookingform .ofc-button {
	background: #1f1f1f;
	border-radius: 30px;
	display: block;
	font-size: 24px;
	padding: 15px 40px;
	margin: 0 auto;
	line-height: 24px;
}
.bookingform .ofc-button:hover, .bookingform .ofc-button:focus {
	background: #1f1f1f;
	color: #ffffff;
	opacity: 0.8;
}
.bookingform .ofc-button-container {
	text-align: center;
}
.bookingform .ofc-button-container .ofc-button {
	display: inline-block;
}

.bookingform.loading > * {
	opacity: 0.2;
}
.bookingform.loading::after {
	content: ' ';
	background: url(../images/loading.svg) no-repeat center;
	width: 50px;
	height: 50px;
	position: absolute;
	top: 125px;
	left: 50%;
	margin-left: -25px;
	background-size: 100px;
}
.bookingform .form-item-ticket-type {
	display: inline-block;
	vertical-align: top;
	width: calc(50% - 17px);
	border: 2px solid #CBCBCB;
	margin-right: 30px;
	border-radius: 20px;
	margin-bottom: 15px;
}
.bookingform .form-item-ticket-type:last-child {
	margin-right: 0;
}
.bookingform .form-item-ticket-type label, .bookingform #edit-ticket-type .field-prefix p, .bookingform #edit-ticket-type .field-suffix p {
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	display: block;
	padding: 15px 0;
	margin-bottom: 0;
}
.bookingform .form-item-ticket-type label span, .bookingform #edit-ticket-type .field-prefix p span, .bookingform #edit-ticket-type .field-suffix p span {
	font-size: 16px;
	font-weight: normal;
	display: block;
}
.bookingform .form-item-ticket-type label span {
	font-size: 13px;
	line-height: 24px;
	padding: 0 10px;
}
.bookingform .form-item-ticket-type label span strong {
	font-size: 16px;
}
.bookingform .form-item-ticket-type label span big {
	display: inline;
	margin: 0;
}
.bookingform .form-item-ticket-type input {
	display: none;
}
.bookingform .form-item-ticket-type.selected {
	background: #caed3e;
	border-color: #97b717;
}

.bookingform #edit-ticket-type .field-prefix p, .bookingform #edit-ticket-type .field-suffix p {
	opacity: 0.4;
	cursor: no-drop;
}

.bookingform #edit-ticket-type--wrapper .field-prefix, .bookingform #edit-ticket-type--wrapper .field-suffix {
	vertical-align: top;
	display: inline-block;
	width: calc(50% - 17px);
	border: 2px solid #CBCBCB;
	margin-right: 30px;
	border-radius: 20px;
	margin-bottom: 15px;
}
.bookingform #edit-ticket-type--wrapper .field-suffix {
	margin-right: 0;
}

.bookingform #password-area .description {
	text-align: right;
}

@media only screen and (max-width: 639px) {
	.bookingform .form-item-ticket-type {
		display: block;
		width: 100%;
		margin-right: 0;
	}
}

.bookingform .pitem-group {
	margin-bottom: 20px;
}
.bookingform .pitem-group h4 {
	font-size: 22px;
}
.bookingform .pitem-group span {
	margin-left: 10px;
}
.bookingform .pitem-group span.title-unavailable {
	margin-left: 0;
	color: #BBB;
}
.bookingform big {
	font-size: 24px;
	margin-top: 10px;
	display: block;
}
.bookingform big span {
	color: #97b717;
}

/* BREADCRUMB */
#booking-breadcrumb {
	background: #FAFAFA;
	border-bottom: 1px solid #EFEFEF;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	margin-bottom: 30px;
}

#booking-breadcrumb a, #booking-breadcrumb span {
	flex: 1;
	text-align: center;
	padding: 5px;
	color: #CBCBCB;
}
#booking-breadcrumb a:hover {
	background: #EFEFEF;
	color: #666666;
}
#booking-breadcrumb span.bc-current {
	background: #97b717;
	color: #fff;
}

@media only screen and (max-width: 639px) {
	#booking-breadcrumb, #booking-breadcrumb a, #booking-breadcrumb span {
		display: block;
	}
}

/* ADMIN FILTERS */

#orderlistfilters {
	margin-bottom: 30px;
}
#orderlistfilters .fieldgroup {
	display: inline-block;
	vertical-align: top;
	margin-right: 20px;
	border: 1px solid #CBCBCB;
	padding: 15px 20px;
}
#orderlistfilters .fieldgroup legend {
	text-transform: none;
}
#orderlistfilters .fieldgroup .form-type-date, #orderlistfilters .fieldgroup .form-item-filter-year {
	margin-top: 0;
}
#orderlistfilters #edit-submit {
	margin: 0;
}


.booking-detail-block {
	border: 2px solid #3C3E40;
	margin-bottom: 15px;
	display: inline-block;
	width: 300px;
	margin-right: 15px;
	vertical-align: top;
	position: relative;
}
.booking-detail-block.editing {
	width: 500px;
}
.booking-detail-block.editing label {
	display: inline-block;
	width: 120px;
	margin-right: 10px;
	vertical-align: middle;
}
.booking-detail-block.editing input, .booking-detail-block.editing select {
	display: inline-block;
	max-width: 340px;
	vertical-align: middle;
}
.booking-detail-block h5 {
	margin: 0;
	background: #97B717;
	padding: 10px;
	color: #FFFFFF;
	font-weight: 300;
}
.booking-detail-block h5.alt {
	background: #3C3E40;
}
.booking-detail-block h5.alt2 {
	background: #D18A16;
}
.booking-detail-block h5 a {
	float: right;
	font-size: 11px;
	line-height: 11px;
	padding: 3px 10px;
}
.booking-detail-block h5 a:hover {
	text-decoration: none;
}

.booking-detail-block h5 a {
	border: 1px solid #3C3E40;
	background: #FFFFFF;
	color: #46a0bc;
}
.booking-detail-block h5 a:hover {
	background: #3C3E40;
	color: #FFFFFF;
}


.booking-detail-block.editable h5, .booking-detail-block.editing h5 {
	background: #46a0bc;
}

.booking-detail-block h6 {
	margin: 0;
	background: #111111;
	padding: 10px;
	color: #FFFFFF;
	font-weight: 300;
	font-size: 11px;
}

.booking-detail-block ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.booking-detail-block li {
	border-top: 1px solid #CBCBCB;
	padding: 5px 10px;
	word-wrap: break-word;
}

.booking-detail-block .button {
	width: calc(100% - 20px);
	margin: 10px !important;
	border-radius: 0;
}

.booking-detail-block table {
	margin: 0;
	border-collapse: separate;
}
.booking-detail-block table tr td {
	border-bottom: 1px solid #CBCBCB;
}
.booking-detail-block table tr td.nowrap {
	white-space: nowrap;
}
.booking-detail-block table tr:last-child td {
	border: 0;
}
.booking-detail-block table .change {
	font-size: 11px;
	font-style: italic;
	border-bottom: 1px solid #EFEFEF;
	padding: 2px 0;
}
.booking-detail-block table .change:last-child {
	border-bottom: 0;
}
.booking-detail-block table .change span.old { background: #FCB6C2; }
.booking-detail-block table .change span.new { background: #C8F7B2; }

.booking-detail-block.changelog > div {
	max-height: 400px;
	overflow-y: auto;
}

.booking-detail-block.pitems .form-type-checkbox, .booking-detail-block.pitems .form-type-radio {
	width: 360px;
	display: inline-block;
}
.booking-detail-block.pitems .form-type-checkbox label, .booking-detail-block.pitems .form-type-radio label {
	width: 320px;
	margin-left: 10px;
}
.booking-detail-block.pitems .form-type-number {
	display: inline-block;
}
.booking-detail-block.pitems .form-type-number input {
	max-width: 100px;
}

#action-links {
	text-align: right;
	margin-bottom: 20px;
}
#action-links a {
	display: inline-block;
	background: #EFEFEF;
	padding: 5px 10px;
	border: 1px solid #BBBBBB;
	color: #666;
	margin-left: 5px;
}
#action-links a:hover {
	text-decoration: none;
	background: #666;
	border-color: #666;
	color: #FFF;
}

hr.admin-divider {
	margin: 30px 0;
}

.dpackage {
	display: block;
	border: 2px solid #CBCBCB;
	border-radius: 20px;
	margin-bottom: 15px;
	padding: 15px;
	position: relative;
}
.dpackage h4 {
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	margin: 0;
}
.dpackage p {
	margin: 10px 0;
	text-align: center;
}
.dpackage label {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-indent: -99999px;
}
.dpackage input {
	display: none;
}
.dpackage.selected {
	background: #caed3e;
	border-color: #97b717;
}
.dpackage.unavailable {
	opacity: 0.3;
}
.dpackage p.price {
	font-size: 40px;
	color: #60802f;
	margin: 0;
	font-weight: 800;
}

.package-description {
	font-size: 11px;
	font-style: italic;
	margin-bottom: 10px;
	display: inline-block;
}

form#yearselection {
	display: inline-block;
	border: 2px solid #ce3328;
	background: #EFEFEF;
	padding: 5px 15px;
	margin-bottom: 20px;
}
form#yearselection div {
	display: inline-block;
}
form#yearselection input.button {
	display: none;
}
form#yearselection.loading {
	opacity: 0.2;
}


a.icon-pd-pdf {
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 30px;
	background-image: url(../images/icon-pdf.svg);
	padding: 5px 0 5px 40px;
}
a.icon-pd-link {
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 30px;
	background-image: url(../images/icon-link.svg);
	padding: 5px 0 5px 40px;
}


.form-item-no-contact label {
	width: calc(100% - 50px);
	font-weight: 600;
}
.form-item-no-contact input {
	vertical-align: top;
	margin-top: 5px;
}


.ledger-refund {
	display: inline-block;
	width: 24px;
	height: 24px;
	background: url(../images/icon-refund.png) no-repeat;
	opacity: 0.2;
}
.booking-detail-block.ledger table tr:hover .ledger-refund {
	opacity: 1;
}

section.booking-detail-section {
	display: flex;
}
section.booking-detail-section .booking-detail-block {
	flex: 1;
}

@media only screen and (max-width: 750px) {
	section.booking-detail-section {
		display: block;
	}
	section.booking-detail-section .booking-detail-block {
		display: block;
		width: 100%;
	}
}