html, body {
  max-width: 2600px;
  width: 100%;
  padding: 0;
  margin: 0;
  background-color: #eee;
}

/**NAVIGATION --> .nav **/
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 64px;
  background-color: #5c6bc0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  z-index: 99994;
}
.nav .open-app-dir {
  border: none;
  outline: none;
  background: none;
  padding: 6px;
  border-radius: 5px;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  cursor: pointer;
  transition: background .125s ease-in-out;
}
.nav .open-app-dir:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
.nav .app-dir {
  background-color: #eee;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  position: absolute;
  left: 18px;
  top: 54px;
  padding: 12px;
  width: 260px;
  transform: scale(.75);
  transform-origin: top left;
  transition: transform .125s ease-in-out;
  display: none;
}
.nav .app-dir.active {
  transform: scale(1);
}
.nav .app-dir::before {
  background-color: #eee;
  content: '';
  position: absolute;
  top: -5px;
  left: 12px;
  transform: rotate(45deg);
  width: 12px;
  height: 12px;
}
.nav .app-dir h2 {
  color: rgba(0, 0, 0, 0.82);
  font-weight: 500;
  font-size: 16px;
  text-align: left;
  margin: 0 6px 12px 6px;
  width: calc(100% - 12px - 36px);
}
.nav .app-dir .close-app-dir {
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  color: rgba(0, 0, 0, .54);
  margin: 0;
  padding: 0;
  display: block;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 50%;
  transition: background .125s ease-in-out;
}
.nav .app-dir .close-app-dir:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
.nav .app-dir .close-app-dir i {
  font-size: 18px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.nav .app-dir ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav .app-dir ul li {
  position: relative;
  margin: 2px 0;
}
.nav .app-dir ul li a {
  position: relative;
  padding: 13px 12px;
  width: calc(100% - 24px);
  display: block;
  cursor: pointer;
  text-decoration: none;
  transition: background .125s ease-in-out;
  border-radius: 5px;
  color: rgba(0, 0, 0, .54);
}
.nav .app-dir ul li a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
.nav .app-dir ul li i.icon {
  padding: 4px;
  border-radius: 5px;
  background-color: #5c6bc0;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 6px;
  transform: translateY(-50%);
}
.nav .app-dir ul li.secondary i.icon {
  background-color: #424242;
}
.nav .app-dir ul li h3 {
  font-weight: 400;
  font-size: 15px;
  text-align: left;
  margin: 0 0 0 38px;
  width: calc(100% - 38px - 40px);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.nav .app-dir ul li i.new-tab {
  color: rgba(0, 0, 0, 0.25);
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
}
.nav .app-dir ul li.separator {
  margin: 18px 0 0 0;
}
.nav .app-dir ul li.separator span {
  color: rgba(0, 0, 0, .54);
  font-weight: 500;
  font-size: 14px;
  text-align: left;
  display: block;
  width: calc(100% - 12px);
  margin: 0 6px;
}
.nav img {
  width: 180px;
  height: auto;
  position: absolute;
  top: 50%;
  left: calc(18px + 48px);
  transform: translateY(-50%);
}
.nav .edition {
  position: absolute;
  top: 8px;
  left: 150px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 4px 6px;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  display: none;
}
.nav .nav-error {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateY(100%);
  text-align: center;
  width: 100%;
  padding: 4px 0;
  background-color: #c53929;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}
.nav .nav-error a {
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}
.nav-light-dark-mode {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%) rotate(0deg);
  color: #fff;
  user-select: none;
  cursor: pointer;
  transition: transform .125s ease-in-out;
}
.nav-light-dark-mode.dark {
  transform: translateY(-50%) rotate(360deg);
}
.nav-account-circle {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  color: #fff;
  cursor: pointer;
  user-select: none;
}
.nav-account {
  width: 340px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  background-color: #fff;
  padding: 0;
  position: absolute;
  top: 55px;
  right: 24px;
  transition: transform .125s ease-in-out;
  transform-origin: top right;
  transform: scale(0);
  display: none;
}
.nav-account-alert {
  font-size: 12px;
  color: #fff;
  padding: 4px 20px;
  text-align: center;
  background-color: #f9c407;
  font-weight: 400;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.nav-account-alert a {
  cursor: pointer;
  text-decoration: underline;
  color: #fff;
}
.nav-account h2 {
  color: rgba(0, 0, 0, 0.82);
  font-weight: 400;
  font-size: 20px;
  text-align: left;
  margin: 16px 20px 0 20px;
}
.nav-account h3 {
  color: rgba(0, 0, 0, 0.54);
  font-weight: 400;
  font-size: 16px;
  text-align: left;
  margin: 0 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}
.nav-account .buttons {
  margin: 15px 20px 0 20px;
  padding-bottom: 16px;
  display: flex;
  justify-content: space-between;
  width: calc(100% - 40px);
}
.nav-account-switch {
  margin: 0;
  background-color: #5c6bc0;
  padding: 4px 20px;
  color: #fff;
  text-align: center;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
.nav-account-switch a {
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
}
.nav .tasks-list {
  position: fixed;
  width: 300px;
  padding: 12px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  right: 64px;
  top: 70px;
  max-height: calc(100vh - 70px - 24px - 50px);
  overflow-x: hidden;
  overflow-y: auto;
  display: none;
  transform: scale(0);
  transform-origin: top right;
  transition: transform .125s ease-in-out;
}
.nav .tasks-list.active {
  transform: scale(1);
}
.nav .tasks-list h3 {
  color: rgba(0, 0, 0, 0.54);
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  margin: 0;
  padding: 0 0 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.nav .tasks-list ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
  width: 100%;
  height: auto;
}
.nav .tasks-list ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  position: relative;
  cursor: pointer;
  transition: background .125s ease-in-out;
}
.nav .tasks-list ul li:hover {
  background-color: rgba(0, 0, 0, .05);
}
.nav .tasks-list ul li:last-child {
  border-bottom: none;
}
.nav .tasks-list ul li i, .nav .tasks-list ul li .m-loader {
  position: absolute;
  top: 4px;
  left: 0;
  transform: none;
  color: rgba(0, 0, 0, 0.54);
  display: block;
}
.nav .tasks-list ul li .m-loader svg {
  margin-top: 0;
  width: 24px;
  height: 24px;
}
.nav .tasks-list ul li.done i {
  color: #00bd8b;
}
.nav .tasks-list ul li.failed i {
  color: #cf6679;
}
.nav .tasks-list ul li p {
  font-weight: 400;
  font-size: 14px;
  text-align: left;
  margin: 0 52px 0 36px;
  color: rgba(0, 0, 0, 0.82);
  display: block;
  width: calc(100% - 24px - 12px - 12px - 40px);
}
.nav .tasks-list ul li span {
  color: rgba(0, 0, 0, 0.54);
  font-weight: 400;
  font-size: 12px;
  text-align: right;
  position: absolute;
  top: 8px;
  right: 0;
}
.nav .tasks-list ul .empty {
  width: 100%;
  padding: 30px 0;
}
.nav .tasks-list ul .empty i {
  color: rgba(0, 0, 0, .54);
  font-size: 48px;
  display: block;
  margin: 0 calc(50% - 24px);
}
.nav .tasks-list ul .empty h4 {
  color: rgba(0, 0, 0, .54);
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  margin: 12px 10% 0 10%;
  width: 80%;
}

.side-nav {
  z-index: 8888;
  position: fixed;
  top: 64px;
  left: 0;
  bottom: 0;
  width: 260px;
  height: calc(100vh - 64px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  background-color: #fff;
  overflow: hidden;
}
.side-nav .search-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.side-nav .search-bar input {
  width: calc(100% - 82px);
  background-color: #fff;
  color: rgba(0, 0, 0, 0.54);
  font-weight: 400;
  font-size: 16px;
  text-align: left;
  outline: none;
  border: none;
  padding: 12px 58px 12px 24px;
}
.side-nav .search-bar button {
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  background: none;
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  color: rgba(0, 0, 0, 0.54);
}
.side-nav ul {
  list-style: none;
  width: 100%;
  height: calc(100% - 63px);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
}
.side-nav.with-search-bar ul {
  margin: 44px 0 0 0;
  height: calc(100% - 63px - 44px);
}
.side-nav ul::-webkit-scrollbar {
  width: 4px;
}
.side-nav ul::-webkit-scrollbar-track {
  background: #fff;
}
.side-nav ul::-webkit-scrollbar-thumb {
  background: rgba(92, 107, 193, .5);
}

.side-nav li {
  width: 100%;
  margin: 0;
}
.side-nav li:first-child {
  margin-top: 10px;
}
.side-nav li:last-child {
  margin-top: 20px;
}
.side-nav ul.search-ul li {
  margin: 0 !important;
}
.side-nav li.spacer {
  margin: 20px 0 0 0;
  width: 100%;
  font-size: 14px;
  text-align: left;
  padding: 0 24px;
  color: rgba(0, 0, 0, 0.54);
  font-weight: 400;
}
.side-nav li a {
  display: block;
  font-size: 16px;
  text-decoration: none;
  color: #666;
  padding: 11px 24px 11px 60px;
  position: relative;
  background-color: transparent;
  transition: background .125s ease-in-out, color .125s ease-in-out;
}
.side-nav li a i {
  position: absolute;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
}
.side-nav li a span.badge {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 8px;
  border-radius: 30px;
  font-size: 14px;
  text-align: right;
  font-weight: 500;
  color: #5c6bc0;
  background-color: rgba(92, 107, 193, .25);
  opacity: 0;
  transition: opacity .125s ease-in-out;
}
.side-nav li a span.badge.version {
  background-color: rgba(0, 0, 0, .2);
  color:rgba(255, 255, 255, 0.5);
}
.side-nav li.show-badge a span.badge {
  opacity: 1;
}
.side-nav li a span.badge.version.new {
  color: #5c6bc0;
  background: none;
  padding: 4px 40px 4px 8px;
}
.side-nav li a span.badge.version.new i {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}
.side-nav li a.active {
  color: #5c6bc0;
  background-color: rgba(0, 0, 0, 0.12);
}
.side-nav li a:hover {
  background-color: rgba(0, 0, 0, 0.12);
}
.side-nav li ul {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0 !important;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .125s ease-in-out, opacity .125s ease-in-out;
}
.side-nav li a.active + ul {
  display: block;
  transform: scaleY(1);
  opacity: 1;
}
.side-nav li ul li {
  margin: 0 !important;
}
.side-nav li ul li a {
  color: rgba(0, 0, 0, .54) !important;
}
.side-nav .tos {
  color: rgba(0, 0, 0, 0.54);
  font-weight: 400;
  font-size: 14px;
  text-align: left;
  margin: 0;
  cursor: pointer;
  text-decoration: none;
  position: absolute;
  left: 20px;
  bottom: 83px;
}
.side-nav .abo {
  width: calc(100% - 40px);
  padding: 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.side-nav .abo h3 {
  color: rgba(0, 0, 0, 0.82);
  font-size: 16px;
  text-align: left;
  margin: 0;
  font-weight: 400;
}
.side-nav .abo h4 {
  color: rgba(0, 0, 0, 0.54);
  font-size: 14px;
  text-align: left;
  margin: 0;
  font-weight: 500;
}
.side-nav .abo .m-button-flat {
  padding: 0;
  margin: 0;
}
.side-nav .current-project {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: calc(100% - 40px);
  padding: 20px 20px 15px 20px;
  background-color: #5c6bc0;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0);
  transition: bottom .125s ease-in-out, box-shadow .125s ease-in-out;
  z-index: 778;
}
.side-nav .current-project.open {
  bottom: calc(100% - 63px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}
.side-nav .current-project h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  width: calc(100% - 44px);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.side-nav .current-project button {
  outline: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: #fff;
  cursor: pointer;
}
.side-nav .current-project button i {
  transform: rotate(0deg);
  transition: transform .125s ease-in-out;
}
.side-nav .current-project.open button i {
  transform: rotate(-180deg);
}
.side-nav .projects {
  position: absolute;
  bottom: calc(-100% + 63px);
  left: 0;
  right: 0;
  width: calc(100% - 40px);
  height: calc(100% - 63px - 40px);
  padding: 20px;
  background-color: #fff;
  z-index: 777;
  transition: bottom .125s ease-in-out;
}
.side-nav .projects.open {
  bottom: 0;
}
.side-nav .projects .list {
  height: calc(100% - 40px);
  overflow-x: hidden;
  overflow-y: auto;
}
.side-nav .projects h4 {
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  color: rgba(0, 0, 0, 0.82);
  margin: 30px 0 5px 0;
}
.side-nav .projects h4:first-child {
  margin-top: 0;
}
.side-nav .projects .list a {
  color: rgba(0, 0, 0, 0.54);
  font-weight: 400;
  font-size: 16px;
  text-align: left;
  margin: 0 0 10px 0;
  padding: 0;
  cursor: pointer;
  display: block;
  text-decoration: none;
  transition: color .125s ease-in-out;
}
.side-nav .projects .list a:hover {
  color: #5c6bc0;
}
.side-nav .projects .list a.choosen {
  color: #5c6bc0;
  font-weight: 500;
}
.side-nav .projects .m2-button {
  width: 190px;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.draggable-player-container {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  width: 100%;
  height: calc(100vh - 64px);
  z-index: 0;
}
.draggable-player {
  width: 500px;
  height: auto;
  position: fixed;
  top: 84px;
  left: 280px;
  background-color: #5c6bc0;
  padding: 4px;
  border-radius: 8px;
  z-index: 8899;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.25);
  cursor: move;
  display: none;
}
.draggable-player .dragger {
  width: 100%;
  margin: 0 0 4px 0;
}
.draggable-player .dragger i {
  color: #fff;
}
.draggable-player .dragger i.close {
  cursor: pointer;
}
.draggable-player video {
  width: 100%;
  height: auto;
  cursor: default;
}
