

body {
    background-color: #FCFCFC;
}

.footer-bg {
    background-color: #f5f5f5;
}

.footer-links a {
    display: inline-block;
    padding: .25rem .75rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
}

/* Keep phone headings from wrapping awkwardly */
@media (max-width: 767.98px) {
    #content h1:not(.display-2) {
        font-size: 1.75rem;
    }

    #content h2 {
        font-size: 1.4rem;
    }
}
/* CSS targeting screen smaller than lg (992px) */
@media (max-width: 991.98px) {
    #cart {
      margin-right: .5rem; /* added mr-2 equivalent */
    }

    .dropdown-menu.selected-courses {
      margin-left: .5rem; /* added ml-2 equivalent */
    }
  }

@media (max-width: 991.98px) {
    .main-navbar {
        display: block !important;
    }
}

#home-search-bar {
    /* At least 16px so iPhones don't zoom in when the field is tapped */
    font-size: max(1rem, calc(0.3rem + 2vmin));
}

.border-2 {
    border-width: 2px !important;
}

.course-count[data-count]:after {
    position: absolute;
    right: 0%;
    top: -20%;
    content: attr(data-count);
    font-size: 90%;
    padding: .3em;
    border-radius: 20%;
    line-height: 1em;
    color: #fcfcfc;
    background: rgba(27, 26, 26, 0.85);
    text-align: center;
    min-width: 1em;
}

.navbar-brand {
    font-family: merienda one, cursive;
}

header.masthead {
    padding-top: 10%;
}

input.homepage-search {
    height: calc(1.5em + 2rem + 2px);
}

div.dropdown-menu.selected-courses.show {
    height: auto;
    max-height: 400px;
    overflow-x: hidden;
}

td[colspan]:not([colspan="1"]) {
    text-align: center;
}

#main-header {
    background-color: #2874f0;
    color: #FFFFFF;
}

/* Trash-can buttons in the course cart */
.remove-course {
    padding: .25rem .5rem;
    margin: -.25rem 0;
    line-height: 1;
}

/* Home page headline sized for phones */
@media (max-width: 575.98px) {
    .masthead .display-2 {
        font-size: 3rem;
    }
}

.add-to-course-cart {
    white-space: nowrap;
}
