/******************************************************************/
/* Sorelet General                                                */
/******************************************************************/

body {
	overflow: auto;
}

.hidden { display: none !important; }

/******************************************************************/
/* Sorelet Editor                                                 */
/******************************************************************/

#scoreletEditorUniqueID {
	text-align: center;
}

#sc-scorelet-editor-frame {
	display: inline-block;
	background-color: white;
	border: 1px solid #CCCCCC;
	text-align: initial;
}

#sc-scorelet-editor-menubar {
	
}

#sc-scorelet-editor-menubar table {
	width: 100%;
}

#sc-scorelet-editor-menubar table .gwt-MenuItem {
	padding-left: 25px;
}

.sc-scorelet-editor-controls-panel {
	top: 50%;
    transform: translateY(-50%);
    position: relative;
} 

#sc-scorelet-editor-toolbar {
	margin-left: 55px;	
}

#sc-scorelet-editor-edit-panel {
}

#sc-scorelet-editor-layout {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

#sc-scorelet-editor-dialog-panel {
	position: relative;
	width: 280px;
	border: 1px solid #CCCCCC;
	margin: -1px; /* simulate border collapse */
	padding: 20px;
}

#sc-scorelet-editor-dialog-panel #sc-scorelet-editor-save-button {
	position: relative;
	left: 50%;
	transform: translate(-50%);
}

#sc-scorelet-editor-dialog-panel input,
#sc-scorelet-editor-dialog-panel textarea {
	width: calc(100% - 16px);
	min-width: calc(100% - 16px);
	max-width: calc(100% - 16px);
}

#sc-scorelet-editor-dialog-panel #sc-scorelet-editor-scorelet-type {
	text-align: center;
	font-size: 12px;
}
#sc-scorelet-editor-dialog-panel #sc-scorelet-editor-file-name {
	text-align: center;
	color: #70A8ED;
	cursor: pointer;
}

#sc-scorelet-editor-dialog-panel #sc-scorelet-editor-file-name.sc-scorelet-editor-unsaved-changes {
	color: #ff7e0b
}

#sc-scorelet-editor-dialog-panel textarea {
	height: 40px;
}

#sc-scorelet-editor-frame #task-list {
	height: calc(100% - 220px);
    border: 1px solid lightgray;
}
#sc-scorelet-editor-frame .sc-scorelet-editor-item-list {
	height: 290px;
	border: 1px solid #CCCCCC;
	overflow: auto;
}

#sc-scorelet-editor-frame .sc-scorelet-editor-choice-panel .sc-scorelet-editor-item-list {
	display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    flex-direction: row;
    width: 500px;
    height: 418px;
}

#sc-scorelet-editor-frame .sc-scorelet-editor-item-list .sc-task {
	padding: 10px 5px 0px;
	display: flex;
	height: 41px;
}
#sc-scorelet-editor-frame .sc-scorelet-editor-item-list .sc-task img {
	position: relative;
	top: -4px;
}

#sc-scorelet-editor-frame .sc-scorelet-editor-item-list .sc-task div,
#sc-scorelet-editor-frame .sc-scorelet-editor-item-list .sc-task input,
#sc-scorelet-editor-frame .sc-scorelet-editor-item-list .sc-task .gwt-checkBox {
	display: inline-block;
}

#sc-scorelet-editor-frame .sc-scorelet-editor-item-list .sc-task div:first-child {
	width: 24px;
	flex: none;
}

.sc-scorelet-editor-button-holder {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

#sc-scorelet-editor-task-panel {
	position: relative;
	flex: 1;
	padding: 20px 10px 0px;
	text-align: center;
	border-top: 1px solid #CCCCCC;
    margin: -1px;
}

#sc-beta-badge {
	position: absolute;
    color: coral;
    transform: rotate(-45deg);
    left: 14px;
    top: 12px;
    font-weight: bold;
    cursor: pointer;
}

#sc-beta-badge:hover {
	transform: scale(1.4) rotate(-45deg);
}

#sc-scorelet-editor-instruction-panel {
	display: inline-block;
	text-align: initial;
	padding: 0px 10px 20px;
}

#sc-scorelet-editor-instruction-panel button {
	vertical-align: top;
	margin-left: 20px;
}

#sc-scorelet-editor-instruction-panel input {
	vertical-align: bottom;
	width: 300px;
}

#sc-scorelet-editor-controls-panel {
	text-align: initial;
	display: flex;
}

#sc-scorelet-editor-edit-panel .sc-editor-wrapper {
	display: inline-block;
	margin: 0px 10px;
	text-align: initial;
}

#sc-scorelet-editor-task-panel .gwt-HTML {
	position: relative;
}

.sc-scorelet-editor-itme-list .sc-task {
	cursor: pointer;
}

#sc-scorelet-editor-frame .sc-scorelet-editor-item-list .sc-task input {
	border: 2px solid transparent;
    min-width: calc(100% - 45px);
    max-width: calc(100% - 45px);
}

#sc-scorelet-editor-frame .sc-scorelet-editor-choice-panel .sc-task input {
    min-width: calc(100% - 80px);
    max-width: calc(100% - 80px);
}


#sc-scorelet-editor-frame .sc-scorelet-editor-item-list .sc-task:hover:not(.sc-selected) {
	background-color: #d4e2f3;
}

#sc-scorelet-editor-frame .sc-scorelet-editor-item-list .sc-task.sc-selected {
	color: white;
}

#sc-scorelet-editor-frame .sc-task.sc-selected input {
	border: 2px solid black;
}

/******************************************************************/
/* Scorelet Player                                                 */
/******************************************************************/

#scoreletPlayerUniqueID { 
	font-family: cursive; 
	color: darkgreen; 
	margin: 0px auto;
    max-width: 600px; 
    margin: 0px auto; 
    text-align: center; 
    position: relative;
    background-color: transparent;
}

#quizz hr { 
	border: 1px solid chocolate; 
}

#quizz button { color: wheat; background-color: darkgreen; opacity: 0.8; font-size: 20px; white-space: nowrap; cursor: pointer; border-radius: 10px; margin: 10px;}
#quizz button:hover { background-color: green; }
#quizz button[disabled] { color: wheat; background-color: lightslategray;  }
#quizz #quizz-heading {font-weight: bold; font-size: 32px }
#quizz #start-button { width: 230px; height: 70px; color: wheat; background-color: darkgreen; font-weight: bold; font-size: 25px; padding: 20px; margin: 20px auto;}
#quizz #start-button:hover { background-color: green; }
#quizz #task-area { }
#quizz #task-instruction { font-weight: bold; font-size: 19px; }
#quizz #quizz-statistics { display: flex; justify-content: space-around; }
#quizz #editor-wrapper { position: relative; margin-top: 5px; }
#quizz #retry-or-next-dialog .button-holder {
	display: flex;
	justify-content: space-around;
	margin: 20px;
}
#quizz #quizz-result-dialog {
	font-size: 20px;
} 
#quizz #choice-panel {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#quizz #choice-panel img {
	border-radius: 30px;
}
#quizz #task-splash {
	font-size: 40px;
	font-weight: bold;
	display: none;
}
#quizz #editor-link { cursor: pointer; }
#quizz #editor-link:hover { color: white; }
#quizz .dialog {
	position: absolute;
	left: 50%; 
	top: 50%; 
	transform: translate(-50%, -50%); 
    padding: 50px;
}  
#quizz #ear-button {
	display: none;
	width: 50px;
	cursor: pointer;
	margin: 0px auto;
  		border-radius: 10px;
  		padding: 5px;
  		background-color: darkgreen;
  		opacity: 0.8;
}
#quizz #ear-button:hover {
	background-color: green;		
}

#quizz.dialog-decoration,
#quizz .dialog-decoration { 
	border: 3px solid chocolate; 
	background: radial-gradient(circle,wheat,chocolate); 
	border-radius: 10px; 
	}