/* xs sm md lg xl */
html,
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f2f2f2;
  font-family: Calibri, sans-serif;
}

.container {
  height: 100%;
}

.f-85 {
  font-size: 0.85rem;
}

label {
  margin-bottom: 0;
  font-weight: bold;
}

.btn {
  font-weight: bold;
}

.btn-outline-primary {
  background-color: white;
}

.fixed-button-group {
  position: fixed;
  bottom: 32px;
  width: 100%;
  margin: 0 auto;
  z-index: 10;
  left: 0;
  background-color: #C1C2C4;
  padding: 0.5rem 0 0.5rem 0;
  display: flex;
  justify-content: center;
}

.btn-group-xs > .btn,
.btn-xs {
  padding: 0.25rem 0.3rem;
  font-size: 0.7rem;
  line-height: 0.5;
  border-radius: 0.2rem;
}

th {
  font-size: 0.8rem;
}

td {
  font-size: 0.7rem;
  word-break: break-all !important;
}

tr.divider > td {
  padding: 0.5px !important;
}

table.dataTable.nowrap td {
  vertical-align: middle;
}
table.dataTable>tbody tr.group>td {
  font-size: 13px;
}
table.dataTable.nowrap td.child {
  white-space: normal;
}
table.dataTable>tbody>tr.child ul.dtr-details {
  width: 100%;
}
table.dataTable>tbody>tr.child span.dtr-title {
  min-width:140px;
}
table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td.dtr-control {
  padding-left: 2rem;
}
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child:before {
  border-color: transparent;
  border-radius: 0;
  background-color: inherit;
  box-shadow: none;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1.3333em;
}
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child:before {
  color: #28a745 !important;
  content: "\f055";

}
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child:before {
  color: #dc3545 !important;
  content: "\f056";
}

.scaled {
  transform: scale(0.75);
}

.select2-container {
  display: block;
  width: auto !important;
}

#footer {
  width: 100%;
}

#footer a, #footer span {
  font-size: 11px;
  text-decoration: none;
  background-color: transparent;
}

#footer a {
  color: #007bff;
}

#footer a:hover {
    filter: brightness(0.8);
}

#logo {
  transition: all .25s ease-in-out;
  width: 80%;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 768px) {
  .container {
    max-width: 520px !important;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1200px !important;
  }
}

/* placeholder italic */
::-webkit-input-placeholder {
  font-style: italic;
}
:-moz-placeholder {
  font-style: italic;
}
::-moz-placeholder {
  font-style: italic;
}
:-ms-input-placeholder {
  font-style: italic;
}

/* styling DT Show x entries */
.dataTables_length {
  font-size: .875rem;
  color: #6c757d;
}

/* .fa-times-circle {
  color: #dc3545;
} */

/* Check box with the label on the right*/
div.custom-control-right {
  padding-right: 24px;
  padding-left: 0;
  margin-left: 0;
  margin-right: 0;
}
div.custom-control-right .custom-control-label::after{
  right: -1.5rem;
  left: auto;
}
div.custom-control-right .custom-control-label::before {
  right: -2.35rem;
  left: auto;
}
