form {margin: 0px auto;}

.menu {
    position:relative;
    width:750px;
    height:60px;
    border:1px #000 solid;
    margin:20px auto;
    padding:5px 0;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
}

/* main menu styles */

/* tabs section */
/*
#tabs-container {
    clear:both;
    font-size:11px;
    height:26px;
    margin:0 auto;
    padding:0
}
.tabs li {
    float:left;
    list-style:none;
    position:relative
}
.tabs li a:first-child {
    margin-left:10px
}
.tabs li a {
    background:#f3f3f3;
    border:none;
    border-left:1px solid #d5d5d5;
    border-right:1px solid #d5d5d5;
    border-top:1px solid #d5d5d5;
    color:#333;
    display:block;
    margin:0 2px 0 0;
    padding:6px 10px 4px
}
.tabs li.active a {
    -webkit-border-radius:4px 4px 0 0;
    background:#fff;
    border-bottom:1px solid #fff;
    border-left:1px solid #d5d5d5;
    border-radius:4px 4px 0 0;
    border-right:1px solid #d5d5d5;
    border-top:1px solid #d5d5d5;
    color:#222;
    display:block;
    padding:6px 10px 4px
}
.tabs li.child a {
    -webkit-border-radius:0 4px 0 0;
    background:#f3f3f3;
    border-radius:0 4px 0 0;
    color:#333;
    display:block;
    margin:0;
    padding:6px 10px 4px
}
.tabs li a:hover {
    background:#fafafa;
    border-bottom:1px solid #d5d5d5;
    color:#fff;
    text-decoration:none
}
*/
/* Targeting the first level menu */
/*
.tabs {
    display:block;
    margin:0;
    padding:1px 0 2px;
    position:absolute;
    z-index:100;
}
.tabs > li > a:hover {
    background:#ececec;
    color:#222
}
.tabs > li.active > a:hover {
    -moz-border-radius:3px 3px 0 0;
    -webkit-border-radius:3px 3px 0 0;
    background:#fff;
    border-bottom:1px solid #fff;
    border-radius:3px 3px 0 0;
    color:#222
}
*/

/*Middle Drop-Down Navigation*/
#nav-container {
    border-bottom:1px solid #d5d5d5;
/*    border-top:1px solid #d5d5d5;*/
    clear:both;
    font-size:11px;
    height:33px;
    margin:0 auto;
    padding:0;
    text-align: left;
}

/* Targeting both first and second level menus */
.nav li {
    float:left;
    list-style:none;
    position:relative;
}
.nav li a {
/*    background:url(images/arrow.png) no-repeat right;*/
    border:none;
    color:#222;
    display:block;
    margin:0 5px 0 0;
    padding:8px 20px 8px 8px;
}

/* Targeting the first level menu */
.nav {
    display:block;
    margin:0;
    padding:5px 0 2px;
    position:absolute;
}

.nav > li > a:hover {
    -moz-border-radius:3px 3px 0 0;
    -webkit-border-radius:3px 3px 0 0;
/*    background:#507aa5 url(images/arrow_hover.png) no-repeat right;*/
    background:#507aa5;
    border-radius:3px 3px 0 0;
    color:#fff;
    padding:8px 20px 8px 8px;
}

/* Targeting the second level menu */
.nav li ul {
    -moz-border-radius-bottomleft:3px;
    -moz-border-radius-bottomright:3px;
    -moz-border-radius-topright:3px;
    -moz-box-shadow:1px 1px 1px #333;
    -webkit-border-bottom-right-radius:3px;
    -webkit-box-shadow:1px 1px 1px #333;
    background:#507aa5;
    border-bottom-left-radius:3px;
    border-bottom-right-radius:3px;
    border-top-right-radius:3px;
    box-shadow:1px 1px 1px #333;
    color:#222;
    display:none;
    margin:0;
    padding:2px 0;
    position:absolute;
    width:200px;
}

.nav li ul li {
    text-align: left;
    width:100%;
}
.nav li ul li a {
    background:#507aa5;
    border:none;
    color:#fff;
    line-height:25px;
    margin:0;
    padding:0 0 0 8px
}
.nav li ul li a:hover {
    background:#466A90;
}
.nav li ul li.strong-archive a {
    border-top:1px solid #466A90;
    font-weight:800;
}

/* A class of current will be added via jQuery */
.nav li.current > a {
    -moz-border-radius:3px 3px 0 0;
    -moz-box-shadow:1px 1px 1px #333;
    -webkit-border-radius:3px 3px 0 0;
    -webkit-box-shadow:1px 1px 1px #333;
/*    background:#507aa5 url(images/arrow_hover.png) no-repeat right;*/
    background:#507aa5;
    border-radius:3px 3px 0 0;
    box-shadow:1px 1px 1px #333;
    color:#fff;
}

/* CSS fallback */
.nav li:hover > ul.child {
    display:block;
}

.kladr_input{
	width: 250px;
	background-color: #ffffff;
	border-style: solid;
	border-color: #cfcfcf;
	border-width:1px;
	font-family: Arial, verdana;
	font-size: 12px;
	font-style: normal;
	font-weight: normal;
}

.kladr_input_2{
	width: 115px;
	background-color: #ffffff;
	border-style: solid;
	border-color: #cfcfcf;
	border-width:1px;
	font-family: Arial, verdana;
	font-size: 12px;
	font-style: normal;
	font-weight: normal;
}

.address_all{
	padding: 5px;
	background-color: #ffffff;
	width: 350px;
	border: 1px solid black;
	font-family: Arial, verdana;
	font-size: 12px;
	font-style: normal;
	font-weight: normal;
}

.place_tr{}
.move_address{}

.all_tr td{
	cursor:pointer;
}
.all_tr:hover td{
	background-color: #c0c0c0;
}

.drag_block{
	border: 1px solid red;
	border-radius:5px;
	padding: 5px;
	background-color: #ffffff;
	height: 40px;
}

.fblock{
  float:left;
  text-align: center;
  height: 19px;
  background: #e5e5e5;
  margin: 4px;
  padding: 5px;
  border: 1px solid #afafaf;
  border-radius:4px;
  -moz-border-radius:4px;
  -webkit-border-radius:4px;
}

.lblock{
  float:left;
  text-align: center;
  width: 248px;
  height: 19px;
  background: #e5e5e5;
  margin: 4px;
  padding: 5px;
  border: 1px solid #afafaf;
  border-radius:4px;
  -moz-border-radius:4px;
  -webkit-border-radius:4px;
}

.sblock{
  float:left;
  text-align: center;
  width: 85px;
  height: 15px;
  background: #e5e5e5;
  margin: 4px;
  padding: 7px;
  border: 1px solid #afafaf;
  border-radius:4px;
  -moz-border-radius:4px;
  -webkit-border-radius:4px;
}

.monitoring_block{
	width: 200px;
	height: 20px;
	float: left;
	background: #ffffff;
	margin: 5px;
	padding: 5px;
	border: 1px solid red;
}

.monitoring_but{
	text-align: center;
	width: 180px;
	height: 18px;
	border: 1px solid grey;
	background: #ccffcc;
}

.monitoring_but2{
	text-align: center;
	height: 18px;
	border: 1px solid grey;
	background: #ccccff;
	margin: 10px;
}

.monitoring_menu{
	width: 400px;
	text-align: left;
	display: none;
	background: #ffffff;
	border: 1px solid #ffcccc;
	position: absolute;
	z-index: 10;
}

div.verticalText {  
	-moz-transform: rotate(270deg);  
	-webkit-transform: rotate(270deg);  
	-o-transform: rotate(270deg);  
	transform: rotate(270deg);
	width: 20px;
	height: 300px;  
	line-height: 300px;
	margin: 0 0 -130px 0;
	vertical-align: middle;
}

.monitoring_comm_all{
	padding: 5px;
	background-color: #ffffff;
	width: 355px;
	height: 160px;
	border: 1px solid black;
	font-family: Arial, verdana;
	font-size: 12px;
	font-style: normal;
	font-weight: normal;
	position: relative;
	overflow-x: hidden;
	overflow-y: scroll;
	text-align: left;
}

.emails_input{
	width: 250px;
	height: 120px;
	background-color: #ffffff;
	border-style: solid;
	border-color: #cfcfcf;
	border-width:1px;
	font-family: Arial, verdana;
	font-size: 12px;
	font-style: normal;
	font-weight: normal;
}

#upload_file_editor{
	position: absolute;
	border: 1px solid red;
	height: 160px;
	font-family: Arial, verdana;
	font-size: 8px;
	font-style: normal;
	font-weight: normal;
}

.bookScript{
	width: 90%;
	height: auto;
	padding: 10px;
	margin: 10px;
	background-color: #FFFFDD;
	border:1px dashed red;
	word-spacing: 10px;
}

.provider_block{
	margin: 2px;
	border: 1px solid red;
	border-radius:5px;
	padding: 5px;
	background-color: #ffffff;
	height: 40px;
	cursor: pointer;
}
.provider_block:active{
	border: 2px solid red;
	background-color: #ffcccc;
}

.provider_block div{
	overflow: hidden;
	height: 30px;
}
