﻿
.user-name {
    color: var(--sec);
}

.username_ok,
.email_ok {
    color: #359746;
}

.username_bad,
.email_bad {
    color: #cc3300;
}

.tb_username_addon,
.tb_email_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;
}

/*---------------------------------------------------------------*/

.payment_method_descriptions,
.membership_category_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;
}

/*---------------------------------------------------------------*/

.certificate_btn,
.alert_btn {
    border-radius: 5px;
    color: #FFFFFF !important;
    display: block;
    padding: 7px 10px;
    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(--pri);
}

.certificate_btn:hover {
    background-color: var(--pri);
}

.alert_btn {
    background-color: #CE2029;
}

.alert_btn:hover {
    background-color: #AE0009;
}

/*---------------------------------------------------------------*/

.page_home.master_lower #content {
    margin-top: 30px;
}

.members_nav_blocks {
    margin-top: 30px;
}

.members_nav_blocks section a {
    background-color: var(--pri);
    background-position: 95% 35%;
    background-repeat: no-repeat;
    background-size: 55px auto;
    border-radius: 6px;
    color: #FFFFFF;
    display: block;
    height: 100%;
    padding: 10px;
    position: relative;
    width: 100%;
    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;
}

.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: var(--sec);
}

.members_nav_blocks section a h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF !important;
    text-align: center;
    font-weight: normal;
    font-size: 1.25em;
    width: 75%;
}

.members_nav_blocks section {
    height: 110px;
    margin-bottom: 30px;
}

/*---------------------------------------------------------------*/

.latest_newsletter {
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 80px auto;
    padding-right: 80px;
}

/*---------------------------------------------------------------*/
/* Member Certificate */

.centered {
    margin: 0 auto;
}

.centered_text {
    text-align: center;
}

#cert_container {
    border: 15px solid #C6C6C6;
    display: table;
    height: 600px;
    padding: 25px;
    width: 100%;
}

#cert_container > div {
    display: table-cell;
    vertical-align: middle;
}

#cert_container h1 {
    margin: 10px 0;
}

#cert_container h2 {
    color: #000;
    font-size: 30px;
    margin: 10px 0 12px 0;
}

#cert_container p {
    font-size: 25px;
}

#cert_container .bottom p {
    font-size: 16px;
}

/*---------------------------------------------------------------*/
/* RESPONSIVE */
@media screen and (max-width: 1199px) {
    .members_nav_blocks section a h3 {
        font-size: 1.1em;
    }
}

@media screen and (max-width: 991px) {
    .certificate_btn,
    .alert_btn {
        margin-top: 20px;
    }
}

@media screen and (max-width: 991px) and (min-width: 768px) {
    .certificate_btn,
    .alert_btn {
        display: inline-block;
    }
}

@media screen and (max-width: 767px) {
    .members_nav_blocks section {
        height: 100px;
    }

    .members_nav_blocks section a {
        font-size: 0.8em;
        text-align: center;
    }

    .members_nav_blocks section a h3 {
        width: auto;
        left: 0px;
        right: 0px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .gift_aid img {
        display: block;
        float: none;
        margin-left: 0px;
        margin-bottom: 14px;
    }
}

#profile-modal .modal-dialog {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

#profile-modal .modal-content {
    background: rgba(0,0,0,.85);
    color: #fff;
    border-radius: 0;
    text-align: center;
}

#profile-modal .close {
    color: #fff;
    opacity: 1;
}

#profile-modal .modal-header,
#profile-modal .modal-body,
#profile-modal .modal-footer {
    border: none;
    padding-left: 2em;
    padding-right: 2em;
    text-align: center;
}