.step, .board, .panel {
    height: 730px;
    overflow-y: auto;
}

.main-content {
    font-size: 14px;
    padding: 10px 0 0;
    width: 1280px;
    margin: 0 auto;
}

.main-content-bd {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.board, .step, .toolbar, .panel {
    background: #fff;
}

/********** 保存按钮 **************/
/*
.btn-app-save {
    border-color: #007bff !important;
}

.btn-app-save .iconfont {
    color: #FFF;
}
 */

/**************************************************************************
 * toolbar
 *************************************************************************/
.toolbar {
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
}

.toolbar .iconfont {
    line-height: 1;
}

.toolbar .icon-share {
    font-size: 11px;
    font-weight: bold;
    position: relative;
    top: -1px;
    left: -1px;
}

.toolbar  .btn-group button {
    max-width: 26px;
}

.toolbar-project {
    padding-right: 10px;
    margin-right: 10px;
    border-right: 1px solid #ccc;
}

/*
.toolbar-project .btn {
    padding: .15rem .5rem !important;
    border-color: #ced4da;
    color: #495058;
}

.toolbar-project .btn:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
*/

.toolbar-step .btn-sun {
    font-family: "宋体";
    padding-left: .6rem !important;
    padding-right: .6rem !important;
}

.toolbar-step .btn-copy {
    padding-left: .35rem !important;
    padding-right: .35rem !important;
}

.toolbar-step input[type=text] {
    width: 7em;
}

.toolbar-step i.bi {
    position: relative;
    top: -2px;
}

.toolbar-step input.current {
    border-color: #80bdff;
    /* box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);*/
    outline: 0;
    background: rgba(255, 255, 0, 0.25);

}


/**************************************************************************
 * step
 *************************************************************************/
.step {
    padding-top: 10px;
}

.step dt {
    text-align: center;
    color: #c31212;
}

.step dl {
    margin-bottom: 0;
}

.step dd {
    width: 66px;
    height: 65px;
    padding-top: 6px;
    margin: 5px 10px;
    border-radius: 2px;
    cursor: pointer;
    color: #666;
    text-align: center;
    /* border: 1px solid #ddd; */
}

.step dd span {
    font-size: 24px;
    line-height: 30px;
}

.step dd:hover, .step dd.active {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

/**************************************************************************
 * board
 *************************************************************************/

.board {
    margin: 0 10px;
}

.board-bd {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 720px;
    height: 100%;
    border: 1px solid #eeeeee;
    position: relative;
}

.board-bd a {
    color: #007bff;
}

.board-bd a:hover {
    color: #007bff;
    text-decoration: none;
}

.board-bd .btn {
    padding: 2px 5px;
    font-size: 12px;
}

.board-bd .label-checkbox {
    margin-bottom: 0;
}

.board-bd .label-checkbox input {
    position: relative;
    top: 2px;
    margin-right: 3px;
}

.board-content {
    /* width: 700px; */
    /* height: 700px; */
}

#boardStep1 .board-content {
    width: 550px;
    height: 550px;
}

/* android第一个canvas失效 */
#canvasStepTemp {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    visibility: hidden;
}

.board-content-bt {
    position: absolute;
    text-align: center;
    bottom: 16px;
    width: 720px;
}

.board-content-br {
    position: absolute;
    right: 10px;
    bottom: 30px;
    text-align: center;
}

.board-content-br p {
    margin: 5px 0 0 0;
    text-align: center;
}

.board-content-br .btn-outline-info {
    width: 70px;
}

.board-content-tr {
    position: absolute;
    right: 10px;
    top: 10px;
    text-align: center;
}

.board-content-tl {
    position: absolute;
    left: 10px;
    top: 10px;
    text-align: center;
}

.board-content-bl {
    position: absolute;
    left: 10px;
    bottom: 30px;
}

.form-control-IsSignalControl {
    font-size: 13px;
    padding: 3px 4px;
}

#adaptive {
    align-self: center;
    width: 550px;
    height: 550px;
    margin: 0 auto;
}

/**************************************************************************
 * sidebar
 *************************************************************************/
.sidebar {
    position: absolute;
    top: 10px;
    right: 10px
}

.sidebar ul, .sidebar li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    border: 1px solid #E8E8E8;
    border-radius: 3px;
    background: #F4F4F4;
    min-width: 24px;
    min-height: 24px;
    line-height: 24px;
    margin-bottom: 4px;
    text-align: center;
    color: #A2A2A2;
    cursor: pointer;
}

.sidebar li:hover, .sidebar li.active {
    background: #EE592C;
    color: #FFF;
    border-color: #F4F4F4;
}

.sidebar li.color-picker:hover {;
    background: #F4F4F4;
}

.sidebar input[type="color"] {
    width: 24px;
    cursor: pointer
}

/**************************************************************************
 * panel
 *************************************************************************/
.panel {
    font-size: 12px;
    padding: 8px 10px 5px 10px;
    width: 450px;
    position: relative;
}

.panel.overlay-y {
    overflow-y: overlay;
}

.panel h3 {
    color: red;
    font-size: 14px;
    margin-bottom: 3px;
}

.panel h3 span {
    color: #212529;
    font-weight: normal;
    font-size: 12px;
}

.panel-step3 h3 {
    margin: 5px 0;
}

.panel select {
    padding-left: 0;
}

.panel .label-checkbox {
    margin-bottom: 0;
}

.panel .label-checkbox input {
    position: relative;
    top: 2px;
    margin-right: 3px;
}

.panel input[type=text], .panel input[type=number], .panel input[type=range], .panel select, .step select {
    padding: 2px 4px;
    width: 80px;
    border: 1px solid #ced4da;
    border-radius: 2px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.panel input[type=range] {
    padding: 0;
    position: relative;
    top: 5px;
}

.panel input:focus, .panel select:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, .25);
}

.panel input:disabled, .panel select:disabled {
    background: #e7e7e7;
}

.panel .td-checkbox {
    padding: 4px 1px 2px;
}

/*在谷歌下移除input[number]的上下箭头*/
.flowNum input[type='number']::-webkit-outer-spin-button,
.flowNum input[type='number']::-webkit-inner-spin-button,
.table-form-phf input[type='number']::-webkit-outer-spin-button,
.table-form-phf input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
}

/*在firefox下移除input[number]的上下箭头*/
.flowNum input[type="number"],
.table-form-phf input[type="number"] {
    -moz-appearance: textfield;
}

/**************************************************************************
 * panelStep2
 *************************************************************************/
#panelStep2 .btn-sm, #panelStep4 .btn-sm {
    font-size: 12px;
    line-height: 1.2;
    padding: 0.15rem 0.4rem 0.2rem;
}

/**************************************************************************
 * panel-shader
 *************************************************************************/
.panel-shader {
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.6);
    /*width: 380px;*/
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-shader button {
    min-width: 100px;
}

/**************************************************************************
 * table-form-design
 *************************************************************************/
.table-form-design {
    width: 99%;
}

.table-form-design h3 {
    margin: 1px 0 0 0;
}

.table-form-design td {
    padding: 1px 0;
    vertical-align: middle;
}

.table-form-design th {
    padding: 2px 1px 2px 8px;
    font-weight: normal;
    vertical-align: middle;
    text-align: right;
}

.table-form-design th:first-child {
    padding-left: 0;
}

.table-form-design th:after {
    content: ":";
    position: relative;
    top: -.5px;
    margin: 0 8px 0 2px;
}

.table-form-design small {
    font-size: 12px;
    margin-left: 4px;
}

.table-form-design small.sbtn {
    color: #007bff;
    cursor: pointer;
}

.table-form-design .iconfont {
    color: #444;
    position: relative;
    top: 1px;
}

.table-form-design .iconfont.active {
    color: #EE592C;
}

.table-form-design .icon-lock {
    cursor: pointer;
}

.table-form-design .icon-lock:hover {
    background: #e7e7e7;
}

.table-form-design .relief-td:hover {
    background-color: #cce5ff;
    cursor: pointer;
}

.table-form-design input[type=checkbox] {
    margin-left: 2px;
    position: relative;
    top: 2px;
}

.table-form-design label {
    margin: 0;
}

/**************************************************************************
 * table-form-phf
 *************************************************************************/

.table-form-phf {
    width: 100%;
}

.table-form-phf th, .table-form-phf td {
    text-align: center;
    padding: 2px;
}

.table-form-phf tr.current {
    background: #cce5ff;
}

.table-form-phf input[type=number] {
    width: 3.6rem;
}

.table-form-phf small {
    margin-left: 3px;
}

/**************************************************************************
 * phase-vector
 *************************************************************************/
.phase-vector canvas {
    border: 1px solid #CCC;
    margin-right: 5px;
    cursor: pointer;
}

.phase-vector p {
    margin-bottom: 2px;
}

.phase-vector b {
    font-size: 14px;
    color: red;
    margin-right: 3px;
}

.phase-vector div {
    margin-bottom: 4px;
}

.phase-vector .left {
    float: left;
}

.phase-vector .right {
    float: right;
    margin-right: 15px;
}

.phase-vector .auto-time {
    clear: both;
}

/**************************************************************************
 * table-form-phases
 *************************************************************************/

.table-form-phases {
    width: 100%;
}

.table-form-phases th, .table-form-phases td {
    font-size: 12px;
    padding: 3px 2px;
    text-align: center;
}

.table-form-phases select {
    width: 50px;
}

.table-form-phases input {
    width: 50px;
}

.table-form-phases input:focus {
    background: rgba(255, 255, 0, 1);
}

.table-form-phases tr.current {
    background: #cce5ff;
}

/**************************************************************************
 * flowNum-arrow
 *************************************************************************/
.flowNum dl {
    float: left;
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.flowNum dt {
    border: 1px solid #CCC;
    width: 51px;
    height: 51px;
}

.flowNum dd {
    margin-left: 8px;
}

.flowNum dl:nth-child(odd) {
    margin-left: 10px;
}

.flowNum dl:nth-child(even) {
    margin-left: 60px;
}

.flowNum canvas {
    width: 50px !important;
    height: 50px !important;
}

/*********************************************************
 * 对比分析部分
 ********************************************************/
.panel-topbar {
    margin-bottom: 10px;
}

.panel-export {
    text-align: center;
    margin-top: 1rem;
}

.panel-export-close {
    margin-top: 200px;
}

.panel-charts {
    position: relative;
}

.panel-charts h3 {
    margin: 5px 0;
}

.panel-charts th, .panel-charts td {
    padding: 3px;

}

.panel-charts th {
    font-weight: normal;
    text-align: right;
}

.panel-charts th:after {
    content: ":";
    position: relative;
    top: -.5px;
    margin: 0 8px 0 2px;
}

/*********************************************************
 * #arrowBox
 ********************************************************/

#arrowBox {
    text-align: center;
}

#arrowBox .modal-body {
    display: flex;
    justify-content: space-around;
    padding: 5px 0 5px 5px;
}

#arrowBox p {
    background-color: #A2A2A2;
    margin: 10px 0px;
    padding: 5px 2px;
    border-radius: 2px;
}

#arrowBox p:hover {
    background-color: #5cb85c;
}

#arrowBox img {
    width: 25px;
    height: 50px;
}

/*************************************
 * #saveImageBox
 ************************************/
#saveImageBox .modal-body {
    text-align: center;
}

#saveImageBox .modal-body .btn {
    margin: 0 30px 10px 30px;
    width: 6rem;
}

#saveImageBox .modal-body p {
    margin: 10px 0;
}

#saveImageBox .modal-body span {
    position: relative;
    margin-left: 40px;
    left: 13px;
}

/*************************************
 * other
 ************************************/
.hidden {
    visibility: hidden;
}

.simsun {
    font-family: "宋体";
}


/*************************************
 * map.css
 ************************************/
.btn-toggle-down {
    color: #FFF;
    padding-left: 5px;
    padding-right: 5px;
}

.btn-toggle-down .iconfont {
    font-size: 12px;
}

.map-content {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.main-content {
    position: relative;
    z-index: 99;
}

.map-model {
    opacity: 0.85;
    z-index: 99;
}

.map-project-list {
    position: absolute;
    right: 10px;
    top: 80px;
    font-size: 14px;
    padding: 10px;
    background: #FFF;
    opacity: 0.9;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    max-width: 290px;
}

.map-project-list input {
    position: relative;
    top: 3px;
}

.toolbar-close {
    position: absolute;
    right: 10px;
    top: 16px;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

.toolbar-close:hover {
    font-weight: bold;
}


.marker-info {
    padding: 15px 10px;
}

.marker-info h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.marker-info p {
    margin: 0;
}

.marker-info .btn-sm {
    font-size: 12px;
    line-height: 1.2;
    padding: 0.2rem 0.5rem 0.25rem;
}

.amap-info {
    opacity: 0.9;
}

.map-search {
    display: none;
    position: absolute;
    left: 15px;
    top: 76px;
    width: 260px;
    padding: 5px;
    background: #FFF;
    border-radius: 4px;
    opacity: 0.9;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.map-search img {
    height: 20px;
}

.map-box-shadow {
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}


/*****************************************
 * .table-flow-num-canvas
 *****************************************/
.table-flow-num-canvas {
    border: 1px solid #ced4da;
    margin: 0 auto;
}

.table-flow-num-canvas tr.current th {
    background: #cce5ff;
}

.table-flow-num-canvas td, .table-flow-num-canvas th {
    text-align: center;
    line-height: 1;
    border: 1px solid #ced4da;
}

.table-flow-num-canvas td {
    padding: 0 !important;
}

.table-flow-num-canvas th {
    padding: 5px;
}

.table-flow-num-canvas div {
    border-bottom: 1px solid #ced4da;
}

.table-flow-num-canvas canvas {
    width: 40px !important;
    height: 40px !important;
}

.table-flow-num-canvas input {
    width: 50px !important;
    text-align: center !important;
    border: none !important;
    border-radius: 0 !important;
}

.table-flow-num-canvas input:focus {
    outline: 0 !important;
    box-shadow: none;
    background: rgba(255, 255, 0, 1);
}

/**************************************************************************
 * toolbar
 *************************************************************************/
/* menu-phase */
.menu-phase {
    display: none;
    position: fixed;
    left: 400px;
    top: 200px;
    z-index: 1000;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 13px;
    width: 120px;
    border-radius: 2px;
    box-shadow: 0px 0px 8px #999;
}

.menu-phase p {
    margin: 0;
    padding: 4px 10px;
    border-bottom: 1px solid #ddd;
}

.menu-phase p:last-child {
    border: none;
}

.menu-phase p:hover {
    color: red;
    background: #eee;
    cursor: pointer;
}

.menu-phase p.disabled {
    background: #ddd;
    color: #bbb;
    cursor: not-allowed;
}

/* modal-ShowBigImg */
.modal-ShowBigImg .modal-body {
    padding: 10px;
}

.modal-ShowBigImg .modal-footer {
    justify-content: center;
    padding: 5px 10px;
}

.modal-ShowBigImg .modal-body div {
    margin: 0 auto;
}

#canvasBigPhase, #canvasBigPhase canvas {
    width: 550px;
    height: 550px;
}

#PhaseMenuShowBigPhaseModal .modal-dialog {
    width: 570px;
}

/*********************************
 * embed
 ********************************/


.btn-embed {
    position: absolute;
    right: 50px;
    top: 20px;
}

/* .board-embed */
.board-embed {
    box-shadow: none;
}

.board-embed .board-bd {
    border: none;
}

.board-embed .sidebar, .board-embed .board-content-br, .board-embed .board-content-tl {
    visibility: hidden;
}

/* .toolbar-embed */
.toolbar-embed {
    box-shadow: none;
}

.toolbar-embed .toolbar-step, .toolbar-embed .toolbar-project, .toolbar-embed .toolbar-close {
    visibility: hidden;
}