@import url('root.css');
@import url('upload.css');
@import url('schedule.css');

BODY {
  color: var(--color-text);
  font-family: Roboto;
}

.left {
  width: 30ex;
}

.main {
  padding-left: 30ex;
  background: #fafafa;
  min-height: 100vh;
}

.userMenu {
  position: absolute;
  right: 3ex;
  top: 1ex;
}

.layoutNotLoggedIn .background {
  opacity: .5;
  background-size: cover;
  background-position: 100%;
  height: 100vh;
}

.layoutNotLoggedIn .foreground {
  position: absolute;
  top: 0;
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.loginForm {
  min-width: 32ex;
  max-width: 40ex;
}
.loginForm > DIV,
.loginForm > DIV.buttons > DIV {
  margin-top: 2ex;
}

.loginForm > DIV.buttons {
  margin-top: 6ex;
}

.domoEmbedIframe {
  box-sizing: border-box;
  border: none;
  width: 100%;
  height: calc(100vh - 104px);
}

H1 {
  font-size: 34px;
  font-weight: normal;
  box-sizing: border-box;
  height: 100px;
  margin: 0;
  padding: 2ex;
}

H1.notFound {
  font-size: 40vh;
  color: #284D82;
  text-shadow: 0px 0px 30px #fff;
}

H1.notFound A {
  color: #284D82;
}

TD H4 {
  font-size: 14pt;
}

TD H5 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 7pt;
  font-weight: normal;
  color: var(--color-text-light);
  margin: 0 0 2ex 0;
}

.gray {
  color: #9E9E9E;
}

.popover {
  position: relative;
}

.popover .hint {
  position: absolute;
  right: 0;
  display: none;
  padding: 2ex 3ex;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.popover:hover .hint {
  display: block;
}

.popover .hint th,
.popover .hint td {
  border: 1px solid var(--color-text-light);
  padding: 0.4ex 1ex;
  min-width: 12ex;
}

@media screen and (max-width: 600px) {
  .left {
    width: 8ex;
  }

  .left .logo {
    display: none;
  }

  .left .MuiListItemText-root {
    display: none;
  }

  .left .MuiListItemIcon-root {
    min-width: initial;
  }

  .main {
    padding-left: 8ex;
  }
}