.course-box {
  width: 100%;
  height: fit-content;
  min-width: 280px;
  display: block;
  margin-top: 20px;
  padding-top: 5px;
  padding-bottom: 0px;
  color: var(--darkest-blue);
}

/* Table */
.course-box table {
  width: 100%;
  height: auto;
  margin: 0;
  padding-left: 10px;
  padding-right: 10px;
}
.course-box .course-times{
  margin-top: 5px;  
}
.course-box table .course-name{
  font-size: 17px;
  font-weight: bold;
  white-space: nowrap;
}
.course-box .course-name-mobile {
  width: 100%;
  display: none;
  font-size: 17px;
  font-weight: bold;
  white-space: nowrap;
}
.course-box table td {
  vertical-align: baseline;
}
.course-box table td:nth-child(1) {
  width: 51%;
  height: auto;
  text-align: left;
}
.course-box table td:nth-child(2) {
  width: 17%;
  min-width: 63px;
  height: auto;
  text-align: left;
}
.course-box table td:nth-child(3) {
  width: 10%;
  height: auto;
  min-width: 40px;
  text-align: left;
}
.course-box table td:nth-child(4) {
  width: 22%;
  min-width: 80px;
  height: auto;
  text-align: right;
  white-space: nowrap;
}
.course-box .course-annotation {
  font-size: smaller;
  padding: 0 10px;
}
.course-box .course-times td:nth-child(2){
  font-family: 'Monospaced';
}
.course-box .course-times td:nth-child(4){
  font-family: 'Monospaced';
}
/* Mobile view table */
@media screen and (max-width: 500px), 
       screen and (max-width: 1400px) and (min-width: 850px) {
  .course-box table .course-name span{
    display: none;
    white-space: unset;
  }
  .course-box .course-name-mobile {
    width: 100%;
    display: block;
    padding: 0 10px;
  }
}

/* Course Info */
.course-box .course-info {
  height: 20px;
  display: block;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: -2px;
  margin-bottom: 2px;
}
.course-box .course-info a {
  color: var(--darkest-blue);
}

/* Helper elements */
.line {
  width: 100%;
  padding: 0;
  margin: 0;
  border-top: 1px solid white;
}

/* Course box colors */
.orange-box {
  margin-top: 0;
  background-color: var(--orange);
}
.blue-box {
  background-color: var(--light-blue);
}
.red-box {
  background-color: var(--red);
}
.green-box {
  background-color: var(--green);
}
.purple-box {
  margin-top: 0;
  background-color: var(--purple);
}

/* additional info */
.text-box ul {
  margin-top: 0; 
  padding-left: 20px;
  text-align: left;
}
@media (max-width: 850px) {
  .text-box ul {
    width: 85%;
  }
}

/* BuT */
.BuT-wrapper {
  width: 100%;
  padding-left: 10px;
}
.BuT-button {
  width: auto; 
  height: 60px;
  display: block;
  float: left;
}
.BuT-text {
  height: 60px;
  margin-left: 70px;
  text-align: left;
}
.BuT-text p {
  line-height: 1.5;
  display: inline-block;
  vertical-align: middle;
}

/* Padding */
.empty-padding{
  width: 100%;
  height: 30px;
}

/* Change shadow header */
.text-box .header-wrapper .shadow {
  color: var(--grey);
}

/* Change menu style */
.menu-box {
  background-color: var(--grey);
}
.menu-box .program {
  font-weight: bold;
  font-family: 'Regular-Bold';
}
.menu-box .program:hover {
  background-color: var(--grey);
  color: white;
}


/* Mobile view */
@media (max-width: 850px) {
  .menu-box {
    background-color: var(--dark-blue);
  }
  .menu-box .program {
    background-color: var(--grey);
  }
}

