﻿
.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;
}

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;
    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;
}

.certificate_btn {
    background-color: #2AB8AA;
}

    .certificate_btn:hover {
        background-color: #0A988A;
    }

.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: linear-gradient(45deg, var(--blue), var(--blue-dark));
    border-radius: 10px;
}

/*---------------------------------------------------------------*/

.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;
        }

/*---------------------------------------------------------------*/


.member_blocks {
    --cols: 4;
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--cols), 1fr);
    background-image: linear-gradient(45deg, #4fbcf0, #00438a);
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin-top: 10px;
    margin-bottom: 30px;
}

    /*.member_blocks::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-image: url(../../images/artp-arrows.png);
        background-size: 85% auto;
        background-repeat: no-repeat;
        background-position: left 12px;
        mix-blend-mode: color-dodge;
        opacity: .3;
    }*/
    .member_blocks::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-image: url(../../images/default-banner.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: left 12px;
        mix-blend-mode: overlay;
        opacity: .6;
        filter: brightness(.8);
    }

    .member_blocks:last-of-type {
        margin-bottom: 4em;
    }

.member_block {
    position: relative;
    border: 5px solid white;
    border-radius: 15px;
}


    .member_block:hover::before {
        background: var(--blue-light);
    }

    .member_block::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        mix-blend-mode: color-burn;
        transition: all .3s ease;
    }

    .member_block::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: transparent;
        outline: 5px solid white;
    }

    .member_block.blank {
        background: #fff;
    }

    .member_block a {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
    }

    .member_block i {
        margin-bottom: 8px;
        font-size: 1.6em;
    }

    .member_block span {
        position: relative;
        display: flex;
        flex-flow: column;
        height: 135px;
        /*background: var(--blue);*/
        justify-content: center;
        align-items: center;
        color: #fff;
        padding: 10px 15px;
        text-align: center;
        line-height: 1.3em;
        z-index: 1;
    }

/*---------------------------------------------------------------*/
