@media (max-width: 767px)
{
    .layout {
        aside {
            nav#sidebar-desktop {
                display: none;
            }
        }

        main.layout-content
        {
            article.page
            {
                header.page-header
                {
                    .page-header__actions
                    {
                        span.admin-actions__text,
                        .page-header__action-text
                        {
                            display: none;
                        }
                    }
                }

                section.page-content
                {
                    section.list-results {
                        nav.search-results__tabs
                        {
                            ul.nav-tabs
                            {
                                display: flex;
                                overflow-x: auto;
                                flex-wrap: nowrap;
                                white-space: nowrap;
                            }
                        }
                    }

                }
            }

            article.page--profile
            {
                header.page-header
                {
                    .page-header__actions
                    {
                        .page-header__action--desktop
                        {
                            display: none;
                        }

                        .page-header__action--mobile
                        {
                            display: block;
                        }
                    }
                }

                section#generador-firma-corporativa
                {
                    section.instructions
                    {
                        width: 100%;
                    }

                    main.shell
                    {
                        display: flex;
                        flex-wrap: wrap;
                        padding-right: unset;
                        padding-left: unset;

                        section.preview
                        {
                            .signature-wrap
                            {
                                min-width: 298px;

                                #signature
                                {
                                    min-width: unset;
                                }
                            }
                        }
                    }
                }
            }

            article.page--dashboard
            {
                header.page-header
                {
                    #dashboard-header-menu-mobil
                    {
                        display: block !important;
                    }

                    #dashboard-header-shortcut
                    {
                        display: none;
                    }
                }

                section.page-content
                {
                    .cards
                    {
                        grid-template-columns: repeat(1, 1fr) !important;

                        article
                        {
                            header.card__header
                            {
                                .card__action-text
                                {
                                    display: none;
                                }
                            }
                        }
                    }
                }
            }

            article.page--cms
            {
                section.page-content
                {
                    flex-direction: column;

                    section.list-filter
                    {

                    }
                }

                section.page-related
                {
                    article.page-related-card
                    {
                        width: 100% !important;
                    }
                }
            }

            article.page--agenda
            {
                header.page-header
                {
                    flex-wrap: nowrap;
                }

                section.page-content
                {
                    section.agenda-layout
                    {
                        flex-direction: column;

                        > div
                        {
                            width: 100% !important;
                        }
                    }
                }
            }

            article.page--noticia {
                section.page-content {
                    section.list-results {
                        article.result-card {
                            > a
                            {
                                flex-direction: column;
                            }

                            .result-card__image
                            {
                                min-width: unset;
                            }
                        }
                    }
                }
            }

            article.page--noticia-detail
            {
                section.page-content
                {
                    div.news-detail__body--with-image
                    {
                        flex-wrap: wrap;
                        div.news-detail__image
                        {
                            max-width: unset;
                            min-width: unset;
                            width: 100%;
                        }
                    }
                }
            }

            article.page--list-cursos
            {
                section.page-content
                {
                    section.list-filter
                    {
                        .list-filter__row
                        {
                            flex-wrap: wrap;
                        }
                    }
                }
            }

            article.page--list-cursos-inscritos
            {
                header.page-header
                {
                    flex-wrap: wrap;

                    > *
                    {
                        width: unset !important;
                    }

                    .page-header__actions
                    {
                        > a.page-header__action
                        {
                            span.page-header__action-text
                            {
                                display: block;
                            }
                        }
                    }
                }
            }

            article.page--detail-curso
            {
                header.page-header {
                    .page-header__title {
                        flex-wrap: wrap;

                        .page-header__actions
                        {
                            width: 100%;
                            margin-left: unset;
                        }
                    }
                }

                section.page-content
                {
                    .curso-detail
                    {
                        display: flex;
                        flex-direction: column-reverse;

                        > *
                        {
                            width: 100%;
                        }
                    }
                }
            }
        }
    }

    footer.site-footer
    {
        .site-footer__bottom {
            justify-content: center;
            column-gap: 20px;
        }
    }

    .container-header-home
    {
        .container-login-home
        {
            display: none;
        }
    }

    section.panel-avisos
    {
        .panel-body
        {
            display: flex;
            flex-direction: column;
            row-gap: 10px;
        }
    }

    section.panel-comunicaciones
    {
        .panel-header
        {
            flex-wrap: wrap;
        }

        .panel-body {
            grid-template-columns: 1fr;
        }
    }

    section.panel-noticias
    {
        .panel-body
        {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;

            article.noticia
            {
                max-width: 200px;
            }
        }
    }

    #block-destacados-popular
    {
        flex-direction: column;
    }

    section.panel-agenda
    {
        .panel-body
        {
            flex-direction: column;
            #agenda-calendar
            {
                width: 100%;
            }
            #agenda-eventos
            {
                width: 100%;
            }
        }
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .layout {
        aside {
            nav#sidebar-desktop {
                display: none;
            }
        }

        main.layout-content {
            article.page--dashboard {
                header.page-header {
                    #dashboard-header-menu-mobil {
                        display: block !important;
                    }
                    #dashboard-header-shortcut
                    {
                        display: none;
                    }
                }

                section.page-content {
                    .cards {
                        article
                        {
                            header.card__header
                            {
                                .card__action-text
                                {
                                    display: none;
                                }
                            }
                        }
                    }
                }
            }

            article.page--profile
            {
                section#generador-firma-corporativa
                {
                    section.instructions
                    {
                        width: 100%;
                    }

                    main.shell
                    {
                        display: flex;
                        flex-wrap: wrap;
                        padding-right: unset;
                        padding-left: unset;

                        section.preview
                        {
                            .signature-wrap
                            {
                                min-width: 298px;

                                #signature
                                {
                                    min-width: unset;
                                }
                            }
                        }
                    }
                }
            }

            article.page--cms {
                section.page-content {
                    display: block;
                }
            }
        }
    }

    .container-header
    {
        .header-logo
        {
            width: 25%;
        }

        .header-title
        {
            display: none;
        }

        .header-actions
        {
            width: 75%;
            display: block;
            button#menu
            {
                display: inline-block !important;
            }
        }
    }

    nav.main-navbar
    {
        display: none;
    }

    .container-header-home
    {
        .container-login-home
        {
            display: none;
        }
    }

    section.panel-comunicaciones .panel-body {
        grid-template-columns: repeat(2, 1fr);
    }

    section.panel-agenda
    {
        .panel-body
        {
            flex-direction: column;
            #agenda-calendar
            {
                width: 100%;
            }
            #agenda-eventos
            {
                width: 100%;
            }
        }
    }
}

@media (min-width: 1024px)
{
    .layout.layout--no-sidebar
    {
        margin-left: 10%;
        margin-right: 10%;
    }

    .layout
    {
        aside
        {
            nav#sidebar-desktop
            {
                display: block;
            }
        }

        main.layout-content
        {
            nav.breadcrumb
            {
                .breadcrumb__actions
                {
                    display: none;
                }
            }

            article.page--dashboard {
                section.page-content {
                    .cards {
                        grid-template-columns: repeat(2, 1fr);
                    }
                }
            }

            article.page--cms
            {
                section.page-content
                {
                    display: block
                }
            }

            article.page--profile
            {
                section#generador-firma-corporativa
                {
                    main.shell
                    {
                        section.preview
                        {
                            .signature-wrap
                            {
                                #signature
                                {
                                    min-width: 336px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    nav.main-navbar
    {
        min-height: unset !important;
        ul.navbar-nav
        {
            > li > a
            {
                padding: 8px !important;
            }
        }
    }

    .container-header-home
    {
        display: flex;
        align-items: stretch;

        .container-carousel-home {
            width: 75%;

            #carousel-example-generic {
                .carousel-home {
                    > .item.active
                    {
                        /*height: 250px;*/
                        /*overflow-y: hidden;*/
                        /*display: flex !important;*/
                    }

                    > .item > a > img {
                        /*object-fit: cover;*/
                        /*object-position: center;*/
                        /*height: 250px;*/
                        /*width: 100%;*/
                    }
                }
            }
        }

        .container-login-home
        {
            display: flex;
            padding: 10px;
            /*height: 250px;*/
            width: 25%;
            row-gap: 5%;
        }
    }
}