#hours-container {
  max-width: 1245px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  padding-top:10px;
  overflow-y: hidden;
}

#hours-views {
  display: inline-block;
  margin-bottom: 20px;
  height: 40px;
}

.hours-tabs {
  height: 30px;
  color: #454545;
  font-weight: 600;
  background-color: #f0f0f0;
  cursor: pointer;
  padding: 10px 20px;
}

.hours-tabs.active {
  background-color: #8b2331;
  color: white;
}

#monthly-hours-wrapper {
  display: none;
  margin-top:20px;
  gap: 40px;
}

#datepicker {
  width: 337px;
}

#selected-date-hours {
  width: 340px;
  margin-top: 10px;
}

#weekly-hours-wrapper {
  display: flex;
  gap: 0;
  width: 100%;
  overflow-x: hidden;
  margin-bottom: 20px;
}

#weekly-hours-top {
  max-width: 1245px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

#weekly-hours-wrapper #fixed {
  display: flex;
  flex-direction: column;
  width: 160px;
  min-width: 160px;
  max-width: 160px;
  gap: 10px;
}

#weekly-hours-wrapper #fixed div {
  height: 50px;
  padding: 10px;
  width: 140px;
  max-width: 140px;
  min-width: 140px;
}

#weekly-hours-wrapper #not-fixed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  overflow-x: auto;
}

#weekly-hours-nav {
  height: 50px;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  display: flex;
  align-items: flex-start;
}

#weekly-hours-nav .cal-range {
  font-size: 30px;
  font-weight: bold;
  width: 500px;
  text-align: center;
}

#weekly-hours-nav input {
  display: inline-block;
  background: #8b2331;
  background: linear-gradient(180deg, #D51F38, #8B2432);
  color: white;
  font-size: 18px;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  border: 0;
  cursor: pointer;
}

#prev-week {
  margin-bottom: 6px;
}

.date-row {
  display: flex;
  width: 100%;
  height: 50px;
  justify-content: space-between;
  gap: 10px 0px;
}

.hours-row {
  display: flex;
  width: 100%;
  height: 70px;
  justify-content: space-between;
  gap: 10px 0px;
}

.date-column-header {
  flex-grow: 1;
  flex-basis: 110px;
  min-width: 110px;
  padding: 10px 10px 0px 10px;
  color: #454545;
  font-weight: 600;
}

.hours-range {
  flex-grow: 1;
  flex-basis: 110px;
  min-width: 110px;
  padding: 10px;
}

#weekly-hours-header {
  background-color: white;
  padding-top: 10px;
  padding-bottom: 10px;
}

.location-row {
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  background-color: #f0f0f0;
  margin-bottom: 6px;
}

.location-name, .hours-range {
  background-color: #f0f0f0;
}

.location-name {
  -webkit-border-top-left-radius: 12px;
  -webkit-border-bottom-left-radius: 12px;
  -moz-border-radius-topleft: 12px;
  -moz-border-radius-bottomleft: 12px;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  font-weight: 600;
}

.hours-row .hours-range:last-of-type {
  -webkit-border-top-right-radius: 12px;
  -webkit-border-bottom-right-radius: 12px;
  -moz-border-radius-topright: 12px;
  -moz-border-radius-bottomright: 12px;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.hours-row .hours-range:nth-child(odd) {
  background-color: #e1e1e1;
}

#hours-list {
  width: 100%;
}

#hours-list #selected-day {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
}

#hours-list .day-location-row {
  width: 100%;
  display: flex;
  gap: 0px;
  margin-bottom: 6px;
}

#hours-list .day-location-name {
  background-color: #f0f0f0;
  padding: 10px;
  width: 140px;
  border-radius: 10px 0px 0px 10px;
}

#hours-list .day-hours-row {
  background-color: #e4e4e4;
  flex-grow: 2;
  padding: 10px;
  border-radius: 0px 10px 10px 0px;
}

#hours-list .hours-range {
  background-color: #e4e4e4;
  padding: 0;
}

#calendar-wrapper .note {
  font-size: 0.9rem;
}

/* jQuery Datepicker Styles */

.ui-datepicker-inline {
  width: 100%;
}

.ui-widget.ui-widget-content {
  border: 0px;
}

.ui-datepicker-header {
  border: 0px;
  font-size: 30px;
  font-family: var(--font-sans-serif);
  font-weight: bold;
  background-color: initial;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0px;
}

.ui-datepicker-prev, .ui-datepicker-next {
  position: static !important;
  display: inline-block !important;
  background: #8b2331;
  background: linear-gradient(180deg, #D51F38, #8B2432);
  width: 30px !important;
  height: 30px !important;
  padding: 0px;
  margin: 0px;
  cursor: pointer;
}

.ui-helper-clearfix::before, .ui-helper-clearfix::after {
  display: none;
}

.ui-datepicker-prev.ui-state-hover, .ui-datepicker-next.ui-state-hover {
  position: static !important;
  display: inline-block !important;
  background: #8b2331;
  background: linear-gradient(180deg, #D51F38, #8B2432);
  width: 30px !important;
  height: 30px !important;
  padding: 0px;
  margin: 0px;
  border: 0px;
}

.ui-datepicker-prev {
  order: 1;
  margin-left: 0px !important;
  margin-right: 0px !important;
}

.ui-datepicker-title {
  order: 2;
  margin: 0px !important;
  line-height: 30px !important;
  font-family: var(--font-sans-serif);
}

.ui-datepicker-next {
  order: 3;
  margin-left: 0px !important;
  margin-right: 0px !important;
}

.ui-datepicker-prev span, .ui-datepicker-next span {
  display: none !important;
  height: 30px !important;
  width: 30px !important;
  color: white !important;
  background-image: none !important;
  position: static !important;
  margin: initial;
  margin-left: 0px !important;
  margin-right: 0px !important;
}

.ui-datepicker-prev:after {
  content: "\276E";
  position: absolute;
  left: 8px;
  top: 8px;
  font-size: 24px;
  font-weight: normal;
  color: white !important;
}

.ui-datepicker-next:after {
  content: "\276F";
  position: absolute;
  right: 8px;
  top: 8px;
  font-size: 24px;
  font-weight: normal;
  color: white !important;
}

.ui-datepicker-calendar thead th {
  background-color: white;
  color: #454545;
}

.ui-datepicker-calendar tr {
  background-color: white;
}

.ui-datepicker-calendar td {
  border: 0px;
  padding: 3px;
  
}

.ui-datepicker-calendar td.ui-datepicker-week-end a {
  background-color: #e1e1e1;
}

.ui-datepicker-calendar td a {
  background-color: #f0f0f0;
  border: 0px;
  height: 40px;
  text-align: center !important;
  line-height: 40px;
  font-size: 20px;
  font-family: var(--font-sans-serif);
}

.ui-state-default {
  border: 0px !important;
}

.ui-state-active, .ui-datepicker-week-end .ui-state-active {
  color: white !important;
  background-color: #1b3768 !important;
}

.ui-state-highlight, .ui-state-highlight.ui-state-active {
  color: white !important;
  background-color: #8b2331 !important;
}

#datepicker:after {
  content: 'Click a date to view the hours for that day.';
  font-size: 0.9rem;
	font-family: var(--font-sans-serif);
	color: var(--font-dark-gray);
}

@media screen and (max-width: 1178px) {
  #hours-container {
    margin-left: 10px;
    margin-right: 10px;
    width: calc(100% - 20px);
  }

  #weekly-hours-wrapper {
    margin-left: 10px;
    margin-right: 10px;
    width: calc(100% - 20px);
  }

}

@media screen and (max-width: 768px) {
  #monthly-hours-wrapper {
    flex-direction: column;
    width: 340px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }

  #weekly-hours-nav .cal-range {
    width: 300px;
    font-size: 20px;
    line-height: 30px;
  }
}
