///////////////////////////////////////////////////////////////
// Device: Desktop
///////////////////////////////////////////////////////////////

.loc1 {
    display: block;
    margin-top: -50px;

    position: relative;
      z-index: 2;
}

.loc1-container {
    @include outer-container;
}

.loc1-form {
    @include span-columns(10);
    @include shift(1);

    background: $color-grey-darker;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: space-between;
    height: 100px;
    padding: 20px;
}

.loc1-form-label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: 0;
    flex-grow: 2;
    margin: 0;
}

.loc1-form-label-icon {
    display: inline-block;
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
    width: 30px;

    svg {
        display: block;
        fill: $color-golden;
        height: 100%;
        width: 100%;
    }
}

.loc1-form-label-text {
    color: $color-grey-font;
    font-family: lucien-book, sans-serif;
    font-size: 1rem;
    letter-spacing: 0.05em;
    vertical-align: middle;
}

.loc1-form-search {
    appearance: none;
    background: $color-grey-dark;
    border: none;
    border-bottom: 1px solid #464344;
    border-radius: 0;
    color: $color-grey-font;
    display: block;
    font-family: Georgia, serif;
    font-size: 0.8rem;
    font-style: italic;
    flex-basis: 0;
    flex-grow: 2;
    margin-left: 20px;
    outline: none;
    padding: 20px;
    transition: border-color 0.3s ease;
}

.loc1-form-search:focus {
    border-bottom-color: $color-golden;
}

.loc1-form-submit {
    border-radius: 0;
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    margin-left: 20px;
    padding: 20px !important;
}

///////////////////////////////////////////////////////////////
// Device: Tablet
///////////////////////////////////////////////////////////////

@include tablet-landscape-and-below {
    .loc1 {
        margin-top: -150px;
    }
    .loc1-form {
        height: 300px;

        & > * {
            flex-basis: 100%;
            flex-grow: 1;

            &:not(:first-child) {
                margin-left: 0;
                margin-top: 20px;
            }
        }
    }
    .loc1-form-label {
        display: block;
    }
    .loc1-form-label-icon {
        display: block;
        margin: 0 auto 20px;
    }
    .loc1-form-label-text {
        display: block;
        text-align: center;
        width: 100%;
    }
}

///////////////////////////////////////////////////////////////
// Device: Mobile
///////////////////////////////////////////////////////////////

@include mobile-landscape-and-below {
    .loc1 {
        margin-top: 0;
    }
    .loc1-form {
        float: none;
        margin: 0;
        width: 100%;
    }
}
