/**
 * All of the CSS for your public-facing functionality should be included in this file.
 *
 * The file is enqueued from inc/frontend/Frontend.php.
 */
.courses-container {
    display: flex; /* or inline-flex */
    flex-wrap: wrap;
}

.course-item {
    flex-basis: 23%; /*La propiedad de CSS flex-basis especifíca cual es el tamaño inicial de un elemento.*/
    margin: 1%;
    border-radius: 12px;
    box-shadow: 0 5px 7px 0 rgb(0 0 0 / 7%);
    background: #ffffff;
    min-width: 275px
}

@media screen and (max-width: 620px) {
    .course-item {
        flex-basis: 90%;
        margin: auto;
        margin-bottom: 10px;
    }
}

/* Para 800px */
@media only screen and (max-width: 820px) and (min-width: 621px) {
    .course-item {
        flex-basis: 45%;
        margin: auto;
        margin-bottom: 10px;
    }
}

.course-item .course-img {
    width: 100%;
}

.course-item .course-data {
    width: 100%;
    min-height: 230px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;

}

.title-course {
    text-decoration: none;
}

.course-item .course-data {
    flex-grow: 1;
}

.courses-date, .expired_course, .text_asynchronous {
    font-size: 15px;
    color: #666;
}

.button_show_info {
    border-radius: 20px;
    background-color: transparent;
    border: 1px solid;
    text-decoration: none;
    padding: 1% 15%;
}

.container_button_info {
    align-self: center;
    width: 100%;
    text-align: center;
}

.expired_course {
    color: red;
}

.label-course {
    padding: 3px 9px;
    font-size: 11px;
    text-shadow: none;
    font-weight: 600;
    border-radius: 10px;
    position: absolute;
    margin-top: 5px;
    color: #ffffff;
}

.title-course {
    font-size: 18px;
}

/********************* end index courses **********************************/
/********************* start show 1 courses **********************************/

.course-container {
    display: grid;
    grid-template-columns: auto 65% 10px 30% auto;
    overflow: visible;
}

.course-description {

    grid-column-start: 2;
    grid-column-end: 3;
    padding-top: 0px;
}

.course-sale {
    grid-column-start: 4;
    grid-column-end: 5;
}

.contentBuyCourse {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 3px 10px 0 rgb(0 0 0 / 17%);
    background-color: #ffffff;
}

.contentBuyCourse .dashicons {
    color: #3c88fd;
}

.info_price {
    text-align: center;
}

.contentBuyCourse p {
    font-size: 15px;
}

.contentBuyCourse {
    position: sticky;
    position: -webkit-sticky; /* Safari */
    top: 0;
    background: rgba(255, 255, 255, 0.5);
    padding: auto 5px;
}

@media screen and (max-width: 800px) {
    .course-container, .course-description, .course-sale {
        display: block;
        width: 100%;
    }


}

.short_description_course {
    display: flex;
    flex-wrap: wrap;
}

.short_description_course > div {
    flex-basis: 48%; /*La propiedad de CSS flex-basis especifíca cual es el tamaño inicial de un elemento.*/
    margin: 1%;
    font-size: 12px;
}

#accordion .tab {
    background-color: #f8f8f8;
    border-bottom: none;
    border-radius: 4px;
    display: flex;

    margin-bottom: 20px;

}

.course_skills ul
{
    columns: 2;
}
.course_skills ul li{
    padding-left: 35px;
}
#accordion .tab .unit_title {
    margin-left: 20px;
    margin-bottom: 5px;
    margin-top: 5px;
    align-self: center;

}

#accordion .tab span {
    align-self: center;
}


section.video_course video {
    width: 100%;
}

.course-sale hr {
    margin-bottom: 10px;
    margin-top: 10px;
}


.course-container ul {
    list-style: none; /* Remove default bullets */

}

.course-container ul li::before {
    content: "\2713"; /* Add content: \2022 is the CSS Code/unicode for a bullet */
    color: red; /* Change the color */
    font-weight: bold; /* If you want it to be bold */
    display: inline-block; /* Needed to add space between the bullet and the text */
    width: 1em; /* Also needed for space (tweak if needed) */
    margin-left: -1em; /* Also needed for space (tweak if needed) */
}

.course_discounted_price {
    text-decoration: line-through
}
/********************* end show 1 course **********************************/


