@import url(fontawesome-all.min.css);
@import 'https://fonts.googleapis.com/css?family=Source Code Pro';
@import 'https://fonts.googleapis.com/css?family=Open Sans';
@import "myriad_pro.css";

body {
    font-family: "Myriad-Pro", "Open Sans", sans-serif;
}
.small-image {
    width: 64px;
    height: 64px;
    vertical-align: middle; /* to align the image with the text */
    margin-top: -12px; /* to give some space between the image and the text */
    margin-right: 4px; /* to give some space between the image and the text */
}

.footer .icon-link {
    font-size: 25px;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.dnerf {
    font-variant: small-caps;
}

.dcliport {
    font-variant: small-caps;
}

.dvima {
    /* TODO specific VIMA font */
    /* font-variant: small-caps; */
}


.teaser .hero-body {
    padding-top: 0;
    padding-bottom: 3rem;
}

.teaser {
    font-family: "Myriad-Pro", "Open Sans", sans-serif;
}

.teaser video {
    object-fit: fill;

}

#glass {
    margin-left: -10px;
}


.publication-banner {
    max-height: parent;

}

.publication-banner video {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    object-fit: fit;
}

.publication-header .hero-body {
}

.publication-title {
    font-family: "Myriad-Pro", "Open Sans", sans-serif;
}

@media screen and (min-width: 769px) {
    .publication-title {
        font-size: clamp(2.25rem, 3.2vw, 3rem);
    }

    .publication-title .title-line {
        white-space: nowrap;
    }
}

.publication-authors {
    font-family: "Myriad-Pro", "Open Sans", sans-serif;
}

.publication-venue {
    color: #555;
    width: fit-content;
    font-weight: bold;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}

.publication-authors {
}

.publication-authors a {
    color: #2787e7 !important;
}

.conference-authors a {
    color: hsl(0, 0%, 16%) !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
    display: inline-block;
}

.publication-banner img {
}

.publication-authors {
    /*color: #4286f4;*/
}

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

.publication-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.publication-body img {
}

.results-carousel {
    overflow: hidden;
}

.results-carousel .item {
    margin: 5px;
    overflow: hidden;
    border: 1px solid #bbb;
    border-radius: 10px;
    padding: 0;
    font-size: 0;
}

.results-carousel video {
    margin: 0;
}

.result-gif {
    width: 256px;
    height: 256px;
    max-width: 256px;
    border-radius: 5px;
}

.result-video {
    display: block;
    width: 400px;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.results-media-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.results-media-row figure {
    flex: 0 0 auto;
    margin: 0;
}

.results-text {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.training-outcomes-carousel {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) 3rem;
    align-items: center;
    gap: 0.75rem;
    max-width: 1300px;
    margin: 1.5rem auto 0;
}

.training-outcomes-scroller {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0.25rem 0;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.training-outcomes-scroller::-webkit-scrollbar {
    display: none;
}

.training-outcome-panel {
    flex: 0 0 100%;
    scroll-snap-align: center;
    padding: 0.25rem;
}

.training-outcome-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid #dbdbdb;
    border-radius: 999px;
    background: #fff;
    color: #363636;
    cursor: pointer;
    font-size: 2.25rem;
    line-height: 1;
}

.training-outcome-arrow:hover,
.training-outcome-arrow:focus {
    border-color: #9a9a9a;
    color: #000;
}

.training-outcome-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.training-outcome-panel .title {
    margin-bottom: 1rem;
}

.training-outcome-media {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.training-outcome-video {
    display: block;
    width: min(31vw, 320px);
    min-width: 240px;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.training-outcome-gif {
    width: 256px;
    height: 256px;
    max-width: 100%;
    border-radius: 5px;
}

@media screen and (max-width: 768px) {
    .training-outcomes-carousel {
        grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
        gap: 0.5rem;
    }

    .training-outcome-arrow {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 2rem;
    }

    .training-outcome-video,
    .training-outcome-gif {
        width: 100%;
        min-width: 0;
    }
}


.interpolation-panel {
    background: #f5f5f5;
    border-radius: 10px;
}

.interpolation-panel .interpolation-image {
    width: 100vh;
    background-size: cover;
    border-radius: 5px;
}

.interpolation-video-column {
}

.interpolation-panel .slider {
    margin: 0 !important;
}

.interpolation-panel .slider {
    margin: 0 !important;
}

#interpolation-image-wrapper {
    width: 100%;
}

#interpolation-image-wrapper img {
    border-radius: 5px;
}

#interpolation-image img {
    padding: 0;
    display: block;
    margin: 0 auto;
    max-height: 100%;
    max-width: 100%;
}

.dropdown-item {
    white-space: pre-wrap;
}  

.scrollable {
    max-height: 800px; /* You can adjust this value as per your design */
    overflow-y: auto;
}
