/* Front end theme for MemberPress pages */

body #page .bb-grid .content-area main .mp_wrapper {
  overflow: inherit;
  /* margin: 10px 0; */
  /* max-width: 740px !important; */
  /* margin: 0 auto; */
  box-sizing: border-box;
}

body #page .bb-grid .content-area main .mp_wrapper h1,
body #page .bb-grid .content-area main .mp_wrapper h2,
body #page .bb-grid .content-area main .mp_wrapper h3 {
  font-weight: normal;
  border: none;
  outline: none;
  background: none;
}

body #page .bb-grid .content-area main .mp_wrapper img {
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

body #page .bb-grid .content-area main .mp_wrapper :focus {
  outline: 0;
}

body #page .bb-grid .content-area main .mp_wrapper form {
  text-align: left;
}

body #page .bb-grid .content-area main .mp_wrapper textarea,
body #page .bb-grid .content-area main .mp_wrapper select,
body #page .bb-grid .content-area main .mp_wrapper input[type=text],
body #page .bb-grid .content-area main .mp_wrapper input[type=url],
body #page .bb-grid .content-area main .mp_wrapper input[type=email],
body #page .bb-grid .content-area main .mp_wrapper input[type=tel],
body #page .bb-grid .content-area main .mp_wrapper input[type=number],
body #page .bb-grid .content-area main .mp_wrapper input[type=password] {
  width: 100%;
  outline-style: none;
  font-size: inherit;
  font-family: inherit;
  padding: 10px;
  letter-spacing: normal;
  border: 1px solid rgba(0, 0, 0, 0.2);
  /* margin-bottom: 10px !important; */
  display: inline;
  box-sizing: border-box;
}

body #page .bb-grid .content-area main .mepr-stripe-link-element {
  margin-bottom: 8px;
}

body #page .bb-grid .content-area main .mepr-stripe-payment-element-loading {
  text-align: center;
}

body #page .bb-grid .content-area main .mepr-stripe-card-errors,
body #page .bb-grid .content-area main .mepr-paypal-card-errors,
body #page .bb-grid .content-area main .mepr-stripe-checkout-errors {
  color: #eb1c26;
}

body #page .bb-grid .content-area main .mepr-stripe-form-placeholder {
  display: none;
  background-color: #f1f1f1;
  padding: 20px 10px;
  margin-bottom: 1rem;
  text-align: center;
}

body #page .bb-grid .content-area main .mepr-stripe-form-placeholder p {
  margin: 0;
  padding: 0;
}

body #page .bb-grid .content-area main .mp_wrapper label,
body #page .bb-grid .content-area main .mp_wrapper .mp-row {
  font-size: inherit;
  font-family: inherit;
  letter-spacing: normal;
  display: inline-block;
/*
  font-weight: bold;
  margin-bottom: 5px;
*/
}

body #page .bb-grid .content-area main .mp_wrapper .mepr-radios-field,
body #page .bb-grid .content-area main .mp_wrapper .mepr-checkbox-field,
body #page .bb-grid .content-area main .mp_wrapper .mepr-checkboxes-field,
body #page .bb-grid .content-area main .mp_wrapper label {
  width: 100% !important;
  display: inline-block;
}

body #page .bb-grid .content-area main .mp_wrapper .mp-form-row {
  margin-bottom: 10px;
  width: 100% !important;
}

body #page .bb-grid .content-area main .mp_wrapper input[type=image] {
  border: none !important;
  padding: 0 !important;
  width: auto !important;
}

body #page .bb-grid .content-area main .mp_wrapper textarea {
  outline-style: none;
  font-size: inherit;
  font-family: inherit;
  letter-spacing: normal;
  padding: 4px 2px 4px 2px;
  resize: none;
}

body #page .bb-grid .content-area main .mp_wrapper .mepr_price label,
body #page .bb-grid .content-area main .mp_wrapper .mepr_price .mepr_price_cell,
body #page .bb-grid .content-area main .mp_wrapper .mepr_price .mepr_price_cell_label {
  display: inline !important;
}

body #page .bb-grid .content-area main table.mp-table thead,
body #page .bb-grid .content-area main table.mp-table tbody,
body #page .bb-grid .content-area main table.mp-table tfoot,
body #page .bb-grid .content-area main table.mp-table tr,
body #page .bb-grid .content-area main table.mp-table th,
body #page .bb-grid .content-area main table.mp-table td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

body #page .bb-grid .content-area main table.mp-table {
  display: block;
  border-collapse: separate;
  border-spacing: 0;
  border-width: 1px 0 0 1px !important;
  margin-bottom: 24px;
  width: 100% !important;
  display: table;
}

body #page .bb-grid .content-area main table.mp-table thead {
  display: table-header-group;
}

body #page .bb-grid .content-area main table.mp-table tfoot {
  display: table-footer-group;
}

body #page .bb-grid .content-area main table.mp-table tr {
  display: table-row;
}

body #page .bb-grid .content-area main table.mp-table,
body #page .bb-grid .content-area main table.mp-table th,
body #page .bb-grid .content-area main table.mp-table td {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

body #page .bb-grid .content-area main table.mp-table th,
body #page .bb-grid .content-area main table.mp-table td {
  display: table-cell;
  padding: 8px;
  border-width: 0 1px 1px 0 !important;
}

body #page .bb-grid .content-area main table.mp-table th {
  text-align: left;
  font-weight: bold;
  text-transform: uppercase;
}

body #page .bb-grid .content-area main table.mp-table .mp-currency-cell {
  text-align: right;
}

body #page .bb-grid .content-area main .mepr_error body #page .bb-grid .content-area main .mepr_updated {
  padding: 5px 5px 5px 15px !important;
  margin-bottom: 25px !important;
  box-sizing: border-box !important;
  width: 100%;
}

body #page .bb-grid .content-area main .mepr_error {
  background-color: #feb9bb !important;
  border: 1px solid #d40022 !important;
}

body #page .bb-grid .content-area main .mepr_error ul {
  padding: 0 0 5px 0 !important;
  margin: 0 !important;
}

body #page .bb-grid .content-area main .mepr_error ul li {
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body #page .bb-grid .content-area main .mepr_updated {
  background-color: #def4c5 !important;
  border: 1px solid #4d8c2e !important;
}

body #page .bb-grid .content-area main .mepr-form input.invalid,
body #page .bb-grid .content-area main .mepr-form select.invalid,
body #page .bb-grid .content-area main .mepr-form textarea.invalid,
body #page .bb-grid .content-area main .mepr-form label.mepr-checkbox-field.invalid,
body #page .bb-grid .content-area main .mepr-form div.mepr-checkboxes-field.invalid,
body #page .bb-grid .content-area main .mepr-form div.mepr-radios-field.invalid {
  border: 2px solid red !important;
  background-color: #FF6666 !important;
}

body #page .bb-grid .content-area main .validation.failed:after {
  color: red;
  content: 'Validation failed';
}

body #page .bb-grid .content-area main .validation.passed:after {
  color: green;
  content: 'Validation passed';
}

body #page .bb-grid .content-area main .mepr-radios-field body #page .bb-grid .content-area main .mepr-checkboxes-field {
  display: inline-block !important;
  width: 250px !important;
  margin-bottom: 10px !important;
}

body #page .bb-grid .content-area main .mepr-radios-field-row body #page .bb-grid .content-area main .mepr-checkboxes-field-row {
  display: block !important;
  padding-left: 0 !important;
  margin-left: 2px !important;
}

body #page .bb-grid .content-area main input.mepr-form-radios-input body #page .bb-grid .content-area main input.mepr-form-checkboxes-input {
  padding-left: 0;
  margin-left: 0;
  width: auto;
  margin-right: 5px;
  display: inline !important;
  text-align: left;
}

body #page .bb-grid .content-area main label.mepr-form-radios-label body #page .bb-grid .content-area main label.mepr-form-checkboxes-label {
  display: inline !important;
  width: 222px !important;
  max-width: 222px !important;
  min-width: 222px !important;
}

body #page .bb-grid .content-area main .mp_wrapper .mp-form-row label {
  display: inline !important;
}

body #page .bb-grid .content-area main .mepr-hidden {
  display: none;
}

body #page .bb-grid .content-area main .mepr-visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 0;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

/* users subscriptions list shortcode css */
body #page .bb-grid .content-area main .mp_users_subscriptions_list ul {
  list-style:none !important;
}

body #page .bb-grid .content-area main .mp_users_subscriptions_list ul li {
  padding:5px !important;
  margin:0 !important;
}

body #page .bb-grid .content-area main li.mp_users_subscriptions_list_alt {
  background:#eee;
}
