/*
Theme Name: Wings of Rogallo (Salient Child Theme)
Description: This is a custom child theme for WORt
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

body.home .blog-recent[data-style="classic_enhanced_alt"] .inner-wrap .article-content-wrap,
body.home .blog-recent[data-style*="classic_enhanced_alt"] .inner-wrap:not(.has-post-thumbnail) .article-content-wrap {
    padding: 10px 17px !important;
}

#top {
    box-shadow: 2px 2px 6px rgba(0,0,0,.1);
}

#ushpa_nonmember_reason {
    height: 43px;
    background-color: rgba(0, 0, 0, 0.04);
}

span.wpcf7-form-control-wrap {
    margin-bottom: 4px;
}

.last-updated {
    color: #AAAAAA;
}

.woocommerce-cart-form td.actions {
    display: none;
}

#checkUshpa {
    background-color: green;
    color: white;
    cursor: pointer;
    -webkit-appearance: none;
}
.woocommerce-MyAccount-content .vc_column-inner {
    padding: 20px;
}
.error, .warn {
    margin: 5px 0 15px;
    padding: 1px 10px;
    background-color: #f6f6f6;
    border: 1px solid #ccd0d4;
    border-left-width: 4px;
    border-left-color: #dc3232;
    box-shadow: 0 1px 1px rgba(0,0,0, .04);
}
.error p,
.warn p {
    padding-top: 1.5em;
}
.warn {
    border-left-color: #f5b642;
}

#message.updated,
.success {
    margin: 5px 0 15px;
    padding: 1px 10px;
    background-color: #f6f6f6;
    border: 1px solid #ccd0d4;
    border-left-width: 4px;
    border-left-color: #46b450;
    box-shadow: 0 1px 1px rgba(0,0,0, .04);
}

.success .title {
    font-weight: bold;
}
.success span {
    padding-right: 10px;
}

.club_ushpa_info {
    border: 1px solid grey;
    padding: 10px;
    margin-bottom: 10px;
}

.woocommerce-checkout-review-order-table .product-info .product-membership-expiration {
    font-size: 13px;
    display: block;
}

.woocommerce .woocommerce-info a {
    text-decoration: underline;
}

.remaining {
    color: red;
    margin-bottom: 20px;
}
.no-remaining-wrap {
    margin-bottom: 20px;
}

.no-remaining {
    margin-bottom: 5px;
    font-size: 1.3em;
    border: 1px solid grey;
    border-radius: 4px;
    padding: 4px 10px;
    background-color: rgba(187, 85, 85, .99);
    color: #ffffff;
    box-shadow: #ccc -2px 2px;
    display: inline-block;
}
.sale-ended {
    margin-bottom: 20px;
    font-size: 1.3em;
    border: 1px solid grey;
    border-radius: 4px;
    padding: 4px 10px;
    background-color: rgba(32, 114, 255, 0.56);
    color: white;
    box-shadow: #ccc -2px 2px;
    display: inline-block;
}


#add-donation-table th, #add-donation-table td {
    border: none;
}

#add-donation-table {
    border: 1px solid #ececec;
}

#add-donation-form .button {
    margin-left: 20px;
}

.remove-donation-button {
    opacity: 1!important;
    -ms-filter: "alpha(opacity=100)";
    -ms-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transform: translateX(0px)!important;
    box-shadow: none !important;
}

span.donation-add {
    background: lightgrey;
    text-align: center;
    width: 50px;
    height: 27px;
    display: inline-block;
    color: white;
    border-radius: 4px;
}

.woocommerce div.product_meta,
.woocommerce .products.related,
.woocommerce .wcppec-checkout-buttons {
    display: none !important;
}

.membership-info-name {
    font-size: 1.3em;
}

.woocommerce ul.products li.product .onsale.wc-memberships-member-discount {
    width: auto !important;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--member-search a:before {
    content: "\f0c0";
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--keyholder-info a:before {
    content: "\f1b9";
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--orders a:before {
    content: "\f1da";
}

/** member search **/
#member_search_results {
    display:none;
    padding:20px 10px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    margin-top: 20px;
}
.membersearch-user {
    border-bottom: 1px solid grey;
    clear: both;
    padding: 10px;
    overflow: auto;
    background-color: #e8f5fc;
}

.membersearch-user div {
    margin: 2px 3px 2px;
    float: left;
}

.membersearch-user:first-of-type {
    border-top: 1px solid #eee;
}
.membersearch-user:nth-child(even) {
    background-color: white;
}

.membername {
    width: 150px;
    font-size: 1.1em;
    font-weight: 700;
}
.membersearch-user .appointment,
.member-status.active,
.member-status.expired,
.member-status.nonmember,
.ed-waiver,
.no-ed-waiver,
.ushpa-number {
    border: 1px solid lightgrey;
    padding: 3px 5px;
    background-color: #efffe0;
}
.member-status.expired,
.member-status.nonmember,
.ushpa-number.non-member,
.no-ed-waiver,
.ushpa-number.expired {
    background-color: #ffe3e0;
}
.emergency-contact {
    clear: both;
    padding-top: 10px;
}
.admin-link {
    padding-top: 10px;
    overflow: auto;
    clear: both;
}

.grecaptcha-badge { visibility: hidden; }

#footer-outer .row {
    padding: 10px !important;
    color: #666666;
}

#footer-outer .row a:link {
    text-decoration: underline;
    color: #666666;
}

#footer-outer .widget {
    margin-bottom: 1px !important;
}

/**
member profile /m/12345/ page info
 */
.member-profile-wrap {
    width: 500px;
    margin: auto;
    border: 1px solid #000;
    box-shadow: 5px 5px 2px rgba(0,0,0,.5);
    margin-bottom: 40px;

}
.member-profile-header {
    border-bottom: 1px solid #808080;
    overflow: auto;
    padding: 0 5px;
}
.member-profile-header .logo {
    float:left;
}
.member-profile-header .logo img {
    max-width: 175px;
}
.membership-status {
    float: right;
    text-align: right;
}
.membership-status .member .title {
    font-size: 1.8em;
    font-weight: bold;
    text-transform: uppercase;
}
.membership-status .member.not-a-member .title {
    font-size: 2.5em;
    line-height: 1.2em;
}
.member-profile-wrap .name-bar {
    clear: both;
    padding: 4px 20px;
    background-color: #080;
    color: white;
    font-size: 1.4em;
    font-weight: bold;
}
.member-profile-wrap .name-bar.red {
    background-color: #f00;
}
.member-profile-wrap .appointment {
    background-color: #D1E8CB;
    padding: 5px 20px;
    font-weight: bold;
    border-bottom: 1px solid #999999;
}
.member-profile-wrap .site {
    width: 33.235%;
    float: left;
    text-align: center;
    border-right: 1px solid #808080;
    padding-top: 5px;
    min-height: 185px;
}
.member-profile-wrap .row2 .site {
    width: 50%;
    border-top: 1px solid #808080;
}
.member-profile-wrap .site.error {
    width: 66.666%;
}
.member-profile-wrap .site.error ul {
    text-align:left;
}
.member-profile-wrap .site:last-of-type {
    border-right: none;
}
.member-profile-wrap .site .title {
    font-size: 1.3em;
    font-weight: 600;
    line-height: normal;
}
.member-profile-wrap .site .qrtext {
    font-size: .8em;
    line-height: normal;
}
.member-profile-wrap .row {
    padding-bottom: 0;
}
.member-profile-wrap .footer {
    border-top: 1px solid #808080;
    font-size: 1em;
    text-align: center;
}
.qrcode img {
    margin-bottom: -5px;
}
.stickers {
    padding-top:20px;
}

.sticker-disclaimer {
    text-align: center;
    color: red;
    font-size: .9em;
    clear: both;
}

tr.cart-subtotal {
    display: none;
}

span.edit-link {
    font-size: .6em;
    margin-left: 10px;
}

.waivers {
    overflow: auto;
}

.waiver.not-signed {
    background-color: #fbe3e3;
}

.waiver {
    border: 1px solid #cccccc;
    padding: 10px;
    background-color: #edf9ee;
    margin: 2% 0;
}

.woocommerce-error a,
.woocommerce-error a:visited {
color: #fff !important;
text-decoration: underline;
}
.woocommerce-error a:hover {
    color:#faff00 !important;
}

@media only screen and (max-width: 1000px) and (min-width: 1px) {
    /*body #header-outer[data-permanent-transparent="false"] header#top #logo.no-image {*/
    /*    color: inherit !important;*/
    /*}*/
    #ushpaResults .ushpa_block {
        display: block;
        width: 100%;
    }
    .member-profile-wrap {
        transform: scale(.9);
    }
}
@media only screen and (max-width: 700px) and (min-width: 1px) {
    .member-profile-wrap {
        margin: 0;
        width: auto;
    }
    .member-status {
        font-size: .8em;
    }
    .member-profile-wrap .site .title {
        font-size: 1.1em;
    }

}


/* Style WC Account Endpoint Links */
nav.woocommerce-MyAccount-navigation ul {
    list-style-type: none;
    padding-left: 0;
    max-width:250px;
    /*font-size: 17px;*/
    /*line-height: 26px;*/
}
nav.woocommerce-MyAccount-navigation ul li {
    padding: 8px 20px;
    background-color: rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 9999;
}
nav.woocommerce-MyAccount-navigation ul li.is-active {
    background-color: rgba(0,0,0,0.1);
}
nav.woocommerce-MyAccount-navigation ul li.is-active a {
    color: rgba(0,0,0,0.8); cursor: default;
}
nav.woocommerce-MyAccount-navigation ul li.is-active:after {
    content: "";
    height: 0;
    width: 0;
    border-top: 20px solid transparent;
    border-left: 14px solid rgba(0,0,0,0.1);
    border-bottom: 20px solid transparent;
    float: right;
    margin-right: -34px;
    margin-top: -37px;
}
nav.woocommerce-MyAccount-navigation ul li:not(.is-active):hover {
    background-color: rgba(0,0,0,0.07);
}
nav.woocommerce-MyAccount-navigation ul li:not(.is-active):hover:after {
    content: "";
    height: 0;
    width: 0;
    border-top: 20px solid transparent;
    border-left: 14px solid rgba(0,0,0,0.07);
    border-bottom: 20px solid transparent;
    float: right;
    margin-right: -34px;
    margin-top: -37px;
}

.windy-permit-file {
    background: #efefef;
    display: inline-block;
    padding: 10px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid lightgrey;
}

tr.tax-total {
    display:none !important;
}

.windy-permit-file img {
    margin-bottom: 0 !important;
}

.woocommerce-MyAccount-navigation ul li a {
    padding: .35em 0;
}

#electronic_communication_field .woocommerce-input-wrapper input {
    float: left;
    margin-right: 10px;
}

/* Change WC Acct Page Column Widths */
@media only screen and (min-width: 769px) {
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 22%;
    }
    .woocommerce-account .woocommerce-MyAccount-content {
        width: 75%;
    }
    .waiver {
        margin: 2%;
        width: 45%;
        float: left;
    }
}

/* Change WC Acct Page Column Widths */
@media only screen and (max-width: 690px) {
    .member-profile-header .logo,
    .member-profile-header .membership-status {
        float: none;
        text-align: center;
        font-size: .9em;
    }

    .membership-status .member .title {
        font-size: 1.5em;
    }

    .member-profile-wrap .site .title {
        font-size: .9em;
    }
    .member-profile-wrap .footer {
        font-size: .8em;
    }
}

.woocommerce .mobile-my-account-menu {
    display: none;
    cursor: pointer

}
.admin-log-items span {
    margin: 0 10px;
    cursor: pointer;
}
.signin-emergency-contact {
    border: 1px solid red;
    margin: 0 auto 10px;
    min-width: 50%;
    padding: 10px;
}
input[type=text], textarea, input[type=email], input[type=password], input[type=tel], input[type=url], input[type=search], input[type=date], .material.woocommerce-page[data-form-style=default] input#coupon_code {
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,.2);
}

table.striped-table {
    max-width: 700px;
}

table.striped-table, .striped-table th, .striped-table td {
    border: 1px solid black;
}

.admin-link a.button {
    margin-bottom: 3px;
}

.somerestrictions,
.striped-table tr td {
    background-color: lightgoldenrodyellow;
}

.norestrictions,
.striped-table tr:nth-child(2n) td {
    background-color: #b3e8b3;
}
.striped-table tr:first-of-type td {
    background-color: blue;
    color: white;
    font-weight: bold;
}

.membership-content .wpcf7 .wpcf7-checkbox {
    font-size: 1.5em;
}
.membership-content .wpcf7 input[type=text],
.membership-content .wpcf7 input[type=email] {
    width: 300px;
}

textarea.keyholder-comments {
    height: 5em;
}
.membership-content .wpcf7 input[type=checkbox] {
    width: 20px;
    height: 20px;
}

.wpcf7-form .wpcf7-not-valid-tip {
    color: red;
    font-size: 1.3em;
    font-weight: bold;
}

@media only screen and (max-width: 768px) {
    nav.woocommerce-MyAccount-navigation ul li {
        display: none;
    }
    nav.woocommerce-MyAccount-navigation ul li.is-active {
        display: block;
    }

    .woocommerce .mobile-my-account-menu {
        display: block;
        margin-top: -10px;
        margin-bottom: 10px;
        padding-left: 10px;
    }


}