﻿/* Модальное окно */
.modal {
	position: fixed;
	z-index: 1000;
	left: 0; right: 0;
	top: 0; bottom: 0;
}
.modal-bg {
	position: absolute;
	z-index: 1001;
	left: 0; right: 0;
	top: 0; bottom: 0;
	background-color: rgba(0, 0, 0, 0.4);
}
.modal-window {
	position: absolute;
	z-index: 1002;
	top: 5%;
	left: 50%;
	width: 700px;
	height: auto;
	margin-left: -350px;
    margin-top:100px;
	background-color: #fff;
	-moz-box-shadow: 0 2px 12px #000000;
	-webkit-box-shadow: 0 2px 12px #000000;
	box-shadow: 0 2px 12px #000000;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
.modal-window-inner {
	padding: 30px;
}
.modal-closer {
	position: absolute;
	display: block;
	width: 12px;
	height: 12px;
	top: 10px;
	right: 10px;
	background: url('design/modal-closer.png') center no-repeat;
	border: none;
	cursor: pointer;
}
.modal-window h2 {
	padding-bottom: 15px;
	font-size: 180%;
	text-align: center;
	border-bottom: solid 1px #eee;
}
.modal-window h3 {
	margin-top: 15px;
	font-size: 140%;
	text-align: center;
}
.modal-window .form {
	margin-top: 20px;
}
.modal-window table {
	width: 95%;
}
.modal-window table tr th {
	width: 33%;
	padding: 8px 30px 8px 0;
	font-weight: normal;
	text-align: right;
	vertical-align: middle;
}
.modal-window table tr td {
	width: 67%;
	padding: 8px 0;
	vertical-align: middle;
}
.modal-window table tr td select,
.modal-window table tr td input[type='text'],
.modal-window table tr td textarea {
	width: 99%;
}
.modal-scroll
{
    overflow:scroll;
    height:400px;
    padding:20px;
}
/* End */