/* Front end theme for MemberPress pages */

.mp_wrapper {
  overflow: inherit;
  /* margin: 10px 0; */
  /* max-width: 740px !important; */
  /* margin: 0 auto; */
  box-sizing: border-box;
}

.mp_wrapper h1,
.mp_wrapper h2,
.mp_wrapper h3 {
  font-weight: normal;
  border: none;
  outline: none;
  background: none;
}

.mp_wrapper img {
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.mp_wrapper :focus {
  outline: 0;
}

.mp_wrapper form {
  text-align: left;
}

.mp_wrapper textarea,
.mp_wrapper select,
.mp_wrapper input[type=text],
.mp_wrapper input[type=url],
.mp_wrapper input[type=email],
.mp_wrapper input[type=tel],
.mp_wrapper input[type=number],
.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;
}

.mepr-stripe-card-errors,
.mepr-paypal-card-errors,
.mepr-stripe-checkout-errors {
  color: #eb1c26;
}

.mp_wrapper label,
.mp_wrapper .mp-row {
  font-size: inherit;
  font-family: inherit;
  letter-spacing: normal;
  display: inline-block;
/*
  font-weight: bold;
  margin-bottom: 5px;
*/
}

.mp_wrapper .mepr-radios-field,
.mp_wrapper .mepr-checkbox-field,
.mp_wrapper .mepr-checkboxes-field,
.mp_wrapper label {
  width: 100% !important;
  display: inline-block;
}

.mp_wrapper .mp-form-row {
  margin-bottom: 10px;
  width: 100% !important;
}

.mp_wrapper input[type=image] {
  border: none !important;
  padding: 0 !important;
  width: auto !important;
}

.mp_wrapper textarea {
  outline-style: none;
  font-size: inherit;
  font-family: inherit;
  letter-spacing: normal;
  padding: 4px 2px 4px 2px;
  resize: none;
}

.mp_wrapper .mepr_price label,
.mp_wrapper .mepr_price .mepr_price_cell,
.mp_wrapper .mepr_price .mepr_price_cell_label {
  display: inline !important;
}

table.mp-table thead,
table.mp-table tbody,
table.mp-table tfoot,
table.mp-table tr,
table.mp-table th,
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;
}

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;
}

table.mp-table thead {
  display: table-header-group;
}

table.mp-table tfoot {
  display: table-footer-group;
}

table.mp-table tr {
  display: table-row;
}

table.mp-table,
table.mp-table th,
table.mp-table td {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

table.mp-table th,
table.mp-table td {
  display: table-cell;
  padding: 8px;
  border-width: 0 1px 1px 0 !important;
}

table.mp-table th {
  text-align: left;
  font-weight: bold;
  text-transform: uppercase;
}

table.mp-table .mp-currency-cell {
  text-align: right;
}

.mepr_error, .mepr_updated {
  padding: 5px 5px 5px 15px !important;
  margin-bottom: 25px !important;
  box-sizing: border-box !important;
  width: 100%;
}

.mepr_error {
  background-color: #feb9bb !important;
  border: 1px solid #d40022 !important;
}

.mepr_error ul {
  padding: 0 0 5px 0 !important;
  margin: 0 !important;
}

.mepr_error ul li {
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.mepr_updated {
  background-color: #def4c5 !important;
  border: 1px solid #4d8c2e !important;
}

.mepr-form input.invalid,
.mepr-form select.invalid,
.mepr-form textarea.invalid,
.mepr-form label.mepr-checkbox-field.invalid,
.mepr-form div.mepr-checkboxes-field.invalid,
.mepr-form div.mepr-radios-field.invalid {
  border: 2px solid red !important;
  background-color: #FF6666 !important;
}

.validation.failed:after {
  color: red;
  content: 'Validation failed';
}

.validation.passed:after {
  color: green;
  content: 'Validation passed';
}

.mepr-radios-field, .mepr-checkboxes-field {
  display: inline-block !important;
  width: 250px !important;
  margin-bottom: 10px !important;
}

.mepr-radios-field-row, .mepr-checkboxes-field-row {
  display: block !important;
  padding-left: 0 !important;
  margin-left: 2px !important;
}

input.mepr-form-radios-input, input.mepr-form-checkboxes-input {
  padding-left: 0;
  margin-left: 0;
  width: auto;
  margin-right: 5px;
  display: inline !important;
  text-align: left;
}

label.mepr-form-radios-label, label.mepr-form-checkboxes-label {
  display: inline !important;
  width: 222px !important;
  max-width: 222px !important;
  min-width: 222px !important;
}

.mp_wrapper .mp-form-row label {
  display: inline !important;
}

.mepr-hidden {
  display: none;
}

.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 */
.mp_users_subscriptions_list ul {
  list-style:none !important;
}

.mp_users_subscriptions_list ul li {
  padding:5px !important;
  margin:0 !important;
}

li.mp_users_subscriptions_list_alt {
  background:#eee;
}/* Account page */
div#mepr-account-nav {
  margin-bottom:25px;
  width: auto !important;
}

#mepr-subscriptions-paging,
#mepr-payments-paging {
  width:auto !important;
  margin-top: 10px;
  border-spacing: 0;
}

.mepr-nav-item {
  padding: 0 10px 0 0;
}

.mepr-active-nav-tab {
  font-weight: bold;
}

.mepr-active,
.mepr-inactive {
  font-weight: bold;
}

.mepr-active {
  color: limegreen;
}

.mepr-inactive {
  color: darkred;
}

.mepr-account-terms,
.mepr-account-subscr-id,
.mepr-account-rebill {
  font-size: 75%;
  font-weight: bold;
  font-style: italic;
  color: #464646;
}

/* NEW Responsive Tables */
.mp_wrapper table.mepr-account-table {
  border:1px solid #ccc;
  width:100% !important;
  margin:0;
  padding:0;
  border-collapse:collapse;
  border-spacing:0;
}

.mp_wrapper table.mepr-account-table tr {
  border:1px solid #ddd;
  padding:5px;
}

.mp_wrapper table.mepr-account-table td {
  padding:5px;
  text-align:left;
  border-left:1px solid #ededed;
}

.mp_wrapper table.mepr-account-table th {
  padding:5px;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:1px;
}

.mp_wrapper table.mepr-account-table tr.mepr-alt-row {
  background:#f9f9f9;
}

.mp_wrapper table.mepr-account-table .mepr-account-actions a {
  display: block;
}

@media screen and (max-width: 600px) {
  .mp_wrapper table.mepr-account-table {
    border:0;
  }

  .mp_wrapper table.mepr-account-table thead {
    display:none !important;
  }

  .mp_wrapper table.mepr-account-table tr {
    margin-bottom:10px;
    display:block;
    border-bottom:2px solid #ddd;
  }

  .mp_wrapper table.mepr-account-table td {
    display:block;
    text-align:right;
    border-top:none;
    border-left:none;
    border-bottom:1px dotted #ccc;
  }

  .mp_wrapper table.mepr-account-table td:last-child {
    border-bottom:0;
  }

  .mp_wrapper table.mepr-account-table td div{
    padding:0;
    margin:0;
    margin-left:15px;
  }

  .mp_wrapper table.mepr-account-table td:before {
    content:attr(data-label);
    float:left;
    text-transform:uppercase;
    font-weight:bold;
  }

  .mepr-account-subscr-id,
  .mepr-account-auto-rebill,
  .mepr-account-rebill {
    display:none;
  }

  .mepr-account-terms,
  .mepr-account-subscr-id,
  .mepr-account-rebill {
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
    color: inherit;
  }
}