div#em-loading { position:absolute; width:100%; height:100%; background:#FFFFFF url(../images/loading.gif) 50% 50% no-repeat; left:0px; top:0px; opacity:0.8; filter:alpha(opacity=80); z-index:9999; }

#location_info td { vertical-align:top; text-align:left; }
#location_info th { vertical-align:top; text-align:left; padding:5px 10px 0 0; }

p.warning {	border: 2px solid #FD0000; background: #FF7146; color: #fff; font-weight: bold; padding: 5px; }
.debug{ color: green; background: #B7F98C; margin: 15px; padding: 10px; border: 1px solid #629948; }

.switch-tab { background: #aaa; width: 100px; float: right; text-align: center; margin: 3px 1px 0 5px; padding: 2px; }
.switch-tab a { color: #fff; text-decoration: none; }
.switch-tab a:hover { color: #D54E21; }

#events-pagination { text-align: center; }
#events-pagination a { margin: 0 20px 0 20px; text-decoration: none; width: 80px; padding: 3px 0; background: #FAF4B7; border: 1px solid #ccc; border-top: none;}
#new-event { float: left; }

div#icon-events{ background:url('../images/calendar-32.png') no-repeat center; }
div#icon-bookings{ background:url('../images/bookings-32.png') no-repeat center; }

/* Events List */
table.events-table tr.pending { background:#FCFFA8 }
table.events-table tr.past { background:#E4E4E4 }
table.events-table .category { color:#888; }

/* Events Add Page */
#post-body .misc-pub-post-status.misc-event-duplicate-link:before { content: "\f132"; }
#event-form #event-name, #location-form, #location-name { margin: 2px 0 7px; padding: 6px 5px; width: 98%; }
/* Recurring Event Rescheduling */
#event-form .reschedule-hidden, #post .reschedule-hidden { display:none; visibility:hidden; }
#event-form .em-recurrence-reschedule, #post .em-recurrence-reschedule { padding:15px 20px; border-left: 4px solid #ffa500; }
#event-form .em-recurrence-reschedule h4, #post .em-recurrence-reschedule h4 { margin-top:0px; }
#event-form .recurrence-reschedule-warning, #post .recurrence-reschedule-warning { margin-bottom:25px; color:#c45500; }
#event-form .recurrence-reschedule-warning p, #post .recurrence-reschedule-warning p { margin-top:0px; font-size:14px; }
/*Locations*/
.em-location-type { border-top: 1px solid #dedede; margin-top:20px; padding-top:20px; }
.em-location-type.em-location-type-single { border:none; margin-top:10px; padding-top:10px; }
.em-location-type p:first-child { margin-top:0; }
div.em-location-data table { float:left; margin:0 15px 0 0; }
.em-event-location-data h4 { padding-bottom:5px; border-bottom:1px solid #dedede; margin-bottom:15px; }
.em-input-field { margin-bottom:10px; }
.em-input-field label { display: block; margin-bottom:5px; }
.em-input-field.em-input-field-boolean label { display: inline-block; }
.em-input-field em { display: block; margin-top:2px; }
/* Location form */
div.em-location-types-single { display:none; visibility: hidden; }
div.em-location-data table.em-location-data td, div.em-location-data table.em-location-data th { vertical-align:top; border:none; }
div.em-location-data table.em-location-data { width:50%; float:left; border:none; }
div.em-location-data table.em-location-data .em-location-data-url input { width:100%; }
div.em-location-data .em-location-map-container, div.em-location-data .em-location-map-404, div.em-location-data .em-location-map-content { width: 400px; height: 300px; float:left; }
div.em-location-data .em-location-map-404 { vertical-align:middle; text-align: center; }
/* MS Global Categories */
.ms-global-categories { line-height:1.8em; }
/*Bookings */
#event-rsvp-box { margin:10px; }
#event-rsvp-options h4 { font-size:14px; }
#event-rsvp-options label { font-weight:bold; }
/*Tickets*/
#em-tickets-form tbody.em-ticket-template { display:none; }
#em-tickets-form th { width:auto; }
#em-tickets-form th.ticket-status, .em-tickets-row .ticket-status { width:20px; }
#em-tickets-form .em-tickets-row .ticket-status span.dashicons { display:block; width:16px; height:16px; line-height:16px; font-size:16px; font-weight: bolder; }
#em-tickets-form .em-tickets-row .ticket-status.single span.dashicons { cursor:auto; }
#em-tickets-form .em-tickets-row .ticket-status span.ticket-on { color: #008000; }
#em-tickets-form .em-tickets-row .ticket-status span.ticket-off { color: #ff0000; }
#em-tickets-form .em-tickets-row .ticket-status span.ticket_new { color: #808080; }
#em-tickets-form.em-tickets-sortable .em-tickets-row .ticket-status span.dashicons { cursor:grab; }
#em-tickets-form .em-ticket-sortable-placeholder { border:2px dashed #dedede; background:#efefef; }
#em-tickets-form .ui-sortable-helper { cursor:grabbing; }
/* Ticket Forms */
.em-ticket-form .ticket-options { margin-top:10px; }
.em-ticket-form > div > div, #em-tickets-form .ticket-dates > div { clear:both; padding-top:4px; }
.em-ticket-form label { display:block; float:left; min-width:105px; padding-right:5px; }
#em-tickets-form .ticket-name input, #em-tickets-form .ticket-description textarea { width:50%}
#em-tickets-form .em-ticket-form-actions { clear:both; }
#em-tickets-form .ticket-spaces input, #em-tickets-form .ticket-price input { width:80px; }
#em-tickets-form .ticket-dates input.em-date-input-loc { width:90px; }
#em-tickets-form .ticket-dates-from-normal, #em-tickets-form .ticket-dates-from-recurring,
#em-tickets-form .ticket-dates-to-normal, #em-tickets-form .ticket-dates-to-recurring { display:inline; }
#em-tickets-form .ticket-required input, #em-tickets-form .ticket-roles input { width:auto; }
#em-tickets-form .ticket-roles div { margin-left:110px; }

/* Booking Form */
.em-booking { margin:15px 0px 10px 0px; position:relative; }
.em-booking-form  { position:relative; clear:left; max-width:1200px; }
.em-booking-form-details  { padding:10px; width:360px; float:left; }
.em-booking-form-details input.input, .em-booking-form-details textarea { width:250px; }
.em-booking-form p { clear:left; }
.em-booking-form label { display:block; float:left; }
.em-booking-form span.input-group input { margin-left:-20px; }
.em-booking-form span.input-group { display:block; margin-left:120px; }
.em-booking-form label  { display:inline-block; width:100px; }
.em-booking-form p.input-field-data_privacy_consent label { display:block; width:100%; }
.em-booking-form-details .em-booking-submit { width:auto; }
/* Admin single booking view overrides */
#em-bookings-admin-booking .em-booking-form .em-form-fields th { max-width:300px; padding:10px 0 0; vertical-align: top; }
#em-bookings-admin-booking .em-booking-form .em-form-fields td { text-align:left; padding:10px 0 0 20px; }
#em-bookings-admin-booking .em-booking-form .em-form-fields span.input-group { display:block; margin-left:0; }
#em-bookings-admin-booking .em-booking-form .em-form-fields span.input-group input { margin-left:0; }
/* Tickets */
.em-tickets { margin-bottom:20px; }
/* Message Errors */
div.em-booking-message { margin:10px 0px; padding:10px; color:#333; border-radius:3px; }
div.em-booking-message p { margin:10px 0px !important; padding:0px; color:#333; }
div.em-booking-message-success { background-color:#f1fff0; border:1px solid #a8d144; }
div.em-booking-message-error { background-color:#FFEBE8; border:1px solid #C00; }

/* Booking admin area */
#em-booking-details .inside { padding:5px 10px; }
.stuffbox .inside h4 { font-size:16px; font-weight:normal; margin:10px 0px 20px; font-weight:bold; }
/* Generic Table Info */
table.em-form-fields td, table.em-form-fields th { text-align:left; vertical-align:top; }
table.em-form-fields th { padding:0px 20px 5px 0px; }
.em-tablenav-pagination.tablenav-pages a { width:auto; padding-top:4px; padding-bottom:5px;}
.em-tablenav-pagination.tablenav-pages .current { font-size:16px; }
/* Ticket table info */
table.em-tickets-bookings-table { width:100%; border:1px #efefef solid; margin:10px 0px; }
table.em-tickets-bookings-table tr.em-hr th { border-top: 1px solid #bbb; }
table.em-tickets-bookings-table tfoot th:first-child { text-align:right; }
table.em-tickets-bookings-table th:last-child, table.em-tickets-bookings-table tbody td:last-child { text-align:right; padding-right:20px; vertical-align:top; }
table.em-tickets-bookings-table tfoot th em { font-size:12px; font-weight:normal; }
table.em-tickets-bookings-table th, table.em-tickets-bookings-table td { padding:5px 5px; margin:0px; }
table.em-tickets-bookings-table thead th, table.em-tickets-bookings-table tfoot th { background:#cdcdcd; text-align:center }
table.em-tickets-bookings-table tbody td.ticket-type { text-align:left; padding-left:10px; }
table.em-tickets-bookings-table tbody td { text-align:center; }
/* Bookings Table */
.em-bookings-table .em-bookings-table-export, .em-bookings-table .em-bookings-table-settings { float:left; display:block; margin:2px 5px; width:25px; height:25px;  }
.em-bookings-table .em-bookings-table-export { background:url(../images/csv.png) 0px 0px no-repeat; }
.em-bookings-table .em-bookings-table-settings { background:url(../images/settings.png) 0px 0px no-repeat; }
/* Settings & Export */
#em-bookings-table-export, #em-bookings-table-settings { width:500px; height: 75%; }
#em-bookings-table-export form, #em-bookings-table-settings form { height: 100%; overflow:auto; }
/* Sorting */
.em-bookings-table-overlay ul.em-bookings-cols-sortable { list-style-type: none; margin: 0; padding: 0 0 10px; float: left; margin-right: 10px; }
.em-bookings-table-overlay ul.em-bookings-cols-sortable li { margin: 0 5px 5px 5px; padding: 3px 8px; font-size: 12px; width: 120px; font-weight:normal; cursor:move; }
.em-bookings-table-overlay ul.em-bookings-cols-sortable li.ui-state-default { color:#999; }
#em-bookings-export-cols-inactive, #em-bookings-cols-inactive { width:300px; }
#em-bookings-export-cols-inactive li, #em-bookings-cols-inactive li { float:left; }
/* Single Booking Edit View */
#em-bookings-admin-booking .postbox h3, #em-bookings-admin-booking .stuffbox h3 { font-size:16px; }
#em-bookings-admin-booking .stuffbox .inside { padding: 0 12px 12px 12px; }
#em-bookings-admin-booking .em-booking-single-info { display:none; }
#em-bookings-admin-booking .em-booking-single-form { padding-right:20px; }

/* Google Map Object */
#location-balloon-content {
	margin: 0px 0px 0px 0px !important;
	padding: 0px 12px 20px 0px !important;
	font-size: 12px !important;
	color: #000000 !important;
	width: auto !important;
	max-width: none !important;
	height: auto !important;
	max-height: none !important;
}
#location-balloon-content h3 { background:none; text-shadow:none; }

/* Options Page */
#em-options-form .inside { border-top: 1px solid #dedede; margin-top:0px; padding-top:10px; }
#em-options-form h3 { font-size:16px; }
#em-options-form td, #em-options-form th { vertical-align:top; }
#em-options-form th { padding: 15px 20px; margin:0 !important; font-size:0.97em; }
#em-options-form .em-boxheader { font-style:italic; margin:0; padding:10px 5px; }
#em-options-form tr.em-header td { font-style:italic; padding:10px 5px; margin:0; }
#em-options-form tr.em-header h4, #em-options-form .postbox h4 { font-weight:bold; font-size:15px; font-style:normal; border-bottom: 1px solid #dedede; margin:0 0 10px; padding:0 0 10px; }
#em-options-form tr.em-subheader td { font-style:italic; margin:0; padding:5px 20px 2px; }
#em-options-form tr.em-subheader h5 { font-style:normal; margin:10px 0; padding:0 0 5px; font-weight:bold; font-size:15px; border-bottom: 1px solid #efefef; color:#000; }
#em-options-form tbody.em-subsection th { padding-left:35px; }
table.em-caps-table th, table.em-caps-table td { width:auto !important; }
#em-options-form textarea, #em-options-form input[type="text"] { width:95%; }
.em-translatable { display:inline-block; width:20px; height:20px; font-size:20px; padding:0px 5px 0px 0px; cursor:pointer; }
.em-ml-options { display:none; }
.em-ml-options table { width:95%; }
.em-ml-options table td { padding:0px 0px 5px; margin:0px; }
.em-ml-options .lang { width:100px; }
.em-menu-group .postbox.always-open .inside { display:block !important; }

/* Widget Tables CSS */
.em_obj .table-wrap{
	position:relative;
}
.em_obj #em-loading { position:absolute; width:100%; height:100%; background:#FFFFFF url(../images/loading.gif) 50% 50% no-repeat; left:0px; top:0px; opacity:0.8; filter:alpha(opacity=80)}

/*Help Docs*/
.em-docs > h3 { font-size:18px; display:block; margin-top:50px; }
.em-docs dl, .em-docs h2, .em-docs h3, .em-docs h4, .em-docs dl { clear:left; }
.em-docs dl dt { display:block; float:left; min-width:160px; margin-right:10px; }
.em-docs dl dd { display:block; margin-left:170px; }
.em-docs-atts dl dt { min-width:110px !important; }
.em-docs-atts dl dd { margin-left:120px !important; }

/* Time Picker */
.em-time-input.error { border:#cc0000 1px solid; }
div.time-picker {  position: absolute; height: 191px; width:4.5em; /* needed for IE */ overflow: auto; background: #fff; border: 1px solid #aaa; z-index: 99; margin: 0; }
div.time-picker-12hours { width:6.5em; /* needed for IE */ }
div.time-picker ul { list-style-type: none; margin: 0; padding: 0; }
div.time-picker li { cursor: pointer; height: 10px; font: 12px/1 Helvetica, Arial, sans-serif; padding: 4px 3px; }
div.time-picker li.selected { background: #0063CE; color: #fff; }