.popup
{
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	background-color: rgba(44, 32, 32, 0.6);
	-webkit-backdrop-filter: blur(1px);
	backdrop-filter: blur(1px);
	text-align: center;
}

/*
#noscript .popup
{
	background-color: rgba(44, 32, 32, 0.0);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
*/

.popup-content
{
	position: relative;
	display: inline-block;
	padding: 40px;
	background-color: rgba(0, 0, 0, 0.0);
	vertical-align: middle;
	min-width: 350px;
	max-width: calc(100% - 100px);
	overflow: hidden;
}

.popup-content * { position: relative; }

.popup-content input[type="button"]
{
	margin-bottom: 10px;
}

.popup-content .wall
{
	display: inline-block;
	vertical-align: middle;
	height: 100%;
	min-height: 150px;
}

.popup-content #error-message
{
	display: inline-block;
	vertical-align: middle;
	font-weight: bold;
	/*color: rgb(155, 45, 45);*/
	line-height: 1.2em;
	text-align: left;
}

.confirm-block
{
	display: inline-block;
	vertical-align: middle;
}

.confirm-block .confirm-content p
{
	margin-top: 0px;
	padding-top: 0px;
}

.confirm-block .confirm-buttons .ok
{
	margin-left: 75px;
}

.popup .popup-content .close
{
	position: absolute;
	right: 25px;
	top: 20px;
	cursor: pointer;
}

.popup-background, .popup-background .front-background, 
.popup-background .front-background .background-paper, 
.popup-background .front-background .background-border, 
.popup-background .front-background .border-left, 
.popup-background .front-background .border-right, 
.popup-background .front-background .border-top, 
.popup-background .front-background .border-bottom, 
.popup-background .front-background .corner-top-left, 
.popup-background .front-background .corner-top-right, 
.popup-background .front-background .corner-bottom-left, 
.popup-background .front-background .corner-bottom-right 
{
	position: absolute; 
	left: 0px; 
	right: 0px; 
	top: 0px; 
	bottom: 0px; 
}

.popup-background .front-background .background-paper
{
	left: 40px; 
	right: 20px; 
	top: 40px; 
	bottom: 40px; 
	background-position: top center;
	background-repeat: repeat; 
	background-image: url("../../../images/background/paper.jpg");
}

.popup-background .front-background .border-left
{
	top: 100px;
	bottom: 90px;
	background-position: top left;
	background-repeat: repeat-y; 
	background-image: url("../../../images/background/popup-border-left.png");
}

.popup-background .front-background .border-right
{
	top: 70px;
	bottom: 40px;
	background-position: top right;
	background-repeat: repeat-y; 
	background-image: url("../../../images/background/popup-border-right.png");
}

.popup-background .front-background .border-top
{
	left: 180px;
	right: 90px;
	background-position: top left;
	background-repeat: repeat-x; 
	background-image: url("../../../images/background/popup-border-top.png");
}

.popup-background .front-background .border-bottom
{
	left: 70px;
	right: 80px;
	background-position: bottom left;
	background-repeat: repeat-x; 
	background-image: url("../../../images/background/popup-border-bottom.png");
}

.popup-background .front-background .corner-top-left
{
	background-position: top left;
	background-repeat: no-repeat; 
	background-image: url("../../../images/background/popup-corner-top-left.png");
}

.popup-background .front-background .corner-top-right
{
	background-position: top right;
	background-repeat: no-repeat; 
	background-image: url("../../../images/background/popup-corner-top-right.png");
}

.popup-background .front-background .corner-bottom-left
{
	background-position: bottom left;
	background-repeat: no-repeat; 
	background-image: url("../../../images/background/popup-corner-bottom-left.png");
}

.popup-background .front-background .corner-bottom-right
{
	background-position: bottom right;
	background-repeat: no-repeat; 
	background-image: url("../../../images/background/popup-corner-bottom-right.png");
}