/*** Nicasio Edits - Misc. ***/

/* Reverse footer nav menu dividers to make more sense with hidden list items */

.WaGadgetNavigationLinks ul.orientationHorizontal li:before {
display: none !important;
}

.WaGadgetNavigationLinks ul.orientationHorizontal li:after {
content: "|";
display: inline-block !important;
margin: 0 0.8em 0 0.54em;
}

.WaGadgetNavigationLinks ul.orientationHorizontal li.last:after,
.WaGadgetNavigationLinks ul.orientationHorizontal li.faux-last:after {t
display: none !important;
}




/*** Nicasio Edits - Related to Language Toggler ***/

/*
	Set up the editable "Header" area to 
	allow positioning of the Language Toggler
*/

#idHeaderContent, #idHeaderContainer {
	position: relative;
}


/* 
	Position the Language Toggler 
	within the Header
*/

#languageToggleContainer {	 
	position: absolute;

	/* Change these values to reposition the toggler */
		
	top: 30px; /* from the top of the Header area */
	right: 0px; /* from the right of the Header area */
        /*       z-index: 55555; */
}


/* 
	Style the Language Toggler buttons
*/

#languageToggleContainer a {

	/* Default Styling */
	/* You can customize these rules or remove them and add your own */

	color: #252525; /* text color */
	font-size: 10px;
	font-weight: bold; /* change to 'normal' if 'bold' is not wanted */
	background-color: #eeeeee; 
	padding: 2px 6px 3px 6px; /* top right bottom left */
	border: 1px solid #999999;
	text-decoration: none; /* no underline for text */

}

/* 
	Style the Language Toggler buttons' "hover" state
*/

#languageToggleContainer a:hover {

	/* Default Styling */
	/* You can customize these rules or remove them and add your own */
	
	background-color: #ffffff;

}

/* 
	Hide the Menu Items by default to avoid page lag 
	and triggering the new WA Ver. 5 Phantom Responsive Menu
	Then reset to table-cell when "visible" class exits via jquery
*/
/* JW: when I comment out lines below, the the automatic adjustment from horizontal to vertical menu works on smartphones....but the Francais menu spacing on a PC screen is warped... 
*/

.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li {display:none;} 
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.visible {display:table-cell !important;}
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.visible li {display:block !important;}

/* Code to change page width START */
.container_12 {
/*    width: 1400px; */
      width: 80%;
}

.s1_grid_12 {
    width: auto;
}
/*  This part has compile issues and is disabled for now
@media only screen and (max-width: 1199px) and (min-width: 600px){
.container_12 {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1400px;
    min-width: 600px;
}}
@media only screen and (max-width: 616px){
.container_12 {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 600px;
    min-width: 320px;
    display: block;
}}
*/
/* Code to change page width END */


/* Code to prevent membership renewal  START 
   It hides the Membership Renewal button from the member's profile page
   Also remember to disable New member registration 
   Wild Apricot ticket # 143874
*/ 
/* 2021_01_03: JW I had to add the "#" character in front of FunctionalBlock1_ctl00_ctl00_Membership_RenewalButton and FunctionalBlock1_ctl00_ctl00_Membership_lapsedMessageBox_renewButton for them to be recognized...it used to work... 
*/
/* 2021/12/26 JW: disable Renewal Button until Feb 1 2022 */
/* 2022/03/01 SB: enable Renewal Button by disabling this code */
/* 2022/12/?? SB: disable renewal
*/
/* 2023-02-?? SB: enable renewal button
*/
/* 2023-12-07 SB: disable renewal button until 2024-03-01 by enabling this code
*/
/* 2024-01-31 SB: enable renewal button by disabling this code
*/
/* 2024-12-18 SB: disable renewal button until 2025-0x-01 by enabling this code
*/
/* 2025-02-01 SB: enable renewal button by disabling this code*/

/* 

#FunctionalBlock1_ctl00_ctl00_Membership_RenewalButton {
  display: none;
}
#FunctionalBlock1_ctl00_ctl00_Membership_lapsedMessageBox_renewButton {
  display: none;
}

 */




/* Code to prevent membership renewal END */


#idFooterPoweredByWA {display: none;}

/* Replace 'Already registered' text with 'Cancel registration' to fix usability problem */
.infoAlreadyRegisteredLink { visibility: hidden; position: relative }
.infoAlreadyRegisteredLink:after { content: "Cancel registration"; visibility: visible; position: absolute; top: 0; left: 0; text-decoration: underline }
