/*Global static page styles*/
.static-page a {
    text-decoration: underline;
}

/* Featured image section. */

#featured-static {
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: rgba(0, 0, 0, 0.3);
    gap: 2rem;
    flex-wrap: wrap;
}

#featured-static img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
}

#featured-static section {
margin: 4rem auto;
max-width: 68rem;
display:flex;
flex-direction: column;
gap: 1rem;
z-index: 10;
align-items: left;
}

#featured-static .overlay {
    content: " ";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
}

#featured-static section h1 {
    color: #fff;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
}

#featured-static section.meta p {
    color: #fff;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
}

#featured-static section a {
    color: #fff;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    text-decoration: underline;
}

@media screen and (max-width: 1024px) {
    #featured-static section {
        margin: 4rem 2rem;
        }
}

/* Intro to page */

div.no-feature {
    margin: 3rem auto 3rem auto;
    display:flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 68rem;
}

section.intro {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2rem;
    max-width: 68rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.intro h2 {
    font-size: 1.5rem;
}

div.skip-link {
    margin-top: 1rem;
    max-width: 68rem;
    margin-left: auto;
    margin-right: auto;
}

a.skip-link {
 color: #2D2D2D;
}

.intro-toc {
    flex: 1 1 auto;
}

.toc {
    display: flex;
    flex-direction: column;
}

.toc p {
    margin-top: 0.5rem;
}

.toc ul,
.toc ul li,
.toc ul ul li {
    list-style-type: disc;
    font-size: 1.125rem;
    margin-left: 1rem;
    font-weight: 700;
    margin-top:0.5rem;
}

#featured-alt-text {
    padding: 1rem;
    background-color: var(--divider-color);
    flex: 1 2 50%;
}

@media screen and (max-width: 1024px) {
    .intro-toc {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    div.no-feature {
        margin: 3rem 2rem; 
    }

    div.skip-link {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    .blog-photo {
        width: 100%;
    }

    #featured-alt-text {
        margin-left: 2rem;
        margin-right: 2rem;
    }
}

/* The main container for static pages. */

.static-inner {
    display: flex;
    margin-top: 2rem;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 64rem;
    padding: 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    border-radius: 0.625rem;
    background: #FFF;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.25);
}

.static-inner section {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1.25rem;
}

.static-inner h1,
.static-inner h2,
.static-inner h3,
.static-inner h4,
.static-inner p {
    margin-block-start: 0;
    line-height: 150%;
}

.static-inner h3 {
    color: #D63F09;
    font-size: 1.5rem;
}

.static-inner h4 {
    font-family: "Roboto";
    font-weight: 700;
    font-size: 1.125rem;
}

.static-inner div {
    width: 100%;
}

.static-inner ul li {
    display: list-item;
    margin-bottom: 0.625rem;
    margin-left: 20px;
    padding-left: 10px;
    list-style-type: disc;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 150%;
}

.static-inner ul ul li {
    margin-bottom: 0;
    display: list-item;
    padding-bottom: 0.625;
    margin-left: 50px;
    padding-left: 10px;
    list-style-type: circle;
    font-weight: 400;
    font-size: 1.125rem;
}

.static-inner iframe {
    width: 80%;
    height: 38rem;
    margin: auto;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    display: block;
}

@media screen and (max-width: 1024px) {
    .static-inner {
        border-radius: 0rem;
    }
}

/* .blockcite and .blockquote need to be nested together so the left border doesn't break between them */
.static-inner p.blockquote {
    font-style: italic;
    font-weight: 400;
    color: var(--mid-grey);
    padding-left: 1rem;
    border-left-style: solid;
    border-width: 2px;
    border-color: #d63f09;
}

.static-inner p.blockcite {
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark-grey);
}

/* Blog post images. */

.blog-photo {
    align-self: center;
    width: 50%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.blog-photo img {
    width: 100%;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

p.image-title {
    font-weight: 700;
    color: #D63F09;
    margin-bottom: 0.125rem;
    line-height: normal;
}

p.image-caption {
    font-size: 1rem;
    line-height: normal;
    color: #000;
}

/* Picture grid with text description, used in team.html and board.html 
.static-inner .static-grid {
    display: grid;
    gap: 1.25rem;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.static-inner .static-profile {
    margin-bottom: 0.625rem;
}

.static-inner .static-profile>img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 1.25rem;
}

.static-inner .profile-title {
    display: block;
    line-height: 150%;
    margin-bottom: 1.25rem;
}

.static-inner .profile-title h3 {
    font-size: 1.25rem;
    color: #2D2D2D;
}

.static-inner .profile-title h3.subtitle {
    font-family: "Roboto";
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    color: #2D2D2D;
}

.static-inner .external-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    font-size: 1rem;
    line-height: normal;
    margin-top: 0.625rem;
}

#icon {
    width: 1rem;
    height: 100%;
    margin-right: 0.25rem;
}

@media screen and (max-width: 1024px) {
    .static-inner {
        border-radius: 0rem;
    }

    .static-inner iframe {
        height: 19rem;
        width: 100%;
    }

    .blog-photo {
        width: 100%;
    }
}*/

/* inline svg icons with text on right side */

.external-links {
    display: flex;
    gap: 1.25rem;
    font-size: 1.125rem;
}

.toc .external-links {
    display: block;
}

.external-links img {
    height: 1rem;
    margin-right: 0.625rem;
}

/* Static list with text, no images, used in find-support.html (and others?) */

.static-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    border-bottom: 2px solid var(--divider-color);
    padding-bottom: 1.875rem;
}

/* Static list with images and text, used in team.html */
.static-list-profile {
    display: flex;
    flex-direction: row;
    align-content: stretch;
    gap: 2rem;
    border-bottom: 2px solid var(--divider-color);
    padding-bottom: 1.875rem;
}

.static-list-profile .profile-pic {
    flex-basis: 33%;
    margin-left: auto;
    margin-right: auto;
}

.static-list-profile .profile-pic img {
    background-color: #000; 
    aspect-ratio: 1 / 1;
    object-fit: cover;
    max-width: 300px;
    align-items: center;
    margin-bottom: 0.625rem;
}

.static-list-profile .profile-title {
    line-height: 150%;
    display: flex;
    flex-direction: row;
    gap: 0.625rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.profile-title .external-links {
    flex-direction: column;
    gap: 0.313rem;
    font-size: 1rem;
    align-items: flex-end;
}

.profile-title .external-links img {
    height: 0.9rem;
}

.static-list-profile .profile-bio {
    flex-basis: 66%;
}

.static-list-profile .profile-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

@media screen and (max-width: 800px) {
    .static-list-profile {
        flex-wrap: wrap;
        flex-direction: column;
    }
    
    .static-list-profile .profile-pic {
        flex-basis: 100%;
        text-align: center;
    }

    .static-list-profile .image-caption {
        max-width: 80%;
        display: inline-flex;
        text-align: left;
    }

    .static-list-profile .profile-title {
        flex-basis: 100%;
        flex-direction: column;
        text-align: center;
    }

    .profile-title .external-links {
        align-items: center;
    }

    .static-list-profile .profile-bio {
        flex-basis: 100%;
    }
}



/*
.profile h3 {
    font-size: 1.25rem;
    color: #2D2D2D;
}

/*.profile p.subtitle {
    font-family: "Roboto";
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    color: #2D2D2D;
}
*/
/*
@media screen and (max-width: 800px) {
    .static-list-profile {
        flex-wrap: wrap;
    }
    
    .static-list-profile>img {
        flex-basis: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        order: 2;
    }

    .static-list-profile .profile-title {
        order: 1;
        flex-basis: 100%;
        flex-direction: column;
    }

    .static-list-profile .profile-bio {
        order: 3;
        flex-basis: 100%;
    }
}
/*
/*
.static-inner .external-links {
    display: flex;
    gap: 1.25rem;
    margin-top: 0.625rem;
    align-items: left;
}*/




/* Sponsor logos formatting, used in project-overview.html */

div#sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: space-evenly;
    margin-top: 1.25rem;
}

#sponsor-logos img {
    max-width: 100%;
    max-height: 120px;
}

/* go to top button*/
a.to-top {
    align-self: flex-end;
}

/* Accessible accordions*/
details {
    width: 100%;
    border-bottom: 2px solid var(--divider-color);
}

details > summary {
    cursor: pointer;
    padding: 0.5rem 0rem;
    border-radius: 10px;
}

details > summary > * {
    display: inline;
}

details > div {
    border-top: 2px solid var(--divider-color);
    margin-top: 0;
    padding: 1rem;
    display: block;
    max-width: -webkit-fill-available;
    background-color: #F2ECE950;
}

details > div p {
    margin-top: 0.625rem;
    margin-bottom: 0.625rem;
}

summary::marker {
    content: "+ ";
    font-size: 1.5rem;
    font-weight: 700;
}

details[open] summary::marker {
    content: "– ";
    font-size: 1.5rem;
    font-weight: 700;
}