* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

:root{
    --main-color3 : #2563eb;
    /* --main-color : #a29bfe; */
    --main-color : #2563eb;
    --secondary-color: #4b5563;
    --border-color : #ced4da;
}


a {
    text-decoration: none !important;
}

p {
    margin: 0;
}

svg {
    vertical-align: middle;
}

li {
    list-style-type: none;
}

body {
    background-color: #e6eaee;
    background-color: #ffffff !important;
    background-color: #f8f8f8 !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    min-width: 320px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
}
input[type="number"]{
  -moz-appearance: textfield;
}
.form-control:focus{
    border-color:#ced4da;
    webkit-box-shadow:none;
    box-shadow:none;
}


@media (max-width: 996px) {
    .navbar .container {
        padding: 0;
    }
    .container, .container-md, .container-sm {
        max-width: 95%;
    }
}


.btn-primary {
    background: linear-gradient(to right, #2563eb 0%, #14b8a6 100%);
    background: linear-gradient(to right, #14b8a6 0%, #2563eb 100%);
    border: 0;
}

.btn:hover, .btn:focus, .btn:active, .btn:visited {
    outline: none;
    box-shadow: none !important;
}


/* <!-- 导航 --> */
.navbar {
    background-color: #ffffff !important;
    background-color: #f8f8f8 !important;
    border-bottom: 1px solid #ececec;
    border: 0;
    padding-top: 1.2rem;
}
.navbar-nav .active>.nav-link {
    background-color: #f8f9fb;
    border-radius: 5px;
}
.navbar-brand {
    margin-right: 0;
}
.navbar-nav .nav-login {
    min-width: 80px;
    text-align: right;
}

.navbar-nav:first-child .nav-item:hover {
    background-color: #f8f9fb;
    border-radius: 5px;
}
.navbar-nav:first-child .nav-item:hover a {
    color: #007bff;
}


@media (max-width: 768px){
    .navbar .navbar-collapse.active {
        left: 0;
    }
    .navbar .navbar-collapse-bg {
        position: fixed;
        top: 0;
        overflow: hidden;
        z-index: 9998;
        background: transparent;
        height: 100vh;
        width: 100%;
        display: block;
        background-color: rgb(0, 0, 0);
        opacity: 0.3;
    }
    .navbar .navbar-collapse .nav-link {
        color: #ffffff;
        padding-left: 15px;
    }
    .navbar .navbar-collapse {
        position: fixed;
        top: 0;
        overflow: auto;
        z-index: 9999;
        background: #393d49;
        box-shadow: 10px 0 10px rgb(0 0 0 / 6%);
        max-height: inherit;
        height: 100vh;
        transition: .5s;
        width: 250px;
        display: block;
        padding-right: 15px;
        padding-left: 15px;

        left: -280px;
        margin-right: 0;
    }

    .classify-box {
        white-space: nowrap;
        overflow-x: auto;
        margin-right: 0 !important;
    }
    .classify-box::-webkit-scrollbar {
        width: 0px;
        height: 0px;
        scrollbar-width: none;
        -ms-overflow-style: none; 
    }

}

@media (max-width: 576px) {
    .navbar .navbar-collapse.active {
        left: 0;
    }
}



.logo-bg {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: bold;
    color: transparent !important;
    background: linear-gradient(to right, #2563eb 0%, #14b8a6 100%);
    -webkit-background-clip: text;
}

.logo-bg img{
    width: 32px;
    height: 32px;
}

@keyframes gradient {
    0% {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

.main-box {
    flex: 1;
}


/* <!-- 查询 --> */
.sereach-box {
    margin-top: 30px
}

.sereach-box input{
    width: auto;
}


/* <!-- 页脚 --> */
.footer {
    color: #1a1718;
    /* background-color: #eeeeee;
    border-top: 1px solid #ececec; */
    /*padding: 1rem;*/
    text-align: center;
    font-size: .875rem;
    line-height: 1.25rem;
    width: 100%;
}
.footer p{
    margin: 0;
}
.footer a{
    color: #1a1718;
}
.footer a:hover{
    color: var(--main-color);
}

/* <!-- 富文本编辑器 --> */
.CodeMirror-activeline-background {background: #e8f2ff;}
.CodeMirror-activeline-background {background: #ffffff !important;}

.editormd .CodeMirror-selected {
    background: #f6f6f6 !important;
}
.editormd .CodeMirror-focused .CodeMirror-selected {
    background: #f6f6f6 !important;
}
.cm-s-default .cm-link {
    color: #000 !important;
    text-decoration: none !important;
}

/* <!-- 紫色按钮 --> */
.btn-puuluu {
    color: #ffffff;
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
}
.btn-puuluu:hover {
    background: var(--main-color);
}
.btn-outline-puuluu {
    color: var(--main-color);
    border: 1px solid var(--main-color);
}
.btn-outline-puuluu:hover {
    color: #ffffff;
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
}


/* <!-- 数据为空 --> */
.empty-box {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
}

/* 通用详情页面内容 */
.describe-box h2,.describe-box h3  {
    color: #202a37;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.3333333;
    margin-bottom: 1em;
    margin-top: 2em;
}
.describe-box p {
    margin-bottom: 20px;
}
.describe-box .ad{
    cursor: pointer;
}
.describe-box ul{
    list-style-type: disc;
    margin-bottom: 1.25em;
    margin-top: 1.25em;
    padding-inline-start: 1.625em;
}
.describe-box ul li{
    padding-inline-start: 0.375em;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    display: list-item;
    list-style: disc;
}
.describe-box ol {
    list-style-type: decimal;
    margin-bottom: 1.25em;
    margin-top: 1.25em;
    padding-inline-start: 1.625em;
}
.describe-box ol li {
    padding-inline-start: .375em;
    margin-bottom: .5em;
    margin-top: .5em;
    list-style-type: decimal;
}
.describe-box code {
    font-size: inherit;
    color: inherit;
    word-break: normal;
    padding: 10px;
    border: 1px solid #ddd;
    white-space: pre-wrap;
    word-wrap: break-word;
    COLOR: #FFF;
    background-color: #333333;
    DISPLAY: block;
    padding-left: 2em;
}
.describe-box strong {
    color: rgb(0, 0, 0, 0.5);
}
::marker {
    color: rgb(0, 0, 0, 0.5);
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
    text-transform: none;
    text-indent: 0px !important;
    text-align: start !important;
    text-align-last: start !important;
}