html, body {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    font-family: 'Verdana', sans-serif;
    font-size: 16px;
}

body {
    min-height: 100%;
    background: #fff;
    color: #000;
}

#page-top {
    padding: 0.5em 0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
}

    #page-top .menu {
        display: flex;
        justify-content: space-between;
    }

    #page-top .menu-links {
        display: flex;
    }

        #page-top .menu-links a:not(:last-child) {
            margin-right: 1em;
        }

.work-popup {
    display: none; /* Попап скрыт, пока не будет показан через javascript */
    position: fixed;
    z-index: 999;
    top: 50%;
    left: 50%;
    min-width: 100px;
    min-height: 60px;
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    transform: translate(-50%, -50%);
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.25);
}

    .work-popup .button-close-popup {
        position: absolute;
        top: 0;
        right: 0;
        width: 30px;
        height: 30px;
        border: none;
        border-radius: 5px;
        padding: 0;
        font-size: 16px;
        line-height: 30px;
        background: #fff;
        color: #000;
        text-align: center;
        cursor: pointer;
    }

    .work-popup .button-close-popup:hover {
        background: #e5e5e5;
    }

        .work-popup .button-close-popup .fa {
            line-height: inherit;
        }

    .work-popup .popup-heading {
        position: absolute;
        top: 0;
        left: 0;
        right: 30px;
        height: 30px;
        overflow: hidden;
        padding: 0 10px;
        font-size: 20px;
        line-height: 30px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .work-popup .popup-content {
        max-height: calc(100vh - 50px);
        overflow: auto;
        margin-top: 30px;
        padding: 10px;
    }
