/* Bootstrap Forms - Floating labels - Placeholder fix */
.form-floating > .form-control::placeholder { color: revert; }
.form-floating > .form-control:not(:focus)::placeholder { color: transparent; }

body {
    background-color: #212529;
    color: #f6f6f6;
}

main {
    padding: calc(1.5% + 1rem) calc(3% + 0.3rem) 0 calc(3% + 0.3rem);
}

a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    color: inherit;
}
.fa-href {
    cursor: pointer;
    opacity: .33;
}
.fa-href:hover {
    opacity: .9;
}

.btn {
    transition: color .05s ease-in-out,background-color .05s ease-in-out,border-color .05s ease-in-out,box-shadow .05s ease-in-out;
}
.btn-transparent {
    background-color: transparent;
    border: none;
}
.btn-transparent:hover {
    background-color: #47494e;
}
.fs-7 {
    font-size: small;
}
.fs-8 {
    font-size: smaller;
}
.fs-9 {
    font-size: x-small;
}

.navbar-dark {
    background-color: #181b1d !important;
}
.nav-item > a {
    text-align: center;
}

.table td, .table th {
    vertical-align: middle;
}
.table-dark tr {
    background-color: #181b1d !important;
    --bs-table-bg: #181b1d !important;
    --bs-table-striped-bg: #1b1f22 !important;
}
.table-dark tr td {
    border: none !important;
}

.table {
    margin-bottom: 0;
}
.table-rounded {
    border-radius: .6rem;
}
.table-responsive {
    margin-bottom: 3rem;
}
.table-responsive td, .table-responsive th {
    white-space: nowrap;
}
.table-responsive thead th {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 999;
}

input,
select,
textarea,
.input-group-text {
    background-color: #181b1d !important;
    color: #f6f6f6 !important;
    border-color: #121315 !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px #181b1d inset !important;
}
input:-webkit-autofill{
    -webkit-text-fill-color: #f6f6f6 !important;
}

.row-align-middle > * > * {
    vertical-align: middle;
}
.row-align-middle > * > label {
    line-height: 1;
}
.form-check-label {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.form-control:disabled {
    opacity: .6;
}

.btn-floating {
    font-size: 1.3rem;
    padding: 0.75rem 1.4rem;
}
.form-floating-separator p {
    margin-top: 0.9rem;
}

::-webkit-scrollbar {
  width: .5rem;
  height: .5rem;
}
::-webkit-scrollbar-track {
  background: #212529;
}
::-webkit-scrollbar-thumb {
  background: #343a41;
}

.modal-header {
    border-bottom: none;
}
.modal-body {
    padding-top: 0;
    padding-bottom: 0;
}
.modal-content {
    background-color: #212529;
}
.modal-footer {
    border-top: none;
}

.card-add-new {
    background-color: #323237 !important;
    border-radius: 1rem;
    border: none;
    box-shadow: 0 0.2rem 0.8rem rgba(0,0,0,0.33);
}
