div.frame,
form {
  width: 400px;
  color: #444;
  border: 0;
  margin: 10px auto;
  padding: 7px 0 2px;
  position: relative;
  font-size: 100%;
  text-align: left;
  position: relative;
  display: block;
}

div.frame p,
form p {
  border: 0;
  margin: 1px 0px;
  padding: 1px 0px;
  display: block;
  text-indent: 0;
  line-height: 1.7em;
  vertical-align: middle;
  position: relative;
}
form div.form-actions,
div.frame p.buttons,
form p.buttons {
  clear: both;
  margin: 7px 10px 0;
  padding: 7px 0;
  border-top: solid 1px #444;
  text-align: center;
}
form div.fieldWithErrors {
  padding: 0px 10px;
  display: block;
}
form fieldset div.fieldWithErrors {
  padding: 0px 0px;
}

form big,
form h2 {
  font-size: 1.2em;
  font-weight: bold;
  margin: 0 0 7px;
  padding: 0 10px;
  display: block;
}
form h3 {
  padding: 0 10px;
  display: block;
}
form hr {
  clear: left;
  border: 0;
  border-bottom: solid 1px black;
  margin: 0 0 5px;
  padding: 5px 0 0;
}
div.frame fieldset,
fieldset {
  clear: both;
  width: auto;
  margin: 5px 10px 15px;
  padding: 0;
  border: 0;
  border-top: solid 1px black;
  position: relative;
  display: block;
}
div.frame fieldset p,
fieldset p {
  clear: left;
  margin: 1px -10px;
  padding-left: 10px;
  padding-right: 10px;
}
div.frame fieldset.noborder,
fieldset.noborder {
  border: 0;
}
form.frame fieldset fieldset {
  margin-left: 0px;
  margin-right: 0px;
}
legend {
  color: #527eac;
  margin: 0 0 10px;
  padding: 0px 2px 0px 0px;
  font-weight: bold;
  font-size: 95%;
  vertical-align: middle;
}
label {
  float: left;
  width: 120px;
  border: 0;
  margin: 1px 0 -1px;
  padding: 0 2px;
  text-align: right;
  vertical-align: middle;
}
label.right {
  float: none;
  text-align: left;
}
label.inline {
  float: none;
}
p.check label {
	float: none;
}
span.hint {
  margin: 0 5px;
}
span.note {
  font-size: 11px;
  padding: 1px 0 3px 125px;
  clear: left;
  line-height: 1.33em;
  display: block;
}
select, textarea, input.text, .dataTables_filter input {
  width: 178px;
  border: solid 1px;
  border-color: gray darkgray darkgray gray;
  margin: 0;
  padding: 2px 1px;
  background: #fff;
  font-size: 100%;
  vertical-align: middle;
}
textarea[disabled],
input.text[disabled] {
  background: transparent !important;
}

input.check, input.radio {
  margin-right: 5px;
  vertical-align: middle;
}

legend input.check {
  margin-top: -1px;
  margin-bottom: 1px;
  margin-right: 5px;
}

select {
  width: auto;
  height: 1.6em;
  padding: 0;
}

select option {
  outline: none;
}

textarea {
  height: 4.9em;
  overflow: auto;
  resize: vertical;
}

input.button {
  width: auto;
  min-width: 92px;
  color: #fff;
  font-size: 100%;
  font-weight: bold;
  text-align: center;
  margin: 0 2px 0 3px;
  padding: 4px 8px;
  background: gray;
  outline: none;
  border: groove 2px #fff;
}
div.form-actions a,
div.frame p.buttons a,
p.buttons a {
  width: auto;
  min-width: 70px;
  color: #fff;
  font-size: 100%;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  margin: 0 2px 0 3px;
  padding: 3px 8px 3px;
  background: gray;
  outline: none;
  border: groove 2px #fff;
  display: inline-block;
}

input.button:focus {
  outline: 0;
  border: outset 2px #fff;
}


form div.inline { clear: both; float: left; width: 100%; display: block; padding: 0; margin: 0; position: relative; }
form div.inline p { clear: none; float: left; margin: 0 3px 0 2px; padding-bottom: 2px; }
form div.inline label { float: none; width: auto; display: inline; }


/* Default form colors */

input.disabled, input.text:disabled, select:disabled, textarea:disabled { color: #444; background: transparent; }

div.frame,
form.frame {
  border: solid 1px #527eac;
  background: #c5dcf3;
}
div.frame,
form.frame {
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
}
div.frame big,
div.frame h2,
form.frame big,
form.frame h2 {
  color: #527eac;
}
div.frame hr,
form.frame hr {
  border-color: #9dbddf;
}
div.frame fieldset,
form.frame fieldset {
  border-color: #527eac;
}
form.frame div.form-actions,
div.frame p.buttons,
form.frame p {
  border-color: #527eac;
}
div.form-actions,
div.frame p.buttons,
form.frame div.form-actions,
form.frame p.buttons {
  min-height: 25px;
  text-align: right;
}
form.frame p.disabled label {
  color: #819abc;
}
form.frame input.text,
form.frame select,
form.frame textarea {
  border: solid 1px;
  border-color: #7e9fc1 #9dbddf #9dbddf #7e9fc1;
  background: #f5f5ff;
}
form.frame input.text:focus,
form.frame select:focus,
form.frame textarea:focus {
  outline: solid 1px #527eac;
  border: solid 1px #527eac;
  background: #fff;
}
div.frame input.button,
div.frame p.buttons a,
form.frame input.button,
form.frame div.form-actions a,
form.frame p.buttons a {
  background: #527eac url('/images/admin/btn-background.png') repeat-x top left;
}
form.frame div.form-actions a.delete,
form.frame p.buttons a.delete {
  float: left;
  color: white;
  background: #d44;
  padding: 3px 8px 2px;
  display: inline-block;
}

form.frame #map {
  width: auto;
  height: 340px;
  margin: 5px 0;
  border: solid 1px #527eac;
  border-color: #527eac #fff #fff #527eac;
}
form div.errorExplanation {
  margin: 0 10px 7px;
  padding: 0 10px;
  border: solid 1px;
  border-color: #ffd6a5 #fffbf5 #fffbf5 #ffd6a5;
  background: #fff0db;
}
form div.errorExplanation h2 {
  color: red;
  margin: 0.5em 0 0;
  padding: 0;
  font-size: 100%;
}
form div.errorExplanation p {
  margin: 0;
  padding: 3px 0;
  text-indent: 0;
}
form div.errorExplanation ul,
form ul.error {
  width: auto;
  margin: 3px 0 5px;
  padding: 0;
  text-indent: 0;
  list-style: none;
  font-size: 95%;
  position: relative;
  display: block;
}
form div.errorExplanation li,
form ul.error li {
  margin: 0;
  padding: 1px 0 1px 22px;
  text-indent: 0px;
  line-height: 150%;
  background: url("/images/admin/ico-exclamation.png") 2px 1px no-repeat;
}

form span.error { padding: 3px 0 5px; }
form input.text.error,
form textarea.error,
form div.fieldWithErrors input.text {
  outline: solid 1px red;
  border: solid 1px red;
}
form select.error {
  outline: solid 1px red;
  border: solid 1px red;
}

img.ui-datepicker-trigger {
  width: 21px;
  height: 19px;
  vertical-align: middle;
  display: inline;
  display: inline-block;
  margin: -6px 2px -6px;
  cursor: pointer;
}
form div.form-actions,
form p.actions {
  clear: both;
  text-align: right;
  padding: 10px 2px 5px;
  z-index: 200;
}
form a.add_fields,
form a.edit_fields,
form a.remove_fields {
  color: #fff;
  margin: 0 2px;
  background: #527eac url('/images/admin/btn-background.png') repeat-x top left;
  padding: 3px 8px;
}

form p.country select {
  max-width: 250px;
}

form #record_owner_info {
  width: 50%;
  min-width: 270px;
  top: 10px;
  right: 10px;
  text-align: right;
  font-size: 10px;
  display: block;
  position: absolute;
}
.ac_results {
	padding: 0px;
	border: 1px solid black;
	background-color: white;
	overflow: hidden;
	z-index: 99999;
}
.ac_results ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}
.ac_results li {
	margin: 0px;
	padding: 2px 5px;
	cursor: default;
	display: block;
	/*
	if width will be 100% horizontal scrollbar will apear
	when scroll mode will be used
	*/
	/*width: 100%;*/
	font: menu;
	font-size: 12px;
	/*
	it is very important, if line-height not setted or setted
	in relative units scroll will be broken in firefox
	*/
	line-height: 16px;
	overflow: hidden;
}
.ac_results .light {
	color: gray;
}
.ac_loading {
	background: transparent url('/images/admin/ajax-loader.gif') right center no-repeat;
}
.ac_odd {
	background-color: #eee;
}
.ac_over {
	background-color: #0A246A;
	color: white;
}

div.frame ul.tabs,
form.frame ul.tabs {
  width: 100%;
  margin: -34px auto 10px;
  padding: 6px 0;
  list-style: none;
  text-align: left;
/*  border-bottom: solid 1px #527eac; */
  display: block;
}
div.frame ul.tabs li,
form.frame ul.tabs li {
  margin: 0 2px 0 -1px;
  padding: 6px 0;
  border: solid 1px #527eac;
  background: #eee;
  display: inline;
  -webkit-border-top-left-radius: 6px;
  -webkit-border-top-right-radius: 6px;
  -moz-border-radius-topleft: 6px;
  -moz-border-radius-topright: 6px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
div.frame ul.tabs li.active,
form.frame ul.tabs li.active {
  border-bottom: solid 1px #c5dcf3;
  background: #c5dcf3;
}
div.frame ul.tabs li a,
form.frame ul.tabs li a {
  padding: 6px 15px;
}

.button_download {
  color: #fff;
  font-weight: normal;
  margin: 0 2px;
  background: #527eac url('/images/admin/btn-background.png') repeat-x top left;
  padding: 3px 8px;
}
h3 .button_download {
  float: right;
}

form div.warning {
  margin: 10px 10px 10px;
  padding: 10px 10px;
  border: solid 2px #ffd6a5;
  background: #fff0db;
}
