
.display_none{
    display: none !important;
}

.cursor_pointer{
    cursor: pointer !important;
}

.has-error{
    border: 1px solid red !important;
}
.has-error .select2-selection {
    border-color: #a94442 !important;
}

.teacher_avatar{
    background-position: 50%;
    border-radius: 50%;
}

/* loading spinner */
.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
    font-size:70px;
    color:#337ab7;
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }
    to {
        transform: scale(1) rotate(360deg);
    }
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}
/* end loading spinner */

.dropdown-toggle::after {
    margin-bottom: -6px;
}

.transparent_background{
    background: transparent;
    border: none;
}

.alert-success{
    z-index: 99999999 !important;
}

.alert-danger{
    z-index: 99999999 !important;
}

.section-bg-shape-metodo{
    background-color: white !important;
}

.background_green_soft{
    background-color: var(--adefacil-academia-background-soft);
}

.column_gap_0{
    column-gap: 0px !important;
}

.margin_left_15{
    margin-left: 15px !important;
}

.text_right{
    text-align: right !important;
}

.btn-success-web {
    color: #000;
    background-color: var(--adefacil-academia-green);
    border-color: #8c8c8c;
}
.btn-success-web:hover
, .btn-success-web:focus{
    color: #000 !important;
    background-color: var(--adefacil-academia-green)  !important;
    border-color: var(--adefacil-academia-green)  !important;
}

.title_course{
    /*font-weight: 600;*/
    font-size: 18px;
    letter-spacing: 0.3px;
}

.name_file_text{
    font-size: 13px;
    cursor: none;
    color: #333;
}

.course_full{
    font-size: .8rem;
}

.course_exams{
    font-size: .8rem;
}
.course_product{
    font-size:10px;
    padding-left:8px;
    padding-right:8px;
}
.course_product.single {
    font-size: .8rem;
}

.simple-button i{
    margin: 0px 8px 0px 4px !important;
}

.font-weight-400 {
    font-weight: 400 !important;
}
.font-weight-600 {
    font-weight: 600 !important;
}
.shadow {
    filter:drop-shadow(4px 4px 22px rgba(0, 0, 0, 0.122))
}
.fs-11 {
    font-size:11px !important;
}
.swal2-close {
    outline:none !important;
}
.swal2-close:focus {
    outline: 0;
    box-shadow: none !important;
}
.fc-grey {
    color:#555;
}

/* custom checkboxes */
.p5_checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.p5_checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.p5_checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border: 2px solid #10454F;
    border-radius: 3px;
}

.p5_checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

.p5_checkbox input:checked ~ .checkmark {
    background-color: #10454F;
}

.p5_checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.p5_checkbox input:checked ~ .checkmark:after {
    display: block;
}

.p5_checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.p5_checkbox span {
    line-height: 25px;
}
.p5_checkbox_labelhref{
    color:black;
    text-decoration:underline;
}

/* end custom checkboxes */

/* Course Rates */

.list-style{
    list-style: none;
}
.course-review-head{
    font-weight: bold;
    box-shadow: inset 0 -0.5rem 0 var(--adefacil-academia-background-soft);
    width: 7.1rem;
}

.user-name{
    font-size: 1.1rem;
    font-weight: bold;
}

.review-title{
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
}

#course-reviews{
    padding: 1rem;
    background: linear-gradient(180deg, rgba(242,237,237,1) 0%, rgba(255,255,237,1) 86%);
    margin-bottom: 1rem;
    border: 1px solid #DEDEDE;
}
.review-content{
    text-align: justify;
}
.review-author{
    color: var(--adefacil-academia-background-soft);
}
.fa-user-alt{
    border: 1px solid var(--adefacil-academia-background-soft);
    padding: 0.5rem;
    border-radius: 1rem;
}
#img-rate{
    width: 20px;
}
#course-subject{
    margin: 0px -2px 0px 4px !important;
}


@media only screen and (max-width: 600px) {
    #nav-course {
        display: inline !important;
    }
}

.form-switch {
    padding-left: 0;
}
.form-switch .form-check-input {
    margin-left: 0;
}

.form-check-input:checked {
    background-color:var(--adefacil-academia-green);
    border-color:var(--adefacil-academia-green);
}

.forum_container .message {
    border: 1px solid #ccc;
    border-bottom: 0; /* Elimina el borde inferior para los mensajes padres */
    padding: 15px;
    margin: 10px 0;
    position: relative;
    background-color: #fff; /* Opcional: fondo blanco para mayor contraste */
}

.forum_container .message:not(:last-child) {
    border-bottom: 1px solid #e0e0e0; /* Línea fina entre mensajes padres */
}

.forum_container .message:last-child {
    border-bottom: 1px solid #ccc; /* Borde inferior del último mensaje padre */
}

.forum_container .parentRow {
    cursor: pointer;
}

.forum_container .message .content {
    margin-bottom: 10px; /* Ajuste para separar el contenido del autor y fecha */
}

.forum_container .message .header {
    color: #999; /* Gris claro para el texto de autor y fecha */
    text-align: right; /* Alineación a la derecha */
    font-size: 0.9em; /* Tamaño de fuente más pequeño para el autor y fecha */
}

.forum_container .date {
    display: block; /* Asegura que la fecha aparezca en una nueva línea */
    font-size: 0.8em; /* Tamaño de fuente más pequeño para la fecha */
}

.forum_container .replies {
    display: none;
    margin-top: 10px;
    padding-top: 10px; /* Espacio adicional para separar el contenido del borde superior */
}

.forum_container .reply {
    border-left: 3px solid #ccc;
    margin-left: 0px;
    padding-left: 10px;
    border-top: 1px solid #e0e0e0; /* Línea fina superior en respuestas */
    border-bottom: 1px solid #e0e0e0; /* Línea fina inferior en respuestas */
}

.forum_container .reply:first-child {
    border-top: 0; /* Elimina el borde superior en la primera respuesta para no tener doble línea */
}

.forum_container .reply-button {
    margin-top: 10px;
}

.forum_container .reply-form {
    margin-top: 10px;
}

.forum_container .reply-form textarea {
    width: 100%;
    min-height: 100px;
}

.forum_container .hidden {
    display: none;
}

.forum_container .visible {
    display: block;
}

.forum_container .reply-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 10px; /* Espacio interno para el texto */
    border-radius: 5px; /* Bordes redondeados */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); /* Sombra interna */
    background-color: #f9f9f9; /* Color de fondo claro */
    font-size: 1em; /* Tamaño de fuente */
    resize: vertical; /* Permitir solo el cambio de tamaño vertical */
    transition: border-color 0.3s ease; /* Transición para el cambio de color del borde */
}

.forum_container .reply-form textarea:not(.is-invalid)  {
    border: 1px solid #ccc; /* Borde claro */
}

.forum_container .reply-form textarea:not(.is-invalid) :focus {
    border-color: #007bff; /* Color del borde al enfocar */
    outline: none; /* Eliminar el borde de enfoque predeterminado */
}
