.remodal-bg
{
	display: none;
	justify-content: center;
	position:fixed;
	height:100%;
	width:100%;
	top:0;
	left:0;
	margin:0;
	padding:0;
	box-sizing:border-box;
	background-color: rgba(0, 0, 0, 0.2);
}

.remodal
{
	align-self:center;
	position:relative;
	max-width: 800px;
	min-width:500px;
	background: white;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
}

.remodal *
{
	box-sizing: border-box;
	direction: ltr;
	float:none;
	font-family: "Open Sans", "Roboto", Arial, sans-serif;
}

.remodal footer .remodal-confirm,
.remodal footer .remodal-cancel
{
	margin-right:10px;
	width:160px;
}

.remodal header
{
	height: 54px;
	background: #fcfcfc;
	padding: 1em 1.5em;
	border-bottom: 1px solid #ddd;
	display: block;
	position: relative;
}

.remodal footer
{
	padding:1em 1.5em;
}

.remodal header h2
{
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5em;

}

.remodal header button.remodal-close
{
	cursor: pointer;
	color: #777;
	height: 54px;
	width: 54px;
	padding: 0;
	position: absolute;
	top: 0;
	right: 0;
	text-align: center;
	border: 0;
	border-left: 1px solid #ddd;
	background-color: transparent;
	-webkit-transition: color .1s ease-in-out,background .1s ease-in-out;
	transition: color .1s ease-in-out,background .1s ease-in-out;
	display: block;
	font-size: 25px;
	line-height: 35px;
	margin:0;

}

.remodal header button.remodal-close:hover
{
	background: #ddd;
	border-color: #ccc;
	color: #000;
}

.remodal p.message-content
{
	margin:0;
	padding: 1.5em;
	display: inline-grid;
}

.remodal p[data-remodal-message] a {
	text-decoration: underline;
}

.remodal-close:hover
{
	color:black;
}


.remodal-confirm {
	color: #fff;
	background: #81c784;
}

.remodal-cancel {
	color: #fff;
	background: #e57373;
}
.remodal-cancel, .remodal-confirm {
	font: inherit;
	min-width: 110px;
	padding: 12px 0;
	-webkit-transition: background .2s;
	transition: background .2s;
	text-align: center;
}

.page__centre, .page__container:after, .remodal-cancel, .remodal-confirm {
	display: inline-block;
	vertical-align: middle;
}
.remodal-cancel, .remodal-close, .remodal-confirm {
	overflow: visible;
	margin: 0;
	cursor: pointer;
	text-decoration: none;
	outline: 0;
	border: 0;
}

@media only screen and (max-width: 500px)
{
	.remodal
	{
		padding:15px;
		min-width:320px;
		width:100%;
	}

	.remodal p
	{
		margin:10px 0;
	}

	.remodal .remodal-confirm,
	.remodal .remodal-cancel
	{
		width:130px;
		font-size:0.85em;
		margin-left:4px;
	}

}