html, body {
	font-family: "Arial", sans-serif;
	width: 100%;
	height: 100%;
	font-size: 14px;
	color: #ffffff;
	padding: 0;
	margin: 0;
}

body {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	background: #1a2e69;
	background-image: -ms-radial-gradient(center, ellipse farthest-corner, #1a2e69 10%, #061032 50%, #000000 100%); /* IE10+ */
	background-image: -moz-radial-gradient(center, ellipse farthest-corner, #1a2e69 10%, #061032 50%, #000000 100%); /* Mozilla Firefox */
	background-image: -o-radial-gradient(center, ellipse farthest-corner, #1a2e69 10%, #061032 50%, #000000 100%); /* Opera */
	background-image: -webkit-gradient(radial, center center, 0, center center, 286, color-stop(10, #1a2e69), color-stop(50, #061032), color-stop(100, #000000)); /* Webkit (Safari/Chrome 10) */
	background-image: -webkit-radial-gradient(center, ellipse farthest-corner, #1a2e69 10%, #061032 50%, #000000 100%); /* Webkit (Chrome 11+) */
	background-image: radial-gradient(ellipse farthest-corner at center, #1a2e69 10%, #061032 50%, #000000 100%); /* W3C Markup */
}

* {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

.dialog {
    font-family: "Source Sans Pro";
    width: 520px;
	min-height: 306px;
	background: rgba(0,0,0,0.9);
	border: 2px solid #ffffff;
	border-radius: 10px;
	padding: 15px;
}

.dialog.error {
	background: rgba(184,9,15,0.9);
	border: 2px solid #d10a11;
}

.dialog.warning {
	background: rgba(0,149,255,0.3);
	border: 2px solid #0095ff;
}

.picto {
	float: left;
	width: 51px;
	height: 51px;
}

.error .picto {
	background: url(../img/error.png) no-repeat;
}

.info .picto {
	background: url(../img/info.png) no-repeat;
}

.warning .picto {
	background: url(../img/warning.png) no-repeat;
}

.dialogContent {
	float: left;
	width: 439px;
	height: 100%;
	text-align: center;
	padding: 0 15px;
}

.dialogContent h2 {
    font-family: "Bebas Neue", Arial Narrow, Arial;
	font-size: 40px;
	font-weight: normal;
    letter-spacing: 4px;
    text-transform: uppercase;
	text-align: left;
	padding-top: 4px;
	margin: 0;
}

.warning .dialogContent h2 {
	color: #ffc24b;
}

.text {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: center;
	justify-content: center;
	min-height: 240px;
	text-align: left;
	margin-bottom: 15px;
}

.text p {
	font-size: 25px;
	margin: 10px 0 0;
}

.text p:first-of-type {
	margin: 0;
}

#errorCode {
	font-size: 26px;
	color: #ff7777;
}

a {
	color: #ffffff;
	text-decoration: none;
}


.dialogBtn {
	display: inline-block;
	width: 150px;
	height: 26px;
	font-size: 22px;
	text-align: center;
	background-image: linear-gradient(to bottom, #999 0%, #000 50%);
	border: 2px solid #ffffff;
	border-radius: 50px;
	box-shadow: 0 0 2px #ffffff;
	padding: 8px 0;
	margin: 0 5px;
	cursor: pointer;

}

.dialogBtn:hover,
.dialogBtn:active {
	-webkit-filter: brightness(1.3);
	-moz-filter: brightness(1.3);
	-o-filter: brightness(1.3);
	-ms-filter: brightness(1.3);
	filter: brightness(1.3);
}

@media screen and (max-width: 1280px) {
	.dialog {
		height: 270px;
		padding: 5px;
	}

	.dialogContent {
		width: 459px;
		padding: 0 5px;
	}

	.dialogContent h2 {
		height: 43px;
		font-size: 38px;
		overflow: hidden;
	}

	.text {
		height: 166px;
		margin-bottom: 5px;
	}

	.text p {
		font-size: 22px;
		margin-top: 5px;
	}

	#errorCode {
		font-size: 24px;
	}

	.dialogBtn {
		width: 145px;
		height: 23px;
		font-size: 20px;
		margin-bottom: 5px;
	}
}

@media screen and (max-width: 600px) {
	.dialog {
		position: relative;
		width: 85%;
		padding: 10px;
	}

	.picto {
		position: absolute;
		float: none;
	}

	.dialogContent {
		position: relative;
		width: auto;
		padding: 0;
	}

	.dialogContent h2 {
		position: absolute;
		left: 61px;
	}

	.text {
		padding: 0 10px;
		margin-top: 51px;
	}

	.text p {
		font-size: 20px;
	}

	#errorCode {
		font-size: 22px;
	}
}

@media screen and (max-width: 500px) {
	.dialog {
		width: calc(100% - 100px);
		padding: 10px;
	}

	.dialogBtn {
		width: 125px;
	}
}

@media screen and (max-width: 420px) {
	.dialog, .text {
		height: auto;
	}

	.dialogContent h2 {
		height: 32px;
		font-size: 28px;
		padding: 11px 0 0;
	}

	.text {
		padding: 0 5px;
		margin-bottom: 0;
	}

	.dialogBtn {
		margin: 10px 2px 0;
	}
}

body[lang="vi"] .dialogContent h2,
body[lang="vi-VN"] .dialogContent h2 {
    font-family: BisonDemiBold;
}
