.region-list {
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
}

.region-list ul {
    list-style: none;
    padding: 0;
}

.region-list li {
    margin-bottom: 10px;
}

.region-list a {
    color: #333;
    text-decoration: none;
}

.region-list a:hover {
    text-decoration: underline;
}


#content{
    overflow: visible;
    word-wrap: break-word;
}
.contextual-links-region {
    outline: none;
    position: relative;
}
form {
    margin: 0 0 1.5em;
    padding: 0;
}
fieldset.collapsible {
    position: relative;
}
fieldset {
    background: transparent;
    margin: 1.5em 0;
    padding: .75em;
}
.member-detail-legends legend{
    display: flex;
    justify-content: space-between;
    vertical-align: middle;
    align-items: center;
}
fieldset legend {
    display: block;
    font-weight: 400;
    padding: 0 1em 0 0;
}

fieldset.collapsed {
    background: transparent;
    padding-top: .25em;
}
fieldset.collapsed {
    border-bottom-width: 0;
    border-left-width: 0;
    border-right-width: 0;
}

fieldset.collapsed .fieldset-legend {
    background-image: url(images/menu-collapsed.png);
    background-position: 5px 50%;
    background-repeat: no-repeat;
}

/* fieldset.collapsible .fieldset-legend {
    background: url(images/menu-expanded.png) 5px 65% no-repeat;
    padding-left: 15px;
} */
fieldset.collapsible .fieldset-legend {
    display: block;
}
.fieldset-legend .fieldset-title{
    text-decoration: none;
}
.fieldset-legend  .fieldset-title { 
    padding: 0 0 0 20px; 
}
.form-item, .form-actions {
    margin-top: 1em;
    margin-bottom: 1em;
}
.form-item label {
    font-weight: 400;
    font-size: 1em;
    color: #666666;
    display: block;
}
#block-system-main {
    margin-bottom: 15px;
    overflow: visible;
    word-wrap: break-word;
    font-family: Arial, Helvetica, sans-serif;
}
.club-list-sec {
    margin-top: 10px;
    width: 100%;
}
#table_region_summary {
    background-color: #FFFFEE;
    width: 100%;
}
#table_region_summary tbody td{
    border: 1px solid black;
    text-align: right;
    font-size:16px;
}
.d-none{
    display: none;
}

.club-details-actions {
    float: none;
    padding: 5px 0;
    clear: both;
}

.club-details-actions a.button:link, .club-details-actions a.button:visited, .club-details-actions a.button:hover, .club-details-actions a.button:focus, .club-details-actions a.button:active {
    text-decoration: none;
    color: #fff;
}
.club-details-actions a.button {
    background: #006DAA;
    border: 1px solid #e4e4e4;
    border-bottom: 1px solid #b4b4b4;
    border-left-color: #d2d2d2;
    border-right-color: #d2d2d2;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.929em;
    font-weight: normal;
    text-align: center;
    margin-bottom: 1em;
    margin-right: 0.6em;
    padding: 6px 15px 6px 15px;
    -khtml-border-radius: 15px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
}
.import-export-divider {
    float: left;
    clear: both;
    border-top: 1px solid #000;
    margin-top: 5px;
    width: 100%;
}
.club-details-actions h3.import-export-heading {
    clear: both;
    float: left;
    padding: 0;
    width: 100%;
}
.club-details-actions h3 {
    padding: 0 3px;
    font-size: 1em;
}
.fjmc_member_div {
    width: 98%;
    height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0 auto;
}
.fjmc_member_div .update-members{
    margin-top:30px;
}
.fjmc_member_table {
    width: 99%;
}
.fjmc_member_table tr {
    border: 1px solid gray;
}
.fjmc_member_table th {
    background-color: #003559;
    color: white;
    border: 1px solid white;
    font-weight: 700;
    padding: .375em .5em;
    vertical-align: middle;
}
.blur-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000; 
    overflow: hidden;
}

.scroll-visible {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
  
.scroll-visible:after {
    content: " ";
    display: block;
    border-radius: 50%;
    width: 0;
    height: 0;
    margin: 6px;
    box-sizing: border-box;
    border: 26px solid #333;
    border-color: #003559 transparent #003559 transparent; 
    animation: scroll-visible 1.2s infinite;
}

@keyframes scroll-visible {
    0% {
    transform: rotate(0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }
    50% {
    transform: rotate(900deg);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    100% {
    transform: rotate(1800deg);
    }
}
.redbk {
    background-color: #CC0000;
    color: white;
}

.block-region-content .return-bck,  #view-perms {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    font-family: "quatro";
    color: #004b8d;
    letter-spacing: 0.5px;
}
.block-region-content .page-desc{
    font-size: 26px;
    line-height: 36px;
    font-family: 'quatro';
    font-weight: 500;
}
.block-region-content .page-sub-desc{
    font-size: 26px;
    line-height: 36px;
    font-family: 'quatro';
    font-weight: 500;
}
.block-region-content .roster_save_btn {
    margin-top: 12px;
}
#main-content-section{
    margin: 10px 0;
    padding: 60px 15px;
    display:block;
    position: relative;
    width: 100%;
    overflow: hidden;
}
#main-content-section .region-sec-title{
    font-size: 20px;
    font-family: "quatro";
}
.justify-content-center {
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}
.region-list-section .card-box {
    text-align: center;
    border-radius: 20px !important;
    overflow: hidden;
    color: #0A1921;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, .125);
    box-shadow: 1px 15px 8px #0000000a;
    min-height: 158px;
}
.region-list-section .card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
}
.region-list-section .cards-img-top {
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    background-position: center;
    color: #c7f3ed;
    padding-top: 20px;

}
.region-list-section .pt-25 {
    margin-bottom: 10px;
}
.region-list-section .card-body {
    margin-top: 12px;
    padding: 12px 15px;
}
.region-list-section .card-box.card h4 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3 !important;
    display: block;
    text-decoration: none;
    padding: 0 10px;
    color: #000;
    text-shadow: none;
    border-radius: 0;
    margin: 0;
}

.region-list-section .card-box .card-body p {
    font-size: 16px;
    text-align: center;
    color: #0A1921;
    line-height: 25px;
    font-family: "quatro";
    font-weight: 400;
    margin-bottom: 50px;
}
.w-100 {
    width: 100% !important;
}
.custom-shadow {
    box-shadow: 0 0 10px rgba(0,0,0,.050);
}
.swal2-popup {
    font-size: 16px;
}

.swal2-title {
    font-size: 24px; 
}

.swal2-content {
    font-size: 18px;
}
.form-actions {
    gap: 20px;
    display: flex;
  }
.button-primary {
    color: #fff; /* Text color (white) */
    background-color: #007bff; /* Primary color (blue) */
    border: 1px solid #007bff; /* Border color (blue) */
    padding: 0.5rem 1rem; /* Padding (top/bottom, left/right) */
    font-size: 1.25rem;
    border-radius: 0.50rem; /* Border radius */
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}

.button-primary {
    background-color: #006daa; /* Darker shade of primary color on hover */
    border-color: #006daa; /* Darker shade of primary color on hover */
}


#helpModal .modal-dialog, #namemodal .modal-dialog{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 12px auto;
}

#helpModal .modal-header, #namemodal .modal-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

#helpModal .modal-title, #namemodal .modal-title{
    margin-bottom: 0;
    line-height: 1.5;
}

#helpModal .btn-close, #namemodal .close {
    background-color: #006daa!important;
    opacity: 1 !important;
    text-shadow: 0px 0px 0 #fff!important;
    font-size: 20px;
    border-radius: 50px 50px 50px 50px;
    float: right;
    transition: all .2s linear;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0px !important;
    width: 32px !important;
    height: 32px !important;
    font-family: sans-serif;
    margin-left: auto;
    line-height: 1em;
    color: #fff;
}
#helpModal .btn-close:hover,  #namemodal .close:hover{
    color: #fff !important;
    background-color: #061a40 !important;
    border-radius: 50%;
}
#helpModal .btn-close:focus, #namemodal .close:focus {
    outline: none;
    box-shadow: none;
}
#namemodal .modal-footer-btn {
    padding: 15px;
    text-align: center;
    /* border-top: 1px solid #e5e5e5; */
}
#helpModal .modal-body #edit-info .modal-desc{
    font-size: 20px;
    line-height: 0px;
}
#helpModal .modal-body #edit-info ul, #helpModal .modal-body #edit-info ol{
    font-family: "quatro";
}
#helpModal .modal-body #edit-info ul li, #helpModal .modal-body #edit-info ol li{
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
}
#namemodal .modal-footer-btn .custom-popup-btn{
    padding: 10px 60px;
    font-size: 16px;
    text-align: center;
    vertical-align: middle;
}
#namemodal .modal-footer-btn .custom-popup-btn:hover{
    color: #fff !important;
    background-color:#061a40 !important;
}
.form-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}
.add-member-form h2 {
    margin: 0;
    font-size: 36px;
    line-height: 58px;
    color: inherit;
    font-family: "quatro";
    font-weight: 500;
    padding: 0 10px 10px;
}
.add-member-form .webform-client-form-custom label {
    color: #000000;
    padding-bottom: 4px;
}
.webform-client-form-custom p.error-message {
    font-size: 14px;
    margin-top: 8px;
    line-height: 8px;
}
.report-down {
    float: right;
  }

.active-deactive ul.tabs{
	margin-left: 0px;
	list-style: none;
}
.active-deactive ul.tabs li{
	background: #ededed;
	color: #000;
	display: inline-block;
    padding: 2px 8px;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
}

.active-deactive ul.tabs li.current{
	background: #006daa;
	color: #fff;
}

.tab-content{
	display: none;
	background: #ededed;
}

.tab-content.current{
	display: inherit;
}  
.button-primary.update-members {
 margin: 10px 0px 10px 13px;
}
/* Convention 2025 Maine Form CSS */
.CRM_Event_Form_Registration_Register .priceset-group .section-pricesetTotal .calc-value{
    font-size: 16px!important;line-height: 22.5px;
}

/* The Friends of the FJMC Form CSS */
.CRM_Contribute_Form_Contribution_Main .crm-contribution-page-id-22 .crm-public-form-item.crm-group.custom_pre_profile-group {
    margin-top: 34px;
}

.CRM_Contribute_Form_Contribution_Main .crm-contribution-page-id-22 #priceset-div .price_set-section .help{
    font-size: 15px;
}

/* 2025 Ad Journal Contribution Form CSS */
.CRM_Contribute_Form_Contribution_Main .crm-contribution-page-id-73 #onBehalfOfOrg {
    margin-top: 34px;
}

/* Jewish Community Retreat Form Field Widths */
.crm-profile-id-126 .editrow_participant_note-section .content textarea {
    display: block;
    width: 500px;
    max-width: none !important;
    text-align: left;
}

.crm-profile-name-JC_Men_s_Retreat hr {
  margin: 1rem 0;
  border: none;
  border-top: 2px solid #8ccc;
}

.crm-profile-name-JC_Men_s_Retreat .crm-section .label,
.crm-profile-name-JC_Men_s_Retreat .crm-section .content {
  display: inline-block;
  vertical-align: top;
}

.crm-profile-name-JC_Men_s_Retreat .crm-section .label {
  width: 33% !important;
  max-width: none !important;
  padding-right: 10px;
  box-sizing: border-box;
  text-align: left;
}

.crm-profile-name-JC_Men_s_Retreat .crm-section .content {
  margin-left: 0 !important;
  box-sizing: border-box;
  text-align: left;
}
.crm-profile-name-JC_Men_s_Retreat .crm-section .content input[type="text"] {
    display: block;
    width: 450px;
    max-width: none !important;
    text-align: left;
}

.crm-profile-name-JC_Men_s_Retreat .crm-section .label label {
  display: block;
  width: 100%;
  text-align: left;
}

.crm-section .section-pricesetTotal {
    padding-bottom: 20px;
}
