@media (max-width: 1024px) {
    body.main-body {
        display: block;
        padding: 0 10px;
    }

    .wrapper {
        width: auto;
        padding: 0 10px;
    }

    .baseline {
        display: block;
        position: relative;
    }

    .defcolortable1,
    .defcolortable2 {
        float: left;
        margin-right: 10px;
    }

    #tableParrilla {
        width: 100%;
    }

    #logofooter,
    div#contactInformation,
    div#footerLinks {
        display: block;
        width: 100%;
        float: none;
        clear: both;
    }

    div#footerArea {
        width: auto;
        padding: 0 20px;
        margin: 30px -10px 0;
        display: block;
        height: auto;
    }

    div#contactInformation li,
    div#footerLinks li {
        display: block;
        float: none;
        clear: both;
    }

    .ui-fluid .ui-md-6 {
        display: block;
        width: 100%;
        float: none;
        padding: 0 0;
    }

    .wrapper .sidebar,
    .wrapper .main {
        width: auto;
        float: none;
        margin: 0 0;
        position: relative;
        padding: 0 0;
    }

    #logofooter {
        background-position: top left;
    }

    div#footerLinks,
    div#contactInformation,
    div#contactInformation ul,
    div#footerLinks ul {
        clear: both;
        display: block;
        padding: 0 0 20px;
        height: auto;
        float: none;
    }

    div#contactInformation ul,
    div#footerLinks ul {
        padding: 0 0;
    }

    div#contactInformation ul,
    div#footerLinks li {
        display: block;
        padding: 0 0 5px;
        height: auto;
    }

    #logo {
        float: none;
        display: block;
    }

    #header {
        height: auto;
    }

    #header h2 {
        margin: -7px 0 0;
        padding-left: 5px;
        float: none;
        font-size: 12px;
    }

    #globalLinks li.date {
        display: none;
    }

    #globalLinks li {
        float: none;
        display: block;
        margin: 0 0 10px;
    }

    #titleArea h1 {
        font-size: 18px;
        float: left;
        width: calc(100% - 55px);
        line-height: 1.1;
        padding-bottom: 0;
        margin-bottom: 20px;
    }

    .sectionHeaderArea {
        height: auto;
        line-height: 1.1;
    }

    .sectionHeaderArea h3 {
        padding-left: 0;
        text-align: left;
    }

    /**************/
    .wrapper .sidebar {
        left: -400px;
        transition: all ease .3s;
    }

    .wrapper .sidebar.active {
        left: 0;
    }

    .wrapper .sidebar ul li,
    .wrapper .sidebar ul li > ul li {
        padding: 10px 5px 10px 20px;
        background-color: #eaeaea;
        background-position: 10px 15px;
        margin-bottom: 2px;
    }

    .wrapper .sidebar ul li.labelmenuitem,
    .wrapper .sidebar ul li > ul li.labelmenuitem {
        padding-bottom: 0;
    }

    .wrapper .sidebar {
        position: absolute;
        background: #fff;
        padding: 10px 10px 20px;
        box-shadow: 1px 1px 7px rgba(0, 0, 0, .25);
        height: auto;
    }

    #globalLinks li.show_sidebar {
        display: block;
    }

    #globalLinks li.r_hidden,
    #globalLinks li.show_sidebar span {
        display: none;
    }

    #globalLinks li.show_sidebar a {
        text-decoration: none;
        margin-top: 10px;
        display: block;
    }

    #globalLinks li.show_sidebar .fa {
        display: block;
        color: #444;
        background: #eaeaea;
        border-radius: 5px;
        width: 40px;
        height: 40px;
        text-align: center;
        line-height: 40px;
        font-size: 21px;
    }

    #globalLinks li.show_sidebar.active .fa {
        background: #0189ab;
        color: #fff;
    }

    .wrapper .sidebar ul li > a.r_show,
    .wrapper .sidebar ul li.labelmenuitem.r_show {
        display: block;
    }

    .border_left {
        padding: 0 0;
        border-left: none !important;
    }

    .overflowered table.form_field {
        min-width: 100%;
    }

    table.form_field.half_th th,
    table.form_field.ui-panelgrid.half_th td.ui-widget-header,
    table.form_field th,
    table.form_field td {
        width: calc(50% - 11px);
        display: inline-block;
        vertical-align: top;
        padding-bottom: 5px;
    }

    .cicle_tags {
        margin-left: calc(100% / 2 - 145px);
        padding: 5px;
        clear: both;
    }

    .cicle_tags a.circle_tag {
        float: left;
        margin: 0 3px 10px;
    }

    .cicle_tags a.circle_tag:nth-child(4) {
        clear: left;
    }
}

@media (max-width: 768px) {
    .botonera > .ui-button {
        display: block !important;
        width: 100%;
        margin: 0 0 10px;
    }

    .ui-tabs .ui-tabs-nav li a,
    .ui-tabs.ui-tabs-top > .ui-tabs-nav li {
        display: block;
        float: none;
    }

    table.bordered td.other {
        display: none;
    }

    table.bordered td .ui-selectonemenu {
        display: block;
        width: 90%;
        margin-bottom: 15px;
    }

    .img_fluid {
        display: block;
        width: auto;
        max-width: 100%;
    }

    .card .header-card .ui-md-6:first-child, .card .header-card .ui-g-5:first-child, .card .header-card .ui-g-4:first-child, .card .header-card .ui-g-3:first-child {
        text-align: left;
    }

    .header-card .ui-g-4 {
        float: left;
        display: block;
        padding: 10px 10px !important;
        width: 100%;
        text-align: left !important;
        border-bottom: 1px solid #fff;
    }

    .header-card .ui-g-4 a {
        text-decoration: none;
    }

    #header h2 {
        font-size: 10px;
    }

    .botonera {
        padding: 10px 0;
    }

    p.required,
    span.required {
        color: #f17123;
        font-size: 10px;
        line-height: 1.3;
    }

    .introductionArea p {
        padding: 0 0;
    }

    #header {
        margin-bottom: 2px;
    }

    .ui-accordion .ui-accordion-header {
        margin-bottom: -2px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .ui-accordion .ui-accordion-header .ui-icon {
        top: 15px;
    }

    /***** tables *****
    table.form_field th, table.form_field td,
    table.form_field.ui-panelgrid td.ui-widget-header,
    table.form_field.ui-panelgrid td {
        padding: 5px 5px;
        display: block;
        width: auto;
        border-bottom: 1px solid #ccc;
        float: left;
    }
    table.form_field tr:nth-child(odd) {
        background:#ededed;
    }
 */
    .ui-g-1, .ui-g-2, .ui-g-3, .ui-g-4, .ui-g-5, .ui-g-6, .ui-g-7, .ui-g-8, .ui-g-9, .ui-g-10, .ui-g-11, .ui-g-12,
    .ui-md-1, .ui-md-2, .ui-md-3, .ui-md-32, .ui-md-4, .ui-md-5, .ui-md-6, .ui-md-68, .ui-md-7, .ui-md-8, .ui-md-9, .ui-md-10, .ui-md-11, .ui-md-12 {
        float: none;
        display: block;
        width: 100%;
        padding: 0 0;
    }

    .main .ui-md-2.relative.collapsed {
        height: 40px;
        overflow: hidden;
        margin-bottom: 10px;
    }

    .main .ui-md-2.relative {
        height: auto;
        overflow: visible;
    }

    .show_filter {
        display: block;
        background: #0189ab;
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        color: #fff !important;
        font-size: 18px;
        float: right;
        border-radius: 5px;
    }
}

@media (max-width: 480px) {
    .cicle_tags {
    }

    .cicle_tags a.circle_tag {
        float: none;
    }

    .cicle_tags a.circle_tag:nth-child(4) {
        clear: none;
    }
}