html, body {
    margin: 0;
    height: 100vh;
}

.autocomplete-suggestions {
  border: 1px solid #999;
  background: #FFF;
  cursor: default;
  overflow: auto;
  -webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
  -moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
  box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
}

.autocomplete-suggestion {
  padding: 2px 5px;
  white-space: nowrap;
  overflow: hidden;
}

.autocomplete-selected {
  background: #F0F0F0;
}

.autocomplete-suggestions strong {
  font-weight: normal;
  color: #3399FF;
}

.documentation-block > div, details {
  margin-top: 5px;
  padding: 10px;
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px
}

.form-horizontal .control-group {
  background-color: lightcyan;
  margin-bottom: 3px;

}

/*.form-horizontal .controls {*/
/*margin-left: 110px;*/
/*}*/

/*.form-horizontal .control-label {*/
/*width: 100px;*/
/*}*/

.btn-file {
  position: relative;
  overflow: hidden;
}

.btn-file input[type=file] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 999px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: none;
  background: white;
  cursor: inherit;
  display: block;
}

input,
textarea,
.uneditable-input {
  width: 256px;
}


select {
  width: 270px;
}

#diffData {
  width: 1200px;
  margin-left: -400px;
  height: 650px;
}

.content {
  padding-top: 40px;
}

.clearfix {
  padding-top: 10px;
}

.overriden_aspect {
  background-color: lightgray;
}

.type_duplicated_aspect {
  background-color: lightcoral;
}

.parent_equal_aspect {
  background-color: lightgreen;
}

.navbar-custom .navbar-collapse {
  float: left;
}

.aspect_entry {
  margin-left: 20px;
}

.jsoneditor .menu {
  background-color: #0088cc;
}


/* custom aspect field types */
.point_coordinate {
  width: 40px;
}

.id {
  width: 250px;
}

.item_count {
  width: 38px;
}

.duration {
  width: 38px;
}

.date {
  width: 38px;
}

#field_help_popup {
  position: fixed;
  right: 0;
  bottom: 0;
}

.goPageBtn {
  background: lightgrey;
  top: -200px;
  position: fixed;
  right: 15px;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: grey;
  width: 50px;
  height: 50px;
  z-index: 100;

}

/**
* Main page headers
*/

.navbar .nav > li > a {
  text-shadow: none;
  color: var(--header-text-color);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.navbar .nav > li > a:hover {
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.navbar .nav li.dropdown.open > .dropdown-toggle {
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  background-color: var(--header-color);
}

.dropdown-menu {
  margin-top: 0;
}

.navbar-fixed-top {
  max-height: 40px;
  padding: 0;
}

/**
* Overlay
*/
#loading-overlay {
  align-items: center;
  justify-content: center;
  display: none;
}

.overlay {
  opacity: 0.5;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #d0c9c9;
}

.loader {
  font-size: 10px;
  margin: 50px auto;
  text-indent: -9999em;
  width: 7em;
  height: 7em;
  border-radius: 50%;
  background: #ffffff;
  background: -moz-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: -webkit-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: -o-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: -ms-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: linear-gradient(to right, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  position: relative;
  top: -150px;
  -webkit-animation: animate-loader 1.4s infinite linear;
  animation: animate-loader 1.4s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

.loader:before {
  width: 50%;
  height: 50%;
  background: #ffffff;
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
}

/*noinspection DuplicatedCode*/
.loader:after {
  background: #cecbcc;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  content: '';
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

@keyframes animate-loader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.form-row {
  display: flex;
  align-items: flex-end;
  margin-bottom: 16px;
}

.form-column {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 25%;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px !important;
  height: 30px;
    margin: 4px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 4px;
  bottom: 0;
  background-color: #ffffff;
  transition: .4s;
}

input:checked + .slider:before {
  transform: translateX(26px);
  content: "ON";
  color: var(--header-text-color);
}

.slider:before {
  display: flex;
    font-size: 10px;
    content: "OFF";
    background-color: var(--header-color);
    color: red;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 26px;
    width: 26px;
    top: 2px;
    left: 2px;
    bottom: 2px;
    transition: .4s;
}

.slider.round {
  border-radius: 30px;
}

.slider.round:before {
  border-radius: 50%;
}
