/*input[type^="checkbox"], input[type^="radio"] {
	width: 20px;
	height: 20px;
	position: static !important;
	left: unset !important;
	margin: 0px !important;
}*/

#submitQuestionBtn {
	float: none;
}

.radioWrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-left: 7px;
}

.answerRow {
	overflow: auto;
}

#playerOverlay {
	position: absolute;
	z-index: 100;
	background-color: rgba(147, 136, 167, 1.7);
	opacity: 0.7;
	margin: 10px;
}

#questionsOverlay {
	position: absolute;
	z-index: 200;
	margin: 10px;
	height: 100%;
	width: calc(100% - 22px);
}

.overlayIntroduction {
	display: flex;
    flex-direction: column;
    width: 100%;
}

.introductionTitle{
	white-space: nowrap;
}

#introductionTitleMsg{
	font-size: 17px;
	font-weight: 700;
	color: black;
	margin-left: 8px;
}
.instructionMsg {
	display: block;
	padding-left: 35px;
    font-size: 16px;
    color: black;
    font-weight: 300;
}

.answerTile .pollAnswerText {
	resize: none;
}

.overlayItem {
	background: white;
	border: 1px solid #42296E;
	border-radius: 5px !important;
	/*padding-left: 1em;
	padding-right: 1em;*/
	color: var(--primary-color-text, #000);
	font-size: 1.25em;
	margin-top: 5px;
	margin-bottom: 5px;
	/*overflow-y: auto;*/
}

.overlayItem.answerTextTile {
	padding: 0;
}

.answerTile:hover:not(.answerTextTile) {
	background-color: #E3DFE9;
	cursor: pointer;
}

.answerTile .pollAnswerText {
    margin: 0;
}

#checkAnswer p {
	text-align: center;
}

#questionTitlePanel.overlayItem {
	border-color: var(--new-primary-color,#42296E);
	padding-left: 1em;
	padding-right: 1em;
}

#questionsOverlay #questionHint {
	margin: 10px 2%;
	height: auto;
	overflow-y: auto;
	max-height: 20%;
	background: white;
	border-radius: 5px !important;
	color: var(--primary-color-text, #000);
	padding-left: 1em;
}

#questionContainer #controlBtnsContainer {
	margin-inline-end: 1em;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
}

#questionContainer .question-footer {
	background: #dad0ea;
	color: var(--new-primary-color, #42296E);
	height: 50px;

	display: flex;
	justify-content: end;
	align-items: center;
}

#answersContainer #controlBtnsContainer {
	display: flex;
	justify-content: space-between;
	margin-left: 2%;
	margin-right: 2%;
}

#answersContainer #controlBtnsContainer button.btn {
	margin: 0 0.2em;
}

.overlayItem>label {
	background-color: inherit !important;
	color: inherit !important;
}

.answerContainer {
	width: 100%;
}

#questionsOverlay, 
#questionHintBtn,
#questionsOverlay #skipQuestionBtn,
#checkCorrectnessBtn,
#questionWhyBtn {
	margin-right: 0.5em;
}

@media screen and (max-width: 650px) {
	#questionsOverlay,
	#questionHintBtn,
	#questionsOverlay #skipQuestionBtn,
	#checkCorrectnessBtn,
	#questionWhyBtn {
		margin-right: 0.5em;
	}
	
	#questionsOverlay #answersContainer #controlBtnsContainer {
		display: block;
	}
}

.answerTile {
	display: flex;
	margin-left: 2%;
	margin-right: 2%;
	flex-direction: column;
}

#questionTitlePanel {
	padding-top: 12px;
	padding-bottom: 10px;
	margin-left: 2%;
	margin-right: 2%;

	align-content: center;
}

#questionContainer {
	height: 100%;
}

.panel-body {
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	padding: 0px;
}

#answersContainer {
	width: 100%;
	flex: 1;
}
[type="checkbox"]:not(:checked) + label:after,
[type="checkbox"]:checked + label:after,
[type="radio"]:not(:checked) + label:after,
[type="radio"]:checked + label:after {
	content: '✔';
	position: absolute;
	top: calc(50% - 8.75px);
  left: 15px;
  width: 1.25em;
	height: 1.25em;
	color: #ffffff;
	font-size: 14px;
	transition: all .2s;
	background-color: var(--btn-secondary-color, #0B6F85);
	border: 3px solid var(--btn-secondary-color, #0B6F85);
}


[type="radio"]:not(:checked) + label:after,
[type="radio"]:checked + label:after {
	border-radius: 50%;
	border: 3px solid var(--btn-secondary-color, #0B6F85);
}

.additional-resources {
	background-color: white;
	color: black;
	margin: 0 2.5%;
	border-radius: 5px !important;
	padding: 0.5em;
}

.additional-resources-header,
.additional-resources-link-container,
.additional-resource-row
{
	display: flex;
	align-items: center;
}

.additional-resource-row {
	justify-content: space-between;
}

.overlayItem>.pollAnswerText {
	background: white;
	color: black;
	border: none;
	border-radius: 4px !important;
}

.fillInTheBlankInput {
	color: black;
    border: 1px dashed #42296E;
    margin-top: -11px;
    border-top: none;
    border-left: none;
    border-right: none;
    height: 24px;
    padding-top: 9px;
    font-size: 18px;

}

.fillInTheBlankInput[disabled] {
	background-color: white !important;
	border-color: var(--btn-warn-color, #BF0033);
}

.overlayItem.incorrectAnswer {
	background-color: white;
}

.leftSide, .rightSide {
	width: 45%;
}

.leftSide {
	float: left;
}

.rightSide {
	float: right;
}

.answerRow>.answerTile {
	margin-left: 2%;
	margin-right: 2%;
}

.label {
	word-wrap: break-word;
}

#checkAnswer p.incorrect {
	color: var(--btn-warn-color, #BF0033);
}

.answerRow>.answerTile {
	margin-left: 2%;
	margin-right: 2%;
}

#answers>div:focus>label {
	background-color: var(--new-primary-light-active, #C4BDD2) !important;
	margin: auto;
}
#feedbackBtnContainer, #answersBtnContainer {
	display: flex;
	padding-right: 14px;
}

[type="radio"]:focus + label,
[type="checkbox"]:focus + label {
	background-color: var(--new-primary-light-active, #C4BDD2) !important;
	margin: auto;
}

[type="radio"]:not (:checked ) +label:before, [type="radio"]:checked+label:before
	{
	background: none;
	border: none;
}

[type="checkbox"]:not (:checked ) +label:after, [type="checkbox"]:checked+label:after,
	[type="radio"]:not (:checked ) +label:after, [type="radio"]:checked+label:after
	{
	content: '';
}

.panel-body .question-and-answer-container {
	height: 100%;
	overflow-y: auto;
}