/* MEPR Style Over rides
-------------------------------------------------------------- */
 #mepr-account-nav {
    display: block !important;
}

.password-field {
  padding-left: 50px !important;
  background-image: url('/content/themes/visualapproach-theme/images/key.svg') !important;
  background-repeat: no-repeat !important;
  background-position: 15px center !important;
  background-size: 25px 25px !important; 
}

#user_login {
  padding-left: 50px !important;
  background-image: url('/content/themes/visualapproach-theme/images/account.svg') !important;
  background-repeat: no-repeat !important;
  background-position: 15px center !important;
  background-size: 25px 25px !important; 
}

#rememberme {
    margin-bottom: 25px;
}

/* Account Page / needs important because default styles are inline @ /account/nav.php */
/* .memberpressproduct-template-default .custom-logo {
    margin-top: 20px !important;
} */

#mepr-account-nav .mepr-nav-item {
    display: inline-block !important;
}

#mepr-account-nav {
    background: transparent !important;
}

#mepr-account-nav .mepr-nav-item.--active a, #mepr-account-nav .mepr-nav-item.mepr-active-nav-tab a {
    background: rgb(246, 174, 45) !important;
}

#mepr-account-nav .mepr-nav-item a:hover {
  color: rgb(246, 174, 45) !important;
}

#mepr-account-nav .mepr-nav-item {
    border-bottom: 2px solid transparent;
}

#mepr-account-nav .mepr-nav-item:hover {
    border-bottom: 2px solid rgb(246, 174, 45);
}

#mepr-account-nav .mepr-active-nav-tab a:hover {
  color: #fff !important;
}

.mepr_error a {
    color: #d40022;
}

/* Account Subscription */
.mepr-account-update {
    background: rgb(246, 174, 45);
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 4px;
}

.mepr-account-cancel {
    text-align: center;
    text-decoration: none;
    color: darkred;
    margin-top: 15px;
}

/* Unauthorized */
.single .mepr-login-link {
    display: none;
}

.mepr-unauthorized-message {
    padding: 25px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    background: #F7FAFC;
}

.mepr-unauthorized-excerpt {
    position: relative;
}

.mepr-unauthorized-excerpt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, white, transparent);
    background-size: 100% 100%;
    z-index: 1;
    pointer-events: none;
}

.post-161 .mp-spacer {
    display: none !important;
}

/* Registration form checkout */
.single-memberpressproduct .entry-content-wrap {
    padding-top: 0;
}

.single-memberpressproduct .mepr-signup-form {
    max-width: 800px;
    margin: 0 auto;
}

.memberpressproduct-template .custom-logo,
.memberpressproduct-template-default .custom-logo {
    display: none;
}

.memberpressproduct .memberpressproduct-title {
    margin:0;
    padding:0;
}

.memberpressproduct h1 {
    text-align: center;
    font-weight: bold;
    font-size: 38px;
    margin:0;
    padding:0;
}

.memberpressproduct h2 {
    text-align: center;
}

.memberpressproduct .entry-content {
    margin: 0;
    padding: 0;
}

.memberpressproduct .entry-content-wrap .row:first-child p {
    background: orange;
    padding: 20px;
    border-radius: 50px;
    text-align: center;
    width: auto;
    display: table;
    margin: 0 auto;
    color: #fff;
}

.memberpressproduct .mepr_price {
    font-size: 26px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 25px;
    font-weight: bold;
}

.memberpressproduct .mepr-payment-methods-wrapper {
    margin-top: 25px;
}

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

/* Tablet */
@media only screen and (max-width: 1024px) {
    .mp_wrapper table.mepr-account-table th {
        display:none;
    }
    .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 {
        text-align: left;
        word-break: break-word;
    }
    .mp_wrapper table.mepr-account-table td::before {
        float: none;
        display: flex;
        position: relative
    }
    .mp_wrapper table.mepr-account-table td div {
        margin: 0 !important;
    }
    #mepr-account-content {
        padding: 0 !important;
    }
    .mepr-account-actions {
        display: block;
        position: relative;
        padding-top: 20px !important;
    }
    .mp_wrapper table.mepr-account-table td::before {
        content: attr(data-label);
        text-transform: uppercase;
        font-weight: bold;
    }
}

/* Mobile */
@media screen and (max-width: 600px) {
    .mp_wrapper table.mepr-account-table td {
        text-align: left;
        word-break: break-word;
    }
    .mp_wrapper table.mepr-account-table td::before {
        float: none;
        display: flex;
        position: relative
    }
    .mp_wrapper table.mepr-account-table td div {
        margin: 0 !important;
    }
    #mepr-account-content {
        padding: 0 !important;
    }
    .mepr-account-actions {
        display: block;
        position: relative;
        padding-top: 20px !important;
    }
}