html,
body {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 975px;
}

body {
  color: #333;
  margin: 0;
  padding: 0px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

a {
  color: rgb(0, 100, 200);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: rgb(0, 80, 160);
}

label {
  display: block;
}

input,
button,
select,
textarea {
  -webkit-padding: 0.4em 0;
  border-radius: 2px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  margin: 0 0 0.5em 0;
  padding: 0.4em;
}

input:disabled {
  color: #ccc;
}

button {
  color: #333;
  background-color: #f4f4f4;
  outline: none;
}

button:disabled {
  color: #999;
}

button:not(:disabled):active {
  background-color: #ddd;
}

button:focus {
  border-color: #666;
}

/* GSFT styles */
:root {
  --gsft-border-color: #e5e5e5;
}

/* Navigation */
.navbar .nav-item {
  margin-right: 10px;
}

.navbar {
  border-bottom: 3px solid #e5e5e5;
}

.navbar .nav-item .nav-link.active,
.navbar .nav-item .nav-link:hover {
  background-color: rgba(40, 60, 92, 0.4);
  border-radius: 4px;
  color: White;
}

/* Form */
form fieldset {
  background-color: #f5f5f5;
  border-radius: 4px;
  border: 1px solid var(--gsft-border-color);
  margin-bottom: 30px;
  margin-top: 20px;
  padding: 10px;
}

form legend {
  background-color: white;
  border-radius: 4px;
  border: 1px solid var(--gsft-border-color);
  display: inline;
  font-size: 1.2em;
  margin-top: -1.2em;
  padding: 4px 12px;
  width: auto;
}

form legend button.btn {
  margin-left: 1rem;
  margin-bottom: 0;
  vertical-align: top;
}

form fieldset fieldset {
  background-color: #eaeaea;
  border: 1px solid #ccc;
}

form fieldset fieldset legend {
  font-size: 1.1em;
}

form .form-control.form-flatpickr {
  background-color: #ffffff;
}

form .form-control.form-flatpickr+label {
  height: 38px;
}

form .form-control.form-autocomplete {
  height: auto !important;
  padding: 6px 11px !important;
}

form .autocomplete {
  display: block !important;
}

/* Violations */
.violations-nav .nav-link {
  text-decoration: none;
}

.violations-nav .nav-link.active {
  background-color: #eee;
  box-shadow: 0 0 10px #eee;
}

.message-body {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  padding-top: 0.2rem !important;
  padding-bottom: 0.5rem !important;
  background-color: #f1f1f1 !important;
}

/* Spinner */
.wrapper-loader {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(100, 100, 100, 0.15);
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.attachment-pseudolink-wrapper {
  display: flex;
  position: relative;
  margin-bottom: 0.5rem;
}

.attachment-pseudolink {
  color: blue;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  width: 100%;
}

.attachment-pseudolink.ready-to-upload {
  text-decoration: none;
}

.attachment-pseudolink+small {
  position: absolute;
  top: -7px;
  color: #999;
  left: 12px;
  font-size: 0.75em;
  background: white;
  padding: 0 4px;
  border-radius: 0.15rem;
  border: 1px solid #eee;

}

.label-status {
  background-color: rgba(108, 117, 125, 1);
}

.label-status.status-open {
  background-color: #ff9900 !important;
}

.label-status.status-closed {
  background-color: #38761d !important;
}

.label-status.status-complete {
  background-color: #93c47d !important;
}

.label-status.new {
  background-color: #0d6efd !important;
}
