html, body {
    min-height: 100%;
    overflow: hidden;
    font-family: $font-default;
    font-size: 10px;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

body {
    font-size: 1.6rem;

    &.preload {
        .main-container {
            opacity: 0;
        }
    }
}

.preload * {
    transition: none !important;
}

* {
    box-sizing: border-box
}

.main-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    transition: opacity 0.4s ease-out 0.6s;
}

main {
    width: 100%;
    height: calc(100% - 11rem);
    z-index: 3;
    position: relative;
    background: $color-snow-extra-dark;
    transition: all linear 0.2s;

    &.hide-data-grid {
        height: calc(100% - 6.5rem);
    }

    &.view-data-grid {
        height: calc(100% - 33% - 6.5rem);
    }

    &.view-sidebar {
        width: calc(100% - 400px);
    }

    &.details {
        height: calc(100% - 6.5rem);
    }
}

.mapa {
    width: calc(100% - 40px);
    height: 100%;
    float: left;
    z-index: 0;
}
