/* questionnaire.style.css : Additional questionnaire style here */

/************************************
Lachie - Survey Theme 1
*************************************/
.row { /* fixes horizontal scroll */
    margin-left: auto;
    margin-right: auto;
}

#page-template { 
    min-height: auto !important;
    overflow: auto;
    min-height: unset !important;
}

body {
    /* font-family: ; */ /** TD-4: Default Text: Font family **/
    /* font-size: 16px */ /** TD-5: Default Text: Font size **/
    /* text-align: left; */ /** TD-7: **/
    color: #121111; /** TD-8: Default Text: Colour**/
	background-color: #e9e9e9 !important;
}

#page-template > .page-container.body {
	min-height: calc(100vh - 150px); /* 150px is the height of the footer */
}

.question-container {
    width: 1000px; /** TD-61: Container width **/
    margin: 0 auto;
    padding: 24px 40px 48px; 
    background: white;
    margin-top: calc(300px * 0.5); /* 300 is based on the banner height (TD-56) */
    border-radius: 8px; /** TD-21: Container Border Radius **/
	margin-bottom: 62px;
}

.question-container .buttons {
	margin-left: -8px;
    width: calc(100% + 16px);
	display: flex;
	justify-content: center; /** TD-23: Button Position. Left: "justify-content: left", Right: "justify-content: right" **/
}

.question-container .buttons > button {
	margin: 0 8px;
    height: 56px; /** TD-19: Button Height **/
    padding: 0 40px;
	width: unset !important; /** TD-22: Button Styling. Default: Hug (width is unset). Fit container: width is set to 100% **/
	border-radius: 8px; /** TD-20: Button Border Radius **/
	transition: 0.1s ease;
    background: #E9E9E9 !important; /** TD-37: Back Button Fill Colour (Idle) **/
    border-color: unset !important; /** TD-38: Back Button Border Colour (Idle) **/
	color: #4B4550 !important; /** TD-39: Back Button Text Colour (Idle) **/
    border-width: 0px; /** TD-21: Button Border Width **/
    border-style: solid;
}

.question-container .buttons > button.next-button {
	background: #00b0ac !important; /** TD-27: Next Button Fill Colour (Idle) **/
    border-color: unset !important; /** TD-28: Next Button Border Colour (Idle) **/
	color: #FFFFFF !important; /** TD-29: Next Button Text Colour (Idle) **/
}

.question-container .buttons > button.next-button:hover {
	background: #00b0ac !important; /** TD-30: Next Button Fill Colour (Hover) **/
    border-color: unset !important; /** TD-31: Next Button Border Colour (Hover) **/
    color: #FFFFFF !important; /** TD-32: Next Button Text Colour (Hover) **/ 
}

.question-container .no-back-button .nav-control-back {
	display: none !important;
}

#questions section {
	padding-top: 24px !important; /** TD-9: Spacing between grouped questions **/
}

#page-content {
	margin-bottom: 0 !important;
}

.flashlight-question {
	max-width: 100%;
}

.header {
	height: 100px;
    z-index: 10;
    position: relative;
	margin: 0 auto;
}

.header .header-overlay {
	background: #FFFFFF;
	height: 100%;
}

.header h1 {
	text-shadow: none !important;
	color: inherit;
    margin: 0;
    font-size: 24px;
}

.header-content {
	margin-left: 40px !important;
	margin-right: 40px !important;
}

.banner {
	background-size: cover;
	height: 300px !important; /** TD-56: Banner Height **/
	background: #ddd; /** TD-54: Banner Background Colour **/
	position: absolute !important;
	width: 100%;
	margin: 0 auto;
    /* display: none; */ /** TD-53: Disable Banner **/
}

.header-content {
	height: 100%;
    padding: 16px 0;
    display: flex;
	align-items: center;
}

.header h1 img {
	max-width: 200px;
    max-height: 75px;
    margin-right: 24px;
}

.footer-container {
	width: 100%;
    height: 150px;
    background: #282B2A; /** TD-64: Footer Background Colour **/
    color: white; /** TD-67: Footer Text Colour **/
    display: flex; /** TD-63: Disable footer. Default: on = "flex", off = "none" **/
    justify-content: center;
    align-items: center;
}

.footer-container a {
	color: white;
}

.progress-section-container {
	margin-left: auto;
}

#progress-bar {
	width: 250px;
    border-bottom: unset !important;
    /* display: none; */ /** TD-48: Toggle Progress Bar **/
}

/**** TD-50: Progress Bar Layout. Option: Top ****/
/* #progress-bar {
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
}

#progress-bar .progress {
    border-radius: 0 !important;
} */
/*************************************************/

/**** TD-50: Progress Bar Layout. Option: Bottom ****/
/* #progress-bar {
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
}

#progress-bar .progress {
    border-radius: 0 !important;
} */
/*************************************************/

#progress-bar .progress {
	height: 24px; /** TD-52: Progress Bar Height. Options: Small = "4px", Medium = "8px", Large = "24px" **/
	border-radius: 8px;
}

#progress-bar .progress .progress-bar {
    background-color: #00b0ac; /** TD-51: Progress Bar Colour **/
}

/**** Set background image ****/
/*#page-template {
    background-image: url(https://i.picsum.photos/id/1081/1920/1080.jpg?hmac=Cxwi_LWoCVD7tcZqMOcXDJssRuTWdT69UfAFMIxdwGU);
    background-size: cover !important;
    background-repeat: no-repeat;
}*/
/*****************************/

/**** TD-57: Attach banner to question container ****/
/*.banner {
	position: relative !important;
	width: 1000px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	margin-top: 56px;
}

.question-container {
	margin-top: 0px;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}*/
/*********************************************/

/**** TD-44: Header Location = Container. Attach header to container ****/
/*.banner {
	margin-top: 0 !important;
	border-top-left-radius: 0px !important;
	border-top-right-radius: 0px !important;
}

.header {
	width: 1000px;
    margin-top: 56px;
}

.header .header-overlay {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}*/
/*********************************/

/**** Question Styling ****/
.flashlight-label {
    margin-bottom: 24px;
}

.input-group textarea.generic-textarea, .input-group input.generic-input {
    border-radius: 4px !important; /** TD-11: Field Border Radius **/
    background: #f5f5f5;
    border: 1px solid #dfdfdf;
	transition: 0.2s ease;
}

.input-group textarea.generic-textarea:focus, .input-group input.generic-input:focus {
    border-color: #be5301;
    background: #ffffff;
    box-shadow: 0 0 0 3px #f1d8c4;
}

.flashlight-question > .form-group {
    padding: 3px;
}

.flashlight-question .p1Radio .flashlight-radio-text {
    border: unset;
    margin-top: 0;
    padding: 16px;
    background: unset;
}

.flashlight-question .p1Radio {
    width: 100% !important;
}

.flashlight-question .p1Radio .flashlight-waves-effect:active {
    box-shadow: none;
}

.flashlight-question .p1Radio .flashlight-radio-text:hover {
    background: #f4f4f4;
}

.flashlight-question .round-button {
    border-radius: 4px; /** TD-11: Field Border Radius **/
}

.flashlight-radio .round-button>i {
    height: 16px !important;
    width: 16px !important;
    margin-right: 16px !important;
    margin-top: 0 !important;
}

.flashlight-radio .round-button>i:before {
    font-size: 16px;
}

.flashlight-radio .p1Radio .flashlight-radio-text span.round-button-label {
    transform: translateY(3px) !important;
    display: block;
}

.flashlight-radio .p1Option .flashlight-radio-text span.round-button-label {
    display: unset;
    transform: unset;
}

.flashlight-radio .p1Option .flashlight-radio-text {
    padding: 16px;
    margin-top: 0;
    margin-bottom: 8px;
}

.flashlight-radio .p1Option .flashlight-radio-text:hover {
    background: #f4f4f4;
}

.flashlight-radio .p1Option .flashlight-radio-text.selected {
    /*background: #b888e2;*/ /*Option list styling: selected background color*/
    /*color: #ffffff;*/ /*Option list styling: selected text color*/
}

.question-container #questions > section:nth-of-type(1) {
    padding-top: 8px !important;
}

/* QUESTION: TEXTBOX GRID */
.flashlight-question .flashlight-textboxgrid-table td {
    padding: 8px 4px 0 4px !important;
}

.flashlight-textboxgrid input.generic-input {
    padding: 8px;
}
/**/

@media only screen and (max-width: 1100px) {
    .question-container {
        width: 90%;
    }
}

@media only screen and (max-width: 680px) {
    .flashlight-singleslider.horizontal .flashlight-small-label.right-label {
	width: 20% !important;
    }
    .header h1 {
        margin: 0 auto;
    }

    .header h1 img {
        max-width: 50%;
    }
    
    .header h1 span > * {
        display: block;
        font-size: 0.8em;
        margin: 0 auto;
        text-align: center;
    }
    
    .header h1 span > span { /*only applied when an image is set*/
        margin-top: 8px;
    }
    
    .question-container {
        width: 100%;
        padding: 16px;
    }
    
    .question-container .buttons > button {
        font-size: 18px;
    }

    .flashlight-radio .p1Radio .flashlight-radio-text span.round-button-label {
        transform: translateY(-3px) !important;
    }
    
    .progress-section-container {
        position: absolute;
        left: 0;
        bottom: 0;
    }
    
    #progress-bar {
        width: 100vw;
        border-bottom: 0;
    }
    
    #progress-bar .progress {
        height: 6px;
        border-radius: 0;
    }
}

/**************************/

/* CON-5470 */
.question-container {
    margin-top: 50px; /* question container top margin */
}
.flashlight-multipleslider.vertical .flashlight-small-label, .flashlight-multipleslider.horizontal .flashlight-small-label {
    text-align: left;
    padding-left: 24px;
}
.flashlight-radiobuttongrid .flashlight-radiobuttongrid-input-wrapper, .flashlight-radiobuttongrid .flashlight-radiobuttongrid-optout {
    display: flex;
}
.flashlight-radiobuttongrid-table .flashlight-radiobuttongrid-input-wrapper{
	justify-content: center;
}
.flashlight-radiobuttongrid-table.navigating-radiogrid .flashlight-radiobuttongrid-input-wrapper{
	justify-content: start;
}
.flashlight-radiobuttongrid .flashlight-radiobuttongrid-optout{
	justify-content: center;
}
.flashlight-checkboxgrid .flashlight-checkboxgrid-input-wrapper, .flashlight-checkboxgrid .flashlight-checkboxgrid-optout{
	display: flex;
}
/* start - dragDrop container size */
.flashlight-question.flashlight-dragdropcategorysort .flashlight-dragdropcategorysort-container .multiple-results-wrapper {
	display: grid;
}
.flashlight-question.flashlight-dragdropcategorysort .flashlight-dragdropcategorysort-container .multiple-results-wrapper .selection-tag{
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 60px;
	margin-top: 24px;
}
.flashlight-question.flashlight-dragdropcategorysort .flashlight-dragdropcategorysort-container .multiple-results-wrapper .selection-tag .tag-right-button{
	display: list-item;
}
.flashlight-question .multiple-results-wrapper{
	min-height: 60px;
}
/* end - dragDrop container size */
.flashlight-radio .round-button>i {
    margin-top: 5px !important;
}
.flashlight-multipleslider .rowWrapper {
    width: 100%;
}
.flashlight-slider .box-slider {
    max-width: 100%;
}
/* dropdown width */
.tag-dropdown.menu{
	max-width: 435px;
    overflow-x: hidden;
}
.footer-container {
    text-align: center;
}
.flashlight-question.flashlight-dragdropcategorysort .flashlight-dragdropcategorysort-container.possible-result,
.flashlight-question.flashlight-dragdropcategorysort .table-targets-wrapper{
	width: 50%;
}
.flashlight-dragdropcategorysort .table-targets h4, .flashlight-dragdropcategorysort .table-targets li{
	white-space: break-spaces;
}
.flashlight-question tbody tr td label {
	line-height: 18px;
}
.flashlight-question table.generic-table td {
	line-height: 18px;
}
.flashlight-radiobuttongrid-table.mobile .tr-group.answered > td:nth-of-type(1):before{
	font-family: 'Black Tie';
	content: '\f012';
}
.flashlight-checkboxgrid-table.generic-table.navigating-checkboxgrid.generic-table-alternate-row.mobile .navigating-statement.right-control{
	background: #ddd !important;
	opacity: 0.3;
	cursor: not-allowed !important;
	pointer-events: none;
}

/********Survey control colour (response selection)*********/
.flashlight-question .round-button.selected {
    border-color: #be5301;
    color: #be5301;
}
.flashlight-radio .round-button > i.shown-when-selected{
    color: #be5301;
}
.flashlight-question .round-button.selected:hover{
    border-color: #be5301;
}
.flashlight-checkbox .round-button > i.shown-when-selected{
    color: #be5301;
}
.flashlight-slider .slider.active .progress{
    background-color: #be5301;
}
.flashlight-slider .slider .handle{
    background-color: #be5301;
}
.flashlight-question .selected i.shown-when-selected{
    color: #be5301;
}
/***********/
@media only screen and (max-width: 1100px) {
    .question-container {
        width: 90%;
		overflow-x: auto;
    }
	.question-container .content-area {
		width: 1000px;
	}
}
@media only screen and (min-width: 1200px) {
	.question-container {
		width: 1100px;
	}
	.tag-dropdown.menu{
		max-width: 100%;
	}
}
@media only screen and (min-width: 890px) {
	.flashlight-question.flashlight-multipleslider .input-group .rowWrapper{
		display: flex;
		padding-top: 12px;
	}
	.flashlight-question.flashlight-multipleslider .input-group .rowWrapper .flashlight-small-label{
		width: 40%;
		text-align: left;
	}
	.flashlight-question.flashlight-multipleslider .input-group .rowWrapper .flashlight-slider{
		width: 60%;
	}
	.flashlight-question.flashlight-multipleslider .input-group .rowWrapper .flashlight-slider .box-slider{
		width: 100%;
	}
	.flashlight-question table.generic-table thead tr th {
    width: 130px;
	}
}
@media only screen and (min-width: 681px) {
.flashlight-radiobuttongrid.flashlight-question table.generic-table td:first-child{
	min-width: 200px;
}
}
@media only screen and (max-width: 680px) {
	.horizontal-table-hint-right{
		background: transparent;
	}
	.question-container {
		overflow-x: unset;
    }
	.question-container .content-area {
		width: unset;
	}
	.flashlight-checkboxgrid table.generic-table tbody tr td label {
		padding-left: 4px;
	}
	.flashlight-radio .round-button>i {
		margin-top: 0px !important;
	}
	.flashlight-numericgridcalculator-table.generic-table .wrapper{
		text-align: start;
	}
	.flashlight-checkboxgrid-table tbody{
		display: block;
	}
	.flashlight-radiobuttongrid-table.mobile label{
		padding-left: 12px;
		padding-right: 32px;
	}
	.navigating-radiogrid tbody > tr > td:first-of-type .navigating-statement{
		width: 20px;
    	height: 24px;
	}
	.navigating-radiogrid tbody > tr > td:first-of-type .navigating-statement.left-control{
		left: 4px;
	}
	.navigating-radiogrid tbody > tr > td:first-of-type .navigating-statement.right-control{
		right: 4px;
	}
	.navigating-radiogrid tbody > tr > td:first-of-type label{
		padding-left: 28px;
		padding-right: 28px;
	}
	.flashlight-radiobuttongrid-table.mobile .tr-group.answered > td:nth-of-type(1):before {
		width: 26px;
		height: 26px;
		z-index: 1;
	}
	.flashlight-radiobuttongrid-table.mobile.generic-table-alternate-row .tr-group.answered > td:nth-of-type(1):before{
		right: 4px;
		color: white;
		background: rgb(99, 205, 99, 1);
		font-size: 12px;
	}
	.flashlight-checkboxgrid-table.mobile .tr-group.answered > td:nth-of-type(1):before {
		font-family: 'Font Awesome 6 Pro';
		position: absolute;
		width: 24px;
		height: 24px;
		background: rgb(99, 205, 99, 1);
		right: 4px;
		color: white;
		font-size: 12px;
	}
	.navigating-checkboxgrid tbody > tr > td:first-of-type .navigating-statement {
		/* font-family: 'Font Awesome 6 Pro'; */
		width: 24px;
		height: 24px;
	}
	.navigating-checkboxgrid tbody > tr > td:first-of-type .navigating-statement.left-control {
		left: 4px;
	}
	.flashlight-checkboxgrid-table.generic-table.navigating-checkboxgrid .wrapper label{
		padding-left: 32px;
		padding-right: 32px;
	}
	.navigating-checkboxgrid tbody > tr > td:first-of-type .navigating-statement.right-control {
		/* content: "\f054"; */
		right: 4px;
	}
	    /* End pages & slider issue*/
    .flashlight-slider .custom-labels-horizontal {
		width: calc(100% - 64px) !important;
	}
	.endpage-body>.card {
			height: inherit !important;
			margin-top: auto !important;
			margin-bottom: auto !important;
			overflow: auto;
			padding-top: 24px;
			display: block;
	}
	.flashlight-checkboxgrid-table.mobile .tr-group.answered > td:nth-of-type(1):before{
		display: none;
	}
	.flashlight-radiobuttongrid-table.navigating-radiogrid.mobile.generic-table-alternate-row .tr-group.answered > td:nth-of-type(1):before{
		display: none;
	}
	.flashlight-radiobuttongrid-table .hidden-label-keeping-structure{
		display: none;
	}
	.flashlight-radiobuttongrid-table.mobile .tr-group > td:nth-of-type(1){
		display: flex;
		justify-content: flex-start;
	}
}