// Basic layout styles
html {
    min-height: 100%;
    width: 100%;
}
body {
    @extend %text;
    background: $white; // fallback
    color: $grayer;
    line-height: 1.3;
    min-height: 100%;
    width: 100%;
    .master {
        &.ng-animate {
            transition: 0;
        }
    }
    &.loading-project {
        overflow: hidden;
        .projects-nav-overlay {
            opacity: 1;
            overflow: hidden;
            transition: opacity 1s ease;
            div {
                opacity: 1;
                transition: opacity 1s ease;
            }
        }
    }
}

.loader-active {
    overflow: hidden;
}

.master {
    background: $white;
    height: 100%;
    min-height: 100%;
    position: relative;
}

.centered {
    margin: 0 auto;
    max-width: 1200px;
    min-width: 960px;
    width: 90%;
}

.wrapper {
    display: flex;
    min-height: $main-height;
}

.menu-secondary {
    background: $whitish;
    flex: 0 0 auto;
    min-height: $main-height;
    min-width: 0;
    padding: 1rem;
    width: 320px;
    &.filters-bar {
        flex: 0 0 auto;
        padding: 0;
        transition: all .2s linear;
        width: 0;
        &.active {
            padding: 2em 1em;
            transition: all .2s linear;
            width: 260px;
            .filters-inner {
                opacity: 1;
                transition: all .4s ease-in;
            }
        }
    }
    .search-in {
        margin-top: .5rem;
    }
}

.menu-tertiary {
    background-color: $dark-taiga;
    flex: 0 0 auto;
    min-height: $main-height;
    width: 250px;
}

.extrabar {
    background: $whitish;
}

.main {
    flex: 4;
    min-width: 600px;
    padding: 1rem 2rem;
}

.icon {
    @extend %taiga;
}

.hidden {
    // scss-lint:disable ImportantRule
    display: none !important;
}

.header-with-actions {
    align-content: stretch;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1rem;
    .action-buttons {
        flex-shrink: 0;
    }
    .button {
        color: $white;
        float: right;
        margin-left: 10px;
        &:hover {
            color: $white;
        }
    }
    h1 {
        margin-bottom: 0;
    }
}
