
@media screen and (max-width: 980px) {

    body {
        padding:0;
        padding-top:65px;
    }

    .navlat {
        top: 0;
        left: -100% ;
        border-radius: 0;
        width: 80%;
        height: 100%;
        overflow: auto;
        opacity:0;
        transition:all .25s;
        z-index:200;
    }
    .open .navlat {
        left:0;
        opacity:1;
    }
    .open .bg_menu {
        position:fixed;
        z-index:150;
        background:rgba(0,0,0,.4);
        top:0;
        left:0;
        right:0;
        bottom:0;
        width:100%;
        height:100%;
        display:block;
    }

    .main > .table {
        border-spacing: 0;
    }

    .pcon .toppage {
        margin: 0;
        width: 100%;
        border-radius: 0;
        height: 65px;
        position: fixed;
        z-index: 100;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    } 

    .subview {
        margin:0;
    }

    .nomobile {
        display:none !important;
    }

    .user_menu, .inline_item {
        height: 65px;
    }
    .user_menu .inner_img {
        margin-right: 7px;
        width: 55px;
        height: 55px;
    }
    .mobile .btn_menu {
        display: inline-block;
        vertical-align: middle;
        position: absolute;
        left: 0;
        top: 0;
        height: 65px;
        box-sizing: border-box;
        padding-top: 18px;
        z-index: 10;
    }
    .mobile .btn_menu > div {
        border-top:2px solid #FFF;
        margin-top:5px;
        height:1px;
        width:30px;
    }    

    .toppageTitle{
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        padding-left: 70px;
        z-index: 1;
        height: 65px;
        line-height: 65px;
    }

    .metricas .table, .metricas .table-row, .metricas .table-cell {
        display: block;
    }
    .metricas .table {
        border-spacing: 0;
    }
    .metricas .card {
        width: 100%;
        display: block;
        height: 220px;
        margin: 15px 0;
        padding: 15px;
        max-width: 94%;
        margin: 15px auto;
    }

    .sinfo .table-cell {
        border-right: none;
        border-bottom: 1px solid #dfdfe2;
        padding: 5px 0;
    }
    .metricas .frase {
        font-size: 20px;
        padding: 30px;
        height: auto;
    }
    .metricas .card.large {
        height: auto;
        min-height: 0;
    }
    .suc_spacing .fright input, .suc_spacing .fright select {
        margin: 0;
        width: 50%;
    }
    .card .select {
        max-width: 40%;
    }
    .metricas .card .title.bigger {
        font-size: 20px;
        padding-top: 45px;
        text-align: center;
    }
    .close_menu {
        position:absolute;
        right:5px;
        top:5px;
        height:25px;
        width:25px;
        line-height: 25px;
        text-align:center;
        border-radius: 100px;
        border: 1px solid #CCC;
        color:#CCC;
    }
/*
    .minimized .navlat {
        display: none;
    }

    .minimized .pcon {
        width: 100%;
        margin: 0;
    }
    .subview {
        padding: 0;
        background-color: #FFF;
        padding-top: 32px;
    }
    .minimized .subview {
        width:100%;
    }
    */
    .subview > h1 {
        z-index:1100;
        margin-top: 0;
        position: fixed;
        background: #FFF;
        padding: 0;
        left: 0;
        top: 60px;
        width: 100%;
        padding: 0 10px;
        font-size: 18px;
        height: 32px;
        line-height: 32px;
        background: #f5f5f5;
        transition:all .2s;
    }
    body:not(.minimized) .subview > h1 {
        left: 250px;
    }
    .genericNew {
        border: 0;
    }
    .genericNew > .title {
        font-size:14px;
    }
    .topList {
        margin-bottom:0;
        padding: 10px 10px 0 10px;
    }
    .generictable thead th:first-child {
        min-width: auto;
    }
    .generictable tbody tr td:first-child {
        min-width: 0;
    }
    .generictable img {
        width:100px;
    }
    .btn_trash.green {
        background: #fffca8;
        color: #191919;
    }
    .btn_trash span {
        display: none;
    }
    .genericTableTop {
        padding: 0;
    }
    .genericTableTop input {
        max-width: 170px;
    }
    .action-icon {
        width: 25px;
        height: 25px;
        padding: 0;
        text-align: center;
        line-height: 25px;
        display: inline-block;
        margin: 2px 0;
    }
    .pagination > span,  .action-icon span  {
        display:none;
    }
    .minimized .logoAccesoweb img {
        height: 40px;
        position: absolute;
        top: 10px;
        left: 0;
        right: 0;
        margin: auto;
    }
    .genericNew > .field > label > input[name=titulo], .genericNew > .field > label > input[name=uri] {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    .genericNew.buttonSave {
        position: relative;
        margin-bottom: 20px;
    }
    .minimized .genericNew.buttonSave {
        left:0;
        width:100%;
    }
    .subview.genericNew {
        height: calc(100% - 57px);
    }
    textarea.tiny {
        max-width:100% !important;
        width:100% !important;
    }
    .genericNew > .field > label > span {
        display: inline-block;
        width: auto;
        padding: 3px;
        margin: 0;
        min-width: 100px;
        line-height: 20px;
        margin-top: 5px;
    }
    .pcon, .subview {
        width:100%;
    }
    .leftChars {
        right: 0;
        left: auto;
        top: 0;
    }
    .generictable_content {
        overflow: auto;
        height: 500px;
        width: 100%;
        position: relative;
    }
    .generictable_subcontent {
        position: absolute;
        width: 100%;
        height: 500px;
        overflow: auto;
    }
    .paddingContent {
        margin: 10px;
    }
    .generictable:not(.subview).cupones {
        width: max-content; 
        padding: 0 8px;
    }
    .votos_graficos.metricas  {
        padding: 0;
    }
    .marginContent {
        padding:0 ;
        box-sizing: content-box;
    }
    .tag_result .motivo {
        position: fixed;
        top: 0;
        bottom: 0;
        margin: auto;
        left: 0;
        right: 0;
        width: 80%;
        height: auto;
    }
    .cupones input {
        max-width: 180px;
    }
    .user_menu_layout {
        right: 0;
        position: fixed;
        top: 65px;
        border-radius: 0;
    }
    .navlat {
        max-height: none;
        max-width: 340px;
    }

    .disponible .table-cell:first-child {
        width: 50px;
    }
    
    .disponible .table-cell {
        display: table-cell;
        vertical-align: middle;
    }
    .disponible .table {
        line-height: 1;
        height: 90px;
        display: table;
    }
    .metricas .disponible .thenumber {
        display: block;
        font-size: 25px;
        font-weight: 600;
        margin-top: 3px;
    }
    .metricas .disponible {
        font-size: 17px;
    }
    .categoria.responder .table-cell {
        display: table-cell;
    }
    
    .categoria.responder .table {
        display: table;
    }
    .popup{
        box-sizing: border-box;
        max-width: 90%;
    }
    .genericNew > .field > label > input {
        width: 100% !important;
    }
    .popup-content {
        position: absolute;
        top: 0;
        bottom: 0;
        margin: 10px;
        left: 0;
        right: 0;
        overflow: auto;
        z-index: 10;
    }
    .genericNew .field {
        line-height: 35px;
        padding: 5px 0;
        min-height: 40px;
    }
    .genericNew .desc span {
        right: 0;
        left: auto;
    }
    .titleinfo .iinfo.left .tooltip {
        right: 0;
        left: auto;
    }
    .cupones .topList {
        height: 35px;
    }
    .posright .select {
        display:none;
    }
    .posright {
        position: absolute;
        right: 0;
        top: 5px;
        width: 100%;
        overflow: auto;
        /* height: 60px;*/
    }
    .posright #filtros {
        width: 580px;
        margin-top: 10px;
    }
    .posright #filtros .btn_export, .posright #filtros .daterange {
        margin-top:0;
        margin-bottom:0;        
    }
    .user_menu_layout.open{
        top: 65px;
    }
    .noplan {
        font-size: 24px;
        padding: 25px;
        margin-top: 55px;
    }
    .noplan a {
        display: block;
    }

    .table-cell.preview {
        display: block;
        margin: 50px auto !important;
        width: 100% !important;
    }
    .generic_left {
        display: block;
    }
    .generic_left > .table-cell {
        width: 100%;
        margin: 0 auto;
        display: block;
    }
    .genericTabs {
        margin: 15px;
        overflow: auto;
        height: 50px;
    }
    .genericTabs .gContent {
        width: 630px;
    }
    .table {
        table-layout: fixed;
    }
    .genericTabs a {
        margin: 0px 5px;
        padding: 0 15px;
    }
    .genericNew .desc span {
        right: 0;
        left: 0;
    }
    form#qrs .field > label > span {
        display:block;
    }
    form#qrs input[type=text], form#qrs select {
        max-width: 70% !important;
    }
    .qrs .preview_content {
        margin: 0 auto;
        width: 100%;
    }
    .qr_preview {
        margin: 0 auto;
    }
    .field textarea {
        max-width: 95%;
    }
    .field.input_cumple_dias {
        display: block;
        width: 100%;
    }
    .generictable:not(.subview) {
        table-layout: fixed;
    }
    .generictable thead th {
        overflow: hidden;
    }
    .table {
        border-spacing: 0;
    }
    .toast {
        width: auto;
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .fright.link_gmaps {
        float: none;
        text-align: center;
    }
    .table.table_admin {
        min-width: 1010px;
    }
    .table.table_admin .table-cell:first-child {
        width: 175px;
    }
    .table_admin .generictable {
        table-layout: auto;
    }
    .action-icon {
        width: auto;
        min-width: 25px; 
    }
    .cupones .pagination {
        margin-top:70px;
        float: left;
    }
}

@media screen and (max-height: 700px) and (min-width: 980px) {
    #pnav {
        max-height: calc(100% - 130px);
    }
    .navlat .toppage .logo {
        margin: 10px auto;
    }

}