/* Booking Forms */
ul.em-form-upload-field-table {
	margin:0;
	padding: 0;
}
/* Manual Booking Form */
.em-manual-booking .em-booking-form-details { width: 100%; }
/* Event Custom Emails */
div.emp-cet h4 { font-size:1.2em; }
div.emp-cet h4 a, div.emp-cet h5 a { color:#333; text-decoration:none; }
div.emp-cet-group { margin-bottom:30px; }
div.emp-cet-group h5 { font-size:1.1em; }
div.emp-cet-subgroup { margin-bottom:20px; }
div.emp-cet .emp-enabled { color:green; }
div.emp-cet .emp-disabled { color:red; }
div.emp-cet .emp-default { color:#999; }			
div.emp-cet .emp-cet-vals { margin: 10px 10px 20px; }
div.emp-cet .emp-cet-val { margin-bottom:10px; }	
div.emp-cet .emp-cet-vals input { width:100%; }
div.emp-cet .emp-cet-vals textarea { width:100%; height:200px; }
/* Gateway Settings */
.em-gateway-settings textarea { width:95%; }

/* Custom Form Editor CSS */
.emp-forms-editor .postbox .handlediv { display:none; visibility:hidden; }
.emp-forms-editor .postbox h3 { font-size:16px; }
.emp-forms-editor .postbox .inside { border-top: 1px solid #dedede; margin-top: 0px; padding-top: 10px; }
#em-booking-form-editor form { display:inline; }
#em-attendee-form-editor form { display:inline; }
	/* structure */
	.em-form-custom > div { max-width:1200px; border:1px solid #ccc; padding:10px 0px 0px; }
	.em-form-custom .booking-custom-head { font-weight:bold; }
	.em-form-custom .booking-custom-body { margin:0px; padding:0px; }
	.em-form-custom .booking-custom > div, .booking-custom > ul {  padding:10px; }
	.em-form-custom .booking-custom-item { clear:left; border-top:1px solid #dedede; padding:10px 0px; margin-bottom:0px; overflow:visible; }
	/* cols */
	.em-form-custom .bc-col { float:left; width:23%; text-align:left; margin:0px 2% 0px 0px; }
	.em-form-custom .bc-col-required { width:8%; text-align:center; }
	.em-form-custom .bc-col-sort { cursor:move; width:4%; }
	.em-form-custom .bc-col-sort .dashicons { margin:4px 4px 4px 20%; }
	.em-form-custom .bc-col-options { cursor:move; width:6%; }
	.em-form-custom .bc-col-options a { text-decoration:none; }
	.em-form-custom .bc-col-type select { width:100%; }
	.em-form-custom .bc-col input[type="text"] { width:100%; padding:4px; }
	.em-form-custom.em-ml .bc-col-label input[type="text"] { width:90%; }
	.em-form-custom.em-ml .bc-col-label .dashicons { width:4%; font-size:16px; padding:4px 0px; color:#888; }
	.em-form-custom .bc-col input[type="checkbox"] { margin:4px; }
	.em-form-custom .booking-custom-head .bc-col { padding-bottom:5px; }
	.em-form-custom .booking-custom-head .bc-col-sort { background:none; }
	/* field options */
	.em-form-custom .booking-custom-types { clear:left; }
	.em-form-custom .booking-custom-types .bct-options { clear:left; margin-top:50px; }
	.em-form-custom .booking-custom-types .bct-field { clear:left; margin-top:10px; }
	.em-form-custom .booking-custom-types .bct-options-toggle { margin:0px 20px;}
	/* option structure */
	.em-form-custom .bct-options { padding:0px 20px; }
	.em-form-custom .bct-field .bct-label { float:left; width:120px; }
	.em-form-custom .bct-field .bct-input { margin:0px 0px 10px 130px; }
	.em-form-custom .bct-field .bct-input input[type="text"], .bct-field .bct-input textarea { width:100%; }
	.em-form-custom .bct-field .bct-input em { display:block; }
	/* option ml stuff */
	.em-form-custom.em-ml .bct-field .bct-ml { margin:20px 0px 10px 110px; }
	.em-form-custom.em-ml .bct-field .bct-input input[type="text"], .em-form-custom.em-ml .bct-field .bct-input textarea { width:90%; }
	.em-form-custom .bct-options.bct-ml input. .em-form-custom .bct-options.bct-ml textarea { width:70%; }
	.em-form-custom .bct-options.bct-ml-label { margin-left: 6%; padding:0px; }
	/* Sorting */
	.em-form-custom .booking-custom { list-style-type: none; margin: 0; padding: 0; }
	.em-form-custom .bc-highlight { height:45px; line-height:35px; border:1px solid #cdcdcd; background:#efefef; }
	/* Booking Form Attendee Admin */
	.em-attendee-details { border-bottom: 2px solid #dedede; margin:5px; padding-bottom:5px; }
	.em-attendee-form-admin .em-attendee-fields, .em-attendee-form-admin .em-booking-single-info  { padding:5px 10px; width:auto; text-align:left; border-top: 1px dotted #dedede; }
	.em-attendee-form-admin h4 { font-size:14px !important; margin:5px 0px 10px; }
	.em-attendee-form-admin input.input, .em-attendee-form-admin textarea { width:250px; }
	.em-attendee-form-admin .em-attendee-fields p { margin:0px 0px 4px 0px; }
	.em-attendee-form-admin label  { display:inline-block; width:100px; }
	/* Duplicate! */
	 /* Checkout Form CSS */
	table.em-cart-table { border-collapse:collapse; border-spacing:0; width:100%; margin:10px 0px 20px; }
	 table.em-cart-table th, table.em-cart-table td { border:1px solid #efefef; padding:10px; }
	 table.em-cart-table th { background-color:#eee; text-align:center; }
	 table.em-cart-table td { background-color:#fff; }
	 table.em-cart-table th.em-cart-title-event { text-align:left; }
	 table.em-cart-table tbody.em-cart-totals th { text-align:right; padding-right:20px; }
	.em-cart-table .em-cart-table-details-actions { display: inline-block; margin:10px 10px 10px 0; }
	 table.em-cart-table .em-cart-table-event-details { display:none; }
	 .em-cart-table-event-summary .em-cart-table-event-title { font-weight:bold; }
	 .em-cart-table-event-summary .em-cart-table-spaces { text-align:center; }
	 .em-cart-table-event-summary .em-cart-table-price, tbody.em-cart-totals td { text-align:right; }
	 .em-cart-table-event-details .em-cart-table-ticket { font-weight:bold; }
	 .em-cart-info .em-cart-info-booking-title { font-weight:bold; }
	 .em-cart-info .em-cart-info-title { text-decoration:underline; }
	 .em-cart-info .em-cart-info-values label { font-style:italic; display: inline-block; width:350px; clear:left; padding-top:5px; font-weight: bold; }
	 .em-cart-info .em-cart-info-values span { padding:5px 0 0 20px; display:block; float:left; }
	 .em-cart-info .em-cart-info-values br { display:block; clear:both; height:1px; }

/* Attendance CSS */
.em-ticket-bookings span[class*="attendance-status-"],.em-ticket-bookings span[class*="attendance-display-status-"] { padding:5px 5px 5px 10px; display:inline-block;  }
.em-ticket-bookings .attendance-status-1:not(button), .attendance-display-status-1 { color: #198754; }
.em-ticket-bookings .attendance-status-0:not(button), .attendance-display-status-0 { color: #dc3545; }
.em-ticket-bookings .attendance-status-null:not(button), .attendance-display-status-null { color: #777; }
.em-ticket-bookings .em-booking-single-info .attendance-history-toggle { cursor: pointer; }
.em-ticket-bookings .em-booking-single-info .attendance-history-toggle.display .attendance-history-hidden { display:none; visibility:hidden; }
.em-ticket-bookings .em-booking-single-info .attendance-history-toggle.display .attendance-history-visible { display:inline-block; visibility:visible; }
.em-ticket-bookings .em-booking-single-info .attendance-history-toggle .attendance-history-visible { display:none; visibility:hidden; }
.em-ticket-bookings .em-booking-single-info .attendance-history { display:none; margin:10px; }
.em-ticket-bookings .em-booking-single-info .attendance-history table { width: 100%; max-width:400px; }
.em-ticket-bookings .em-booking-single-info .attendance-history table tr th { background:none; border-bottom: 2px solid #dedede; padding: 5px; text-align:left; }
.em-ticket-bookings .em-booking-single-info .attendance-history table tr td { border-bottom: 1px solid #eee; padding: 5px;; text-align:left; }
.em-ticket-bookings .em-booking-single-info .attendance-history table tr:last-child td { border-bottom: none; }
