/* Pilotberry Additions */

/* override browser default */
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Nunito", sans-serif;
}

.pb-body{
  background-image: url('../images/pilotberi-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

/* use viewport-relative units to cover page fully */
body {
  height: 100vh;
  width: 100vw;
}

/* Change the white to any color */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.navbar-brand span{
  vertical-align: middle;
}

.navbar-brand span img{
  width: 80px;
  height: auto;
}

.logo{
  font-weight: 800;
}

.logo div {
  display: inline-block;
  width: 300px;
  height: 60px;
  padding: 7px;
  padding-top: 8px;
}

.logo div.small{
  background-color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.logo img {
  width: 40px;
  height: auto;
}

.logo span {
  line-height: 100%;
  height: 100%;
  font-size: 40px;
  vertical-align: middle;
}

.loader img {
  width: 36px;
}

.loader.right {
  float: right;
  vertical-align: middle;
}

.loader.inline {
  display: inline;
  vertical-align: middle;
}

.loader.small img {
  width: 24px;
  vertical-align: middle;
}

.error-text{
  display: none;
}

.hide{
  display: none !important;
}

.show{
  display: block;
}

.hflip {
  transform: scaleX(-1);
}

.vflip {
  transform: scaleY(-1);
}

.rotate-clockwise{
  animation: rotation 2s infinite linear;
}

.rotate-anticlockwise{
  animation: arotation 2s infinite linear;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

@keyframes arotation {
  from {
    transform: rotate(359deg);
  }
  to {
    transform: rotate(0deg);
  }
}

/* UI ELEMENTS */

/* Scrollbar Styling */
/* Scrollbar - Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #dedede #fafafa ;
}

/* Scrollbar - Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 12px;
  cursor: pointer;
}

*::-webkit-scrollbar-track {
  background: #fafafa;
  cursor: pointer;
}

*::-webkit-scrollbar-thumb {
  background-color: #dedede;
  border-radius: 20px;
  border: 3px solid #fafafa;
  cursor: pointer;
}

/* Link, Link Button */
.page-item.active .page-link {
  background-color: #584EAD;
  border-color: #40359C;
}

.dataTables_wrapper .page-link{
  color: #584EAD;
  border: 0;
}

.btn-check:focus + .btn-secondary, .btn-secondary:focus, .page-link:focus{
  box-shadow: 0 0 0 0.25rem rgb(88, 78, 173, 0.25);
}

.page-link:hover{
  color: #584EAD;
}

/* Table */

.table {
  --bs-table-bg: transparent;
  --bs-table-striped-color: #718096;
  --bs-table-striped-bg: #fafafa;
  --bs-table-active-color: #303030;
  --bs-table-active-bg: rgba(88, 78, 173, 0.1);
  --bs-table-hover-color: #718096;
  --bs-table-hover-bg: rgba(88, 78, 173, 0.1);
}

table.dataTable.table-striped>tbody>tr.odd:hover {
  --bs-table-accent-bg: var(--bs-table-hover-bg);
}

table.dataTable tbody tr.active, table.dataTable tbody tr.odd.active{
  --bs-table-accent-bg: var(--bs-table-active-bg);
  color: var(--bs-table-active-color);
}

select[name="listTable_length"] {
  border-color: #f0f0f0;
}

div.dataTables_wrapper div.dataTables_filter input{
  border-color: #f0f0f0;
}

thead, tbody, tfoot, tr, td, th{
  border-color: #dedeff;
}

div.dataTables_wrapper {
  width: 98%;
  margin: 0 auto;
}

.page-frame-holder{
  flex: 1 1 auto;
  display: flex;
  flex-flow: row;
}

.page-frame-holder iframe{
  flex: 1 1 auto;
}

.page-main{
  padding-bottom: 0px !important;
  height: 100vh;
}

.page-holder{
  padding: 0px 5px;
}

.page-title{
  color: rgba(0, 0, 0, 0.7);
  font-weight: 400;
}

.page-holder .row{
  flex-flow: row;
}

.menu-holder{
  background-color: #fafaff;
  height: 90vh;
}

.menu-small{
  padding: 2px;
  flex: 0 1 50px;
  padding-top: 10px;
}

.menu li {
  margin-bottom: 1px;
  padding: 6px 3px;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
}

.menu li.active {
  background-color: #FFDC97;
}

.menu li:hover {
  background-color: #FFDC97;
}

.menu img {
  min-width: 28px;
  min-height: 28px;
}

.list-main{
  display: flex;
  flex-flow: column;
  border: 1px solid rgba(88, 78, 173, 0.1);
  /*box-shadow: rgb(88 78 173 / 20%) 0px 8px 24px;
  border-bottom: 0px;*/
  height: calc(100vh - 50px);
}

.list-main.full{
  height: calc(100vh - 135px);
}

.list-head{
  flex: 0 1 40px;
}

.list-holder, .dashboard-holder{
  flex: 1 1 auto;
  padding: 0px;
}

.toolbar{
  display: inline-block;
  padding: 10px;
}

.toolbar button{
  display: inline;
  min-width: 100px;
}

.toolbar .form-select {
  display: inline;
  width: 250px;
  height: 42px;
}

.detail-holder{
  height: calc(100vh - 40px);
  background-color: #fafaff;
  display: flex;
  flex-flow: column;
  position: relative;
  overflow: hidden;
}

.detail-holder.full{
  height: calc(100vh - 135px);
}

.details-panel {
  flex: 1 1 auto;
  display: flex;
  flex-flow: column;
}

.detail-holder .form-holder{
  flex: 1 1 auto;
  padding: 20px;
  height: 80vh;
  overflow: auto;
}

.detail-holder.full .form-holder {
  height: 50vh;
}

.detail-holder .form-action{
  flex: 0 1 50px;
  padding: 0px 10px;
}

.detail-holder .bignumber {
  font-size: 6em;
  min-height: 150px;
  padding: 10px;
  text-align: center;
  background-color: #dfddf0;
  cursor: pointer;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-holder .form-check{
  display: inline-block;
  cursor: pointer;
}

.detail-holder .form-check>*{
  cursor: pointer;
}

#listUsersTable_wrapper .dataTables_filter {
  display: none;
}

#listAppRolesTable_wrapper .dataTables_filter {
  display: none;
}

#listRealmsTable_wrapper .dataTables_filter {
  display: none;
}
/* APP LIST - USER HOME */

.app-list {
  margin: 12px;
  padding: 0px 12px;
  overflow-y: auto;
  height: 100vh;
}

.no-apps {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.app-list .card {
  align-items: center;
  padding: 3px;
  cursor: pointer;
}

.app-list .card-img-top {
  width: 80%;
  padding: 20px;
}

.app-list .card-body {
  padding: 5px;
}

.input-group img {
  width: 36px;
}

.input-group .input-group-text {
    padding: 0 10px;
    cursor: pointer;
}

.notablefilter .dataTables_filter{
  display: none;
}

.progressBar {
  position: relative;
  width: 100%;
  height: 20px;
  background-color: #ddd;
}

.barStatus {
  position: absolute;
  width: 8%;
  height: 100%;
  background-color: #acabed;
  border-radius: 7px;
}

.progressBar {
  position: relative;
  width: 100%;
  height: 14px;
  background-color: #eff2f7;
  border-radius: 7px;
  vertical-align: middle;
  margin-top: 5px;
}

.import-holder{
  display: flex;
  flex-flow: column;
  overflow: hidden;
}

.importsheetcontainer{
  flex: 1 0 auto;
  background-color: #f5f6f7;
  border-bottom: 1px solid #e0e2e4;
  overflow: auto;
  height: calc(100vh - 100px);
}

.errorcell{
  border-bottom-color: #ff5c75 !important;
}

.green-bg{
	background-color: #b5ead7
}

.amber-bg{
	background-color: #fedd9e
}

.red-bg{
	background-color: #ff9aa2
}
