
@media screen and (max-width: 980px) {
    canvas {
        max-width:100%;
    }
    .body_content {
        padding:0;
    }
    .tablegroup.islive .table-cell:first-child {
        width:auto !important;
    }
    .subview.statsbychannel {
        margin-top: 0 !important;
    }
    .chart_canvas {
        margin: 15px 0;
        padding: 10px;
        margin-top:0;
    }
    .toppage .svg_logo {
        margin:8px auto;
    }

    .channel_banner {
        width: 100%;
        height: auto !important;
    }
    .padding1030 {
        padding: 0 10px 10px 10px;
        /* padding-bottom: 0; */
        box-sizing: border-box;
    }
    #form_daterange {
        padding: 2px;
        height: 22px;
    }

    .buscador {
        display:none;
        background: var(--black);
        position: fixed;
        left: 0;
        right: 0;
        margin: 0;
        width: 100%;
        bottom: 60px;
        height: 65px;
        top: auto;
    }
    .buscador>svg {
        display:none;
    }
    .input_search {
        background: #000;
        color: #ccc;
        outline: 0;
        border-radius: 80px;
        height: 38px;
        width: 90%;
        position: absolute;
        top: 0;
        bottom: 0;
        /* margin: auto; */
        padding: 10px 20px;
        box-sizing: border-box;
        border: none;
        margin: 15px auto;
        left: 0;
        right: 0;
    }
    div#results {
        width: 100%;
        position: fixed;
        top: 60px;
        bottom: 120px;
        max-height: none;
        box-shadow: none;
    }
    .channel_topname .imglayout {
        margin-right: 10px !important;
    }
    .channel_topname .imglayout, .channel_topname .channel_image {
        height:50px;
        width:50px;
    }
    .islive_tag_min {
        width:5px;
        height:5px;
    }
    body:before {
        max-width:100%;
    }
    .user_button {
        display:none;
    }
    .btn_theme {
        margin-top:12px;
    }
    .padding, .table.history {
        padding:0 !important;
    }
    .table.history .table-cell {
        margin-bottom: 20px;
    }
    #form_daterange input {
    }
    .togglenav {
        padding: 0 15px;
        display: inline-block;
        color: #000;
        position: absolute;
        left: 0;
        line-height: 60px;
    }
    .navlat .togglenav {
        color: #FFF;
        padding-left: 25px;
        font-size: 15px;
    }
    .navlat {
        left: -115%;
        position: fixed;
        /* left: 0; */
        right: 0;
        background: var(--black);
        z-index: 100;
        top: 60px;
        margin: 0;
    }
    .subview {
        margin-top:0;
    }
    .navlat .toppage .hiddeonminimize {
        margin-left: 40px;
        font-weight: 500;
    }
    .boxes, .box, .boxes > div {
        display: block;
        width: auto;
    }
    .boxes {
        padding: 0 10px;
        width: auto;
        margin-bottom: 10px;
    }
    .boxes .box {
        margin: 10px 0;
    }

    #regions_div {
        height:250px !important;
        padding-left: 120px;
    }
    /*blockes home */
    .table.bloques_list {
        display: block;
        width: auto;
    }
    .region_area {
        background: #f8f9fa;
        overflow: hidden;
        max-width: 100%;
    }
    /*
    .bloques_list .table, .bloques_list .table-cell,
    .table.keep, .table.keep .table-cell {
        display: block !important;
        width: auto !important;
    }
    */
    .table, .table-cell, .table-row {
        display:block;
        width:100%;
    }
    .bloques_list .bloque {
        margin: 10px;
        border: none;
    }
    .bloques_list .bloque {
        height:auto;
    }
    /* bloques home*/
    .minimized .navlat {
        left:-115%;
    }
    .minimized .navlat.show {
        left:0;
    }
    .mobile_displayblock {
        display: block !important;
        width:auto;
    }

    .minimized .pcon {
        width: 100%;
        margin: 0;
        padding: 15px;
        box-sizing: border-box;
    }
    .bloque {
        margin:0;
    }
    .subview {
        padding: 0;
        /*background-color: #FFF; */
    }
    .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;
        border-top: 1px solid #DDD;
    }
    .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: 10px;
    }
    .genericTableTop input {
        max-width: 170px;
    }
    .action-icon {
        width: 25px;
        height: 25px;
        padding: 0;
        text-align: center;
        line-height: 25px;
        display: block;
        margin: 2px 0;
    }
    .pagination > 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:block;
    }
    .pcon, .subview {
        width:100%;
    }
    .leftChars {
        right: 0;
        left: auto;
        top: 0;
    }
    .genericNew > .field > label > span {
        line-height: 20px;
        margin-top: 10px;
    }
    #pnav {
        width:100%;
        padding: 15px;
        box-sizing: border-box;
    }
    .toppage .toppage {
        background: #111;
        position: relative;
        height: 60px;
    }
    .btn-logout {
        z-index:110;
        color: #fff !important;
        position: absolute;
        right: 0;
        top: 0;
        display: block;
        width: 40px;
        height: 60px;
        text-align: center;
        line-height: 60px;
    }
    .toppage .logo {
        margin: 0px auto;
        display: block;
        height: 70px;
        max-width: 70%;
        height: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto;
        left:10px;
        max-height:70px;
    }
    #pnav > li > a > span {
        padding-left: 7px;
    }
    .mobile_menu {
        display:block;
        position:fixed;
        bottom:0;
        z-index:100;
        background:var(--black);
        left:0;
        right:0;
        height:60px;
        padding-bottom: 5px;
    }
    .mobile_menu .mtable-cell {
        border-top: 1px solid #222;
    }
    .light .mobile_menu .mtable-cell {
        border-top: 1px solid #CCC;
    }
    .mobile_menu .mtable {
        height:60px;
    }
    .mobile_menu svg {
        height: 30px;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }
    .mobile_menu svg.fixed {
        height:18px;
    }
    .msg_sesion_limitada {
        font-size: 20px;
        padding: 40px 40px;
        display: block;
        text-align: center;
        margin: 80px auto 0 auto;
        text-align:center;
    }
    .msg_sesion_limitada .btn_generic {
        margin-left:auto;
        margin-right:auto;
    }
    .user_menu.show {
        left: 0;
        right: 0;
        width: 100%;
        position: fixed;
        top: 60px;
        height: 100%;
        padding-bottom: 60px;
        box-sizing: border-box;
        background: var(--black);
        border-top: 1px solid rgba(30, 30, 30, .2);
    }
    .user_menu a {
        text-align: center;
        padding: 20px;
        border: 1px solid rgba(30, 30, 30, 0.1);
    }
    .user_menu div.padding {
        font-size: 20px;
        text-align: center;
        display: block;
        margin: 20px;
    }
    body.light #pnav>li>a {
        color:#000 !important;
    }
    .pcon {
        padding-bottom: 60px !important;
    }
    .newselector.abierto .select_search {
        width:125px;
    }
}
