// Overlay
.overlay {
    position: fixed;
    display: flex;
    align-items: center;
    z-index: 100;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.2);

    // Only target webkit as "justify-content" breaks IE11
    -webkit-justify-content: center;

    &-frame {
        padding: $unit-4;
        height: 75vmin;
        width: 95vmin;
        max-height: 432px;
        max-width: 652px; 
        margin: 0 auto;
    }
    &-content {
        display: block;
        justify-content: space-between;
        flex-direction: column;
        text-align: center;
        padding: 3% 5%;
        width: 100%;
        height: 400px;
        overflow-y: auto;
        color: $body-font-color;
    }
    &-icon {
        height: 4vmin;
        min-height: 22%;
    }
    &-content-wrapper {
        min-height: 65%;
        height: auto;
        justify-content: space-between;
        display: flex;
        flex-direction: column;
    }
    &-action {
        justify-content: space-between;

    }
    &-title,
    &-subtitle {
        line-height: $line-height;
    }

    &-footer {
        align-content: flex-end;
    }
}

