/*
  Theme Name:   Child Theme - Division of IT
  Theme URI:    https://doit.missouri.edu/
  Author:       Mizzou Digital Service, University of Missouri
  Author URI:   https://digitalservice.missouri.edu/
  Description:  This Child Theme extends the Mizzou Hybrid Base Theme
  Version:      0.6.6
  Template:     miz-hybrid-base
  Text Domain:  doit-child
*/
.doit-accordion {
  border-bottom: 2px solid #111;
  margin-bottom: 1rem;
}

.doit-accordion__button {
  position: relative;
  display: block;
  border: none !important;
  width: 100%;
  padding-right: 2.7rem;
  text-align: left !important;
}

/* Details Block */
.doit-accordion {
  --details-summary-padding: 1rem;
  --details-summary-background-color: #FFFFFF;
  --details-summary-border-bottom-width: 2px;
  --details-summary-border-bottom-style: solid;
  --details-summary-border-bottom-color: #CCCCCC;
  --details-summary-font-color: #111111;
  --details-summary-font-size: 1rem;
  --details-summary-font-weight: 700;
  --details-summary-font-stretch: 87.5%;
  --details-panel-background-color: #FFFFFF;
  --details-panel-font-color: #111111;
  border-bottom: var(--details-summary-border-bottom-width) var(--details-summary-border-bottom-style) var(--details-summary-border-bottom-color);
}
.doit-accordion:not([open]):hover summary {
  background-color: #F0F0F0;
}
.doit-accordion[open] > :not(summary) {
  margin-top: 1rem;
  padding: 1rem;
}
.doit-accordion[open] > :not(summary):first-child {
  margin-top: initial;
}
.doit-accordion[open] summary:hover {
  background-color: #F0F0F0;
}
.doit-accordion[open] summary::after {
  transform: scaleY(-1);
}
.doit-accordion summary {
  font-size: var(--details-summary-font-size);
  font-stretch: var(--details-summary-font-stretch);
  font-weight: var(--details-summary-font-weight);
  padding: 1rem;
  position: relative;
  text-align: start;
  width: 100%;
}
.doit-accordion summary::marker {
  content: none;
}
.doit-accordion summary::after {
  content: "keyboard_arrow_down";
  display: inline-block;
  font-family: "Material Icons";
  font-size: 24px;
  font-weight: normal;
  line-height: 1;
  height: 1.5rem;
  width: 1.5rem;
  position: absolute;
  right: 1rem;
  top: 1.5rem;
  transition: transform 200ms ease-in-out;
  vertical-align: middle;
}

.doit_directory_flex_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-bottom: 2rem;
}

.doit-archive-filter__container {
  width: 100%;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.doit-directory-archive__select {
  width: 350px;
  height: 50px;
  padding: 0 0 0 1rem;
  margin: 0 1rem 0 0;
}

.doit-filters__wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-end;
  display: flex;
  gap: 1rem;
  padding: 1rem;
}

.doit-advanced-filters__division {
  min-width: 30%;
  flex: auto;
}

.doit-advanced-filters__role {
  min-width: 30%;
  flex: auto;
}

.doit-advanced-filters__area {
  min-width: 30%;
  flex: auto;
}

.doit-filtering__label {
  line-height: 1.3;
  margin-bottom: 0;
  font-family: "Graphik Cond Web";
  font-size: 1.25rem;
  /* text-transform: uppercase; */
  display: block;
}

.doit-select {
  position: relative;
  background-color: transparent;
  border: none;
  border-radius: 4px;
  padding: 0.5rem;
  margin: 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;
  outline: 0;
}

.doit-select-wrapper {
  position: relative;
  border: 1px solid #111111;
  border-radius: 4px;
  background-color: #FFFFFF;
  cursor: pointer;
  margin: 0.5rem 0 0 0;
}

.doit-search-bar-wrapper {
  position: relative;
  border: 1px solid #111111;
  border-radius: 4px;
  background-color: #FFFFFF;
  cursor: pointer;
  margin: 0.5rem 0 0 0;
}

.input_search {
  position: relative;
  background-color: transparent;
  border: none;
  border-radius: 4px;
  padding: 0.5rem;
  margin: 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;
  outline: 0;
}

.doit-fieldset__legend {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 1.25em;
  margin: 0;
}

@media (min-width: 992px) {
  .doit-header-alert-banner .miz-alert {
    padding-left: 10rem !important;
    padding-right: 10rem !important;
  }
}

.miz-decoration__roller-bg {
  background: url("../miz-hybrid-base/assets/images/brand/backgrounds/interior-background.svg");
  background-size: cover;
  background-position: bottom left;
}

.miz-decoration__plus::after {
  content: "";
  position: absolute;
  z-index: -1;
  background: url("../miz-hybrid-base/assets/images/brand/yellow-plus-repeat--100.svg");
  background-size: 75px;
}

.miz-page-header--brand .miz-page-header__title {
  text-transform: capitalize !important;
}

.doit-page-header__kicker {
  font-family: "ClarendonURW-Reg";
  font-size: 1.563em;
  font-weight: 700;
  color: #F1B82D;
}

.miz-hero__button-group a:focus,
.miz-cta-button-group a:focus,
.miz-layer__content--center a:focus {
  outline: solid #f1b82d 3px;
  background-color: #fee8b6;
  color: black;
}

.miz-card--dark a:hover, .miz-card--dark a:focus {
  color: white !important;
}

.miz-breadcrumbs--brand .miz-breadcrumbs__link:hover {
  background-color: #f0f0f0;
  color: black !important;
}

.miz-megamenu button:focus {
  outline: solid #f1b82d 3px;
  background-color: #fee8b6;
  color: black;
}

.miz-sub-navigation button:hover {
  outline: solid black 3px !important;
  background-color: #fee8b6;
  color: black;
}

tr:nth-child(odd):not(:first-child) {
  background-color: #F0F0F0;
}

tr {
  height: 4rem;
  border-bottom: 1px solid #CCCCCC;
}

tr:last-child {
  margin-bottom: 2rem;
}

tr:hover:not(:first-child) {
  background-color: #CCCCCC;
}

th {
  border-bottom: 4px solid #111111;
}

td, th {
  padding: 1rem;
}

@media screen and (max-width: 880px) {
  table {
    text-align: left;
    border-collapse: collapse;
    width: 100%;
    border: 2px solid var(--color-tertiary);
    background-color: rgba(255, 255, 255, 0.2);
  }
  thead th {
    padding-bottom: var(--step--2);
    font-weight: bold;
    vertical-align: top;
  }
  thead th,
  tbody td {
    padding: var(--step-1) var(--step-0) var(--step--2) var(--step-0);
  }
  tbody td {
    padding-top: var(--step-0);
    padding-bottom: var(--step--2);
    vertical-align: middle;
  }
  tbody tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.07);
  }
  tr > * + * {
    padding-left: var(--step-2);
  }
  thead {
    border-bottom: 2px solid var(--color-primary);
    font-size: var(--step-1);
  }
  tbody tr {
    border-bottom: 1px solid var(--color-tertiary);
  }
  tbody td::before {
    display: none;
  }
  thead {
    display: none;
  }
  table,
  tbody,
  tbody tr,
  tbody td,
  caption {
    display: flex;
    flex-directioN: column;
    width: 100%;
  }
  table {
    background-color: transparent;
    border-width: 0;
  }
  tbody {
    border: 2px solid var(--color-tertiary);
    background-color: rgba(255, 255, 255, 0.2);
  }
  table tr {
    padding-bottom: 2rem;
    height: 100%;
  }
  table tr td:first-child {
    margin-bottom: calc(-1 * var(--step-0));
    flex-direction: row;
    align-items: center;
    padding: 1rem;
  }
  table tr td:not(:first-child) {
    padding-left: 2rem;
    padding-top: 0;
    padding-bottom: 1rem;
  }
  .table-wrapper {
    max-width: 568px;
  }
  tbody tr td:not(:first-child)::before {
    font-weight: 600;
    font-size: var(--step--1);
    display: block;
  }
  #doit_lab_result_container tbody td:nth-child(2)::before {
    content: "Hours: ";
  }
  #doit_lab_result_container tbody td:nth-child(3)::before {
    content: "Lab Type: ";
  }
  #doit_lab_result_container tbody td:nth-child(4)::before {
    content: "Operating System: ";
  }
  #doit_classroom_result_container tbody td:nth-child(2)::before {
    content: "Location: ";
  }
  #doit_classroom_result_container tbody td:nth-child(3)::before {
    content: "Room Type: ";
  }
  #doit_itpro_result_container tbody td:nth-child(2)::before {
    content: "Unit: ";
  }
  #doit_itpro_result_container tbody td:nth-child(3)::before {
    content: "Organization: ";
  }
  #doit_itpro_result_container tbody td:nth-child(4)::before {
    content: "Phone: ";
  }
  #doit_itpro_result_container tbody td:nth-child(5)::before {
    content: "Email: ";
  }
  th,
  tr:first-of-type {
    display: none;
  }
}
.doit-permitted-use--list a {
  display: list-item;
}

.single-software .miz-main-grid__article h2, .single-software .miz-main-grid__article h3, .single-software .miz-main-grid__article h4, .single-software .miz-main-grid__article h5, .single-software .miz-main-grid__article h6 {
  font-family: "Graphik Cond Web";
}
.single-software .miz-main-grid__sidebar .miz-card {
  margin-bottom: 2rem;
}

.doit-software-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.doit-software-card .miz-card__body {
  padding: 1rem;
}
.doit-software-card .doit-software-name .miz-card__title-link {
  display: block;
}
@media (min-width: 768px) {
  .doit-software-card .doit-software-metadata {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1.5fr 0.5fr 0.5fr 1fr;
  }
}
.doit-software-card .doit-software-metadata .doit-software-metadata--item {
  padding-bottom: 0.25rem;
}

.doit-software-selected-filters {
  margin: 1rem 0;
}

.doit-software-selected-filters__pill {
  background-color: #FEE8B6;
  border: none;
  border-radius: 0.25rem;
  padding: 0.25rem 0.25rem 0.25rem 0.5rem;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}
.doit-software-selected-filters__pill:hover {
  background-color: #F1B82D;
}
.doit-software-selected-filters__pill .miz-icon {
  height: 1.25rem;
  width: 1.25rem;
  font-size: inherit;
}

.doit-software-filters .doit-input-group {
  border-top: 1px solid #CCCCCC;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}
.doit-software-filters .doit-input-group input {
  padding: 0.5rem;
}
.doit-software-filters .doit-input-select {
  position: relative;
  background-color: transparent;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  padding: 0.5rem;
  margin: 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;
  outline: 0;
}
.doit-software-filters .doit-input-select::picker-icon {
  padding: 0.25rem;
}

.doit-label {
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 700;
  color: #666666;
  padding: 1rem 0;
}

.doit-software__filter-searchbox {
  width: 100%;
}

.doit-radio-input {
  border-radius: 50%;
  width: 1rem;
  height: 1rem;
  accent-color: #111111;
  transition: 0.2s all linear;
  margin-right: 0.25rem;
}

h3, h4, h5 {
  font-family: "Graphik Cond Web" !important;
}

.doit-lab_software-list {
  -moz-columns: 3;
       columns: 3;
  list-style-type: none;
}
@media (max-width: 768px) {
  .doit-lab_software-list {
    -moz-columns: 1;
         columns: 1;
  }
}

.doit-archive__blurb a {
  text-decoration: underline;
}

.miz-sub-nav {
  background-color: #FBD986 !important;
}

.miz-sub-nav-item {
  border-bottom: 2px solid #F1B82D;
}

.miz-sub-nav-link:hover {
  background: #fee8b6 !important;
}
