/* SeclaBU Shared Styles */

/* Navbar styles */
.navbar-default {
    background-color: #f8f8f8;
    border-color: #e7e7e7;
    border-bottom: 2px solid #CC0000;
}
.navbar-default .navbar-nav > li > a {
    color: #CC0000;
    font-weight: 600;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #990000;
    background-color: transparent;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    color: #990000;
    background-color: #e7e7e7;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #CC0000;
}
.navbar-default .navbar-toggle {
    border-color: #CC0000;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #f0f0f0;
}
.navbar-brand {
    text-transform: capitalize;
    padding: 5px 15px;
}
.navbar-logo {
    height: 40px;
    width: auto;
}

/* Jumbotron - responsive */
.jumbotron {
    background-image: url(images/banner.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 500px;
}
.jumbotron-inset {
    background-image: url(images/transparent.png);
    color: #e9e9e9;
}

/* Footer */
.panel-footer.panel-custom {
    background: #f8f8f8;
    color: #CC0000;
    padding: 15px 0;
    border-top: 2px solid #CC0000;
}
.panel-footer.panel-custom h4 {
    margin: 0;
    font-weight: 600;
}

/* Links */
a:link {
    color: #CC0000;
    text-decoration: none;
}
a:visited {
    text-decoration: none;
    color: #CC0000;
}
a:hover {
    text-decoration: underline;
    color: #DD127B;
}

/* Section headings */
section h2 {
    margin-bottom: 30px;
}

/* People section */
.person-item {
    margin-bottom: 20px;
}
.person-item img {
    max-width: 120px;
    margin: 0 auto;
}
.person-item figcaption {
    margin-top: 8px;
    font-size: 14px;
}

/* Funding logos */
.funding-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    margin-bottom: 15px;
}
.funding-logo img {
    max-height: 60px;
    max-width: 100%;
}

/* Spacer utility */
.spacer-nav {
    height: 100px;
}

/* Project page content */
.project-content {
    padding: 20px 0;
}
.project-content img {
    margin-bottom: 20px;
}
.project-content p {
    text-align: justify;
}

/* Publication entries */
.publication-entry {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.publication-entry h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.publication-entry p {
    font-size: 14px;
    margin-bottom: 5px;
}

/* Responsive styles */
@media (max-width: 991px) {
    .jumbotron {
        height: 350px;
    }
    .spacer-nav {
        height: 80px;
    }
}

@media (max-width: 767px) {
    .jumbotron {
        height: 250px;
    }
    .spacer-nav {
        height: 70px;
    }
    .person-item img {
        max-width: 100px;
    }
    .person-item figcaption {
        font-size: 12px;
    }
    section h2,
    .project-content h2 {
        font-size: 24px;
    }
    section h3,
    .project-content h3 {
        font-size: 18px;
    }
    .panel-footer.panel-custom h4 {
        font-size: 14px;
        text-align: center;
    }
    .publication-entry h3 {
        font-size: 16px;
    }
    .publication-entry p {
        font-size: 13px;
    }
    h1 {
        font-size: 28px;
    }
    /* Ensure images scale down on mobile */
    .project-content img,
    .img-responsive {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .jumbotron {
        height: 180px;
    }
    .person-item img {
        max-width: 80px;
    }
    .spacer-nav {
        height: 60px;
    }
}
