@font-face {
  font-family: system;
  font-style: normal;
  font-weight: 300;
  src: local("NotoSans");
}

body * {
  font-family: Roboto !important;
}

.app .description {
  padding-top: 4px;
  display: none;
}

.app .icons-container .app-icon {
  font-weight: bold;
  width: 48px;
  filter: drop-shadow(1px 1px 1px black) brightness(0.8);
}

.app .icons-container .icon.info {
  color: #64b5f6;
  font-size: 33px;
}

.app {
  font-size: 12px;
  overflow: hidden;
  line-height: normal;
  text-align: center;
  cursor: pointer;
}

.app-title {
  padding: 6px;
  min-height: 48px;
  max-width: 120px;
  font-weight: bold;
}

#Applications, .settings-grid {
  overflow: scroll;
  position: fixed;
  top: 10%;
  bottom: 12%;
  left: 0;
  right: 0;
  padding-bottom: 6px;
}

#Applications {
    padding: 0 5%;
}

.text-color, .app-title,
#options form,
#categories-submenu form,
.workspace input {
color: #e4e4e4 !important;
}

.app-title { 
  text-shadow: 2px 2px 1px black !important;
}


.icons-container {
    padding-top: 11px;
    overflow: hidden;
}

.icons-container:hover,
.icons-container:active {
    background: rgba(255, 255, 255, 0.2);
}

.icons-container:hover *,
.icons-container:active * {
  color: white !important;
}

.grid-item:hover,
.grid-item:active {
  transform: scale(1.1);
}

.grid-item {
  scroll-behavior: smooth;
}

.workspace label, #options h2 {
  color: #ffa726 !important;
}

.workspace {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}

.workspace label {
  margin-right: 10px;
}


[type="radio"]:not(:checked) + span:before, [type="radio"]:not(:checked) + span:after,
[type="checkbox"].filled-in:not(:checked) + span:not(.lever):after {
  border: 2px solid  #e4e4e4;
}

[type="radio"]:not(:checked) + span, [type="radio"]:checked + span {
  padding-left: 46px;
}

.applications-wrapper {
  z-index: 1;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  transition: opacity 0.5s ease-in-out;
  transform: translateY(-200%);
  will-change: opacity;
  opacity: 0;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
}

.grid, .settings-grid {
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  align-content: flex-start;
}

.grid-item {
  margin-left: 1.8rem;
  margin-right: 1.8rem;
  margin-bottom: 40px;
  min-width: 120px;
  transition: transform 0.1s ease-in-out;
}

.applications-wrapper.show {
  transform: translateY(0%);
}

.applications-wrapper.opacity {
  opacity: 1;
}

*:focus {
  outline-color: black;
}

.category-icon {
  width: 24px;
}

*:focus {
  outline: none;
}

#settingsPanel h2 {
  margin-bottom: 0;
  font-size: 1rem;
  margin-top: 0;
  line-height: 48px;
  color: white;
  padding-left: 18px;
}

#settingsPanel h2 {
  font-size: 14px !important;
}

#settingsPanel h4 {
  margin-bottom: 24px;
}

#settingsPanel h4 {
  padding: 0 32px;
  margin-bottom: 5px;
  margin-bottom: 0;
  line-height: 48px;
  margin-top: 0;
}

#settingsPanel ul img,
#categories-submenu img {
  width: 26px;
  vertical-align: middle;
  margin-right: 22px;
  margin-top: -4px;
  margin-left: -3px;
}

#categories-submenu img {
    margin-top: -6px;
    margin-right: 5px;
    margin-left: 5px;
}

.tabs .tab a:focus, .tabs .tab a:focus.active {
    background-color: transparent;
    }

#options {
border-right: 1px solid transparent;
}

.tabs .indicator {
  background-color: #009688;
}

.tabs-content {
  height: inherit !important;
}

.carousel-item {
  overflow-y: scroll;
}

input.valid[type=text]:not(.browser-default) {
  border-bottom: 1px solid #9e9e9e;
  box-shadow: none;
}

input.valid[type=text]:not(.browser-default):focus,
input.valid[type=text]:not(.browser-default):active {
  border-bottom: 1px solid #26a69a;
  box-shadow: 0 1px 0 0 #26a69a;
}

.carousel-item, .background {
  background-color: transparent !important;
}

.applications-wrapper {
    background-color: rgba(0, 0, 0, 0.50);
}

.tabs, .tabs .tab {
  background-color: transparent;
  height: auto !important;
}

#tabs-swipe {
  position: absolute;
  left: -182px;
  top: -2px;
  width: auto;
}

#floating-items {
  transition: opacity 0.5s ease-in-out;
}

#clock {
  color: white;
  font-weight: bold;
  left: 50%;
  bottom: 11%;
  transform: translate(-50%, -50%);
  position: fixed;
  text-shadow: 1px 1px rgb(0 0 0 / 50%);
}

#time {
  font-size: 500%;
}

#date {
  font-size: 300%;
  text-align: right;
  margin-top: -50px;
}

.tabs h2 {
 background:transparent !important;
}

#settingsPanel ul,
#categories-submenu,
#backgrounds-submenu {
  margin-top: 0;
  margin-bottom: 0;
}

#settingsPanel ul li label,
#categories-submenu li label,
#backgrounds-submenu li label {
  color: inherit;
  cursor: pointer;
}

#settingsPanel ul li p,
#categories-submenu li p,
#backgrounds-submenu li p {
  margin-bottom: 0;
}

#settingsPanel * {
  font-size: 12px !important;
  font-weight: bold !important;
}

#Settings {
  width: calc(100% - 240px);
  height: 100%;
}

.arrow-container {
  position: fixed;
  z-index: 99;
  display: flex;
  top: 0;
  right: 0;
  height: 100%;
  flex-direction: column;
  justify-content: center;
}

.arrowDown {
  transform: rotate(180deg);
}

.arrow-container img {
  width: 80px;
}

.arrow-container img:hover {
  cursor: pointer;   
}

.arrow-container img:active {
  background: rgba(0, 0, 0, 0.4);
}

.devtools [type="checkbox"]:checked+span:after {
  border: 2px solid #fb8c00 !important;
  background-color: #fb8c00 !important;
}

#settingsPanel [type="checkbox"].filled-in+span:not(.lever),
#categories-submenu [type="checkbox"].filled-in+span:not(.lever) {
  height: 20px;
  line-height: 20px;
  padding-left: 46px;
}

#settingsPanel #options {
  width: 240px;
  height: 520px;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  top: 50%;
  position: relative;
  transform: translateY(-50%);
}

#settingsPanel .background {
  background: #eeeeee;
  position: relative;
  height: 100%;
}

input[type="file"] {
  display: none;
}

#settingsPanel form,
#settingsPanel .switch,
#categories-submenu,
#backgrounds-submenu,
#settingsPanel ul li > a {
  padding: 0 15px;
}

[type="radio"]+span:before,
[type="radio"]+span:after {
  margin-left: 2px;
}

#settingsPanel form p,
#categories-submenu p,
#backgrounds-submenu p {
  margin-top: 0;
  line-height: 48px;
}

#backgrounds-submenu p {
  line-height: 34px !important;
}

#video-background {
  height: 100%;
  width: 177.77777778vh;
  /* 100 * 16 / 9 */
  min-width: 100%;
  min-height: 56.25vw;
  /* 100 * 9 / 16 */
  position: fixed;
  z-index: -2;
}

#options,
#Settings {
  filter: grayscale(1);
  transition: filter 0.4s ease-in-out;
}

.workspace {
  padding: 0 15px;
}

#options p {
  margin-top: 0;
  padding-left: 16px;
}

#options:hover,
#Settings:hover,
#Applications:hover,
#options:active,
#Settings:active {
  filter: grayscale(0);
}

#about .logo {
  width: 80px;
  height: 80px;
  text-align: center;
}

#about {
    background: transparent;
    box-shadow: none;
    text-align: center;
    max-width: 600px;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

#about p {
  font-size: 18px;
}

#settingsPanel ul li > a:hover {
  background-color: transparent;
}

#about * {
  background: transparent !important;
  font-weight: bold;
  color: white !important;
  text-align: center !important;
}

.modal-content {
  padding-bottom: 0px !important;
}

.not-tab {
  display: inline-block;
}

.not-tab a {
  text-overflow: ellipsis;
  overflow: hidden;
}

.not-tab a, .tabs a {
  padding: 6px 8px !important;
  display: flex !important;
}

.not-tab svg, .tabs svg, #info svg {
  width: 24px;
  height: 24px;
  fill: silver;
  filter: drop-shadow(1px 1px 1px black);
}

#about p a:hover, #about p a:active, #about p a:focus {
  text-decoration: underline;
}

#categories-submenu,
#backgrounds-submenu {
  position: absolute;
  margin-top: 100px;
  z-index: 999;
  width: 260px;
  transform: translateX(-905%);
  transition: all 0.4s ease-in-out;
  padding: 0;
}

#backgrounds-submenu {
  z-index: 998;
}

#categories-submenu.show,
#backgrounds-submenu.show {
  transform: translateX(0);
}

#categories-submenu {
  align-self: center;
  margin-top: 0;
  position: initial;
}

#categories-submenu [type="checkbox"].filled-in+span:not(.lever) {
  padding-left: 30px;
  font-size: 0.8rem;
  color: #ffa726;
}

#categories-submenu label {
    font-weight: bold;
    margin-left: 20%;
}

#apps-container, #settingsPanel {
  display: flex;
  width: 100vw;
  height: 100vh;
  transition: transform 0.6s ease-in-out;
  position: fixed;
}

#settingsPanel {
  transform: translateX(-105%);
}

#settingsPanel.show {
  transform: translateX(0);
}

#apps-container.shift {
  transform: translateX(+105%);
}

.search {
  bottom: 5%;
  position: fixed;
  left:50%;
  padding: 0;
  background-color : transparent;
  transform: translate(-50%);
  padding-top: 0;
}

#Settings .search {
  transform: translate(calc(-50% - 120px));
}

.search input[type="text"] {
    margin-bottom: 0;
    height: 16px;
    background-color: rgb(0 0 0 / 30%);
    padding: 2px 12px;
    border: 2px solid #E53935;
    box-shadow: none !important;
    color: white;
    font-weight: bold;
    padding: 8px 20px;
    width: 200px;
    border-radius: 100px;
}

.search input[type=text]:not(.browser-default):focus:not([readonly]) {
  border: 2px solid #00897B;
}

.search img {
  position: absolute;
  width: 28px;
  right: 6px;
  top: 3px;
  filter: drop-shadow(1px 1px 1px black) brightness(0.8);
}

.search .categorySettingsIcon,
.search .appSettingsIcon {
  width: 38px;
  top: -1px;
}

.search .appMenuIcon {
  width: 32px;
  top: 1px;
}

.search .appSettingsIcon {
  left: -100px;
}

.search .searchSettingsIcon,
.search .searchApplicationsIcon {
  cursor: pointer;
}

img.searchSettingsIcon:active {
    filter: drop-shadow(1px 1px 2px white);
}

.search .categorySettingsIcon {
  left: -50px;
}

.search .appMenuIcon {
  right: -50px;
}

#info {
  right: -90px;
  position: absolute;
  font-size: 20px !important;
  bottom: 0;
}

.search.show {
  z-index: 2;
  opacity: 1;
}

/* tour */
.tour-step1 {
  position: absolute;
  bottom: 0;
  left: 50%;
  height: 1px;
  width: 1px;
  transform: translateX(-50%);
}
.tour-step2 {
  position: absolute;
  top: 0;
  right: 15px;
  height: 34px;
  width: 100px;
}

.introjs-helperLayer {
  background-color: transparent !important;
  border: 1px solid rgb(255, 255, 255);
  box-shadow: none !important;
}

.introjs-skipbutton, .introjs-prevbutton {
  display: none !important;
}

.introjs-donebutton {
  display: inline-block !important;
}

.introjs-tooltip:before {
    display: block;
    content: "";
    background-image: url(../../../images/companion.png);
    background-size: contain;
    position: absolute;
    top: 10%;
    left: 5%;
    width: 80%;
    height: 80%;
    background-repeat: no-repeat;
}

.introjs-tooltip {
  max-width: 400px !important;
  min-width: 400px !important;
}

.introjs-tooltiptext {
  margin-left: 34%;
  width: auto;
}