﻿@charset "utf-8";
h2{
	font-size:18px;
	padding:15px;
	margin:0;
}

.back{
	width:100%;
	height:auto;
}


.title{
	font-size:20px;
	color:#fff;
	position:relative;
	top:0;
	display:flex;
	justify-content:center;
	align-items:center;
	padding:10px 0;
    background: -webkit-linear-gradient(top left, #50a3a2 0%, #53e3a6 100%);
    background: -ms-linear-gradient(top left, #50a3a2 0%, #53e3a6 100%);
    background: linear-gradient(top left, #50a3a2 0%, #53e3a6 100%);

}

.sendbtn,
#close{
	color:#fff;
	font-size:16px;
	cursor: pointer;
	width: 200px;
	border-radius: 3px;
	text-align: center;
	line-height: 40px;
	margin: 15px auto 15px;
	position:relative;
	top:0;
    background: #f76a35;
    background: -webkit-linear-gradient(top left, #f76a35 0%,#f76a35 40%, #FFC107 100%);
    background: -ms-linear-gradient(top left, #f76a35 0%,#f76a35 40%, #FFC107 100%);
    background: linear-gradient(top left, #f76a35 0%,#f76a35 40%, #FFC107 100%);
    box-shadow:2px 2px 2px #888;
    border:none;
    outline:none;
}

#close{
	background: -webkit-linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
	background: -ms-linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);

}

#close:hover,
.sendbtn:hover{
	opacity:.7;
}

#cover{
	width:100vw;
	height:auto;
	background: rgba(0, 0, 0, 0.5);
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	z-index:10000;
	background: #999;
    background:-webkit-linear-gradient(left top, rgb(42, 49, 46) 0%, rgb(153, 153, 153) 100%);
    background:-ms-linear-gradient(left top, rgb(42, 49, 46) 0%, rgb(153, 153, 153) 100%);
    background:linear-gradient(left top, rgb(42, 49, 46) 0%, rgb(153, 153, 153) 100%);
	opacity:.9;
	cursor:pointer;
}

#modal {
	height:auto;
	box-shadow:10px;
	background: #fff;
	width: 495px;
	/*padding: 20px;*/
	border-radius: 4px;
	position: absolute;
	top: 40px;
	left: 0;
	right: 0;
	margin: 0 auto;
	transition:.6s;
	z-index:20000;
/*	box-shadow: 0 0 5px 5px #50a3a2;*/
}

#modal p{
	color:rgb(80,80,80);
	line-height: 1.5;
	margin:20px;	
	text-align:center;
    position: relative;
    top: 0;
    margin: 0;
    width: 90%;
    padding: 10px;
    margin: 3%;
    height: auto;
    background: white;
    border-bottom: 1px solid #c4c4c4;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
    text-align:left;
}		

.sendmail{
	color:rgb(80,80,80);
	line-height: 1.5;
	margin:20px;	
	text-align:center;
    position: relative;
    top: 0;
    margin: 0;
    width: 90%;
    padding: 10px;
    margin: 3%;
    height: auto;
    background: white;
    border-bottom: 1px solid #c4c4c4;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);

}

#cover.mod{
	display:none;
}

#modal.mod{
	transform: translate(0, -500px);
}

table,
tbody,
.inputtexttr{
	display:flex;
	width:100%;
}

.inputtextmail{
	display:flex;
	justify-content:center;
	align-items:center;
	margin:0 10px;
}

td.inputtexttd{
	width:60%;
}

#mail{
	color: #777;
	width: 100%;
	height: 35px;
	margin: 15px 0 10px 0;
	padding: 0 0 0 15px;
	font-size: 14px;
	border: 1px solid #ebebeb;
	border-radius: 4px;
	box-shadow: 1px 1px 0.5px inset;
	background: #fff;
	outline:none;
}

.submitbtn{
	display:flex;
}









		
@media screen and (max-width:600px){
#modal{
	width:85%;
	height:auto;
}

#close,
.sendbtn{
	width:40%;
	font-size:14px;
}





}/*@media screen and (max-width:600px)*/


@media screen and (max-width:400px){
#modal p,
.sendmail{
	margin:2%;
}






}/*@media screen and (max-width:400px)*/