/* 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**/
}

#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:  #071e7f !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:  #071e7f !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: #46b43e; /** 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; */
	max-width: 350px;
    max-height: 88px;
    margin-right: 24px;
}

.footer-container {
	width: 100%;
    height: 150px;
    background: #46b43e; /** 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 **/
	display: none;
}

/**** 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: #b888e2; /** 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;
	color: #071e7f;
}

/* PSUP-4857 */
.flashlight-label, .flashlight-label p .flashlight-label a, .flashlight-label span, .flashlight-label strong, .flashlight-label em {
    font-size: 18px !important;
}

/* end - PSUP-4857 */

.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;*/
	border: 1px solid  #E8F6E7 !important;
	transition: 0.2s ease;
}

.input-group textarea.generic-textarea:focus, .input-group input.generic-input:focus {
    border-color: #b888e2;
    background: #ffffff;
    box-shadow: 0 0 0 3px #E8F6E7;
}

.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 **/
	border: 1px solid  #E8F6E7;
	color: #071e7f;
}

.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) {
    .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;
    }
}

/**************************/

/*Question after selected*/
.flashlight-question .round-button.selected {
	border-color: #071e7f  !important;
	color: #071e7f  !important;
}

/************/

/*Flashlight drag and drop wrapper changes*/
.flashlight-dragdropcategorysort .table-targets h4 {
	white-space: unset !important;
}

.flashlight-dragdropcategorysort .table-targets li {
	white-space: unset !important;
}

/*************/

/*Flashlight question error message*/
.flashlight-question label.error{
	color: #F79B06 !important;
}

/*Survey control color for all question types-radio buttons*/
.flashlight-question .selected i.shown-when-selected{
	color: #F79B06;
}

/*font weight for the response options to normal*/
.flashlight-question tbody tr td label {
	font-weight: normal;
}

.flashlight-question .round-button, .flashlight-question .optout-round-button {
	font-weight: normal;
}

/*Change the colour on sliders*/
.flashlight-slider .slider.active .progress {
	background-color: #F79B06;
}

/*****multi-code-matrix-ticket******/
.flashlight-question table.generic-table thead tr th{
	width: 150px;
}
/**************/

.flashlight-paragraph p span{
	color: #071e7f  !important;
}
.flashlight-paragraph p{
	color: #071e7f  !important;
}
.flashlight-question table.generic-table thead tr th {
	color: #071e7f  !important;
}

.flashlight-radio .p1Radio .flashlight-radio-text span.round-button-label, .flashlight-checkbox .p1Check.flashlight-checkbox-text span.round-button-label {
    display: block !important;
	line-height: 18px;
}
.flashlight-multipleslider .rowWrapper {
    width: 100%;
}
.flashlight-slider .box-slider {
    max-width: unset;
}
.flashlight-question.flashlight-multipleslider .input-group .rowWrapper .flashlight-slider {
    max-width: calc(100%);
}
.flashlight-question.flashlight-multipleslider .input-group .rowWrapper .flashlight-small-label {
    min-width: 100%;
    max-width: 100%;
	padding-left: 32px;
	text-align: center;
}

/*PSUP-7520*/
.flashlight-question tbody tr td label{
	color: black !important;
}
.flashlight-imagehotspot-image-container .highlighter-canvas{
	max-width: 100% !important;
}

/*PSUP-8436*/
.flashlight-radio .p1Radio .flashlight-radio-text span.round-button-label img {
    max-height: 20px;
    max-width: 20px;
    object-fit: contain;
	height: unset !important;
}
/*PSUP-8436*/