@charset "utf-8";

.swpm-registration-widget-form {
    max-width: 540px;
    margin: 50px auto;
}

@media all and (max-width: 768px){
    
    
}
@media all and (max-width: 479px){
    

}



/*----- login page -----*/

/* top, password-change */
.swpm-login-form-inner,
.swpm-pw-reset-widget-form{
    max-width: 540px;
    margin: 50px auto;
}
.swpm-label,
.swpm-pw-reset-email-label {
    font-size: 1rem;
    font-weight: bold;
}
.swpm-text-field {
    width: calc(100% - 20px)!important;
    margin: 10px 0 15px;
    padding: 10px;
    border: 1px solid #999;
    font-size: 1.25rem;
}
.swpm-remember-me {
    text-align: center;
}
.swpm-rember-label {
    font-size: .875rem;
}
.swpm-login-form-submit,
.swpm-pw-reset-submit,
.swpm-edit-profile-submit{
    display: block;
    margin: 30px auto 45px;
    padding: 20px 0;
    width: 480px!important;
    background: #4A9E92;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: bold;
    outline: none;
    text-align: center;
    transition: .25s;
}
input[type="submit"]::-moz-focus-inner{
    border :0px;
}
.swpm-login-form-submit:hover,
.swpm-pw-reset-submit:hover,
.swpm-edit-profile-submit:hover {
    background: #a8e1da;
}
.swpm-pw-reset-submit {
    padding: 15px 0;
}
.swpm-forgot-pass-link,
.swpm-join-us-link {
    margin: 0 0 20px;
    text-align: center;
}
.swpm-forgot-pass-link a,
.swpm-join-us-link a {
    color: #555;
}
.swpm-join-us-link {
    display: none;
}
.swpm-login-action-msg span {
    display: block;
    margin: 45px 0 0;
    padding: 15px;
    background: #fdd;
    border-radius: 5px;
    color: #f00;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}
.swpm-login-action-msg span:empty {
    padding: 0;
}

.swpm-post-not-logged-in-msg {
    max-width: 750px;
    margin: 80px auto 90px;
    padding: 30px;
    background: #f1fffa;
    border: 1px solid #4A9E92;
    font-size: 1rem;
    line-height: 1.5;
}

/* login top */

.swpm-login-widget-logged {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 70px 0 50px;
    padding: 30px;
    background: #f1fffa;
    border: 5px solid #a8e1da;
    line-height: 1.5;
}
.swpm-logged-status,
.swpm-logged-membership,
.swpm-logged-expiry {
    order: 4;
    width: calc(32% - 40px);
    background: #fff;
    border: 1px solid #4A9E92;
    padding: 20px 20px 0;
}
.swpm-logged-label {
    margin-bottom: 5px;
    color: #4A9E92;
    font-size: 18px;
}
.swpm-logged-value {
    margin-bottom: 20px;
    font-size: 16px;
}
.swpm-logged-username {
    width: calc(100% - 340px);
    order: 1;
    display: flex;
}
.swpm-logged-username .swpm-logged-label {
    margin: 4px 10px 0 16px;
    color: #900;
    font-size: 18px;
}
.swpm-logged-username .swpm-logged-value {
    margin-top: 4px;
    font-size: 18px;
}
.swpm-edit-profile-link {
    width: 200px;
    order: 2;
}
.swpm-logged-logout-link {
    width: 140px;
    order: 3;
}
.swpm-edit-profile-link a,
.swpm-logged-logout-link a {
    float: right;
    display: inline-block;
    margin-bottom: 20px;
    padding: 5px 20px;
    background: #e8e8e8;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #555;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    transition: .25s;
}
.swpm-edit-profile-link a {
    background: #4A9E92;
    border: 1px solid #4A9E92;
    color: #fff;
}
.swpm-edit-profile-link a:hover {
    background: #a8e1da;
}
.swpm-logged-logout-link a:hover {
    background: #f3f3f3;
}
/*
.swpm-edit-profile-link a {
    display: none!important;
}
*/

/* profile */
.swpm-edit-profile-form {
    max-width: 750px;
    margin: 50px auto;
}
.swpm-edit-profile-form table {
    width: 100%;
    border-top: 1px solid #4A9E92;
    font-size: 1rem;
}
.swpm-edit-profile-form table tr td {
    padding: 20px;
    border-bottom: 1px solid #4A9E92;
}
.swpm-edit-profile-form table tr td:nth-of-type(1) {
    background: #f1fffa;
}
.swpm-edit-profile-form table tr td:nth-of-type(2) {

}
.swpm-edit-profile-form input[type="text"],
.swpm-edit-profile-form input[type="password"] {
    border: 1px solid #4A9E92;
    padding: 10px;
    font-size: 1.125rem;
}
.swpm-edit-profile-form input[type="password"] {
    padding: 12px 10px;
    font-size: .875rem;
}
.swpm-edit-profile-form select {
    padding: 10px;
    font-size: 1rem;
}
.swpm-profile-username-row td:nth-of-type(2),
.swpm-profile-membership-level-row td:nth-of-type(2) {
    color: #900;
    font-weight: bold;
}
.swpm-profile-update-success {
    text-align: center;
}
.back-to-top-btn a {
    display: block;
    width: 300px;
    margin: -10px auto 50px;
    padding: 15px 0;
    background: #ddd;
    border-radius: 6px;
    color: #222;
    text-decoration: none;
    text-align: center;
    transition: .25s;
}
.back-to-top-btn a:hover {
    background: #e8e8e8;
}

.swpm-post-not-logged-in-msg {
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
}
.swpm-post-not-logged-in-msg a {
    display: block;
    width: 300px;
    margin: 30px auto 0;
    padding: 15px 0;
    background: #4A9E92;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    transition: .25s;
}
.swpm-post-not-logged-in-msg a:hover {
    background: #a8e1da;
}
.swpm-post-not-logged-in-msg a:nth-of-type(2) {
    display: none;
}
.swpm-post-no-access-msg {
    line-height: 1.5;
    margin: 50px 0;
    padding: 20px;
    background: #f1fffa;
    border: 5px solid #eee;
}

.swpm-edit-profile-form tr.swpm-profile-password-row,
.swpm-edit-profile-form tr.swpm-profile-password-retype-row {
    display: none!important;
}

@media screen and (max-width: 899px){
    
    /* top, password-change */
    
    .swpm-login-form-inner,
    .swpm-pw-reset-widget-form{
        margin: 5vw auto;
    }
    .swpm-login-form-submit,
    .swpm-pw-reset-submit,
    .swpm-edit-profile-submit{
        margin: 30px auto 45px;
        padding: 20px 0;
        width: 90%!important;
        font-size: 1rem;
    }
    
    .swpm-text-field {
        width: calc(100% - 20px)!important;
        margin: 10px 0 15px;
        padding: 10px;
        font-size: 1rem;
    }
    
    .swpm-post-not-logged-in-msg {
        margin: 100px auto 150px;
    }
    
    /* login top */
    
    .swpm-login-widget-logged {
        margin: 5vw 0 0;
        padding: 4vw;
    }

    .swpm-logged-value {
        margin-bottom: 2vw;
        font-size: 3.5vw;
    }
    .swpm-logged-username {
        width: 100%;
    }
    .swpm-logged-username .swpm-logged-label {
        margin: 0 2vw 2vw 0;
        font-size: 4vw;
    }
    .swpm-logged-username .swpm-logged-value {
        margin: 0;
        font-size: 4vw;
    }
    .swpm-edit-profile-link {
        width: 57%;
        order: 3;
    }
    .swpm-logged-logout-link {
        width: 40%;
        order: 4;
    }
    .swpm-logged-status,
    .swpm-logged-membership,
    .swpm-logged-expiry {
        order: 2;
        width: calc(100% - 30px);
        margin: 2vw 0;
        padding: 2vw 4vw 0;
    }
    .swpm-edit-profile-link a,
    .swpm-logged-logout-link a {
        float: none;
        display: block;
        width: 100%;
        margin: 2vw 0 0;
        padding: 8px 0;
    }
    
    /* profile */
    .swpm-edit-profile-form {
        margin: 0 auto;
    }
    .swpm-edit-profile-form table tr,
    .swpm-edit-profile-form table tr td {
        display: block;
        width: auto;
    }
    .swpm-profile-update-success {
        margin-bottom: 25px;
    }
    
}
@media all and (max-width: 479px){
    
    .swpm-post-not-logged-in-msg {
        margin: 8vw auto 15vw;
        padding-left: 2vw;
        padding-right: 2vw;
        font-size: 3.5vw;
    }
    .swpm-post-not-logged-in-msg a {
        width: calc(80% - 30px);
    }
    
}

