/* устанавливаем слой затемнения фона,
  ** опрделяем позиции, цвет и интенсивность затемнения  */
  .black-overlay{
	display: none;
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: black;
	z-index:1001;
	-moz-opacity: 0.3;
	opacity:.30;
	filter: alpha(opacity=30);
}
/* устанавливаем рисунок основы,
  ** опрделяем размеры и положение на экране  */
.envelope {
	display: none;
    position: absolute;
    width: 600px;
    height: 500px;
    background-color: #fff;
    z-index: 1002;
    position: relative;
    margin: 10% auto;
    border-color: rgb(0, 0, 0);
    border-width: 1px;
    border-style: solid;
}
/* оформляем заголовок формы */
.title {
	font-family: "Trebuchet MS",Tahoma,Arial,sans-serif;
    font-size: 30px;
    line-height: 32px;
    font-weight: normal;
    font-weight: 200;
    text-align: center;
    position: absolute;
    top: 7%;
    color: #3a3a3a;
    height: 40px;
    width: 100%;
    margin: 15px 0;
}
.title2{
	font-family: "Trebuchet MS",Tahoma,Arial,sans-serif;
    font-size: 22px;
    line-height: 32px;
    font-weight: normal;
    font-weight: 200;
    text-align: center;
    position: absolute;
    top: 20%;
    color: #3a3a3a;
    height: 40px;
    width: 90%;
    margin: 15px 0;
    left: 5%;
}
.title3{
	font-family: "Trebuchet MS",Tahoma,Arial,sans-serif;
    font-size: 22px;
    line-height: 32px;
    font-weight: normal;
    font-weight: 200;
    text-align: center;
    position: absolute;
    top: 70%;
    color: #3a3a3a;
    height: 40px;
    width: 90%;
    margin: 15px 0;
    left: 5%;
}
/* стили для полей ввода */
input[type=text] {
    font-size: 22px;
    background-color: rgb(255,255,255);
    color: #787474;
    padding-left: 10px;
    width: 80%;
    height: 40px;
    border-color: rgb(255, 255, 255);
    border-width: 1px;
    border-style: solid;
    border-bottom-color: #000;
}
/* меняем оформление полей ввода при фокусе */
input[type=text]:focus, .your-message:focus {
	outline: none;
}
.your-message {
    display: none;
}
 
.your-name {
	position: absolute;
	top: 100px;
	left: 40px;
}
 
.email-address {
	position: absolute;
    top: 40%;
    left: 10%;
    text-align: left;
}
/* оформляем кнопку отправки */
.send-message {
    background-color: #fdc501;
    width: 80%;
    height: 10%;
    color: #fff;
    font-size: 22px;
    font-weight: normal;
    border: none;
    cursor: pointer;
    border-radius: 0px;
    position: absolute;
    top: 55%;
    right: 10%;
}
/* оформляем кнопку отправки при наведении */
.send-message:hover{
    background-color: #5a6169;
}
/* оформляем кнопку отправки в режиме активной */
.send-message:active{
    background-color: #5a6169;
}