body {
  background-color: white;
}

#fakebody {
  width: 1000px;
  margin: 1em auto 1em auto;
}

img {
  border: none;
}

div, span, a {
  font-family: Tahoma, 'Liberation Sans', sans-serif;
}

button {  /* input? */
  margin-top: 4px;
  padding: 2px;
  border: 1px solid #9e9e9e;
  font-size: 11px;
  font-family: Tahoma, sans-serif;
  background-color: white;
  color: #9e9e9e;
}

input.textbox, input.password {
  width: 320px;
  margin-top: 4px;
  margin-bottom: 4px;
  color: black;
  font-size: 12px;
  border: 1px solid #d9d9d9;
  padding: 1px;
}

input#published {
  position: relative;
  top: 3px;
}

input.upload {
  margin-bottom: 4px;
  width: 320px;
  border: 1px solid #d9d9d9;
  padding: 1px;
}

select {
  border: 1px solid #9e9e9e;
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  border: 1px solid #d9d9d9;
  padding: 1px;
}

select#menuitem_id {
  width: 322px;
  padding: 4px;
  margin-bottom: 6px;
}

th {
  text-align: right;
  width: 120px;
}

label {
  text-align: left;
  vertical-align: middle;
  font-size: 11px;
  font-family: Tahoma, sans-serif;
  font-weight: normal;
  color: #9e9e9e;
}

.pagination {
  text-align: center;
  margin: 16px;
}

.reg_text {
  font-size: 11px;
  font-family: Tahoma, sans-serif;
  font-weight: normal;
  color: #9e9e9e;
  padding-bottom: 8px;
}

a {
  color: #0050ab;
}

.striped_border {
  background-image: url(striped_border.png);
  width: 100%;
  height: 7px;
  margin-top: 8px;
  margin-bottom: 8px;
}

embed {
  position: relative;
}

embed.hidden {
  left: -10000px;
  top: -10000px;
}

tr.hidden {
  display: none;
}

#header {
}

#header_logo {
  float: left;
}

.auth_menu {
  text-align: right;
  color: #cccccc;
}

.auth_menu_item {
  color: #88ac3e;
  font-family: Tahoma, sans-serif;
  font-size: small;
}

#estate_quickfilter {
  height: 27px;
  margin-top: 26px;
}

.estate_quickfilter_button, .estate_quickfilter_button_active {
  color: #505050;
  float: right;
  background-image: url(header_tab_gray.png);
  background-repeat: no-repeat;
  background-position: center center;
  line-height: 27px;
  height: 27px;
  width: 124px;
  margin-left: 4px;
  font-family: Tahoma, sans-serif;
  font-weight: bold;
  font-size: small;
  text-align: center;
  text-decoration: none;
}

.estate_quickfilter_button_active {
  background-image: url(header_tab_blue.png);
}

#search_bar {
  height: 35px;
  background-image: url(header_bg.png);
  background-repeat: no-repeat;
  background-position: center center;
  line-height: 35px;
  padding: 0px 20px 0px 20px;
  margin-bottom: 8px;
}

#lang_switcher {
  float: left;
  width: 200px;
  overflow: visible;
  position: relative; 
  z-index: 9;
}

.lang_token {
  color: #0050ab;
  font-size: small;
  font-weight: bold;
  padding-right: 10px;
  text-decoration: none;
}

#admin_menu {
  float: right;
}

.admin_menu_link {
  color: #0050ab;
  font-size: small;
  font-weight: bold;
  padding-left: 10px;
  text-decoration: none;
}

table.userlist {
  width: 600px;
  border-collapse: collapse;
}

th.userlist, td.userlist{
  font-size: 11px;
  font-weight: normal;
  text-align: left;
}

td.userlist {
  padding-bottom: 4px;
  padding-top: 4px;
  border-bottom: 1px dotted black;
}

img.userlist_avatar {
  max-width: 25px;
  max-height: 25px;
}

a.userlist_order {
  color: black;
}

.profile_phone {
  color: #0050ab;
  text-decoration: underline;
  font-weight: bold;
}

#search_form {
  text-align: center;
}

.searchbox {
  color: black;
  padding: 1px;
  border: 1px solid black;
  height: 19px;
  position: relative;
  top: -1px;
  margin-left: -200px;
}

.searchbox#what {
  height: 15px;
  width: 210px;
}

#searchbox_where {
  width: auto;
  position: relative;
  top: -1px;
  border: 1px solid black;
}

#searchbox_submit {
  font-size: 11px;
}

#breadcrumb {
  font-family: Tahoma, sans-serif;
  font-weight: bold;
  margin-bottom: 0px;
}

.breadcrumb_lastcrumb {
  color: #5a5a5a;
  font-weight: normal;
}

#sortbar {
  font-family: Tahoma, sans-serif;
  font-size: small;
  text-align: center;
  color: #0050ab;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  height: 25px;
  line-height: 25px;
  margin: 3px;
}

#main {
  margin-top: 8px;
}

#leftsidebar {
  float: left;
  width: 185px;
  margin-right: 15px;
}

.leftsidebar_menuitem {
  border-bottom: 1px solid #cccccc;
}

.leftsidebar_menuitem_folded {
  border-bottom: 1px solid #cccccc;
  display: none;
}

a.leftsidebar_link:link, a.leftsidebar_link:visited, a.leftsidebar_link_lvl2:link, a.leftsidebar_link_lvl2:visited, a.leftsidebar_link_editor:link, a.leftsidebar_link_editor:visited, a.leftsidebar_link_lvl2_editor:link, a.leftsidebar_link_lvl2_editor:visited {
  text-decoration: none;
  font-weight: bold;
  font-size: small;
  color: #0050ab;
  line-height: 20px;
  margin-left: 4px;
}

a.leftsidebar_link_lvl2:link, a.leftsidebar_link_lvl2:visited {
  font-weight: normal;
  margin-left: 2em;
}

#content {
  float: left;
  width: 625px;
  margin: 0px;
}

.tabbar {
  height: 31px;
  z-index: 2;
  position: relative;
  top: 1px;
}

.tab {
  background-image: url(tab.png);
  width: 97px;
  height: 31px;
  line-height: 38px;
  float: left;
  background-repeat: no-repeat;
  background-position: bottom left;
  text-decoration: none;
  color: black;
  vertical-align: top;
  font-size: 12px;
}

.activetab {
  background-image: url(activetab.png);
  line-height: 33px;
  vertical-align: top;
}

.tab:hover, .activetab:hover {
  text-decoration: none;
}

.tab_arrow {
  font-size: 8px;
  line-height: 11px;
  color: #959385;
}

#rightsidebar {
  float: left;
  width: 160px;
  margin-left: 15px;
  padding: 10px 0px 10px 0px;
  text-align: center;
}

.list_style {
  float: right;
  font-size: small;
  color: #aaaaaa;
  position: relative;
  top: 3px;
}

.list_style_icon {
  position: relative;
  top: 2px;
  padding-left: 4px;
}

#apartment_list_notfound {
  margin-top: 16px;
  font-size: 11px;
  text-align: center;
}

.apartment_list_item {
  margin-top: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid #cccccc;
}

.apartment_list_item_hot {
  margin-top: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #cccccc;
}

.apartment_list_item_titlebar {
  color: #929191;
  text-align: right;
  font-size: small;
  vertical-align: middle;
  min-height: 24px;
}

a.apartment_list_item_titlebar_address {
  color: #88aa00;
  float: left;
  text-decoration: none;
  font-weight: bold;
  font-size: large;
  vertical-align: middle;
}

.apartment_view_address {
  color: #88aa00;
  text-decoration: none;
  font-weight: bold;
  font-size: large;
}

.apartment_view_details {
  color: #929191;
  font-size: small;
}

.apartment_list_item_teaser_image {
  border: 1px solid #999999;
  padding: 1px;
  vertical-align: middle;
}

.overlay_logo {
  width: 24px;
  vertical-align: middle;
}

.apartment_list_item_teaser_text {
  font-size: small;
  min-height: 32px;
  width: 544px;
  position: relative;
  left: -24px;
  text-align: justify;
  overflow: visible;
}

.apartment_list_item_teaser_text_hot {
  margin-left: 150px;
  font-size: small;
  min-height: 150px;
}

.apartment_list_item_controls {
  color: #0050ab;
  text-align: right;
  font-size: 11px;
  margin-top: 10px;
}

a.apartment_list_item_controls_details {
  color: #0050ab;
  text-decoration: none;
  font-weight: bold;
}

.apartment_list_item_controls_author {
  text-decoration: none;
  color: #88aa00;
}

span.apartment_list_item_controls_viewcount {
  text-decoration: none;
  color: black;
}

.apartment_edit_forms {
  border: 1px solid #cdcdcd;
  z-index: 1;
  padding: 8px;
  margin-bottom: 16px;
}

p.error {
  font-size: 11px;
  color: red;
}

table.apartment_filemanager {
  width: 100%;
  margin: 8px 0px 8px 0px;
}

td.apartment_filemanager {
  border: 1px solid #cdcdcd;
  padding: 8px;
}

div.apartment_filemanager_entry {
  border-top: 1px solid #bbbbbb;
  font-size: small;
  margin-top: 3px;
  margin-bottom: 4px;
  color: #0050ab;
  font-size: 11px;
}

a.apartment_filemanager_toolbtn {
  text-decoration: none;
  color: #0050ab;
  font-size: small;
  float: right;
  margin-left: 16px;
  font-size: 11px;
}

.apartment_filemanager_label {
  color: black;
}

a.apartment_filemanager_button_add, a.apartment_filemanager_button_del {
  color: #777777;
  border: 1px solid #9e9e9e;
  padding: 1px 6px 2px 6px;
  margin: 2px;
  padding-left: 8px;
  padding-right: 8px;
  font-size: small;
  font-family: fixed;
  text-decoration: none;
}

.apartment_view_photo_border {
  margin-top: 8px;
  border: 1px solid #88aa00;
  text-align: center;
}

.apartment_view_photo_thumb {
  text-align: center;
  vertical-align: middle;
  padding: 2px 1px 2px 1px;
  margin: 1px;
}

.apartment_view_container {
  font-size: small;
  margin-top: 16px;
}

div.apartment_view_video {
  float: left;
  margin: 0px 24px 6px 0px;
}

div.apartment_grid {
  text-align: center;
}

table.apartment_grid_item {
  display: inline-block;
  border: 1px solid #88aa00;
  margin: 23px;
  height: 205px;
  width: 158px;
  vertical-align: top;
}

/* fix ie */
table.apartment_grid_item {//display:inline}

/* fix firefox2 */
table.apartment_grid_item {
  display:-moz-inline-box;
  -moz-box-orient: vertical;
}

.apartment_grid_photo {
  height: 150px;
}

.apartment_grid_desc {
  height: 47px;
}

img.apartment_grid_image {
  vertical-align: middle;
  margin: 1px;
}

div.video_q_label {
  margin-left: 5px;
}
a.video_q_label {
  position: relative;
  font-size: normal;
  font-weight: bold;
  text-decoration: underline;
  color: #fdfdfd;
}

a.video_q_label:hover {
  color: #d0d0d0;
}


table#video_q_chooser {
  background-color: black;
  background-image: url(http://static.videoestate.lv/template/video_q_gradient.png);
  background-repeat: repeat-x;
  border: 1px solid black;
  width: 320px;
  height: 36px;
  padding: 4px 20px 0px 20px;
}

.listcontrols, .listcontrols_sortbar {
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  padding: 5px 0px 5px 0px;
  color: #cccccc;
}

a.listcontrols_sorter, a.listcontrols_sorter_active {
  text-decoration: none;
  color: #0050ab;
  font-size: small;
}

a.listcontrols_sorter_active {
  color: black;
}

.listcontrols_sortbar {
  text-align: center;
  border-top: 1px solid #cccccc;
  margin-bottom: 8px;
}

.listcontrols_sortbar_separator {
  margin: 0px 16px 0px 16px;
}

table.profile_outer_border2, div.profile_outer_border, div.profile_outer_border2 {
  border: 1px solid #e3e3e3;
  padding-top: 4px;
  padding-bottom: 2px;
  margin-bottom: 1px;
}

div.profile_outer_border2 {
  padding-bottom: 16px;
}

.profile_titlebar {
  border-top: 1px solid #88aa00;
  border-bottom: 1px solid #bbbbbb;
  font-weight: bold;
  font-size: small;
  height: 28px;
}

.profile_titlebar_arrow {
  padding: 8px;
}

.profile_titlebar_name {
  font-weight: bold;
  font-size: 12px;
  line-height: 28px;
  vertical-align: middle;
}

.profile_data {
  padding-left: 8px;
}

.hot_offer_label {
  color: #929191;
  font-weight: normal;
}

.profile_line {
  font-size: small;
  line-height: 32px;;
  color: #646464;
}

a.profile_button {
  color: #777777;
  border: 1px solid #9e9e9e;
  padding: 3px 6px 3px 6px;
  margin: 2px;
  font-size: small;
  text-decoration: none;
}

div#footer {
  color: #898989;
  float: left;
  padding: 0px 10px 0px 10px;
  text-align: right;
  line-height: 37px;
  height: 37px;
  width: 980px;
  background-image: url(footer_bg.png);
  background-repeat: no-repeat;
  background-position: center center;
  font-size: x-small;
}

a.footer {
  color: #898989;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.menueditor_header {
  font-weight: bold;
  font-size: 14px;
}

.fontsize_chooser {
  text-decoration: none;
  font-weight: bold;
}
