.form-horizontal {
  margin: 0 1em;
}
.form-control:empty:before {
  content: "\200b";
}
[contenteditable=true]:empty:before {
  content: attr(placeholder);
  color: #aaa;
  display: block;
  /* For Firefox */
}
.input-group .Select .Select-control,
.input-group .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.btn-group {
  white-space: nowrap;
}
.btn-group > .btn {
  float: none;
  display: inline-block;
}
body .no-border-left,
body .no-border-left * {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}
body .no-border-right,
body .no-border-right * {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}
.input-group-vertical {
  margin-bottom: 10px;
}
.input-group-vertical .form-control {
  border-radius: 0;
}
.input-group-vertical .form-group {
  margin-bottom: 0;
}
.input-group-vertical .form-group:not(:last-child) .form-control:not(:focus) {
  border-bottom-color: transparent;
}
.input-group-vertical .form-group:first-child .form-control {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.input-group-vertical .form-group:last-child .form-control {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  top: -2px;
}
.input-group .form-control {
  min-height: 34px;
  height: auto;
  z-index: inherit;
}
.btn-group > .btn {
  z-index: inherit !important;
}
/* datepicker */
/* See: https://github.com/Hacker0x01/react-datepicker/issues/624 */
body .printform .admin-datepicker {
  position: relative;
}
body .printform .admin-datepicker > div {
  display: inline-block;
}
body .react-datepicker {
  font-size: 0.8em;
}
body .react-datepicker__header {
  padding-top: 0.8em;
}
body .react-datepicker__month {
  margin: 0.4em 1em;
}
body .react-datepicker__day-name,
body .react-datepicker__day {
  width: 1.9em;
  line-height: 1.9em;
  margin: 0.166em;
}
body .react-datepicker__current-month {
  font-size: 1em;
}
body .react-datepicker__navigation {
  top: 1em;
  line-height: 1.7em;
  border: 0.45em solid transparent;
}
body .react-datepicker-wrapper {
  display: block;
}
body .input-group .react-datepicker__input-container {
  display: block;
  height: 34px;
}
body .input-group .react-datepicker__input-container .form-control {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
body .react-datepicker-popper {
  z-index: 3;
}
/* tabs title */
.nav.nav-tabs [contenteditable] {
  margin-right: 4px;
}
.unselectable * {
  user-select: none;
}
