﻿/*GENERICO*/
.content {
    background-color: #eee;
    border: 1px solid #8b8b8b;
    border-radius: 4px;
    background-color: #fff;
}
.content, .box-fieldset .field-title, .box-fieldset-agrupador .titulo-agrupador {
    background-color: #fff;
}
h1, h1 span {
    font-size: 18px;
    margin-bottom: 20px;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    border: 1px solid #1b577e;
    background: none;
    background-color: #0f5785;
    font-weight: normal;
    color: #ffffff;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {

    border: 1px solid #1b577e;
    background: none;
    background-color: #003658;
    font-weight: normal;
    color: #ffffff;

}
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus, table.dataTable thead th.ui-state-default {
    background-image: none;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {

    border: 1px solid #8b8b8b;
    background: none;
    background-color: #ffffff;
    font-weight: normal;
    color: #212121;

}
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl {
    border-radius: 0;
}

.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr {
    border-radius: 0;
}
.ui-widget-header {
    border: 1px solid #1b577e;
    background: none;
    background-color: #003658;
    color: #ffffff;
    font-weight: bold;
}
.ui-widget input, .ui-widget select, .ui-widget textarea {
    font-size: 12px; 
}

.ui-button.ui-state-active {
    background: #fff;
}
#main-menu {
    font-weight: bold;
    position: relative;
    background: #0f5785;
}
#main-wrapper #footer {
    border: 0;
    border-top: 1px solid #999999;
}

#custom-main-menu > ul > li:hover,#custom-main-menu ul ul li:hover {
    background: #003658;
}



/*DIALOG Y TOOLBAR*/
.ui-dialog {
    max-width: 1500px !important;
}
.ui-dialog .ui-widget-header, .ui-datepicker .ui-widget-header, .fileupload-progressbar .ui-widget-header {
    background-color: #1b577e;
}
.ui-toolbar {
    border: none;
}
.ui-toolbar.ui-widget-header {
    background: none;
    border: none;
    border-bottom: 1px solid #1b577e;
}

.box-form .label,input[type=text], input[type=password],textarea {
    font: normal 12px/16px Arial, Helvetica, sans-serif;
}
#main-wrapper textarea, textarea {
    font: normal 12px/16px Arial, Helvetica, sans-serif;
}
.box-form .label {
    font: bold 12px/16px Arial, Helvetica, sans-serif;
}

 .label-enriquecido {
    float: none;
    display: inline-block;
    color: #000;
    padding: 2px 0 0;
}

.box-fieldset>.label-enriquecido {
    float: none;
    display: inline-block;
    color: #000;
    padding: 5px 15px 0 15px;
}

 .label-enriquecido ol {
    list-style: revert;
    padding: revert;
}

 .label-enriquecido ul {
    list-style: revert;
    padding: revert;
}

 .label-enriquecido li {
    color: revert;
    font: revert;
}

.label-enriquecido span {
    color: revert;
    font-weight: revert
}

.label-enriquecido p {
    color: revert;
}

/*BOTONES*/
.box-form li .ui-button {
    border-radius: 0;
}
.box-form li .ui-button {
    vertical-align: top;
}

.ui-button, .ui-button:link, .ui-button:visited, .ui-button:hover, .ui-button:active {
    text-decoration: none;
}

.popup-box-buttons {
    display: block;
    margin-bottom: 5px;
}

button.ColVis_Button {
    padding: 5px;
}
button.ColVis_Button:hover{
    border: 1px solid #1b577e;
    background: none;
    background-color: #003658;
    font-weight: normal;
    color: #ffffff;
}

/*TABLA*/

table {
    font: normal 12px/14px Arial,Helvetica,sans-serif;
}

table.dataTable thead th.ui-state-default {
    border-right-width: 0;
}
.dataTables_wrapper th.ui-state-default {
    font-weight: bold;
}
table.dataTable thead th:hover {
    background-color: #003658;
}
table.dataTable thead th, table.dataTable tfoot th {
    font-weight: bold;
}
table.dataTable thead th, table.dataTable thead td, table.dataTable tfoot th, table.dataTable tfoot td {
    padding: 4px 10px;
}
table.dataTable thead th, table.dataTable thead td {
    padding: 5px 5px 5px 3px;
    border-bottom: 1px solid #111;
}
table.dataTable thead th, table.dataTable tfoot th {
    font-weight: bold;
}
table.dataTable, table.dataTable th, table.dataTable td {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.dataTables_wrapper .ui-toolbar {
    border-bottom: none;
}
.dataTables_wrapper .ui-widget-header {
    font-weight: normal;
}

.dataTables_wrapper label {
    color: #000;
}
.dataTables_wrapper span {
    font-size: 12px;
}
.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper{
    color: #000;
    font-size: 12px;
}

#main-wrapper .dataTables_length select {
    margin: 0;
}
#main-wrapper select,.dataTables_length select {
    vertical-align: top;
    height: 20px;
    padding: 2px;
    margin-right: 5px;
    color: #777777;
    font: normal 12px/14px Arial,Helvetica,sans-serif;
}
.dataTables_length label {
    line-height: 20px;
}
.dataTables_length{
    padding-top: 10px;
}
table.dataTable thead th div.DataTables_sort_wrapper,.dataTable tbody, .dataTable tbody tr td a   {
    font-size: 12px; 
}
.dataTables_paginate {
    font-size: 12px; 
}
.dataTables_wrapper .dataTables_paginate .fg-button:first-child,.dataTables_wrapper .dataTables_paginate .fg-button:last-child {
    border-radius: 0;
}
.dataTables_paginate .ui-button {
    font-size: 12px; 
}
div.ColVis_collection button.ColVis_Button .ColVis_title, div.ColVis_collection button.ColVis_Button .ColVis_radio {
    display: inline;
}
div.ColVis_collection button.ColVis_Button {
    border: none;
    margin-bottom: 3px;
    padding-top: 0;
}



/*COMBOBOXES*/

.ui-autocomplete .ui-menu-item a {
   font-size: 12px; 
}

.ui-menu-item.item-pageable.ui-state-focus {
    background-color: #fff;
    border-color: #fff;
    cursor: auto  ;
}
.box-combobox .overlabel-apply {
    font-size: 12px;
}
/*FILE UPLOADER*/
.box-fileupload .btn {
    border-radius: 0;
}

.sub-indice {
    margin-left: 2px;
    vertical-align: -5px !important;
    font-size: 8px !important;
    color: #000000 !important;
    font-weight: bold !important;
}