/* override exists */

.django-admin-logo {
  border-bottom: none !important;
}

.show-hide-sidebar-menu {
  position: fixed !important;
  z-index: 10;
  margin-top: 13px !important;
}

.nav.nav-sidebar a {
  display: block;
}

.nav.nav-sidebar a:hover {
  text-decoration: none;
}

.main-header {
    height: 50px !important;
    background: unset !important;
    border-bottom: unset !important;
    box-shadow: unset !important;
}

.main-header h1 {
    line-height: 50px  !important;
}

.timeline > li > .timeline-badge {
  z-index: 2 !important;
}

@media(max-width:767px) {
  .show-hide-sidebar-menu {
    right: 10px;
    left: unset !important;
  }
}

.inline-group .checkbox input {
  margin: 0 0 0 -20px !important;
}

.table-responsive thead th {
  white-space: normal;
}

.table-responsive thead th a {
  word-break: normal;
}

.table-responsive td,
.table-responsive th {
  white-space: nowrap;
}

.table-responsive td,
.table-responsive th {
  padding: 5px !important;
}

/* define new */

.user-info {
  text-align: center;
  color: gray;
  background: #282829;
  margin: 0 -20px;
  padding-bottom: 5px;
  border-bottom: 1px solid #222;
}

.reports #report a {
  border-bottom: 1px dashed;
}

.nav-tabs a.active {
  background-color: #eee;
}

.nav-tabs a.report-link.active::after {
  content: "↓";
}

/* tgl_btn */
.disable_autofilling {
  position: absolute;
  top: 34px;
  right: 6px;
}

.tgl_btn {
	width: 30px;
	height: 15px;
	margin: 0 auto;
	position: relative;
}

.tgl_btn input {
	margin: 0px;
	width: 100%;
	height: 15px;
	cursor: pointer;
	opacity: 0;
	position: relative;
	z-index: 3;
}

.tgl_btn__bar {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background-color: lightgray;
	z-index: 1;
	border-radius: 15px;
}

.tgl_btn__knob {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 11px;
	height: 11px;
	background-color: #fff;
	border-radius: 50%;
	transition: left 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28), margin-left 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
	box-shadow: 0px 1px 1px #7d7d7d;
	z-index: 2;
}

.tgl_btn input:active ~ .tgl_btn__knob {
	width: 15px;
	border-radius: 15px;
}

.tgl_btn input:checked ~ .tgl_btn__knob {
	left: 17px;
}

.tgl_btn input:checked ~ .tgl_btn__bar {
	background-color: #337ab7;
}

.tgl_btn input:checked:active ~ .tgl_btn__knob
{
	margin-left: -7px;
}

.glyphicon.action_btn:not(:hover) {
  color: lightgrey;
}

a.object-info-link {
  cursor: default;

}

.object-info-link .glyphicon {
  font-size: 12px;
}

/* force_btn */

.has_force_autofilling:hover .force_autofilling {
  display: block;
}

span.force_autofilling {
  position: absolute;
  top: 33px;
  right: 33px;
  display: none;
  cursor: pointer;
  color: #337ab7;
}

.force_btn {
  opacity: 0.5;
  transition: opacity 1s;
}

.force_btn:hover {
  opacity: 1;
}

/* time-shortcuts.js */
ul.timelist li {
  width: 16%;
  display: inline-block;
  line-height: 1;
}

/* field.html */
.popover-btn.help-block {
  display: unset;
}

/* calendar under other elements */
.actions-top .select {
  z-index: 0;
}

#changelist-search .input-group {
  z-index: 0;
}
