.control-area::after {
    clear: both;
    display: block;
    content: '';
}

.tab-wrap {
    float: left;
    font-size: 0;
    margin-right: 8px;
}

.tab {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    width: 5em;
    text-align: center;
    padding: 10px 0;
    color: #606060;
    background-color: #e6e6e6;
    border-left: 1px solid #828282;
    border-top: 1px solid #828282;
    border-right: 1px solid #828282;
    cursor: pointer;
}

.tab:not(:last-child) {
    border-right: none;
}

.tab.selected {
    color: white;
    background-color: #315818;
    border-left: 1px solid #264413;
    border-top: 1px solid #264413;
}

.link-area {
    float: left;
    margin-top: 5px;
    margin-left: 20px;
}

.link-button {
    display: inline-block;
    color: white;
    padding: 5px 10px;
    background-color: #f39c12;
    border: 1px solid #bf7b0d;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

.link-button:not(:first-child) {
    margin-left: 8px;
}

.link-button:hover {
    color: #ddd;
    background-color: #c87f0a;
    border: 1px solid #945e07;
}

.search {
    float: right;
    display: inline-block;
    margin-top: 2px;
}

#e {
    font-size: 14px;
    height: 30px;
}

/* サジェストにスクロールバーを表示 */
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 20px;
}

#searchButton {
    margin-left: 5px;
    display: inline-block;
    color: #000000;
    padding: 5px 15px;
    border-radius: 6px;
    cursor: pointer;
}

#searchButton:hover {
    background-color: #bfbfbf;
    border: 2px solid #1f4f17;
    color: #000000;
}

.note-area {
    padding: 5px;
    background-color: #303030;
}

#note {
    background-color: #6d6d6d;
    color: white;
    border-radius: 4px;
    padding: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clickable {
    cursor: pointer;
}

#map {
    width: 100%;
    height: 600px;
    overflow: scroll;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

img {
    -moz-user-select: none;
}

#menu {
    position: absolute;
    display: none;
    font-size: 16px;
    min-width: 200px;
    box-shadow: 0 1px 3px #000;
}

#menu > div::after {
    clear: both;
    display: block;
    content: '';
}

.disc {
    display: inline-block;
    width: 10px;
    height: 15px;
    background-image: url('../img/disc@2x.png');
    background-position: center center;
    background-size: 10px 15px;
    background-repeat: no-repeat;
    /* 縦の中心に表示 */
    position: absolute;
    top: 50%;
    margin-top: -.5em;
    right: 8px;
}

.menu-header {
    padding: 10px 6px 10px 4px;
    white-space: nowrap;
}

.menu-header > .name {
    display: inline-block;
    color: white;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 1px 1px #606060;
    white-space: nowrap;
}

.menu-station .name {
    margin-left: 30px;
    margin-right: 20px;
    vertical-align: middle;
    min-width: 130px;
}

.menu-line .name {
    width: 100%;
}

.menu-station .numbering-outline + .name {
    /* ナンバリング表示時 */
    margin-left: 3px;
}

.menu-station > .menu-header {
    background-color: #dd2c2c;
    position: relative;
}

.menu-line > .menu-header {
    background-color: #00a820;
}

/* 駅ナンバリングの外側に境界線を表示 */
.numbering-outline {
    display: inline-block;
    border-radius: 21px;
    background-color: white;
    padding: 1px;
}

.station-numbering {
    display: inline-block;
    padding: 5px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    color: #333;
    background-color: white;
    border-radius: 20px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    vertical-align: middle;
}

.station-numbering.alpha {
    line-height: 0.9em;
}

#menu > .body {
    background-color: #fefefe;
    padding: 10px 6px 10px 14px;
    position: relative;
}

#menu > .body:hover {
    background-color: #cdcdcd;
}

.name-area {
    float: left;
    display: inline-block;
}

.senku-name {
    white-space: nowrap;
    /*max-width: 300px; */
    overflow: hidden;
    text-overflow: ellipsis;
}

.direction-name {
    color: #707070;
    font-size: 14px;
    white-space: nowrap;
}

#menu > .body:not(:last-child) {
    border-bottom: 1px solid #cccccc;
}

#mark {
    position: absolute;
    display: none;
    border: 3px solid #c3372a;
    -webkit-animation: Blink 0.5s infinite;
    animation: Blink 0.5s infinite;
    pointer-events: none;
}

@-webkit-keyframes Blink {
    50% {
        opacity: 0;
    }
}

@keyframes Blink {
    50% {
        opacity: 0;
    }
}

#routeSearchStation {
    background-color: #303030;
    padding: 10px 0;
    text-align: center;
}

.route-station {
    display: inline-block;
    color: #c8c8c8;
    font-size: 18px;
}

.dev-arv-arrow {
    display: inline-block;
    margin: 0 14px;
    background-image: url('../img/arrow@2x.png');
    background-size: 30px 20px;
    background-position: center center;
    background-repeat: no-repeat;
    width: 30px;
    height: 20px;
}

#exampleDialog .dialog-window {
    width: 500px;
}

.ex-body {
    margin-left: auto;
    margin-right: auto;
}
