/* ============================================================
   How-to: Como Instalar o Arquivo XAPK / APK no Android
   1:1 复刻自 apkpure.com/br/how-to/how-to-install-xapk-apk
   ============================================================ */

body.howto-page {
    background-color: #f2f5f9;
    padding-top: 70px;
    overflow-x: hidden;
}

.howto-page .main-content {
    padding: 0 0 40px;
    background: transparent;
}

.howto-page .footer_new {
    margin-top: 0;
}

/* ---------- layout ---------- */
.howto-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 16px;
}

.main-b {
    padding: 0;
    margin-bottom: 4px;
}

.pure-ui {
    background: #FFFFFF;
    padding: 12px 16px 0;
}

.pure-ui a { color: #00a6ed; }
.pure-ui p {
    color: #5E5E5E;
    font-size: 13px;
    line-height: 22px;
    margin-bottom: 16px;
}
.pure-ui strong { font-weight: bold; }

/* ---------- breadcrumb ---------- */
.bread-crumbs, .bread-crumbs a {
    font-size: 12px;
    line-height: 24px;
    color: #5E5E5E;
}
.bread-crumbs a:hover { color: #5E5E5E; }
.bread-crumbs a { color: #5E5E5E; }
.icon-angle {
    display: inline-block;
    position: relative;
    width: 4px;
    height: 4px;
    border-top: 1px solid #A6A6A6;
    border-right: 1px solid #A6A6A6;
    transform: translate(-2px, -1px) rotate(45deg);
    margin: 0 6px;
}
.ellipsis-1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ellipsis-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* ---------- headings ---------- */
.howto-container h1 {
    line-height: 28px;
    color: #3C4043;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 16px;
}
.howto-container h2,
.howto-container h3 {
    color: #00A6ED;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 8px;
}

/* ---------- video ---------- */
.howto-page .video-ima-box {
    margin-bottom: 16px;
    padding-bottom: 56.25%;
    width: 100%;
    height: 0;
    background-color: #EEEEEE;
    background-image: url('/static/imgs/howto/video_poster.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
}
.howto-page .video-ima-box > iframe,
.howto-page .video-ima-box > .video,
.howto-page .video-ima-box .video-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.howto-page .video-ima-box .video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 66px;
    height: 47px;
    background-image: url(/www/static/imgs/youtube-transparent.svg);
    background-size: cover;
    transition: background-image .2s;
}
.howto-page .video-ima-box:hover .video-play {
    background-image: url(/www/static/imgs/youtube.svg);
}
.howto-page .video-ima-box .video-js .vjs-big-play-button {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ---------- steps accordion (faq-box) ---------- */
.hide { display: none; }

.faq-box { margin-bottom: 16px; }
.faq-box .faq-item {
    line-height: 38px;
    margin-top: 16px;
    border: 1px solid #F2F5F9;
    border-radius: 4px;
}
.faq-box .faq-title {
    background: #fff;
    display: flex;
    align-items: center;
    position: relative;
    font-size: 14px;
    line-height: 24px;
    color: #5E5E5E;
    cursor: pointer;
}
.faq-box .faq-title .faq-title-left {
    padding: 12px;
    flex: 1;
}
.faq-box .faq-title.open { color: #00a6ed; }
.faq-box .faq-title .icon {
    width: 48px;
    height: 48px;
    position: relative;
    flex-shrink: 0;
}
.faq-box .faq-title .icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-top: 2px solid #A6A6A6;
    border-right: 2px solid #A6A6A6;
    transform: translate(-50%, -50%) rotate(135deg);
    width: 6px;
    height: 6px;
}
.faq-box .faq-title .icon:hover::after { border-color: #00A6ED; }
.faq-box .faq-title.open .icon::after {
    border-color: #00A6ED;
    transform: translate(-50%, calc(-50% + 4px)) rotate(315deg);
}
.faq-box .faq-title a { text-decoration: underline; }
.faq-box .faq-des {
    padding: 0 12px;
    background: #F1F6FD;
    user-select: none;
    text-align: center;
}
.faq-box .faq-des a { display: block; }
.faq-box .faq-des img {
    width: 100%;
    height: auto;
    max-width: 328px;
}

/* ---------- download card (d-href) ---------- */
.d-left { display: flex; align-items: center; flex: 1; min-width: 0; }
.d-href {
    box-shadow: 0 0 24px 0 rgba(0,0,0,.1);
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    max-width: 560px;
    border-radius: 8px;
    background: #fff;
    margin: 24px auto;
    padding: 16px;
    box-sizing: border-box;
    text-decoration: none;
}
.d-href .icon img { width: 64px; height: 64px; }
.d-href .content { padding: 0 12px; min-width: 0; }
.d-href .content .title {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #5E5E5E;
}
.d-href .content .text {
    color: #8B8B8B;
    font-size: 12px;
    line-height: 16px;
    margin: 8px 0;
    font-weight: 400;
}
.d-href .other { display: flex; align-items: center; }
.other i.starts {
    background: url(/www/static/imgs/stars.svg) repeat-x;
    display: inline-block;
    width: 11px;
    height: 11px;
    background-size: 11px;
    vertical-align: middle;
    transform: translateY(-1.6px);
}
.other .reviews,
.other span.webStars {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
}
.other span.webStars { color: #fa8b16; }
.other .reviews {
    margin-left: 12px;
    color: #8B8B8B;
}
.other .reviews i.comment-user {
    background: url(/mobile/static/imgs/icon_download.svg) repeat-x;
    display: inline-block;
    height: 10px;
    width: 10px;
    background-size: 10px;
    vertical-align: middle;
    transform: translateY(-1px);
}
.d-href .btn {
    height: 40px;
    border-radius: 4px;
    background: #24cd77;
    color: #fff;
    text-align: center;
    line-height: 40px;
    padding: 0 16px;
    box-sizing: border-box;
    white-space: nowrap;
}
.d-href .btn span { margin-left: 4px; }
.d-href:hover .btn { background-color: #24dc83; }

/* ---------- FAQ ---------- */
.faq_title {
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #3C4043;
    padding-top: 4px;
    margin-bottom: 16px;
}
.faq-list {
    padding: 0 0 16px;
    margin: 0;
    color: #5E5E5E;
    font-size: 13px;
    line-height: 22px;
    list-style: none;
}
.faq-list li { list-style: none; }
.pure-ui code {
    background-color: #f2f5f9;
    padding: 12px;
    display: block;
    font-size: 13px;
    line-height: 22px;
    font-weight: 400;
    margin-top: 8px;
    word-break: break-word;
    color: #5E5E5E;
    border-radius: 4px;
}

/* ---------- discover sidebar ---------- */
.discover-box { margin: 4px 0; }
.discover-box .box { margin-bottom: 0; box-shadow: none; }
.apk-list-with {
    margin-bottom: 4px;
    background-color: #fff;
}
.apk-list-with .title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    color: #4b4b4b;
    background-color: #fff;
    padding: 10px 16px;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    overflow: hidden;
}
.apk-list-with .title-bar h3 {
    margin-bottom: 0;
    color: #3C4043;
    font-size: 16px;
    font-weight: 500;
}
.apk-list-with .title-bar::after {
    content: " ";
    display: inline-block;
    align-self: center;
    width: 6px;
    height: 6px;
    border: 2px solid #868686;
    border-right: 0;
    border-bottom: 0;
    transform: rotate(135deg);
    flex-shrink: 0;
}
.apk-list-with .scroll-box {
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0 16px 12px;
    gap: 8px;
}
.apk-list-with .scroll-box::-webkit-scrollbar { display: none; }
.apk-list-with .scroll-box .apk {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 4px;
    width: 80px;
    flex-shrink: 0;
    text-decoration: none;
}
.apk-list-with .scroll-box .apk img,
.apk-list-with .scroll-box .apk .icon-placeholder {
    width: 80px;
    height: 80px;
    box-sizing: border-box;
    border: 1px solid #EFF3F9;
    border-radius: 12px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
}
.apk-list-with .scroll-box .apk .content .title {
    font-weight: 500;
    font-size: 13px;
    line-height: 22px;
    color: #4B4B4B;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 44px;
    word-break: break-all;
}
.apk-list-with .scroll-box .apk:hover .content .title { color: #00A6ED; }
.apk-list-with .scroll-box .apk:hover img { opacity: .9; }
.stars-box { display: flex; align-items: center; }
.stars-box::before {
    content: " ";
    background: url(/www/static/imgs/stars.svg) no-repeat left center;
    display: inline-block;
    height: 12px;
    background-size: 12px;
    width: 12px;
    position: relative;
    top: 1px;
}
.stars-box .star {
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    color: #EB903A;
    margin-left: 3px;
}

/* ---------- desktop (>= 996px) ---------- */
@media (min-width: 996px) {
    .howto-container {
        max-width: 1200px;
        padding-right: 332px;
        box-sizing: border-box;
        margin: 0 auto;
        padding-top: 16px;
    }
    .main-b { margin-bottom: 16px; }
    .discover-box {
        position: absolute;
        right: 0;
        top: 77px;
        margin: 0;
        min-width: 316px;
        width: 316px;
    }
    .apk-list-with .scroll-box {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 0 8px;
        gap: 0;
    }
    .apk-list-with .scroll-box .apk:first-child { padding: 0 16px 8px; }
    .apk-list-with .scroll-box .apk {
        flex-direction: row;
        height: auto;
        align-items: center;
        padding: 8px 16px;
        width: 100%;
        box-sizing: border-box;
        gap: 0;
    }
    .apk-list-with .scroll-box .apk img,
    .apk-list-with .scroll-box .apk .icon-placeholder {
        width: 60px;
        height: 60px;
        border-radius: 9.6px;
        font-size: 24px;
    }
    .apk-list-with .scroll-box .apk .content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        padding: 4px 0;
        gap: 10px;
        margin-left: 12px;
        flex: 1;
        width: 0;
    }
    .apk-list-with .scroll-box .apk .content .title {
        -webkit-line-clamp: 1;
        height: auto;
    }
}

/* ---------- small screens ---------- */
@media (max-width: 995px) {
    body.howto-page { padding-top: 45px; }
    .howto-container { padding-top: 8px; }
}

@media (max-width: 720px) {
    .d-href { flex-direction: column; }
    .d-left { margin-bottom: 12px; width: 100%; }
    .d-href .content { padding-right: 0; }
    .d-href .btn { width: 100%; }
}

/* ---------- iOS device notice ---------- */
.howto-page .alert {
    border-radius: 3px;
    padding: 15px;
    margin: 12px 0;
    line-height: 2rem;
    border: 1px solid #E0B4B4;
    background-color: #fff6f6;
    color: #9f3a38;
}

.howto-page .alert a {
    color: #555;
    text-decoration: underline;
}
