/* #region General */
html {height: 100%;}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
  }
  /* #endregion */

  /* #region Layout */
  main {
    flex: 1 0 auto;
    height: calc(100% - 64px);
  }

    .columns {
      display: flex;
      /* height: 100%; */
    }
  
    article, aside {
 
      flex-direction: row;
    }

    article {background: var(--white); width: calc(100% - 375px);}

    aside {background: var(--gray-100); width: 375px;}
/* #endregion */

/* #region Header */
header {
  background: var(--theme-primary);
  max-height: 64px;
  display: flex;
  justify-content: space-between; 
}

  header nav {
    flex: 1;
    text-align: right;
    padding-right: var(--space-m);
  } 

  header nav a,   header nav a:visited {
    position: relative;
    overflow: hidden;
    padding: 0 var(--space-s) var(--space-xs) var(--space-s);
    margin-left: var(--space-m);
    display: inline-block;
  }
  
  header nav a:after{
    content: "";
    display: block;
    width: 100%;
    height: var(--space-xs);
  
    position: absolute;
    left: 0;
    top: 0;
  
    transform: translate3d(-100%, 0, 0);
    transition: transform .2s ease-in;
  }
  
  header nav a:hover:after,
  header nav a:focus:after{
    transform: translate3d(0, 0, 0);
  }


  header nav a:hover:after,
  header nav a:focus:after{
  transform: translate3d(0, 0, 0);
}

header nav a:focus{
  outline: none;
}

header nav a:after{
  background-color: var(--theme-highlight);
}

header nav a:hover{
  color:  var(--theme-highlight);
  text-decoration: none;
}
  
/* #endregion */

/* #region Toolbar */
.toolbar {
  color: var(--white);
  line-height: 40px;
  height: 40px;
  width: 100%;
}

aside .toolbar {background: var(--theme-primary);}

.breadcrumbs a, .breadcrumbs a:visited {
  font-size: var(--text-s);
  color: var(--blue-350);
  display: inline-block;
  padding: 0 var(--space-xs) 0 0;
}

.breadcrumbs a:not(:last-of-type):after {
  content: ">";
  color: var(--gray-200);
  padding-left: var(--space-s);
}

.breadcrumbs a:hover, .breadcrumbs a:focus {
  text-decoration: none;
  color: var(--white);
}

.submenu a, .submenu a:visited {
  font-size: var(--text-s);
  color: var(--white);
  display: inline-block;
  padding: 0 var(--space-s);
}

.submenu .material-icons {font-size: inherit;}
/* #endregion */

/* #region Content */
section {
  padding: var(--space-l) 0;
}
/* #endregion */


/* #region Tables */
.table {
  font-size: var(--font);
  border-collapse: collapse;
  width: 100%;
  margin-bottom: var(--space-m);
}

.table.truncated {
  table-layout: fixed;
}

.table tbody {
  border-collapse: collapse;
  width: 100%;
}

.table th {
  white-space: nowrap;
  position: sticky;
  position: -webkit-sticky;
  top: 64px;
  font-weight: var(--font-weight-light);
  background: var(--white);
  z-index: 1000;
  border-radius: 0;
  box-shadow: inset 0 -1px 0 var(--border);
}

.table td,
.table th {
  font-size: var(--text-s);
  border-bottom: 1px solid var(--border);
  padding: var(--space-s) var(--space-m);
  text-align: left;
  vertical-align: top;
}

.table.truncated td,
.table.truncated th {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.table tr:hover td {
  background: var(--gray-100);
}
/* #endregion */
