body {
    @include helvetica-neue-regular();
    font-size: 14px;
    line-height: 20px;
    word-wrap: break-word;
    color: #000;

    &.aside-open {
        .menu-content {
            .bar-header {
                display: none;
            }
            .has-header {
                top: 0;
            }

            .dmt-content-wrapper {
                @include flexbox-align(column, center, center, center);
            }
        }
    }

    &:not(.aside-open) {
        .menu-content {
            .dmt-content-wrapper {
                +.dmt-spinner-wrapper {
                    /* fix for bottom page content scroll on ios */
                    margin-bottom: 44px;
                }

                /* fix for bottom page content scroll on ios */
                margin-bottom: 44px;
                overflow: visible;

                h3 {
                    display: none;
                }
            }
        }
    }
}

*,
*:before,
*:after {
    @include box-sizing(border-box);
}

.dmt-content-wrapper {
    @include flexbox-align(column, flex-start, center, center);
    padding: 20px;
    min-width: 320px;

    &.dmt-long-content {
        -ms-justify-content: flex-start !important;
        -webkit-justify-content: flex-start !important;
        justify-content: flex-start !important;
    }

    .scroll {
        width: 100%;
        max-width: 420px;
    }

    h3 {
        color: $dark-blue;
        margin-bottom: 24px;
    }
}

.dmt-spinner-wrapper {
    @include flexbox-align(column, center, center, center);

    z-index: 50;

    &.dmt-opaque-background {
        @include light-gray-rgba(0.5);
    }

    .scroll {
        text-align: center;
    }

    .dmt-spinner {
        svg {
            width: 19% !important;
            height: 85px !important;
        }
    }

    .dmt-notice {
        color: $light-blue;
        margin-top: 6px;
        text-align: center;
        font-size: 16px;
    }
}

.dmt-spinner {
    stroke: $light-blue;
}


.dmt-error-wrapper {
    display: none;
    margin-bottom: 24px;

    span.dmt-error-msg {
        color: $offline;
        line-height: 30px;
        font-size: 16px;
    }
}

.dmt-error {
    .dmt-error-wrapper {
        display: block;
    }

    .dmt-content-wrapper {
        h3 {
            color: $offline;
        }
    }
}

.dmt-success-wrapper {
    margin-bottom: 24px;

    span.dmt-success-msg {
        color: $online;
        line-height: 30px;
        font-size: 16px;
    }
}


.dmt-highlight {
    @include helvetica-neue-bold();
    color: $light-blue;
    font-size: 16px;
}

.dmt-italic {
    font-style: italic;
}

.dmt-rows {
    display: inline-block;
    width: 100%;
}

.dmt-row-data {
    width: 100%;
    min-width: 280px;
    float: left;
    clear: both;
    color: $medium-gray;
    line-height: 30px;
    font-size: 15px;
    margin-bottom: 10px;

    .dmt-left {
        float: left;
        clear: both;
        padding-right: 30px;
        color: $medium-gray;
    }

    .dmt-right {
        float: right;
        clear: right;
        color: $dark-gray;
        font-size: 16px;
    }
}

.dmt-row-divider {
    clear: both;
    height: 20px;
    border-bottom: 1px solid $light-gray;
    margin: 30px 10px;
}

.dmt-section-divider {
    height: 14px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAAASFBMVEXs8PH////s8PHs8PHs8PHs8PHs8PHs8PHs8PHs8PHs8PHs8PHs8PHs8PHs8PHs8PHs8PHs8PHs8PHs8PHs8PHs8PHs8PHs8PEMFHvKAAAAF3RSTlMAAAECH0BFSU1UVVhaZpaXmJmam5ydnpRwtmIAAABeSURBVHjahcpHDoAwDAVRO/Te8f1vimTxLSeAmOXTkKCSiLUwGnZ0Y5gEWDsDFs6AldkswN4ZsDFbBDg4A7ZmqwBzb0Cz7c/4+9ujj15MMRyRKWapMaWmmJri+TS+AD0EEoXR2dfYAAAAAElFTkSuQmCC);
    background-repeat: repeat-x;
    background-size: 14px 14px;
    background-position: center;
    margin: 40px 10px;
    opacity: 0.5;
}

.dmt-logo-wrapper {
    height: 120px;
    color: $light-gray;
    padding: 40px 56px 30px;

    a {
        color: $light-gray;
    }

    i.icon-domotz-logo {
        font-size: 150px;
        height: 54px;
        line-height: 54px;
        display: inline-block;
    }
}