html, body 
{
	height: 100%;
}

body:not(.login) 
{
  min-height: 75rem;
  padding-top: 4.5rem;
}

body.login 
{
	display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

hr.d-md-none 
{
  border: none;
  margin: 0;
  margin-top: 0.5rem !important;
}

.navbar 
{
  z-index: 10 !important;
  background-color: #1da4b8 !important;
}

nav .dropdown-menu .dropdown-item 
{
  padding: 0;
}

nav .dropdown-menu .dropdown-item > a 
{
  display: inline-block;
  padding: .25rem 1.5rem;
}

.dropdown-item.active a, 
.dropdown-item:active a 
{
  color: #fff;
}

.dropdown-menu-sm 
{
  min-width: 3rem;
}

.dropdown-menu-sm .dropdown-item 
{
  min-height: 2rem;
  font-size: small;
  padding: 0 1rem;
}

.bootstrap-datetimepicker-widget table.table tr:first-child th 
{
	border-color: #fff;
}

.custom-control-label 
{
	padding-top: 3px;
}

ul.nav-tabs li a.active 
{
  background-color: #dee2e6;
}

.modal .modal-dialog
{
    overflow-y: initial !important
}
.modal .modal-body
{
    max-height: 75vh;
    overflow-y: auto;
}

.input-group 
{
  align-self: flex-start;
}

.input-group>.custom-file, 
.input-group>.custom-select, 
.input-group>.form-control, 
.input-group>.form-control-plaintext 
{
  padding-right: 0;
  height: auto;
}

.reversed { padding: 3rem 0 0 0; }
.reversed .control-label { margin: -4.5rem 0 0 0; float: left; }
input.is-valid ~ label { color: #33ff33; }
input.is-invalid ~ label { color: #ff3333; }

.form-control.is-valid, 
.was-validated .form-control:valid 
{
  background-image: none;
}

.custom-switch .custom-control-input:checked~.custom-control-label::after 
{
  background-color: rgba(255, 255, 255, 1);
}

.form-control::placeholder 
{
  color: #d0d0d0 !important;
}

.form-check.disabled, 
.form-check-input.disabled 
{
  pointer-events: none;
}

/******************** <tree> ********************/
.tree-box li 
{
	list-style-type: none;
	margin: 0;
	padding: 5px 2px 0 2px;
	position: relative;
	line-height: 2em;
}

.tree-box li::before, .tree-box li::after 
{
	content: '';
	left: -20px;
	position:absolute;
	right:auto;
}

.tree-box li::before 
{
	border-left: 1px solid #e5e5e5;
	bottom: 50px;
	height: 100%;
	top: 0;
	width: 1px
}

.tree-box li::after 
{
	border-top: 1px solid #e5e5e5;
	height: 20px;
	top: 20px;
	width: 20px;
}

.tree-box li span.name 
{
	display: inline-block;
	padding-left: 5px;
	text-decoration: none;
}

.tree-box li.parent_li>span 
{
	cursor:pointer;
}

.tree-box li.parent_li>ul
{
	display: none;
}

.tree-box>ul>li::before, .tree-box>ul>li::after 
{
	border: 0;
}

.tree-box li:last-child::before 
{
	height: 30px;
}
/******************** </tree> ********************/

.upload-form .fade.in 
{
	opacity: 1
}

.table tbody.files td, .table tbody.files th 
{
  vertical-align: middle;
}


.list-group.feature .list-group-item, 
.list-group .list-group-item .badge 
{
  cursor: pointer;
}