@media screen and (max-width: 550px),
screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait),
screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    body {
        padding-top: 80px !important;
        padding-bottom: 100px !important;
    }

    .no-moviles {
        display: none;
    }

    /* Banner zona norta en la home */
    #homeheader .norte-flotante-right {
        display: none;
    }

    .btn-slider {
        margin-top: 55% !important;
        opacity: .15 !important;
    }

    /* ----- */

    .sms-zona-norte {
        padding-left: 0;
        text-align: center;
    }

    .redes_sociales {
        display: none !important;
    }

    #redes-sociales-footer {
        display: block !important;
        text-align: center;
        margin-top: 1em;
    }

    #redes-sociales-footer .sprite {
        display: inline-block;
        margin: 0 5px;
    }

    #cols-allright>div.col-md-7.text-right>table {
        float: none !important;
        width: 200px !important;
        margin: auto !important;
        margin-bottom: 10px !important;
        text-align: center !important;
        line-height: 3em !important;
    }

    #login-link .btn {
        color: #123859 !important;
        margin: 10px 0 0 -25px;
        padding-right: 5px;
    }

    #homeheader .fullalto {
        background-size: auto 135% !important;
    }

    #cabheader {
        background-size: cover !important;
    }

    .responsive {
        display: inline-block !important;
    }

    .row-td {
        display: block;
    }

    #portada #cabheader {
        background-size: 100% !important;
        background-repeat: no-repeat;
        background-position: bottom;
    }

    .tooltip>.tooltip-inner {
        display: none;
    }

    .animacionlogo {
        width: 400px !important;
        height: 400px !important;
        background-size: cover;
    }

    #menuglobal {
        position: fixed;
        top: 31.5px;
        width: 8.5em;
        right: 0;
        height: 0;
        z-index: 1050;
        border-width: 0 0 2.6em 6.7vw;
        border-style: solid;
        border-color: transparent transparent #123958 transparent;
    }

    #stickymenu .col-9 {
        max-width: 30% !important;
        flex: 0 0 30% !important;
    }

    #stickymenu .col-3 {
        max-width: 65% !important;
        flex: 0 0 65% !important;
    }

    header .cta-menu .btn-primary {
        display: inline-block;
        padding-left: 10px;
        padding-right: 10px;
        margin-left: 0;
    }

    header .cta-menu {
        padding-top: 7px !important;
        padding-left: .5em !important;
    }

    header .cta-menu #login-link a {
        line-height: 1.5em !important;
        margin-right: 5px !important;
    }

    .cta-menu td {
        text-align: right;
    }

    header #header-top {
        width: auto !important;
        margin-left: 10px !important;
    }

    header #menuprincipal {
        display: none;
        background-color: #123a58;
        position: fixed;
        left: 0;
        width: 100%;
        height: 100%;
        top: 7.7em;
        z-index: 9999;
        margin-top: 0 !important;
        padding-top: 4em;
        margin-left: 0 !important;
        padding-left: 0em;
    }

    header #menuprincipal ul li a {
        font-size: 1.5em;
    }

    #menu-responsive {
        position: fixed;
        top: 27px;
        right: 10px;
        font-size: 1.4em;
        background: #123a58;
        width: 35px;
        text-align: center;
        color: #fff !important;
        border-radius: 5px;
        padding: 3px;
        height: 31px;
    }

    .active#menu-responsive .fa-xmark {
        display: block !important;
        margin-top: .3em;
    }

    .active#menu-responsive .fa-bars {
        display: none !important;
    }


    .livechat:after, .livechat:hover:after, header #menuprincipal ul li span:hover:after, header #menuprincipal ul li a:hover:after {
        margin: 1em auto !important;
    }

    #secciones header #tagline {
        padding: 0;
        width: 100%;
        margin: 2em 0 0 0;
        font-size: 0.8em;
    }

    header #menuprincipal li {
        display: block;
    }

    .col-2-calcs {
        padding-top: 2em;
    }

    #portada header {
        height: 450px;
    }

    #portada #nav-toggle span:before, #portada #nav-toggle span:after, #portada #nav-toggle span {
        background: #fff !important;
    }

    #portada header, header a, #portada #consultar-cuenta, .livechat {
        color: #fff !important;
    }

    .sprite.icon_bajar {
        display: none;
    }

    #widget-calcs {
        height: 1170px;
    }

    #nav_calculadora {
        margin-top: 2.7em;
    }

    #buscador {
        padding-left: 1em;
        padding-right: .5em;
    }

    #botoneras .col-md-5 {
        margin-bottom: 2em !important;
    }

    #footer_header {
        margin: 0;
    }


    header #nav_acceso {
        display: none;
    }

    header #nav_contact {
        background-color: #123959;
        position: fixed;
        z-index: 994;
    }

    header #logoheader {
        text-align: center;
    }

    header #logopos {
        text-align: center;
    }

    h1 {
        font-size: 2em;
    }

    header #tagline p {
        font-size: 1.4em;
        margin: 0 1em 2em;
    }

    main h1 {
        font-size: 2.7em;
    }

    #infoebook {
        text-align: center;
    }

    .numeros h3 {
        font-size: 1.5em;
    }

    .numeros p {
        font-size: 1.3em;
    }

    .slidernumeros .slidernumeros_slide {
        height: 24em;
    }

    #footer {
        padding: 1em;
    }

    #footer-derechos {
        text-align: center !important;
    }

    #cols-allright {
        flex-direction: column-reverse;
        font-size: 11px;
    }

    #cols-allright .px-3 {
        display: inline-block;
    }

    #cols-allright .redes_sociales {
        padding-bottom: 2em;
        width: 100%;
        text-align: center;
    }

    #footer .row-td {
        text-align: center !important;
    }

    #footer #certfooter {
        text-align: center !important;
        margin-top: 1em;
    }

    #footer-data {
        padding-top: 1em;
    }

    footer {
        padding-left: 2em;
    }

    footer a {
        margin-bottom: .5em;
    }

    footer ul li {
        display: block;
        margin-right: 1.2em;
    }

    footer ul li::before {
        content: " ";
        display: inline-block;
        width: 5px;
        background-color: #39a8c5;
        height: 5px;
        margin-left: 0;
        margin-right: 0.5em;
        margin-top: 8px;
        float: left;
    }

    footer h5 {
        margin-top: 2em;
    }

    footer #contactdata {
        text-align: center;
    }

    footer #contactdata table {
        margin: auto;
    }

    footer #certificado {
        width: 100%;
        padding-top: 2em;
    }

    footer .ml-2,
    footer .col-md-3,
    footer .col-md-9 {
        padding: 0 !important;
        margin: 0 !important;
    }

    footer #logo-footer {
        margin-left: 1em;
    }



    .flip {
        margin: 0 2em;
    }

    .flip .back {
        font-size: 1.2em !important;
    }

    /* Eliminar comportamiento del submenu */
    header #menuprincipal li:hover .submenu {
        visibility: hidden !important;
    }

    /* Quienes Somos */
    .menusec span {
        height: 4.5em !important;
    }

    #quienesomos section {
        width: 90% !important;
    }

    .profiles .text_profiles {
        min-height: 1em !important;
        margin-bottom: 2em;
    }

    #propositoyvision p, .profiles p {
        margin: 0 5em 1em;
        text-align: center;
    }

    #propositoyvision .boxwidget {
        margin-bottom: 8em;
        height: 15em;
    }

    #section-historia {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 2em;
        margin-top: -8em;
    }

    div#historia-estrategica {
        margin: 0 !important;
        padding: 1em !important;
        padding-top: 2em !important;
    }

    div#historia-estrategica p {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #historia-estrategica {
        height: 39em !important;
        padding-top: 1.5em;
    }

    /* Soluciones */
    #body-soluciones {
        margin-top: 3em;
    }

    .verticalnav .nav-item a.active, .verticalnav .nav-item a:hover {
        color: #fff !important;
    }

    .verticalnav .nav-item a.active::before {
        display: none;
    }

    /* Conoce el mercado */
    #conoce .box {
        text-align: center !important;
        padding-left: 1em;
        padding-right: 1em;
    }

    #listado .offset-3, #listado .offset-1 {
        padding: 0 !important;
        margin-left: 0 !important;
    }

    #menufolder .underfolder {
        width: 95% !important;
    }

    .datamemoria {
        margin-left: 2em !important;
    }

    .optmemoria {
        margin-top: -3em;
        float: right;
        margin-right: 2em;
    }

    .modicons.bg-b {
        margin-top: 5em;
    }

    div {
        overflow-x: hidden !important;
    }

    #homeheader #agenda-tu-asesoria.fullalto .container {
        margin-top: 0 !important;
    }

    #homeheader #agenda-tu-asesoria.fullalto h1 {
        font-size: 2.4em !important;
        margin-top: 13px !important;
        text-align: center;

    }

    #homeheader #agenda-tu-asesoria.fullalto .call-to-action {
        font-size: 2em !important;
        text-align: center;
    }

    #homeheader #agenda-tu-asesoria.fullalto a.botones {
        display: block;
        font-size: 13px !important;
        width: auto !important;
        margin-top: 2em;
        margin-left: auto;
        margin-right: auto;
    }
}


@media screen and (max-width: 375px),
screen and (max-width: 390px),
screen and (max-width: 393px),
screen and (max-width: 360px) {
    #header-top {
        font-size: 11px !important;
        margin-left: 5px !important;
    }

}