.wp-core-ui .icon-button {
  display: flex;
  align-items: center;
  padding: 5px;
}

.wrap h2.wp-heading-inline {
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 0.25em;
}
.wrap h2.wp-heading-inline + .page-title-action {
  top: -1px;
}

#poststuff h2.mpa-fields-group-title {
  font-size: 1.3em;
  line-height: 1.3;
  font-weight: 600;
  margin: 1em 0;
  padding: 0;
}

.mpa-hide {
  display: none !important;
}

.mpa-error {
  color: #e25950;
  font-weight: bold;
  font-style: italic;
}

.mpa-loading {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: no-repeat center url("../images/loading.gif?ver=2.4.0"), rgba(255, 255, 255, 0.5);
  background-size: 32px 32px;
  z-index: 9000;
}

.mpa-loaded > .mpa-loading {
  display: none;
}

.mpa-table-centered td, .mpa-table-centered th {
  text-align: center;
}
.mpa-table-centered .no-items td,
.mpa-table-centered .no-items th {
  text-align: left;
}

table.fitwidth {
  table-layout: auto;
}

th.fitwidth,
td.fitwidth {
  width: 1%;
  white-space: nowrap;
}

.mpa-description {
  font-style: italic;
}

.mpa-small-description {
  font-size: 75%;
}

.center-text {
  text-align: center;
}

.mpa-preloader {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: no-repeat center url("../images/preloader.gif?ver=2.4.0");
}

.mpa-table th {
  padding-left: 10px;
  vertical-align: middle;
}

.mpa-deprecated {
  opacity: 0.5;
}
.mpa-deprecated strong {
  color: darkred;
  cursor: help;
}

.mpa_tooltip {
  position: relative;
  display: inline-block;
}

.mpa_tooltip:hover:after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 5px);
  left: 0;
  font-size: 10px;
  white-space: nowrap;
  background: #333;
  color: white;
  padding: 3px 6px;
  border-radius: 2px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.1s;
  visibility: hidden;
}

.mpa_tooltip:hover:before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
  z-index: 9999;
  pointer-events: none;
}

.mpa_tooltip:hover:after,
.mpa_tooltip:hover:before {
  opacity: 1;
  visibility: visible;
}

.mpa-dropdown {
  position: relative;
}
.mpa-dropdown.page-title-dropdown {
  display: inline-block;
  position: relative;
  top: -8px;
  margin-left: 0;
  font-weight: 600;
  font-size: 13px;
  line-height: normal;
}
.mpa-dropdown .dropdown-toggle {
  min-height: 28px;
  line-height: normal;
}
.mpa-dropdown .dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.35em;
  vertical-align: 0.15em;
  border-top: 0.45em solid;
  border-right: 0.35em solid transparent;
  border-bottom: 0;
  border-left: 0.35em solid transparent;
}
.mpa-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}
.mpa-dropdown .dropdown-menu.show {
  display: block;
}
.mpa-dropdown .dropdown-item {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}
.mpa-dropdown .dropdown-item:hover {
  background-color: #f8f9fa;
}

.mpa-attributes-ctrl table .column-actions {
  width: 5%;
}
.mpa-attributes-ctrl .mpa-remove-button {
  cursor: pointer;
}

.mpa-custom-workdays-ctrl table .column-actions {
  width: 20%;
  text-align: center;
}

.mpa-days-off-ctrl table .column-actions {
  width: 20%;
  text-align: center;
}

.mpa-edit-reservations-ctrl {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}
.mpa-edit-reservations-ctrl:not(.mpa-loaded),
.mpa-edit-reservations-ctrl .mpa-booking-step:not(.mpa-loaded) {
  min-height: 52px;
  position: relative;
}
.mpa-edit-reservations-ctrl label,
.mpa-edit-reservations-ctrl select,
.mpa-edit-reservations-ctrl input[type=text],
.mpa-edit-reservations-ctrl input[type=email],
.mpa-edit-reservations-ctrl input[type=tel] {
  width: 100%;
}
.mpa-edit-reservations-ctrl select,
.mpa-edit-reservations-ctrl input[type=text],
.mpa-edit-reservations-ctrl input[type=email],
.mpa-edit-reservations-ctrl input[type=tel] {
  display: block;
}
.mpa-edit-reservations-ctrl .mpa-message {
  width: 100%;
}
.mpa-edit-reservations-ctrl .mpa-actions {
  margin-top: 1.5em;
}
.mpa-edit-reservations-ctrl .mpa-booking-step {
  width: 100%;
}
.mpa-edit-reservations-ctrl .mpa-booking-step {
  width: 100%;
}
.mpa-edit-reservations-ctrl .mpa-booking-step .mpa-actions {
  margin-top: 1em;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-service-form {
  max-width: 100%;
}
@media screen and (min-width: 992px) {
  .mpa-edit-reservations-ctrl .mpa-booking-step-service-form {
    width: 50%;
  }
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-input-container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}
@media screen and (min-width: 992px) {
  .mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-input-container {
    flex-wrap: nowrap;
  }
  .mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-input-container .mpa-input-wrapper {
    width: auto;
  }
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-input-container .mpa-input-wrapper {
  padding: 0 10px;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-date-wrapper {
  margin-bottom: 20px;
}
@media screen and (min-width: 992px) {
  .mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-date-wrapper {
    margin-bottom: 0;
  }
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-date-wrapper:not(.mpa-loaded) {
  position: relative;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .flatpickr-calendar {
  margin: 0 0 0 1px;
  top: 0;
  box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 0 0 rgba(0, 0, 0, 0.08);
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .flatpickr-calendar .prevMonthDay.flatpickr-disabled,
.mpa-edit-reservations-ctrl .mpa-booking-step-period .flatpickr-calendar .nextMonthDay.flatpickr-disabled {
  opacity: 0;
  cursor: default;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .flatpickr-calendar .flatpickr-current-month .cur-month,
.mpa-edit-reservations-ctrl .mpa-booking-step-period .flatpickr-calendar .flatpickr-current-month .numInputWrapper {
  pointer-events: none;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .flatpickr-days,
.mpa-edit-reservations-ctrl .mpa-booking-step-period .dayContainer {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .flatpickr-day {
  max-width: 39px;
  height: 39px;
  line-height: 39px;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-time-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
@media screen and (min-width: 992px) {
  .mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-time-wrapper {
    flex: 1 0 auto;
  }
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-time-wrapper .mpa-times-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-time-wrapper .mpa-times {
  overflow: auto;
  max-height: 400px;
}
@media screen and (min-width: 992px) {
  .mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-time-wrapper .mpa-times {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 100%;
  }
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-time-wrapper .mpa-time-period {
  width: calc(100% - 10px);
  margin: 0 5px 10px;
  padding: 10px 5px;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-time-wrapper .mpa-two-columns .mpa-time-period {
  width: calc(50% - 10px);
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-time-wrapper .mpa-three-columns .mpa-time-period {
  width: calc(33.3333333333% - 10px);
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-time-wrapper .mpa-four-columns .mpa-time-period {
  width: calc(25% - 10px);
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-time-wrapper .mpa-five-columns .mpa-time-period {
  width: calc(20% - 10px);
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-time-wrapper .mpa-period-end-time {
  display: none;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-time-wrapper .mpa-show-end-time .mpa-period-end-time {
  display: inline;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-period .mpa-slot-capacity {
  display: block;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-cart .mpa-cart-item-template {
  display: none;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-cart .column-actions {
  width: 25px;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-cart .column-actions .dashicons {
  cursor: pointer;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-cart.editable .mpa-reservation-clients-count {
  display: none;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-cart.editable .mpa-actions .mpa-button-edit {
  display: none;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-cart:not(.editable) .column-actions {
  display: none;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-cart:not(.editable) .mpa-reservation-clients select {
  display: none;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-cart:not(.editable) .mpa-button-new {
  display: none;
}
.mpa-edit-reservations-ctrl .mpa-booking-step-cart:not(.mpa-loaded) {
  position: relative;
}

.mpa-payment-details-ctrl .mpa-payments {
  width: 100%;
  border-collapse: collapse;
}
@media screen and (min-width: 768px) {
  .mpa-payment-details-ctrl .mpa-payments {
    max-width: 47em;
  }
}
.mpa-payment-details-ctrl .mpa-payments th {
  font-weight: 500;
}
.mpa-payment-details-ctrl .mpa-payments td, .mpa-payment-details-ctrl .mpa-payments th {
  padding: 0.85em;
  border: 1px solid #d1d1d1;
  border-collapse: collapse;
  border-spacing: 0;
  text-align: left;
}
.mpa-payment-details-ctrl .mpa-payments td:last-child, .mpa-payment-details-ctrl .mpa-payments th:last-child {
  text-align: right;
}
.mpa-payment-details-ctrl .mpa-payments td:only-child, .mpa-payment-details-ctrl .mpa-payments th:only-child {
  text-align: left;
}
.mpa-payment-details-ctrl .mpa-add-payment-button {
  margin-top: 1em;
}

.mpa-service-variations-ctrl table .column-actions {
  width: 5%;
}
.mpa-service-variations-ctrl .mpa-remove-button {
  cursor: pointer;
}

.mpa-timetable-ctrl .mpa-days-container {
  width: 100%;
  display: flex;
}
.mpa-timetable-ctrl .mpa-days-container .mpa-day-container {
  width: 14.2857142857%;
  padding: 1px;
}
.mpa-timetable-ctrl .mpa-days-container .mpa-day-container .mpa-day-header {
  padding: 10px;
  margin: 0 0 2px;
  font-size: 1.2em;
  line-height: 1.5em;
  font-weight: bold;
  text-align: center;
  background-color: antiquewhite;
}
.mpa-timetable-ctrl .mpa-day-periods {
  padding: 0;
  vertical-align: top;
}
.mpa-timetable-ctrl .mpa-day-periods .mpa-day-period {
  padding: 10px;
  margin-bottom: 2px;
  background-color: aliceblue;
}
.mpa-timetable-ctrl .mpa-day-periods .mpa-day-period .mpa-remove-button {
  float: right;
  cursor: pointer;
  opacity: 0;
}
.mpa-timetable-ctrl .mpa-day-periods .mpa-day-period:hover .mpa-remove-button {
  opacity: 1;
}
.mpa-timetable-ctrl .mpa-day-periods .mpa-day-period .mpa-period-activity,
.mpa-timetable-ctrl .mpa-day-periods .mpa-day-period .mpa-period-location {
  display: inline-block;
  font-style: italic;
}
.mpa-timetable-ctrl .mpa-day-periods .mpa-day-period .mpa-period-location a {
  display: inline-block;
}
.mpa-timetable-ctrl .mpa-controls .button {
  margin-right: 8px;
}
.mpa-timetable-ctrl .mpa-edit-table.mpa-hide + .mpa-controls .mpa-cancel-button {
  display: none;
}

.mpa-employee-user-ctrl input {
  margin: 5px 0;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid #888;
}

.mpa-color-picker-ctrl .sp-replacer {
  padding: 0;
}
.mpa-color-picker-ctrl .sp-replacer .sp-preview {
  border: none;
  margin: auto;
}
.mpa-color-picker-ctrl .sp-replacer .sp-dd {
  height: auto;
}
.mpa-color-picker-ctrl .sp-container {
  border: none;
}
.mpa-color-picker-ctrl .sp-container .sp-picker-container, .mpa-color-picker-ctrl .sp-container .sp-palette-container {
  margin: auto;
}

.iti__flag {
  background-image: url("../js/intl-tel-input-17.0.19/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("../js/intl-tel-input-17.0.19/img/flags@2x.png");
  }
}
.mpa-checkout-form .iti {
  width: 100%;
}

.mpa-phone-number--invalid {
  border-color: red;
  color: red;
}

.mpa-phone-field-error {
  color: red;
  margin: 5px 0;
  display: inline-block;
}

.wp-admin .mpa-phone-number--invalid {
  border: 1px solid red;
  color: red;
}

.mpa-time-period-ctrl select {
  margin-left: 1em;
}
.mpa-time-period-ctrl select:first-child {
  margin-left: 0;
}

.mpa-employee-google-calendar__status {
  text-align: center;
  padding: 5px;
  color: green;
  font-weight: bold;
}

.mpa-employee-google-calendar__connect-btn {
  text-align: center;
  margin-top: 25px;
}
.mpa-employee-google-calendar__connect-btn a {
  color: #2271b1;
  border-color: #2271b1;
  background: #f6f7f7;
  padding: 6px;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  font-size: 13px;
  line-height: 2.15384615;
  min-height: 30px;
  margin: 0;
  padding: 0 10px;
  cursor: pointer;
  border-width: 1px;
  border-style: solid;
  -webkit-appearance: none;
  border-radius: 3px;
  white-space: nowrap;
  box-sizing: border-box;
}
.mpa-employee-google-calendar__connect-btn a:hover {
  background: #f0f0f1;
  border-color: #0a4b78;
  color: #0a4b78;
}

.post-type-mpa_booking #post-body-content {
  display: none;
}