body { width: 100vw !important; overflow-x: hidden;}
.bg-dark { background-color: #343a40 !important; }
.bg-hero { background-color: #7952b3; }

/* MENU */
#nav {height: 6em}
#nav:hover { opacity: 1 !important;}
.bg-menu { background-color: #000000 !important;}

.logo { width: 8rem; position: absolute; left: 0; top: 0; margin: 0.9rem 0 0 0.9rem;}

/* for on hover opening */
@media all and (min-width: 992px) {
    .navbar .nav-item .dropdown-menu{ display: none; }
    .navbar .nav-item:hover .nav-link{   }
    .navbar .nav-item:hover .dropdown-menu{ display: block; }
    .navbar .nav-item .dropdown-menu{ margin-top:0; }
}

.table-wrapper {
    display: flex;
    overflow-x: scroll;
    max-width: 900px;
    width: 70vw;
}

@media all and (max-width: 950px) {
    .table-wrapper {
        width: 60vw;
    }
}

h3 {
    font-size: 1.2rem;
    font-weight: normal;
}

.floating-info-right svg, .floating-info-left svg {
    width: 60px; height: 60px;
}

.floating-info-right a, .floating-info-left a {
    color: whitesmoke;
}

.floating-info-right p, .floating-info-left p {
    margin-bottom: 2rem;
}

.awards {
    background: #3E405B;
    padding-top: 2rem;

    display: flex; justify-content: center; align-items: start;

}

.boring-link {
    text-decoration: none;
    color: #999;
    background-color: rgba(0, 0, 0, 0);
    box-shadow: inset 0 -0.5em 0 -1px rgba(153, 153, 153, 0.47);
    cursor: pointer;
}

.floating-info-left, .floating-info-right {
    display: flex; flex-direction: column; justify-content: center;

    padding: 1rem;

    font-size: 1.5rem;
    color: whitesmoke;



    /*
    border-radius: 1rem;

    backdrop-filter: blur(4px) brightness(.7);
    -webkit-backdrop-filter: blur(4px) brightness(.7);

    text-align: center;
    */
}

.floating-info-right {
    text-align: center;
    right: 3vw;
    /*
    rotate: 30deg;
    */
}

.floating-info-left {
    text-align: center;
    left: 3vw;
    /*
    rotate: -30deg;
    */
}

/*
th {
position: sticky;
top: 0;
box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}
*/

.model-special {
    overflow-x: scroll;
    overflow-y: hidden;
    -ms-overflow-x: scroll;
    -ms-overflow-y: hidden;
}

@media all and (max-width: 680px) {
    .model-special {
        width: 90vw;
    }

    .table-wrapper {
        display: flex;
        overflow-x: scroll;
        width: 90vw;
    }
}

.table tr:nth-child(even) {
    background: rgba(129,178,154,0.13)
}

.table thead tr:nth-child(1) {
    background: rgba(129,178,154,0.62) !important;
}

.MathJax {
    width: 100%;
    overflow-x: scroll;
    -ms-overflow-x: scroll;
    overflow-y: clip;
    padding-bottom: 1rem;
}


/* for mobile */
#mobile-menu-icon { opacity: 0 }

@media all and (max-width: 991px) {
    #mobile-menu-icon { opacity: 1; position: absolute; right: 0; top: 0; margin: 2.4rem 2.2rem 2.4rem 0; }
    #navbarSupportedContent {
        position: absolute; top: 0; left:0; width: 100vw;
        overflow: hidden; background-color: #000000;
    }
    #menuList {
        margin: 0; width: 100vw; height: 100vh;
        display: flex; flex-direction: column; justify-content: center; align-items: center;
        font-size: 2rem;
    }
    a.dropdown-item {
        font-size: 1.5rem;
        color: #000000 !important;
    }
    ul.dropdown-menu {
        background-color: gray;
        position: absolute !important; margin-left: 1rem !important;
    }
    #awards {
        position: absolute !important; top: -20rem !important;
    }
}


header {
    height: 100vh;
}


.white-background {
    background: white;
}


.image-container {
    background-color: white;
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    width: 100vw;
    gap: 10rem 0;
    padding: 2rem 0;
    margin: 0;
}

.image-container .member-wrapper {
    cursor: pointer;
    position: relative;
    display: flex; justify-content: center;
    background-color: rgb(145, 145, 145);
    height: 50vw;
    overflow: hidden;
    flex-basis: 0;
    flex-grow: 1;
    transition: flex-grow .3s;
    -webkit-transition: flex-grow .3s;
    -moz-transition: flex-grow .3s;
}

.image-container .member-wrapper:hover {
    flex-grow: 2;
    transition: flex-grow .3s;
    -webkit-transition: flex-grow .3s;
    -moz-transition: flex-grow .3s;
}

.image-container .member-wrapper .name {
    position: absolute;
    background-image: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
    width: 100%;
    font-size: 2rem;
    color: white;
    text-align: left;
    padding-left: 1rem;
    opacity: 0;
    transition: opacity 0s;
    -webkit-transition: opacity 0s;
    -moz-transition: opacity 0s;
}

.image-container .member-wrapper:hover .name {
    opacity: 1;
    transition: opacity 1.3s;
    -webkit-transition: opacity 1.3s;
    -moz-transition: opacity 1.3s;
}


.team-image {
    width: auto;
    height: auto;
}

.member-text {
    display: none;
}

/* team for mobile */
@media all and (max-width: 791px) {
    .member-wrapper img {
        transition: width 0.3s;
        -webkit-transition: width 0.3s;
        -moz-transition: width 0.3s;
    }

    .team-image {
        width: 100%;
    }

    .image-container .member-wrapper .name {
        opacity: 1;
        width: 80vw;
    }

    .member-wrapper.active .name {
        border-radius: 0.5rem 0.5rem 0 0;
    }

    .image-container {
        flex-direction: column; flex-wrap: nowrap;
        gap: 5rem;
        padding: 2.5rem 0;
    }
    .image-container .member-wrapper {
        height: auto;
        width: 80vw;
        overflow: visible;
    }
}

p.margin-top {
    margin-top: 1rem;
}

/* attribution */
.name-column {
    width: 100%;
    display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: 1rem normal;
}

@media all and (max-width: 700px) {
    .name-column>div {
        width: 40% !important;
    }
}

.bg-video {
    filter: grayscale(45%);
    z-index: -2;
}

.name-column div {
    display: flex; justify-content: center;
    width: 18%;
}

/* references */
.references {
    display: flex; flex-direction: column; gap: 0.5rem;
    margin-bottom: 2rem;
}

.references a {
    width: fit-content !important;
}

.reference-header {
    margin-top: 2rem;
    color: #67a286;
    font-weight: bold; font-size: 1.7rem;
}


.min-width-100 {
    min-width: 100% !important;
}


.header-timeline-legend {
    display: flex; flex-direction: column;
    position: absolute; left: 0.8rem;
    width: 14.28vw;
    margin-top: -6rem;
}




/* .team-member:hover {
    max-height: 200%;
    max-width: 200%;
    z-index: 2;
} */

/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom:.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }


