/*******************************************************************************
 * Styles for the base elements of the theme.
 ******************************************************************************/
// Typography

p,
h1,
h2,
h3,
h4,
h5,
h6,
em,
div,
strong {
    color: var(--global-text-color);
    font-family: 'Google Sans', sans-serif;
}

// code[class*="language-"],
pre[class*="language-"] {
    // background-color: #D3D3D3
    // !important;
    background-color: #f8f9fa!important;
    white-space: pre;
    word-wrap: break-word!important;       /* Internet Explorer 5.5+ */
}

table.table a {
    color: var(--global-theme-color);

    &:hover {
        color: var(--global-hover-color);
        text-decoration: underline;
    }

    &:hover:after {
        width: 100%;
    }
}

b {
    font-weight: bold !important;
}

p {
    text-align: justify !important;
}


h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

// Math

.equation {
    margin-bottom: 1rem;
    text-align: center;
}

// Caption

.caption {
    font-size: 0.875rem;
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}


body {
    font-family: 'Noto Sans', sans-serif;
}


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

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

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


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

.teaser {
    font-family: 'Google Sans', sans-serif;
}


.publication-title {}

.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: 'Google Sans', sans-serif;
}

.publication-authors {
    font-family: 'Google 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: hsl(204, 86%, 53%) !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;
}


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

.interpolation-panel .interpolation-image {
    width: 100%;
    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;
}

// Rouge Color Customization
code {
    color: var(--global-theme-color);
}

// Transitioning Themes
html.transition,
html.transition *,
html.transition *:before,
html.transition *:after {
    transition: all 750ms !important;
    transition-delay: 0 !important;
}