/* Slightly larger menu items. */
.navbar .navbar-nav .nav-item .nav-link {
    font-size: 13px;
}

/* Fix active menu item on mobile. */
html.nav-open li.nav-item.active {
    color: #3C4858;
}

html.nav-open li.nav-item.active a.nav-link {
    font-weight: bold;
}

/* Page headers. */

.page-header.header-tiny {
    height: 40vh;
    min-height: 40vh;
}

/* Home page header. */
div.logo-container {
    text-align: center;
}

div.logo-container img.logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(216, 216, 216, 0.6);
    padding: 2em 2.5em 2em 1.5em;
}

div.logo-container div.tagline {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    /*font-weight: bold;*/
    font-size: 15pt;
    line-height: 1.5em;
}

/* Sections */

.section-image .title {
    color: #fff;
}

/* Offset anchors so they show up just BELOW the navigation, not BEHIND the
   navigation. */
a.offset-anchor {
    position: relative;
    top: -5rem;
    display: block;
    visibility: hidden;
}

/* More space above and below the main area. */
.main {
    padding: 2em 0;
}

/* Slightly larger footer. */
footer ul li a {
    font-size: 14px;
}

/* Reset font sizes. Make headers and paragraphs more readable. */

a {
    font-weight: 400;
}

p, ul, ol {
    font-size: 11pt;
    font-weight: 300;
}

h4.description {
  color: #606060;
}

h5.description {
  color: #545454;
}

div.description p {
  color: #545454;
  font-weight: 200;
}

/* Forms */

.form-group {
    margin-bottom: 0.8em;
}

/* Material Kit uses Material icons in the menu, but we want Font Awesome. */
.dropdown-menu.dropdown-with-icons .dropdown-item .fab,
.dropdown-menu.dropdown-with-icons .dropdown-item .fal,
.dropdown-menu.dropdown-with-icons .dropdown-item .far,
.dropdown-menu.dropdown-with-icons .dropdown-item .fas {
    vertical-align: middle;
    font-size: 24px;
    position: relative;
    margin-top: -4px;
    top: 1px;
    margin-right: 12px;
    opacity: .5;
}

/* Testimonials */

.testimonial .icon {
    font-size: 3em;
}

/* News */

div.row.news {
    padding: 1em 0;
}

/* Card styles. */

div.card .card-description {
    font-size: 12pt;
}

div.card .card-link {
    position: absolute;
    bottom: 2em;
    left: 25%;
    right: 25%;
}

div.card .card-title a {
    text-decoration: underline;
}

/* Make flex cards equal height. */

div.d-flex .card {
    height: 85%;
}

/* Carousel styles. */

div.carousel-inner {
    width: 100%;
    max-width: 630px;
}

div.carousel-inner a {
    color: white;
}

div.carousel-inner .carousel-caption {
    bottom: inherit;
    top: 20%;
}

@media (max-width: 576px) {
  div.carousel-inner .carousel-caption {
    top: 0;
  }

  div.carousel-inner .carousel-caption h3 {
    font-size: 1.2rem;
    line-height: 1em;
  }

  div.carousel-inner .carousel-caption h4 {
    font-size: 0.9rem;
    line-height: 1em;
  }
}

a.carousel-control-prev, a.carousel-control-next {
    font-size: 30pt;
}

div.carousel-item  h3, div.carousel-item h4 {
    color: white;
}

/* About Us */

div.card-profile .card-avatar {
    max-width: 150px;
    max-height: 150px;
}

div.office-pics img {
    margin: 20px 0;
}

/* Products */

div.product-header {
    margin-top: 5rem;
}

div.product-header img {
    float: left;
    width: 5rem;
}

div.product-header .product-title {
    font-family: "Roboto Slab", "Times New Roman", serif;
    font-size: 2.25rem;
    font-weight: 700;
    padding-top: 1rem;
    margin-left: 6rem;

}

div.product-header .product-tagline {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #999;
    margin-left: 6rem;
}

p.product-description {
    clear: both;
    margin-top: 2em;
}

/* Open Source */

img.open-source-icon {
    position: relative;
    top: 0.4em;
    float: left;
    height: 3em;
    padding-right: 0.5em;
}

.open-source-license {
    font-size: 10pt;
    font-weight: bold;
    color: #999;
}

/* Research */

.conference-label {
    font-size: 10pt;
    font-weight: bold;
}

.conference-date {
    font-size: 10pt;
    color: #999;
}
