.overlay {
	position: absolute;
	width: 100vw;
	height: 100vh;
	left: 0;
	z-index: 500;
}

.overlay-container {
	position: absolute;
	width: 100%;
	height: 100%;
	/* pointer-events: none; */
}

.overlay-container .connection-overlay {
	display: none;
}

.overlay-container #subscriptionExpired {
	display: none;
    position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	justify-content: center;
	align-items: center;
	background: rgba(0, 0, 0, 0.56);
}

.overlay-container #subscriptionExpired .inner {
	display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    background: #ffffff;
    border-radius: 2vh;
    padding: 4vw;
    font-size: 3vh;
	max-width: 50%;
	z-index: 1000;
}

.overlay-container #subscriptionExpired .inner h1{
	margin: 0;
	text-align: center;
	color: var(--illi-red);
	font-size: 3.5vw;
}

.overlay-container #subscriptionExpired .inner p{
	margin-bottom: 0;
	line-height: 1.5;
	font-size: 1.75vw;
}

#modal-container {
	height: 100vh;
	width: 100vw;
	justify-content: center;
	display: flex;
}

.modal-backdrop {
	position: absolute;
	background: rgba(0, 0, 0, 0.49);
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 515;
	display: none;
}

.modal {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: #fff;
	padding: 5vh;
	height: auto;
	align-self: center;
	display: none;
	z-index: 520;
	border-radius: 1vw;
}

.modal h2 {
	margin-top: 0;
	margin-bottom: 4vh;
	color: #3c3c3c;
	font-weight: 400;
	text-align: center;
}

.modal .buttons {
	display: flex;
	justify-content: center;
}

.modal .buttons .button {
	padding: 1vh;
	font-size: 1.6vw;
	margin: 0 1vw;
	background: lightgrey;
	color: rgb(37, 37, 37);
	position: relative;
	outline: none;
	border: none;
	border-radius: 0.5vw;
}

.modal .buttons .button:focus {
	color: black;
}

.modal .buttons .button:focus::after {
	border: 3px solid #94383a;
	content: "";
	position: absolute;
	width: calc(100% + 1vw);
	height: calc(100% + 1vw);
	background: var(--illi-light-red);
	z-index: 501;
	left: -0.5vw;
	top: -0.5vw;
	box-sizing: border-box;
	border-radius: 1vw;
}

.modal .buttons .button:focus span {
	position: relative;
	z-index: 502;
}

.loading-modal img{
	height: 7vh;
}

.lower-screen-error{
	position: absolute;
	display: none;
	justify-content: center;
	align-items: center;
	width: 100vw;
	height: 15vh;
	bottom: 0;
}

.lower-screen-error.active{
	display: flex;
}

.lower-screen-error .inner{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	background-color: white;
	color: #ffbe26;
    font-size: 1.75vw;
    text-align: center;
    border-radius: 1vw;
    border-color:#ffbe26;
    border-style: solid;
    border-width: 0.3vw;
    padding: 1vw;
}

.lower-screen-error .inner i{
	font-size: 3vw;
	margin-right: 1vw;
	max-width: 4vw;
}

.lower-screen-error .inner .error-message{
	color: var(--illi-gray);
}
