:root {
    --tag-color: #898989;
    --primary-theme-color: #8e24aa;
    --secondary-theme-color: #751f89;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 6px;
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

nav {
    background: var(--primary-theme-color);
}

.submenu-items {
    display: none;
    align-items: center;
    position: relative;
    justify-content: center;
    color: white;
}

    .submenu-items span {
        padding: 0px 10px;
        color: inherit;
        background: #ffffff24;
        border-radius: 5px;
        margin: 0px 10px;
        font-size: 17px;
        font-weight: 500;
    }

.nav-link {
    cursor: pointer;
}

.submenu {
    position: relative;
    background: var(--secondary-theme-color);
}

.show.submenu-items {
    display: flex;
}

    .show.submenu-items span {
        padding: 6px 12px;
        margin: 15px 10px;
        cursor: pointer;
    }

.ticker-wrap {
    position: relative;
}

a, span, div a:hover, div a:active, button {
    text-decoration: none;
}

.ticker-wrap .ticker-label {
    position: absolute;
    right: 0;
    z-index: 1;
    padding: 10px;
    height: 100%;
    color: white;
    background-image: linear-gradient(45deg, red, #b71414);
    margin-bottom: 0;
    border-radius: 5px;
}

    .ticker-wrap .ticker-label h4 {
        color: white;
    }

.ticker-title {
    position: absolute;
    right: 0;
    z-index: 1;
    padding: 10px;
    height: 100%;
    color: white;
    background-image: linear-gradient(45deg, #9770df, #6f42c1);
    margin-bottom: 0;
    border-radius: 5px;
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
}

#ticker-boxli {
    position: relative
}

#ticker-box ul li + li::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 1px;
    height: 22px;
    background: #9770df;
    border-radius: 10px;
}

div#ticker-box {
    background: #fcfcfc;
    position: relative;
}

#ticker-box li {
    position: relative;
}

.ticker-logo svg {
    width: 30px;
    height: 30px;
}

.ticker-inner-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    animation: ticker-animation 20s linear infinite;
}

.ticker-item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    white-space: nowrap;
}

.ticker-text {
    display: flex;
    align-items: center;
    padding: 5px 0px;
}

    .ticker-text p {
        margin: 0;
        padding: 0px 20px;
        color: #132a53;
        font-weight: 400;
    }

.ticker-item svg {
    min-width: 30px;
    height: 30px;
}

.ticker-logo {
    display: flex;
    align-items: center;
}

#ticker-box:hover {
    animation-play-state: paused;
}

#ticker-box ul {
    display: inline-block;
    height: 32px;
    line-height: 32px;
    white-space: nowrap;
    box-sizing: content-box;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-name: ticker;
    animation-name: ticker;
    -webkit-animation-duration: 20s !important;
    animation-duration: 115s !important;
    width: 100%;
    height: 40px;
    animation-play-state: running;
    animation-delay: 1.5s;
}

div#ticker-box ul:hover {
    animation-play-state: paused;
}

#ticker-box ul {
    display: flex;
    height: 40px;
    width: fit-content;
    padding: 0px;
    margin: 0px;
    position: relative;
    list-style-type: none;
    padding-right: 120px;
}

div#ticker {
    width: 100%;
    overflow: hidden;
    position: relative;
}

@keyframes ticker {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
}

#data-api {
    background: #f8f9fa !important;
}

section {
    padding: 30px 0px;
    width: 100%;
}

.card-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-shadow: 0px 1px 8px #8080802b;
    border-radius: 5px;
    overflow: hidden;
    background: white;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.03);
    border: 1px solid #F1F1F2;
    position: relative;
    cursor: pointer;
}

.youtube-icon {
    position: absolute;
    right: 0;
    top: 10%;
    background: red;
    color: white;
    font-size: 18px;
    z-index: 2;
    padding: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    cursor: pointer;
}

.card-image img {
    width: 100%;
    object-fit: cover;
}

.card-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
    position:relative;
}

.card-info {
    padding: 10px;
}
div#resultContainer {
    margin: 20px 0px;
}
.card-title h5 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    line-height: 1.6;
    min-height: 64px;
    text-align:right;
}

.card-summary p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    line-height: 1.6;
    min-height: 70px;
}

.card-summary {
    padding-bottom: 15px;
    border-bottom: 1px solid #41414117;
}

.tags-wrap {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    z-index: 2;
}

.navbar-nav li {
    color: #ffffffc9;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-nav i {
    color: #751f89;
    font-size: 18px;
    background: white;
    padding: 5px;
    border-radius: 10px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inside-metas-wrap {
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 2;
    background: linear-gradient(0deg, #00000069, #95959580);
    padding: 4px 8px;
    width: 100%;
    height: 40px;
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: space-between;
    padding: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    bottom:0px;
}

.date-meta {
    text-shadow: -1px 2px 5px black;
    color: white;
}

.card-tag {
    padding: 3px 12px;
    border: 1px solid #ffffff57;
    border-radius: 5px;
    background: var(--secondary-theme-color);
    width: fit-content;
}

    .card-tag p {
        margin: 0;
        font-weight: 500;
        font-size: 14px;
        color: white;
    }

.website-default-items {
    width: 100%;
    display: flex;
    color: white;
    justify-content: space-between;
    align-items: center;
}

ul.navbar-icons {
    list-style: none;
    display: flex;
    margin: 0;
}

    ul.navbar-icons li + li {
        margin: 0px 10px;
    }

.widget-title {
    font-weight: 500;
    padding: 10px 0px;
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 78%);
    z-index: 19;
}

#close-btn {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
}

iframe#video-iframe {
    aspect-ratio: 1.7;
    max-width: 100%;
    width: 70%;
    margin: 20px 0px;
}

div[class*="cardpopup"] {
    display: none;
    position: absolute;
    top: 2%;
    left: 1%;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 20;
    max-width: 100%;
    width: 100%;
    border-radius: 10px;
}
    div[class*="cardpopup"] .card-summary p {
        -webkit-line-clamp: unset;
        font-size: 20px;
    }
.image-wrap img {
    max-width: 80%;
}

.container {
    position: relative;
}

.close-btn {
    width: 100%;
    display: flex;
    padding: 10px;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
}

    .close-btn i {
        color: var(--secondary-theme-color);
        background: #751f892e;
        padding: 4px 6px;
        font-size: 18px;
        border-radius: 50%;
    }

.post-metas {
    display: flex;
    align-items: center;
    padding: 10px 0px;
}

    .post-metas div + div {
        margin: 0px 15px;
    }

.search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 5px;
}

    .search-form input {
        max-width: 210px;
        border-bottom: 0px;
    }

input[type=text]:focus:not([readonly]) {
    border-bottom: 0px !important;
    box-shadow: none !important;
}
.close-live {
    width: 100%;
    display: flex;
    padding: 10px;
    align-items: center;
    cursor: pointer;
    background: #b5032d0d;
    z-index: 9;
}
.close-live i {
    color: red;
    background: #c524242e;
    padding: 4px 6px;
    font-size: 18px;
    border-radius: 50%;
}
.search-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0px;
    background: var(--secondary-theme-color);
}
.live-popup {
    display: none;
    margin: 30px 10px;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    box-shadow: 3px 5px 10px #00000096;
}

.search-form button {
    background: transparent;
    color: purple;
    border: 0px;
    font-size: 16px;
}
.navbar {
    border-radius: 0px;
}
.embed-responsive-item {
    position: relative;
    padding-top: 56.25%;
    width: 100%;
}
@media screen and (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .show.submenu-items {
        max-width: 100% !important;
        overflow: scroll;
        justify-content: unset;
        padding: 0;
    }

        .show.submenu-items::-webkit-scrollbar {
            display: none;
        }

    .nav-flex-icons {
        justify-content: flex-end;
    }

        .nav-flex-icons li + li {
            margin: 0px 10px;
        }

    .col-4 {
        -ms-flex: unset;
        flex: unset;
        max-width: 100%;
    }

        .col-4 + .col-4 {
            margin: 20px 0px;
        }

    div[class*="cardpopup"] {
        top: 2%;
        left: 4%;
        max-width: 92%;
        padding: 15px;
    }
    
        .close-btn {
        padding-left: 0px;
    }

    .image-wrap img {
        max-width: 100%;
    }

    iframe#video-iframe {
        max-width: 100%;
        width: 100%;
    }
    .show.submenu-items span {
        padding: 6px 12px;
        margin: 15px 5px;
        cursor: pointer;
        min-width: fit-content;
    }
    .live-popup {
        max-width: 100%;
    }
    .close-live i {
        background: #8e24aa;
        color: white;
    }
    .close-live {
        position: absolute;
        left: 15px;
        top: 5px;
    }
}