/*!
 * Start Bootstrap - Stylish Portfolio v5.0.7 (https://startbootstrap.com/template-overviews/stylish-portfolio)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-stylish-portfolio/blob/master/LICENSE)
 */

:root {
    --primary: #b8cfa6;
    --primary-darker: #709654;
    --primary-even-darker: #476135;
}

body,
html {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Source Sans Pro';
    font-size: 20px;
}

.hide {
    display: none;
}

.invisible {
    transition: opacity 0.5s ease;
    opacity: 0;
}

.visible {
    transition: opacity 0.5s ease;
    opacity: 1;
}

.font-small {
    font-size: 70%;
}

.content-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.content-section-heading h2 {
    font-size: 3rem;
}

.content-section-heading h3 {
    font-size: 1rem;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

.text-faded {
    color: rgba(255, 255, 255, 0.7);
}

.scroll-to-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    display: none;
    width: 50px;
    height: 50px;
    text-align: center;
    color: white;
    background: rgba(52, 58, 64, 0.5);
    line-height: 45px;
}

.scroll-to-top:focus,
.scroll-to-top:hover {
    color: white;
}

.scroll-to-top:hover {
    background: #343a40;
}

.scroll-to-top i {
    font-weight: 800;
}

.masthead {
    min-height: 30rem;
    position: relative;
    display: table;
    width: 100%;
    height: 100vh;
    background: url('../img/princeville_pano.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.row.h-66 {
    height: 66%;
}

.row.h-33 {
    height: 33%;
}

.masthead h1,
.masthead h5 {
    font-size: 5.5rem;
    margin: 0;
    padding: 0;
    color: #fefdfa;
}
.masthead h5 {
    font-size: 1.5rem;
}

.masthead .btn-more {
    background: none !important;
}

/* @media (min-width: 992px) {
    .masthead {
        height: 100vh;
    }

    .masthead h1 {
        font-size: 5.5rem;
    }
} */

/* Side Menu */
#sidebar-wrapper {
    position: fixed;
    z-index: 2;
    right: 0;
    width: 250px;
    height: 100%;
    transition: all 0.4s ease 0s;
    transform: translateX(250px);
    background: var(--primary-darker);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li.sidebar-nav-item a {
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 15px;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    font-size: 1.2rem;
    background: rgba(52, 58, 64, 0.1);
    height: 80px;
    line-height: 50px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
}

.sidebar-nav > .sidebar-brand a {
    color: #fff;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

#sidebar-wrapper.active {
    right: 250px;
    width: 250px;
    transition: all 0.4s ease 0s;
}

.menu-toggle {
    position: fixed;
    right: 15px;
    top: 15px;
    width: 50px;
    height: 50px;
    text-align: center;
    color: #fff;
    background: rgba(52, 58, 64, 0.5);
    line-height: 50px;
    z-index: 999;
}

.menu-toggle:focus,
.menu-toggle:hover {
    color: #fff;
}

.menu-toggle:hover {
    background: #343a40;
}

.service-icon {
    background-color: #fff;
    color: var(--primary);
    height: 7rem;
    width: 7rem;
    display: block;
    line-height: 7.5rem;
    font-size: 2.25rem;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.portfolio-item {
    display: block;
    position: relative;
    overflow: hidden;
    max-width: 530px;
    margin: auto auto 1rem;
    border-radius: 15px;
    cursor: pointer;
}

.portfolio-item .caption {
    display: flex;
    height: 100%;
    width: 100%;
    background-color: rgba(33, 37, 41, 0.2);
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
}

.portfolio-item .caption .caption-content {
    color: #fff;
    margin: auto 2rem 2rem;
}

.portfolio-item .caption .caption-content h2 {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.portfolio-item .caption .caption-content p {
    font-weight: 300;
    font-size: 1.2rem;
}

@media (min-width: 992px) {
    .portfolio-item {
        max-width: none;
        margin: 0;
        border-radius: unset;
    }

    .portfolio-item .caption {
        transition: 0.25s ease-out, background-color 0.7s;
    }

    .portfolio-item .caption .caption-content {
        transition: opacity 0.25s;
        margin-left: 5rem;
        margin-right: 5rem;
        margin-bottom: 5rem;
    }

    .portfolio-item img {
        transition: 0.25s ease-out, background-color 0.7s;
    }

    .portfolio-item:hover img {
        transform: scale(0.9);
    }

    .portfolio-item:hover .caption {
        background-color: var(--primary);
        transform: scale(0.9);
    }
}

.portfolio-detail {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: pink;
}

footer.footer {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

footer.footer .social-link {
    display: block;
    width: 85px;
    height: 85px;
    line-height: 85px;
    color: white;
    background-color: var(--primary);
    transition: background-color 0.15s ease-in-out;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

footer.footer .social-link:hover {
    background-color: var(--primary-darker);
    text-decoration: none;
}

a {
    color: var(--primary-darker);
}

a:hover,
a:focus,
a:active {
    color: var(--primary-even-darker);
}

a.white-link {
    color: white;
}

a.white-link:hover,
a.white-link:focus,
a.white-link:active {
    color: rgba(255, 255, 255, 0.7);
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-darker) !important;
    border-color: var(--primary-darker) !important;
}

.btn-outline-primary {
    background-color: white !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.btn-secondary {
    background-color: #ecb807 !important;
    border-color: #ecb807 !important;
    color: #fff !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: #ba9106 !important;
    border-color: #ba9106 !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.btn-dark {
    color: #fff !important;
}

.btn {
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.ouch {
    position: absolute;
    top: 2%;
    left: 0;
    right: 0;
    font-size: 3vw;
    z-index: 100;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-primary-darker {
    background-color: var(--primary-darker) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: #ecb807 !important;
}

.very-rounded {
    border-radius: 1rem;
}

.subtitle {
    border-bottom: solid 5px rgba(0, 0, 0, 0.1);
}

#aboutimg {
    background-image: url('../img/waimea.jpg');
    background-size: 100%;
    min-height: 400px;
}

.about-text {
    padding: 30px;
    border-radius: 15px;
}

.about-text b {
    font-weight: 500;
}

.card.slider {
    border-radius: 6px;
    overflow-x: hidden;
    overflow-y: scroll;
    position: relative;
    border: none;
    transition: 0.3s;
    margin-bottom: 30px;
    background-color: var(--primary-darker);
}

.card.slider:not(.active) {
    cursor: pointer;
    overflow-y: hidden;
}

.card.slider .icon-holder {
    margin: 80px 0px;
}

.card.slider .back {
    position: absolute;
    top: 200%;
    height: 100%;
    width: 100%;
    background: white;
    transition: 0.3s;
}

/* Create an overlay that prompts users to click */
.card.slider .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.3s;
    text-align: center;
    z-index: -1;
}

@media (hover: hover) {
    .card.slider:not(.active):hover .overlay {
        opacity: 0.9;
        z-index: 10;
    }
}

.card.slider.active .back {
    top: 0;
}

.work-details {
    margin-bottom: 10px;
    font-size: 75%;
}

/* 'reorder' when the size gets too smol */
.hidden-logo {
    display: block;
}

.end-logo {
    display: none;
}

@media (min-width: 768px) {
    .hidden-logo {
        display: none;
    }

    .end-logo {
        display: block;
    }
}

/* Dot separators for descriptions */
.separator {
    font-size: 100%;
    font-weight: 900;
    padding: 0px 5px;
}

.separator::after {
    content: '⸱';
}

.mb-6 {
    margin-bottom: 6rem;
}

.carousel-item .return {
    position: absolute;
    top: 200px;
    left: 0;
    text-align: center;
    height: 100%;
    width: 8%;
    color: var(--primary);
    cursor: pointer;
    transition: 0.5s;
    align-self: center;
}

.carousel-item .return:hover {
    color: white;
    background: var(--primary);
}

.return.right {
    left: auto;
    right: 0;
}

.carousel-item .header {
    width: 100%;
    min-height: 200px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
}

.carousel-item a {
    font-weight: bolder;
}

/* scroll transitions */
.fromBottomIn {
    transition: transform 1s ease, opacity 1s ease;

    transform: translate(0, 0);
    opacity: 1;
}

.fromBottomOut {
    transition: transform 1s ease, opacity 1s ease;

    transform: translate(0, 50px);
    opacity: 0;
}

.fromLeftIn {
    transition: transform 1s ease, opacity 1s ease;

    transform: translate(0, 0);
    opacity: 1;
}

.fromLeftOut {
    transition: transform 1s ease, opacity 1s ease;

    transform: translate(-20px, 0);
    opacity: 0;
}

.fromRightIn {
    transition: transform 1s ease, opacity 1s ease;

    transform: translate(0, 0);
    opacity: 1;
}

.fromRightOut {
    transition: transform 1s ease, opacity 1s ease;

    transform: translate(10px, 0);
    opacity: 0;
}

/* Make sure images are nicely sized in research items */
.floated-img-sized {
    max-width: 100%;
}

@media (min-width: 768px) {
    .floated-img-sized {
        max-width: 60%;
    }
}

@media (min-width: 992px) {
    .floated-img-sized {
        max-width: 34%;
    }
}

.thiccc .row.no-gutters p,
.thiccc .row.no-gutters button.btn {
    border-width: 3px !important;
}

.publication {
    margin-bottom: 1rem;
    margin-left: 2rem;
    padding: 10px;
    border-radius: 10px;
}

.publication .journal {
    font-style: italic;
}

.img-overlay {
    text-align: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    background-color: white;
    opacity: 0;
    font-size-adjust: 1;
    transition: 200ms;
}

.zoom-figure {
    cursor: pointer;
}

.zoom-figure:hover .img-overlay {
    opacity: 0.8;
}

.modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}

.back-button {
    position: absolute;
    z-index: 10;
    left: 0;
    top: 0;
    margin: 15px;
    width: 50px;
    height: 50px;
    text-align: center;
    color: white;
    background: rgba(52, 58, 64, 0.5);
    line-height: 45px;
}

.back-button:focus,
.back-button:hover {
    color: white;
}

.back-button:hover {
    background: #343a40;
}

.back-button i {
    font-weight: 800;
}

.presentation {
    border-radius: 1rem;
    padding: 0.5rem;
    display: inline-block;
    white-space: nowrap;
    margin: 0.25rem;
}

.presentation.conference-presentation {
    background-color: #417d95;
    color: white;
}

.presentation.group-presentation {
    background-color: #afe8ff;
}

.presentation.recorded-presentation {
    background-color: #0b3e50;
    color: white;
    display: block;
}

.presentation.recorded-presentation a {
    font-weight: bolder;
    text-decoration: underline;
}

.presentation.recorded-presentation a:hover {
    filter: brightness(0.9);
}

.presentation .title {
    display: none;
}

.presentation .date::before {
    content: ', ';
}

.presentation.conference-presentation .conference::before {
    content: ', ';
}
