/*!
Theme Name: Snaptiktok
Theme URI: https://wordpress.org/
Author: tungteen9x
Author URI: https://www.facebook.com/vpw2023/
Description: Start theme by tungteen9x - Base Theme
Version: 1.5.8
Text Domain: https://www.facebook.com/vpw2023
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/


/* Alignments
--------------------------------------------- */
.menu-item-has-children > a:after{
	content:"▼";
	display:inline-block;
	margin-left:5px
}
.navbar-end .menu-item:hover > .sub-menu{
	display:block
}
.sub-menu{
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0px 0px 5px #ccc;
    padding: 10px;
    border-radius: 5px;
display:none
}
.note-container {
    max-width: 1200px;
    margin: auto;
}

.note-container .note-content {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: justify;
    color: rgb(0 0 0 / 48%);
}

.faq-container {
    width: 100%;
    margin-top: 30px
}

.faq-container.faq-private .faq-item h3 p {
    margin: 0;
}

.faq-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq-content {
    max-width: 1200px;
    width: 100%;
}

.faq-header {
    text-align: center;
    margin-bottom: 8px;
}

.faq-title {
    font-size: 1.5rem;
    color: #0a0a0a;
    margin: 0;
    font-weight: 500;
    line-height: 1.2;
    word-break: break-word;
}

.faq-subtitle {
    display: none;
}

.faq-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.faq-item {
    margin-top: 10px;
    font-weight: 800;
    color: #000000;
}

.faq-item .acceptedAnswer {
    font-size: 0.875rem;
    font-weight: 400;
}

.faq-item h3 {
    font-weight: 800;
    background: #b0ecaa;
    font-size: 1rem;
    padding: 12px 10px;
    border-radius: 4px 4px 0 0;
    margin: 0;
    line-height: 1.2;
}

.faq-item .text {
    line-height: 1.5;
    padding: 10px;
    background: #f4f4f6cb;
    border-radius: 0 0 4px 4px;
}

.faq-item .text p,
.faq-item .text ol,
.faq-item .text ul {
    margin: 0;
}

.download-result {
    margin: 30px auto;
    padding: 20px;
    max-width: 1000px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.download-header {
    text-align: center;
    margin-bottom: 20px;
}

.download-header h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
}

.download-header p {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0 0;
}

.video-data {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.tik-left {
    flex: 1;
    min-width: 200px;
}

.thumbnail {
    text-align: center;
    border: 0;
    border-radius: 5px;
    padding: 5px;
    background: #f9f9f9;
}

.thumbnail video {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 3/4;
    border-radius: 3px;
}

.content h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin: 10px 0 0;
    line-height: 1.3;
    text-align: center;
}

.tik-right {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dl-action {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tik-button-dl {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    border: none;
    width: 100%;
}

.tik-button-dl:hover {
    background: #0056b3;
}

.tik-button-dl i {
    margin-right: 8px;
}

.more-video {
    margin-top: 20px;
    padding: 10px;
    background: #444;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.more-video:hover {
    background: #333;
}

.download-footer {
    text-align: center;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #666;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.overlay.active {
    display: block;
}

.popup-body {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-width: 90%;
    width: 400px;
}

.popup-body video {
    width: 100%;
    border-radius: 5px;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.close-popup svg {
    fill: #333;
}

.navbar {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-brand .logo a {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    width: 174px;
}

.navbar-brand .logo a span {
    color: #13a108;
}

.button-install {
    background: #13a108;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 10px;
}

.button-install:hover {
    background: #0056b3;
}

.navbar-menu {
    display: flex;
    align-items: center;
}

.navbar-end {
    display: flex;
    gap: 15px;
}
.navbar-end .menu-item {
    list-style: none;
    margin-bottom: 0px !important;
}
.navbar-end .menu-item a {
    padding: 8px 15px;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    display: block;
}

.navbar-end .menu-item a:hover {
    background: #13a108;
    color: #ffffff;
}

.navbar-end .menu-item.current-menu-item a {
    background: #13a108;
    color: #fff;
}

.navbar-burger {
    display: none;
}


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

iframe {
    max-width: 100%;
}

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

@media (max-width: 768px) {
    .download-result {
        padding: 15px;
    }

    .video-data {
        flex-direction: column;
        align-items: center;
    }

    .tik-left,
    .tik-right {
        width: 100%;
    }

    .thumbnail video {
        max-width: 150px;
    }

    .popup-body {
        width: 90%;
    }

    .navbar-burger {
        display: block;
    }

    .navbar-menu {
        display: none;
    }

    .navbar-menu.is-active {
        display: block;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

    .navbar-end {
        flex-direction: column;
        gap: 5px;
        padding: 10px;
    }

    .navbar-end .menu-item a {
        padding: 10px 20px;
        display: block;
    }
}