
@viewport {
	width: device-width;
}

header, #header {
    color: #000;
    padding: 10px;
  }

#header img {
	max-width: 100%;
	margin: auto;
	display: block;
}

.headerText {
	float: right;
	font-size: 1.75rem;
	color: #806fad;
	padding-top: 20px;
	padding-right: 10px;
	text-align: right;
}

footer, #footer {
	font-size: 1rem;
	margin: 4% 0 3% 0;
	padding: 1% 0;
}

body {
	min-width: 50%;
	font-size: 1.2em !important;
	background-color: #27415F !important;
}

.page {
	/*font-family: "Trebuchet MS",Verdana,Helvetica,Sans-Serif;*/
	font-family: Arial, Helvetica, sans-serif;
    padding: 0 0 5px 0;
	/*font-size: 1em;*/
	background-color: #fff;
	border: solid 5px #dbe6f0;
	border-radius: 10px;
}

#main {
	clear:both;
	padding: 15px;
}

.marginTop10 {
	margin-top: 3%;
	margin-bottom: 2%;
}

input[type=checkbox]{
    display: inline-block;
    width: 19px;
    height: 19px;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.3), inset 0px 0px 40px rgba(0,0,0,0.1);
	margin: /*8px*/ 0px 15px;
}

.clear{
	clear:both;
}

.cRadio {
    padding: 5px;
    width: 20px;
    height: 20px;
}

.redBox {
	border-width: 2px !important;
	border-radius: 5px;
	margin: 10px;
}

#LandingPageText h2 {
	color: #000;
	text-align: center;
}

.introBlue {
	color: rgb(0, 101, 189);
	font-weight: bold;
}

/* HEADINGS   
----------------------------------------------------------*/
/*-- Header --*/
h1 {
    font-size: 1.5em;
	margin-top: 10px;
	text-align: center;
	color: rgb(0, 101, 189);
}

/*-- Section Headers --*/
h2 {
    font-weight: 600;
	font-size: 1.2em;
    padding: 10px;
    text-align: left;
    background-color: #27415F;
    line-height: 1.5em;
    color: #fff;
    margin-top: 25px;
    border-radius: 5px;
}

/*-- Thank You Message --*/
h3 { 
	font-size: 1rem; 
	color: #806fad;
	padding-left: 0.5%;
}

/*-- Sub-Headers --*/
h4 { 
	font-size: 0.95rem; 
	margin: 0;
	margin-top: 5px;
	color: #27415F;
	font-weight: bold;
	font-style: italic;
}

/*-- Sub-Headers --*/
h5, h6 { 
	font-size: 0.95rem; 
	margin: 5px;
}
h7 {
    font-weight: 600!important;
	font-size: 1.2em!important;
    padding: 10px!important;
    text-align: left!important;
    background-color: #27415F!important;
    line-height: 1.5em!important;
    color: #fff!important;
    margin-top: 25px!important;
    border-radius: 5px!important;
	text-align: center!important;
}
h8 {
    font-size: 1.2em;
	margin-top: 10px;
	text-align: center;
	color: rgb(0, 101, 189);
}



p {
	padding: 6px 0 6px 0;
	margin: 0;
}

/* Main Styles 
-------------------------------------------------------*/
.sectionHeader {
	margin-bottom: 1%;
	padding-left: 5px;
}

.sectionHeader p {
	padding: 6px;
}

.questionRow {
	margin: auto;
    margin-bottom: 2%;
	overflow: auto;
	padding: 0px 5px 30px 5px;
	border-bottom: 3px solid #27415F ;
}

.questionNumber{
	margin-right: 5px;
	font-weight: bold;
}

.questionText {
    padding: 1%;
    color: #000;
    /*font-weight: bold;*/
    margin-bottom: 1%;
	display: inline-flex;
	/*background-color: #ffcb05;*/
	width: 98%;
	border-radius: 5px;
}

.subHeading{
	margin: 0;
	margin-left: 1%;
	margin-bottom: 1%;
}

.choiceRow {
	padding: 0.5%;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	column-gap: 5px;
}

.choiceRow .othertextcontainer {
    flex: 100%;
	margin-top: 10px;
}

.ChoiceSubhead {
	font-weight: bold;
	text-decoration: underline;
	clear: both;
	display: block;
	padding-bottom: 2px;
	padding-top: 7px;
}

.choiceRow span {
	margin-left: 0.5%;
	position: relative;
	flex: 70% 1 1;
}

.choiceRow input {
	flex: 19px 0 1;
	margin-left: 20px;
}

.choiceRow textarea {
	flex: 100% 0 0;
}

.choiceVerticalInputCell {
	text-align: center;
}

select {
	width: 95%;
	display: block;
	margin: auto;
}

.integarAnswer {
	margin-left: 2%;
	width: 25%;
	text-align: center;
}

.textcount {
	margin-left: 25px;
}

/*-- Bespoke Styling for TYMSG --*/
.qnTYMSG .questionText {
	display: block;
	font-weight: 600;
	font-size: 1.2em;
    padding: 5px 5px 5px 5px;
    text-align: center;
    background-color: #27415F;
    line-height: 1.5em;
    color: #fff;
    margin-top: 25px;
    border-radius: 5px;
}

.questionRow.qnTYMSG, .questionRow.qnQ46 {
	border-bottom: none;
}

/* Matrix Tables 
-------------------------------------------------------*/
/*-- Table width --*/
.matrixTable, .verticalChoiceTable {
	width: 100%;
}

/*-- Box position --*/
.matrixTable .choiceVerticalInputCell {
	padding-top: 0.75%;
	padding-bottom: 0.75%;
	text-align: center;
}

/*-- Q Cell Width --*/
.matrixTable .matrixQuestionTextCell {
	min-width: 110px;
	padding: 5px;
}

/*-- Option Spacing --*/
.matrixTable .matrixHeaderCell {
	padding: 5px;
}

.verticalChoiceTable .matrixHeaderCell {
	padding: 20px;
	font-weight: normal /*!important*/;
}

/*-- Horizontal Box Position --*/
.matrixTable .matrixInputCell {
	text-align: center;
}

/*-- Left Align TATA --*/
.matrixTableLeft .choiceVerticalInputCell {
	width: 4.5%;
	padding-left: 20px;
}

.matrixTableLeft .matrixQuestionTextCell {
	padding-top: 5px;
	padding-left: 20px;
}

.matrixTableLeft input[type=checkbox] {
	margin: 15px 0px 15px 0px;
}

table {
	border-collapse: collapse;
}

/*-- Table Header colouring --*/
.matrixTable tr th {
	background-color: #27415F;
}

.qnQ12 .matrixHeaderCell, .qnQ16 .matrixHeaderCell, .qnQ17 .matrixHeaderCell, .qnQ24 .matrixHeaderCell, .qnQ30 .matrixHeaderCell, .qnQ37 .matrixHeaderCell {
	color: #fff;
	padding: 1px;
}

.questionRow.QQf9de9f34.qnQ12 .innerQuestionArea .matrixTable:nth-child(2) tr:nth-child(1) {

    visibility: hidden;

}

div.wo12 {
	position: absolute;
	width: 100%;
	background-color: #dbe6f0;
	padding: 5px;
	box-sizing: border-box;
}

.matrixQuestionTextCell.MQdfd7a165.QQf9de9f34{
	padding: 0;
	background: #fff;
	height: 30px;
}

.questionRow.QQf9de9f34.qnQ12 .innerQuestionArea{
	position: relative;

}

.qnTYMSG {
	text-align: center;
}

/*-- Odd Row colouring --*/
.matrixTable tr:nth-child(odd) {
	background-color: #dbe6f0;
}

/*-- Old Q9 Styling --
.qnQ12 .matrixHeaderCell:nth-of-type(6) {
	border-right: dashed 4px darkgray;
}

.qnQ12 tr .choiceVerticalInputCell:nth-of-type(6) {
	border-right: dashed 4px darkgray;
} 

/*-- Q14 Styling - not needed 2023--
.qnQ17 .matrixHeaderCell:nth-of-type(4) {
	border-right: dashed 4px darkgray;
}

.qnQ17 tr .choiceVerticalInputCell:nth-of-type(4) {
	border-right: dashed 4px darkgray;
}
*/
/* Text Fields
-------------------------------------------------------*/
.stringAnswer{
	width: 95%;
	margin: auto;
	display: block;
}

textarea {
	width: 95%;
	display: block;
	margin: auto;
	font-size: 1.2rem;
}

.matrixWithOtherInput input[type=text] {
	width: 100%;
	display: block;
	margin-left: 20px;
}

/* Progress Bar
-------------------------------------------------------*/
#ProgressBarRow .progressBar {
	background: rgb(97,153,199); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(97,153,199,1) 0%, rgba(58,132,195,1) 0%, rgba(65,154,214,1) 13%, rgba(75,184,240,1) 37%, rgba(58,139,194,1) 76%, rgba(38,85,139,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(97,153,199,1)), color-stop(0%,rgba(58,132,195,1)), color-stop(13%,rgba(65,154,214,1)), color-stop(37%,rgba(75,184,240,1)), color-stop(76%,rgba(58,139,194,1)), color-stop(100%,rgba(38,85,139,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(97,153,199,1) 0%,rgba(58,132,195,1) 0%,rgba(65,154,214,1) 13%,rgba(75,184,240,1) 37%,rgba(58,139,194,1) 76%,rgba(38,85,139,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(97,153,199,1) 0%,rgba(58,132,195,1) 0%,rgba(65,154,214,1) 13%,rgba(75,184,240,1) 37%,rgba(58,139,194,1) 76%,rgba(38,85,139,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(97,153,199,1) 0%,rgba(58,132,195,1) 0%,rgba(65,154,214,1) 13%,rgba(75,184,240,1) 37%,rgba(58,139,194,1) 76%,rgba(38,85,139,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(97,153,199,1) 0%,rgba(58,132,195,1) 0%,rgba(65,154,214,1) 13%,rgba(75,184,240,1) 37%,rgba(58,139,194,1) 76%,rgba(38,85,139,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6199c7', endColorstr='#26558b',GradientType=0 ); /* IE6-9 */
}

.progressBarOuterContainor {
	background-color: #fff;
	font-weight: bold;
	color: #000;
	margin: 15px 0px 25px 0px;
}

.progressTitle {
	float: left;
}

.progressBarContainor {
	width: 50%;
	margin-bottom: 5px;
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 2px;
	border: 1px solid #C8C7C7;
	padding-top: 2px;
}

/* Nav Row
-------------------------------------------------------*/
.navigationRow {
	margin-top: 15px;
}	

nav {
	display: inline-grid;
	display: -ms-grid;
	-ms-grid-columns: 1fr 1vw 1fr;
	-ms-grid-rows: 1fr 1fr;
	-ms-grid-rows: 45px;
}
	
.buttonNext {
	margin-bottom: 5%;
	-ms-grid-column: 3;
}
	
.buttonPrevious {
	margin-bottom: 5%;
}

.saveButton {
	-ms-grid-row: 2;
	-ms-grid-column-span: 3;
}

.completionButton {
	-ms-grid-column: 3;
	margin-bottom: 5%;
}

/* Front Page
-------------------------------------------------------*/

.help {
	display: block;
	margin: auto;
	text-align: center;
	font-weight: bold;
}

.thankyou {
	display: block;
	margin: auto;
	text-align: center;
	font-size: 1.5em;
}

#LandingPageText p {
	margin: 20px;
}

.inline200 {
	margin: 10px;
	padding-bottom: 20px;
	display: inline-block;
}


/* -------------------------- Media Resets ------------------------------- */

/*--------------------------- Small Mobiles up -------------------------------*/
@ only screen and (min-width: 480px) {

	.main {media
		padding: 0;
	}
}


/*--------------------------- Medium Mobiles up -------------------------------*/
@media only screen and (min-width: 480px) {

	.main {
		padding: 0;
	}
}


/*--------------------------- Tablets up -------------------------------*/
@media only screen and (min-width: 768px)  {
	
	/*#header img {
		max-width: 80%;
	}*/

	/*-- Header Text Reset --*/
	.headerText {
		padding-top: 30px;
	}


	/*--- Nav Bar Reset ---*/
	nav {
		display: inline-block;
	}
	
	/*--- Footer Reset ---*/
	#footer {
		margin: 0;
		padding: 0;
	}
}

/*--------------------------- Desktop Screens up -------------------------------*/
@media only screen and (min-width: 960px)  {
	#header img {
		max-width: 70%;
	}
}

/*--------------------------- Widescreens up -------------------------------*/
@media only screen and (min-width: 1200px)  {

	/*--- Content Width Reset ---*/
	.page {
		width: 75%;
		padding: 10px;
		padding-bottom: 55px;
	}
}

/*--------------------------- XL Widescreens up -------------------------------*/
@media only screen and (min-width: 1500px)  {
	
}