@media all and (max-width: 1024px){

    /*Cabecera*/
    header{
        height: 194px;
    }

    header .logo-sodexo{
        display: none;
    }

    /*Menu de navegación*/
    nav{
        bottom: auto;
        top: 83px;
    }

    /*Datos Cliente*/
    header #menu-cliente{
        height: 110px;
    }

    header #menu-cliente #datos-cliente{
        width: 70%;
    }

    header #menu-cliente #datos-cliente figure{
        width: 40px;
        height: 40px;
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 15px;
    }

    header #menu-cliente #datos-cliente h2 a{
        font-size: 14px;
    }

    header #menu-cliente #datos-cliente .chosen-container{
        float: right;
        width: 150px;
        margin-top: -20px;
    }

    header #menu-cliente #datos-cliente .chosen-single{
        width: 180px;
        margin-top: 0px;
    }

    header #menu-cliente #datos-cliente select{
        width: 150px;
        background-color: #fff;
        border: none;
        padding: 5px;
        margin-top: 5px;
        border-radius: 5px;
        font-family: 'sansa-pro-normal', sans-serif;
        font-size: 12px;
        background-image: url(../../images/general/flecha_select_movil.png);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    }

    header #menu-cliente #utiles{
        width: 30%;
    }

    header #menu-cliente #utiles #btn-notificaciones{
        margin-right: 20px;
    }

    header #menu-cliente #utiles #btn-cerrar-sesion{
        margin-right: 10px;
    }

    header #menu-cliente #utiles #btn-notificaciones + #modal-notificaciones{
        width: 90%;
        right: 50%;
        transform: translateX(50%);
    }

    header #menu-cliente #utiles #btn-notificaciones + #modal-notificaciones::before{
        display: none;
    }

    /*Formulario*/
    form{
        padding: 0px 10px;
    }

    /*Ruta*/
    #cabecera-interior #ruta{
        display: none;
    }

    /*Cabecera interior*/
    #cabecera-interior{
        height: auto;
    }

    #cabecera-interior h3{
        padding: 40px 0px 0px 0px;
        font-size: 15px;
        line-height: 25px;
        display: block;
        background-size: 40px;
        background-position: top center;
        text-align: center;
    }

    #cabecera-interior h3::after{
        display: none;
    }

    #cabecera-interior h4{
        padding: 0px;
        font-size: 25px;
        margin: 0px;
        display: block;
        text-align: center;
    }

    #cabecera-interior #ruta + .wrap{
        margin-top: 0px;
    }

    #cabecera-interior.datos h4,
    #cabecera-interior.procedimientos h4,
    #cabecera-interior.contacto h4{
        font-size: 20px;
        padding-left: 0px;
        padding-top: 40px;
        background-position: top center;
        background-size: 40px;
    }

    /*Fila*/
    .fila .col{
        width: 100% !important;
        float: none !important;
        margin-bottom: 0px;
    }

    /*Formularios*/
    form select{
        display: block;
        width: 100%;
        background-color: #fff;
        border: 1px solid #bfcbcf;
        padding: 5px;
        margin-top: 5px;
        border-radius: 5px;
        font-family: 'Arial', sans-serif;
        font-size: 12px;
        height: 38px;
        background-image: url(../../images/general/flecha_select_movil.png);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    }

    form label span.error{
        top: 60px;
    }

    form label select + span.error{
        position: relative;
        top: 0px;
    }

    form .btn{
        margin: 20px auto;
        display: block;
        width: 150px;
        float: none;
    }

    form .btn.add-horario{
        width: 95px;
        min-width: initial;
    }

    form input.item-lista{
        width: 80% !important;
    }

    /*Datepicker*/
    .ui-datepicker{
        width: calc(100% - 30px) !important;
    }

    #botonera-detalle{
        text-align: center;
        width: 100%;
    }

    /*Botonera Detalle*/
    #botonera-detalle .btn{
        width: calc(90% - 60px);
        margin-bottom: 0px;
    }

    /*Detalle Compañia*/
    #detalle-compania{
        width: calc(100% - 20px);
        padding: 10px;
        margin: 0 auto;
    }

    #detalle-compania form{
        padding: 0px;
    }

    /*Detalle Compañia*/
    #detalle-compania h4{
        font-size: 20px;
    }

    #detalle-compania .fila{
        border-bottom: none;
        padding: 0px;
    }

    #detalle-compania .fila .col{
        margin-bottom: 0px;
        padding: 0px 2px;
    }

    #detalle-compania .fila .col:nth-child(1),
    #detalle-compania .fila .col:nth-child(3){
        padding-bottom: 0px;
    }

    #detalle-compania .fila .col:nth-child(2),
    #detalle-compania .fila .col:nth-child(4){
        padding-top: 0px;
    }

    #detalle-compania .fila .col:nth-child(2n){
        margin-bottom: 10px;
    }

    #detalle-compania .fila .col span{
        padding-left: 0px;
    }

    #detalle-compania .fila .col input{
        width: calc(100% - 33px);
        color: #000;
        background-image: url(../../images/iconos/ico_editar_gris.png);
        background-repeat: no-repeat;
        background-position: 3px 6px;
        background-size: 15px;
        padding-left: 23px;
        background-color: #f8f8f8;
    }

    /*Filtro Búsqueda*/
    #filtro-busqueda label,
    #filtro-busqueda label.doble{
        width: 100%;
        float: none;
        margin-right: 0px;
    }

    table{
        border-radius: 7px;
        padding: 0px;
        width: calc(100% - 20px);
        border: 1px solid #dae2e5;
        margin: 0 auto;
    }

    table thead tr th{
        font-size: 10px;
        padding: 5px 3px;
    }

    table tbody tr td{
        font-size: 12px;
        padding: 5px 3px;
    }

    table span.pendiente,
    table span.proceso,
    table span.pagado,
    table span.consumo,
    table span.reversa,
    table span.anulacion{
        width: 10px;
        height: 10px;
        margin-top: 5px;
    }

    table .btn{
        font-size: 8px;
    }

    table td:last-child .btn{
        font-size: 8px;
        text-indent: -70px;
        color: transparent !important;
        background-position: center;
        border-radius: 50%;
        padding: 0px;
        width: 30px;
        float: left;
        min-width: 30px;
    }

    /*Cabecera Detalle*/
    #cabecera-detalle figure{
        width: 50%;
        float: none;
        margin: 0 auto
    }
    
    #cabecera-detalle h5.nombre-local{
        text-align: center;   
        float: none;
        width: auto;
    }

    #mis-datos #cabecera-detalle figure{
        width: 100px;
    }

    #mis-datos #cabecera-detalle figure a{
        width: 100px;
        height: 100px;
    }

    #mis-datos #cabecera-detalle .texto{
        margin-top: 20px;
        margin-left: 0px;
        text-align: center;
        float: none;
    }

    /*Utilitarios*/
    #utilitarios a{
        font-size: 12px;
        padding: 0px 10px;
    }

    /*Modal Notificaciones*/
    #modal-notificaciones{
        display: none;
        position: absolute;
        z-index: 99999;
        width: 90%;
        padding: 10px;
        border-radius: 7px;
        background-color: rgba(255,255,255,1);
        top: 180px;
        right: 50%;
        transform: translateX(50%);
        margin-right: 0px;
    }

    #modal-notificaciones::before{
        display: none;
    }

    /*Archivos*/
    #listado-documentos a.archivo{
        width: calc(90% - 80px);
        padding: 4px 20px 4px 60px;
        margin: 20px auto;
    }

    #listado-documentos.procedimientos a.archivo h5{
        font-size: 16px;
        line-height: 18px;
    }

    #listado-documentos.procedimientos a.archivo h5, 
    #listado-documentos.procedimientos a.archivo p{
        width: 100%;
    }

    #listado-documentos a.archivo::before{
        width: 40px;
        height: 40px;
    }

    #listado-documentos a.archivo .servicios{
        position: relative;
        top: auto;
        right: auto;
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        text-align: left;
        margin-top: 10px;
    }

    #listado-documentos a.archivo .servicios img{
        width: 40px;
        height: auto;
    }

    /*Menu Promoción*/
    .menu-promocion{
        width: 100%;
        margin: 0px auto;
    }

    .menu-promocion #listado-promociones{
        width: 300px;
        margin: 0px auto;
        float: none !important;
    }

    #menu-vigente-detalle{
        width: 300px;
        height: 388px;
        margin: 0 auto !important;
        float: none;
    }

    #menu-vigente-detalle .menu{
        width: 160px;
        height: 200px;
    }

    #menu-vigente-detalle .mCustomScrollbar{
        left: 82px;
    }

    #menu-vigente-detalle .menu p span{
        font-size: 14px;
        margin-top: 10px;
    }

    #menu-vigente-detalle .menu p.valor{
        margin-top: 20px;
    }

    #listado-promociones .promocion,
    #ejemplo-promocion .promocion{
        width: 300px !important;
        margin: 20px auto !important;
        padding: 15px;
        height: auto !important;
    }

    #listado-promociones.portada .promocion{
        margin: 10px auto;
        float: none;
        padding: 5px;
    }

    #listado-promociones .promocion .vista-previa,
    #ejemplo-promocion .promocion .vista-previa{
        width: 300px !important;
        height: 259px !important;
    }

    #listado-promociones.portada .promocion .vista-previa{
        float: none;
        margin: 0 auto;
    }

    #listado-promociones .promocion .vista-previa figure,
    #ejemplo-promocion .promocion .vista-previa figure{
        width: 80px;
        height: 45px;
    }

    #listado-promociones .promocion .vista-previa p.titulo,
    #ejemplo-promocion .promocion .vista-previa p.titulo{
        margin-top: 80px;
        font-size: 32px;
        width: 140px;
        margin-left: 10px;
        line-height: 38px;
    }

    #listado-promociones .promocion .vista-previa p.detalle,
    #ejemplo-promocion .promocion .vista-previa p.detalle{
        font-size: 9px;
        width: 140px;
        line-height: 10px;
        margin-left: 10px;
        margin-bottom: 5px;
    }

    #listado-promociones .promocion .vista-previa p.nombre-direccion,
    #ejemplo-promocion .promocion .vista-previa p.nombre-direccion{
        width: 140px;
        font-size: 8px;
        line-height: 10px;
        margin-bottom: 5px;
        margin-left: 10px;
    }

    #listado-promociones .promocion .vista-previa p.restriccion,
    #ejemplo-promocion .promocion .vista-previa p.restriccion,
    #listado-promociones .promocion .vista-previa p.vigencia,
    #ejemplo-promocion .promocion .vista-previa p.vigencia{
        width: 140px;
        font-size: 7px;
        line-height: 7px;
        margin-left: 10px;
    }

    #listado-promociones .promocion .vista-previa p.vigencia,
    #ejemplo-promocion .promocion .vista-previa p.vigencia{
        margin-top: 5px;
        margin-left: 10px;
    }

    #listado-promociones .promocion .vista-previa p.tipo-promo,
    #ejemplo-promocion .promocion .vista-previa p.tipo-promo{
        font-size: 8px;
        top: 104px !important;
        left: 180px !important;
        width: 50px;
    }

    #listado-promociones .promocion .vista-previa p.tipo-promo.una-linea,
    #ejemplo-promocion .promocion .vista-previa p.tipo-promo.una-linea{
        top: 97px;
        left: 159px;
    }

    #listado-promociones.portada .promocion .info{
        float: none;
        width: auto;
        margin-left: 0px;
    }

    #listado-promociones.portada .promocion .info div{
        display: block;
        width: 100%;
        height: auto;
        padding: 0px 0px 20px 0px;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.2);
    }

    #listado-promociones.portada .promocion .info div:last-child{
        border-bottom: none;
    }

    .btn.crear-promo{
        display: block;
        width: 150px;
        margin: 20px auto 0px auto;
        float: none !important;
    }

    #filtro-busqueda .sk-fading-circle:after{
        display: none;
    }

    .sin-resultados{
        padding: 10px;
        width: calc(100% - 40px);
        margin: 0 auto;
    }

    #slideshow-imagenes-1 .cycle-slideshow div.slide{
        height: 300px;
    }

    #slideshow-imagenes-2 .cycle-slideshow div.slide{
        width: 57px;
        height: 57px;
    }

}

@media all and (min-width: 768px) and (max-width: 1024px){
    .ui-datepicker{
        width: 50% !important;
    }

    #detalle-compania .fila{
        display: block;
        text-align: left;
    }

    #detalle-compania .fila .col:first-child{
        padding-bottom: 10px;
    }

    #detalle-compania .fila .col:first-child,
    #detalle-compania .fila .col:last-child{
        float: none;
    }

    #detalle-compania .fila .col{
        font-size: 14px;
        font-weight: normal;
        color: #596066;
        text-align: left;
        line-height: 20px;
        padding: 0px;
        margin-right: 0px;
        width: calc(25% - 30px) !important;
    }

    #detalle-compania .fila .col:first-child,
    #detalle-compania .fila .col:nth-child(3){
        width: calc(25% - 20px) !important;
        font-family: 'sansa-pro-bold', sans-serif;
    }

    #filtro-busqueda label{
        width: calc(50% - 10px);
        float: left;
        margin-right: 20px;
    }

    #filtro-busqueda label:nth-child(2n),
    #filtro-busqueda label.doble:nth-child(2n){
        margin-right: 0px;
    }

    #filtro-busqueda button::before{
        content: '';
        clear: both;
        display: block;
        width: 100%;
    }

    .menu-promocion{
        width: 652px;
        margin-bottom: 50px;
    }

    .menu-promocion .promocion{
        margin-top: 0px !important;
    }

    .menu-promocion #listado-promociones{
        float: left !important;
    }

    .menu-promocion #listado-promociones .promocion.mi-local{
        height: 358px !important;
        margin-top: 0px !important;
    }

    #menu-vigente-detalle{
        float: left;
        margin-right: 52px !important;
    }

    #menu-vigente-detalle.editor{
        float: none;
        margin: 0 auto !important;
    }
    
}

@media all and (min-width: 600px) and (max-width: 1024px){

    #listado-promociones.portada{
        width: 592px;
        margin: 0 auto;
    }

    #listado-promociones.portada .promocion{
        margin: 0px 8px 20px 0px !important;
        float: none;
        padding: 10px;
        width: calc(100% - 22px) !important;
    }

    #listado-promociones.portada .promocion .vista-previa{
        float: left;
        margin-right: 20px;
    }

    #listado-promociones.portada .promocion .info{
        float: left;
        width: 240px;
    }
}

@media all and (orientation: landscape) and (max-width: 599px){
    #listado-documentos.procedimientos a.archivo{
        min-height: 50px;
    }

    #listado-documentos.procedimientos a.archivo h5, 
    #listado-documentos.procedimientos a.archivo p{
        width: 63%;
    }

    #listado-documentos a.archivo .servicios{
        position: absolute;
        top: 50%;
        right: 0px;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        text-align: left;
        margin-top: 0px;
    }

    #listado-documentos a.archivo .servicios{
        height: 30px;
        width: auto;
    }

    #listado-promociones.portada .promocion{
        padding: 15px;
    }

    #listado-promociones.portada .promocion .info .detalle{
        display: none;
    }
}