/* styling for the main div surrounding everything */
.commonOuterBox {
	display: flex;
    flex-direction: column;
	padding:20px;
	min-width: 830px;
	width: 100%;
	position: relative;
}

/* simplest possible tooltip */
.commonTooltip { position: relative; display: inline-block; }
.commonTip {
	visibility: hidden;
	position: absolute;
	background: grey;
	color: white;
	padding: 5px;
	left: 2em;
}

.commonTooltip:hover .commonTip { visibility: visible; }


.contentAndSidebarBox {
	display: flex;
	justify-content: center;
}

/* styling for the top-level of the nav bar column on the left */
.commonSidebar {
	position: relative;
	background-color:white;
	margin-right:20px;
	max-width:250px;
	/* transition: width 0.25s ease; / Transition for width property */
}

#commonSidebarInternal {
	border: 1px solid #efefef;
	width: 100%;
	height: 100%;
}

.commonSidebarHidden {
	width: 0 !important;
	overflow: hidden;
	visibility: hidden;
	border: 0px !important;
}

.commonSidebarControl {
	position: absolute;
	top: 6em; /* control should be at top of page */
	right: -15px; /* Position slightly outside the right edge */
	transform: translateY(-50%) rotate(180deg); /* Fine-tune vertical centering */
	width: 30px; /* Width of the control graphic */
	height: 30px; /* Height of the control graphic */
	background-color: darkgray; /* Example control style */
	border-radius: 50%; /* Make it a circle */
	cursor: pointer; /* Indicate it's clickable */
	background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="white"%3E%3Cpath d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/%3E%3C/svg%3E');
	background-size: cover;
}
.commonSidebarControl span {
	transform: rotate(180deg);
}
.commonSidebarControl span:before {
	content: 'Hide Sidebar';
}

.commonSidebarControl.collapsed {
	background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="white"%3E%3Cpath d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/%3E%3C/svg%3E');
	transform: translateY(-50%) rotate(0deg);
}

.commonSidebarControl.collapsed span {
	transform: rotate(0deg);
}

.commonSidebarControl.collapsed span:before {
	content: 'Show Sidebar';
}


/* styling for the div containing presentation material */
.commonInnerBox {
	width: 90%;
	max-width: 1100px;
}
	
.presentationBase {
	width: 100% !important;
}

/* top-left main logo */
.logoDiv {
	margin-top:20px;
	text-align:center;
}

/* override styling for the contact page title */
.commonInnerBox .contactWrapperPresentation p img { 
	width: 100%;
}

/* override for "modern/v2" presentations of the original style in CommonUtils/Presentation/master.css */
.presentationBase, .contactWrapperPresentation, .messageBoardWrapper {
	border: 1px solid #efefef;
    background-color: white;
	margin-top:0px !important; /* override value from master.css */
}

/* addition for "modern/v2" presentations */
.presentationElementLine {
	margin-left: 25px;
	margin-right: 25px;
}

.messageBoardWrapper {
	margin-right: 20px;
}

.contactWrapper {
	margin: 0 !important;
}
	
/* style for the top-level body tag of the whole page */
.commonBodyStyle
{
	height:100%;
    margin-top:10px;

    text-align:inherit !important; /* all other browsers than IE6 will use this text-align */
    /* text-align: center; is to get around an IE6 bug where margin: 0 auto doesn't work. */
	text-align:center;
	
	background-color: #fafafa;
}



/* latest version that is contained within main table, rather than a separate table at end */
.commonFooterTableStyle3
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align:center;
	padding:3px;
	margin-top:15px;
}

/* footer styling for the html in footer.jsp */
.footerStyling {
	margin:0 auto;
	width:100%;
	font-size:smaller;
	font:Arial, Helvetica, sans-serif;
	text-align:center;
	margin-bottom:20px;
	padding:25px;
}

.customMessageBoardInFooter {
	margin-top:15px;
}

@media only screen and (max-width: 930px) {
	/* kill the margin at the bottom at narrow widths, since the sides have no effective margin at that point and it doesn't look good anymore */
	.footerStyling {
		margin-bottom: 0px;
	}
}

.footerSocialMediaIcons {
	margin-top: 25px;
	padding-top: 25px;
	height: 103px;
	border-top: 1px solid #e9ebee;
	border-bottom: 1px solid #e9ebee;
	text-align: left;
}

.footerFacebookCommentsNote {
	margin-top:40px;
}

.facebook_comments_jal {
	margin-top:10px !important;
}


/* ------------ START GENERIC NO-JAVASCRIPT TOOLTIP CSS (BOTTOM VERSION) --------*/

/* Tooltip container */
.generic-tooltip {
	position: relative;
	display: inline-block;
	z-index: 2;
}

/* Tooltip text */
.generic-tooltip .generic-tooltiptext {
	visibility: hidden;
	width: 120px;
	top: 100%;
	left: 50%;
	margin-left: -60px;
	background-color: black;
	color: #fff;
	text-align: center;
	padding: 5px 5px;
	border-radius: 6px;
	font-size: 0.7em;
	opacity: 0.5;

	/* Position the tooltip text - see examples below! */
	position: absolute;
	z-index: 1;
}

/* tooltip up arrow */
.generic-tooltip .generic-tooltiptext::after {
	content: " ";
	position: absolute;
	bottom: 100%;  /* At the top of the tooltip */
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent black transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.generic-tooltip:hover .generic-tooltiptext {
	visibility: visible;
}

/* ------------ START GENERIC NO-JAVASCRIPT TOOLTIP CSS (ON-TOP VERSION) --------*/

.top-generic-tooltip {
	position: relative;
	display: inline-block;
}

.top-generic-tooltip .top-generic-tooltiptext {
	visibility: hidden;
	width: 120px;
	background-color: black;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 5px 0;
	position: absolute;
	z-index: 1;
	bottom: 150%;
	left: 50%;
	margin-left: -60px;
	font-size: 0.7em;
	font-style: normal;
	opacity: 0.5;
}

.top-generic-tooltip .top-generic-tooltiptext::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: black transparent transparent transparent;
}

.top-generic-tooltip:hover .top-generic-tooltiptext {
	visibility: visible;
}

/* ------------ END GENERIC NO-JAVASCRIPT TOOLTIP CSS --------*/