﻿   .sub-menu.has-flyout {
        position: relative;
    }

    .flyout-sub-menu {
        display: none;
        position: absolute;
        top: 0;
        left: 100%;
        background: #E3E8E3;
        border: 1px solid #ddd;
        min-width: 200px;
        z-index: 999;
        padding: 0;
    }

    .flyout-sub-menu li a {
        display: block;
        padding: 18px 15px;
        margin-right: 20px;
        color: #00AB8E !important;
        text-decoration: none;
        white-space: nowrap;
        text-align: left;
        height: 62px;
    }

    .flyout-sub-menu li:hover {
        background: #ADCAB8;
    }

    .icono-flecha-derecha {
        width: 25px;
        height: 15px;
        margin-left: 8px;
        flex-shrink: 0; /* que no se reduzca */
    }

    .flyout-sub-menu li #foro1:hover {
        color: #006A52 !important;
    }

    .flyout-sub-menu li #foro2:hover {
        color: #006A52 !important;
    }

    .flyout-sub-menu {
        display: none;
    }

        .flyout-sub-menu.open {
            display: block;
        }

    .icono-flecha1 {
        color: #00AB8E !important;
        width: 25px;
        height: 15px;
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
        transition: transform 0.3s ease;
        margin-left: 8px;
    }

    .info-promoviendo p {
        text-align: justify;
    }

    .paragraphs p {
        text-align: justify;
    }

    .content-parrafo-programas p {
        text-align: justify;
    }

    .container-descripcion-mas-beneficios p {
        text-align: justify;
    }

    .content-banner-description p {
        text-align: justify !important;
    }

    .content-decription-casos-exito p {
        text-align: justify !important;
    }

    .content-descripcion-video p {
        text-align: justify !important;
    }

    .texto-pagina {
         text-align: justify !important;
    }

    .descripcion .content-descripcion p {
        text-align: justify !important;
    }

    .carrucel-banner .item .caption p {
        text-align: justify !important;
    }

    .content-detalle-testimonio .testimonio-detalle p {
        text-align: justify !important;
        margin-right: 7px;
    }

    .content-detalle-testimonio .testimonio-cargo {
        text-align: justify !important;
    }

    .content-detalle-testimonio .testimonio-empresa {
        text-align: justify !important;
    }

    .content-detalle-testimonio p {
        text-align: justify !important;
    }


    .program-card .containt-detalle-card p {
        text-align: justify !important;
        margin-right: 5px !important;
    }

    .program-details-content .program-details-col-2 #details-description {
        text-align: justify !important;
    }

    .empresa-descripcion .contenido-descripcion .descripcion p {
        text-align: justify !important;
    }

    .productos-contenedor .titulo-producto p {
        text-align: justify !important;
    }

@media screen and (max-width: 768px) {
    .sub-menu.has-flyout {
            position: relative;
        }

    .flyout-sub-menu {
        position: static; /* Ya no se posiciona a la derecha */
        width: 100%;
        margin-top: 10px;
        background: #E3E8E3;
        border: none;
        display: none; /* controlado por JS */
    }

    .flyout-sub-menu.open {
        display: block;
    }

    .toggle-foros .icono-flecha {
        float: right;
        margin-left: auto;
    }

    .toggle-foros > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}


.icono-flecha-mobile {
    display: none;
}


@media only screen and (max-width: 1165px) {
    .sub-menu.has-flyout {
        display: flex !important;
        flex-direction: column !important;
        max-width: initial !important;
    }

    .icono-flecha-desktop {
        display: none;
    }

    .icono-flecha-mobile {
        display: inline;
    }
}
