/* устанавливаем слой затемнения фона,
  ** опрделяем позиции, цвет и интенсивность затемнения  */
.black-overlay{
	display: none;
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: #fff;
	z-index:1001;
	-moz-opacity: 0.7;
	opacity:.70;
	filter: alpha(opacity=70);
}
/* устанавливаем рисунок основы,
  ** опрделяем размеры и положение на экране  */
.envelope {
	display: none;
	position: absolute;
	top: 50px;
    left: 600px;
	width: 600px;
	height: 408px;
	background-color: #f4f4f5;  
	border-radius: 5px;
	z-index:1002;
	margin: 10% auto;
	padding: 10px;
}
.envelope input[type="text"] {
	width: 227px;
	height: 39px;
	border: 2px solid #7688a1;
}
.modal-icon {
	margin-right: 23px;
}
.modal-form {
	margin-top: 40px;
}
.modal-name {
	margin-right: 16px;
}
.modal-bottom {
	padding-top: 20px;
	padding-bottom: 25px;
}
.modal-bg {
	position: absolute;
    top: 325px;
    left: 21px;
    height: 80px;
    width: 240px;
    background: url(../img/modal-logo.png) no-repeat;
}
.exclamationpoint {
	padding-top: 5px;
	margin-right: 20px;
}
#rufen {
	position: absolute;
    top: 450px;
}
.wirruf h2 {
	margin-top: 12px;
	margin-right: 53px;
	font-family: circle_regular;
	font-size: 22px;
	color: #ff9500;
}
.senden input {
	width: 167px;
	height: 49px;
	margin-left: -43px;
	background: url("../img/senden_up.png") no-repeat;
}
/* формируем кнопку закрытия,
  ** размеры, положение на форме  */
.close-btn {
	float: right;
    width: 21px;
    height: 21px;
    display: block;
    cursor: pointer;
    background: url("../img/cl.png") no-repeat;
    text-indent: -4999px;
}
.close-btn:hover {
	background: url("../img/cl_over.png") no-repeat;
}

.mod_title_text {
	color: #333333;
	font-family: circle_regular;
	font-size: 36px;

}
.mod_title_text h2 {
	color: #333333;
	font-family: circle_regular;
	font-size: 36px;
	padding-top: 11px;
}
.modal-area {
	padding-top: 17px;
}
.your-message {
	width: 470px;
	height: 141px;
	border: 2px solid #7688a1;
}
.modal-wrap {
	width: 480px;
	margin-top: 25px;
	margin-left: 65px;
	margin-right: 65px;
}

@media (max-width: 1680px) {
	.envelope {
    position: absolute;
    top: 90px;
    left: 540px;
    width: 600px;
    height: 408px;
    background-color: #f4f4f5;
    border-radius: 5px;
    z-index: 1002;
    margin: 10% auto;
    padding: 10px;
}
}
@media (max-width: 1600px) {
	.envelope {
    position: absolute;
    top: 100px;
    left: 500px;
    width: 600px;
    height: 408px;
    background-color: #f4f4f5;
    border-radius: 5px;
    z-index: 1002;
    margin: 10% auto;
    padding: 10px;
}
}
@media (max-width: 1536px) {
	.envelope {
    position: absolute;
    top: 100px;
    left: 480px;
    width: 600px;
    height: 408px;
    background-color: #f4f4f5;
    border-radius: 5px;
    z-index: 1002;
    margin: 10% auto;
    padding: 10px;
}
}
@media (max-width: 1400px) {
	.envelope {
    position: absolute;
    top: 120px;
    left: 430px;
    width: 600px;
    height: 408px;
    background-color: #f4f4f5;
    border-radius: 5px;
    z-index: 1002;
    margin: 10% auto;
    padding: 10px;
}
}
@media (max-width: 1280px) {
	.envelope {
    position: absolute;
    top: 130px;
    left: 360px;
    width: 600px;
    height: 408px;
    background-color: #f4f4f5;
    border-radius: 5px;
    z-index: 1002;
    margin: 10% auto;
    padding: 10px;
}
}
@media (max-width: 1200px) {
	.envelope {
    position: absolute;
    top: 130px;
    left: 300px;
    width: 600px;
    height: 408px;
    background-color: #f4f4f5;
    border-radius: 5px;
    z-index: 1002;
    margin: 10% auto;
    padding: 10px;
}
}
@media (max-width: 1024px) {
	.envelope {
    position: absolute;
    top: 150px;
    left: 200px;
    width: 600px;
    height: 408px;
    background-color: #f4f4f5;
    border-radius: 5px;
    z-index: 1002;
    margin: 10% auto;
    padding: 10px;
}
}
@media (max-width: 960px) {
	.envelope {
    position: absolute;
    top: 150px;
    left: 170px;
    width: 600px;
    height: 408px;
    background-color: #f4f4f5;
    border-radius: 5px;
    z-index: 1002;
    margin: 10% auto;
    padding: 10px;
}
}
@media (max-width: 800px) {
	.envelope {
    position: absolute;
    top: 170px;
    left: 90px;
    width: 600px;
    height: 408px;
    background-color: #f4f4f5;
    border-radius: 5px;
    z-index: 1002;
    margin: 10% auto;
    padding: 10px;
}
}
@media (max-width: 720px) {
	.envelope {
    position: absolute;
    top: 150px;
    left: 50px;
    width: 600px;
    height: 408px;
    background-color: #f4f4f5;
    border-radius: 5px;
    z-index: 1002;
    margin: 10% auto;
    padding: 10px;
}
}
@media (max-width: 640px) {
	.envelope {
    position: absolute;
    top: 150px;
    left: 10px;
    width: 600px;
    height: 408px;
    background-color: #f4f4f5;
    border-radius: 5px;
    z-index: 1002;
    margin: 10% auto;
    padding: 10px;
}
}
@media (max-width: 480px) {
	.envelope {
    position: absolute;
    top: 150px;
    left: 30px;
    width: 390px;
    height: 595px;
    background-color: #f4f4f5;
    border-radius: 5px;
    z-index: 1002;
    margin: 10% auto;
    padding: 10px;
}
.modal-bg {
    position: absolute;
    top: 395px;
    left: 21px;
    height: 80px;
    width: 240px;
    background: url(../img/modal-logo.png) no-repeat;
}
.modal-wrap {
    width: 290px;
    margin-top: 25px;
    margin-left: 65px;
    margin-right: 65px;
}
.senden input {
    width: 167px;
    height: 49px;
    margin-left: 2px;
    background: url(../img/senden_up.png) no-repeat;
}
.modal-wrap {
    width: 290px;
    margin-top: -5px;
    margin-left: 15px;
    margin-right: 0px;
}
.your-message {
    width: 300px;
    height: 141px;
    border: 2px solid #7688a1;
}
.exclamationpoint {
	padding-top: 0px;
    margin-right: 0px;
}
.envelope input[type="text"] {
    width: 227px;
    height: 39px;
    margin-top: 15px;
    border: 2px solid #7688a1;
}
}

@media (max-width: 320px) {
.envelope {
    position: absolute;
    top: 150px;
    left: 0px;
    width: 370px;
    height: 585px;
    background-color: #f4f4f5;
    border-radius: 5px;
    z-index: 1002;
    margin: 10% auto;
    padding: 10px;
}
.modal-bg {
    position: absolute;
    top: 425px;
    left: 21px;
    height: 80px;
    width: 240px;
    background: url(../img/modal-logo.png) no-repeat;
}
.modal-wrap {
    width: 290px;
    margin-top: 25px;
    margin-left: 65px;
    margin-right: 65px;
}
.senden input {
    width: 167px;
    height: 49px;
    margin-left: 2px;
    background: url(../img/senden_up.png) no-repeat;
}
.modal-wrap {
    width: 290px;
    margin-top: -5px;
    margin-left: 15px;
    margin-right: 0px;
}
.your-message {
    width: 250px;
    height: 141px;
    border: 2px solid #7688a1;
}
.exclamationpoint {
	padding-top: 0px;
    margin-right: 0px;
}
.envelope input[type="text"] {
    width: 227px;
    height: 39px;
    margin-top: 15px;
    border: 2px solid #7688a1;
}
}