﻿/**
 * Общие стили для всего блока формы
 */
#sForm * {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 12px;
	color: #333;
	outline: 0;
	line-height: 18px;
	vertical-align: top;
}

#sForm {
	text-align: left;
	z-index: 50;
	margin-bottom: 10px;
}

#sForm h1 {
	height: 25px;
	width: 210px;
	line-height: 25px;
	font-size: 14px;
	font-weight: normal;
	color: #fff;
	text-align: center;
	background: url(pics/form_title.gif) no-repeat;
}

#sForm div dfn {
	margin-left: -5px;
}

#sForm dfn, #sForm p dfn {
	font-style: normal;
	color: #999;
	margin-left: 0;
}

#sForm sup {
	position: relative;
	bottom: 3px;
	left: 1px;
	font-size: 0.8em;
	color: #999;
}

#sForm a {
	color: #699;
	text-decoration: none;
	border-bottom: 1px dashed #699;
}

#sForm a:hover {
	color: #c90;
	text-decoration: none;
	border-bottom: 1px dashed #c90;
}

#sForm img {
	border: 0;
}

#sForm table {
	background-color: #f0f0f0;
	width: 100%;
	empty-cells: show;
	border-spacing: 0;
	border-collapse: collapse;
}

#sForm td {
	width: 33%;
}

#sForm td div {
	white-space: nowrap;
	vertical-align: baseline;
}
/**
 * Описания структурных строк
 */
#sForm form.collapsed tr.ext {
	display: none;
}

#sForm tr.main td {
	background: url(pics/form_dot.gif) no-repeat right 20px;
	padding: 10px 20px 0px 20px;
}

#sForm tr.main td.control {
	background: url(pics/form_corner.gif) no-repeat right -10px;
	border: none;
}

#sForm tr.ext td {
	padding: 5px 20px 10px 20px;
}

#sForm tr.ruler td {
	height: 25px;
	font-size: 11px;
	background: url(pics/form_ruler.gif) repeat-x 0 20px;
	text-align: center;
	vertical-align: bottom;
}

#sForm tr.ruler td span {
	background-color: #f0f0f0;
	display:inline-block;
/*	padding: 0 10px;*/
}
#sForm tr.ruler a{
	background-color: #f0f0f0;
	margin: 0 10px;
/*	padding: 0 10px;*/
}

#sForm tr.bottom td {
	height: 10px;
	line-height: 10px;
}

#sForm tr.bottom td.l {
	background: url(pics/form_corner2.gif) no-repeat left top;
}

#sForm tr.bottom td.r {
	background: url(pics/form_corner.gif) no-repeat right top;
}
/**
 * Классы полей формы:
 */
#sForm p {
	margin: 10px 0 3px 0;
	white-space: nowrap;
}

#sForm input, #sForm select {
	width: 80%;
}

#sForm select {
	margin:0;
	z-index: 5;
}

#sForm input:focus, #sForm select:focus {
	outline: 2px solid #ffc;
}

#sForm div.checks {
	padding: 0 10px;
	line-height: 24px;
	margin-bottom: -4px;
	margin-top: -2px;
}

#sForm div.checks input {
	margin: 5px 5px 0 0;
	width: auto;
}

#sForm td.control select, #sForm td.control input {
	width: 60%;
}

#sForm td.control input.short {
	/*width: 45% !important;*/
	height:19px;
	/*font-size:10px;*/
	margin-right: 10px;
}

#sForm td.control input.right {
	width: 30%;
	margin-left: 10px;
	color: #999;
}

#sForm td.geo input {
	width: 100%;
/*	color: #333;
	padding: 1px;
	border: 1px solid #7f9db9;*/
}

#sForm td.geo a {
	cursor:pointer;
}

#sForm td.geo span {
	padding-left: 8px;
}

#sForm #geoSelection {
	color: #333;
	font-weight: bold;
}

#sForm .key {
/*	border: 1px solid #333 !important;*/
	font-weight: bold !important;
	color: #933 !important;
}

#sForm .short {
	margin-right: 10px !important;
	width: 40% !important;
}
#sForm td.geo .short {
	margin-right: 10px !important;
	width: 30% !important;
}

/*
 * Карты
 */
#sForm #map {
	position: absolute;
	width:600px;
	height:600px;
	padding: 0;
	z-index: 10;
	margin: -24px 0 0 0;
}
#sForm td.geo iframe {
	display: none; 
	position: absolute;
	width: 600px;
	height: 600px;
	margin: -22px 0 0 0;
	z-index: 5;
	color: #f00;
}

#sForm .kiev {
	background: #fff url(pics/form_map_kiev.gif) no-repeat;
}
#sForm .region {
	background: #fff url(pics/form_map_region.gif) no-repeat;
}


#sForm #map a {
	font-size: 11px !important;
	margin: 0 3px;
	cursor: pointer;
}

#sForm #map a.mass {
	font-weight: bold;
	color: #366;
	border-color: #366;
}

#sForm #map a.mass:hover {
	font-weight: bold;
	color: #c90;
	border-color: #c90;
}

#sForm #map a.selected {
	color: #fff;
	margin: 0;
	border-color: #c90;
	border-style: solid;
	border-width: 0 3px;
	background-color: #c90;
}

#sForm #map p {
	position: absolute;
}

#sForm #map button {
	margin-top: 20px;
	width: 50px;
	color: #999;
}
#sForm #map button.submit {
	color: #333;
	width: 80px;
	margin: 20px 10px 0 20px;
}

/* Деснянський */
#sForm .a1002241 {top: 55px; left: 455px;}
/* Дарницький */
#sForm .a1002242 {top: 315px; left: 415px;}
/* Дніпровський */
#sForm .a1002243 {top: 165px; left: 375px;}
/* Солом'янський */
#sForm .a1002246 {top: 275px; left: 155px;}
/* Оболонський */
#sForm .a1002247 {top: 55px; left: 235px;}
/* Голосіївський */
#sForm .a1002248 {top: 355px; left: 255px;}
/* Печерський */
#sForm .a1002249 {top: 255px; left: 285px;}
/* Подільський */
#sForm .a1002250 {top: 75px; left: 125px;}
/* Шевченківський */
#sForm .a1002253 {top: 185px; left: 175px;}
/* Святошинський */
#sForm .a1003198 {top: 205px; left: 45px;}

/* Яготинський */
#sForm .a20000 {top: 300px; left: 465px;}
/* Володарський */
#sForm .a20005 {top: 475px; left: 155px;}
/* Кагарлицький */
#sForm .a21598 {top: 390px; left: 300px;}
/* Броварський */
#sForm .a21621 {top: 220px; left: 315px;}
/* Фастівський */
#sForm .a21628 {top: 355px; left: 145px;}
/* Бориспільський */
#sForm .a21667 {top: 295px; left: 295px;}
/* Києво-Святошинський */
#sForm .a21710 {top: 255px; left: 225px;}
/* Богуславський */
#sForm .a21719 {top: 490px; left: 315px;}
/* Бородянський */
#sForm .a21741 {top: 200px; left: 155px;}
/* Обухівський */
#sForm .a21809 {top: 355px; left: 275px;}
/* Макарівський */
#sForm .a21825 {top: 275px; left: 125px;}
/* Вишгородський */
#sForm .a21832 {top: 175px; left: 225px;}
/* Баришівський */
#sForm .a21836 {top: 292px; left: 385px;}
/* Сквирський */
#sForm .a21949 {top: 435px; left: 115px;}
/* Васильківський */
#sForm .a21971 {top: 322px; left: 205px;}
/* Білоцерківський */
#sForm .a21997 {top: 405px; left: 195px;}
/* Миронівський */
#sForm .a22081 {top: 420px; left: 335px;}
/* Ставищанський */
#sForm .a22170 {top: 515px; left: 205px;}
/* Згурівський */
#sForm .a22196 {top: 240px; left: 445px;}
/* Тетіївський */
#sForm .a24134 {top: 525px; left: 125px;}
/* Таращанський */
#sForm .a24443 {top: 480px; left: 235px;}
/* Рокитянський */
#sForm .a24522 {top: 440px; left: 255px;}
/* Іванківський */
#sForm .a24530 {top: 150px; left: 145px;}
/* П.-Хмельницький */ 
#sForm .a24531 {top: 350px; left: 405px;}
/* Поліський */
#sForm .a24532 {top: 105px; left: 125px;}

/*
 * Саггест
 */
.ac_results {
	padding: 0px;
	border: 1px solid WindowFrame;
	background-color: Window;
	overflow: hidden;
}

.ac_results ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ac_results iframe {
	display:none;/*sorry for IE5*/
	display/**/:block;/*sorry for IE5*/
	position:absolute;
	top:0;
	left:0;
	z-index:-1;
	filter:mask();
	width:3000px;
	height:3000px;
}

.ac_results li {
	margin: 0px;
	padding: 2px 5px;
	cursor: pointer;
	display: block;
	width: 100%;
	font: menu;
	font-size: 12px;
	overflow: hidden;
}

.ac_loading {
	background : Window url('./indicator.gif') right center no-repeat;
}

.ac_over {
	background-color: Highlight;
	color: HighlightText;
}

/*
 * Хаки
 */
/* Opera */
@media all and (min-width:0px) {
    head~body #sForm div.checks input { margin-top: 4px; }
    head~body #sForm div.checks { line-height: 25px; }
    head~body #sForm select { margin: 0 -3px 0 0;}
}
/* WebKit */
@media all and (min-width:0px) {
    body:not(:root:root) #sForm div.checks input { margin-top:6px; }
    body:not(:root:root) #sForm div.checks { padding-top: -2px;}
    body:not(:root:root) #sForm select { margin: 2px 0 1px 0;}
    body:not(:root:root) #sForm .geo img { margin: 0 0 2px 0;}
}
