﻿
.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: rgba(var(--purple-rgb),.1);
    box-shadow: none;
}
    #content .address summary{
        background: var(--purple);
    }
        #content .address summary .chip {
            background: var(--pink);
        }

        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;
    }
}

/*---------------------------------------------------------------*/

.certificate_btn,
.alert_btn {
    display: block;
    margin-bottom: 15px;
    padding: 7px 10px;
    color: #FFFFFF !important;
    text-align: center;

    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;
}

.certificate_btn {
    background-color: var(--pink);
}
    .certificate_btn::before {
        content: "";
        position: absolute;
        left: 100%;
        top: 0px;
        bottom: -1px;
        width: 15px;
        background: var(--pink);
        clip-path: polygon(0% 0%,0% 100%,100% 50%);
        z-index: 1;
        transition: background .3s linear, color .3s linear;
    }
    .certificate_btn:hover::before,
    .certificate_btn:hover {
        background-color: var(--pink-dark);
    }

.alert_btn {
    background-color: #CE2029;
}

.alert_btn:hover {
    background-color: #AE0009;
}

@media screen and (max-width: 991px) {

    .certificate_btn,
    .alert_btn {
        margin-top: 20px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {

    .certificate_btn,
    .alert_btn {
        display: inline-block;
    }
}

/*---------------------------------------------------------------*/

.membership_number {
    float: right;
    margin: 4px 0px 15px 15px;
    padding: 6px 15px;
    color: #FFFFFF;
    background-color: var(--blue-dark);
}

/*---------------------------------------------------------------*/

.page_subscription .payment_result,
.page_payment_history .payment_result {
    margin: 20px 0px;
    padding: 14px 20px;
    background-color: rgba(var(--purple-light-rgb), .3);
    -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 {
    --bg: var(--purple-dark);
    --font: #000;
    --icon: "\f633";
    /**/
    margin: 20px 0px;
    padding: 15px;
    color: var(--font);
    background-color: var(--bg);
    line-height: 1.3em;
    border-radius: 4px;
}
    .page_subscription .membership_status::before {
        position: relative;
        top: 2px;
        content: var(--icon);
        display: inline-block;
        font-family: bootstrap-icons !important;
        font-style: normal;
        font-weight: 400 !important;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        vertical-align: -.125em;
        -webkit-font-smoothing: antialiased;
        margin-right: 10px;
    }

    .page_subscription .membership_status strong {
        white-space: nowrap;
    }

.page_subscription .membership_active {
    --bg: var(--success-bg);
    --icon: "\f633";
}

.page_subscription .membership_pending_cancellation {
    --bg: rgba(var(--purple-light-rgb), .3);
    --icon: "\F623";
}

.page_subscription .membership_expiring {
    --bg: rgba(var(--purple-light-rgb), .3);
    --icon: "\F33B";
}

.page_subscription .membership_overdue {
    --bg: var(--warning-bg);
    --icon: "\F33B";
}

.page_subscription .membership_suspended {
    --bg: var(--danger-bg);
    --icon: "\F33A";
}

.page_subscription .membership_ended {
    --bg: #a8c7ff;
    --icon: "";
}

.page_subscription .membership_terminated {
    --bg: #d8d8d8;
    --icon: "";
}

.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 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0 0 30px;
}
    .members_nav_blocks a {
        display: flex;
        height: 120px;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        color: #fff;
        background: var(--purple);
        transition: background .3s ease;
    }
        .members_nav_blocks a:hover {
            background: var(--blue-dark);
        }
        .members_nav_blocks a i {
            font-size: 1.4em;
            margin-bottom: 5px;
        }
/*
.members_nav_blocks .row {
    margin-left: -7px;
    margin-right: -7px;
}*/
/*
.members_nav_blocks section {
    margin-bottom: 14px;
    padding-left: 7px;
    padding-right: 7px;
    height: 60px;
}

.members_nav_blocks section a {
    position: relative;
    display: block;
    padding: 10px;
    width: 100%;
    height: 100%;
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
    font-weight: normal;
    line-height: 1.4em;
    vertical-align: middle;
    background-color: #3192D6;
    transition: background-color 0.1s ease;
    -moz-transition: background-color 0.1s ease;
    -webkit-transition: background-color 0.1s ease;
    -ms-transition: background-color 0.1s ease;
    -o-transition: background-color 0.1s 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: #0A988A;
}

.members_nav_blocks section a span {
    display: inline-block;
    color: #FFFFFF;
    font-size: 1.1em;
    line-height: 1.1em;
    vertical-align: middle;
}*/

/*---------------------------------------------------------------*/