.flex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.flex-column {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.flex-align(@mainAxis: center; @crossAxis: center) {
    justify-content: @mainAxis;
    align-items: @crossAxis;
}

* {
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    overflow-y: hidden;
    overflow-x: hidden;
}

#container {
    height: 100%;
    width: 100%;

    .flex-column();

    &>div {
        height: 100%;
        width: 100%;
    }
}

.ms-welcome {
    position: relative;

    .flex-column();

    min-height: 500px;
    min-width: 200px; // 320px;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;

    &__progress,
    &__header {
        padding: 20px;
        padding-bottom: 30px;

        .flex-column();
        .flex-align(flex-end, center);

        h1 {
            margin-top: 30px;
            text-align: center;
        }
    }

    &__progress {
        height: 100vh;
        
        .flex-column();
        .flex-align(center, center);

        h1 {
            margin-bottom: 80px;
        }

        & .ms-Spinner {
            .ms-Spinner-label {
                color: #999;
            }

            .ms-Spinner-circle{
                color: #333333;
                border: 1.5px solid #CCC;
                border-top-color: #333333;
            }
        }
    }

    &__main {
        .flex-column();
        .flex-align(flex-start, center);

        flex: 1 0 0;
        padding: 30px 20px;

        h2 {
            width: 100%;
            text-align: center;
        }
    }

    &__features {
        list-style-type: none;
        margin-top: 30px;
        margin-bottom: 30px;

        &.ms-List .ms-ListItem {
            padding: 0px;
            padding-bottom: 20px;
            .flex-row();
            .flex-align(flex-start, center);

            & > .ms-Icon {
                font-size: 14pt;
                margin-right: 10px;
            }
        }
    }

    &__action {
        margin-top: 30px;
    }
}

@media (min-width: 0) and (max-width: 350px) {
    .ms-welcome__features {
        width: 100%;
    }
}

#content-header {
    background: #2a8dd4;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; 
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    font-family: Arial;
    padding-top: 25px;
}

#content-main {
    background: #fff;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: Arial;
}

.padding {
    padding: 10px;
    margin: 10px 10px 10px 10px;
}

.padding-sm {
    padding: 4px;
}

.padding-header {
    padding: 10px;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
}

.normal-button {
    width: 80px;
    padding: 2px;
}
