@CHARSET "UTF-8";

html, body {
	background-color: white !important;
	margin:10px;
    padding:10px;
}

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

#checkAnswer > br {
	display: none;	
}

#checkAnswer p, #questionHint p {
  font-size: 17px;
}

.answerTile > label,
#videoPollingprogressDiv > div > span {
	color: #444444;
}

h2 {
	color: #444444;
}

.info, .nextQuestionInfo, .endQuizInfo, .disabledInfo, .playbackQuizInfo{
    font-size: 1.2em;
    color: #444444;
    vertical-align: top;
    white-space: initial;
    display: flex;
    width: 95%;
    margin: 10px auto 0 auto;
    padding: 10px;
    border: 2px solid #0B6F85;
    border-radius: 5px !important;
    font-weight: 700;
    background-color: #FFFFFF;
    height: 480px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.info2 {
    font-size: 1.2em;
    color: #444444;
    vertical-align: top;
    white-space: initial;
    display: flex;
    width: 95%;
    margin: 10px auto 0 auto;
    padding: 10px;
    border: 2px solid #0B6F85;
    border-radius: 5px !important;
    font-weight: 700;
    background-color: #EEFBFE;
    max-height: 135px;
}

.info .overlayIntroduction {
	max-height: 100%;
	overflow-y: auto;
}

.info2 .overlayIntroduction {
	overflow-y: auto;
}

#feedbackDialog {
    font-size: 1.2em;
    color: white;
    position: relative;
    vertical-align: top;
    white-space: initial;
    display: inline-block;
    margin: 10px;
    border-radius: 5px !important;
    font-weight: 700;
    background-color: #212121;
    opacity: 0.9;
	position:absolute;
	z-index:1000;
	padding: 55px 35px;
}

#feedbackCloseBtn {
	margin: 5px;
	color: white;
	position: absolute;
	top: 10px;
	right: 5px;
}

#feedbackCloseBtn:hover {
	cursor: pointer;
}

#feedbackText {
	overflow-y: auto;
    height: 100%;
    display: block;
}

.question-panel {
    font-size: 1.2em;
    color: #444444;
    vertical-align: top;
    white-space: initial;
    margin: 10px;
    border: 1px solid #c0c0c0;
    border-radius: 5px !important;
    background-color: white;
}

.question-panel .panel-heading {
    background: #d9edf7;
    padding: 10px 15px;
    border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

.question-panel .panel-body:before {
    display: none;
}

.question-panel .panel-body {
    padding: 15px;
    overflow-y: auto;

    display: grid;
    grid-template-rows: auto 1fr auto;
}


/* Only limit question panel height in two-column mode */
@media screen and (min-width: 992px) {
	.question-panel .panel-body {
		height: 66vh;
	}
}

.question-panel .panel-heading > img {
    margin-left: 5px;
    margin-right: 10px;
}

#feedbackBtnContainer, #answersBtnContainer {
	display: flex;
	justify-content: space-between;
}

#answersBtnContainer  {
  margin-top: 0.2em;
}

/* Checkboxes */
/* Base for label styling */

.answerTile > label {
	background-color: #eee;
	width: 100%;
	min-height: 45px;
	padding: 10px;
	border-radius: 5px !important;
}

.answerTile > input:not(:disabled) + label:hover {
	background-color: #ddd;
}

.answerTile .pollAnswerText {
    margin-bottom: 25px;
}

.blankAnswerTile {
	border-radius: 5px !important;
}

#checkAnswer p.incorrect {
	color: red;
}

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked,
[type="radio"]:not(:checked),
[type="radio"]:checked {
  position: absolute;
  left: -9999px;
}

[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label,
[type="radio"]:not(:checked) + label,
[type="radio"]:checked + label {
  position: relative;
  padding-left: 40px;
  padding-top: 12px;
  cursor: pointer;
}

/* checkbox aspect */
[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before {
  content: '';
  position: absolute;
  top: calc(50% - 8.75px);
  left: 15px;
  width: 1.25em; height: 1.25em;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
}

/* radio aspect */
[type="radio"]:not(:checked) + label:before,
[type="radio"]:checked + label:before {
    content: '';
    position: absolute;
    top: calc(50% - 8.75px);
    left: 15px;
    width: 1.25em; height: 1.25em;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 40px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
}

/* checked mark aspect */
[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% - 8px);
  left: 17px;
  font-size: 1.3em;
  line-height: 0.8;
  color: #09ad7e;
  transition: all .2s;
}

/* checked mark aspect changes */
[type="checkbox"]:not(:checked) + label:after,
[type="radio"]:not(:checked) + label:after {
  opacity: 0;
  transform: scale(0);
}

[type="radio"]:focus + label,
[type="checkbox"]:focus + label {
	background-color: #ddd;
}

[type="checkbox"]:checked + label:after,
[type="radio"]:checked + label:after {
  opacity: 1;
  transform: scale(1);
}

/* accessibility */
[type="checkbox"]:checked:focus + label:before,
[type="radio"]:checked:focus + label:before,
/* hover style just for information */
label:hover:before:not(:disabled) {
  border: 1px solid #888888 !important;
}

.portlet.box.green {
	margin: 0 auto;
    max-width: 1455px;
    background-color: rgba(0, 0, 0, 0.25) !important;
    box-shadow: 0px 0px 1px 2px rgba(0, 0, 0, 0.25);
    border: none;
}

.portlet.box.green > .portlet-title {
	background-color: grey;
}

.portlet.box.green > .portlet-title > .caption {
	color: white !important;
}

#questionHolder {
	color: #444444 !important;
}

#questionInfo{
    font-size: 1.2em;
    color: #444444;
    position: relative;
    vertical-align: top;
    white-space: initial;
    display: inline-block;

    padding: 10px;

    border-radius: 5px !important;
    font-weight: 700;
    padding-top: 20px;

}

.answerTile .pollAnswerText {
	resize: vertical;
}

#questionTitlePanel, #answersContainer label {
    -ms-word-break: break-all;
    word-break: break-all;
    /*if supported, use the following instead as it looks better*/
    -ms-word-break: break-word;
    word-break: break-word;
}

.introductionTitle, .nextQuestionTitle, .endQuizTitle, .actionDisabledTitle, .playbackQuizTitle{
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
    height: 100%;
    margin-bottom: 15px;
}

#introductionTitleMsg, #nextQuestionTitleMsg, #endQuizTitleMsg, .disabledTitleMsg, #playbackQuizTitleMsg{
	font-size: 17px;
	font-weight: 700;
	color: black;
	margin-left: 8px;
	overflow-wrap: break-word;
}
.instructionMsg, .instructionQuestionMsg, .endQuizMsg {
  display: block;
  padding-left: 30px;
  padding-right: 30px;
  font-size: 16px;
  color: black;
  font-weight: 300;
  overflow-wrap: break-word;
}

@media (min-width: 992px) {
  #questionsNoOverlay {
    padding-left: 0px;
    margin-left: -12px;
  }

  #exitPreview{
    margin-right: 20px !important;
  }
}