/*
// ------------------------------------
// App-specific settings
// ------------------------------------
*/

/* This style is used by the AcgApp.isEnanced() method to determine if we are using the enhanced stylesheet */
body:after
{
	content:'default';
	display:none;
}

select
{
	border-color:rgb(198,172,231);
	border-radius:0px;
	border-width:2px;
	height:2rem;
}

.outerArea
{
	jbackground-color:rgb(0,0,0);

	/* Had to remove overflow-x because it prevents "sticky" position from working */
	joverflow-x:hidden;	/* This is required to fix "position:fixed" issues on iOS */
	joverflow:hidden;	/* Including overflow hidden will break the ability to use "sticky" content within */
	
	display:flex;
	justify-content:center;
}

.innerArea
{
	display:flex;
	justify-content:center;

	jbackground-color:rgb(0,0,0);
	jmax-width:1240px;
	width:100%;
	text-align:left;
}

.noScript
{
	padding-top:1em;
	width:960px;
	margin:auto;
	color:#000000;	
}

#preloadContent
{
	padding:2em;
	text-align:center;
}

#scriptContent
{
	jbackground-color:#ffffff;
	jcolor:#444444;
	min-height:100vh;
	background-color:black;
	background-image:url(../images/BG-wave.png);
	background-position:center top;
	background-repeat:no-repeat;
	background-size:cover;
}

.headerBand
{
	width:100%;	
	position:fixed;
	z-index:999999;
	top:0;
}

.titleAreaBand
{
	background-color:rgb(235,235,235);
}

.headerContent
{
	color:black;
	margin:auto;
	max-width:1280px;

	padding-left:20px;
	padding-right:20px;
	
	jline-height:15px;
	
	jborder-bottom:1px solid rgb(99,99,99);
}
.acgRwdNarrow .headerContent
{
	padding-left:10px;
	padding-right:10px;
}

.headerPadding
{
	jpadding:0 1em;
}

.mainPadding
{
	padding:1em 1em;
}

.title
{
	font-size:1.87rem;
	font-weight:500;
	color:black;
	text-align:right;
	jfont-weight:200;
	jtext-transform:uppercase;
	width:90%;
	jpadding:0em 1em 0.1em 0;
}
.acgRwdNarrow .title
{
	font-size:1rem;
	text-align:right;
	line-height:1.1;
}

.footerBand
{
	width:100%;
	z-index:99;
	jborder-top: 1px solid #c1d8ea;
	
	background-color:rgb(79,35,181);
	jpadding:0 1.5em;
}

.footerBand a:hover {
    color: lightgray;
}

.footerContent
{
	margin:auto;
	max-width:1440px;
	jfont-size:0.75em;
	font-weight:400;
	color:#ffffff;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box; 
	box-sizing: border-box;
	
	padding:55px 24px 45px 24px;
}
.acgRwdWide .footerContent
{
	padding:85px 40px;
}

.footerContent span
{
	padding:0 0.25em;
	white-space:nowrap;
}

.footerContent a
{
	text-decoration:none;
}

.footerContent a:hover
{
	color:#00aeef;
}

.contentArea
{
	width:100%;
	max-width:1280px;
	jdisplay:table;
	padding-left:20px;
	padding-right:20px;
	padding-bottom:50px;
}
.acgRwdNarrow .contentArea
{
	padding-left:10px;
	padding-right:10px;
}

/*
.appTitle
{
	font-size:1.5em;
	color:#ffffff;
	font-weight:200;
	text-align:left;
	padding-top:0.5em;
}
*/

.appLogo
{
	height:32px;
}

.acgRwdNarrow .appLogo
{
	height:21px;
}
.appLogoArea
{
	jpadding-left:42px;
	width:10%;
	padding-top:14px;
	padding-bottom:14px;
	padding-right:12px;
}
.acgRwdNarrow .appLogoArea
{
	padding-top:11px;
	padding-bottom:11px;
}
.appLogoArea img
{
	vertical-align:middle;
}

.acgRwdWide .questionArea
{
	display:table-cell;
	vertical-align:top;
}

.progressArea
{
	jposition:sticky;
	jtop:60px;
	jz-index:999;
	margin:auto;
	max-width:1280px;
}
.acgRwdNarrow .progressArea
{
	jpadding-left:10px;
	jpadding-right:10px;
}
.progressAreaLabelArea
{
	background-color:rgb(135,21,24);
	color:white;
	white-space:nowrap;
	padding:0 1rem;
	line-height:0;
}
.acgRwdNarrow .progressAreaLabelArea
{
	padding-left:10px;
}
.progressAreaLabel
{
	font-size:0.9rem;
	text-align:center;
	position:relative;
	top:-2px;
}

.questionGroupTitle
{
	font-size:1.1rem;
	font-weight:700;
	color:white;
	margin-top:25px;
	margin-bottom:12px;
	display:none;
}

.acgRwdWide #questionsPanel
{
	padding-right:300px;
}

.questionPanel
{
	background-color:white;
	color:black;
	padding:20px;
	display:none;
	position:relative;	/* needed to set proper z-index */
	z-index:99;
}
.questionPanel:not(last-child)
{
	border-bottom:1px solid rgb(235,235,235);
}
.questionPanelLayout
{
	display:table;
	width:100%;
}

.riskAssessmentArea
{
	display:inline-block;
	position:absolute;
	right:0;
	jvertical-align:top;
	padding:20px 20px;
	jpadding-right:0;
	width:320px;
}

.riskAssessmentPanel
{
	background-color:white;
	padding:30px;
	color:black;
}
.riskAssessmentTitle
{
	font-size:1.5rem;
	font-weight:500;
	line-height:1.2;
}
.riskAssessmentResultsArea
{
	margin-top:1rem;
	jmargin-bottom:1rem;
}
.riskAssessmentResult
{
	font-weight:500;
}

.acgGaugeContainer
{
	display:inline-block;
	position:relative;
	margin-top:10px;
	margin-bottom:10px;
}

.acgRwdNarrow .acgGauge
{
	height:80px;
}

.acgNeedle
{
	width:83px;
	position:absolute;
	left:calc(50% - 4px);
	bottom:5px;
	jtransform:rotate(-90deg);
	transform-origin:4px 4px;
}
.acgRwdNarrow .acgNeedle
{
	width:60px;
}

.acgContentPanel
{
	jdisplay:table;
	jwidth:100%;
	jmargin-top:40px;
}
#welcomePanel
{
	color:white;
	padding-top:50px;
	jpadding:120px 80px 0 80px;
	max-width:900px;
	margin:auto;
}
.acgRwdNarrow #welcomePanel
{
	padding-top:20px;
}
.welcomeAnimationArea
{
	display:table-cell;
	padding:0 20px;
	width:50%;
}
.acgRwdNarrow .welcomeAnimationArea
{
	width:100%;
	max-width:430px;
	margin:auto;
}
.welcomeTextArea
{
	display:table-cell;
	padding:0 20px;
}
.welcomeTitle
{
	font-size:1.6rem;
	font-weight:700;
	jtext-align:center;
	padding-right:2rem;
}
.acgRwdNarrow .welcomeTitle
{
	padding:0;
}
.welcomeCriticalRiskBox
{
	background-color:rgb(55,58,54);
	padding:20px;
	margin-bottom:1rem;
}
.welcomeRiskIcon
{
	display:table-cell;
	vertical-align:middle;
	padding:0.5rem;
}
.welcomeRiskIcon img
{
	vertical-align:middle;
}
.welcomeRiskLabel
{
	display:table-cell;
	vertical-align:middle;
	jpadding-left:0.5rem;
}
.acgRwdWide .question
{
	display:table-cell;
	vertical-align:middle;
}
.acgRwdNarrow .question
{
	margin-bottom:1rem;
}

.flexAnswers
{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	justify-content:start;
}
.acgRwdWide .flexAnswers
{
	justify-content:end;
}

.answers
{
	jpadding:0 24px;
}

.acgRwdWide .answers
{
	display:table-cell;
	text-align:right;
	vertical-align:middle;
	white-space:nowrap;
	min-width:320px;
}

/* The radio button sections are slightly "too high" without setting the line-height to 0 */
.acgRwdWide #q1answers, .acgRwdWide #q5answers, .acgRwdWide #q7answers
{
	line-height:0;
}

.redBar
{
	background-color:rgb(233,0,41);
	display:inline-block;
	width:20px;
	min-width:20px;
}
.acgRwdNarrow .redBar
{
	width:10px;
	min-width:10px;
}
.questionResultsPanel
{
	jdisplay:none;
}
.questionResultsNumber
{
	font-size:2rem;
	font-weight:500;
	color:rgb(233,0,41);
	padding:0 0.5rem;
	white-space:nowrap;
	jmin-width:6rem;
}
.questionResultsLayout
{
	display:table;
	background-color:rgb(235,235,235);
	width:100%;
}
.questionResultsLayout > div
{
	display:table-cell;
	vertical-align:middle;
}
.questionResultsText
{
	color:black;
	width:100%;
}
.questionResultsButtonArea
{
	padding:16px 20px 16px 20px;
	jwhite-space:nowrap;
}
.acgRwdNarrow .questionResultsButtonArea
{
	padding:16px 10px 16px 10px;	
}
.questionResultsAnswer
{
	font-weight:700;
}
.infoi
{
	height:18px;
	position:relative;
	top:3px;
}
.sliderValueLabel
{
	width:100px;
	display:table-cell;
	padding-left:1rem;
	vertical-align:middle;
	min-height:1rem;
	text-align:right;
}
.acgRwdNarrow .sliderValueLabel
{
	display:block;
	box-sizing:border-box;
	width:100%;
	background-color:rgb(235,235,235);
	padding:0.2rem;
	margin-top:0.5rem;
	text-align:center;
}
.narrowModeRiskAssessmentLayout
{
	width:100%;
	background-color:white;
	padding:0 20px;
}
.riskAssessmentLabel
{
	font-size:1.2rem;
	font-weight:500;
}
.acgAnswerPair
{
	display:flex;
	gap:10px;
}