.tos-content-wrapper {
    position: fixed;
    display: flex;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    align-items: center;
    z-index: 1100;
}

.label-tos {
    margin: 1em 0 1em;
    padding-left: 1em;
}

.tos-content {
    max-height: 50vh;
    overflow-y: scroll;
    max-width: 900px;
    border: 1px solid lightgray;
}

    .tos-content > * {
        margin: 1rem;
    }

.tos-form {
    margin-top: 1.5rem;
}

@media (min-width: 992px) {
    .tos-content-wrapper section {
        padding: 0 2em !important;
    }

    .tos-content {
        max-height: 35em;
    }
}

.tos-content p {
    max-width: 850px;
}

.tos-content img {
    max-width: 850px;
}

@media (max-width: 768px) {
    #page-content {
        padding: .5rem;
    }

    .tos {
        width: 95%;
    }
}

.buttons-spread {
    display: flex;
    justify-content: space-between;
}

.tos {
    .mobile-language-picker {
        display: block;
        margin: 0;
        padding-top: 0;
        position: absolute;
        top: .5rem;
        right: 0;

        .nav-content-icon {
            border: none;
            cursor: pointer;
        }
    }
}
