* {
    margin: 0;
    padding: 0;
}

*:focus {
    outline: none;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: Helvetica;
}

.loading {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, .2);
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 50px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid #000;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #448AFF transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    
    100% {
        transform: rotate(360deg);
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    display: flex;
    z-index: 999;
    border-bottom: 1px solid #ebebeb;
    background-color: rgba(255, 255, 255, .98);
    animation: Titlebar .3s ease;
}

@keyframes Titlebar {
    from {
        transform: translateY(-60px);
    }
    
    to {
        transform: translateY(0);
    }
}

.header-icon {
    flex: 0 0 auto;
    width: 50px;
    height: 100%;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.header-icon svg {
    fill: #000;
    width: 22px;
    height: 22px;
}

.header-title {
    color: rgba(0, 0, 0, .95);
    width: 100%;
    height: 100%;
    display: flex;
    padding: 0 8px;
    font-size: 14.6px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    letter-spacing: .1em;
}

.main {
    padding: 51px 0;
    animation: main-animation .3s ease;
}

@keyframes main-animation {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    height: fit-content;
    margin: 15px;
    padding: 15px;
    overflow: hidden;
    background: #fff;
    border: .5px solid #ebebeb;
    border-radius: 5px;
    box-shadow:  6px 6px 16px #d6d6d6, -6px -6px 16px #ffffff;
    animation: card-start-animation .5s ease;
}

@keyframes card-start-animation {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card .card-head {
    height: 35px;
    display: flex;
    overflow: hidden;
    border-radius: 5px;
}

.card .card-head .card-title {
    display: flex;
    width: 100%;
    height: 100%;
    color: rgba(0, 0, 0, .9);
    font-size: 14px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    letter-spacing: .1em;
    overflow: hidden;
    white-space: nowrap;
}

.card .card-head .card-title font {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card .card-head .card-status {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 10px;
    gap: 5px;
}

.card .card-head .card-status > span {
    display: flex;
    height: 20px;
    padding: 0 8px;
    color: rgba(0, 0, 0, .75);
    font-size: 11px;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background-color: #e0e0e0;
}

.card .card-head .card-status > span.normal {
    color: #fff;
    background-color: #02DF82;
}

.card .card-head .card-status > span.maintenance {
    color: #fff;
    background-color: #fcc84a;
}

.card .card-head .card-status > span.error {
    color: #fff;
    background-color: red;
}

.card .card-body {
    overflow: hidden;
}

.card .card-body .card-desc {
    color: rgba(0, 0, 0, .8);
    font-size: 13px;
    min-height: 3em;
    line-height: 1.5em;
    letter-spacing: .1em;
}

.card-button-container {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.card button {
    padding: 6px 12px;
    color: #448AFF;
    font-size: 13px;
    border: .5px solid #eee;
    border-radius: 3.5px;
    margin-top: 8px;
    background: white;
    transition: color .5s, background .5s;
}

.card button:focus,
.card button:active {
    color: #BFBFBF;
    background: #f6f6f6;
}

.card-button-container.btn-block {
    display: block;
    overflow: hidden;
}

.card-button-container.btn-block button {
    display: block;
    width: 100%;
}

.mask-modal {
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    left: 0;
    opacity: 1;
    top: 0;
    visibility: visible;
    width: 100%;
    z-index: 9999;
    position: fixed;
    -webkit-transition: visibility 0 linear 0.4s, opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: visibility 0 linear 0.4s, opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 240px;
    z-index: 9999;
    overflow: hidden;
    background: white;
    box-shadow: none;
    transition: .3s;
    transform: translateX(-100%);
}

.sidebar.open-sidebar {
    transform: translateX(0);
    box-shadow: 0px 0px 5px rgba(0,0,0,0.08);
}

.sidebar-header {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.sidebar-header img {
    width: 100%;
    height: 100%;
    background-color: #f6f6f6;
}

.sidebar-header p {
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: #fff;
    font-size: 13.5px;
}

.sidebar-scroll {
    height: calc(100% - 240px);
    overflow: scroll;
    margin-top: 7px;
}

.sidebar-main {
    overflow-y: scroll;
    overflow-x: hidden;
}

.sidebar-footer {
    height: 80px;
    padding: 10px;
}

.sidebar-footer p {
    color: rgba(0, 0, 0, .75);
    font-size: 12.5px;
    line-height: 1.5em;
}

.nav-item a {
    width: 100%;
    color: rgba(0, 0, 0, .75);
    font-size: 13.5px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    margin: 3px 0;
    transition: .3s;
}

.nav-item.active a {
    color: #448AFF;
    background-color: rgba(68, 138, 255, .1);
}

.nav-item a i {
    display: block;
    width: 40px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.doc-head {
    padding: 50px 15px;
    text-align: center;
    background-color: #448AFF;
}

.doc-head h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 650;
}

.doc-head p {
    color: #fff;
    font-size: 14px;
}

.url {
    word-break: break-all;
    cursor: pointer;
    margin-left: 5px;
    color: #777;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #5FB878;
}

.simpleTable {
    line-height: 20px;
    padding-bottom: 16px;
}

.linep {
    font-size: 14px;
    font-weight: 700;
    color: #555;
    padding-left: 14px;
    height: 16px;
    line-height: 16px;
    margin-bottom: 18px;
    position: relative;
    margin-top: 15px;
}

.linep:before {
    content: '';
    width: 4px;
    height: 16px;
    background: #00aeff;
    border-radius: 2px;
    position: absolute;
    left: 0;
    top: 0;
}

.scroll {
    overflow: scroll;
    overflow-x: scroll;
    overflow-y: scroll;
}

img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.rb-menu {
    position: fixed;
    overflow: hidden;
    right: 0;
    bottom: 20px;
    z-index: 99;
    max-width: 70px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 0 7px;
}

.rb-menu a {
    display: flex;
    width: 40px;
    height: 40px;
    margin: 3px 0;
    border: 1.2px solid #efefef;
    border-radius: 3px;
    background: #f6f6f6;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: .3s;
    animation: RBMenu-item .3s ease;
}

@keyframes RBMenu-item {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.rb-menu a[switch] {
    position: relative;
    transition: .3s;
}

.rb-menu a[switch]:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 8px;
    height: 8px;
    border: 1.2px solid #e0e0e0;
    border-right: none;
    border-bottom: none;
    background-color: #eee;
    transition: .3s;
}

.rb-menu a[switch="on"]:after {
    background-color: #448AFF;
}

.rb-menu a svg {
    width: 28px;
    height: 28px;
    fill: rgba(0, 0, 0, .76);
}

.search-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: #fff;
    animation: search-container-animation-close .3s ease-out forwards;
}

.search-container.show {
    z-index: 999999;
    animation: search-container-animation .3s ease-out forwards;
}

@keyframes search-container-animation {
    from {
        opacity: 0;
        z-index: 1000;
        transform: scale(0);
    }
    
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes search-container-animation-close {
    from {
        opacity: 1;
        z-index: 1000;
        transform: scale(1);
    }
    
    to {
        opacity: 0;
        z-index: 1000;
        transform: scale(0);
    }
}

.search-control {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px;
    margin-top: 25px;
    overflow: hidden;
}

.search-control span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
}

.search-control span svg {
    width: 22px;
    height: 22px;
}

.search-control input {
    height: 30px;
    display: flex;
    width: calc(100% - 40px);
    border: none;
    color: rgba(0, 0, 0, .85);
    font-size: 13px;
    border-bottom: 1.5px solid #f6f6f6;
    background: transparent;
    transition: .3s;
}

.search-control input:focus {
    color: #448AFF;
    border-color: #448AFF;
}

.search-list {
    margin: 15px;
    margin-top: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.search-list-item {
    padding: 10px 15px;
    color: #000;
    font-size: 13px;
    margin: 3px 0;
    border-radius: 3px;
    transition: .3s;
}

.search-list-item:focus,
.search-list-item:active {
    background-color: #f6f6f6;
}

.friendly-sites {}

.friendly-sites-link {
    height: 50px;
    display: flex;
    margin: 10px 15px;
    border: .5px solid #ebebeb;
    overflow: hidden;
    background: white;
    border-radius: 5px;
    box-shadow:  6px 6px 16px #d6d6d6, -6px -6px 16px #ffffff;
    animation: card-start-animation .5s ease;
}

.friendly-sites-link-icon {
    width: 50px;
    height: 100%;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.friendly-sites-link-icon img {
    width: 35px;
    height: 35px;
    background-color: #f6f6f6;
}

.friendly-sites-link-info {
    display: flex;
    align-Items: flex-start;
    flex-direction: column;
    justify-content: center;
    width: auto;
    overflow: hidden;
    padding-right: 10px;
}

.friendly-sites-link-info h4 {
    color: rgba(0, 0, 0, .9);
    font-size: 13.5px;
    font-weight: 600;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.friendly-sites-link-info p {
    color: rgba(0, 0, 0, .8);
    font-size: 12.5px;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-top: 2.5px;
}

::-webkit-scrollbar {
    display: none;
}

#back-to-top {
    height: 0;
    opacity: 0;
}

#back-to-top.show {
    height: 40px;
    opacity: 1;
}

.about-container {
    position: relative;
}

.about-container .about-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 240px;
}

.about-container .about-info {
    position: sticky;
    top: 0;
    margin: 0 15px;
    padding: 15px;
    border: 1px solid #efefef;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .9);
    backdrop-filter: blur(2px);
    margin-bottom: 30px;
    
    color: rgba(0, 0, 0, .8);
    font-size: 13px;
    letter-spacing: 0.05em;
    padding-top: 20px;
    line-height: 1.5em;
    
    animation: about-info .5s ease;
}

.about-container .about-info.one-i {
    margin-top: 150px;
}

.about-container .about-title {
    position: fixed;
    color: rgba(0, 0, 0, .8);
    font-size: 14px;
    top: -.8em;
    padding: 0.2em 0.3em;
    display: flex;
    align-item: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, .9);
    border-radius: 5px;
    border-bottom: none;
}

.about-container .about-avatar {
    position: fixed;
    top: -30px;
    width: 60px;
    height: 60px;
    border: 1px solid #efefef;
    border-radius: 50%;
}

.about-container .about-nickname {
    color: rgba(0, 0, 0, .8);
    font-size: 13.5px;
    margin-top: 25px;
    letter-spacing: 0.05em;
}

.about-container .about-description {
    color: rgba(0, 0, 0, .8);
    font-size: 13px;
    margin-top: 5px;
    letter-spacing: 0.05em;
}

@keyframes about-info {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .media-ui {
        display: grid;
        padding-top: 70px;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .friendly-sites {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr))!important;
    }
    
    .sidebar {
        transform: translateX(0);
    }
    
    .sidebar.open-sidebar {
        transform: translateX(-100%);
    }
    
    .media-ui > .card, .media-ui > .friendly-sites > .friendly-sites-link {
        margin-top: 0;
    }
    
    .mask-modal {
        width: fit-content;
        background: transparent;
    }
    
    .main {
        position: absolute;
        left: 241px;
        transition: left .3s ease;
    }
    
    .header {
        left: 241px;
        transition: left .3s ease;
    }
    
    .open-sidebar + .header, .open-sidebar + .header + .main {
        left: 0;
    }
    
    .open-sidebar + .header + .media-ui {
        /*column-count: 3;*/
        grid-template-columns: repeat(3, 1fr);
    }
    
    .search-container {
        left: 241px;
    }
    
    .open-sidebar + .header + .main > .search-container {
        left: 0;
    }
}