@media only screen and (max-height: 600px) {    
    #login-header #login-header-logo {
        margin: 0 0 0 0;  
    }

    #loginFormPanel {
        margin-top: 30px;
    }

    #loginFormPanel .ui-button {
        padding: 2px;
        margin-top: 5px;
        margin-bottom: 10px;
    }

    #loginFormPanel p#titulo-area-clientes{
        font-size: 1.5em;
        margin-top: 10px;
    }
}

@media only screen and (max-width: 490px) {   
    #login-header #login-header-logo {
        margin: 0 0 0 0;       
    }

    #loginFormPanel p#titulo-area-clientes{
        font-size: 1.5em;
        margin-top: 10px;
    }

    #loginFormPanel {
        width: 240px;
    }

    #loginFormPanel .ui-button {
        padding: 2px;
        margin-top: 5px;
        margin-bottom: 10px;
    }

    #loginFormPanel .ui-inputfield {
        width: 220px;
        margin: 5px 0;
    }

}

@media only screen and (max-width: 680px) {
    #left {
        display: none;
    }
    ul.topnav li:not(:first-child) {
        display: none;
    }
    ul.topnav2 li {
        display: none;
    }
    ul.topnav li.icon {
        float: right;
        display: inline-block;
    }
    ul.topnav.responsive li {
        float: none;
        display: inline;
    }
    ul.topnav.responsive li a {
        display: block;
        text-align: left;
    }
    #containerAC {
        width: 100%;
        padding: 0;
    }
    ul.topnav.responsive li.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    ul.topnav.responsive li {
        float: none;
        display: inline;
    }
    ul.topnav.responsive li a {
        display: block;
        text-align: left;
    }
    .ui-panelgrid .ui-panelgrid-cell {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .ui-tabs {
        margin: 0 !important;
    }
    .ui-tabs .ui-tabs-panel {
        padding: 0 !important;
    }
    .peticionServicioImg {
        display: none;
    }
    .ui-panelgrid .ui-grid-responsive .ui-grid-row {
        border: none !important;
    }
    .ui-tabs.ui-tabs-top > .ui-tabs-nav li {
        width: 100%;
        text-align: center;
    }
    .ui-tabs .ui-tabs-nav li {
        margin: 0 !important;
    }
    .ui-tabs .ui-tabs-nav li a {
        padding-left: 0px !important;
        padding-right: 0px !important;
        width: 100%;
    }
    #logoutLoginBarElement, #procesosPendienteBarElement {
        display: none !important;
    }

    #content {
        width: 100% !important;
        display: block;
    }

    #avsis-ac-titulo {
        margin-left: 0;
        width: 150px;
    }

    #avsis-ac-titulo a#titulo-area-clientes {
        color: #fff;
        font-size: 20px;
        margin: 0;
    }

    #login-box ul {
        padding: 0;
    }

    #tipoPeticion {
        width: 100% !important;
    }
    
    #login-box ul {
        display: flex;       
        justify-content: flex-end;
    }
}

@media only screen and (min-width: 681px) and (max-width: 1024px) {
    #left {
        display: none;
    }
    ul.topnav li:not(:first-child) {
        display: none;
    }
    ul.topnav2 li {
        display: none;
    }
    ul.topnav li.icon {
        float: right;
        display: inline-block;
    }
    ul.topnav.responsive li {
        float: none;
        display: inline;
    }
    ul.topnav.responsive li a {
        display: block;
        text-align: left;
    }
    #containerAC {
        width: 100%;
        padding: 0;
    }
    ul.topnav.responsive li.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    ul.topnav.responsive li {
        float: none;
        display: inline;
    }
    ul.topnav.responsive li a {
        display: block;
        text-align: left;
    }
    .ui-panelgrid .ui-panelgrid-cell {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .ui-tabs {
        margin: 0 !important;
    }
    .ui-tabs .ui-tabs-panel {
        padding: 0 !important;
    }
    .ui-panelgrid .ui-grid-responsive .ui-grid-row {
        border: none !important;
    }
    #logoutLoginBarElement, #procesosPendienteBarElement {
        display: none !important;
    }
    .ui-grid-col-10 {
        width: 100% !important;
    }
    .peticionServicioImg {
        display: none;
    }
    #content {
        width: 100% !important;
        display: block;
    }
    .peticionServicioForm {
        width: 100%;
        float: none;
        display: table-cell;
    }
    #login-box ul {
        display: flex;       
        justify-content: flex-end;
    }
}


@media only screen and (min-width:1025px) and (max-width: 1280px) {
    #left {
        display: table-cell;
    }
    .topnav {
        display: none;
    }
    #containerAC {
        width: 100%;
        padding: 0;
    }
    #login-bar {
        padding: 0 5%;
    }
    #login-box ul {
        display: flex;   
        justify-content: center;
    }
    .peticionServicioImg {
        display: none;
    }
    #logoutLoginBarElement {
        display: inline-block;
    }
    #content {
        display: table-cell;
    }
}

@media only screen and (min-width:1281px) {
    .topnav {
        display: none;
    }
    #containerAC {
        width: 100%;
        padding: 0;
    }
    #login-bar {
        padding: 0 5%;
    }
    #login-box ul {
        display: flex;
        justify-content: center;
    }
    .peticionServicioForm {
        width: 70%;
        float: left;
        display: table-cell;
    }
    .peticionServicioImg {
        display: table-cell; 
        width: 250px; 
        float: right;
    }
}


/* Remove margins and padding from the list, and add a black background color */
ul.topnav {
    list-style-type: none;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background-image: url('//public.grupoiris.net/apps/avsis/ac/carrefour/fondoCabeceraAreaClientesMini.jpg');
}

ul.topnav2 {
    list-style-type: none;
}

/* Float the list items side by side */
ul.topnav li {
    float: left;
}

/* Style the links inside the list items */
ul.topnav li a {
    display: inline-block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
    font-size: 17px;
}

/* Change background color of links on hover */
ul.topnav li a:hover {
    background-color: #111;
}

ul.topnav li a.firstLink {
    pointer-events: none;
}

ul.topnav li a.firstLink:hover {
    background-color: transparent !important;
}

html, body {
    box-sizing: border-box;
    height: 100%;
}

#leftMenuResponsive {
    vertical-align: top;
}

table td button.ui-button {
    width: 2em !important;
}

.ui-widget-content.ui-datatable-even {
    border: 1px solid #FFF !important;
    background: #FFF !important;
}

.ui-widget-content.ui-datatable-odd {
    background: #ebf3ff !important;
}
