#loading {
	z-index: 1000;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #B7AAE7;
	font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-direction: column;
    animation-fill-mode: forwards;
}

.loginSuccess {
	animation: loginfadeout 0.3s linear;
}

#loading div {
	opacity: 50%;
}

.sh-nav {
    flex-grow: 0;
    flex-direction: column;
    border-right: 1px solid #555555 !important;
    position: sticky;
    top: 0px;
}

.sh-nav ul {
    flex-direction: column;
}

.sh-content {
    display: flex;
    flex-grow: 1;
}

#sh-slider {
	flex-shrink: 0;
    width: 20rem;
    overflow-y: auto;
    background-color: #F7FAFd;
}

.groupList {
    flex-grow: 1;
}

.groupListToggle {
    display: none !important;
}

.sh-slider-content {
    flex-grow: 1;
}

.sh-slider-content > div {
    flex-grow: 1;
    display: flex;
}

ul.nav {
    margin-bottom: auto;
}

ul.nav > li > a {
    display: flex;
    align-items: center;
    flex-grow: 1;
}
ul.nav > li > a > img {
    flex-grow: 1;
}

ul.nav > li {
    display: flex;
    flex-grow: 1;
}

@media screen and (max-width: 600px) {
    ul.nav {
        margin-right: auto !important;
        margin-bottom: 0 !important;
    }
    
    #sh-slider {
        flex-direction: column;
        width: 80vw;
        left: -80vw;
        height: 100vh;
        position: absolute;
        transition: 0.3s;
        z-index: 10;
        border-right: 1px solid #555555;
        transition-timing-function: ease-out;
    }

    #sh-slider.sliding {
        transition: 0.1s;
        left: 0;
        transition-timing-function: ease-out;
    }

    .groupListToggle {
        display: block !important;
    }

    .machineGroupTitle {
        position: sticky !important;
        top: 0;
        z-index: 5;
    }

    .machine-details, .customer-details {
        flex-direction: column !important;
        justify-content:flex-start;
    }

    div.user {
        margin-left: 1em !important;
    }

    .sh-nav {
        flex-grow: 0;
        flex-direction: row;
        border-right: 0px;
    }

    .sh-nav ul {
        flex-direction: row;
    }
}

.machineGroupTitle {
    background-color: #F7FAFd !important;    
}

.machineGroupTitle > h3 {
    margin-bottom: 0 !important;
    flex-grow: 1;
}

.machineGroupTitle > span {
    margin:auto;
}

.machine-status {
    flex-grow: 0;
}

div.os, div.user {
    color: #888;
    font-size: 0.85rem;
}

div.os {
    margin-left: 1em;
}

div.user {
    margin-left: 5em;
}

div.os::before, div.user::before {
    padding-right: 0.4em;
}

div.os::before {
    content: url("../images/os.svg") !important;
}

div.user::before {
    content: url("../images/user.svg") !important;
}

.online .machine-status::before {
    content: url("../images/circle-green.svg") !important;
}

.inSession .machine-status::before {
    content: url("../images/circle-orange.svg") !important;
}

.offline .machine-status::before {
    content: url("../images/circle-red.svg") !important;
}

.machine-name {
    flex-grow: 1;
}

.offline .machine-name {
    opacity: 0.6;
}

.sh-list-group {
    flex-grow: 1;
    overflow-y: auto;
    border-radius: 0px !important;
}

main {
    display: flex;
    height: 100vh;
    height: -webkit-fill-available;
    max-height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    background-color: #bdbdbf;
}

.nav-link {
    border-bottom: 1px solid #555555 !important;
}

/* main > div > div {
    border-top: 1px solid #555555 !important;
} */

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #5c42c3 !important;
}

/* sidebars */

.dropdown-toggle { outline: 0; }

.btn-toggle {
  padding: .25rem .5rem;
  font-weight: 600;
  color: rgba(0, 0, 0, .65);
  background-color: transparent;
}
.btn-toggle:hover,
.btn-toggle:focus {
  color: rgba(0, 0, 0, .85);
  background-color: #d2f4ea;
}

.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform .35s ease;
  transform-origin: .5em 50%;
}

.btn-toggle[aria-expanded="true"] {
  color: rgba(0, 0, 0, .85);
}
.btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.btn-toggle-nav a {
  padding: .1875rem .5rem;
  margin-top: .125rem;
  margin-left: 1.25rem;
}
.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  background-color: #d2f4ea;
}

.scrollarea {
  overflow-y: auto;
}

.loader {
  width: 48px;
  height: 48px;
  background: #FFF;
  display: inline-block;
  border-radius: 50%;
  box-sizing: border-box;
  animation: animloader 2s ease-in infinite;
}

@keyframes loginfadeout {
  0% {
    opacity: 1;
	visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes animloader {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}