﻿
.username_ok,
.email_ok,
.mc_number_ok,
.mc_type_ok {
    color: #359746;
}

.username_bad,
.email_bad,
.mc_number_bad,
.mc_type_bad {
    color: #cc3300;
}

.tb_username_addon,
.tb_email_addon,
.mc_number_addon,
.mc_type_addon {
    visibility: hidden;
}

/*---------------------------------------------------------------*/

#content .addresses .expandable_body {
    padding-top: 0px;
    padding-bottom: 0px;
}

#content .address {
    position: relative;
    padding: 15px;
    background: #EFEFEF;
}

a.remove_address {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #666666 !important;
    z-index: 10;
}

/*---------------------------------------------------------------*/

.medical_student_show,
.trainee_show {
    display: none;
}

body.medical_student .medical_student_show,
body.trainee .trainee_show {
    display: initial;
}

body.medical_student .medical_student_hide,
body.trainee .trainee_hide {
    display: none;
}

.payment_method_descriptions,
.payment_frequency_descriptions {
    font-size: 0.9em;
    line-height: 1.4em;
}

/*---------------------------------------------------------------*/

.gift_aid {
    margin: 20px 0px 30px 0px;
    padding: 14px;
    background-color: #F5F5F7;
    border: 1px solid #CCCCCC;
}

    .gift_aid img {
        float: right;
        margin-left: 30px;
        width: 200px;
    }

@media screen and (max-width: 767px) {

    .gift_aid img {
        display: block;
        float: none;
        margin-left: 0px;
        margin-bottom: 14px;
    }
}

/*---------------------------------------------------------------*/

.alert_btn {
    display: block;
    margin-bottom: 15px;
    padding: 7px 10px;
    color: #FFFFFF !important;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
}

.alert_btn {
    background-color: #CE2029;
}

    .alert_btn:hover {
        background-color: #AE0009;
    }

@media screen and (max-width: 991px) {

    .alert_btn {
        margin-top: 20px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {

    .alert_btn {
        display: inline-block;
    }
}

/*---------------------------------------------------------------*/

.membership_number {
    float: right;
    margin: 4px 0px 15px 15px;
    padding: 6px 15px;
    color: #FFFFFF;
    background-color: #646464;
}

/*---------------------------------------------------------------*/

.page_subscription .payment_result,
.page_payment_history .payment_result {
    margin: 20px 0px;
    padding: 14px;
    background-color: #EEEEEE;
    border: 1px solid #CCCCCC;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}

    .page_subscription .payment_result p:last-child,
    .page_payment_history .payment_result p:last-child {
        margin-bottom: 0px;
    }

.page_subscription .membership_status {
    margin: 20px 0px;
    padding: 15px;
    color: #FFFFFF;
    font-size: 1.2em;
    line-height: 1.3em;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}

    .page_subscription .membership_status strong {
        white-space: nowrap;
    }

.page_subscription .membership_active {
    background-color: #5CB85C;
}

.page_subscription .membership_pending_cancellation {
    background-color: #4E90AF;
}

.page_subscription .membership_expiring {
    background-color: #F0AD4E;
}

.page_subscription .membership_overdue {
    background-color: #D9534F;
}

.page_subscription .membership_suspended {
    background-color: #CA2824;
}

.page_subscription .membership_ended {
    background-color: #4E90AF;
}

.page_subscription .membership_terminated {
    background-color: #222222;
}

.page_subscription .gift_aid {
    margin-top: 40px;
}

/*---------------------------------------------------------------*/

.members_intro {
    margin-top: 10px;
    color: #000000;
    background-color: #E4F2FA;
}

    .members_intro h2 {
        margin-bottom: 20px;
        color: #0C265D;
    }

    .members_intro .row {
        margin-left: 0px;
        margin-right: 0px;
    }

        .members_intro .row > div {
            padding: 20px;
            min-height: 240px;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
        }

/*---------------------------------------------------------------*/

.members_nav_blocks {
    margin-top: 30px;
}

    .members_nav_blocks .row {
        margin-left: -7px;
        margin-right: -7px;
    }

    .members_nav_blocks section {
        margin-bottom: 14px;
        padding-left: 7px;
        padding-right: 7px;
    }

        .members_nav_blocks section a {
            background-color: #a77bac;
            border-radius: 10px;
            color: #FFFFFF;
            display: table;
            font-weight: normal;
            height: 100%;
            line-height: 1.4em;
            min-height: 82px;
            padding: 10px;
            position: relative;
            text-decoration: none;
            vertical-align: middle;
            width: 100%;
            transition: background-color 0.2s ease;
            -moz-transition: background-color 0.2s ease;
            -webkit-transition: background-color 0.2s ease;
            -o-transition: background-color 0.2s ease;
        }

            .members_nav_blocks .top section:nth-of-type(2n) a:hover,
            .members_nav_blocks .bottom section:nth-of-type(2n+1) a:hover,
            .members_nav_blocks section a:hover,
            .members_nav_blocks section:first-of-type a:hover,
            .members_nav_blocks section:last-of-type a:hover {
                background-color: #d7c9d8;
            }

            .members_nav_blocks section a img {
                display: table-cell;
                margin: 0 auto;
            }

            .members_nav_blocks section a span {
                display: table-cell;
                color: #FFFFFF;
                font-size: 1.1em;
                line-height: 1.1em;
                padding-left: 10px;
                vertical-align: middle;
                width: 85%;
            }

.members_section {
    background: #7db7dd;
    border-radius: 10px;
    color: #fff;
    padding: 20px 30px 50px;
    position: relative;
}

    .members_section.alt {
        background: #164a7c;
    }

    .members_section h2 {
        border-bottom: 1px solid #fff;
        color: #fff;
        font-size: 1.4em;
        padding-bottom: 10px;
        text-transform: uppercase;
    }

    .members_section .final_link_container {
        bottom: 20px;
        position: absolute;
        right: 30px;
    }

    .members_section .btn_block_xs {
        text-transform: uppercase;
    }

    .members_section a,
    .members_section small {
        color: #fff;
    }

/*---------------------------------------------------------------*/

.membership_subscription_summary {
    background: #f3f3f3;
    padding: 20px;
}

    .membership_subscription_summary section {
        border-right: #808080 1px solid;
        padding: 10px 15px;
    }

        .membership_subscription_summary section:last-of-type {
            border-right: none;
        }

    .membership_subscription_summary h3 {
        color: #9a9a9a;
        font-size: 1em;
        margin: 0;
    }

    .membership_subscription_summary strong {
        color: var(--secondary);
        font-weight: normal;
        font-size: 1.5em;
    }

    .membership_subscription_summary p {
        margin: 5px 0 0;
    }

/*---------------------------------------------------------------*/

@media screen and (max-width: 767px) {
    .membership_subscription_summary {
        margin-top: 15px;
    }

        .membership_subscription_summary section {
            border-right: none;
        }
}

/*---------------------------------------------------------------*/

.complete_profile {
    background: #f3f3f3;
    margin-top: 20px;
    padding: 10px 20px 15px;
}

    .complete_profile p {
        margin-bottom: 10px;
    }

    .complete_profile .bar {
        background: #d7c9d8;
        border-radius: 5px;
        height: 20px;
    }

        .complete_profile .bar .percent {
            background: #a77bac;
            border-radius: 5px;
            height: 100%;
        }

.certificate_button {
    background: #f3f3f3;
    border-radius: 10px;
    color: #000;
    display: block;
    margin-bottom: 20px;
    padding: 10px;
    padding-left: 40px;
    text-indent: -30px;
    transition: background-color 0.2s ease;
    -moz-transition: background-color 0.2s ease;
    -webkit-transition: background-color 0.2s ease;
    -o-transition: background-color 0.2s ease;
}

    .certificate_button:hover {
        background: #e9e9e9;
    }

    .certificate_button.inline {
        margin-bottom: -15px;
    }

    .certificate_button img {
        padding-right: 5px;
    }

/*---------------------------------------------------------------*/

.twitter_container {
    background: white;
}