.modal_wrap input{
    display: none;
}

.modal_overlay{
    display: flex;
    justify-content: center;
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    transition: opacity 0.5s, transform 0s 0.5s;
    transform: scale(0);
}

.modal_trigger{
    position: absolute;
    width: 100%;
    height: 100%;
}

.modal_content{
	position: relative;
	align-self: center;
	max-width: 360px;
	width: 100%;
	padding: 50px 10px 15px;
	box-sizing: border-box;
	background: #fff;
	line-height: 1.4em;
	transition: 0.5s;
}

.close_button{
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 24px;
    cursor: pointer;
}

.modal_wrap input:checked ~ .modal_overlay{
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.5s;
}

.open_button {
    display: flex;
    justify-content: center;
    align-items: center;
	max-width: 280px;
	width: 100%;
	padding: 15px 10px;
	text-decoration: none;
	display: block;
	text-align: center;
	background: #00bcd4;
	color: #ffffff;
	border-bottom: solid 4px #00b0d4;
	border-radius: 3px;
	box-sizing: border-box;
    cursor: pointer;
}

.modal_content img {
	width: auto;
	display: block;
	margin: 0 auto;
}

.modal_content p.txt {
	color: #da3c41;
	font-weight: bold;
	margin: 0 0 10px;
}

.modal_content p.txt1 {
	color: #00b900;
	font-size: 120%;
	font-weight: bold;
	text-align: center;
}

.modal_content p.txt1 span {
	color: #404040;
	display: block;
	margin: 10px 0 0;
	font-size: 90%;
	font-weight: normal;
	text-align: left;
}

.modal_content input[type="text"] {
	width: 100% !important;
	margin: 0;
	padding: 10px;
	background-color: #f5f5f5;
	border: none;
	border-radius: 0;
	box-sizing: border-box;
}

.modal_content input[type="email"] {
	width: 100% !important;
	margin: 5px 0 0;
	padding: 10px;
	background-color: #f5f5f5;
	border: none;
	border-radius: 0;
	box-sizing: border-box;
}

.modal_content input[type="submit"] {
	display: block;
	color: #ffffff;
	text-align: center;
	background-color: #da3c41;
	border: none;
	text-decoration: none;
	width: 100% !important;
	margin: 15px 0 0;
	padding: 15px 10px;
	transition: none 0s ease 0s;
	box-sizing: border-box;
}