/*
 * 迷你书签（书签页/新标签页）专属样式
 * 移植自 OneNav 4.1602 css/style.css ## user bookmark 段 + 工具类
 * 仅在书签页（is_bookmark）加载
 */


/*--------------------------------------------------------------
## user bookmark
--------------------------------------------------------------*/
.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    background-color: rgba(0, 0, 0, .5)
}

.ub-blur-bg {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px)
}

.user-bookmark-body .canvas-bg {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    border-width: 0
}

.user-bookmark-body .navbar {
    padding: 2rem 1rem
}

.user-bookmark-body .navbar .bookmark-ico {
    font-size: 1.75em
}

/* 书签页导航菜单：4.x 主样式用 .navbar-menu{margin-left:auto} 把菜单推到右侧，
   5.x 已彻底不用这个类名（CSS 里零条规则），书签页要自己补回，否则设置/会员图标全跑到左边 */
.navbar-menu {
    flex-direction: row;
    margin-left: auto;
    align-items: center
}

/* 会员头像下拉：同样是 4.x 有、5.x 主样式已无的规则（头像尺寸 + 下拉缩放动画） */
.navbar-menu .dropdown-menu {
    display: block;
    border: unset;
    box-shadow: 0 5px 20px 0px rgba(0, 0, 0, .15);
    border-radius: .25rem;
    overflow: hidden;
    opacity: 0;
    transform-origin: 100% 0 0;
    pointer-events: none;
    transform: scale(0);
    transition: all 500ms cubic-bezier(0, .5, .2, 1)
}

.navbar-menu .dropdown-menu.show {
    opacity: 1;
    transform: scale(1);
    display: block;
    pointer-events: auto
}

.dropdown-item:hover {
    background-color: rgba(136, 136, 136, .1)
}

.nav-login-user {
    position: relative
}

.nav-login-user .user-ico img {
    width: 28px;
    height: 28px;
    border-radius: 100%
}

.user-bookmark-body .header-big {
    margin-top: 0
}

.user-bookmark-body .header-big {
    padding-top: 100px
}

.user-bookmark-body .quick-sites {
    margin-top: -70px
}

.user-bookmark-body .bookmark-content {
    margin-top: 147px
}

.text-primary{
    color: #2997f7;
}

.text-success{
    color: #5c7cff;
}

.text-danger{
    color: #f1404b;
}

.text-warning{
    color: #ff6f06;
}

.text-info{
    color: #35badb;
}

@media (min-width:576px) {
    .user-bookmark-body .quick-sites .container {
        max-width: 460px
    }
}

@media screen and (min-width:768px) {
    .user-bookmark-body .quick-sites {
        margin-top: -100px
    }

    .user-bookmark-body .header-big {
        padding-top: 190px;
        padding-bottom: 110px
    }

    .user-bookmark-body .bookmark-content {
        margin-top: 256px
    }

    .user-bookmark-body .quick-sites .container {
        max-width: 660px
    }
}

.user-bookmark-body .quick-sites .sites-icon {
    align-items: center;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    flex-shrink: 0;
    height: 50px;
    justify-content: center;
    width: 50px
}

.user-bookmark-body .quick-sites .sites-icon img {
    height: auto;
    width: 26px;
    transition: .2s
}

.user-bookmark-body .quick-sites .sites-btn:hover .sites-icon img {
    width: 34px
}

.user-bookmark-body .quick-sites .sites-title {
    background-color: rgba(175, 175, 175, .2);
    color: #fff;
    border-radius: 20px
}

.quick-sites .row {
    height: 200px;
    overflow: hidden
}

.user-bookmark-body .customize-sites-list .card {
    background: rgba(255, 255, 255, .7)
}

.user-bookmark-body .sites-pane {
    position: relative;
    background: rgba(0, 0, 0, .2);
    padding: 2rem 1rem 1rem 1rem;
    border-radius: .25rem;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px)
}

.user-bookmark-body footer a {
    color: #ddd
}

.user-bookmark-body footer a:hover {
    color: #fff
}

.bookmark-bg {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh
}

.bookmark-bg .img-bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #242424;
    height: 100%;
    margin: 0;
    opacity: 1;
    padding: 0;
    position: absolute;
    transition: opacity .5s ease 0s;
    width: 100%
}

.gradient-linear {
    background-attachment: fixed;
    background-image: radial-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .5) 100%), radial-gradient(rgba(0, 0, 0, 0) 33%, rgba(0, 0, 0, .3) 166%), linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0% 75%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .4) 100%);
    background-position-y: top;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    opacity: 1;
    position: absolute;
    transition: opacity .3s linear;
    width: 100%
}

.user-bookmark-body .sites-pane .ct-name {
    position: absolute;
    color: rgba(255, 255, 255, .3);
    top: 8px;
    font-size: .75rem
}

.sites-tabs-container {
    flex-direction: row;
    position: absolute;
    background: rgba(0, 0, 0, .2);
    z-index: 10;
    top: -66px;
    width: calc(100% - 30px);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px)
}

.sites-tabs-container-top {
    position: fixed;
    width: 100%;
    height: 140px;
    left: 0;
    right: 0;
    top: 0px;
    background: rgba(0, 0, 0, .35);
    border-radius: 0 !important
}

.sites-tabs-btn {
    width: calc(100% - 50px);
    overflow: hidden
}

.sites-tabs-container-top .container-lg {
    padding-left: 30px;
    padding-right: 30px
}

.sites-tabs a {
    position: relative;
    color: #fff
}

.sites-tabs a.hide {
    opacity: 0;
    pointer-events: none
}

.sites-tabs a::before {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, .2);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    transform: scale(1);
    opacity: 0;
    transition: .3s
}

.sites-tabs a:hover:before {
    transform: scale(.8);
    opacity: 1
}

.sites-btn-dropdown-list {
    max-height: calc(100vh - 256px);
    overflow-y: auto
}

.sites-tab-slider {
    position: absolute;
    bottom: -3px;
    height: 6px;
    border-radius: 10px;
    background: #f1404b;
    transition: left .3s ease
}

.seting-panel {
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(500px);
    height: 100vh;
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, .8);
    opacity: 0;
    transition: all 800ms cubic-bezier(.8, 0, .33, 1)
}

.seting-panel.seting-open {
    transform: translateX(0px);
    opacity: 1
}

.seting-container {
    transform: translateX(100px);
    opacity: 0;
    transition: all 1000ms cubic-bezier(.9, 0, .33, 1)
}

.seting-panel.seting-open .seting-container {
    opacity: 1;
    transform: translateX(0px)
}

.img-radio .label-img {
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 4px solid #b6b6b6;
    width: 100%;
    height: 90px
}

.img-radio input[type="radio"] {
    display: none
}

.img-radio input[type="radio"]+.label-img {
    cursor: pointer;
    transition: .3s
}

.img-radio input[type="radio"]:checked+.label-img {
    border: 4px solid #f1404b
}

.user-bookmark-body .author-info .avatar-body {
    display: inline-block;
    min-height: 92px;
    min-width: 92px
}

/* 书签页页脚悬浮小工具栏：4.x 用 #footer-tools 做定位，5.x 主样式已改用 .tools-right 类、
   删掉了 #footer-tools 的全部规则，此处按 4.x 补回（bm.footer 用 5.x 的 io-footer-tools 类接回滚动显隐/回顶 JS） */
#footer-tools {
    position: fixed;
    bottom: 20px;
    right: 10px;
    display: flex;
    z-index: 5
}

#footer-tools .btn {
    color: #555;
    background: rgba(210, 210, 210, .5);
    width: 40px;
    height: 40px;
    font-size: 1rem;
    text-align: center;
    line-height: 40px;
    padding: unset;
    display: block;
    border: unset
}

#footer-tools .go-up {
    display: none
}

#footer-tools .btn:hover {
    color: #333
}

@media screen and (max-width: 767.98px) {
    #footer-tools {
        bottom: 15px;
        right: 5px
    }
}

.flex-none {
    flex: none
}

.overflowClip_1 {
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical
}

.overflowClip_1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block
}

.icon-2x {
    font-size: 2rem
}

.icon-3x {
    font-size: 3rem
}

.icon-4x {
    font-size: 4rem
}

.icon-5x {
    font-size: 5rem
}


