/***************************************/
/************* VARIABLES **************/
/***************************************/
:root {
  --color-sidebar: #9A0007;
}

.pagination {
  --bs-pagination-color: #9A0007;
  --bs-pagination-active-bg: #9A0007;
  --bs-pagination-active-border-color: #9A0007;
}

/***************************************/

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: auto;
}

.content {
  min-height: 100vh;
  display: flex;
}

.left-column {
  height: 100vh;
  overflow: hidden;
}

.right-column {
  height: calc(100vh - 60px - 50px);
  overflow-y: auto;
  padding: 20px;
  padding-top: 70px;
  padding-bottom: 20px;
}

.bottom-bar {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 50%;
  background-color: #f8f9fa;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bottom-bar img {
  max-height: 2.2em;
}

.responsive-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-column p {
  text-align: justify;
}

.divider:after,
.divider:before {
  content: "";
  flex: 1;
  height: 1px;
  background: #eee;
}

/***************************************/
/* Dashboard cards                     */
/***************************************/

.radius-10 {
    border-radius: 10px !important;
}

.border-info {
    border-left: 5px solid  #0dcaf0 !important;
}
.border-danger {
    border-left: 5px solid  #fd3550 !important;
}
.border-success {
    border-left: 5px solid  #15ca20 !important;
}
.border-warning {
    border-left: 5px solid  #ffc107 !important;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0px solid rgba(0, 0, 0, 0);
    border-radius: .25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 6px 0 rgb(218 218 253 / 65%), 0 2px 6px 0 rgb(206 206 238 / 54%);
}

.widgets-icons-2 {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ededed;
    font-size: 35px;
    border-radius: 10px;
}

.rounded-circle {
    border-radius: 50% !important;
}

.text-white {
    color: #fff !important;
}

.ms-auto {
    margin-left: auto !important;
}

/* DASHBOARD */

.bg-gradient-scooter {
    background: #17ead9;
    background: -webkit-linear-gradient(45deg, #17ead9, #6078ea) !important;
    background: linear-gradient(45deg, #17ead9, #6078ea) !important;
}

.bg-gradient-bloody {
    background: #f54ea2;
    background: -webkit-linear-gradient(45deg, #f54ea2, #ff7676) !important;
    background: linear-gradient(45deg, #f54ea2, #ff7676) !important;
}

.bg-gradient-ohhappiness {
    background: #00b09b;
    background: -webkit-linear-gradient(45deg, #00b09b, #96c93d) !important;
    background: linear-gradient(45deg, #00b09b, #96c93d) !important;
}

.bg-gradient-blooker {
    background: #ffdf40;
    background: -webkit-linear-gradient(45deg, #ffdf40, #ff8359) !important;
    background: linear-gradient(45deg, #ffdf40, #ff8359) !important;
}

.bg-gradient-royal {
    background: #8e44ad;
    background: -webkit-linear-gradient(45deg, #8e44ad, #c471ed) !important;
    background: linear-gradient(45deg, #8e44ad, #c471ed) !important;
}

.border-royal {
    border-left: 5px solid #8e44ad !important;
}

.text-royal {
    color: #8e44ad !important;
}

/* OUTINGS */

h4.sticky {
  background-color: white;
  position: sticky;
  top: 0em;
  z-index: 10;
}

.observation {
  width: 100%;
  padding: 0.2em 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.observation:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.05);
}

/* INTEGRATION AWESOMPLETE vs BOOTSTRAP 5 */

.form-floating > .awesomplete {
    display: contents;
    position: static;
    font-size: inherit;
    line-height: inherit;
}

.form-floating > .awesomplete > input {
    display: block;
    font-size: 1rem;
    line-height: 1.25;
    padding: 1rem .75rem;
    height: calc(3.5rem + var(--bs-border-width) * 2);
    min-height: calc(3.5rem + var(--bs-border-width) * 2);
}

.form-floating.active > .awesomplete > input {
  padding-top: 1.625rem;
  padding-bottom: .625rem;
}

.form-floating.active > label {
  color: rgba(var(--bs-body-color-rgb), .65);
  transform: scale(.85) translateY(-.5rem) translateX(.15rem);
  z-index: 1;
}

.awesomplete > ul {
  z-index: 1000;
  border: 1px solid #ced4da;
  border-top: none;
  border-radius: 0 0 0.375rem 0.375rem;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
  margin: 0;
  padding: 0;
}

.awesomplete > ul > li {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.awesomplete > ul > li:last-child {
  border-bottom: none;
}

.awesomplete > ul > li:hover,
.awesomplete > ul > li[aria-selected="true"] {
  background-color: #e9ecef;
}

.fungi-col {
  width: 50%;
  transition: width 0.3s ease;
}

.upgrade-col {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25%;
  transition: width 0.3s ease, opacity 0.3s ease;
}

.observation.hide-upgrade .fungi-col {
  width: 75%;
}

.observation.hide-upgrade .upgrade-col {
  width: 0%;
  padding-left: 0 !important;
  padding-right: 0 !important;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}