
.icon {
    width: 1em;
    height: 1em;
    fill: currentcolor;
    display: inline-block;
    vertical-align: -.125em;
}
.svg-icon,
.svg-icon-sm,
.svg-icon-md {
    fill: currentcolor;
}
.svg-icon {
    width: 26px;
    height: 26px;
}
.nav-link.active .svg-icon,
.nav-link.active .svg-icon-sm,
.nav-link.active .svg-icon-md {
    /* fill: #343a40; */
}
.svg-icon-sm {
    width: 22px;
    height: 22px;
}
.svg-icon-md {
    width: 40px;
    height: 40px;
}
.collapsed .svg-icon {
    /* fill: #007bff; */
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}
.sidebar .svg-icon {
    padding: 3px;
}

.custom-file-label::after {
    content: '浏览'!important;
}

legend.required:after,
label.required:after {
    content: '*';
    color:red
}

.small-box .icon {
    position: absolute;
    padding: 20px;
    top: 0;
    right: 0;
}
.small-box svg {
    width: 60px;
    height: 60px;
    fill: rgba(0,0,0,.3);
    transition: all .3s linear;
}
.small-box:hover svg{
    width: 80px;
    height: 80px;
}
.info-box {
    transition: all .3s linear;
}
.info-box svg {
    width: 30px;
    height: 30px;
    transition: all .3s linear;
}
.info-box:hover {
    background-color: #ccc;
}
.info-box:hover svg {
    width: 40px;
    height: 40px;
}
pre {
    border: 1px solid #666;
    padding: 6px;
    background-color: rgba(0,255,0,.02);
}
.rich-text img {
    max-width: 100%;
    height: auto !important;
}
.text-rainbow {
    color: #000;
    line-height: .7rem;
    text-align: left;
    background: -webkit-linear-gradient(0deg,#00e4cb,#00c9f6 22%,#7b75eb 70%,#f986ef 99%);
    background-clip: text;
    -webkit-background-clip: text;
    -moz-animation-name: rgba(0,0,0,0);
    -webkit-text-fill-color: rgba(0,0,0,0);
}

.card-full {
    z-index: 10000;
    height: 100vh;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
}

.card-full .card-body {
    overflow: scroll;
}

.img-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.img-fill {
    width:100%;
    height:100%;
    object-fit: fill;
}
.img-cover {
    width:100%;
    height:100%;
    object-fit: cover;
}
.img-none {
    width:100%;
    height:100%;
    object-fit: none;
}
