/*** Adaptaciones selector de idioma ***/
.sub-header .right-sub .primary-end .nice-select {
    background-color: transparent;
    color: var(--color-white);

    --bs-form-select-bg-img: none;
    background-image: none;
}

.sub-header .right-sub .primary-end .nice-select:after {
    display: none;
}

.sub-header .right-sub .primary-end .nice-select ul {
    background-color: var(--color-formady);
}

.sub-header .right-sub .primary-end .nice-select ul li {
    border: transparent;
}

.sub-header .right-sub .primary-end .nice-select ul li.selected,
.sub-header .right-sub .primary-end .nice-select ul li.focus,
.sub-header .right-sub .primary-end .nice-select ul li.option:hover {
    background-color: var(--color-formady-dark);
}

.sub-header .right-sub .primary-end .nice-select .current {
    color: var(--color-white);
}

#lng-selector {
    --bs-form-select-bg-img: none;
    background-image: none;
}

/*****************************/


/*** Adaptaciones campos de formulario ***/
.global-form .form-control {
    background-color: var(--color-formady-form-control-bg);
}


/**************/
.eBtn:disabled {
    cursor: not-allowed;
}

/**************/
.eNtry-breadcum .breadcrumb-item,
.eNtry-breadcum .breadcrumb-item a,
.eNtry-breadcum .breadcrumb-item.active {
    color: unset;
}

.breadcrumb-item:first-child a {
    color: transparent;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: unset;
}

/**************/
.price_type.total span:nth-child(2) {
    margin-top: initial;
}

/**************/
.showing-text {
    color: unset;
    font-size: 14px;
}

/**************/
.sidebar {
    background-color: var(--color-formady-dark-2);
}

.sidebar * {
    color: var(--color-white);
}

.sidebar .search .form-control
 {
    background-color: var(--color-formady);
    color: var(--color-white) !important;
    border: 1px solid transparent;
}
.sidebar .search .form-control:focus,
.sidebar .search .form-control:hover {
    border: 1px solid var(--color-formady-teal);
}

.sidebar .search .form-control::placeholder {
    color: var(--color-white) !important;
    opacity: 0.8;
    font-weight: 300;
}

.sidebar .widget-title {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-white);
    padding-bottom: 11px;
    border-bottom: 1px solid var(--color-formady-dark);
}

.sidebar .form-check-input {
    background-color: var(--color-formady);
    border-color: transparent;
}
.sidebar .form-check-input:hover {
    border-color: var(--color-formady-teal);
}
.sidebar .form-check-input:checked{
    background-color: #333377;
    border-color: transparent;
}

.sidebar .entry-widget li {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 300;
    cursor: pointer;
}

.sidebar .entry-widget ul.g-star li {
    margin-top: 0;
    font-size: inherit;
    font-weight: inherit;
    cursor: pointer;
}

.sidebar .entry-widget li a {
    font-size: 14px;
    font-weight: 300;
    color: var(--color-white);
    display: inline-block;
    transition: 0.5s;
}

.overlay-content.show-more p:last-child {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--color-formady-dark-2) 30%);
}

/**************/
.tab-list ul {
    background-color: var(--color-white);
}

.tab-list ul li.active,
.tab-list ul li.active a {
    background-color: var(--color-formady-teal);
    color: var(--color-white);
}

.tab-list ul li:not(.active):hover a {
    color: var(--color-formady-teal);
}

/**************/
.page-link:hover, .page-item.active .page-link, .entry-pagination .pagination li.active a {
    background-image: none !important;
    background-color: var(--color-formady-teal);
    transition: 0.5s;
    background-size: 200% auto;
    box-shadow: none;
    color: #fff !important;
}

/**************/
li.course-list-rating i {
    font-size: 13px;
    color: #efbb02;
    margin-left: 5px;
}

.heart:hover, .heart.inList {
    background-color: var(--color-formady-teal);
    color: var(--color-white);
}

.hero-details a:after, .hero-details a:before {
    display: none;
}

.breadcum-area.bg-white:after, .breadcum-area.bg-default:after {
    opacity: 0;
}

.c-card:hover .eBtn.learn-btn,
/*.c-card .learn-btn:hover,*/
.ps-sidebar .learn-btn:hover,
.ps-sidebar .learn-btn-active {
    background: var(--color-formady-silver);
    color: var(--color-2) !important;
    border-color: var(--color-formady-teal);
    transition: 0.5s;
    background-size: 200% auto;
    box-shadow: 0 0 20px #eee;
}

.ps-sidebar .learn-btn-active:hover {
    background-color: transparent;
    color: var(--color-formady-teal);
}

/**************/
@media only screen and (min-width: 992px) {
    .page-static-sidebar {
        position: sticky;
        top: 5px;
        margin-top: -239px;
    }
}

/**************/
.profile-banner-area {
    background: url(/placeholder/formady-resources/page-background.png) no-repeat bottom center;
    background-size: cover;
    position: relative;
    z-index: -1;
}

.profile-banner-area:after {
    background: none;
    opacity: 0;
}

.course-sideBar {
    border: 2px solid var(--color-formady-teal);
    border-radius: 12px;
}

.course-sideBar p {
    text-transform: none;
}

.c-card:hover .eBtn {
    background-image: initial;
    background-size: initial;
    box-shadow: initial;
    transition: initial;
}

.details-page-content .description,
.details-page-content .description p,
.details-page-content .description span,
.details-page-content .description * {
    font-family: "Open Sans", Arial, sans-serif !important; /* var(--font-family)!important; */
}

/**************/
.send_message_btn {
    background-color: var(--color-formady-teal);
}

.message-list li p {
    background-color: #e1e6ec;
    border-radius: 10px 10px 10px 0;
}

.custome-height {
    background-color: var(--color-formady-silver);
}

/**************/
.progress-bar {
    background-color: var(--color-formady);
}

/**************/
/**************/

/**  MEGAMENU  **/
.main-mega-menu {
    width: 100dvw;
    position: fixed;
    left: 0;
    right: 0;
    top: 94px !important;
    background-color: #F4F6F9;
    transform: none;
    border-radius: 0;
}

/***************/

/* Course Badge Styles */
.course-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge-new,
.badge-featured,
.badge-best {
    display: inline-block;
    padding: 4px 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge-new {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: #ff5959;
}

.badge-featured {
    /*background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);*/
    background: var(--color-formady);
}

.badge-best {
    background: linear-gradient(135deg, #f7b733 0%, #fc4a1a 100%);
}

.primary-menu .have-mega-menu .menu-parent-a.active::after {
    display: none!important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .badge-new,
    .badge-featured,
    .badge-best {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/***************/
.main-mega-menu .mega-menu-items {
    padding-left: 190px;
}

.main-mega-menu .mega_list {
    position: relative;
    width: fit-content;
}

.main-mega-menu .mega_list li {
    width: 100%;
    padding: 0;
    max-width: 230px;
    position: static;
}

.main-mega-menu .mega_list li a {
    width: fit-content;
    padding: 3px 0;
    background-color: transparent;
    font-weight: 400;
}

.main-mega-menu .mega_list li a:hover {
    color: #5959C9 !important;
    font-weight: 500;
}

.main-mega-menu .child_category_menu {
    top: 35px !important;
    padding: 0;
    margin-left: 20px;
    height: 88%;
    box-shadow: none;
    background-color: transparent;
    border-radius: 0;
    border-left: 1px solid #9898A8;
    padding-left: 20px;
}

.main-mega-menu .mega_list li a.allCourses {
    padding: 2px 10px;
    border: 1px solid;
    font-weight: 600;
    border-radius: 6px;
}

.main-mega-menu .mega_list li a.allCourses:hover {
    border-color: #12BAA9;
    color: inherit !important;
}

/*******************************/
.red-formady-btn {
    background-color: #ff5959;
    border: none;
    color: #fff;
    border-radius: 12px;
    padding: 1.5rem 10rem;
    font-size: 2.0rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 2.2rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

@media (min-width: 576px) {
    .red-formady-btn {
        padding: 1.5rem 10rem !important;
    }
}

.red-formady-btn:hover {
    background-color: #ff4040;
    transform: scale(1.05);
}

/***********************/

/* Enlace con estilo de botón */
.btn-outline-teal {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid rgb(222, 222, 222);
    border-radius: 10px; /* bordes bien redondeados */
    color: rgb(222, 222, 222);
    background: initial;
    background-color: transparent;
    text-decoration: none;
    transition: background-color 0.5s ease,
    border-color 0.5s ease,
    color 0.5s ease;
}

/* Hover: pasa a teal */
.btn-outline-teal:hover {
    border-color: var(--color-formady-teal);
    color: #ffffff;
}


/*** iconos topbar ***/
.sub-header-left.right-sub .social-icon,
.sub-header-left .social-icon {
    width: 30px;
    height: 30px;
}


/** imagen caja vacía carrito */
.empty_blade_cart img,
.empty_blade_wishlist img,
.empty_blade_purchase_history img {
    width: 129px;
    height: 128px;
    opacity: 1;
}


/* subheader */
.sub-header {
    height: 45px;
}


.right-sub ul {
    justify-content: flex-end;
    gap: 8px;
    margin-right: 10px;
}


/** enlace a login **/
a.login-top-bar-btn {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    transition: 0.5s;
    position: relative;
}

a.login-top-bar-btn:hover {
    color: var(--color-1);
}

a.login-top-bar-btn.active {
    color: var(--color-1) !important;
    font-weight: 600;
}


/*** COURSE PLAYER ****/
.playing-header-section {
    background-color: var(--color-formady);
}

.details-page-content .inline-svg-function svg {
    vertical-align: baseline;
}

/** Color tabs **/
.nav.nav-bordered .nav-link:hover, .nav.nav-bordered .nav-link.active {
    border-bottom: 2px solid var(--color-1);
    color: var(--color-1);
}

/** profile menu **/
.Userprofile .dropmenu-end a:hover svg path, .Userprofile .dropmenu-end a:hover {
    color: var(--color-formady);
    fill: none;
}

@media (max-width: 575px) {
    .sub-header .right-sub ul {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between !important;
        margin-right: 0 !important;
        gap: 0 !important;
    }

    .sub-header .right-sub {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .sub-header .right-sub a.btn-outline-teal {
        margin-right: 0 !important;
    }

    .sub-header .right-sub ul > li {
        margin: 0 !important;
        padding: 0 !important;
        display: flex;
        align-items: center;
    }

    .sub-header .right-sub .topbar-social-icons {
        margin-left: auto !important;
    }

    .sub-header .right-sub .topbar-social-icons ul {
        gap: 6px !important;
        align-items: center;
    }

    .sub-header .right-sub .topbar-social-icons ul > li {
        margin: 0 !important;
        padding: 0 !important;
    }

    .card.Ecard.eBar-card {
        height: unset;
    }
}

