/* To make "MEMBER PORTAL" fit in top menu, decrease 18px to 17px */
#navigation li a {
  padding: 11px 17px 10px 17px;
}
/* Make nav menu Member Login and Member Portal red */
/*
li.menu-item-23181.current-menu-item > a, li.menu-item-23180.current-menu-item > a {
  color: #FF5050 !important;
}
li.menu-item-23181 > a, li.menu-item-23180 > a {
  color: #DD0000 !important;
}
*/

/* Formatting changes for member-portal template */
/* To keep post content from going 940px */
.page-template-member-page #fullwidth .post-entry {
  width: 100%;
}

/* Restore the member-page column layout */
.page-template-member-page .wp-block-columns.member-portal {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.page-template-member-page .member-portal > .wp-block-column {
    min-width: 0;
    overflow-wrap: break-word;
}

/* Desktop: preserve the template's 15% / 70% / 15% columns */
@media (min-width: 782px) {
    .page-template-member-page .wp-block-columns.member-portal {
        flex-wrap: nowrap;
    }

    .page-template-member-page .member-portal > .wp-block-column {
        flex-grow: 0;
    }
}

/* Mobile: let the content use the available width */
@media (max-width: 781px) {
    .page-template-member-page .member-portal > .wp-block-column {
        flex-basis: 100% !important;
    }
}

.page-template-member-page body, .page-template-member-page p, .page-template-member-page h1, .page-template-member-page h2, .page-template-member-page h3, .page-template-member-page h4, .page-template-member-page h5 {
  font-family: 'Open Sans' !important;
  font-style: normal !important;
}
.page-template-member-page h1, .page-template-member-page h2, .page-template-member-page h3, .page-template-member-page h4, .page-template-member-page h5 {
  font-weight: bold !important;
}
.page-template-member-page .member-portal p {
  font-size: 15px !important;
  line-height: 1.6em !important;
  color: #000030;
  padding-bottom: 5px;
}
.page-template-member-page .member-portal ul {
  padding-bottom: 1px;
}
.page-template-member-page .member-portal li {
  font-size: 15px;
  line-height: 1.4em;
  color: #000030;
  font-family: "Open Sans";
}
.page-template-member-page .post-heading h1 {
  font-size: 24px;
  font-weight: bold;
  font-style: normal;
  text-shadow: 0 !important;
  border-color: rgba(53, 61, 89, 1);
  border-width: 10px;
}
.page-template-member-page .post-heading {
  background-image: radial-gradient(#2b4599, #1c2a58);
  text-align: center;
  padding: 24px 0 24px 0;
  margin-bottom: 24px;
}
.page-template-member-page .post-heading h1 {
  color: white;
  text-shadow: 0px 0px 0px !important;
}
.member-portal-header {
  width: 740px;
  margin: 0 auto;
  margin-top: -5px;
  padding-bottom: 10px;
}

/* Hide widgets in the footer */
.page-template-member-page .widget {
  display: none;
}
.page-template-member-page #wrapper-footer {
  padding-top: 0px;
}

.p4_user_meta_table td {
  padding: 5px 10px 5px 10px;
}

/*
 * FLUENT FORMS CUSTOM STYLING
 */
.fluentform .ff-el-group {
  margin-bottom: 10px !important;
}
/* member profile form, add this to prevent space under fields that have help text */
#fluentform_5 p {
  margin-bottom: 0px;
}
/* Move help text to the right a bit */
.ff-el-help-message {
  padding-left: 10px;
}
/* for login and registration forms, increase right margin */
.fluentform_wrapper_3 .ff-el-form-left .ff-el-input--content, .fluentform_wrapper_3 .ff-el-form-right .ff-el-input--content {
    margin-right: 60px;
}
.fluentform_wrapper_4 .ff-el-form-left .ff-el-input--content, .fluentform_wrapper_4 .ff-el-form-right .ff-el-input--content {
  margin-right: 60px;
}
.fluentform_wrapper_5 .ff-el-form-left .ff-el-input--content, .fluentform_wrapper_5 .ff-el-form-right .ff-el-input--content {
  margin-right: 60px;
}
/* error messages */
.ff-errors-in-stack {
  margin-top: 0px;
  margin-left: 40px;
  margin-bottom: 10px;
}
.fluentform .text-danger {
  color: #DD0000 !important;
}
/* success message styling */
.ff-message-success {
  box-shadow: 0 0px 0px transparent !important;
  border: 0px transparent !important;
  padding: 30px 20px 10px 30px !important;
  margin: 0 !important;
}
.ff-message-success span {
  color: #DD0000 !important;
  font-weight: bold !important;
}

p.p4_box {
  border-style: solid;
  border-color: rgba(53, 61, 89, 1);
  border-radius: 20px;
  padding: 40px 60px !important;
  background-color: rgba(74, 89, 143, 0.34);
}

div.p4_box_small {
  border-style: solid;
  border-color: rgba(53, 61, 89, 1);
  border-radius: 20px;
  padding: 30px 50px 15px 50px !important;
  background-color: rgba(74, 89, 143, 0.34);
}
ul.p4_ul {
  margin-bottom: 0px;
  list-style: none !important;
}
.p4_ul li:before {
  list-style: none;
  color: #224;
  content: '\27A4';
  margin-left: -20px;
  margin-right: 10px;
}
/* hide ugly bullet on list items */
.p4_ul li {
  background-image: none !important;
}

.p4-button a.wp-block-button__link {
  background-color: rgba(32, 55, 131, 1);
  padding-top: 10px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  text-decoration: none;
  border-radius: 4px;
}
.p4-button a.wp-block-button__link:hover {
  background-color: rgba(34, 69, 187, 1);
}
.p4-button {
  padding-right: 10px;
}

/* Layout changes for confirm-profile-changes page */
table#profile-change {
  width: 100%;
}







/*****************************************************************
Reset password form/page styling

styles for when WPtouch IS actively styling the page
body.wptouch-styling xxx {
}
styles for when WPtouch IS NOT actively styling the page
body.wptouch-not-styling xxx {
}
*****************************************************************/

input#somfrp_user_info {
  font-size: 20px;
  padding: 5px;
  width: 100%;
  padding-right: 0px;
  padding-bottom: 0px;
}
 
button#reset-pass-submit {
  font-family: "open sans";
  background-color: #409EFF;
  color: #ffffff;
  border: 0px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 400;
  padding: 10px 30px; 
}

.lostpassword-submit {
  text-align: center;
}

#lostpasswordform label[for="email"] {
  font-size: 0 !important;  /* Make the original text "Email address or username" invisible */
}
#lostpasswordform label[for="email"]::after {
  content: "Email address:";  /* Add the new text */
  font-size: 16px;  /* Restore the font size */
}

.som-password-sent-message span {
  padding-bottom: 8px;
  padding-left: 8px;
  color: black;
  margin-bottom: 20px;
}

input#som_new_user_pass {
  font-size: 20px;
  padding: 5px;
  width: 300px;
}

input#som_new_user_pass_again {
  font-size: 20px;
  padding: 5px;
  width: 300px;
}

body.wptouch-not-styling #resetpasswordform p {
  margin: 0px;
}

body.wptouch-not-styling .somfrp-lost-pass-form-text {
  padding-bottom: 20px;
}

body.wptouch-not-styling .lostpassword-submit {
  margin-top: -30px;
}

body.wptouch-styling .som-password-sent-message {
  margin-bottom: 20px;
}



/* MOBILE fix right margin 60px */
body.wptouch-styling .ff-el-input--content {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

/* MOBILE profile update + registration, make form background all gray (remove margins from left and right */
body.wptouch-styling .fluentform_wrapper_5, body.wptouch-styling .fluentform_wrapper_3 {
  margin-left: -20px;
  margin-right: -20px;
}

/* MOBILE profile update form */
body.wptouch-styling form#fluentform_5 {
  padding-left: 20px;
  padding-right: 20px;
}

body.wptouch-styling form#fluentform_3 {
  padding-left: 10%;
  padding-right: 10%;
}

/* MOBILE register and login form */
body.wptouch-styling #ff_4_password, body.wptouch-styling #ff_3_password {
  width: 100%;
}

body.wptouch-styling form#fluentform_4 {
  background-color: transparent;
}

body.wptouch-styling .fluentform.fluentform_wrapper_4 {
  padding-right: 20px;
}

body.wptouch-styling .post-name-register li {
  font-size: 13px;
}

/* Feedback form */
body.wptouch-not-styling form#fluentform_7 {
  margin-top: -60px;
}

/* Form label styling */
body.wptouch-not-styling .fluentform .ff-el-input--label label {
  font-size: 14px;
  color: #666;
}

button.ff-btn.ff-btn-submit.ff-btn-md.ff_btn_style {
  padding-left: 30px;
  padding-right: 30px;
}

/* Fix headers events page on mobile having dark blue background (with black text) */
header.tribe-events-calendar-list__event-header {
  background-color: transparent;
}
header.tribe-events-header.tribe-events-header--has-event-search {
  background-color: transparent;
}
/* Get rid of space above Events title */
.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
  padding-top: 0px;
}

/* WS Form Styling */

/* CC form - make labels bold */
label#wsf-2-label-2, label#wsf-2-label-5 {
	font-weight: bold;
}

/* CC form - spacing below subscriptions label */
label#wsf-2-label-5 {
    padding-bottom: 4px;
}

/* CC form - make email field look disabled */
input#wsf-2-field-2 { 
	background-color: #efeff4;
    color: #767676;
    -webkit-text-fill-color: #767676;
    cursor: not-allowed;
    opacity: 1;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


