﻿@viewport {
	width: device-width;
}

header, #header {
    color: #000;
}

#preview {
	display: none;
}

.promsNhsLogo {
	float: right;
	width: 65px;
}

.pheLogo {
	/*height: 125px;*/
	width: 150px;
}

footer, #footer {
	font-size: 1em;
	margin: 4% 0 3% 0;
	padding: 1% 0;
}

.cqolLogo {
	float: right;
	height: 60px;
}

body {
	min-width: 50%;
	font-size: 1em;
	font-family: "Arial",Helvetica,Sans-Serif;
	color: #000;
}

.page {
    width: 90%;
	font-size: 0.95rem;
}

#main {
	clear:both;
}

.marginTop10 {
	/*margin-top: 3%;*/
	margin-bottom: 2%;
/*	max-height: 406px;*/
	min-height: 520px;
}

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);
}

.clear{
	clear:both;
}

.cRadio {
    padding: 5px;
    width: 20px;
    height: 20px;
    float: right;
}

.choiceVerticalInputCell .cRadio {
	float: none;
}

.nonresponse {
	border-color: #ff5e5e !important;
	border-width: 1px !important;
	background-color: #ff5e5e !important;
	color: #000 !important;
	padding-left: 5px !important;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

.nonresponsepage {
	display: none
}

.qnSKIPVAS {
	display: none
}

#FontButtonsWrapper {
	-webkit-border-radius: 0;
	float: left;
    display: -ms-inline-grid;
    display: inline-grid;
	margin-top: 1%;
	margin-bottom: 5px;
}

#FontButtons {
	-webkit-border-radius: 0;
	display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
}

.fontButton {
	-webkit-border-radius: 0;
	height: 35px;
	width: 35px;
	border: 1px solid #adadad;
	display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

#ColourButtons {
	/*margin-left: 5px;*/
	-webkit-border-radius: 0;
	display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
}

.colourButton {
	-webkit-border-radius: 0;
	border: 1px solid #ccc;
	height: 35px;
	width: 35px;
}

#LandingPageText {
	margin-top: 2%;
}

#LanguageSelection {
	max-width: 50%;
	margin: 50px 0px;
}

#LanguageSelectorContainer {
	max-width: 50%;
	margin: 20px 0px;
}

/* HEADINGS   
----------------------------------------------------------*/
/*-- Header --*/
h1 {
    font-size: 2.5em;
	margin: 30px 0 5px 0;
	text-align: center;
}

/*-- Section Headers --*/
h2 {
    font-size: 2em;
    padding: 0 0 10px 0;
    display: inline-block;
    /*color: #00A9CE;*/
}

/*-- Thank You Message --*/
h3 { 
	font-size: 1.25em; 
	text-align: center;
}

/*-- Sub-Headers --*/
h4 { 
	font-size: 1.25em; 
	margin: 0;
	margin-top: 5px;
	display: inline-block;
}

/*-- Sub-Headers --*/
h5, h6 { 
	font-size: 0.95em; 
	margin: 5px;
}

p {
	padding: 6px 0 6px 0;
	margin: 0;
}

/* Main Styles 
-------------------------------------------------------*/
#LandingPageText {
	font-size: 0.95em;
}

.sectionHeader {
 	margin-top: 2%;
	color: #000
}

.questionRow {
	margin: auto;
    margin-bottom: 2%;
	overflow: auto;
	padding: 10px 5px 10px 5px;
}

.questionNumber{
	font-weight: bold;
	margin-right: 5px;
	color: #005EB8;
}

.questionText {
    padding: 1%;
    margin-bottom: 1%;
	display: inline-flex;
}

.qnDATE .questionText, .qnWHO .questionText, .qnBLURB .questionText, .qnMOBILITY .questionText,
.qnSELFCARE .questionText, .qnUSUAL .questionText, .qnPAIN .questionText, .qnANXIETY .questionText,
.qnTHERM .questionText {
	font-weight: bold;
}

.subHeading{
	font-weight: bold;
	margin: 0;
	margin-left: 1%;
}

.qnDATE .questionText {
	padding-left: 0;
}

.qnDATE .subHeading {
	margin: 0 0 10px 0;
}

.dateInstruction {
	font-weight: normal;
}

.choiceRow {
	color: #000;
	padding: 10px;
}

.choiceRow span {
	margin-left: 0.5%;
	position: relative;
	width: 90%;
}

.ChoiceSubhead {
	font-weight: bold;
	text-decoration: underline;
	clear: both;
	display: block;
	padding-bottom: 2px;
	padding-top: 7px;
}

.choiceVerticalInputCell {
	text-align: center;
}

select {
	width: 95%;
	display: block;
	margin: auto;
}

.integarAnswer {
	width: 25%;
	text-align: center;
	font-size: 1em;
}

.code {
	font-size: 0.9em;
	margin-right: 5px;
}

/*-- Bespoke Styling for Text Only Special Questions --*/
.qnUSUAL .questionText {
    padding: 1%;
    margin-bottom: 1%;
	display: inline-flex;
	font-weight: normal !important;
}

ul {
	font-weight: normal !important;
}

.questionRow.qnIFSAT {
	margin-bottom: 0;
}

.qnIFSAT .questionText {
	display: block;
	text-align: left;
}

.qnIFSAT .questionTextText {
	width: 100%;
	margin-bottom: 15px;
}

.blueBox {
	margin-top: 25px;
	border: 3px solid #005EB8;
	padding: 10px;
	text-align: left;
}

.questionRow.qnCopyright {
	border-bottom: none;
	font-size: 0.85rem;
	margin-bottom: 0;
	padding-bottom: 0;
}

.qnCopyright .questionText {
	font-weight: normal;
	font-style: italic;
	margin-bottom: 0;
	padding-bottom: 0;
}

/*-- Bespoke Styling for EORTC Intro */

.QQaff6b520 h2/*, .QQee216303 h2*/ {
	margin: 0;
	padding-left: 10px;
}

.eortc {
	height: 75px;
	padding-top: 12px;
}

/*-- Bespoke Styling for Qs without bottom-border --*/
.questionRow.qnBLURB {
	border-bottom: none;
}

/*-- Bespoke styling for EQ5D Question layout, in accordance with prescribed demo --*/

/* All questions as Button Tap */
.choiceRow {
	padding: 0px;
	max-width: 90%;
	margin: auto;
	margin-bottom: 10px;
}

.choiceRow span {
	display: flex; 
	align-items: center;
	justify-content: center;
	position: relative;
	width: 90%;
	padding: 5px 10px 5px 10px;
	border: 1px solid black;
	border-radius: 10px;
	text-align: center;
	min-height: 30px;
	vertical-align: middle;
}

.QQb5404c81 .choiceRow span, .QQc76cdeeb .choiceRow span, .QQc6284368 .choiceRow span, .QQa4f7f168 .choiceRow span, .QQ9577dc12 .choiceRow span {
	display: inline-block;
	line-height: 30px;
	vertical-align: middle;
}

.choiceRow input[type=checkbox] {
	display: none;
}

.choiceRow input[type=checkbox]:checked + span {
	background: linear-gradient(to bottom,#f6f6fe 1%,#005EB8 25%,#005EB8 100%);
	color: #fff;
}

/*-- Bespoke styling for Consent question --*/

.questionRow.qnCONSENT {
	border: 3px solid #005EB8;
}

.qnCONSENT .choiceRow input[type=checkbox] {
	display: inline-block;
	float: left;
	margin-left: -4.25%;
	margin-top: -1%;
}

.qnCONSENT .choiceRow input[type=checkbox]:checked+span {
	background: none;
	color: #000;
}


/* Matrix Tables 
-------------------------------------------------------*/
/*-- Table width --*/
.matrixTable, .verticalChoiceTable {
	width: 100%;
}

/*-- Box position --*/
.matrixTable .choiceVerticalInputCell {
	padding-top: 0.75%;
	text-align: center;
}

/*-- Q Cell Width --*/
.matrixTable .matrixQuestionTextCell {
	min-width: 110px;
	padding: 1%;
}

/*-- Option Spacing --*/
.matrixTable .matrixHeaderCell {
	padding: 5px;
}

.verticalChoiceTable .matrixHeaderCell {
	padding: 24px 5px 5px 5px;
}

/* Q29 Box 1, Q30 Box 1 */
.QCB16a46aef0, .QCB8a8d5160 {
	padding-top: 5px !important;
}

/*-- Horizontal Box Position --*/
.matrixTable .matrixInputCell {
	text-align: center;
}

/*-- Left Align TATA --*/
.matrixTableLeft {
	border-collapse: collapse;
}

.matrixTableLeft .choiceVerticalInputCell {
	width: 4.5%;
}

.matrixTableLeft .matrixQuestionTextCell {
	padding-top: 5px;
	padding-left: 3px;
	margin: 3px;
}

.matrixTableLeft input[type=checkbox] {
	margin: 15px 0px 15px 0px;
}

/* .matrixTableLeft tr:nth-child(odd) {
	background-color: #f9f9f9;
} */

/* TATA Restyle
-------------------------------------------------------*/
.matrixTableLeft {
	width: 90%;
}

.matrixTableLeft .choiceVerticalInputCell input[type=checkbox] {
    display: none;
}  

/*.choiceRow span*/ .matrixQuestionTextCell {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 90%;
    padding: 5px 10px 5px 10px;
    border: 1px solid black;
    border-radius: 10px;
    text-align: center;
    min-height: 30px;
    vertical-align: middle;
}

/* Text Fields
-------------------------------------------------------*/
.stringAnswer {
	width: 95%;
	margin: auto;
	display: block;
}

textarea {
	width: 90%;
	display: block;
	margin: 5px 15px 15px 15px;
}

.matrixWithOtherInput input[type="text"] {
	width: 100%;
	display: block;
	margin: auto;
}

/* Dynamic Thermometer Template
-------------------------------------------------------*/
.scaleLeft {
	margin: 0 !important;
	display: inline-block;
	float: none;
}

.scaleLeft .questionText {
	display: none;
}

.scoreFrame {
min-width: 55px; 
	margin-top: 55px;
	width: 5.439em;*
	width: 55px; 
	margin-top: 55px;
}

.ThermometerImage {
	padding-left: 55px;
}

svg image:nth-of-type(1) {
	position: relative;
	x: -10;
	/*-webkit-x: -17.5;*/
}

svg image:nth-of-type(2) {
	overflow: visible;
}

.QQ8d69149abest, .QQ8d69149aworst {
	margin-left: 0px !important;
	width: 255px;
}

.ThermometerRight {
	float: none !important;
	margin-left: 75px;
}

/* Progress Bar
-------------------------------------------------------*/
#ProgressBarRow .progressBar {
	background-color: #005EB8;
}

.progressBarOuterContainor {
	background-color: #fff;
	font-weight: bold;
	color: #000;
	margin: 0px 0px 5px 0px;
	padding: 0px;
}

.progressTitle {
	float: left;
	font-weight: normal;
}

.progressBarContainor {
	width: 40%;
	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;*/
	font-size: 0.9em;
	padding-top: 10px;
	border-top: 1px solid #E2E2E2;
	height: 55px;
}	

nav {
	display: inline-flex;
	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;
	width: 50%;
}
	
.buttonPrevious {
	margin-bottom: 5%;
	width: 50%;
}

.saveButton {
	-ms-grid-row: 2;
	-ms-grid-column-span: 3;
}

.completionButton {
	-ms-grid-column: 3;
	margin-bottom: 5%;
}

/* Login Page
-------------------------------------------------------*/
.loginmain {
	border: 1px solid #ddd;
	width: 100%;
	max-width: 900px;
	margin: 0 auto 1% auto;
	position: relative;
	padding: 0;
	-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 1px 4px rgba(0,0,0,0.3), inset 0px 0px 40px rgba(0,0,0,0);
}

.loginmain * {
	box-sizing: border-box;
}

fieldset {
	border: none !important;
	width: 100%;
	min-inline-size: unset !important;
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}


label.inline200 {
	display: block;
	width: 140px;
	margin-bottom: 1% 0;
}

.form-control {
	margin: 1% 0;
}

.userinput, .passwordinput {
	margin-top: 2%;
}

.loginmain fieldset input[type="text"], .loginmain fieldset input[type="password"] {
	font-size: 1.2em;
	border: 1px solid #ccc;
	color: #444;
	width: auto;
}

input[type="submit" i] {
	white-space: normal;
}

#btnLogOncustom {
	background: none;
	background-color: #005EB8;
	text-decoration:none;
	margin: 5% auto;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #005EB8;
	display: block;
	cursor:pointer;
	color: white;
	font-family:arial;
	padding: 10px 34px;
	text-shadow:0px 1px 0px #0185A2;
	width: 95%;
	max-width: 550px;
}

#btnLogOncustom:link {
	text-decoration:none;
	color: white;
}

#btnLogOncustom:hover {
	background-color: #41B6E6;
	text-decoration:none;
}

#btnLogOncustom:active {
	position:relative;
	top:1px;
	text-decoration:none;
}

#loginPageNhsLogo {
	float: right;
	padding: 20px;
}

.cqolLogoLarge {
	float: right;
	padding-top: 5%;
	height: 100px;
}

.triangles {
	margin-bottom: -4.3px;
	padding-top: 5%;
	height: 100px;
}

/* -------------------------- Media Resets ------------------------------- */
/*--------------------------- Small Mobiles up -------------------------------*/
@media only screen and (min-width: 375px) {
	.fontButton {
		margin: 1px;
	}

	/*#ColourButtons {
		margin-left: 5px;
	}*/

	.colourButton {
		margin: 1px;
	}

	.cqolLogoLarge {
		height: 150px;
	}

	.triangles {
		height: 150px;
	}
}

/*--------------------------- Medium Mobiles up -------------------------------*/
@media only screen and (min-width: 480px) {
	.page {
		font-size: 1rem;
	}

	/* Q37 */
	.verticalChoiceTable .matrixHeaderCell {
		padding: 5px 5px 5px 5px;
	}

	nav {
		display: inline-grid;

	}

	.buttonNext {
		width: auto
	}
	
	.buttonPrevious {
		width: auto
	}

	.choiceRow {
		padding-left: 0px;
	}

	.cqolLogoLarge {
		height: 200px;
	}

	.triangles {
		height: 200px;
	}

/*--------------------------- Tablets up -------------------------------*/
@media only screen and (min-width: 768px)  {
	/*--- Logos reset ---*/
	.promsNhsLogo {
		width: 100px;
	}

	.pheLogo {
		/*height: 175px;*/
		width: 200px;
	}

	
	/*--- Nav Bar Reset ---*/
	nav {
		display: inline-block;
	}
	
	/*--- Footer Reset ---*/
	#footer {
		margin: 0;
		padding: 0;
	}
	
	.navigationRow {
		font-size: 1em;
	}

	/*-- Login Page Logos --*/

	.loginmain {
		width: 85%;
	}

	/* Thermometer */
/*	svg image:nth-of-type(1) {
		position: relative;
		x: -10;
	}*/

	.triangles {
		height: 250px;
	}

	.cqolLogoLarge {
		height: 250px
	}
}

/*--------------------------- Widescreens up -------------------------------*/
@media only screen and (min-width: 992px)  {

	/*.accessibilityLink {
		display: none;
	}
*/
	.triangles {
		height: 300px;
	}

	.cqolLogoLarge {
		height: 300px;
	}


/*--------------------------- Widescreens up -------------------------------*/
@media only screen and (min-width: 1200px)  {

	/*--- Hide Accessibility Link ---*/
	/*.accessibilityLink {
		display: none;
	}*/

	/*--- Content Width Reset ---*/
	.page {
		width: 75%;
	}

	/*--- Thermometer ---*/
	.qnTHERM .innerQuestionArea {
		margin-left: 125px;
	}

	.ThermometerRight {
		margin-left: 150px;
	}

	.scoreFrame {
		padding: 25px !important;
	}

	/* For laptop screen */

	/* Q8 measurements in order - cqol_small.png; 8, 300, 12*/

	.marginTop10 {
		min-height: 350px;
	}

	/*--Copyright on EQ5D intro --*/
	.QQaa2f7fb4 .questionText {
		padding-top: 20%;
	}

	/*-- Copyright on thermometer instructions --*/
	.QQ1df2140b .questionText {
		padding-top: 14%;
	}

	.triangles {
		height: auto;
	}

	.cqolLogoLarge {
		height: auto;
		padding-top: 15%;
	}

}



