.fs-modal {
	display: block;
	padding: 0 1em;
	text-align: center;
	width: 100%;
}

@media (min-width: 43.75em) {
	.fs-modal {
		padding: 1em 2em;
		text-align: right;
	}
}

.fs-modal > label {
	background: #000;
	border-radius: .2em;
	color: #ffde16;
	cursor: pointer;
/*	display: inline-block; */
	display: none;
	font-weight: bold;
	margin: 0.5em 1em;
	padding: 0.75em 1.5em;
	-webkit-transition: all 0.55s;
	transition: all 0.55s;
}

.fs-modal > label:hover {
	-webkit-transform: scale(0.97);
	-ms-transform: scale(0.97);
	transform: scale(0.97);
}

.fs-modal input {
	display: none;
	position: absolute;
	right: 100px;
	top: 30px;
	z-index: -10;
}

.fs-modal__overlay {
	background: rgba(255,255,255,.9);
	bottom: 0;
	left: 0;
	position: fixed;
	right: 0;
	text-align: center;
	top: 0;
	z-index: -800;
}

.fs-modal__box {
	padding: 1em .75em;
	position: absolute;
	margin: 1em auto;
	max-width: 500px;
	width: 90%;
}

@media (min-height: 37.5em) {
	.fs-modal__box {
		left: 50%;
		position: absolute;
		top: 50%;
		-webkit-transform: translate(-50%, -80%);
		-ms-transform: translate(-50%, -80%);
		transform: translate(-50%, -80%);
	}
}

@media (min-width: 50em) {
	.fs-modal__box { padding: 1.75em; }
}

.fs-modal__box label {
	background: #333;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	height: 1.5em;
	line-height: 1.5em;
	position: absolute;
	right: .5em;
	width: 1.5em;
}

.fs-modal__box h2 {
	color: #333;
	margin-bottom: 1em;
	text-transform: uppercase;
}

.fs-modal__box h4 {
	color: #333;
	text-align: left;
	text-indent: 1.3em;
}

.fs-modal__overlay {
	opacity: 0;
	overflow: hidden;
	-webkit-transform: scale(0.5);
	-ms-transform: scale(0.5);
	transform: scale(0.5);

	-webkit-transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
	transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
}

input:checked ~ .fs-modal__overlay {
	opacity: 1;
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);

	-webkit-transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
	transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
	z-index: 800;
}

input:focus + label {
	-webkit-transform: scale(0.97);
	-ms-transform: scale(0.97);
	transform: scale(0.97);
}