﻿div.questionnaire-registration .popup-form {
	max-width: 400px;
}

div.questionnaire-registration .popup-modal .popup-form .wrapper {
	max-height: 98vh;
}

div.introduction {
	font-family: Roobert, sans-serif;
	font-size: 17px;
	font-weight: 400;
	color: var(--hl-dark-green);
	line-height: 1.25;
}




ul.question-options {
	list-style: none;
}

ul.question-options li {
	font-family: Roobert;
	font-size: 18px;
	font-weight: 400;
	color: var(--hl-dark-green);
	line-height: 1.25em;
}

ul.question-options li.option {
	display: flex;
	flex-direction: row;
	align-items: start;
	margin-bottom: 8px;
	gap:0px;
}

ul.question-options li.option > label { 
	padding-left: 14px;
}

ul.question-options > li:last-child {
	margin-bottom: 0;
}

.btn-group-select,
.btn-option-select {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	border: 1px solid var(--hl-dark-green);
	background-color: transparent;
	background-size: 14px auto;
	background-position: center;
	background-repeat: no-repeat;
}

.btn-group-select + label,
.btn-option-select + label {
	cursor: pointer;
}

.btn-group-select.active,
.btn-option-select.active {
	background-color: var(--hl-dark-green);
	background-image: url("/_assets/icon-tick-hl-light-green.png");
}


.invisible { 
	display: none;
}

/*.btn-yn {
	font-family: Roobert;
	font-weight: 600;
	font-size: 16px;
	padding: 10px 18px;
	border: 0px solid var(--hl-dark-green);
	background-color: var(--hl-dark-green);
	color: #ffffff;
}

.btn-yn.active {
	background-color: var(--hl-light-green);
	color: var(--hl-dark-green);
}

.btn-yn:hover:not(.active) {
	background-color: var(--hl-light-green);
	color: var(--hl-dark-green);
}*/

div.questionnaire-container {
	font-weight: 400;
	line-height: 1.25;
}

div.questionnaire-container .actions-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	margin-top: 40px;
}

.actions-container .response-actions,
.actions-container .navigation {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
}

div.questionnaire-container .title-and-progress {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 26px;
}

.questionnaire-container .title-and-progress h2.section-title {
	margin-bottom: 0;
}


.questionnaire-container .title-and-progress .percent-progress {
	width: 50vw;
	max-width: 300px;

	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.questionnaire-container .title-and-progress .percent-progress .value { 
	width: 40px;
	font-size: 18px;
	color: var(--hl-dark-green);
	text-align: right;
	flex-shrink: 0;
}

.questionnaire-container .title-and-progress .percent-progress .meter {
	width: 100%;
	height: 10px;
	background-color: var(--hl-taupe);
	border-radius: 7px;

	position: relative;

	overflow: hidden;
}

.questionnaire-container .title-and-progress .percent-progress .meter .bar {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	background-color: var(--hl-dark-green);
	border-radius: 7px;
	width: 0;

	transition: width 0.25s;
}

div.questionnaire-container #questions .question {
	display: none;
}

div.questionnaire-container .message-container { 
	display: none;
	font-size: 17px;
}

.question-header {
	margin: 0 0 40px 0;
}

.question-container {
	display: flex;
	flex-direction: row;
	align-items: start;
	gap: 20px;
}

.question-number {
	background-color: var(--hl-light-green);
	color: var(--hl-dark-green);
	padding: 8px 8px;
	min-width: 42px;
	text-align: center;
	font-family: Roobert;
	font-size: 25px;
	font-weight: 600;
	flex-shrink: 0;
}

.question-text {
	padding-top: 8px;
   padding-right: 15px;
	font-size: 25px;
	margin-bottom: 40px;
}

.question-text p {
	font: inherit;
	color: inherit;
	line-height: inherit;
}

.question-text p:last-child { 
	margin-bottom: 0; 
}

.question-intro {
   padding-right: 15px;
	font-size: 18px;
	margin-bottom: 16px;
}

.question-options-container { 
   padding-right: 15px;
}

ul.question-options li.option.none-of-the-above {
	margin-top: 40px;
}

.question-options.mcss .btn-option-select,
.question-options.yes-no .btn-option-select { 
	border-radius: 50%; 
}

.question-options.yes-no {
	display: flex;
	flex-direction: row;
	gap: 40px;
}


h3.question-section-title {
	font-size: 29px;
	font-weight: 600;
	margin-bottom: 1em;
	line-height: 1.2;
}

.question-section-header h3 { 

}

ul.question-options li.option > .identifier {
	min-width: 26px;
	flex-shrink: 0;
}

.question-text button.show-question-details {
	transform: translateY(-3px);
}

.question-text button.show-question-details,
ul.question-options li.option button.show-option-details {
	margin-left: 10px;
	color: #ffffff;
	background-color: transparent;
	width: 24px;
	height: 24px;
	border-radius: 0%;
	flex-shrink: 0;
	position: relative;
	font-size: 0;
}

.question-text button.show-question-details:after {
	content: "i";
	display: flex;
	width: 18px;
	height: 18px;
	font-family: Roobert, sans-serif;
	font-size: 13.3px;
	font-weight: bold;
	background-color: var(--hl-dark-green);
	color: #ffffff;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
}

ul.question-options li.option button.show-option-details:after {

	content: "i";
	display: flex;
	width: 18px;
	height: 18px;
	position: absolute;
	top: 3px;
	left: 3px;
	font-family: Roobert, sans-serif;
	font-size: 13.3px;
	font-weight: bold;
	background-color: var(--hl-dark-green);
	color: #ffffff;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
}

.option-details.popper {
	padding: 15px;
	font-size: 13px;
	background-color: #ffffff;
	color: var(--hl-dark-green);
	width: 230px;
	border-radius: 8px;
	box-shadow: 0 0 5px 0 rgba(var(--hl-dark-green-rgb), 0.8);
	display: none;
}

.option-details.popper p { 
	font: inherit;
	color: inherit;
}



@media (max-width: 640px) {
	div .questionnaire-container .actions-container { 
		flex-direction: column;
		align-items: start;
		gap: 15px;
	}

	div.questionnaire-container .actions-container .response-actions, 
	div.questionnaire-container .actions-container .navigation {
		gap: 10px;
	}

	/*div.questionnaire-container .actions-container .navigation { 
		align-self: end;
	}*/
}

@media (max-width: 540px) {
	div.questionnaire-container .actions-container .navigation { 
		flex-direction: column;
	}

	div.questionnaire-container .actions-container .navigation button { 
		width: 100%;
	}
}

@media (max-width: 540px) {
   div.questionnaire-container .title-and-progress { 
      align-items: start;
      flex-direction: column;
      gap: 10px;
   }
   
   div.questionnaire-container .title-and-progress .progress {
      width: 100%;
      display: flex;
      justify-content: end;
   }
   
   div.questionnaire-container .title-and-progress .percent-progress {
      width: 100%;
   }
}


