/*! @name videojs-errors @version 6.2.0 @license Apache-2.0 */
.vjs-error-display {
	color: #fff;
	display: none;
	font-family: Helvetica, Arial, sans serif;
	font-size: 1.3em;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.8);
	line-height: 1.5;
}

.vjs-error .vjs-error-display {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, .3);
}

.vjs-error .vjs-error-display .vjs-modal-dialog-content {
	font-size: 1.1em;
}

.vjs-errors-dialog {
	text-align: left;
	border: 1px #999 solid;
	overflow: hidden;
	position: absolute;
	top: 2%;
	bottom: 2%;
	left: 5%;
	right: 5%;
	padding-left: 1%;
	padding-right: 1%;
	//background: rgba(24, 24, 24, .8)
}

.vjs-errors-details {
	margin-top: 15px
}

.vjs-errors-message {
	border: 1px #999 solid;
	//background-color: #2c2c2c;
	overflow: auto;
	margin-top: 15px;
	padding: 15px;
}

.vjs-errors-ok-button-container {
	display: block;
	position: absolute;
	bottom: 15px;
	left: 15px;
	right: 15px;
	text-align: center;
}

.vjs-errors-ok-button,
.vjs-errors-timeout-button-container button {
	display: block;
	height: 36px;
	background-color: #000;
	border: 1px #999 solid;
	border-radius: 5px;
	color: #999;
	font-size: 1.1em;
	cursor: pointer;
}

.vjs-errors-ok-button {
	margin: 0 auto;
	width: 80px;
}

.vjs-errors-ok-button:hover,
.vjs-errors-timeout-button-container button:hover {
	border: 1px #fff solid;
	color: #ccc;
}

.vjs-errors-timeout-button-container {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 10px;
	position: absolute;
	bottom: 15px;
	left: 15px;
	right: 15px;
	text-align: center;
}

.vjs-errors-timeout-button-container button {
	width: 120px;
}

.vjs-errors-content-container {
	overflow: auto;
	position: absolute;
	padding-bottom: 15px;
	top: 0;
	left: 15px;
	right: 15px;
	bottom: 61px;
}

.vjs-errors-headline {
	font-size: 1.1em;
	font-weight: 700;
	padding-right: 3em;
}

.vjs-errors-dialog .vjs-control.vjs-close-button {
	width: 3em;
	height: 3em;
	top: 0;
}

.vjs-control.vjs-close-button {
	display: none;
}

.vjs-xs.vjs-error-display {
	font-size: 1.1em;
	//background-color: #000
}

.vjs-xs.vjs-error-display .vjs-errors-details,
.vjs-xs.vjs-error-display .vjs-errors-message {
	display: none;
}

.vjs-xs .vjs-errors-content-container {
	top: 0;
}

.vjs-xs .vjs-errors-headline {
	font-size: 1.3em;
	font-weight: 700;
}

.vjs-xs .vjs-errors-dialog {
	border: 0;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

@media (max-width:600px),
(max-height:250px) {
	.vjs-error-display {
		font-size: 1.1em;
		line-height: 1.25;
		//background-color: #000
	}
	.vjs-error .vjs-error-display .vjs-modal-dialog-content {
		font-size: 1.1em;
	}

	.vjs-error-display .vjs-errors-details,
	.vjs-error-display .vjs-errors-message {
		display: none;
	}

	.vjs-error-display .vjs-errors-content-container {
		top: 15px;
	}

	.vjs-error-display .vjs-errors-headline {
		font-size: 1.3em;
		font-weight: 700;
	}

	.vjs-error-display .vjs-errors-dialog {
		border: 0;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
	}
}

@media (max-width:400px),
(max-height:180px) {
	.vjs-error-display {
		font-size: 0.9em;
		line-height: 1.0;
		//background-color: #000
	}
	.vjs-error .vjs-error-display .vjs-modal-dialog-content {
		font-size: 0.9em;
	}

	.vjs-error-display .vjs-errors-details,
	.vjs-error-display .vjs-errors-message {
		display: none;
	}

	.vjs-error-display .vjs-errors-content-container {
		top: 10px;
	}

	.vjs-error-display .vjs-errors-headline {
		font-size: 1.1em;
		font-weight: 700;
	}

	.vjs-error-display .vjs-errors-dialog {
		border: 0;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
	}
}

