body {
}

#main_box {
  width: 1000px;
  margin: 0 auto;
  border: 1px solid gray;
}

#header {
  /* border-bottom: 1px solid gray;*/
  height: 100px;
}

#languages {
  text-align: right;
}

div#login-box {
  float: right;
  right: 20px;
  text-align: center;
  margin: 0 auto 20px auto;
}

div#admin-box {
  text-align: center;
  margin: 0 auto 20px auto;
}

h1, h2, h3 {
  text-align: center;
}

ul.institutions li {
  margin-bottom: 1em;
}

#menu {
  /* border-bottom: 1px solid gray; */
  text-align: center;
  /* padding: 3px; */
  padding: 0;
}

#content {
  padding: 20px;
}

#footer {
  border-top: 1px solid gray;
  font-size: 80%;
  text-align: center;
  padding: 3px;
}

img {
  border: none;
}

table#search-by-name {
  margin: 0 auto;
}

table#search-by-name ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

table#search-by-name th{
  margin: 0 auto;
  text-align: right;
  padding-right: 5px;
  vertical-align: top;
}

a.sort-asc {
  padding-right: 20px;
  background: right center url('arrow-up.gif') no-repeat;
}

a.sort-asc:hover {
  background-image: url('arrow-down.gif');
}

a.sort-desc {
  padding-right: 20px;
  background: right center url('arrow-down.gif') no-repeat;
}

a.sort-desc:hover {
  background-image: url('arrow-up.gif');
}

div.page-navigation {
  text-align: center;
  margin: 1em 0;
}

span.current-page {
  font-weight: bold;
}

div#map {
  width: 882px;
  height: 546px;
  margin: 0 auto;
  position: relative;
}

div#map img {
  position: absolute;
}
div#map img.a {}
div#map img.b { margin-left: 10px; }
div#map img.c { margin-top: 10px; }
div#map img.d { margin-left: 10px; margin-top: 10px; }

/*img.square {
 _filter: alpha(opacity=70);
}*/

/*a.square {
  position: absolute;
  width: 19px;
  height: 19px;
  background: url('square_dark.png') no-repeat left top;
  _filter: alpha(opacity=70);
}*/


div.help {
  margin-top: 1em;
}

p.empty-result {
  text-align: center;
  font-weight: bold;
}

p#not-found {
  text-align: center;
  font-weight: bold;
}

p.ok-message {
  border: 2px solid green;
  background-color: lightgreen;
  font-weight: bold;
  text-align: center;
}

p.error-message {
  border: 2px solid red;
  background-color: #ffa07a;
  font-weight: bold;
  text-align: center;
}

p.permissions {
  text-align: center;
  font-weight: bold; 
}

p.error {
  color: red;
  font-weight: bold;
}

p.center {
  text-align: center;
}

span.error {
  color: red;
}

table#users-info {
  margin: 0 auto;
  border-collapse: collapse;
}

table#users-info td {
  border: 1px solid black;
  padding: 5px;
  text-align: center;
}

table#users-info th {
  background-color: lavender;
  border: 1px solid black;
  text-align: center;
  padding: 5px;
}

table#users-rights {
  margin: 0 auto;
  border-collapse: collapse;
}

table#users-rights td {
  border: 1px solid black;
  padding: 5px;
}

table#users-rights th {
  background-color: lavender;
  border: 1px solid black;
  text-align: center;
  padding: 5px;
}

form#user-rights-form {
  margin: 0 auto;
  text-align: center;
}

table#user-form {
  margin: 0 auto;
}

table#user-form th {
  text-align: right;
}

table#registration-form {
  margin: 0 auto;
}

table#registration-form th {
  text-align: right;
}

th.obligate span {
  color: red;
}

div#delete-question {
  text-align: center;
}

div#delete-question form {
  text-align: center;
  margin: 0 auto;
}


img.map {
  position: absolute;
  margin-left: -441px;
  left: 50%;
}

table#map {
  position: absolute;
  margin-left: -441px;
  left: 50%;
  /*margin: 0 auto;*/
  width: 882px;
  height: 546px;
  border-collapse: collapse;
  /*background-image: url('mapa2_new.png');*/
}

div.breaker {
  height: 546px;
}

table#map td {
  width: 21px;
  height: 21px;
  /*cursor: pointer;*/
  vertical-align: top;
  padding: 0;
}

table.selectable td {
  cursor: pointer;
}

td.non-selected {
}

td.selected {
  /*background-image: url('square.png');*/
  /*background: url('ctverec4.png') no-repeat left top;*/
  _filter: alpha(opacity=70);
  padding: 0;
  margin: 0;
}

td.selected-dark {
  /*background-image: url('square.png');*/
  background: url('square_dark.png') no-repeat left top;
  _filter: alpha(opacity=70);
}

table#map td img {
  position: absolute;
  /*display: none;*/
}

table#map td img.a {
  display: block;
  margin-left: 1px;
  margin-top: 1px;
}
table#map td img.b {
  display: inline;
  margin-left: 11px;
  margin-top: 1px;
}
table#map td img.c {
  display: inline;
  margin-left: 1px;
  margin-top: 11px;
}
table#map td img.d {
  display: inline;
  margin-left: 11px;
  margin-top: 11px;
}


table#findings-list {
  width: 100%;
  border-collapse: collapse;
}

table#findings-list td {
  border: 1px solid black;
  padding: 5px;
}

table#findings-list th {
  border: 1px solid black;
  background-color: lavender;
  text-align: center;
  padding: 5px;
}


table#search-by-area {
  margin: 0 auto;
}

table#search-by-area th {
  text-align: right;
  vertical-align: top;
}


form#comment {
  /*width: 600px;
  margin: 0 auto;*/
  text-align: center;
}

form#comment textarea {
  width: 600px;
  height: 200px;
  margin-bottom: 10px;
}

table#comment {
  margin: 0 auto;
}

table#comment th {
  text-align: right;
  vertical-align: top;
}

table#search-by-source {
  margin: 0 auto;
}

table#search-by-source th {
  text-align: right;
  vertical-align: top;
}

table#source-restriction {
  margin: 0 auto;
}

table#source-restriction th {
  text-align: right;
  vertical-align: top;
}

table#extended-search {
  margin: 0 auto;
}

table#extended-search th {
  text-align: right;
  vertical-align: top;
  padding-right: 5px;
}

table#extended-search td {
  vertical-align: top;
}

select.error {
  background-color: #ffa07a;
}

select.error option {
  background-color: white;
}


table#comments {
  /*width: 100%;*/
  margin: 0 auto;
  border-collapse: collapse;
}

table#news {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}

table#comments th, table#news th {
  background-color: lavender;
  border: 1px solid black;
  text-align: center;
  padding: 5px;
}

table#comments td {
  border: 1px solid black;
  padding: 5px;
}

table#news td {
  border: 1px solid black;
  padding: 5px;
  padding-left: 15px;
}

table#comments tr {
  background-color: #ffe4e1;
}

table#comments tr.answered {
  background-color: #f0fff0;
}

a#activate {
  color: red;
  font-weight: bold;
}

