@import "react-admin-base-bootstrap/assets/main.css";

.card-footer,
.card-header {
  padding: 1rem 1rem;
}

.card-header, .card-footer {
  border-color: #fafafa;
}

.sidebar-brand {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.auth-logo {
  height: 80px;
}

.brand-image {
  height: 50px;
}

th.min, td.min {
  width: 1% !important;
  white-space: nowrap !important;
}

table > thead > tr > th {
  border-top: 0 !important;
}

//right sticky area
.settings-icons {
  background: #fff;
  color: #000;
  position: fixed;
  top: 200px;
  right: 0;
  width: 50px;
  padding: .5rem;
  border-top-left-radius: .2rem;
  border-bottom-left-radius: .2rem;
  box-shadow: -5px 0 10px 0 rgba(0, 0, 0, .1);
  transition: all .1s ease-in-out;
  cursor: pointer;

  .settings-icon:first-child {
    color: #2264c3;
    margin-bottom: .5rem;
  }

  .settings-icon {
    text-align: center;
    padding: .5rem;
    border-radius: .2rem;
    background: #f2f4f6;
    color: #000;
    display: block;
  }
}

.settings.open .settings-panel {
  right: 0;
}

.settings-panel {
  background: #fff;
  border-left: 0 solid transparent;
  display: block;
  height: 100%;
  position: fixed;
  width: 260px;
  z-index: 100;
  top: 0;
  bottom: 0;
  right: -260px;
  transition: right .2s ease-in-out;
}

.settings-content {
  height: 100%;
  overflow: auto;
  position: relative;
  background: #fff;
}

.settings-title {
  padding: 1.35rem 1.5rem;
  font-size: .875rem;
  background: #121923;
}

.settings-options {
  padding: 1rem 1.5rem;
}

.back-btn-shown {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background-color: black;
  border: 1px solid white;
  box-shadow: 0 10px 30px rgba(82, 85, 90, 0.2);
  color: white;
  text-align: center;
  cursor: pointer;
  line-height: 25px;
  font-size: 20px;

  span {
    display: none;
  }

  &:hover {
    span {
      position: absolute;
      top: 0;
      right: 35px;
      width: 74px;
      margin-left: -37px;
      display: block;
      background-color: black;
      color: white;
      font-size: 12px;
      border: 1px solid black;
      box-shadow: 0 10px 40px rgba(82, 85, 90, 0.2);

    }
  }
}

.bread {
  color: #FFFFFF;
}

.bread-back {
  padding: .75rem 1rem;
  background-color: #e9ecef;
  border-radius: 0.2rem;
}


.sidebar [data-toggle="collapse"]:after {
  content: " ";
  border: solid;
  border-width: 0 .075rem .075rem 0;
  display: inline-block;
  padding: 2px;
  transform: rotate(45deg);
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  transition: all .2s ease-out; }

.sidebar [aria-expanded="true"]:after,
.sidebar [data-toggle="collapse"]:not(.collapsed):after {
  transform: rotate(-135deg);
  top: 1.4rem; }

.sidebar-dropdown .sidebar-link {
  padding: 0.625rem 1.5rem 0.625rem 3.25rem;
  font-weight: 400;
  font-size: 90%;
  border-left: 0;
  color: #adb5bd;
  background: transparent; }

.sidebar-dropdown .sidebar-link:before {
  content: "→";
  display: inline-block;
  position: relative;
  left: -14px;
  transition: all .1s ease;
  transform: translateX(0); }








