* {
  font-family: 'Niramit', sans-serif;
  font-size: 10pt;
}

a {
  color: #525050;
}

a:hover {
  text-decoration: none;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Niramit', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
}

body#login {
  background: #636363;
}

html {
  scroll-behavior: smooth;
}

body#login input {
  appearance: none;
  box-sizing: border-box;
}

body#login input[type="checkbox"] {
  appearance: checkbox;
  box-sizing: border-box;
}

.error {
  color: #FFFFFF;
}

.red_error, .required {
  color: #E4572E;
}

.embedded {
  position: absolute;
}

#new_comment {
  width: 100%;
  box-sizing: border-box;
}

#browser-warning p {
  position:absolute;
  width: 100%;
  color: #fff;
  padding: 10px;
  text-align: center;
  box-sizing: border-box;
  border: 10px solid #636363;
  background: #E4572E;
}

#info_window_error {
  clear:both;
}

#login-form p {
  margin: 8px 0;
}

#login-form h1 {
  margin: 8px 0;
  background: #fff;
}

#login-form h1 span {
  display: block;
  font-size: 0;
  height: 72px;
  background: #fff url("images/zeitort_logo.png") no-repeat center;
  box-sizing: border-box;
}

#login-form {
  position: relative;
  height: 100%
}

#login-form form {
  position: absolute;
  width: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#login-form input[type=text],
#login-form input[type=password],
#login-form input[type=submit] {
  background: #5d5d5b;
  color: #393939;
  border: 0;
  padding: 12px 20px;
  margin: 0;
  width: 100%;
}

#login-form input:focus::placeholder,
#login-form input:focus,
#login-form input[type=submit]:hover,
#login-form input[type=submit]:focus,
button:hover,
button:focus {
  color: #fff;
}

#login-form input[type=text]::placeholder,
#login-form input[type=password]::placeholder {
  color: #393939;
}

#login-form input[type=submit] {
  background-color: #3c7adb;
}

#login-form input[type=submit], button {
  border: 0;
  border-radius: 100pt;
  cursor: pointer;
}

button {
  background-color: #b0adae;
}

input[type=submit], button {
  padding: 3px 10px;
}

th.internal_id_full {
  min-width: 23px;
}

th.sublocality {
  min-width: 85px;
}

th.plot_size {
  min-width: 70px;
}

th.leasable_area {
  min-width: 105px;
}

th.category {
  min-width: 70px;
}

.overflow_scroll {
  width: 100%;
  overflow: auto;
  margin: 8px 0;
}

.bordered_table {
  border-collapse: collapse;
}

.bordered_table td {
  border: 1px solid #b0adae;
  padding: 3px;
}

.bordered_table th {
  text-align: left;
  padding: 3px;
  white-space: nowrap;
}

.nowrap {
  white-space: nowrap;
}

#table {
  width: 100%;
  overflow: scroll;
}

#table-markers {
  border-collapse: collapse;
  width: 100%;
}

#table-markers td {
  border: 1px solid #fff;
  padding: 5px;
}

#table-markers tr {
  background-color: #fff;
}

#table-markers tr:nth-child(even), tr.highlight {
  background-color: #ebecee;
}

#table-markers tr:hover {
  background-color: #82a3cf; /*94dbec*/
}

#table-markers th {
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  border: 1px solid #fff;
}

#form table, th, td {
  border-collapse: collapse;
  padding: 0;
  margin: 0;
}

#form input::placeholder {
  color: #b0adae;
  font-weight: normal;
}

#form input, #form label {
  width: 100%;
}

#form label {
  display: inline-block;
}

#form .p50 {
  width: 50%;
}

#form .p25 {
  width: 25%;
}

#form table {
  margin-bottom: 8px;
}

#form input, #form select, #form label, textarea {
  box-sizing: border-box;
  vertical-align: middle !important;
  background: #fff;
  color: #393939;
  border: 1px solid #DDDDDD;
  padding: 2px 5px;
  margin: 0;
  border-radius: 0 100pt 100pt 0;
}

textarea {
  border-radius: 3pt;
}

#form input, #form select {
  font-weight: bold;
  border-left: 1px dotted #DDDDDD;
}

#form input[type=file] {
  border: 0;
  padding: 0;
  font-weight: normal;
  color: gray;
  font-size: 0.8em;
}

#form select {
  background: #b0adae;
  color: #fff;
}

#form label {
  border-radius: 100pt 0 0 100pt;
  border-right: 0;
  padding: 2px 2px 2px 10px;
}

#form input.left, #form select.left {
  border-radius: 0;
  border-right: 0;
}

#form input.right, #form select.right {
  border-radius: 0 100pt 100pt 0;
}

#form select {
  width: 50%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.strong {
  color: #000;
  font-weight: bold;
}

th, td.last {
  color: #fff;
  padding: 0;
  margin: 0;
  background-color: #b0adae;
  border: 1px solid #fff;
}

td.last a {
  color: #fff;
}

th select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

th input, th select {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 10px 5px;
  margin: 0;
  min-width: 3pt;
  border: 0;
  background: #b0adae;
  color: #fff;
  font-size: 100%;
  font-weight: bold;
}

th ::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #fff;
  opacity: 1;
  /* Firefox */
}

p.note {
  color: gray;
}

span.note {
  font-size: 0.8em;
  color: gray;
}

td.note {
  font-size: 0.8em;
  color: gray;
  font-style: oblique;
}

form.file {
  border-radius: 3pt;
  cursor: pointer;
  border: 1px solid #dddddd;
  margin-top: 1em;
  padding: 0.5em;
}

ul.file {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

h1, h2, h3, p {
  margin: 0 0 8px 0;
}

h1 {
  font-size: 2em;
  overflow: auto;
}

h2 {
  font-size: 1.3em;
}

h1 span {
  font-size: 1em;
}

table {
  border-collapse: collapse;
}

th, td {
  margin: 0;
  padding: 2px 0;
}

img {
  vertical-align: bottom;
  margin: 0;
}

.to_left {
  display: block;
  float: left;
}

.to_right {
  display: block;
  float: right;
}

.reset {
  overflow: hidden;
}

.status {
  box-sizing: border-box;
  display: inline-block;
  color: #5d5d5b;
  padding: 2px 10px;
  border: 1px solid #b0adae;
  border-radius: 100pt;
}

.image {
  position: relative;
  float: right;
  margin: 0 0 12px 12px;
  vertical-align: middle !important;
}

.gallery {
  display: inline-block;
  margin: 0 5px 5px 0;
}

.fullimage {
  display: block;
  width: 100%;
  height: 100%;
}

.more {
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  font-size: 3em;
  color: white;
  opacity: 0.7;
  font-weight: bold;
}

.more:hover {
  opacity: 1;
}

.info {
  clear: both;
}

#map {
  width: 100%;
  height: 100%;
}

#switcher, #current_position, #pac-input {
  box-sizing: border-box;
  border: 0;
  margin: 10px;
  padding: 0;
  position: absolute;
  user-select: none;
  border-radius: 2px;
  height: 40px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
  overflow: hidden;
}

#pac-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 1.3em;
  width: 300px;
  height: 40px;
  padding: 8px 8px 8px 34px;
  background: #fff url("images/baseline-search-24px.svg") no-repeat 8px center;
}

#switcher, #current_position {
  width: 40px;
  cursor: pointer;
  background: #3eb8da;
}

/* This icon has two stases, for each different color of icon */
#current_position .material-icons,
#switcher .material-icons {
  color: inherit;
}

#current_position {
  color: #fff;
}

.space {
  width: 1em;
}

button.navigation {
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  vertical-align: middle !important;
}

button.navigation .material-icons {
  color: #3c7adb;
}

button.delete .material-icons {
  color: #DDDDDD;
  font-size: 12pt;
}

button.delete .material-icons:hover {
  color: #D81159;
}

button.undo {
  margin-right: 3pt;
}

button .highlight, button .material-icons {
  color: #fff;
}

.material-icons.md-18 {
  color: #fff;
  font-size: 11pt;
  vertical-align: middle !important;
}

.tooltip {
  font-size: 0.8em;
  box-sizing: border-box;
  display: inline-block;
  padding: 0 5px;
  border: 1px dotted #b0adae;
  border-radius: 100pt;
}

.title {
  border-bottom: 1px dotted #b0adae;
}

ul.icon
{
  margin-top: 0;
  padding: 0;
	list-style-type: none;
}

.lightbox {
	/** Default lightbox to hidden */
	display: none;

	/** Position and style */
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
}

.lightbox img {
	/** Pad the lightbox image */
  box-sizing: border-box;
	max-width: 100%;
	max-height: 100%;
	padding: 2%;
}

.lightbox:target {
	/** Remove default browser outline */
	outline: none;

	/** Unhide lightbox **/
	display: block;
}

.hidden {
  display: none;
}

td.number {
  text-align: right;
}

/* width0-100 needs to be reseted in style-mobile.css */
.width0 {
  width: 1px;
}
.width33 {
  width: 33%;
}
.width50 {
  width: 50%;
}
.width100 {
  width: 100%;
}

/* width */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #ebecee;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #525050;
  border: 1px solid #ebecee;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #525050;
}
