[data-md-color-scheme="ucf"] {
  --md-primary-fg-color:        #FFC904;
  --md-primary-fg-color--light: #F7CE6C;
  --md-primary-fg-color--dark:  #FFC904;
  --md-accent-fg-color: #9e7e00;
  --md-typeset-a-color:  #9e7e00;
  --md-primary-bg-color: #000000;
}

[data-md-color-scheme="slate"] {
  --md-default-fg-color--light: hsla(134.3, 0%, 99.5%, 0.61);
  --md-default-fg-color--lightest: hsla(232, 0%, 100%, 0.92);
  --md-primary-fg-color: #F7CE6C; 
  --md-accent-fg-color:  #FFC904;
  --md-typeset-a-color:  #F7CE6C !important;
  --md-primary-bg-color: #000000
}

.md-nav__title[for=__drawer] {
  background-color: #FFC904 !important;
}

.md-nav__title[for=__toc] {
  background-color: var(--md-default-bg-color) !important;
}

.md-typeset table:not([class]){
  box-shadow: 0 .2rem .5rem rgba(0,0,0,.4),0 0 .05rem rgba(0,0,0,.1);
}

.md-header{
  background-color: #FFC904;
}

.md-search-result__meta{
   color:  hsla(134.3, 0%, 51%, 0.61) !important;
   background-color: hsla(240.62, 0%, 100%, 0) !important;
}

.card{
background-color:  var(--md-admonition-bg-color)!important;
}

.md-tabs{
  background-color: #FFC904;
  border-bottom: 3px solid #6C6C6C;
}

th {
  color:  var(--md-default-bg-color)!important;
  background-color: var(--md-default-fg-color--light)!important;
}

p {
font-size: 16px;
}

ul {
font-size: 16px;
}

ol {
font-size: 16px;
}

input {
  position: relative;
  padding: 15px 0 0;
  margin-top: 10px;
  width: 50%;
}

input {
  font-family: inherit;
  width: 70%;
  border: 0;
  border-bottom: 2px solid #9b9b9b;
  outline: 0;
  font-size: 0.7rem;
  color: #fff;
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;

  &::placeholder {
    color: transparent;
  }

  &:placeholder-shown ~ .form__label {
    font-size: 1.3rem;
    cursor: text;
    top: 20px;
  }
}

.form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 1rem;
  color: $gray;
}

input:focus {
  ~ .form__label {
    position: absolute;
    top: 0;
    display: block;
    transition: 0.2s;
    font-size: 1rem;
    color: $primary;
    font-weight:700;    
  }
  padding-bottom: 6px;  
  font-weight: 700;
  border-width: 3px;
  border-image: linear-gradient(to right, $primary,$secondary);
  border-image-slice: 1;
}
/* reset input */
input{
  &:required,&:invalid { box-shadow:none; }
}

.md-search__input{
  font-family: inherit;
  width: 100%;
  border: 0;
  border-bottom: 0;
  outline: 0;
  transition: border-color 0.2s;
  margin-top:  0px;

  &::placeholder {
    color: transparent;
  }

  &:placeholder-shown ~ .form__label {
    font-size: 0.5rem;
    cursor: text;
    top: 0px;
  }
}
}

.md-typeset h2 {
  font-weight: 500;
}

.md-typeset h1 {
  font-weight: 500;
}

.md-header__topic{
  font-weight: 500;
}

.md-header__topic:first-child{
  font-weight: 500;
}

.md-footer__inner {
  display: none;
  visibility: hidden;
}

.md-button--primary{
  background-color: #F7CE46 !important;
  border-color: #F7CE46 !important; 
}

/*.md-sidebar--primary {
  visibility: hidden;
  width: 150px;
}*/

/*@media screen and (max-width: 600px) {
  .md-sidebar--primary {
    visibility: visible;
  }
}*/
@media only screen 
  and (max-width: 76.25em){
    .md-sidebar--primary {
    visibility: visible;
  }
}

@media only screen 
  and (min-width: 76.25em){
    .md-sidebar--primary {
    visibility: hidden;
    width: 150px;
  }
}

}

.md-grid {
    max-width: 66rem; 
}

.md-typeset h1 {
    font-weight: bold;
    color: var(--md-default-fg-color);
}

.md-typeset h2 {
    font-weight: bold;
}

.md-sidebar {
    width: 11.5rem;
}

.md-footer {
    margin-top: 30px;
}

.card {
    border-radius: 5px;
    box-shadow: 0 1px 3px 0 #ddd, 0 0 0 1px #ddd;
}

a.card {
    -webkit-box-shadow: 0 1px 3px 0 #ddd, 0 0 0 1px #ddd;
    box-shadow: 0 1px 3px 0 #ddd, 0 0 0 1px #ddd;
    transition: 0.25s;
}

a.card:hover {
    -webkit-box-shadow: 0 1px 12px 0 #ccc, 0 0 0 1px #ddd;
    box-shadow: 0 1px 12px 0 #ccc, 0 0 0 1px #ddd;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.card .container {
    padding: 10px 16px;
    text-align: center;
}

#this-week {
    display: flex;
    flex-wrap: wrap;
}

#this-week .card {
    flex: 1 1 0;
    margin: 0.5rem;
    min-width: 250px;
}

#this-week .card .header {
    font-size: 14pt;
    font-weight: bold;
    padding: 15px;
    margin-bottom: 2px;
    border-bottom: 1px #ccc solid;
}

#this-week .card .content {
    font-size: 11pt;
    padding: 15px;
    border-bottom: 0.5px #ccc solid;
}

#this-week .card .content:last-child {
    border-bottom: none;
    padding-bottom: 20px;
}

#this-week .lecture-name,
#this-week .reading-name,
#this-week .recitation-name,
#this-week .homework-name {
    font-size: 12pt;
    font-weight: bold;
    padding-bottom: 2px;
}

#this-week .lecture-date,
#this-week .reading-date,
#this-week .recitation-date,
#this-week .homework-date {
    font-size: 11pt;
    font-weight: light;
    padding-bottom: 2px;
}

#this-week .homework-date .material-symbols-outlined,
#this-week .lecture-date .material-symbols-outlined,
#this-week .reading-date .material-symbols-outlined {
    font-size: 15px;
    vertical-align: text-top;
    padding-right: 2px;
}

#schedule .md-typeset__table {
    display: table;
    width: 100%;
    margin-right: 50px;
}

#schedule table {
    border-collapse: collapse;
    font-size: 90%;
    display: table;
}

#schedule table td, table th {
    border-left: 1px solid var(--md-typeset-table-color);
    border-right: 1px solid var(--md-typeset-table-color);
    padding: 10px!important;
}

#schedule table:not([class]) td {
    vertical-align: middle;
}

#schedule table td:first-child, table th:first-child {
    border-left: none;
}

#schedule table td:last-child, table th:last-child {
    border-right: none;
}

#schedule table thead,
#schedule table tbody tr:nth-child(2n) {
    border-bottom: 3px #ccc solid;
}

#schedule table td:nth-last-child(3) {
    border-right: none;
}

#schedule table:not([class]) tbody tr:hover {
    background-color: rgba(0,0,0,0);
}

a.label, a.label:visited {
    color: #fff;
}

a.label:hover {
    color: #fff;
    text-decoration: underline;
}

.label.label-aqua {
    background-color: #2E8C8C;
    border-color: #2E8C8C;
}

.label.label-red {
    background-color: #D84136;
    border-color: #D84136;
}

.label.label-gold {
    background-color: #D99036;
    border-color: #D99036;
}

.label.label-blue {
    background-color: #2185d0;
    border-color: #2185d0;
}

.label .material-symbols-outlined {
    font-size: 15px;
    vertical-align: text-top;
    padding-right: 4px;
}

.left.floating.label {
    left: 0;
    right: auto;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.floating {
    position: absolute;
    z-index: 100;
    top: -1em;
    white-space: nowrap;
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
}

.label:first-child {
    margin-left: 0;
}

.label {
    font-size: 0.65rem;
    display: inline-block;
    line-height: 1;
    vertical-align: baseline;
    margin: 0.14em;
    background-color: #e8e8e8;
    background-image: none;
    padding: 0.5833em 0.833em;
    color: rgba(0,0,0,.6);
    text-transform: none;
    font-weight: 700;
    border: 0 solid transparent;
    border-radius: 0.28571429rem;
    -webkit-transition: background .1s ease;
    transition: background .1s ease;
}

#course-instructors .card,
#course-assistants .card {
    display: inline-block;
    min-width: 275px;
    margin: 0.5rem;
}

.staffer .staffer-image {
    border-radius: 50%;
    height: 100px;
    width: 100px;
    object-fit: cover;
    margin-top: .50rem;
}

.staffer .staffer-name {
    font-weight: bold;
    margin: .25rem !important;
}

.staffer .staffer-links {
    margin: .25rem !important;
    line-height: normal;
}

.staffer-links a {
    font-size: 24px;
}

.staffer-links .material-symbols-outlined {
    font-size: 24px;
    vertical-align: text-top;
    padding: 0px 3px;
}

.admonition p.admonition-title,
details summary {
    font-size: .8rem;
}

.admonition p, .admonition ul,
details p, details ul {
    font-size: .725rem;
}

.admonition code,
details code {
    font-size: .65rem;
}

label[for=__nav_3]{
    background-color: #FFC904 !important;
}

