/* WORKSPACE MENU */
.container-current-workspace {
  grid-area: current-workspace;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-workspace {
  position: fixed;
  top: 12px;
  right: -24px;
  text-align: center;
  z-index: 100;
}

.container-workspace-setting-list > ul {
  width: auto;
  padding: 10px 5px;
  margin: 10px 0 0 0;
  text-align: left;
  line-height: 1;
  border-top: 1px solid #585858;
}

.container-workspace-setting-list > ul > li {
  list-style: none;
  color: #585858;
  padding: 5px;
}

.workspace-more {
  display: none;
  min-width: 170px;
  flex-direction: column;
  position: absolute;
  top: 44px;
  right: 2.2em;
  background-color: #ffffff;
  box-shadow: 2px 2px 5px gray;
  z-index: 100;
}

.workspace-tile {
  position: relative;
  background-color: #ffffff;
  align-self: center;
  width: 40px;
  height: 40px;
  padding: 2px;
  margin: 1em 0;
  border: 2px solid #999999;
  border-radius: 10px;
  cursor: pointer;
}

#active-ws-bttn {
  margin: 0;
}

.workspace-tile:hover,
.workspace-tile:hover * {
  border-color: #585858;
  color: #585858;
}

.active-workspace-tile,
.banned-workspace-tile {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: -6px;
  border-radius: 13px;
}

.active-workspace-tile {
  border: 3px solid #2ecc40;
}

.banned-workspace-tile {
  border: 3px solid #b24848;
}

.banned-overlay {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -24px;
  margin-left: -24px;
  opacity: 0.8;
  color: #b24848;
  z-index: 50;
}

.banned-overlay > i {
  display: block;
  font-size: 48px;
}

.container-workspace-logo {
  position: relative;
  width: 100%;
  height: 100%;
}

.container-workspace-name {
  position: absolute;
  bottom: -22px;
  left: -45px;
  width: 130px;
}

.container-workspace-setting {
  position: absolute;
  bottom: -5px;
  right: -5px;
}

.container-workspace-setting i {
  font-size: 14pt;
  color: #999999;
}

.img-pb {
  border-radius: 6px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.add-workspace {
  position: relative;
  width: 100%;
  height: 100%;
  color: #999999;
}

.add-workspace:before {
  display: block;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

@media screen and (min-width: 768px) {
  .container-current-workspace {
    padding-right: 30px;
  }

  .container-workspace {
    top: 23px;
    right: 0px;
  }

  .workspace-more {
    right: 0;
    top: 57px;
  }

  .workspace-tile {
    width: 50px;
    height: 50px;
  }
}

@media screen and (min-width: 1680px) {
  .container-current-workspace {
    padding-right: 0;
  }

  .container-workspace {
    right: 50%;
    margin-right: -861px;
  }
}
