.tab-pane form {
    max-width: 100%;
}

.ck-content {
    min-height: 300px;
    max-height: 600px;
    border: 1px solid #ccc;
    color: #000;
    padding: 10px;
    font-size: 14px;
}

/* for horizontal tabs */

.tf_horizontal_tabs {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
    border-radius: 5px;
}

.tf_horizontal_tabs li {
    float: left;
    border: 1px solid #ddd;
    border-bottom-width: 0;
    margin-right: 0.5em;
    padding: 0.5em;
    cursor: pointer;
    border-radius: 0 15px;
    color: black;
    background-color: #EEE;
}

.tf_horizontal_tabs li.active {
    border-bottom-color: #FFF;
    background: var(--tf-theme-bg-clr);
    color: var(--tf-theme-txt-clr);
}

.tf_horizontal_tab-content {
    border: 1px solid #007bff;
    padding: 1em;
    border-radius: 5px;
    margin-top: 0.5em;
    display: none;
    color: black;
    background-color: #FFF;
}

.tf_horizontal_tab-content.active {
    display: block;
}


/* for topfaida paginations */

.tf-pagination {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.page-item {
    margin: 0 5px;
    background-color: transparent !important;
    list-style-type: none;
}

.page-link {
    color: #333;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 7px 13px;
    text-decoration: none;
    border-radius: 5px;
}

.page-item.active .page-link,
.page-link:hover {
    background: var(--tf-theme-bg-clr);
    color: var(--tf-theme-txt-clr);
}

.page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
}


/* admin dashboard*/

#tf-archive img,
#tf-media img {
    max-height: 60px;
}


/* media library ------------------------ start*/

#tf-media-library-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.tf-media-library-container {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: var(--tf-shadow-3d);
    min-width: 250px;
    width: 95%;
    height: 90%;
}

#tf-media-library-container-close {
    position: absolute;
    top: 5px;
    right: 5px;
}

.tf-media-library-grid-card {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    border: 1px solid #c3c3c3;
}

.tf-media-library-grid-card img {
    object-fit: contain;
    max-width: 150px;
    max-height: 150px;
    min-width: 150px;
    min-height: 150px;
    overflow: hidden;
}

.tf-media-library-grid-card.media-active {
    border: 3px solid #2f009e;
    box-shadow: var(--tf-shadow-dark);
}

.tf-media-library-body {
    overflow-y: auto;
    max-height: 85%;
    width: 100%;
}

.tf-media-preview {
    max-height: 80px;
    max-width: 80px;
}

input#inline-file-uploads {
    margin: 0;
    padding: 0;
}


/* media library ------------------------ end*/


/* ----------- topfaida Grid 7 -----------*/

.tf-cat-grid-1 {
    max-width: 100%;
    margin: 10px auto;
    padding: 10px;
    list-style-type: none;
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(10, 1fr);
    /* change */
}

.tf-cat-grid-1 .tf-cat-grid-card {
    border-radius: 6px;
    margin: 10px 0;
    /* padding: 2px; */
    /* height: auto; */
    position: relative;
    /* z-index: 1; */
    /* background: #ffffff; */
    /* -webkit-border-radius: 20px; */
    /* -moz-border-radius: 20px; */
    /* -ms-border-radius: 20px; */
    /* -o-border-radius: 20px; */
}

.tf-cat-grid-1 .tf-cat-grid-card-top {
    width: auto;
    background: #fff;
    border-radius: 6px 6px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tf-cat-grid-1 .tf-cat-grid-card-top img {
    width: 100%;
    max-width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px 6px 0 0;
}

.tf-cat-grid-1 .tf-cat-grid-card-content {
    background: #fff;
    padding: 5px;
    margin: 2px 0;
    border-radius: 0 0 6px 6px;
}

.tf-cat-grid-1 .tf-cat-grid-card-content p {
    /*font-size: 1rem;*/
    /*padding: 6px 3px;*/
}

@media only screen and (max-width: 550px) {
    .tf-cat-grid-1 {
        grid-gap: 15px;
        grid-template-columns: repeat(2, 1fr);
        /* change */
    }
}

@media all and (min-width: 550px) and (max-width: 1000px) {
    .tf-cat-grid-1 {
        grid-template-columns: repeat(6, 1fr);
        /* change */
    }
}

@media all and (min-width: 1000px) {
    .tf-cat-grid-1 {
        grid-template-columns: repeat(8, 1fr);
        /* change */
    }
}


/* quiz script */

.uinature-mc-quiz-set input[type="radio"] {
    box-sizing: border-box;
    -ms-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    transform: scale(1.8);
    margin: 0 15px 0 0;
}

.uinature-mc-quiz-set .quiz-option {
    display: flex;
    margin: 10px 0;
    background-color: #ffffff52;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.uinature-mc-quiz-set .quiz-option:hover {
    background-color: #ffffffb0;
    /*border: 1px solid #000;*/
}

.uinature-mc-quiz-set {
    background: var(--tf-theme-bg-clr);
    border-radius: 15px;
    padding: 10px;
    margin: 20px 0;
}

.quiz-option.tf-hand-pointer {
    position: relative;
}

.quiz-option.tf-hand-pointer::after {
    content: "\f25a";
    font-family: var(--tf-icon);
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}


/* quiz grid */

.tf-grid-quiz-card {
    background: #fff;
    margin: 5px 0;
    padding: 0 10px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.tf-grid-quiz-card-header,
.tf-grid-quiz-card-footer {
    display: flex;
    align-items: center;
    padding: 5px;
    column-gap: 7px;
}

.tf-grid-quiz-card-header,
.tf-grid-quiz-card-content {
    border-bottom: 1px solid #8f8f8f42;
}

.tf-grid-quiz-card-header h2 {
    font-size: 22px;
}

.tf-grid-quiz-card-content {
    padding: 5px;
}

.tf-grid-quiz-card-img {
    height: 38px;
    width: 38px;
}

.tf-grid-quiz-card-img img {
    border-radius: 50%;
    min-height: 38px !important;
    width: 38px;
    outline: 1px solid var(--tf-theme-bg-1);
    border: 1px solid #fff;
}

button.button.ansnwer-vote-plus-button,
button.button.ansnwer-vote-minus-button {
    padding: 5px 8px;
    font-size: 20px;
}

.button.disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.tf-grid-quiz-card-footer span {
    margin-right: 17px;
    line-height: 14px;
    font-size: 13px;
    color: rgba(123, 153, 162, 1);
}


/* signup or login form */

.floting-container {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 5000;
    color: #5f5f5f;
    width: 100%;
    height: 100%;
    display: none;
}

.floting-container .floting-container-main {
    position: fixed;
    top: 6%;
    min-width: auto;
    max-width: 400px;
    max-height: 86%;
    margin: 0;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    border: 3px solid var(--tf-theme-bg-2);
    box-shadow: var(--tf-shadow-dark);
    left: 50%;
    transform: translate(-50%, 0);
}

.floting-container-close {
    display: block;
    background: red;
    color: #fff;
    width: 30px;
    height: 30px;
    padding: 5px 10px;
    border-radius: 50px;
    box-shadow: var(--tf-shadow-bt);
    position: absolute;
    top: -15px;
    right: -9px;
}

.floting-container input,
.floting-container select,
.tf-tab-container input,
.tf-tab-container select {
    margin: 0 0 20px 0;
}


/* exam page */

.exam-content h2 {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 9px 10px;
    font-size: 1.5em;
    border-radius: 5px;
    box-shadow: var(--tf-shadow-dark);
}

.btn-sticky {
    position: sticky;
    bottom: 100px;
}


/* PWA styles */

#uinature-pwa-install {
    position: fixed;
    top: 45%;
    right: 5px;
    width: 36px;
    height: 36px;
    color: var(--tf-theme-clr-1);
    border: none;
    padding: 6px 7px;
    cursor: pointer;
    border-radius: 50%;
    background: var(--tf-theme-bg-1);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pulse 2s infinite;
    z-index: 999;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgb(0 222 47 / 70%);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 64, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 64, 129, 0);
    }
}


/* sign up hide element auth*/

#topfaida-email-otp {
    display: none;
}

.floting-container-main form {
    overflow: auto;
    height: 500px;
}


/* leaderboard */

.leaderboard {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 20px;
}

.leaderboard h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.leaderboard ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leaderboard li {
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: #666;
}

.leaderboard li:last-child {
    border-bottom: none;
}

.leaderboard .user {
    font-weight: bold;
    color: #fff;
}

.leaderboard .score {
    color: #e44d26;
    color: #fff;
}

.tf-rating {
    color: #ffd500;
    font-size: 12px;
}


/* single course page */

.single-course-header {
    background-color: #2d2f31 !important;
    color: #fff !important;
    margin: 0 -30px;
}

.single-course-header h1 {
    color: #fff !important;
}


/* rating section */

.rating-box {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    padding: 20px;
    width: auto;
    margin: auto;
    box-shadow: var(--tf-shadow-dark);
    gap: 20px;
}

.rating-details {
    flex: 3;
    display: flex;
    flex-direction: column;
}

.rating-summary {
    flex: 1;
    background: papayawhip;
    padding: 20px;
    margin: auto;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--tf-shadow-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rating-average {
    font-size: 3em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.rating-total {
    font-size: 1em;
    color: #666;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.rating-bar-stick {
    background-color: #e1e1e1;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    height: 15px;
    width: 80%;
    /* Adjust the width as needed */
    margin-right: 10px;
    /* Space between bar and star count */
}

.rating-bar-inner {
    background-color: #ffc107;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.4s ease-in-out;
}

.rating-bar-star {
    flex-shrink: 0;
}

.rating-bar-star span {
    font-size: 0.9em;
    color: #333;
}


/* Responsive design for smaller screens */

@media (max-width: 768px) {
    .rating-box {
        flex-direction: column;
    }
    .rating-summary,
    .rating-details {
        width: 100%;
    }
    .rating-bar-stick {
        width: 100%;
        /* Full width on smaller screens */
    }
}


/* headings */

.tf-grid-heading-6 h2 {
    display: flex;
    justify-content: center;
    /* horizontal */
    align-items: center;
    /* vertical */
}

.tf-grid-heading-6 h2:before,
.tf-grid-heading-6 h2:after {
    content: '';
    width: 100px;
    height: 10px;
    /* square height - match widths below */
    margin: 0 10px;
    /* space against text */
    background: linear-gradient( 0deg, #fff0 0%, #fff0 40%, /* top */
    #4d4c4c 40%, #4d4c4c 60%, /* middle - 20% of 10px is 2px */
    #fff0 60%, #fff0 100%/* bottom */
    );
}

.tf-grid-heading-6 h2:before {
    border-right: 10px solid darkorange;
    /* square width - match height above */
}

.tf-grid-heading-6 h2:after {
    border-left: 10px solid darkorange;
    /* square width - match height above */
}


/* review inputs */

.tf-star-rating-input {
    direction: rtl;
    font-size: 0;
    unicode-bidi: bidi-override;
    text-align: center;
    display: inline-flex;
}

.tf-star-rating-input>input {
    display: none;
}

.tf-star-rating-input>label {
    font-size: 30px;
    /* Star size */
    padding: 10px;
    cursor: pointer;
    color: #ccc;
    /* Default star color */
    text-shadow: 0 0 3px #000;
    /* Star outline */
}

.tf-star-rating-input>label:hover,
.tf-star-rating-input>label:hover~label,
.tf-star-rating-input>input:checked~label {
    color: gold;
    /* Highlighted and selected star color */
}

.tf-star-rating-user {
    font-size: 20px;
    color: gold;
}

@media only screen and (max-width: 550px) {
    .tf-woocommerce-menu.u_avatar {
        position: fixed;
        display: flex;
        top: 51px;
        right: 0;
        flex-direction: column;
        display: none;
    }
    #header-shop-menu {
        display: block !important;
    }
}

#header-shop-menu {
    display: none;
}


/* .tf-woocommerce-menu.u_avatar {
    position: fixed;
    display: flex;
    top: 51px;
    right: 0;
    flex-direction: column;
} */
.tf-accordion{
    text-align: left;
}
.tf-accordion .accordion-content {
    display: none;
    /* Initially hide content */
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    /* Smooth transition for expanding/collapsing */
}

.tf-accordion.active .accordion-content {
    display: block;
    /* Show content for active accordion */
}


/* Styling for the accordion header */

.tf-accordion .accordion-header {
    cursor: pointer;
    /* Add further styling as per your design */
}


/* Optional: Add an icon to the header */

.tf-accordion .accordion-header::after {
    content: '\25BC';
    float: right;
    display: block;
    position: relative;
    top: -30px;
}

.tf-accordion.active .accordion-header::after {
    content: '\25B2';
    /* Up arrow icon when active */
}

.topfaida-single-post article img {
    max-width: 100% !important;
    height: auto !important;
}


/* show ads*/

.uinature-ads {
    position: fixed;
    z-index: 9999;
    display: none;
    box-shadow: 0 -3px 3px rgba(0, 0, 0, .2)!important;
    background: #fff;
}

#uinature-sticky-ads {
    width: 100%;
    float: left;
    text-align: center;
    bottom: 0;
    left: 0;
}


/* popups ads*/

#uinature-popup-ads {
    padding: 10px;
    top: 50%;
    left: 50%;
    border: 1px solid #888;
    border-radius: 5px;
    transform: translate(-50%, -50%);
    overflow: auto;
    width: auto;
    height: auto;
    min-height: 90px;
    align-items: center;
    margin: 0px auto;
}

#uinature-popup-ads .close-ads {
    background-color: #ebebeb;
    color: #000;
    cursor: pointer;
    font-family: arial;
    font-weight: 700;
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 25px;
    line-height: 25px;
    width: 25px;
    height: 25px;
    z-index: 2147483647;
    text-align: center;
}

#reopen-popup-ads {
    position: fixed;
    top: 50%;
    right: 0;
    color: #fff;
    border: none;
    padding: 5px;
    cursor: pointer;
    border-radius: 5px;
    display: none;
}


/* Countdown */

.uinature-ads .countdown {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}

#uinature-sticky-ads .close-ads {
    position: absolute;
    top: -20px;
    background: #fff;
    color: #000;
    left: 0px;
    pointer-events: all;
    height: 20px;
    z-index: 21474836467;
    width: 30px;
    font-size: 20px;
    font-weight: 800;
    line-height: 23px;
    box-shadow: 0 -3px 3px rgba(0, 0, 0, .2)!important;
    border-radius: 2px 10px 0 0;
}

/* new 2025 */
.border-b {
    border-bottom: 1px solid #000000;
}

.icon-size {
    height: 35px;
}