/* ------------------ */
/* --- SCO launch --- */
/* ------------------ */

body.Course {
	background-color: var(--course-bg-color);
}
body.CourseScoLaunch {
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
body.CourseScoLaunch iframe {
	border: 0 none;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
}
div.CourseMetadataSection{
	padding-bottom:0px;
	line-height: 1.5;
}
div.CourseMetadataSection .CustomCoverImage {
	width: 105px;
}
div.CourseMetadataSection .CustomCoverImage img{
	width:unset;
	max-width: 105px;
	max-height: unset;
	height:unset;
}
div.CourseMetadataSection div.NodeMetadata{
	padding-left: 120px;
}
p.ProgressResultCaption {
	float: left;
}
div.ProgressResult {
	float: left;
	font-weight: bold;
}
div.QualificationResultIcon{ display: none; }
p.ResultIcon{
	padding: 0;
	position: relative;
	width: 40px;
	height: 36px;
	display: inline-block;;
}
svg.SucceededIcon{
	position: absolute;
	width: 28px;
	height: 28px;
	margin:4px;
	margin-left:8px;
	display: none;
	visibility: hidden;
}
svg.FailedIcon {
	position: absolute;
	width: 40px;
	height: 40px;
	margin-left:-1px;
	margin-top:-1px;
	display: none;
	visibility: hidden;
}
div.QualificationResultIcon.SucceededIcon + p.ResultIcon svg.FailedIcon,
div.QualificationResultIcon.FailedIcon + p.ResultIcon svg.SucceededIcon{
	visibility: hidden;
	display: none;
}
div.QualificationResultIcon.SucceededIcon + p.ResultIcon svg.SucceededIcon,
div.QualificationResultIcon.FailedIcon + p.ResultIcon svg.FailedIcon{
	visibility: visible;
	display: block;
}
.ProgressLabelCaption, .ProgressLabel{
	display: none;
	z-index: 1;
	font-size: 14px;
	color: var(--progress-caption);
	font-weight: bold;
}
.BoxSwitchOpener .DocumentTitleBoxProgressBarBackground{
	height: 5px;
}
.BoxSwitchOpener .DocumentTitleBoxProgressBarBackground .ProgressLabelCaption,
.BoxSwitchOpener .DocumentTitleBoxProgressBarBackground .ProgressLabel{
	display:none;
}
.BoxSwitchShutter .DocumentTitleBoxProgressBarBackground .ProgressLabelCaption,
.BoxSwitchShutter .DocumentTitleBoxProgressBarBackground .ProgressLabel{
	display:block;
}
.DocumentTitleBoxProgressBarBackground {
	display: flex;
	position: relative;
	margin: 1px;
	flex: 100%;
	justify-content: center;
	background-color: var(--progress-bg-color);
}
.DocumentTitleBoxProgressBarBackground .ProgressBar {
	display:block;
	position: absolute;
	left: 0;
	height: 100%;
	background-color: var(--progress-bar-color);
}

/* --------------------------- */
/* ---    Exit Button     ---- */
/* --------------------------- */

.CourseExitButton {
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 10;
}

/* --------------------------- */
/* --- Certificate Button ---- */
/* --------------------------- */
.CertificateButtonContainer {
	background-color: var(--cert-button-container-bg);
	color: var(--cert-button-container-text);
	font-size: 13px;
	padding:0;
}
.CertificateButtonContainer a#certificateDialogButton {
	display:block;
	margin-top: 2px;
}
.CertificateButtonContainer span{
	display: none;
}

/* ------------------------- */
/* --- Certificate Input --- */
/* ------------------------- */
.CertificateInputDialog .ui-dialog-content {
	padding: 15px;
	margin: 0;
	overflow: visible;
}
.CertificateInput {
	text-align: left;
	background-color: var(--cert-input-bg);
	border-width: 0;
	height: 100%;
}
.CertificateInput p.certInputDialogCaption {
	padding-bottom: 10px;
	color: var(--cert-dialog-text);
	font-size: 16px;
	font-weight: bold;
}
.CertificateInput p.certInputDialogText {
	color: var(--cert-dialog-text);
	font-size: 14px;
	padding-bottom: 5px;
}
.CertificateInput #certPersonalizeForm {
	padding: 0;
}
.CertificateInput #certPersonalizeForm .InputField {
	width: 565px;
	margin-bottom: 0;
}

/* --------------------------- */
/* --- Certificate Dialog ---- */
/* --------------------------- */
.CertificateDialog{
	top:0px;
	border-width:0px;
	outline:1px solid var(--grey-30pc);
	box-sizing: content-box;
}
.CertificateDialog .ui-dialog-content {
	margin: 0;
	padding: 0;
}
.CertificateDialog .ui-dialog-titlebar {
	display: none;
}
.CertificateDialog .ui-dialog-buttonpane {
	background-color: var(--grey-10pc);
	padding: 0px;
	height: 40px;	
}
.CertificateDialog .ui-dialog-buttonpane button{
	margin-top: 6px;
}
.CertificateDialog .ui-dialog-buttonpane .ui-dialog-buttonset{
	float: right;
}
.CertificateView {
	border-width: 0;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	table-layout: fixed;
	background-color: var(--cert-view-bg);
}
.CertificateView div.CertScrollBox {
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	overflow-x: hidden;
}
.CertificateView div.CertBox {
	padding: 0;
	margin: 0;
	height: 0;
	width: 610px;
	text-align: center;
}
.CertificateView #headerImage {
	width: 580px;
	margin:15px;
}
.CertificateView #headerImage svg.CertificateHeader{
	width: 580px;
}
.CertificateView div.Section{
	padding: 0;
	margin: 0;
}
.CertificateView p.SectionTitle {
	padding-bottom: 10px;
}
.CertificateView div.CertTitle {
	margin: 0;
	padding-top: 25px;
	padding-bottom: 20px;
	color: var(--cert-title);
	font-size: 30px;
	text-transform: uppercase;
	font-weight: normal;
	width: 100%;
	text-align: center;
}
.CertificateView div.CertHeader {
	text-align: center;
	padding: 0 0 25px;
	width: 100%;
}
.CertificateView div.CertHeader p {
	padding: 0;
	margin: 0;
	font-size: 13px;
}
.CertificateView div.CertHeader p.personalizeText,
.CertificateView div.CertHeader p.introduction {
	font-size: 14px;
	padding: 0;
}
.CertificateView div.CertHeader p.personalizeUsername,
.CertificateView div.CertHeader p.title {
	font-weight: bold;
	font-size: 18px;
	padding: 4px 4px 15px;
}
.CertificateView .CourseTable {
	margin-left: 30px;
	margin-right: 30px;
	margin-top: 20px;
	width: 550px;
	font-size: 13px;
}
.CertificateView .CourseTable th,
.CertificateView .CourseTable td {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	text-align: center;
	color: var(--cert-result-table-text);	
	font-weight: normal;
	line-height:1.2;
	padding-left: 15px;
	padding-right: 0px;
	padding-bottom:5px;
	padding-top:5px;
}
.CertificateView .CourseTable th {
	border-bottom-color: var(--grey-30pc);
}
.CertificateView .CourseTable td {
	border-bottom-color: var(--grey-30pc);
}
.CertificateView .CourseTable .DocumentTitle {
	cursor: text;
	width:100%;
	padding-left: 0px;
	text-align: left;
}
.CertificateView .CourseTable th.DocumentTitle {
	color: var(--cert-title);
	font-size: 15px;
	font-weight: bold;
}
.CertificateView .CourseTable .ProgressResult {
	width: 100%;
	font-weight: normal;
}
.CertificateView div.CertSummary {
	padding-top: 40px;
	padding-bottom: 10px;
}
.CertificateView div.CertSummary p.CourseResult {
	font-weight: bold;
	font-size: 14px;
}
.CertificateView div.CertSummary p.CourseResultSuccess,
.CertificateView div.CertSummary p.CourseResultFailed {
	color: var(--cert-result-summary-text);
	font-weight: bold;
	font-size: 16px;
}

/* Mobile Display < 768px */
@media screen and (min-width:0px) and (max-width: 767px) {
	div.CourseMetadataSection {
		min-height: 0;
	}
	div.CourseMetadataSection .DefaultCoverImage, div.CourseMetadataSection .CustomCoverImage {
		display: none;
	}
	div.CourseMetadataSection div.NodeMetadata{
		padding-left: 0;
	}
	.CertificateDialog {
		box-shadow: none;
		height: 100% !important;
		width:100% !important;
		max-height: 100% !important;
		top:0px !important;
		left:0px !important;
		border:none;
		outline: none;
		margin:0 !important;
		padding: 0;
	}
	.CertificateDialogContent{
		height:calc(100% - 40px) !important;
	}
	.CertificateDialog .ui-dialog-buttonpane{
		height: 40px;
		padding: 5px;
	}
	.CertificateDialogContent div.CertBox, .CertificateDialogContent #headerImage {
		width: 100%;
	}
	.CertificateDialogContent #headerImage svg.CertificateHeader, .CertificateDialogContent .CourseTable {
		width: calc(100% - 60px);		
	}
	.CertificateInputDialog {
		height: auto !important;
		min-height: 52px !important;
		width:100% !important;
		max-height: unset !important;
		left:0px !important;
		right:0px !important;
	}	
	.CertificateInputDialog .ui-dialog-content {
		width: 100%;
		height: calc(100% - 40px);
	}
	.CertificateInput #certPersonalizeForm{width:100%;} 
	.CertificateInput p.certInputDialogCaption, .CertificateInput p.certInputDialogText ,.CertificateInput #certPersonalizeForm .InputField {
		width: calc(100% - 20px);	
	}

	
}