
/* 操作适配
-------------------------------------------------- */

.page-body-wrapper {
    min-height: calc(100vh - 60px);
    padding-top: 60px; /*影响页面滚动条*/
}

.sidebar {
    min-height: calc(100vh - 60px); /*影响页面滚动条*/
}

.sidebar-icon-only .sidebar .nav .nav-item .align-items-center {
    display: none;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.dropdown-menu-custom-width {
    width: 100vw;
    margin-left: auto;
    margin-right: auto;
}

.dropdown-menu-custom {
    position: absolute !important;
    width: 100vw !important;
    left: 0 !important;
    transform: translateX(0) !important;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.pointer {
    cursor: pointer;
}

/* Sticky footer styles
-------------------------------------------------- */


.bg-card-body-user {
    background: #fff;
}

.bg-card-body-assistant {
    background: #eee;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

/*body {*/
/* Margin bottom by footer height */
/*margin-bottom: 60px;
}*/

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 30px; /* Vertically center the text there */
}

#back-top {
    position: fixed;
    bottom: 60px;
    right: 2%;
    z-index: 100;
}

#back-end {
    position: fixed;
    bottom: 20px;
    right: 2%;
    z-index: 100;
}

option:hover {
    background-color: #f5f5f5; /* 鼠标悬停时的背景色 */
    color: green; /* 鼠标悬停时的字体颜色 */
    cursor: pointer; /* 鼠标悬停时的光标样式 */
}

/* message box */

#message_box_outside {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translate(-50%, -50%);
    /* 50%为自身尺寸的一半 */
    z-index: 2000;
}

.message_box_inside {
    margin-top: 10px;
    color: white;
    min-height: 40px;
    min-width: 200px;
    border-radius: 10px;
}

.message_box_success {
    background: #67C23A;
}

.message_box_error {
    background: #F56C6C;
}

.message_box_warning {
    background: #E6A23C;
}

.message_box_info {
    background: #909399;
}

.message_box_default {
    background: #909399;
}

.cc-display {
    justify-content: center;
    align-items: center;
    display: flex;
    display: -webkit-flex;
}
