﻿
.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 .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;
    }
}

/*---------------------------------------------------------------*/

.journalAccess_btn,
.alert_btn {
    display: block;
    margin-bottom: 15px;
    padding: 10px;
    color: #FFFFFF !important;
    text-align: center;
    border-radius: 10px;
    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;
}

.journalAccess_btn {
    background-color: rgb(38, 51, 123);
}

.journalAccess_btn:hover {
    background-color: #fd973c;
}

.alert_btn {
    background-color: #CE2029;
}

.alert_btn:hover {
    background-color: #AE0009;
}

.journalAccess_btn i {
    margin-left: 10px;
}



/*---------------------------------------------------------------*/

.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_nav_blocks {
    margin-top: 25px;
}

.members_nav_blocks section {
    height: 80px;
    margin-bottom: 15px;
}

.members_nav_blocks section a {
    position: relative;
    display: block;
    padding: 10px 15px;
    width: 100%;
    height: 80px;
    color: #FFFFFF;
    text-decoration: none;
    text-align: left;
    font-weight: normal;
    line-height: 32px;
    vertical-align: middle;
    background-color: #fd973c;
    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: #222a5e;
        color: #FFFFFF !important;
    }

.members_nav_blocks .members_nav_blocks_img {
    margin-right: 15px;
    float: left;
    width: 60px;
    height: 60px;
    position: relative;
}

.members_nav_blocks img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-height: 100%;
    max-width: 100%;
}

.members_nav_blocks .members_nav_blocks_text {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 60px;
    color: white;
    font-size: 16px;
    line-height: 20px;
}

.side_menu_container a.parent {
    display: block;
    padding: 10px;
    text-decoration: none;
    background: #f3f3f3;
    color: #444;
    font-size: 1rem;
    border-bottom: 2px solid #fff;
}

.side_menu_container a.parent:hover {
    background: rgba(0,0,0,0.2);
}

.inline_event_member,
.inline_news_member {
    background-color: #e9e9e9;
    padding: 15px;
}

.inline_event_member a.btn-default,
.inline_news_member a.btn-default {
    color: #222a5e;
    background: none;
    border: none;
    text-shadow: none;
    box-shadow: none;
    padding: 0;
}

.inline_event_member a.btn-default:hover,
.inline_news_member a.btn-default:hover {
    color: #fd973c;
}

.inline_event_member .inline_event_date,
.inline_news_member .inline_news_date {
    margin: 8px 0 0 0;
    color: #222a5e;
}

.inline_event_member h3,
.inline_news_member h3 {
    margin: 4px 0;
}

.inline_event_member img,
.inline_news_member img {
    object-fit: cover;
    min-width: 100%;
    height: 180px;
}

.inline_news_member img {
    object-position: center top;
}

.members_title_area {
    display: block;
}

#members_title {
    margin-bottom: 20px;
}

.journal_access {
    float: right;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 95px;
    /*width: 264px;*/
}

.journal_access_btn {
    display: inline-block;
    padding: 10px 10px 10px 50px;
    font-size: 1.2em;
    font-weight: 300;
    background-color: #26337b;
    color: #fff !important;
    border-radius: 10px;
    background-image: url(../images/btn_logo.png);
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 30px;
}

.journal_access_btn:hover {
    background-color: #fd973c;
}

/*---------------------------------------------------------------*/

@media screen and (max-width: 1199px) {
    .journal_access_btn {
        font-size: 1em;
    }
}

@media screen and (max-width: 991px) {

    .journal_access {
        float: none;
    }

    .journalAccess_btn,
    .alert_btn {
        margin-top: 10px;
        padding: 10px 20px;
        display: inline-block;
    }

    .journal_access {
        padding: 25px 80px 25px 0 !important;
        background-size: 75px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {

    .journalAccess_btn,
    .alert_btn {
        display: inline-block;
    }

}