/*
 Theme Name:   Eduma Child
 Theme URI:    http://educationwp.thimpress.com/
 Description:  Eduma Child Theme
 Author:       ThimPress
 Author URI:   http://thimpress.com
 Template:     eduma
 Version:      1.0.0
 Text Domain:  eduma-child
*/

/*
  Utility classes for Margin and Padding
  Inspired by Bootstrap’s approach
*/

/* Margin Bottom (mb) */
.mb-1 {
    margin-bottom: 0.25rem; /* or 4px */
}
.mb-2 {
    margin-bottom: 0.5rem;  /* or 8px */
}
.mb-3 {
    margin-bottom: 1rem;    /* or 16px */
}
.mb-4 {
    margin-bottom: 1.5rem;  /* or 24px */
}
.mb-5 {
    margin-bottom: 3rem;    /* or 48px */
}

/* Padding (p) */
.p-1 {
    padding: 0.25rem;       /* or 4px */
}
.p-2 {
    padding: 0.5rem;        /* or 8px */
}
.p-3 {
    padding: 1rem;          /* or 16px */
}
.p-4 {
    padding: 1.5rem;        /* or 24px */
}
.p-5 {
    padding: 3rem;          /* or 48px */
}

/* You can add more variations (mt-, mr-, ml-, etc.) if needed. */
/* For example, margin-top (mt-), margin-left (ml-), etc.: */

.mt-3 {
    margin-top: 1rem;
}
.ml-2 {
    margin-left: 0.5rem;
}
.me-3 { /* 'end' side in Bootstrap 5 */
    margin-inline-end: 1rem;
}


.d-flex {
    display: flex;
}

.text-primary {
    color: #15B5AA;
}

.btn-primary:hover {
    background-color: #323945;
    border-color: #323945;
    color: #fff;
}

button, .btn {
    border-radius: 0;
}

#masthead .navigation {
    padding-top: 20px;
}

footer .footer .row aside,
footer .footer {
    padding: 0;
}

footer#colophon .footer a {
    color: #fff;
}

.home .iconbox-left .content-inner {
    padding-left: 0;
    width: 100%;
}

i.fa.fa-check-circle-o {
    color: #15b5aa;
}

.boxes-icon {
    text-align: center;
    margin: 0 auto;
}

.plus-icon .display-percentage::after {
    content: '+';
}

.blog article .entry-header h2.entry-title {
    margin: 0;
}

span.star.filled {
    color: orange;
}

#products-service-boxes .elementor-widget-container {
    min-height: 330px;
}

.date-article {
    display: none;
}

.blog .date-article,
.single-post .date-article {
    display: block;
}

#course-categories-3 li {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.page-template-template-login button.elementor-size-sm.elementor-button {
    width: 100%;
}

/*
Start - Home Page
 */

#about-sumitomo-section ul {
    list-style: none;
    padding: 0;
}

#about-sumitomo-section ul li {
    display: flex;
    align-items: center;
}

#about-sumitomo-section ul li i {
    color: #00bcd4; /* Match the icon color */
    margin-right: 10px;
}

/*
END - Home Page
 */

/*
Start - Events Page
 */

.post-type-archive-tp_event main#main.col-sm-9 {
    width: 100%;
}

.list-tab-event .tab-content .d-flex.mb-2.text-muted {
    gap: 20px;
    margin: 15px 0;
    font-size: 14px;
}

.event-report .tp-event-top .entry-thumbnail img {
    max-height: 500px;
    margin-bottom: 50px;
}

.entry-summary.event-report .tp-event-content .entry-content {
    margin-top: 0;
    width: 100%;
}

.entry-summary.event-report .sidebar-event-info {
    padding: 0 10px;
}

.thim-list-event .item-event .time-from .date {
    font-size: 36px;
    line-height: 44px;
}

.thim-list-event .item-event .event-wrapper {
    padding: 0 20px;
    min-width: 400px;
}

.thim-list-event #tab-expired .item-event .image {
    width: 500px;
    height: 250px;
    float: right;
}

.thim-list-event #tab-expired .item-event .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thim-list-event #tab-upcoming .image {
    width: 45%;
}

.thim-list-event #tab-upcoming {
    display: none;
}

.thim-list-event #tab-upcoming.active.in {
    display: block;
    padding: 15px;
}

.thim-list-event div#tab-expired {
    display: none;
}

.thim-list-event div#tab-expired.active.in {
    display: block;
    padding: 15px;
}

.thim-list-event .item-event .time-from {
    float: left;
    width: 70px;
    margin-right: 10px;
}

.thim-list-event .item-event {
    display: flex;
    overflow: hidden;
    padding: 30px 0;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: space-between;
    align-items: flex-start;
}

.thim-list-event .item-event .event-wrapper:before {
    content: none;
}

.thim-list-event .item-event .event-wrapper .meta div i {
    font-size: 18px;
    color: #15b5aa;
    font-weight: 600;
}

.post-type-archive-tp_event div#sidebar {
    display: none;
}

.top_site_main .page-title-wrapper .page-title:before {
    content: none;
}

.top_site_main .page-title-wrapper .banner-wrapper {
    position: relative;
}

.top_site_main .page-title-wrapper .banner-wrapper:before {
    content: '';
    width: 3px;
    line-height: 1.3em;
    bottom: 0;
    height: auto;
    position: absolute;
    left: 0;
    top: 0;
    margin-right: 22px;
    display: block;
    background-color: #15b5aa;
}

.top_site_main .page-title-wrapper .page-title {
    padding-left: 0;
    text-transform: inherit;
}

.top_site_main .banner-description {
    font-style: normal;
    max-width: 800px;
    font-size: 18px;
}

#tab-expired .item-event .event-wrapper {
    position: relative;
    min-height: 290px;
}

#tab-expired .view-info {
    position: absolute;
    bottom: 0;
}

#ajax-event-filter button {
    margin-top: 30px;
}

.post-type-archive-tp_event .sidebar.col-md-3.col-sm-3.col-xs-12 {
    border: 1px solid #f0f0f0;
    padding: 15px;
}

.sidebar-event-info {
    max-width: 240px;
    width: 240px;
    padding-left: 30px;
    float: right;
}

.tp_single_event .tp-event-top:before {
    background: none;
}

.webinar-video {
    position: relative;
    width: 100%; /* Full width container */
    overflow: hidden; /* Ensure no content overflows */
    padding-top: 56.25%; /* Aspect ratio for 16:9 (height is 56.25% of width) */
}

.responsive-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Full width of the container */
    height: 100%; /* Adjust height to maintain aspect ratio */
}

.tp_event_type-reports .view-info {
    margin-top: 20px;
}

#ajax-event-filter label {
    display: block;
}

#ajax-event-filter span.counter {
    float: right;
}

/*
END - Events Page
 */

/*
Start - Single course styling
 */
.thim-course-content .course-meta,
.thim-course-grid .course-item .thim-course-content .course-author,
.widget-area .thim-course-list-sidebar .course-price,
.course-summary .thim-course-menu-landing .thim-course-landing-button,
.course-wishlist-box {
    display: none;
}

.single-lp_course span.count-course {
    float: right;
}

.sidebar-course-price .value.free-course {
    display: none;
}

.sidebar-course-price button.lp-button.button-enroll-course {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.sidebar-course-price form.enroll-course {
    width: 100%;
}

.sidebar-course-price button.lp-button.button-enroll-course,
.sidebar-course-price .lp-button {
    border: 1px solid #15b5aa;
    color: #fff;
    background: #15b5aa;
    border-radius: 0;
}

.sidebar-course-price button.lp-button.button-enroll-course:hover,
.sidebar-course-price .lp-button:hover {
    border-color: #333;
    color: #333;
    background: transparent;
}

.course-enrolled {
    display: block;
    position: relative;
}

.learn-press .course-payment,
.learn-press .thim-course-landing-button {
    float: none !important;
    padding: 0 !important;
}

.course-enrolled .course-price {
    display: none !important;
}

.single-lp_course div#course-reviews {
    display: none;
}

.single-lp_course a.lesson-preview.button-load-item {
    pointer-events: none !important;
}

/*
END - Single course styling
 */

/*
Start - List course styling
 */
#list-course-knowledge li.elementor-icon-list-item.elementor-inline-item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: space-between;
    align-items: flex-start;
}

#list-course-knowledge .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item:after {
    content: none;
    margin-bottom: 0;
}

#list-course-knowledge li:nth-child(3) .elementor-icon-list-text {
    font-size: 0;
}

#list-course-knowledge .elementor-icon-list-text .star-rating {
    font-size: initial; /* Restore font size for stars */
}

#list-course-knowledge li:nth-child(2) span.elementor-icon-list-icon,
#list-course-knowledge li:nth-child(3) span.elementor-icon-list-icon {
    padding-top: 3px;
}

/*
END - List course styling
 */

/*
Start - case study styling
 */

.single-case-studies article .entry-header .entry-meta {
    display: none;
}

/*
END - case study styling
 */

/*
Start - List blog styling
 */
.widget_categories li.cat-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.blog-content.blog-list article .entry-header .date-meta,
.blog-content.blog-list article .entry-header .entry-meta {
    display: none;
}

.blog-content.blog-list article .readmore a {
    font-size: 16px;
    font-weight: 700;
    color: #15b5aa;
    background-color: transparent;
    padding: 0;
}

.blog-content.blog-list article .entry-header,
#custom-search-page article .entry-header {
    padding-bottom: 0;
    margin-bottom: 0;
}

article .post-formats-wrapper img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.learn-press .course-summary .course-thumbnail img,
#custom-search-page article img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

#blog-archive-layout img.attachment-full.size-full.wp-post-image {
    height: 180px;
}

.thim-related-course .thim-carousel-wrapper .owl-item .elementor-element a {
    font-size: 16px;
}

.thim-related-course .thim-carousel-wrapper .owl-item .elementor-element img {
    width: 100%;
    object-fit: cover;
    height: 180px;
}

.course-curriculum ul.curriculum-sections .section-content .course-item .lesson-preview {
    background: #15b5aa !important;
}

.archived-posts .owl-item {
    padding: 5px;
}

li#wp-admin-bar-my-account {
    display: none;
}

/*
END - List blog styling
 */

@media (max-width: 767px) {
    /*.navigation .tm-table {*/
    /*    display: flex !important;*/
    /*    flex-direction: column;*/
    /*    align-content: center;*/
    /*    justify-content: center;*/
    /*    align-items: center;*/
    /*}*/
    a.thim-logo {
        width: 80%;
    }

    .width-logo.table-cell.sm-logo img {
        max-width: 68vw;
    }

    li.menu-right {
        display: none !important;
    }

    nav.width-navigation.table-cell.table-right {
        display: none;
    }

    .thim-list-event:not(.layout-2):not(.layout-3):not(.layout-5) .item-event.has-post-thumbnail .time-from {
        width: auto;
        position: relative !important;
        display: inline-block;
        background: #fff;
        top: 0;
        left: 0;
        padding: 10px;
        text-align: center;
    }

    #event-results .meta {
        display: flex;
        flex-direction: column;
    }

    .sidebar-event-info {
        max-width: 100%;
        width: 100%;
        padding-left: 0 !important;
    }

    .tp-event-content .tp-event-info {
        max-width: 100%;
        width: 100%;
        padding-left: 15px !important;
        float: right;
    }

    #custom-search-page .search-result-item {
        display: flex;
        gap: 20px;
        align-items: center;
        border-bottom: 1px solid #ddd;
        padding-bottom: 20px;
        margin-bottom: 20px;
        flex-direction: column;
        align-content: center;
    }
}

@media (max-width: 1050px) {
    .cards-offers .elementor-widget-container {
        min-height: 350px;
    }
}

.learn-press-profile-course__progress .lp_profile_course_progress__item td:nth-child(3),
.learn-press-profile-course__progress .lp_profile_course_progress__item th:nth-child(3),
.learn-press-profile-course__progress .lp_profile_course_progress__item td:nth-child(4),
.learn-press-profile-course__progress .lp_profile_course_progress__item th:nth-child(4) {
    width: 10%;
    display: none;
}

textarea#user_question {
    background: transparent;
    color: #fff;
}

/* Hide description cards by default */
.description-card {
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show description card when its parent column is hovered */
.column-reveal:hover .description-card {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Ensure it only affects direct children for individual behavior */
.column-reveal > .description-card {
    pointer-events: none; /* Prevents flickering when moving cursor over the description */
}

aside.scoa2-events-filters {
    border: 1px solid #F0F0F0;
}

div.card.mb-4.slick-slide {
    padding: 10px;
    min-height: 590px;
}

.card-body span.badge {
    font-size: 12px;
    padding: 5px 8px;
    min-height: 24px;
}

.card-footer a.btn.btn-transparent {
    color: #15B5AA;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 24px;
    margin-top: 30px;
}

#events-home h5.card-title {
    min-height: 86px;
}

#events-home .card-footer {
    position: absolute;
    bottom: 0;
}

button.btn.btn-primary.w-100.scoa2-apply-filters {
    margin: 15px 0;
}

label.form-check-label {
    min-width: 240px;
    font-size: 14px;
    font-weight: 300;
    color: #000;
}

label.form-check-label span.cat-counter {
    float: right;
}

.form-check {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

/* Stiluri pentru acordeon */
.accordion-header {
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.accordion-header.collapsed {
    border-bottom: none;
}

.accordion-icon {
    transition: transform 0.3s;
}

.accordion-icon.rotated {
    transform: rotate(180deg);
}

/* Stiluri pentru când acordeonul este închis */
.accordion-header.collapsed + .collapse:not(.show) {
    display: none;
}

.slick-dotted.slick-slider {
    margin-bottom: 90px;
}

.slick-dots {
    position: absolute;
    bottom: -60px;
}

.slick-dots li button:before {
    color: #000;
    font-size: 15px;
}

.slick-dots li.slick-active button:before {
    color: #15B5AA !important;
    font-size: 15px;
}

.single-post aside#my_two_tax_filter_widget-2, .blog .thim-widget-list-post.template-list-post {
    display: none;
}

.navigation .width-navigation .navbar-nav>li .sub-menu li.current-menu-item>a, .navigation .width-navigation .navbar-nav>li .sub-menu li>a:hover {
    color: #15B5AA !important;
}

li.btn-custom-menu.contact-menu {
    background: #15b5aa;
}