/* zen.css - (C) 2018 TFMT UG. All rights reserved. */

body {
    background: #f5f5f5;
    margin-top: 70px;
    font-size: 14px;
}

body.nonav {
    margin-top: 1.5rem;
}

.dropdown-item:hover {
    background-color: #007bff;
    color: #fff;
}

.margin-bottom-1em {
    margin-bottom: 1em;
}

.card-section {
    padding: 19px;
    border: 1px solid #d8d8d8;
    background-color: #fff;
    border-top-width: 0;
    border-radius: 3px;
    box-shadow: none;
}

.card-section .card-title {
    padding-bottom: 9px;
    margin: 0 0 20px;
    border-bottom: 1px solid #eee;
}

.card-section .card-title .btn.adjust {
  margin: -14px 0 -10px;
}

.no-margin-bottom {
    margin-bottom: 0;
}

.breadcrumb {
    border: 1px solid #d8d8d8;
    background-color: #fff;
    border-top-width: 0;
    border-radius: 3px;
    box-shadow: none;
}

footer.footer {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 20px;
    margin-bottom: 20px;
}

.navbar-dark .navbar-nav .nav-link {
    text-transform: uppercase;
    font-size: .85rem;
    font-weight: bold;
    letter-spacing: .025rem;
    -webkit-font-smoothing: antialiased;
}

.dropdown-toggle::after {
    display: none;
}

img.logo-sm {
    height: 70px;
    width: auto;
}

.text-bold {
    font-weight: bold;
}

form .invalid-feedback {
    display: block;
}

/* List groups */
.list-group-header {
    border-left: 2px solid transparent;
    color: #999;
    padding: 9px 18px;
    font-size: 85%;
}
.list-group-flush .list-group-item {
    border-left: 2px solid transparent;
}
.list-group-item-action {
    padding: 9px 18px;
    border-left: 2px solid transparent;
    border-top-color: rgba(0,0,0,.125);
    border-bottom-color: rgba(0,0,0,.125);
    transition: border 0.218s;
}
.list-group-item-action.active {
    background-color: #f5f5f5;
    border-color: rgba(0,0,0,.125);
    border-left: 2px solid #99C455;
    color: #262626;
}
.list-group-section {
    border: 1px solid #d8d8d8;
    background-color: #fff;
    border-top-width: 0;
    border-radius: 3px;
    box-shadow: none;
}
.list-group-item .badge {
    margin-top: 3px;
}

.navbar {
    padding: .25rem 1rem;
}

/* Spotlight */
.spotlight {
  min-width: 360px;
  padding-left: 5px;
  padding-right: 5px;
}
#spotlight-modal .modal-content {
  margin-top: 4.5em;
  border-radius: 3px;
  box-shadow: none;
}
#spotlight-modal .modal-content table {
  width: 100%;
}
#spotlight-modal .modal-content table .icon {
  width: 40px;
}
#spotlight-input {
  font-size: 20px;
  width: 100%;
  border: none;
  outline: none;
}
.spotlight-search {
  font-size: 12px;
  text-align: right;
  margin-top: 5px;
  font-weight: bold;
}
#spotlight-result {
  height: auto;
  max-height: 500px;
  overflow-x: hidden;
}
#spotlight-result > hr {
  margin: 15px 0;
}
#spotlight-result .row .category {
  color: #aaa;
  text-align: right;
}
#spotlight-result .row:not(:first-child) {
  margin-top: 0.8em;
}

.table-borderless th:first-child,
.table-borderless td:first-child {
    padding-left: 0;
}
.table-borderless th:last-child,
.table-borderless td:last-child {
    padding-right: 0;
}

.table-full-width {
    margin-left: -19px;
    margin-right: -19px;
}
.table-full-width th:first-child,
.table-full-width td:first-child {
    padding-left: 19px;
}
.table-full-width th:last-child,
.table-full-width td:last-child {
    padding-right: 19px;
}
.table-cell-hover td:hover {
    background-color: rgba(0, 0, 0, .075);
}

.nav-tabs .nav-link {
    color: grey;
}
.nav-tabs .nav-link.active {
    font-weight: bold;
    border-top: 2px solid #99C455;
}
.nav-tabs .nav-item:first-child {
    margin-left:1.25rem;
}
.nav-tabs .nav-link.pad {
    padding: .5rem .5rem;
}


@media (min-width: 992px) {
    .modal-dialog-500 {
        width: 500px;
    }
    .modal-dialog-400 {
        width: 400px;
    }
    .modal-full {
        width: 95%;
    }
    .modal-content {
        border-radius: 3px;
    }
    .modal-body *:last-child {
        margin-bottom: 0;
    }
    .modal-header {
        padding: 8px 15px;
        background-color: #0275d8;
        border-radius: 0;
    }
    .modal-header .close {
        padding-top: .85rem;
        text-shadow: none;
        color: #fff;
    }
    .modal-header h4 {
        font-size: 16px;
        color: #fff;
        -webkit-font-smoothing: antialiased;
        font-weight: bold;
    }
    .modal-title {
        line-height: 1;
        margin-top: 4px;
    }
    .modal-footer {
        text-align: left;
    }
    .modal-header.modal-danger {
        background-color: #d9534f;
    }
}

.form-control,
.btn,
a.dropdown-item,
.dropdown-menu,
.input-group-text {
    font-size: 14px;
}
