.textcenter {
  text-align: center;
}

/* All Page Titles */
.fonType { font-family: "Quadon, Arial";  } 

/* Team AI - Faculty and Staff Page */

.grid-x {
  display: flex;
  flex-wrap: wrap;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 250px;
  margin: 0.75rem;
}

.photo-resized {
  height: auto;
  width: 250px;
}

/* View Bio Buttons */
a.button.expanded.green-BTN {
  background-color: #587e6a;
}

a.button:hover {
  text-decoration: underline;
}

/* Team AI - Faculty and Staff Page Bios */

.br-Bio1 {
  clear: both;
  max-width: 85rem;
  height: 0;
  margin: 0.75rem 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 2px solid #cacaca;
  border-left: 0;
}

/* view my full bio button */
.bluebio-btn {
  background-color: #4e738a;
}

/* Media Queries */
/* SubNav Secondary Menu for Team-AI */

/* Inline CSS - was added here - but it's not pulling
the external CSS stylesheet for teamai.css */
@media only screen and (max-width: 1024px) {
  div.subnav.show-for-large,
  div#subnav.show-for-large {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
  }
}

@media only screen and (min-width: 640px) and (max-width: 910px) {
  span.teamai-title {
    font-size: 2rem !important;
  }
}

/* Our Work : Research Tab (Accordion I and Accordion IV) */
/* The Houston Epidemiology Linkage Project (HELP) */

/* Media query for screens 760px or smaller */
@media only screen and (max-width: 760px) {
    .large-img, .med-img, .small-img {
        max-width: 100%;
        display: block;
        width: 100%;
        position: relative;
    }
}

/* Media Query for Faculty Staff Bio Pages */

/* SubNav on Faculty Staff Bio Pages */
div#subnav { position: relative; display: block; top: -28px; }


.professor-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media only screen and (max-width: 1023px) {
div#subnav {
        position: relative;
        display: block !important;
        top: -28px;
    }

    /* Additional styles for responsiveness */
    div#subnav .grid-container {
        padding: 0;
    }

    div#subnav .grid-x {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    div#subnav .cell {
        width: 100%;
    }

    div#subnav .menu {
        width: 100%;
        text-align: center;
    }

    div#subnav .menu.align-right {
        justify-content: center;
    }

    div#subnav .menu li {
        display: inline-block;
        width: auto;
    }

    div#subnav .menu li a {
        padding: 10px;
        text-align: center;
        text-decoration: none;
        color: #000; /* Change this to your desired link color */
    }
}


/* Team AI News and Events Page */
/* 2024 TMC AI Slider */
    
        /* Limit the slider images to 425x225 */
        .orbit-container img {
            width: 425px;
            height: 225px;
            object-fit: cover;
        }

        /* Full image preview on hover */
        .image-wrapper {
            position: relative;
            display: inline-block;
        }

        .full-image {
            display: none;
            position: absolute;
            top: -10px;
            left: 100%;
            z-index: 10;
            max-width: 500px;
            box-shadow: 0px 4px 8px rgba(0,0,0,0.3);
            border: 2px solid #fff;
        }

        .image-wrapper:hover .full-image {
            display: block;
        }
    