/* class is from libcal - part of the hours widget */
.tulib-library-hours.tulib-featured-lists {
  /* background-color: var(--tu_color_gray_dk, #5b5b5b); */
  background-color: #fff;
}

.tulib-library-hours .hours-today {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 10px;
  display: block;
}

.tulib-library-hours h3,
.tulib-library-hours th,
.tulib-library-hours tr,
.tulib-library-hours a {
  align-self: center;
  padding: 2px 0;
  font-family: var(--tu_font_sans);
  color: var(--tu_color_green_md);
  border: none;
}

.tulib-library-hours h3 {
  padding-right: 15px;
  width: 130px;
  font-size: 1.8rem;
  margin: 0 20px;
}

.hours-today tr,
.hours-today th,
.hours-today td {
  border: none;
  background-color: transparent;
  padding: 2px 0;
}

.tulib-front-page .tulib-library-hours tr,
.tulib-front-page .tulib-library-hours th,
.tulib-front-page .tulib-library-hours td {
  text-align: center;
  white-space: nowrap;
}

/* front page hours */
.featured-top .hours-today {
  margin: 0;
}

/* border removed on hours on department page */
.featured-top .tulib-dept-featured-top .hours-today tr {
  border-bottom: none;
}

.tulib-library-hours tbody {
  display: flex;
  flex-wrap: wrap;
}

.tulib-library-hours .hours-alt.hours-today-row {
  flex: 1;
  display: flex;
  flex-flow: column;
  font-size: 18px;
  padding: 1em 5px;
  margin: 0 30px;
}

.tulib-library-hours .hours-alt.hours-today-row:first-child {
  padding-left: 0;
}

.tulib-library-hours .hours-alt.hours-today-row:last-child {
  padding-right: 0;
}

.tulib-library-hours .hours-col-loc {
  border-bottom: 1px solid var(--tu_color_green_md);
}

.tulib-library-hours tr th a {
  color: var(--tu_color_green_md);
}

/* hide the individual departments */
.tulib-library-hours .hours-today-row.hours-depart {
  display: none;
}

/* hide the exception note */
.tulib-library-hours .s-lc-hours-note.s-lc-h-excep {
  display: none;
}

.tulib-library-hours a:hover {
  color: #ffef94;
  color: var(--tu_color_blue_lt);
  text-decoration: none;
}

th.hours-col-loc a:focus {
  color: #000;
  font-weight: 600;
}

/* hours page */

#s-lc-fhw307 {
  display: none;
}
#s-lc-fhw307 .nav.nav-tabs {
  display: none;
}
.s-lc-fhw-map {
  border: 1px solid #ccc;
  width: 750px;
  height: 300px;
}
.s-lc-fhw-pills {
  padding-bottom: 1em;
}

.s-lc-fhw-pills a {
    color: #000;
    text-decoration: none;
    margin: 0;
    padding: 7px 20px;
    border: 1px solid;
    display: flex;
    border-radius: 10px;
    font-size: 16px;
}


.s-lc-fhw-pills .active a {
  background-color: #005F4A;
  color: #fff;
}

#s-lc-fhw307 caption,
#s_lc_tdh_307_0 caption {
  display: none;
}

/*week*/
.table-main table {
  border: 1px solid #dbdbdb;
  border-radius: 10px;
  overflow: hidden;
}

.table-main table thead tr th {
  background-color: #005f4a;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  margin: 0;
  padding: 10px 15px;
}

.table-main table tbody tr th,
.table-main table tbody tr td {
  border: 1px solid #fff;
  padding: 10px 15px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  background: #dfdfdf;
}

.table-main .nav {
    position: relative;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    pointer-events: unset !important;
}

.table-main .nav.s-lc-fhw-pills {
    margin-bottom: 50px;
}

.table-main .nav::before {
    display: none;
}

.table-main #s-lc-fhw-week:not(.active),
.table-main #s-lc-fhw-month:not(.active) {
    display: none;
}

.s-lc-whw-head-date {
  font-weight: normal;
  font-size: 1.25em;
}
.s-lc-whw-today-h {
  background-color: #fff;
  background-color: var(--tu_color_blue_lt, #fff);
}

.s-lc-whw-bh {
  vertical-align: middle;
  white-space: nowrap;
}

.s-lc-whw-bh .btn {
  border: 1px solid;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.25rem;
  padding: 5px;
  margin: 5px;
}

.s-lc-whw-loc {
  border-top: 2em solid #fff;
}
.s-lc-whw-locname {
  font-weight: bold;
}
#s-lc-fhw307 .s-lc-whw-sublocname {
  padding-left: 1.5rem;
}

/*month*/
.s-lc-mhw-tb {
  width: 100%;
  border: 1px solid #ddd;
  border-collapse: collapse;
  border-spacing: 0;
}
.s-lc-mhw-tb thead {
  background-color: #f5f5f5;
}
.s-lc-mhw-header {
  text-align: center;
}
.s-lc-mhw-header .btn {
  border: 1px solid;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.25rem;
  padding: 5px;
  margin: 5px;
}
.s-lc-mhw-header-date {
  text-align: center;
  display: inline-block;
  margin-top: 5px;
  font-size: 130%;
}
.s-lc-mhw-days td {
  text-align: center;
  font-weight: bold;
  min-width: 14.28%;
  max-width: 14.28%;
  width: 14.28%;
  background-color: #fff;
}
.s-lc-mhw-day-l {
  text-align: right;
  padding: 2px;
}
.s-lc-mhw-cells {
  height: 50px;
}
.s-lc-mhw-fnc {
  color: #555;
}
.s-lc-mhw-loc {
  font-size: 0.8rem;
  padding: 2px;
  border-radius: 4px;
  margin-bottom: 1px;
  color: #000;
}
.s-lc-mhw-day > .s-lc-mhw-loc {
  border: 1px solid;
}
.s-lc-mhw-loc-name {
  font-weight: 600;
}
.s-lc-mhw-subloc {
  margin-left: 5px;
}

@media (min-width: 860px) {
  #s-lc-fhw307 {
    display: block;
  }
  #s_lc_tdh_307_0 {
    display: none;
  }
}

@media (min-width: 420px) {
  .tulib-library-hours.tulib-featured-lists {
    flex-wrap: nowrap;
  }

  .tulib-library-hours h3,
  .tulib-library-hours th,
  .tulib-library-hours tr,
  .tulib-library-hours a {
    align-self: auto;
  }

  .tulib-library-hours tbody {
    padding-left: 0;
  }
}

div#s-lc-fhw-loc {
    display: none;
}

.table-hover td a {
    --underlineWidth: 1px;
    --blockLength: 0.75;
    background-image: linear-gradient(var(--uCout), var(--uCout)), linear-gradient(rgba(0, 0, 0, 1),rgba(0, 0, 0, 1));
    background-size: 0 1px, 100% 1px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.6s cubic-bezier(0.55, 0, 0.1, 1);
    
}

.table-hover td a:hover, .table-hover td a:focus,  .table-hover td a:hover,  .table-hover td a:focus {
    background-size: 100% 1px, 0 1px;
}

/* @media (min-width: 1180px) {
    .tulib-library-hours tbody {
        width: 1400px;
        justify-content: space-around;
        margin: auto;
        padding: 0 10px;
    }
} */


