/*
lightblue: #2dbdf2
lightgray: #efefef
darkgray: #414141
*/

div#vidq-confirm p {
	padding: 1em;
}
div#vidq-container {
	color: #414141;
}
div#vidq-container input,
div#vidq-container pre.textarea {
	width: 100%;
	color: #414141;
	border: 1px solid #efefef;
}
div#vidq-container input.error,
div#vidq-container pre.textarea.error {
	border: 1px solid #ff0000;
}
div#vidq-container pre.textarea {
	display: block;
	margin-top: 0.3em;
	margin-bottom: 0.3em;
	padding: 0.3em;
	overflow-y: auto;
	resize: vertical;
	min-height: 3em;
	font-family: inherit;
	font-size: inherit;
	white-space: pre-wrap;
	/*
    word-wrap: break-word;
	*/
	overflow-wrap: break-word;
}
div#vidq-container pre.textarea[contenteditable=true]:empty:before {
	content: attr(placeholder);
	display: block;
	color: #828282;
}
div#vidq-container input::placeholder {
	color: #828282;
	opacity: 1;
}

div#vidq-container .outter-16x9 {
	position: relative;
	width: 100%;
	height: auto;
	padding-bottom: 56.25%;
	background-color: #414141;
}
div#vidq-container .inner-16x9 {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* list */
div#vidq-container ul.vq-list {
	list-style-type: none;
	display: flex;
	flex-flow: row wrap;
	align-items: stretch;
}
div#vidq-container ul.vq-list li {
	flex-basis: 20%;
	width: 100%;
	max-width: 256px;
	min-width: 190px;
}
div#vidq-container ul.vq-list li {
	padding: 0.5em;
}
div#vidq-container header.thumbnail-area {
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
}
div#vidq-container footer.date-area {
	padding-right: 0.5em;
	padding-left: 0.5em;
	border-top: 1px solid #efefef;
}
div#vidq-container footer.date-area p {
	font-size: 0.89em;
	text-align: right;
}
div#vidq-container h2.vql-name {
	margin-left: 0.5em;
	margin-right: 0.5em;
	font-size: 1.2em;
	font-weight: bold;
	margin-top: 3em;
	border-bottom: 1px solid #414141;
}
div#vidq-container h2.vql-name.deleted {
	font-size: 1em;
	font-style: italic;
	font-weight: normal;
}
div#vidq-container ul.vq-list li div.outter {
	border: 1px solid #414141;
	width: 100%;
	height: 100%;
	cursor: pointer;
	display: flex;
	flex-flow: column nowrap;
}
div#vidq-container ul.vq-list li div.outter article.title-outter {
	height: 100%;
	padding-top: 1em;
	padding-bottom: 0.5em;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	align-content: center;
}
div#vidq-container ul.vq-list li div.outter article.title-outter div.title {
	width: 100%;
	padding-left: 1em;
	padding-right: 0;
	text-align: center;
}
div#vidq-container ul.vq-list li div.outter article.title-outter div.actions {
	width: 2.17em;
	font-size: 1.3em;
	text-align: center;
	font-weight: bold;
	color: #414141;
	cursor: pointer;
}
div#vidq-container ul.vq-list li div.outter article.title-outter div.title.missing {
	font-size: 0.87em;
	font-style: italic;
}
div#vidq-container ul.vq-list li div.draft {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1.5em;
	line-height: 1.5em;
	background-color: #2dbdf2;
	color: white;
	text-align: center;
}
div#vidq-container ul.vq-list li#vq-add div.outter {
	background-image: url('imgs/cmd-add-gray.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: auto;
}
div#vidq-container ul.vq-list li#vq-add div#add-command-container {
	align-items: center;
	justify-content: center;
	background-color: transparent;
	height: 100%;
}
div#vidq-container ul.vq-list li#vq-add div#add-command-reload {
	align-self: flex-end;
	width: 32px;
	height: 32px;
	min-height: 32px;
	overflow: hidden;
}
/* content restore area */
div#vidq-container div#add-command-reload div.upload-container {
	position: relative;
	width: 32px;
	height: 32px;
	min-width: 32px;
	min-height: 32px;
}
div#vidq-container div#add-command-reload div.upload-container label.upload-file-label {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;

	background-image: url('imgs/cmd-upload-content.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 24px 24px;

	line-height: 32px;
	cursor: pointer;
	color: transparent;
}
div#vidq-container div#add-command-reload div.upload-container div.upload-info-container {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	color: #414141;

	display: inline-flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: center;
}
div#vidq-container div#add-command-reload div.upload-container div.upload-info-container div.upload-percent {
	width: 32px;
	height: 32px;
	line-height: 32px;
	text-align: center;
	font-size: 0.6em;
	color: #414141;

	background-image: url('imgs/spinner-clock-gray.svg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 32px 32px;
	cursor: pointer;
}
div#vidq-container div#add-command-reload div.upload-container div.upload-info-container div.upload-percent.ie {
	background-image: url('imgs/spinner-clock-gray.gif');
}
div#vidq-container div#add-command-reload div.upload-container input.upload-file {
	display: none;
}
/* context menu */
div#vidq-container div#item-menu {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	overflow: auto;

	border: 1px solid #efefef;
	background-color: rgba(65, 65, 65, 0.85);
	z-index: 998;
}
div#vidq-container div#item-menu ul {
	list-style-type: none;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	height: 100%;
	padding: 0.5em;
}
div#vidq-container div#item-menu ul.draft {
	align-content: center;
}
div#vidq-container div#item-menu ul li {
	margin: 0;
	padding: 0;
	flex-basis: 33%;
	flex-grow: 1;
	min-width: 48px;
	color: white;
	background-repeat: no-repeat;
	background-size: 32px 32px;
	background-position: center top;
	padding-top: 32px;
	text-align: center;
	font-size: 0.87em;
}
div#vidq-container div#item-menu ul li[data-action="download"] {
	background-image: url('imgs/cmd-download.png');
}
div#vidq-container div#item-menu ul li[data-action="download.web"] {
	background-image: url('imgs/cmd-download.png');
}
div#vidq-container div#item-menu ul li[data-action="download.scorm"] {
	background-image: url('imgs/cmd-download.png');
}
div#vidq-container div#item-menu ul li[data-action="delete"] {
	background-image: url('imgs/cmd-delete.png');
}
div#vidq-container div#item-menu ul li[data-action="edit"] {
	background-image: url('imgs/cmd-edit.png');
}
div#vidq-container div#item-menu ul li[data-action="publish"] {
	background-image: url('imgs/cmd-publish.png');
}
div#vidq-container div#item-menu div.spinner {
	width: 100%;
	height: 100%;
	line-height: 100%;

	background-image: url('imgs/spinner-clock.svg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 48px 48px;
	cursor: pointer;
}
div#vidq-container div.spinner.ie {
	background-image: url('imgs/spinner-clock.gif');
}

/* form */
div#vidq-container header#head-container,
div#vidq-container > article {
	max-width: 976px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2em;
}

/* form - video & commands */
div#vidq-container header#head-container {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	align-items: flex-start;
}
/* form - video */
div#vidq-container section#video-container {
	width: 100%;
	max-width: 720px;
}
/* form - commands */
div#vidq-container section#videocommands-container {
	flex-grow: 1;
}
div#vidq-container section#videocommands-container article {
	max-width: 256px;
	min-width: 128px;
}
div#vidq-container article#thumbnail-container .outter-16x9 {
	border: 1px solid #414141;
}
div#vidq-container div#thumbnail-snapshot {
	background-image: url('imgs/cmd-camera-white.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: auto;
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0.25);
}
div#vidq-container div#thumbnail-snapshot:hover {
	background-color: rgba(0, 0, 0, 0.55);
}
div#vidq-container article#video-delete .outter-16x9 {
	background-color: transparent;
	border: 1px solid #414141;
}
div#vidq-container div#cmd-delete {
	background-image: url('imgs/cmd-video-delete.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: auto;
	cursor: pointer;
}
/* video upload area */
div#vidq-container section#video-container div.upload-container {
	/* outter-16x9 */
	position: relative;
	width: 100%;
	height: auto;
	padding-bottom: 56.25%;
	background-color: #414141;
}
div#vidq-container section#video-container div.upload-container label.upload-file-label {
	/* inner-16x9 */
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;

	background-image: url('imgs/cmd-upload-white.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: auto;
	cursor: pointer;
	color: transparent;
}
div#vidq-container section#video-container div.upload-container div.upload-info-container {
	/* inner-16x9 */
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	color: white;

	display: inline-flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: center;
}
div#vidq-container section#video-container div.upload-container div.upload-info-container div.upload-percent {
	width: 64px;
	height: 64px;
	line-height: 64px;
	text-align: center;
	font-size: 0.87em;
	color: white;

	background-image: url('imgs/spinner-clock.svg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 64px 64px;
	cursor: pointer;
}
div#vidq-container section#video-container div.upload-container div.upload-info-container div.upload-percent.ie {
	background-image: url('imgs/spinner-clock.gif');
}

div#vidq-container section#video-container div.upload-container label.upload-file-label:hover {
	background-color: #000000;
}
div#vidq-container section#video-container div.upload-container input.upload-file {
	display: none;
}

/* form - info */
div#vidq-container article#info-container {
}
div#vidq-container section#info-form {
	display: flex;
	flex-flow: column nowrap;
}
div#vidq-container section#info-form input#title {
	font-size: 1.2em;
	font-weight: bold;
}
div#vidq-container section#info-form pre#desc {
	margin-top: 1em;
}

/* form - questions */
div#vidq-container article#questions-container {
}
div#vidq-container > article {
	margin-top: 4em;
	margin-bottom: 4em;
	padding-left: 0.3em;
	padding-right: 0.3em;
}
div#vidq-container > article > header {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	margin-bottom: 1em;
	border-bottom: 1px solid #414141;
	font-size: 1.3em;
	font-weight: bold;
	color: #414141;
}
div#vidq-container ul#questions-list {
	list-style-type: none;
}
div#vidq-container ul#questions-list > li {
	margin-top: 2em;
	margin-bottom: 2em;
	padding-bottom: 2em;
	border-bottom: 1px solid #414141;
}
div#vidq-container ul#questions-list > li:last-child {
	border-bottom: none;
}
div#vidq-container ul#questions-list > li dl {
	display: flex;
	flex-flow: row nowrap;
	align-items: flex-start;
}
div#vidq-container ul#questions-list > li dl dt {
	text-align: right;
	font-size: 3em;
	padding-right: 0.3em;
	padding-left: 0.3em;
}
div#vidq-container ul#questions-list > li dl dd {
	padding-left: 0.5em;
	width: 100%;
}
div#vidq-container ul#questions-list > li div.question-text-container {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
}
div#vidq-container ul#questions-list > li div.question-text-container pre.textarea.question-text {
	font-weight: bold;
	height: 3em;
}
div#vidq-container ul#questions-list > li div.question-text-container div.question-delete {
	width: 40px;
	height: 32px;
	background-image: url('imgs/cmd-delete-gray-large.png');
	background-repeat: no-repeat;
	background-position: center center;
	cursor: pointer;
}
div#vidq-container ul#questions-list > li ul.responses-list {
	list-style-type: none;
}
div#vidq-container ul#questions-list > li ul.responses-list li {
}
div#vidq-container ul#questions-list > li ul.responses-list li div.response-text-container {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
}
div#vidq-container ul#questions-list > li ul.responses-list li div.response-text-container div.response-check,
div#vidq-container ul#questions-list > li ul.responses-list li div.response-text-container div.response-delete,
div#vidq-container ul#questions-list > li ul.responses-list li div.response-text-container div.response-add {
	width: 40px;
	height: 32px;
	background-repeat: no-repeat;
	background-position: center center;
	cursor: pointer;
}
div#vidq-container ul#questions-list > li ul.responses-list li div.response-text-container div.response-check {
	background-image: url('imgs/checkbox-unchecked-gray.png');
	padding-right: 0.5em;
}
div#vidq-container ul#questions-list > li ul.responses-list li div.response-text-container div.response-check.error {
	background-image: url('imgs/checkbox-unchecked-red.png');
}
div#vidq-container ul#questions-list > li ul.responses-list li div.response-text-container div.response-check.selected {
	background-image: url('imgs/checkbox-checked-gray.png');
}
div#vidq-container ul#questions-list > li ul.responses-list li div.response-text-container div.response-delete {
	background-image: url('imgs/cmd-delete-gray-small.png');
	padding-left: 0.5em;
}
div#vidq-container div.response-text-container {
	margin-top: 1em;
}
div#vidq-container div.feedback-container {
	margin-top: 2em;
	display: flex;
	flex-flow: row nowrap;
	align-items: stretch;
}
div#vidq-container div.feedback-container article.feedback {
	margin-top: 1em;
	flex-grow: 1;
	max-width: 50%;
}
div#vidq-container div.feedback-container article.feedback pre.textarea {
	min-height: 6em;
}
div#vidq-container div.feedback-container article.feedback:first-child {
	padding-right: 0.5em;
}
div#vidq-container div.feedback-container article.feedback:last-child {
	padding-left: 0.5em;
}
div#vidq-container div.feedback-container article.feedback header {
	color: #414141;
	border-bottom: 1px solid #414141;
	font-weight: bold;
}

/* form - quiz settings */
section#successthreshold-container {
	padding-top: 1em;
	padding-bottom: 1em;
}
section#successthreshold-container dl {
	font-weight: bold;
	line-height: 3em;
}
section#successthreshold-container dd {
	margin-left: 1em;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
}
section#successthreshold-container dd input#success-threshold {
	width: 100%;
}
section#successthreshold-container dd div#success-threshold-text {
	padding-left: 2em;
	white-space: nowrap;
	line-height: 3em;
}

/* form - commands */
article#form-commands-container {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-content: stretch;
	align-items: stretch;
}
article#form-commands-container section {
	flex-grow: 1;
	width: 100%;
	height: 100%;
	max-width: 200px;
	padding-left: 0.3em;
	padding-right: 0.3em;
}
article#form-commands-container section div {
	width: 100%;
	height: 100%;
	border: 1px solid #414141;
	border-radius: 3px;
	min-height: 7em;
	padding: 1em;
	cursor: pointer;

	display: flex;
	justify-content: center;
	align-items: center;
}
article#form-commands-container section div p {
	font-weight: bold;
	color: #414141;
	text-align: center;
}
article#form-commands-container section.disabled {
	display: none;
}

/* list */
@media screen and (max-width: 1024px){
	div#vidq-container ul.vq-list li {
		flex-basis: 25%;
	}
}
@media screen and (max-width: 768px){
	div#vidq-container ul.vq-list li {
		flex-basis: 33%;
	}
}
@media screen and (max-width: 570px){
	div#vidq-container ul.vq-list li {
		flex-basis: 50%;
	}
}
@media screen and (max-width: 480px){
	div#vidq-container h1 {
		text-align: center;
	}
	div#vidq-container ul.vq-list {
		flex-flow: column nowrap;
		align-items: center;
	}
}

/* form */
@media screen and (max-width: 960px){
	div#vidq-container header#head-container {
		display: block;
		max-width: 720px;
	}
	div#vidq-container section#videocommands-container {
		width: 100%;
		display: flex;
		flex-flow: row nowrap;
		align-items: stretch;
	}
	div#vidq-container section#videocommands-container article {
		flex-grow: 1;
	}
}
@media screen and (max-width: 720px){
	div#vidq-container div.feedback-container {
		display: block;
	}
	div#vidq-container div.feedback-container article.feedback {
		max-width: 100%;
		padding-left: 0.5em;
		padding-right: 0.5em;
	}
}