﻿@viewport {
    width: device-width;
}

#preview {
    display: none;
}

header, #header {
    color: #fff !important;
    font-size: 2.5em;
    background-color: #263996;
    padding:30px;
}

header img {
    display: inline-block;
    width: auto;
    margin-top: 20px;
}

.headerTitle {
    display: inline-block;
}

.headerBold {
    font-weight: bold;
    display: block;
}

.headerLight {
    display: block;
}

footer, #footer {
    /*font-size: 1em;*/
    margin: 4% 0 3% 0;
    padding: 1% 0;
}

body {
    min-width: 50%;
    font-size: 1rem !important;
    font-family: "Trebuchet MS",Verdana,Helvetica,Sans-Serif;
    color: #000;
}

.page {
    width: 90%;
    /*font-size: 1rem;*/
}

#main {
    clear:both;
}

.marginTop10 {
    margin-top: 1%;
    min-height: 50vh;
}

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;
}

.blackBox {
    max-width: 150px;
}

/* 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;
    color: #000;
}

h3 { 
    font-size: 1.25em; 
}

h4 { 
    font-size: 1.25em; 
    text-align: center;
}

/*-- Sub-Headers --*/
h5, h6 { 
    font-size: 0.95em; 
    margin: 5px;
}

p {
    padding: 6px 0 6px 0;
    margin: 0;
}

li {
    display: list-item;
}

/* Main Styles 
-------------------------------------------------------*/
#LandingPageText {
    font-size: 0.95em;
}

.HeadingText {
    text-align: center;
    font-size: 1.25rem;
    color: #999;
    font-style: italic;
    float: left;
    display: none;
}


/* Content Styles
-------------------------------------------------------*/
.sectionHeader {
    font-size: 1em;
    padding: 10px;
    font-weight: bold;
}

.questionRow {
    margin: auto;
    overflow: auto;
    padding: 5px 5px 15px 5px;
    margin-bottom: 5px 5px 15px 5px;
    min-height: 150px;
    /* border-bottom: 1px solid #696969; */
}

/*- Remove bottom border -*/
/* .questionRow.qnCONTACT, .questionRow.qnCOPYRIGHT, .questionRow.qnTYMSG, .questionRow.qnBLURB, 
.questionRow.qnQ4, .questionRow.qnQ10, .questionRow.qnQ16, .questionRow.qnQ22, .questionRow.qnQ27,
.questionRow.qnQ28, .questionRow.qnQ31 {
    border-bottom: none;
} */

.questionRow.qnBLURBA, .questionRow.qnBLURB {
    min-height: auto;
}

.questionNumber{
    font-weight: bold;
    margin-right: 5px;
    color: #000;
}

.questionText {
    padding: 1%;
    display: inline-flex;
    font-weight: bold;
    color: #000;
}

.subHeading{
    font-weight: bold;
    margin: 0;
    margin-left: 1%;
    margin-bottom: 3%;
}

.choiceRow {
    padding: 0.5%;
    color: #000;
    min-height: 30px;
}

.ChoiceSubhead {
    font-weight: bold;
    text-decoration: underline;
    clear: both;
    display: inline-block;
    padding-bottom: 2px;
    padding-top: 7px;
}

.choiceRow span {
    margin-left: 0.5%;
    position: relative;
    width: 90%;
}

.choiceVerticalInputCell {
    text-align: center;
    padding-bottom: 15px;
}

select {
    width: 95%;
    display: block;
    margin: auto;
}

.integarAnswer {
    width: 25%;
    text-align: center;
    font-size: 1em;
}

/*-- Bespoke Styling for TYMSG --*/
.questionRow.qnTYMSG {
    min-height: auto;
}

.qnTYMSG .questionText {
    display: block;
    text-align: center;
    font-size: 1.2em;
}

.qnTYMSG .questionTextText {
    width: 100%;
    text-align: center;
}

/*-- Bespoke Styling for Contact --*/
.questionRow.qnCONTACT {
    min-height: auto;
}

/*-- Bespoke Styling for Copyright --*/
.questionRow.qnCOPYRIGHT {
    font-size: 0.85em;
    min-height: auto;
}

.qnCOPYRIGHT .questionText {
    font-weight: normal;
}

/*-- Bespoke Styling for Freepost --*/
.freepost {
    display: inline-block;
    vertical-align: middle;
    padding-left: 10px;
}

/*-- Bespoke Styling for Qs with Subheads --*/
.QQ0cad5545 .choiceRow span {
    display: inline-block;
    width: auto;
}


/*-- 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 {
	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;
}





/* 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: 5px;
    font-weight: normal;
}

/*-- 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;
}

.matrixTableLeft input[type=checkbox] {
    margin: 15px 0px 15px 0px;
}

.matrixTableLeft tr:nth-child(odd) {
    background-color: #f9f9f9;
}

/* Text Fields
-------------------------------------------------------*/
.stringAnswer {
    width: 95%;
    margin: auto;
    display: block;
}

textarea {
    width: 95%;
    display: block;
    margin: auto;
}

.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: 3.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;
}

.ThermometerRight {
    float: none !important;
    margin-left: 75px;
}

/*-- Q7 --*/
.QQ2a0ccf14best, .QQ2a0ccf14worst {
    margin-left: 0px !important;
    width: 255px;
}


.qnQ7 .questionText, .qnCopyright .questionText, .qnBLURB .questionText {
    color: #000;
}

/*-- Q8, Q9 --*/
.QQa3675330best, .QQa3675330worst,
.QQcfcd8d46best, .QQcfcd8d46worst {
    text-align: center;
}

.QQa3675330best, .QQa3675330worst,
.QQcfcd8d46best, .QQcfcd8d46worst {
    margin-left: 0px !important;
    width: 210px;
}

.questionRow.qnQ8, .questionRow.qnQ9 {
    padding-bottom: 2%;
}

/* Progress Bar
-------------------------------------------------------*/
#ProgressBarRow .progressBar {
    background-color: #CCC;
}

.progressPercentage {
    color: #696969;
    width: 10%;
    display: inline-block;
    text-align: center;
}

.progressBarOuterContainor {
    background-color: #fff;
    font-weight: bold;
    color: #000;
    margin: 15px 0px 25px 0px;
    /*change break*/
    width: 50%;
    display: inline-block;
    padding-top: 10px;
}

.progressTitle {
    /*float: left;*/
    color: #696969;
    /*width: 10%;*/
    display: inline-block;
}

.progressBarContainor {
    width: 50%;
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 2px;
    border: 1px solid #C8C7C7;
    padding-top: 2px;
    float: none !important;
    vertical-align: middle;
    display: inline-block;
}

.progressBarContainor {
    width: 40%;
}

/* 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%;
}


/* -------------------------- Media Resets ------------------------------- */

/*--------------------------- Medium Mobiles up -------------------------------*/
@media only screen and (min-width: 480px) {

    header img {
        width: auto;
    }

    /*--- Thermometer Reset ---*/
    .thermQText {
        width: 40%;
    }
    
    .thermContainor2 {
        display: block;
    }
    
    .thermContainor3 {
        width: 50%;
    }

    .ThermometerRight {
        width: auto;
    }

    .ThermometerImage {
        width: auto;
    }

    .qnQ8 .questionText, .qnQ9 .questionText {
        display: block;
    }

    nav {
        display: inline-grid;
    }

    .buttonNext {
        width: auto
    }
    
    .buttonPrevious {
        width: auto
    }

    .progressBarOuterContainor {
        width: 50%;
        padding-top: 25px;
    }

}

/*--------------------------- Tablets up -------------------------------*/
@media only screen and (min-width: 768px)  {

    .headerTitle {
        width: 75%;
    }

    header img {
        width: 25%;
        float: right;
    }

    .STAGQ201 {
        float: none;
        margin-left: 80%;
    }

    .HeadingText {
        float: none;
        text-align: center;
    }
    
    /*--- Footer Reset ---*/
    #footer {
        margin: 0;
        padding: 0;
    }
    
    .navigationRow {
        font-size: 1em;
    }

    /*--- Nav Bar Reset ---*/
    nav {
        display: inline-block;
    }
}

/*--------------------------- Laptops up -------------------------------*/
@media only screen and (min-width: 992px)  {
    #header {
        font-size: 2em;
    }

    .headerTitle {
        width: 70%;
    }

    header img {
        width: auto;
    }

}


/*--------------------------- Widescreens up -------------------------------*/
@media only screen and (min-width: 1200px)  {

    /*--- Content Width Reset ---*/
    .page {
        width: 75%;
    }

    /*--- Thermometer ---*/
    /* .qnQ7 .innerQuestionArea, .qnQ8 .innerQuestionArea, .qnQ9 .innerQuestionArea {
        margin-left: 125px;
    } */

    .ThermometerRight {
        margin-left: 150px;
    }

    .scoreFrame {
        padding: 25px !important;
    }
}