.hma-survey {
	background-color: rgba(239, 239, 239, 1);
	color: #2c3e50;
}
.hma-survey .header {
	padding: 30px 30px;
}
.sg-header-image {
	max-width: 45%;
}
.hma-survey .sg-title {
	margin: 30px 0 0;
	color: #fff;
	font-weight: 400;
}
.hma-survey .content {
	background: #fff;
	padding: 30px;
}
.hma-survey .content h2 {
	font-weight: 400;
	margin-bottom: 15px;
}
.hma-survey .content .row {
	margin: 0;
}
.hma-survey .options {
	justify-content: space-around;
	text-align: center;
	margin: 15px 0 !important;
}
.hma-survey .options input[type="radio"] {
	cursor: pointer;
	transform: scale(1.7);
}
.hma-survey label {
	display: block;
	width: 100%;
	margin: 0;
}
.hma-survey label span {
	color: #ca1e34;
}
.hma-survey label + input {
	margin-top: 15px;
}
.hma-survey .sg-question {
	border-bottom: 1px solid #e9ebed;
	margin: 1em 0;
	padding: 0.5em 0 1.5em;
}
.hma-survey .sg-question > span {
	font-style: italic;
	margin-top: 20px;
	display: block;
}
.hma-survey .sg-comment {
	padding-left: 15px;
}
.hma-survey .sg-comment textarea {
	border: 2px solid #aab1b9;
	padding: 8px 12px;
	border-radius: 6px;
}
.hma-survey input[type="submit"],
.hma-survey button {
	color: #ffffff;
	background-color: #f05523;
	border: 0;
	box-shadow: none;
	padding: 8px 30px;
	border-radius: 10px;
	transition: 1s;
}
.hma-survey input[type="submit"]:hover,
.hma-survey button:hover {
	background-color: rgba(240, 84, 35, 0.7);
}

.hma-survey .form-2 .options > div {
	display: flex;
	align-items: center;
	width: 100%;
	text-align: left;
	margin: 0 20px 15px;
}
.hma-survey .form-2 .options > div label {
	margin-left: 15px;
}
.error-message,
.error-heading {
	position: relative;
	background: #fff2f4;
	padding: 1.25em 1em 1em;
	font-size: 12px;
	line-height: 1;
	border-left: 9px solid #ff4747;
	width: 100%;
	margin-bottom: 1em;
	color: #222;
}
.error-message:before,
.error-heading:before {
	content: "\26a0";
	margin-right: 10px;
}
.error-heading a {
	text-decoration: underline;
}
.hma-survey .description {
	margin-top: 20px;
}
.hma-survey a.go-back {
	color: #ffffff;
	background-color: #f05523;
	border: 0;
	box-shadow: none;
	padding: 8px 30px;
	border-radius: 10px;
	transition: 1s;
}
.hma-survey a.go-back:hover {
	background-color: rgba(240, 84, 35, 0.7);
}
.hma-survey .form-actions {
	display: flex;
	align-items: center;
	justify-content: center;
}
.hma-survey .form-actions a.go-back,
.hma-survey .form-actions input[type="submit"] {
	margin: 5px;
}
.sg-progress-bar {
	clear: both;
	width: 201px;
	height: 20px;
	position: relative;
	margin: 2em auto;
	zoom: 1;
	line-height: 20px;
}
.sg-progress-bar-text {
	font-size: 14px;
	width: 45px;
	text-align: center;
	border-radius: 10px 0 0 10px;
	display: inline-block;
	float: left;
	color: #ffffff;
	background-color: #f05523;
	font-family: Arial;
}
.sg-progress-bar-background {
	background-color: #bfc5ca;
	border-left: 1px solid #ffffff;
	float: left;
	width: 155px;
	border-radius: 0 10px 10px 0;
}
.sg-progress-bar-inner {
	background-color: #f05523;
	height: 20px;
	border-radius: 0;
}
@media only screen and (max-width: 600px) {
	.hma-survey .options > div {
		display: inline-flex;
		align-items: center;
		flex-direction: row-reverse;
		width: 100%;
		margin-bottom: 10px;
		text-align: left;
	}
	.hma-survey .options > div input {
		margin: 0;
		margin-right: 20px;
	}
	.hma-survey .sg-comment {
		padding-left: 0;
	}
	.hma-survey .options.scale-ten {
		justify-content: left;
	}
	.hma-survey .options.scale-ten > div {
		/*width: 25%;*/
	}
	div.scale-three {
		width: 100%;
	}
}
@media only screen and (min-width: 600px) {
	.hma-survey .options.scale-ten > div {
		width: 25%;
	}

	div.scale-three {
		max-width: 25%;
	}
	.scale-three label {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		flex-wrap: wrap;
	}
	.scale-three input {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		flex-wrap: wrap;
	}
}
@media screen and (max-device-width: 640px) {
	.sg-header-image {
		max-width: 100%;
	}
}

/* NPS options background color */
/* Custom Thick Radio Buttons */
.row.options.nps-container input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  display: inline-block;
  outline: none;
  position: relative;
  transition: all 0.2s ease;
}

/* Red (0-6) */
.row.options.nps-container > div:nth-child(-n+7) input[type="radio"] {
  border: 3px solid #dc3545;
}
.row.options > div:nth-child(-n+7) input[type="radio"]:checked {
  background-color: #dc3545;
}

/* Orange (7-8) */
.row.options.nps-container > div:nth-child(8) input[type="radio"],
.row.options.nps-container > div:nth-child(9) input[type="radio"] {
  border: 3px solid #ff8c00;
}
.row.options.nps-container > div:nth-child(8) input[type="radio"]:checked,
.row.options.nps-container > div:nth-child(9) input[type="radio"]:checked {
  background-color: #ff8c00;
}

/* Green (9-10) */
.row.options.nps-container > div:nth-child(10) input[type="radio"],
.row.options.nps-container > div:nth-child(11) input[type="radio"] {
  border: 3px solid #28a745;
}
.row.options.nps-container > div:nth-child(10) input[type="radio"]:checked,
.row.options.nps-container > div:nth-child(11) input[type="radio"]:checked {
  background-color: #28a745;
}

/* Number Labels (0-10) */
.row.options.nps-container label {
  color: #000000 !important;
  display: block;
  cursor: pointer;
  text-shadow: none !important;
}

/* Anchor Labels ('Not Likely' / 'Very Likely') */
.custom-nps-label {
  position: absolute;
  bottom: -28px;
  width: max-content;
  font-size: 12px;
  color: #333;
  font-weight: bold;
  white-space: nowrap;
}

/* Align anchor labels to the edges of the scale */
.row.options.nps-container > div:first-child .custom-nps-label {
  left: 0;
}

.row.options.nps-container > div:last-child .custom-nps-label {
  right: 0;
}
