/* Additions to the Stack theme that its jQuery scripts used to provide */

/* Fullscreen menu, opened via #menu (no JS needed) */
.modal-container:target {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.modal-container:target .modal-content {
    display: block;
}
.menu-fullscreen .modal-content,
.menu-fullscreen .modal-content:not(.height--natural) {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-fullscreen:before {
    background: rgba(0, 0, 0, 0.95);
}
.menu-fullscreen .modal-content > .modal-close-cross {
    position: fixed;
    top: 1.5em;
    right: 1.5em;
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
}
.menu-fullscreen .modal-close-cross:hover {
    color: #fff;
}

/* Partner and client logos */
.list-inline--images img {
    max-height: 5rem;
}

/* Equal height feature boxes */
.feature-3 h4 + p {
    max-width: inherit;
    min-height: 6rem;
}

/* Team member teaser */
.switchable__text .lead p {
    font-size: inherit;
}
