/*********************************************
* Copyright 2016 elementary LLC.             *
* This file is part of houston.elementary.io *
*********************************************/

/******
* NAV *
******/

nav {
    background-color: #4c158a;
    color: #fff;
    fill: #fff;
    overflow-y: hidden;
}

nav .avatar {
    border: 1px solid rgba(0, 0, 0, .7);
    border-radius: 50%;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .05),
        inset 0 1px 0 0 rgba(255, 255, 255, .45),
        inset 0 -1px 0 0 rgba(255, 255, 255, .15),
        0 1px 3px rgba(0, 0, 0, .12),
        0 1px 2px rgba(0, 0, 0, .24);
    height: 32px;
    vertical-align: middle;
    margin: 0 16px 6px 8px;
    width: 32px;
}

nav#secondary {
    background-color: #f5f5f5;
    color: #333;
    font-size: 14px;
    height: 48px;
}

@media only screen and (min-width: 1024px) {
    nav#secondary ul {
        display: -ms-flexbox;
        display: flex;
        -ms-flex: 0 0 33%;
            flex: 0 0 33%;
        -ms-flex-pack: center;
            justify-content: center;
    }

    nav#secondary ul:first-child {
        -ms-flex-pack: start;
            justify-content: flex-start;
    }

    nav#secondary ul:last-child {
        -ms-flex-pack: end;
            justify-content: flex-end;
    }
}

.form {
    -ms-flex-align: stretch;
        align-items: stretch;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
}

.form--horizontal {
    -ms-flex-direction: row;
        flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.form__block {
    -ms-flex-align: stretch;
        align-items: stretch;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-direction: row;
        flex-direction: row;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -ms-flex: 1 1 auto;
        flex: 1 1 auto;
    margin: 12px;
}

.form__error {
    color: #c6262e;
    font-size: 14px;
    text-align: center;
}

.form__label {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    margin: 12px;
}

.form__input {
    -ms-flex: 1 1 auto;
        flex: 1 1 auto;
}

.form__button {
    -ms-flex: 1 1 auto;
        flex: 1 1 auto;
    margin: 0;
    padding: 8px 16px;
}

.scrollbox {
    overflow-y: scroll;
    max-height: 70vh;
}

.two-thirds.action-area {
    text-align: right;
}
