/* Quiz List */
#list-exhibitor-quiz { width: 100%; }
#list-exhibitor-quiz .col-quiz { width: 80%; }
#list-exhibitor-quiz .col-quiz p { margin:0px; padding:0px; line-height:normal; }
#list-exhibitor-quiz .col-state { width: 15%; text-align:center; }
#list-exhibitor-quiz .col-actions { width: 5%; text-align: center; }
#list-exhibitor-quiz .col-actions i { cursor: pointer; font-size:25px; }

/* Quiz Editor */
#form-quiz { width: 100%; margin: auto; }
#form-quiz .items { width: 100%; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; background-color:var(--color-yellow); border-top:10px solid #000; padding-top:35px; padding-bottom:45px; }
#form-quiz .item { position: relative; width: 100%; min-height: 128px; display: flex; flex-direction: column; justify-content: center; align-items: start; margin: 25px 0 25px 0; padding: 25px; color: #333; border: 10px solid #000; border-radius: 2px; background-color:#FFF; max-width:1024px; }
#form-quiz .items .item:first-child { margin-top:45px; }
#form-quiz .item[data-dragged] { display: none; }
#form-quiz .item[data-drop-placeholder] { opacity: 0.4; }
#form-quiz .item[data-drop-placeholder].dragover { opacity: 1; }
#form-quiz .item:not([data-drop-placeholder]).dragover .options-panel { visibility: visible; opacity: 0.8; background: #007fc5; }
#form-quiz .item:not([data-drop-placeholder]).dragover .options-panel > * { display: none; }
#form-quiz .item .left-panel,
#form-quiz .item .right-panel { position: absolute; }
#form-quiz .item .left-panel { top: 0; left: 0; }
#form-quiz .item .right-panel { top: 0; right: 0; }
#form-quiz .item .right-panel::after { content: attr(data-item-type); text-transform: uppercase; font-size: 12px; position: absolute; top: 0; right: calc(0px - 6px - 6px - 12px); background:var(--color-fushia); color: #fff; font-weight: bold; padding: 16px 6px; writing-mode: vertical-rl; text-orientation: upright; }
#form-quiz .item .left-panel { opacity: 0.4; transition: 0.2s; }
#form-quiz .item.option-panel-open .left-panel,
#form-quiz .item:hover .left-panel { opacity: 1; transition: 0.2s; }
#form-quiz .item .left-panel::before { content: '\f0b2'; font-family: 'FontAwesome'; text-transform: uppercase; font-size: 14px; position: absolute; top: 0; left: calc(0px - 6px - 6px - 12px); background:var(--color-fushia); color: #fff; font-weight: bold; padding: 16px 6px; writing-mode: vertical-rl; text-orientation: upright; cursor: pointer; border-bottom-left-radius: 12px; border-top-left-radius: 3px; opacity: 0.4; }
#form-quiz .item.option-panel-open .left-panel::before,
#form-quiz .item:hover .left-panel::before { opacity: 1; }
#form-quiz .item.option-panel-open > :not(.option-panel):not(.left-panel):not(.right-panel) { opacity: 0.1; transition: 0.2s; }

#form-quiz .item > .option-panel { position: absolute; z-index: 100; visibility: hidden; opacity: 0; top:0; right: 0; left: 0; bottom: 0; background-color:var(--color-blue); opacity:0.8; color: #fff; display: flex; flex-direction: row; justify-content: stretch; user-select: none; padding: 12px 24px; }
#form-quiz .item > .option-panel > .settings { width: 85%; }
#form-quiz .item > .option-panel > .settings > h1 { color: white; font-size: 18px; }
#form-quiz .item > .option-panel > .actions { width: 15%; height: 100%; border-left: 1px solid rgba(255, 255, 255, 0.7); display: flex; flex-direction: column; align-items: center; justify-content: center; }
#form-quiz .item > .option-panel > .actions i { display: flex; flex-direction: column; align-items: center; justify-content: center; margin: auto 32px; font-size: 22px; font-weight: bold; cursor: pointer; }
#form-quiz .item > .option-panel > .actions i > span { font-size: 16px; padding-top: 8px; }

#form-quiz .item.qcm > .responses,
#form-quiz .item.qcu > .responses { width: 100%; display: flex; flex-direction: row; justify-content: center; align-items: center; flex-wrap: wrap; }
#form-quiz .item.qcm > .responses label,
#form-quiz .item.qcu > .responses label { width: auto; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; margin: 16px 32px; border: 2px solid var(--color-fushia); border-radius: 22px; padding: 3px 12px; overflow-wrap: anywhere; }
#form-quiz .item.qcm > .responses label > *,
#form-quiz .item.qcu > .responses label > * { margin: 4px 8px; }
#form-quiz .item.qcu > .responses label > .actions { justify-self: end; display: flex; flex-direction: row; align-items: center; justify-content: flex-end; margin-left: 16px; }
#form-quiz .item.qcu > .responses label > .actions i { margin: 2px 0 2px 6px; font-size: 14px; }
#form-quiz .item.qcm > .responses input[disabled],
#form-quiz .item.qcu > .responses input[disabled] { background: transparent; color: inherit; }
#form-quiz .item.qcm > .responses input,
#form-quiz .item.qcu > .responses input { width: auto; border: none; }

#form-quiz .item.txt > textarea { height: 100%; overflow: hidden; resize: none; }

#form-quiz .item.txt > textarea { height:auto !important; }

#list-exhibitor-quiz thead th { padding: 24px 32px 24px 32px; }
#list-exhibitor-quiz thead { border-bottom: 10px solid #000; }
#list-exhibitor-quiz tbody tr:not(:last-child) { border-bottom: 10px solid #000; }
#list-exhibitor-quiz tbody tr td { padding: 24px 16px; vertical-align: middle; }

/* Quiz Display */
.quiz-result-container { width:248px; height:230px; margin:0px auto; background-image:url(/img/quiz-score-illustrations.png); background-position:center center; background-repeat:no-repeat; padding-top:40px; }
body > main .card .quiz-result-container { padding-top:30px; }
.quiz-result { margin: auto; border: 10px solid #000; background-color:var(--color-yellow); width: 152px; height: 152px; border-radius: 50%; display: flex; justify-content: center; align-items: center; }
.quiz-result-100 { border: 10px solid #000; background-color:var(--color-green); color:#FFF; }
.quiz-result-0 { border: 10px solid #000; background-color:#E00; color:#FFF; }
.quiz-result > span { font-weight: bold; font-size: 32px; }
.quiz-result-100 > span, .quiz-result-0 > span { font-weight: bold; font-size: 32px; color:#FFF; }

.quiz-result.small { border:10px solid #000000; }
.quiz-result.small > span { font-size: 20px; }
.quiz { width: 80%; margin: auto; }
.quiz > h2.title { border: 10px solid var(--color-fushia); background-color:var(--color-fushia); text-align: center; font-size: 32px; padding: 32px 32px; justify-content:center; color:#FFF; border-radius:30px; position:relative; }

.quiz > h2.title:after { content:''; position:absolute; bottom:-28px; left:50%; margin-left:-17px; display : inline-block;
	height : 0;
	width : 0;
	border-top : 20px solid var(--color-fushia);
	border-right : 18px solid transparent;
	border-left : 17px solid transparent; }

.quiz > p.desc { margin: 32px 0 64px; text-align:center; font-size:18px; }
.quiz > .item { text-align:center; justify-content:center; }
.quiz > .item b { font-size:25px; }
.quiz > .item.qcu, .quiz > .item.qcm {  border: 10px solid #000000; position: relative; width: 100%; display: flex; flex-direction: column; justify-content: center; align-items:center; margin: 16px 0 32px; padding: 12px 16px; color: #000; border-radius: 2px; box-shadow: 3px 3px 8px 1px rgba(221, 221, 221, 0.4); }
.quiz > .item.txt { line-height: 1.4; }
.quiz > .item > .responses { width: 100%; display: flex; flex-direction: row; align-items: center; justify-content: center; flex-wrap: wrap; margin: 8px 0; }
.quiz > .item > .responses > label { user-select: none; width: auto; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; margin: 16px 32px; border: 5px solid var(--color-fushia); border-radius: 15px; padding: 10px 15px; overflow-wrap: anywhere; cursor: pointer; transition: 0.2s; }
.quiz > .item > .responses > label > * { margin: 4px 8px; }
.quiz > .item > .responses > label.checked { background-color: rgba(225, 43, 153, 0.3); padding-left: 42px; padding-right: 42px; }
.quiz > .item > .responses > label.result-valid,
.quiz > .item > .responses > label.result-missing { border-color: var(--color-green); background-color: rgba(76, 175, 80, 0.1); }
.quiz > .item > .responses > label.result-invalid { border-color: #ba000d; background-color: rgba(244, 67, 54, 0.4); }

/* Quiz Card List */
.quizCardList { width: 100%; }
.quizCardList > .card { margin: 8px auto; }
.quizCardList > .card.completed { background-color: rgba(129, 199, 132, 0.2); border-color: #338a3e; }


@media screen and (max-width: 1100px) {
	.introTextExhibitor { background-image:none; }
    .quiz > h2.title { padding: 8px; word-break: break-word; font-size: 22px; }
    .quiz > .item > .responses > label { margin-left: 4px; margin-right: 4px; }
    .quiz > .item > .responses > label.checked { padding: inherit; }
    .quiz { width:95%; }
	#form-quiz .items { padding-left:15px; padding-right:15px; }
	.col-quiz-desc { display:none; }
}

