/*
 * The MIT License (MIT)
 *
 * Copyright (c) 2013 Adobe System Incorporated
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:

 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
 #location-list{
    top: 55px;

    z-index: 30;
    @include cache;

    .scroll-wrapper {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 100%;
    }

    .scroll-move-container {
        position: absolute;
        width: 100%;
    }

    .move-container {
        position: absolute;
        //position: relative;
        //float: left;
        width: 100%;

        @include cache;
    }


    .indicator {
        position: absolute;
        width: 8px;
        top: 0;
        right: 0;
        background-color: rgba(0, 0, 0, .4);
        border-left: 1px solid rgba(255,255,255,.2);
        border-top: 1px solid rgba(255,255,255,.2);
    }

    &.search {
         .scroll-wrapper {
            top: 80px;
         }
         #location-search {
            display: block;
         }

    }
}

 #location-search {
    display: none;
    position: relative;
    width: 100%;
    float: left;
    height: 80px;
    background-color: #fff;
    z-index: 500;
    @include cache;

    input {
        width: 100%;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;

        border: none;
        padding: 0 0;
        padding-left: 55px;
        margin: 0 0;
        margin-left: 40px;
        box-sizing: border-box;

        font-family: 'league-gothic', 'Arial Narrow', sans-serif;
        font-weight: 400;
        font-size: 48px;
        line-height: 80px;
        color: #605b72;
        outline: none;

        @include ui-asset(184, 138);
    }

    .result {
        position: absolute;
        right: 0;
        top: 0;
        width: 170px;
        height: 100%;
        padding-left: 32px;

        font-size: 24px;
        font-style: italic;
        line-height: 80px;
        color: #c7c7c7;

        background-color: #fff;
        pointer-events: none;

        .num {
            position: absolute;
            right: 28px;
            top: 15px;
            width: 50px;
            height: 50px;
            border-radius: 30px;

            line-height: 50px;
            text-align: center;
            color: #fff;

            background-color: #c7c7c7;
        }
    }
 }

.location-list-item {
    display: none;
    position: absolute;
    //float: left;
    //position: relative;
    width: 100%;
    height: 80px;

    @include cache;

    .text {
        margin-left: 47px;
        margin-right: 70px;

        font-size: 42px;
        font-style: italic;
        letter-spacing: -2px;
        line-height: 80px;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

        @media all and (max-width : 603px) {
            font-size: 24px;
            letter-spacing: -1px;
        }
    }

    .arrow {
        position: absolute;
        top: 50%;
        right: 30px;
        width: 15px;
        height: 23px;
        margin-top: -12px;

        @include ui-asset(20, 0);
    }

    .shader-shadow {
        display: none;
        position: absolute;
        left: 0;
        right: 0;

        // border
        border-top-width: 40px;
        border-top-color: transparent;
        border-top-style: solid;
        border-bottom-width: 40px;
        border-bottom-color: rgba(0,0,0,.3);
        border-bottom-style: solid;

        pointer-events: none;
    }
}
