#mapdiv {
    display: none;
    /*width: 100%;*/
    /*height: 600px;*/
    /*border: 1px solid #A9C9E2;*/
    /*position: sticky;*/
    /*top:0;*/
    /*display:block;*/
    /*left:150px;*/
    /*position:fixed;*/
    /*overflow: visible;*/
}

/*#maplet {*/

/*    position: sticky; !* 将 fixed 改为 sticky *!*/
/*   top: 20px; !* 设置粘性定位的触发点，可根据需要调整 *!*/
/*   width: 100%; !* 宽度设为100%，使其充满父容器（.col-sm-6） *!*/
/*   height: 600px; !* 或者考虑使用 max-height: 80vh; 来适应视口高度 *!*/

/*}*/

/*#maphinx {*/
/* position: sticky;*/
/* top: 630px; !* 20px + 600px + 10px间距 *!*/
/*  width: 100%;*/
/*  height: 180px; !* 与textarea高度一致 *!*/
/*  margin-top: 10px; !* 与地图的间距 *!*/


/*}*/
/*#mapinfo {*/

/*  height: 180px;*/
/*  color: saddlebrown;*/
/*  width: 100%;*/

/*}*/


textarea {
    border: 1px solid #0078A8;
    outline: none;
    padding: 0;
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
    background-color: #f4f4f4;
}


/* 左侧固定区域 */
.map-div {
    position: fixed;
    left: 0;

    width: 50%;
    height: 89vh;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    /*padding: 15px; !* 添加内边距 *!*/
    box-sizing: border-box; /* 确保padding不影响总宽度 */
}

/* 地图区域占80%高度 */
#maplet {
    height: 80%;
    background-color: #f0f0f0; /* 可选样式 */
    flex-shrink: 0;
}

/* 地图信息区域占20%高度 */
#maphinx {
    height: 20%;
    flex-shrink: 0;
    margin-top: 10px; /* 与地图的间距 */
}

/* 文本区域样式 */
#mapinfo {
    height: 100%;
    width: 100%;
    border: 1px solid #0078A8;
    background-color: #f4f4f4;
    color: saddlebrown;
    resize: none; /* 禁止调整大小 */
    box-sizing: border-box;
    padding: 10px;
}

/* 右侧可滚动区域 */
.scrollable-content {
    margin-left: 50%;
    height: 89vh;
    overflow-y: auto;
    /*padding: 20px;*/
    box-sizing: border-box;
}

/* Markdown编辑器容器 */
#content-editor-container {
    min-height: auto !important;
    flex-direction: column;
    height: auto !important;
}

#content-editor-container .form-group {
    display: flex;
    flex-direction: column;
    height: auto !important;

}



/* 覆盖 CodeMirror 的默认高度 - 使用更高优先级的选择器 */
#code-editor > .CodeMirror {
    height: auto !important;
    min-height: 200px !important;
}

#code-editor > .CodeMirror.cm-s-eclipse {
    height: auto !important;
    min-height: 200px !important;
}

/*@media (min-width: 576px){*/
/*    .col-sm-6 {*/

/*     width: auto !important;*/
/*}*/
/*}*/


/* 响应式设计：小屏幕适配 */
@media (max-width: 768px) {
    .col-sm-6:first-child {
        position: relative;
        width: 100%;
        height: auto;
    }

    .scrollable-content {
        margin-left: 0;
        height: auto;
        width: 100% !important;
    }

    #maplet {
        height: 300px; /* 移动端固定高度 */
    }

    #maphinx {
        height: 150px; /* 移动端固定高度 */
    }
}

location {
    display: inline;
    /* font-size: 36px; */
    color: #D02090;
    font-weight: bold;
    cursor: crosshair;
}

geofea {
    display: inline;
    /* font-size: 36px; */
    color: #227722;
    /*color: #D2691E;*/
    /*color: #A52A2A	;*/
    /*color: #FF1493;*/
    /*color: #D2691E;*/
    /*color: ForestGreen;*/
    /*color: SeaGreen;*/
    /*color: MediumSeaGreen;*/
    /*color: MediumSeaGreen;*/
    /*color: LightSeaGreen;*/
    /*color: DarkCyan;*/
    font-weight: bold;
    cursor: crosshair;
}

geoname {
    display: inline;
    /* font-size: 36px; */
    color: #227722;
    /*color: #D2691E;*/
    /*color: #A52A2A	;*/
    /*color: #FF1493;*/
    /*color: #D2691E;*/
    /*color: ForestGreen;*/
    /*color: SeaGreen;*/
    /*color: MediumSeaGreen;*/
    /*color: MediumSeaGreen;*/
    /*color: LightSeaGreen;*/
    /*color: DarkCyan;*/
    font-weight: bold;
    cursor: crosshair;
}


.bd-sidebar-primary {

    width: 45%;
    /*scroll-auto: False;*/
    overflow: hidden;
}

/*.bd-sidebar {*/
/*    width: 55%;*/
/*}*/

#navbar-center {
    width: 100%;
}

/* Change the default width of secondary sidebar */
.bd-sidebar-secondary {
    width: 30%;
}

/* Maximum the main content */
.bd-main .bd-content .bd-article-container {
    max-width: 100%;
    /* default is 60em */
}

/* Set full page width  */
.bd-page-width {
    max-width: 100%;
    /* default is 88rem */
}