@charset "UTF-8";

/* 框架页 */
body {
    background: #eee;
}

.pg-head {
    background: #7abaff;
}

.pg-foot {
    background: #7abaff;
    padding: 1em;
    text-align: center;
    font-size: 0.85em;
    color: white;
}

.logo {
    height: 50px;
}

.avatar-sm {
    height: 45px;
    border-radius: 50%;
}

.avatar {
    height: 45px;
    border-radius: 50%;
}

.avatar-lg {
    height: 60px;
    border-radius: 50%;
}

.avatar-full {
    width: 100%;
    border-radius: 50%;
}

.navbar-brand {
    margin-right: 3rem;
}

.nav-link.active {
    font-weight: bold;
}

.search-bar {
    margin-right: 3rem;
    padding: 0.5rem 0;
}

.login-bar {
    display: inline-block;
}

.sc-bar {
    margin-left: auto;
    margin-right: 0.5rem;
}

.sc-item {
    color: white;
    margin: 0 0.2rem;
}

.ulink {
    margin-bottom: 0.5rem;
}

.menu-item1 {
    padding: 0.2rem;
}

.menu-item2 {
    display: block;
    text-indent: 2rem;
    padding: 0.3rem 0;
}

.menu-item2:hover {
    text-decoration: none;
}

.menu-item2.active {
    font-weight: bold;
}

/* 组件 */
a {
    cursor: pointer;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

button:focus {
    outline: 0;
}

.modal-header {
    padding: 0.5rem 1rem;
}

.login-body {
    padding: 1.5rem;
}

.input-menu {
    width: 100%;
}

.custom-file-label::after {
    content: "浏览";
}

.ii-board {
    background: gray;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ii-board-lg {
    width: 100%;
    height: 15rem
}

.ii-board-md {
    width: 100%;
    height: 10rem;
}

.ii-board-sm {
    height: 50px;
    width: 50px;
}

.ii-img {
    pointer-events: none;
}

.ii-clip {
    width: 100%;
    height: 100%;
    position: absolute;
    background: white;
    opacity: 0.5;
    pointer-events: none;
}

.ii-drag {
    position: absolute;
    cursor: move;
    border: dashed 1px white;
    pointer-events: none;
}

.ii-drag-rb {
    position: absolute;
    cursor: nwse-resize;
    width: 10px;
    height: 10px;
    border: solid 1px white;
    background: #eee8;
    pointer-events: none;
}

.file-wrapper {
    position: relative;
}

.input-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
}

article p {
    margin-top: 1rem;
    margin-bottom: 1rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.error {
    color: #721c24;
    background-color: #f8d7da;
    padding: 0.5rem;
    font-size: 0.8rem;
    border-radius: 0.25rem;
}

.success {
    color: #28a745;
    background-color: #d4edda;
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.ico-xl {
    font-size: 5rem;
    margin: 1rem;
}

.card-header h5 {
    margin-bottom: 0;
}

.fcard {
    background: white;
    border-radius: 0.25rem;
    padding: 0.5rem;
    margin: 0.5rem;
    height: calc(100% - 1rem);
}

.fcard-head {
    padding: 0.3rem;
    border-bottom: solid 2px #7abaff;
    display: flex;
    justify-content: space-between;
}

.fcard-title {
    font-size: 1.1rem;
    color: #666;
}

.fcard-body {
    padding: 0.5rem;
}

.list-group-item {
    padding: 0.5rem 1rem 0.3rem 1rem;
}

.nodata {
    background: white;
    border-radius: 0.3rem;
    padding: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: #999;
    text-align: center;
}

.grid {
    background: white;
    color: #666;
    padding: 0 14px;
    border-radius: 0.25rem;
    border: solid 1px #ddd;
    margin-bottom: 1rem;
}

.grid-row {
    border-top: solid 1px #ddd;
    padding: 0.5rem 0;
}

.grid-row:first-child {
    border: 0;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.grid-row:last-child {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

.grid-row:hover {
    background: rgba(0, 0, 0, 0.03);
}

.grid-head {
    font-weight: bold;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.03);
}

.toast-place {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 50%);
}

/* 名言页 */
.say-p1 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.say-p3 {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #999;
}

.say-p4 img {
    max-height: 10rem;
}

.say-bar {
    font-size: 0.9em;
    color: #999;
    margin-top: 0.3rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.say-bar a {
    margin-left: 0.5rem;
}

.say-bar .bi {
    font-size: 1rem;
    margin-right: 0.1rem;
}

.thumb-bar {
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
    margin-top: 1rem;
    color: #666;
}

/* 名人页 */
.notable {
    padding: 0.5rem;
    text-align: center;
}

.notable a {
    color: #000;
}

.notable a:hover {
    color: #09f;
    text-decoration: none;
}

.notable h6 {
    margin-top: 0.5rem;
}

.notable2 dl {
    display: flex;
    color: #666;
    font-size: 0.9rem;
}

.notable2 dd {
    margin-right: 1rem;
}

.notable2 dt {
    font-weight: normal;
    margin-right: 0.5rem;
}

.notable2 .memo {
    color: #666;
    font-size: 0.9rem;
}