* {
    margin: 0;
    padding: 0;
    font-size: 14px;
    box-sizing: border-box;
}

[v-cloak] {
    display: none !important;
}

.mr-20 {
    margin-right: 20px;
}

.yichu {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suoyin {
    color: #f56c6c;
}

.look-mapinfo {
    color: blue;
}

.el-header {
    padding: 0;
}

.xq-header {
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 24px;
    background: #222b45;
    color: #fff;
}

.el-aside {
    border-right: 1px solid #e6e6e6;
    height: calc(100vh - 60px);
}

.aside-bar .aside-item {
    height: 48px;
    line-height: 48px;
    padding-left: 20px;
    border-bottom: 1px solid #e6e6e6;
    cursor: pointer;
}

.aside-bar .aside-item.is-active {
    background: #409eff !important;
    color: #fff;
}

.aside-bar .aside-item:hover {
    background: #ebf5ff;
}

.aside-bar .aside-item.is-activ .suoyin {
    color: #626aef !important;
}


.main-box {
    height: calc(100vh - 150px);
    margin-top: 10px;
    display: flex;
}

.main-box .item-box {
    height: calc(100vh - 160px);
    border-radius: 4px;
    border: 1px solid #e6e6e6;
    width: 300px;
    flex: 1 1 0;
    min-width: 0;
    margin-right: 0;
}

.main-box .item-box + .item-box {
    margin-left: 20px;
}

.main-box .item-box.mr-20 {
    margin-right: 0;
}

.main-box .item-box .item-info {
    color: #404040;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-bottom: 1px solid #e6e6e6;
    padding: 0 15px;
}

.main-box .item-box.no-data .no-item {
    height: 90px;
    padding: 5px 20px;
}

.main-box .item-box.no-data .no-item>span,
.main-box .item-box .item-info>span {
    color: #409eff;
}

.no-mapgo>span {
    color: #409eff;
}

.main-box .item-box .item-div {
    min-height: 30px;
    line-height: 30px;
    padding: 0 15px;
    border-bottom: 1px solid #e6e6e6;
    cursor: pointer;
}

.main-box .item-box .item-div:hover {
    background: #ebf5ff;
}

.main-box .item-box .item-div.is-active .suoyin {
    color: #626aef !important;
}


.main-box .item-box .item-div.is-active {
    background: #409eff !important;
    color: #fff;
}

.map-box {
    box-sizing: border-box;
}

.map-info-box {
    box-sizing: border-box;
    padding: 10px 20px;
}

.map-info-go {
    /* border: 1px dashed #409eff;
    box-sizing: border-box;
    padding: 10px 5px; */
    margin-bottom: 10px;
}

.map-info-item {
    border: 1px dashed #409eff;
    box-sizing: border-box;
    line-height: 30px;
}

.map-info-sl {
    font-size: 13px;
    color: #999;
    line-height: 20px;
}


.no-mapgo {
    box-sizing: border-box;
    padding: 20px;
}

.map-route-step {
    padding-left: 12px;
}

/* ==================== 移动端适配 ==================== */
@media (max-width: 768px) {
    .xq-header {
        height: 48px;
        line-height: 48px;
        font-size: 18px;
    }

    .el-aside {
        height: auto !important;
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid #e6e6e6;
        flex: none;
    }

    /* 让 aside(横向菜单) 与 main 纵向排列 */
    .common-layout .el-container > .el-container {
        flex-direction: column;
    }

    .el-main {
        height: auto;
        padding: 10px;
    }

    .aside-bar {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .aside-bar .aside-item {
        height: 40px;
        line-height: 40px;
        padding: 0 16px;
        border-bottom: none !important;
        border-right: 1px solid #e6e6e6;
        white-space: nowrap;
        flex: 1 0 auto;
        text-align: center;
    }

    .main-box {
        height: auto;
        margin-top: 8px;
        display: block;
    }

    .main-box .item-box {
        height: 46vh;
        width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-bottom: 12px;
        float: none;
    }

    .main-box .item-box .item-div {
        min-height: 36px;
        line-height: 36px;
    }

    .search-div {
        padding: 0 10px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .search-div .el-input {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .search-div .el-radio-group {
        width: 100%;
    }
}
