/* Conditional content */

.lc-only {
  display: inherit; /* Default */
}

html.lc .lc-only {
  display: inherit;
}

html.nlc .lc-only {
  display: done;
}

.nlc-only {
  display: none;
}

html.nlc .nlc-only {
  display: inherit;
}

html.nlc .lc-only {
  display: none;
}

html.direct .mdl-layout__tab {
  display: none;
}

html.direct .mdl-layout__tab.download{
  display: inherit;
}

/* Filtering */

.mdl-demo main > .mdl-layout__tab-panel.tab-has-filter {
  padding-top: 5px;
}

.content-filter {
  margin-bottom: 10px;
  padding: 10px;
  background-color: lavender;
}

.content-filter label {
  padding-right: 15px;
}


.content-parent .filtered {
  display: none;
}

.content-parent.all .filtered.all {
  display: flex;
}

.content-parent.grades35 .filtered.grades35 {
  display: flex;
}

.content-parent.grades68 .filtered.grades68 {
  display: flex;
}

.content-parent.algebra .filtered.algebra {
  display: flex;
}

.content-parent.geometry .filtered.geometry {
  display: flex;
}

.content-parent.precalculus .filtered.precalculus {
  display: flex;
}

.content-parent.calculus .filtered.calculus {
  display: flex;
}

/* License Dialog */

dialog.license-dialog {
  width:  unset;
  margin: 25px;
}

dialog.license-dialog .license-text {
  max-height: 200px;
  overflow-y: scroll;
}

.license-content {
  pointer-events: none;
  opacity: .5;
}

.accepted .license-content {
  pointer-events: auto;
  opacity: 1;
}

.accepted .license-dialog-button {
  display: none;
}

.license-content .mdl-list > li {
  padding-top: 8px;
  padding-bottom: 8px;
  min-height: 36px;
}

