/***** FORMS PAGE *****/

/** FORM LIST **/
#bookacti-form-list-container .column-active { width: 40px; white-space: nowrap; text-align: center; }
#bookacti-form-list-container .column-date,
#bookacti-form-list-container .column-author,
#bookacti-form-list-container .column-status { width: 10%; }
#bookacti-form-list-container .column-shortcode input { background: none; border: none; box-shadow: none; margin: 0; padding: 0; font-size: 12px; }



/** FORM EDITOR **/

/* Page option */
body.booking-activities_page_bookacti_forms label[for='bookacti_form_publish-hide'] { display: none; }

/* Editor */
#bookacti-form-editor-container			{ border: 1px solid #e5e5e5; box-shadow: 0 1px 1px rgba(0,0,0,.04); background: #f5f5f5; margin-top: 20px; }
#bookacti-form-editor-header			{ display: flex; justify-content: space-between; padding: 8px 12px; background: #fff; border-bottom: 1px solid #e5e5e5; }
#bookacti-form-editor-title h2			{ display: inline-block; vertical-align: middle; margin: 0; padding: 0; }
#bookacti-form-editor-description		{ padding: 1em; }
#bookacti-form-editor-description p		{ padding: 0; margin: 0; font-style: italic; }
.bookacti-wc-icon-not-supported			{ position: relative; font-size: 20px; color: #cd5c5c; font-style: normal; margin-right: 13px; }
.bookacti-wc-icon-not-supported::before	{ font-family: 'WooCommerce'; content: '\e03d'; }
.bookacti-wc-icon-not-supported::after	{ font-family: 'dashicons'; content: '\f158'; font-size: 13px; position: absolute; bottom: -4px; }
#bookacti-form-editor					{ padding: 1em; }
.bookacti-form-editor-field				{ margin-bottom: 1em; border: 1px solid #e5e5e5; background: #fff; box-sizing: border-box; }
.bookacti-form-editor-field-header		{ display: flex; justify-content: space-between; border-bottom: 1px solid #e5e5e5; transition: max-height 0.2s; }
.bookacti-form-editor-field-title		{ cursor: move; padding: 1em; padding-right: 0; width: 100%; text-align: left; }
.rtl .bookacti-form-editor-field-title  { padding-right: 1em; padding-left: 0; text-align: right; }
.bookacti-form-editor-field-header h3	{ display: inline-block; vertical-align: middle; margin: 0; padding: 0; }
.bookacti-form-editor-field-actions		{ margin: 1em; white-space: nowrap; position: relative; }
.bookacti-form-editor-field-body		{ padding: 1em; }
.bookacti-form-editor-field-placeholder { display: block; min-height: 47px; width: 100%; border: 1px dashed #b4b9be; margin: 1em 0; }
#bookacti-form-editor-actions > *,
.bookacti-form-editor-field-actions > *				{ display: inline-block; vertical-align: middle; color: #565d61; cursor: pointer; }
#bookacti-form-editor-actions svg,
.bookacti-form-editor-field-actions svg				{ fill: currentColor; }
#bookacti-form-editor-actions > .button,
.bookacti-form-editor-field-actions > .button		{ vertical-align: middle; }
#bookacti-form-editor-actions > .button-secondary,
.bookacti-form-editor-field-actions > .button-secondary	{ color: #0071a1; }

.bookacti-display-help.bookacti-sos span.dashicons					{ display: block; padding-right: 0; }
.bookacti-form-editor-field-header .bookacti-wc-icon-not-supported	{ display: inline-block; vertical-align: middle; margin-right: 20px; font-weight: normal; }
#bookacti-form-editor .bookacti-addon-promo							{ text-align: left; }

.bookacti-form-field-name-calendar .bookacti-edit-form-field:before	{ content: '\f111'; font: 400 20px dashicons; margin-right: 4px; vertical-align: sub; }

#bookacti-availability_period_start-container .bookacti-duration-hint,
#bookacti-availability_period_end-container .bookacti-duration-hint { display: none !important; }

#bookacti-form-editor-page-container #bookacti-form-shortcode { background: inherit; color: inherit; font-size: 12px; border: none; box-shadow: none; padding: 4px 8px; margin: 0; width: 100%; max-width: none; }


/* Dialogs */
.bookacti-activities-actions-options-table,
.bookacti-group-categories-actions-options-table		{ display: none; max-height: 200px; overflow-y: auto; }
.bookacti-activities-actions-options-table h4,
.bookacti-group-categories-actions-options-table h4		{ text-decoration: underline; margin-bottom: 0.75em; }

.bookacti-options-table									{ border-collapse: collapse; }
.bookacti-options-table th								{ text-align: left; }
.bookacti-options-table th, .bookacti-options-table td	{ padding: 2px 5px; }
.bookacti-options-table .bookacti-column-activity,
.bookacti-options-table .bookacti-column-group_category { width: 130px; max-width: 130px; padding-right: 20px; overflow: hidden; }

#bookacti-form-field-dialog-calendar { overflow: hidden; }


/* Metaboxes */
#poststuff #bookacti_form_publish .inside { margin: 0; padding: 0; }
#bookacti-form-wc-integration-tuto img    { width: 100%; max-width: 720px; }
#bookacti-form-author-container           { margin-bottom: 20px; }




/***** FORMS FIELDS FORMATING *****/

.bookacti-form-field-container             { margin-bottom: 20px; }
.bookacti-form-field-label label           { margin: 0; }
.bookacti-form-field-label,						
.bookacti-form-field-content               { display: inline-block; vertical-align: middle; margin: 0; }
.bookacti-form-field-label                 { width: 160px; padding-right: 10px; }
.rtl .bookacti-form-field-label            { padding-right: 0; padding-left: 10px; }
.bookacti-hidden-field                     { display: none; }
.bookacti-required-field-indicator::before { content: '*'; color: #cd5c5c; margin: 0 2px; vertical-align: top; font-size: small; }

.bookacti-form-field-name-calendar,
.bookacti-form-field-name-calendar .bookacti-form-field-content	{ width: 100%; }

.bookacti-form-field-login-field-container				{ display: block; margin-bottom: 10px; }
.bookacti-form-field-login-field-container:last-child	{ margin-bottom: 0; }

.bookacti-login-types-hidden		{ display: none; }
.bookacti-login-field-login-type	{ margin-bottom: 20px; }
.bookacti-forgotten-password		{ font-style: italic; font-size: 0.8em; }
.forgotten-password-email			{ display: block; margin-top: 10px; }
.bookacti-forgotten-password-email	{ min-height: 30px; min-width: 300px; }
.bookacti-login-field-submit-button	{ margin-top: 20px; }
.bookacti-login-button				{ cursor: pointer; }

.bookacti-password-strength					{ display: inline-block; }
.bookacti-password-strength-meter			{ background-color: #eee; border: 1px solid #ddd; color: #23282d; margin: -2px 5px 5px 1px; padding: 3px 5px; text-align: center; box-sizing: border-box; opacity: 0; }
.bookacti-password-strength-meter.short		{ background-color: #f1adad; border-color: #e35b5b; opacity: 1; }
.bookacti-password-strength-meter.bad		{ background-color: #fbc5a9; border-color: #f78b53; opacity: 1; }
.bookacti-password-strength-meter.good		{ background-color: #ffe399; border-color: #ffc733; opacity: 1; }
.bookacti-password-strength-meter.strong	{ background-color: #c1e1b9; border-color: #83c373; opacity: 1; }
.bookacti-password.short		{ border-color: #e35b5b; }
.bookacti-password.bad			{ border-color: #f78b53; }
.bookacti-password.good			{ border-color: #ffc733; }
.bookacti-password.strong		{ border-color: #83c373; }

.bookacti-register-fields { margin-top: 10px; }

.bookacti-form-field-checkbox-input,
.bookacti-form-field-checkbox-label	{ display: table-cell; vertical-align: top; }
.bookacti-form-field-checkbox-label	{ padding: 0 10px; }

.bookacti-form-field-type-total_price label { font-weight: bold; }
.bookacti-total-price-table { border-collapse: collapse; }
.bookacti-total-price-table th, .bookacti-total-price-table td { padding: 5px 10px; text-align: left; vertical-align: middle; border: 1px solid #ddd; }
.bookacti-total-price-table th + th, .bookacti-total-price-table td + td { text-align: right; }
.bookacti-total-price-table .bookacti-picked-group-of-events-list { margin-bottom: 0; }
.bookacti-grand-total-price-container { font-weight: bold; font-size: 1.25em; padding-left: 10px; }

.bookacti-form-field-name-submit		{ text-align: center; }
.bookacti-form-field-name-submit input	{ cursor: pointer; }

.bookacti-no-events { width: fit-content;margin: auto; font-style: italic; }


/***** BOOKING SYSTEM *****/
.bookacti-booking-system > div,
.bookacti-notices,
.bookacti-booking-system	{ margin-bottom: 20px; }