@charset "utf-8";
/**
 * CSS for CakePHP - ERP
 */
html 
{
    height:100vh;
}
a {
    color: #f7b101;
}
div .addtime_panel, div .recurso_element {
    background: #fff7e2 !important;
}
body {
    font-family:'Open Sans', Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    background: white;
    /*margin-bottom: 64px;*/
    min-height: 100vh;
    position: relative;
}

input, textarea, .chosen-single {
    border: 2px solid #d4d4d4 !important;    
}

.chosen-container-active:not(.chosen-with-drop) > .chosen-single {
    border-color: #AAA !important;
    outline: none;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}
.chosen-container-active.chosen-with-drop > .chosen-single {
   border: 1px solid #ddd !important;
   border-bottom: none !important;
}
.chosen-container > .chosen-drop {
    border-top: none;
}

.chosen-container.chosen-container-multi {
    border: 2px solid #d4d4d4 !important;
    border-radius: 5px;
    min-height: 34px;
}
.chosen-container.chosen-container-multi > .chosen-choices {
    border: 0;
}
.chosen-container.chosen-container-multi > .chosen-choices > .search-field {
    height: 30px !important;
    border: 0;
    line-height: 30px;
}
.chosen-container.chosen-container-multi > .chosen-choices > .search-choice {
    height: 26px !important;
    border: 0;
    line-height: 30px;
    margin: 0;
    background: rgb(11, 89, 50);
    color: white;
    margin: 2px;
}

.chosen-container.chosen-container-multi > .chosen-choices > .search-choice > span {
    height: 24px;
    display: block;
    margin-top: -2px;
    line-height: 24px
}
.logo {
    width: auto;
    height: 73%;            
    padding: 3px 0px;
}

.logoSpan {
    position: relative;    
    display: none;    
}

#main{
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin-bottom: 5px;
}

#header {
    height: 60px;   
    padding-left: 0px;    
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, #E2E2E2),
        color-stop(0.77, #F1F1F1)
    );
    background-image: -o-linear-gradient(top, #E2E2E2 0%, #F1F1F1 77%);
    background-image: -moz-linear-gradient(top, #E2E2E2 0%, #F1F1F1 77%);
    background-image: -webkit-linear-gradient(top, #E2E2E2 0%, #F1F1F1 77%);
    background-image: -ms-linear-gradient(top, #E2E2E2 0%, #F1F1F1 77%);
    background-image: linear-gradient(to top, #E2E2E2 0%, #F1F1F1 77%);
}

#web-all {
    /*
    height: 100%;    
    min-height: 100vh;
    */
    padding-left: 0px;
    padding-right: 0px;
    min-height: 100%;    
    height: 100%;
    height: auto !important;
    margin: 0 auto -40px;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: 50px;
    overflow: visible;
}

#left-panel {    
    background: #f1f1f1;      
    position: relative;
    height: 100%;    
    padding-left: 0px;
    padding-right: 0px;    
}

#content {
    padding-left: 10px;
    padding-right: 10px;
    position: relative;
}

/* FORM */

#SaveForm .nav-tabs {
    border-bottom: none !important;
    font-size: 1.1em;
}

#SaveForm label, #WizardForm label {
    font-weight: 600;
    height: 35px;    
    overflow: visible;    
    padding: 0px 5px !important;
    display: block;
}

#SaveForm label>div, #WizardForm label>div {
    width: 100%;
    height: 100%;
    display: table;    
}
#SaveForm label>div>span, #WizardForm label>div>span {
    vertical-align: middle;
    display: table-cell;
}

/* Mensajes de error */
#SaveForm .error-message {    
    position: absolute;
    background: #eee;
    color: black;
    border-radius: 4px;
    top: -5px;
    right: 20px;
    padding: 5px !important;
    border: 1px solid black;
    z-index: 1000;
    -webkit-box-shadow: 2px 4px 2px 0px rgba(0,0,0,0.61);
    -moz-box-shadow: 2px 4px 2px 0px rgba(0,0,0,0.61);
    box-shadow: 2px 4px 2px 0px rgba(0,0,0,0.61);
}

.tab-content label {
    padding-top: 8px;
    padding-left: 0px;
    padding-right: 5px;
    margin-bottom: 0px;
}

.tab-content fieldset>div>.form-group:last-child{
    margin-bottom: 5px;
}

#SaveForm input[type=checkbox]{
    margin-top: 0px;    
    width: 22px !important; 
    -webkit-box-shadow: none;
    box-shadow: none;
}

#SaveForm .nav-tabs>li>a>span {
    margin-right: 5px;
}

#SaveForm fieldset .form-group>div {
    padding-right: 0px;
}
#SaveForm fieldset>div {
    min-height: 0px !important;
}

.chosen-results li.highlighted {    
    background: #f7b101 !important;

}

.chosen-container b{
    margin-top: 4px;
}

.chosen-container {
    font-size: 1em !important;
}


a:hover{
    color: #f7b101;
}
/* Fin FORM */

#page-footer{
    height: 40px;
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, #E2E2E2),
        color-stop(0.77, #F1F1F1)
    );
    background-image: -o-linear-gradient(top, #E2E2E2 0%, #F1F1F1 77%);
    background-image: -moz-linear-gradient(top, #E2E2E2 0%, #F1F1F1 77%);
    background-image: -webkit-linear-gradient(top, #E2E2E2 0%, #F1F1F1 77%);
    background-image: -ms-linear-gradient(top, #E2E2E2 0%, #F1F1F1 77%);
    background-image: linear-gradient(to top, #E2E2E2 0%, #F1F1F1 77%);
}
.push {
    height: 40px;
    z-index: -1;
}

#viewContent form{
    padding-left: 0px;
    padding-right: 0px;    
}

input:required, .chosen-container.required>a, input.lookupField.required, .chosen-container-multi.required,.chosen-container-multi.required>ul {
    background: #d9f0f8 !important;
}

input:required.form-control:disabled, input.lookupField:disabled {
    background: #ccc !important;
}

select.form-error+.chosen-container.required>a {
    background: #f2dede !important;
}
input.form-error {
    background: #f2dede !important;
}

.chosen-disabled{
    opacity: 1!important;
}
.chosen-container.chosen-disabled>a, .chosen-container-multi.chosen-disabled>.chosen-choices{
    background: #ccc !important;    
    cursor: not-allowed;
}

.chosen-container-multi input {    
    font-family:'Open Sans', Arial, Helvetica, sans-serif !important;
    padding: 10px !important;
}

input:focus {
    border-color: #aaa !important;
}

/*.input-group.date {*/
.datetimepickerField, .datepickerField{
    width: 100%;    
}

/*.input-group.date input:disabled{*/
.datetimepickerField input:disabled, .datepickerField input:disabled {
    border-radius: 4px !important;    
}


/* PROPIEDADES PARA TABLAS */
.table>tbody>tr:nth-child(odd)>td, .table>tbody>tr:nth-child(odd)>th
{
    background: #f1f1f1;
}

.table .centerText {
    text-align: center;
}

.table td, .table th{
    vertical-align: middle !important; 
    text-align: left;
}
/* PROPUESTA */
.table>tbody>tr>td {
    padding-top: 6px;
    padding-bottom: 6px;    
}

.table th.date {
    width: 125px;
}

.table th.enum {
    max-width: 125px;
}
.table>tbody>tr>td {
    height: 34px !important;        
}
.table>tbody>tr:hover>td {
    /*background: #555;*/
    /*background: #0B5932;*/
    background: #fff0cc;
    border-color:transparent;
    
    /*color:black;*/
}

.table>tbody>tr>td.numberRow {
    text-align: right;
}

/*Cabecera - Títulos*/
.table>thead>tr.head>th {    
    background: #ffd774;
    border: none;    
    padding: 10px 5px;
}
.table>thead>tr.head>th a{
    color: black;
    padding-left: 5px;       
}
.table>thead>tr.head>th a em{
    float:right;
    margin-top: 3px;
}
.table>thead>tr.head>th:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.table>thead>tr.head>th:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.table>thead>tr.filterRow>th {
    border: none;    
    padding: 5px 5px;
}

.table>thead>tr.filterApply>th {
    /*border: none;*/
    text-align: center;    
    padding: 0px;
}

.table>thead>tr.filterApply>th>span{
    float: left;
    width: 50%;
    margin: 0px !important;
    border: 1px solid #eee;
    border-radius: 4px;
}

.table>thead>tr>th.activeOrder{
    background: #ffb600;
}
.table>thead>tr>th.activeOrder>a{
    color: white;
}

.table>thead>tr.filterRow>th.actions button{
    padding: 2px 5px!important;
    padding-top: 3px !important;
    float: left;
    background: #f7b101 !important;
    border: 1px solid #d4d4d4 !important;
}
.table>thead>tr.filterRow>th.actions button span, .table>thead>tr.filterRow>th.actions button {
    color: white;
}

.table>thead>tr.filterRow>th.actions>div {
    display: table;
    margin: 0 auto;
}

.table>tbody>tr>.actions>div>a>span {
    font-size:1.5em;
}
.table>tbody>tr>.actions>div>a>span {
    margin-right: 5px;
}

.table>tbody>tr>.actions>div>a>span {
    color: #ccc;
}
.table>tbody>tr:hover>.actions>div>a>span {
    color: black;
}

.table>tbody>tr>.actions>div>a:hover>span {
    /*color: #79cdf2;*/
}

.table>tbody>tr>.actions>div>a:last-child>span {
    margin-right: 0px;
}

.table>tbody>tr>.actions>div {
    text-align: center;    
    /*display: none;*/
}

.table>tbody>tr:hover>.actions>div {
    display: block;  
    margin-top: -3px;
    margin-bottom: -2px;      
}

.table .actions {
    width: 1%;
    white-space: nowrap;
    min-width: 71px;
}

.table>tbody>tr>td>select {
    border: 2px solid #d1d1d1;
}
.table>tbody>tr>td>input {
    border: 3px solid #d1d1d1;
}

/* Datos */
.table>tbody>tr>td {
    border: 1px solid #d4d4d4;
    border-top: none;
    border-bottom: none;
}
.table>tbody>tr>td:first-child {
    border-left: none;
}
.table>tbody>tr>td:last-child {
    border-right: none;
}

.table>tfoot>tr>th{    
    background: #ffb600;
    border-radius: 4px;
    border-top: none;
    padding: 5px !important;
}
.table>tfoot>.margin>th{
    background: transparent;
    padding:3px;    
}
.filterRow input[type=checkbox]
{
    margin: 0 auto;
    width: 22px !important;
}

/* Subformularios lista - Ficheros */
.files>thead>tr>th {
    background: #ccc;
}

.files>thead>tr>th:first-child {
    border-top-left-radius: 4px;    
}
.files>thead>tr>th:last-child {
    border-top-right-radius: 4px;    
}
.files>thead>tr>th.tools>div {
    display:table;
    margin: 0 auto;
}
.files>thead>tr>th.tools>div>.btn, .files>thead>tr>th.tools>div>.btn-primary, .imageContainer .btn, .imageContainer .btn-primary {
    padding: 3px 6px;
}
.files>tbody tr td.tools>a>.glyphicon {
    color: black;
}
.files>tbody>tr:hover>td {
    border-color:transparent;
}
table.subformTable i.fa-close:hover
{
    cursor: pointer;
}

/* Subformularios lista - Imágenes */
.imageContainer {
    background: #ccc;
    border-radius: 4px;    
    padding: 8px;
    margin-bottom: 10px;
}
.imageContainer>.clearfix {
    display:table;
    margin: 0 auto;
}
.imageContainer>.images-container {
    margin-top: 10px;
}

/* Subformulario genérico */
.subform>thead>tr>th {
    /*background: #d1d1d1;*/
    background: #f7b101;
}
.subform>thead>tr.nodata>th {
    background: #fff;
    text-align: center;
    font-weight: normal;    
}

.subform>thead>tr>th:first-child {
    border-top-left-radius: 4px;
}
.subform>thead>tr>th:last-child {
    border-top-right-radius: 4px;
}
.subform>thead>tr>th.actions {
    text-align: center;
    width: 103px !important;
}
.subform>thead>tr>th.actions>button {
    float: none !important;
    padding: 2px 8px !important;
}
.subform .btn, .subform .btn-primary{
    /*background: #aaa !important;*/    
}
.subform>tbody>tr>td>.form-group{
    margin: 0px;
} 
.subform .chosen-single{
    background: white !important;
}
.subform>tbody>tr:hover .chosen-results li{
    color: black;
}

/* FORMULARIOS */
.tab-content{
    padding: 10px;
    padding-bottom: 0px;
    border: 1px solid #d1d1d1;  
    background: white;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
}

.form-group {
    padding-left: 5px;
    padding-right: 5px;
}

#SaveForm legend {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 10px;
    /*font-variant: small-caps;*/
}

#tabs .active a, #tabs .active:hover a{
    color: #333;
    background: white;
}

#tabs li:hover a{
    color: white;
    background: #f7b101;
}

#tabs li a {
    color: #333;
    background: #d1d1d1;
    /*font-size: 1.2em;*/
}

.form-control {
    font-size: 1em !important;
}


#flashMessage {
    background: #F78181;
    padding: 5px;
    margin-top: 5px;
    border: 2px solid red;
}


/* BOTONES */
.btn, .btn-primary {
    background: #f1f1f1 !important;
    border: none;
    color: #666;
    font-size: 1.2em !important;
    margin-right: 2px;    
}
.btn-primary {    
    background: black !important;
    color: white;
}

.btn:hover, .btn-primary:hover {
   /* background: #000000 !important;
    color: white;*/
    background: #f7b101 !important;
    color: #000;
}

/*
.btn:hover, .btn:hover a, .btn-primary:hover, .btn-primary:hover a {    
    color: white;
    background: black !important;
}

.btn:hover .glyphicon, .btn-primary:hover .glyphicon {  
    color: white;   
}

.btn .glyphicon, .btn-primary .glyphicon {  
    color: white;
}
*/

/* BREADCRUMB */
.breadcrumb {
    margin-bottom: 0px !important;
    background: white !important;
    border-bottom: 1px solid #f1f1f1;
    color: #646464;    
}

.breadcrumb a, .breadcrumb a:hover {
    color: #646464;
    font-weight: bold;
}

/* BARRA DE TÍTULOS */
.titleBar {
    margin-bottom: 5px;    
    padding-top: 5px;
    /*background: #e1e1e1;*/    
    /*margin-left: -10px;
    margin-right: -10px;*/
    /*border-bottom: 1px solid #ccc;    
    border-top: 1px solid #ccc;*/
    padding-bottom: 5px;    
}

.titleView {
    font-size: 1.6em;
    font-weight: 400;    
    color: #111;    
    padding: 4px 0px;
}

.buttonView {
    padding: 0px;
}

.buttonView>div>a:last-child {
    margin-right:0px !important;
}

.clear {
    clear: both;
}

/* MENU */
/* MENÚ DE LA APLICACIÓN */
/* FIXED COMENTADO HASTA QUE APLIQUEMOS
.fixed-navigation nav {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    height: 100%;
    padding-bottom: 49px;
}
.fixed-navigation nav>ul {
    padding-right: 15px;
    position: relative;
    height: 100%;
    width: 114%;
    overflow-x: hidden;
    overflow-y: scroll;
}
.mobile-detected.fixed-navigation nav>ul {
    padding-right: 30px!important;
}
.minified.fixed-navigation nav {
    -webkit-overflow-scrolling: none;
    overflow: visible;
    height: auto;
    padding-bottom: 0;
}
.minified.fixed-navigation nav>ul {
    overflow: visible;
    padding-right: 0;
    width: 100%
}
*/
nav ul a {
    color: #111;
    font-size: 1.2em;    
}
nav ul a:hover {
    background: #888;
    color: #111;
}
nav ul li a:active { 
    background: #777;
}
nav ul li.active,nav ul li.open {
    /*background: #d1d1d1;    */
    background: #e2e2e2;
}

nav ul li.active span, nav ul li.active a{    
    color: #eee;
    background: #888;    
}

nav ul li a:active:hover, nav ul li a:active span {    
    color: #ccc;    
}

nav ul {
    width: 100%;
    padding: 40px 28px 25px 0;
    padding: 0;
    margin: 0;
    /*font-size: 13px;*/
    line-height: .5em;
    list-style: none;
    position: relative;
}
/*
nav ul .active>a {
    color: #fff!important;
    position: relative;
}
*/
nav ul span {
    /*font-variant: small-caps;*/
    /*font-size: 1.3em;*/
    color: #111;
}
nav ul li.active>a:before {
    /*
    content: "\f0d9";
    font-family: FontAwesome;
    display: block;
    height: 27px;
    line-height: normal;
    width: 27px;
    position: absolute;
    right: -17px;
    font-size: 35px;    
    color: white;
    top: 1px;    
    */
    display: none;
}
nav ul li.active.open>a:before {
    content: ""}
nav>ul>li:last-child.open {
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}
nav ul li {
    overflow: hidden;
    /*height: 50px;*/
}
nav ul li a {
    line-height: normal;
    /*font-size: 14px;*/
    padding: 10px 10px 10px 11px;
    /*color: #333;*/
    display: block;
    /*font-weight: 400;*/
    text-decoration: none!important;
    position: relative;
}
nav>ul>li>ul>li>a, nav>ul>li>ul>li>ul>li>a {
    padding-top: 7px;
    padding-bottom: 7px;
}
nav ul li a:focus {    
    color: #111 !important;
}
nav ul li a:hover {    
    /*color: #5395E1;*/
    text-decoration: none;
}
nav ul b {
    float: right;
    font-size: 11px;
    margin-top: 2px;
}
nav ul span.menu-item-parent {
    display: inline-block;
    margin: 0;
    padding: 0;
}
nav ul li.open>a, nav ul li.open>a b {
    /*color: #333!important;*/
}
nav>ul>li>a b {
    position: absolute!important;
    right: 10px;
    top: 10px;
}
nav>ul>li>a>i {
    margin-right: 5px;
    width: 15px;
    display: inline-block;
    text-align: center;
    position: relative;
}
nav>ul>li>a>i>em {
    font-size: 9px;
    display: block;
    padding: 2px;
    position: absolute;
    top: -8px;
    right: -6px;
    text-decoration: none;
    font-style: normal;
    background: #ED1C24;
    /*color: #fff;*/
    min-width: 13px;
    border-radius: 50%;
    max-height: 13px;
    line-height: 8px;
    font-weight: 700;
    vertical-align: baseline;
    white-space: nowrap;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .1);
}
nav ul li li {
    border-bottom: none;
    position: relative;
}
nav>ul>li>ul::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    left: 23px;
    top: 0;
    bottom: 0;
    border-left: 2px solid #D4D4D4;
}
nav>ul ul li::before {
    content: "";
    display: block;
    position: absolute;
    width: 8px;
    left: 23px;
    top: 16px;
    border-top: 2px solid #D4D4D4;
    z-index: 1;
}
nav>ul ul ul li::before {
    content: "";
    display: block;
    position: absolute;
    width: 18px;
    left: 10px;
    top: 17px;
    border-top: 1px solid transparent;
}
nav>ul ul li a i {
    font-size: 14px!important;
    width: 18px!important;
    text-align: center!important;
    vertical-align: 0!important;
    line-height: 1!important;
}
nav>ul>li:hover>ul::before, nav>ul>li:hover>ul>li::before {
    border-color: #D4D4D4!important;
}
nav ul ul {
    margin: 0;
    display: none;
    /*background: rgba(69, 69, 69, .6);*/    
    /*padding: 7px 0;*/
}
nav ul ul ul {
    background: 0 0;
    padding: 0;
}
nav ul ul li {
    margin: 0;
    padding: 0;
}
nav ul ul li>a {
    padding-left: 42px;
    /*font-size: 14px;*/
    /*font-weight: 400;*/
    outline: 0;
}
nav ul ul li>a:hover {
    /*background-color: rgba(69, 69, 69, .8);*/
    /*background: white;*/
    /*color: #5395E1;*/
}
nav ul ul ul li a {
    /*color: #333;*/
    padding: 8px 10px 8px 60px;    
}
nav ul ul ul li a:hover {
    /*background-color: #4C4F53;*/
    /*color: #fff;*/
    /*color: #5395E1;*/
}
nav ul ul ul ul li a {
    padding-left: 80px;
}
nav ul ul ul ul ul li a {
    padding-left: 100px;
}
nav ul ul ul ul ul ul li a {
    padding-left: 120px;
}
nav ul ul b {
    /*color: #B3B3B3;*/
    /*color: #5395E1;*/
}
nav ul ul>li:hover b {
    /*color: #D5D9E2;*/
    /*color: #333;*/
}

/* BUSQUEDA AVANZADA */
.buttonPanel span {
    display: table;
    margin: 0 auto;
    padding: 3px 0px;
}
.buttonPanel .glyphicon {
    color: #f7b101;
}
.filterList .asFields .asField {
    height: 20px;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}
.filterList fieldset {
    margin-bottom: 0px;
}
.filterList p{
    margin-top: 10px;
    margin-bottom: 0px;
}
.filterList label {
    float: left;    
    width: 150px;
    font-weight: normal;    
}
.filterList .form-group {
    margin-bottom: 0px;
}
.filter {
    margin-bottom: 5px;    
}

.filter input, .filter select {
    height: 25px;
}

.filter select {
    padding: 0 12px;
}

.filter tfoot {    
    padding: 5px 0px;
    background: #5F5F5F;    
}

.filter tfoot tr th:first-child {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.filter .removeMe {
    color: #aaa;   
    display:table;
    margin: 0 auto;
    line-height: 21px;
}

.filter .removeMe:hover {
    color: white;
}

.advSearchPanel .chosen-single {
    background: white !important;
}
.advSearchPanel .chosen-results>li {
    color: black;
}
.advSearchPanel .chosen-results>li.highlighted {
    color: white !important;
}
/* PANELES */
.appPanelContainer {        
    margin-bottom: 10px;    
}

.appPanelTitle {    
    text-align: center;
    padding: 0px 0px;
    padding-right: 20px;    
    color: #aaa;       
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    /*border-bottom: 2px solid #ddd;*/
    font-size: 1.2em;
    font-weight: bold;
    /*font-variant: small-caps;*/
}

.appPanelContent {
    padding: 10px;
    border: 1px solid #d1d1d1;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    background: white;
}

.appButtonZone {
    text-align: right; 
    margin-bottom: 0px;
}

.appButtonZone .btn {
    font-size: 1em !important;
}


.optionListPanel {
    display: none;
}

.advSearchPanel {
    display: none;
}

/* PAGINACIÓN */
.pagination span
{
    font-size: 1em !important;
}
.pagination{
    margin-top: 0px;
    float: right;
    margin-bottom: 0px;    
}
.pagination .info span
{
    color: black;
    background: transparent !important;
    border: none !important;
}
.pagination>.info>span:hover {
    color: black;
    background: transparent !important;
}
.pagination>li>span:hover{    
    background: black !important;
}
.pagination>li>span:hover>a>span{    
    color: white !important;
}
.pagination>.info>span:hover>a>span{
    color: #f7b101 !important;
}
.pagination .disabled,.pagination .disabled a,.pagination .disabled:hover {
    background: #e1e1e1 !important;
    color: #aaa !important;
}
.pagination>li span{
    /*background: white;*/
  /*  color: #f7b101;*/
}

.pagination>li>span {
    margin-right: 5px;
    padding-left: 10px;
    padding-right: 10px;   
}

.pagination li span a {    
    color: black;     
}

.pagination li span{
    height: 30px;
    line-height: 9px;
    border-radius: 6px;
}

.pagination .glyphicon {
    margin-top: -1px;
}

.paginationToolBar {
    padding: 5px 10px;
    background: #5F5F5F;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}
.pagination-mid input{
    width: 25px;
    text-align:center;
    line-height: normal;
    position:relative;
    height: 20px;
    top:-6px;
    margin-right: 5px;
}
.pagination-mid a span{    
    height: auto;
}
.pagination-mid a{    
    position:relative;
    top: -5px;
}
.pagination-mid .glyphicon {
    margin-top: 1px;
}
.pagination span a span {
    height: auto;
}
.pagination-mid .glyphicon, .pagination-mid a {
    cursor:  pointer;
}
.pagination-mid:hover input {
    color: black;
}

/*
.pagination-mid:hover a span {
    color: white;
    background: black;
}
*/

.appPanelContent .form-group {
    margin-right: 0px;
    margin-left: 0px;
}

.activeFilters {
    margin-right: 10px;    
    float: right; 
    padding: 7px;   
}

.activeFilters span {
    padding: 5px;
    background: white;    
    /*border: 1px solid #333;*/
    color: black;
    border-radius: 3px;
    font-weight: bold;
    font-size: 0.9em;
}

.highlighted {
    /*background: #666 !important;*/
    /*background: #1F9E2B !important;*/
    color: white;
}
.addtime_panel a.btn:hover {
    margin-top: 20px;
    border: 1px solid #aaa;
    background: #f7b101 !important;
    color: black;
}
.addtime_panel a.btn:not(.redbutton):hover{
  background: #f7b101 !important;
}
.addtime_panel a.btn {
    margin-top: 20px;
    border: 1px solid #aaa;
    background: black !important;
    color: white;
}
.user-panel:hover>a {
    background: black !important;
    color: white;
}
/* Panel de usuario */
.user-nav {
    float: right;
    min-width: 160px;
    margin-top: 5px;
    font-size: 1.2em !important;
    background: #f7b101;
    border-radius: 4px;
    color: white !important;
    border: 3px solid #ffd670;    
}
.user-panel a {
    color: white;    
}
.user-panel .glyphicon {
    margin-right: 10px;
}
.user-panel:hover>a{
  /*  background: #000000 !important;
    color: white;   */ 
}
.user-panel a span {
    line-height: 30px;
}
/* Sumenú panel usuario */
.user-panel .dropdown-menu {
    margin-top: 0px;
    background: #f7b101;    
    border: none;
}
.user-panel .dropdown-menu li a {
    color: white;
    /*font-size: 1.2em;*/
}
.user-panel .dropdown-menu li a:hover {
    background: #000000;
    /*color: white;*/
}
#user-show {
    padding: 6px 15px;
}


/* Ajustes LOGIN */
.loginPanel {
    padding: 10px;
}

.loginPanel .appPanelTitle {
    /*background: #000000;*/
background:#f7b101;
    padding: 10px;
    border: none;
    color: white;
}

.loginPanel input:required {
    background: #fffeccd9 !important;
}

.loginPanel input {
    margin-bottom: 10px;
}

.loginPanel fieldset {
    margin-left: -15px;
    margin-right: -15px;
}

.loginPanel label {
    padding-top: 8px;
    text-align: right;
}

.indexPanel {
    padding: 10px;
    padding-top: 28px;
}

/* Fin Ajustes LOGIN */

.removeFilter {
    text-align: center !important;
    vertical-align: middle !important;        
    width: 40px;
}
.removeFilter span
{
    cursor: pointer;
    padding-left: 10px;
    padding-right: 10px;
}


/* Mensajes FLASH */
/*
.alert-danger, .alert-success {
    padding: 7px;
}
*/

/* Botón X en editar imágenes de modelo */
.thumbnail > .close {
    position: absolute;
    top: 0;    
    right: 20px;
    padding: 2px 4px 4px 4px;
    color: #FFF;
    opacity: 0.4;
    font-weight: 100;
    background: #79cdf2;
}


/* Filtros por rango */
div.rangeFilterInput {
    /*border: 2px solid #d4d4d4;
    border-radius: 4px;
    background: white;*/
    /*width: 176px;
    max-width: 176px;
    min-width: 176px;*/
}
/*
div.rangeFilterInput>input:first-child {
    border-bottom: 1px solid #eee !important;
    border-radius: 0px !important;
}

div.rangeFilterInput>input {
    border: none !important;
    background: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    width: 100% !important;   
    min-width: 80px; 
    float: left;
    padding-left: 2px !important;
    padding-right: 2px !important;
    text-align: center;
    height: 30px;    
}
div.rangeFilterInput>i {
    float:left;
    line-height: 30px;
    cursor: pointer; 
    cursor: hand;
}
div.rangeFilterInputNormal{
    display: none;
}
div.rangeFilterInputNormal>input{
    padding-left: 20px;
}
div.rangeFilterInputNormal>i{
    line-height:34px; 
    cursor: pointer; 
    cursor: hand;
    position: fixed;
    margin-left: 5px;
}
*/
.rangeFilterInput{
        min-width: 125px;
    }
.rangeFilterInput input{
    width: 99%;     
    display: inline-table;
    width: 125px !important;
}
.rangeFilterInput>input:first-child{
    margin-right: 2%;
}



.modal-dialog {
    width: 75% !important;
}


/* Acciones por registro */

.action_pane   {        
    margin: 0; /* Ensures there is no space between sides of the screen and the menu */
    z-index: 99; /* Makes sure that your menu remains on top of other page elements */
    position: relative;         
}
.action_menu {    
    /*padding: 5px 10px;*/
    margin: 0;    
    position: absolute;
    /*background: white;*/
    /*border: 1px solid #e1e1e1;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;*/
    top: 1px;
    right: 0px;
}
.action_menu li  {    
    background: #ccc;
    float: left;
    text-align: left;
    list-style: none;    
    padding: 5px 0px;
    margin: 0;     
}
.action_menu>li {
    border: 1px solid #e1e1e1; 
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;    
    margin-right: 5px;
    width: 150px; 
}

.action_menu>li li {
    width: 148px;
    clear: both;
    float: left;
    border-top: 1px solid #ccc !important;
}
.action_menu li:hover
{
    background: #f7b101;    
}
.action_menu li:hover>a
{
    color: white;    
}

.action_menu>li li:last-child {    
    border-bottom: 1px solid #ccc !important;
}

.action_menu a   {                           
    padding: 5px 10px;
    text-decoration: none;  
    color: black;
    display: block;    
    font-weight: 600;
}

.action_menu a .glyphicon   {                           
    float: right;
}

.action_menu li ul   {
    display: none;     
    margin: 0; 
    padding: 0;
    position: absolute;
    bottom: 38px;
    /*left: 40px;*/
}               

.action_menu li:hover ul {
    display: block;
}             

#loading-window{   
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;    
}
.loading-trans{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;    
    z-index: 9999;   
    opacity: 0.4;
    background: #000;
    filter: alpha(opacity=40);
}

.loading-panel {   
    position: relative; 
    width: 300px;
    margin: 0 auto;
    margin-top: 100px;
    z-index: 10000;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px 40px;
    text-align: center;
}
.loading-panel>.row>p{
    font-size: 12px;
}

.org-selector {
    position: absolute;
    left: 20px;
    top: 14px;
}

#WizardForm .radioLabel
{
    width: 200px;
}
#WizardForm input[type="radio"]{
    margin-right: 5px;
}

.lookupModal{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;    
}
.lookupModal .lookupTrans{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;    
    z-index: 9999;   
    opacity: 0.4;
    background: #000;
    filter: alpha(opacity=40);
}

.lookupModal .lookupWrap {   
    position: relative; 
    width: 80%;
    margin: 0 auto;
    margin-top: 100px;
    z-index: 10000;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 30px;
    text-align: center;
}

.lookupModal .lookupClose {
    position: absolute;
    top: 3px;
    right: 5px;
    font-size: 2em;
    cursor: pointer;
}

.lookupModal table>thead>tr.filterRow>th>input {
    width: 100%;
}

.lookupModal table>tbody>tr:hover {
    cursor: pointer;
}

.lookupModal table {
    margin-bottom: 0px;
}

.lookupModal table td.selection, .lookupModal table th.selection {
    text-align: center;
}

.lookupModal .multipleOk
{
    float:left;
}

.lookupModal .help
{
    margin-left: 5px;
    font-size: 0.8em;
    font-weight: 600;
}

.dropdown-menu.contextual_menu {
    border: 2px solid black;
    border-radius: 0;
    padding: 0;
}

.dropdown-menu.contextual_menu .dropdown-header {
    background: #f7b101;
    height: 32px;
    line-height: 26px;
    font-weight: bold;
    color: black;
}

.leyenda_texto {
    /*
    border: 1px solid #90D696;
    background: #C1EEC5;
    */
    font-size: 0.9em;
    border: 1px solid #81BEF7;
    background: #E0F8F7;
    border-radius: 4px;
    width: 100%;
    padding: 10px;
    padding-bottom: 0px;  
    margin-top: 10px;  
    margin-bottom: 10px;
    position:relative;
}

.leyenda_texto p {
    color: #0B0B61;
}

.leyenda_texto .close {
    position: absolute;
    top: 4px;    
    right: 6px;    
    opacity: 0.5;
}

.leyenda_texto .close:hover {    
    opacity: 1;
}

.powered_by {
    height: 50px;
    width: 100px;
    display: block;
    background: url(../img/powered_by.png) center no-repeat;
    background-size: auto 80%;
}

li:hover > .powered_by {
    height: 50px;
    width: 100px;
    display: block;
    background: url(../img/powered_by.png) center no-repeat;
    background-size: auto 80%;
}


/* Triestados */
.filterRow .boolean {
    text-align: center;
    width: 75px;
}
.filterRow .boolean .radio input {
    margin: 0px;
}
/*
.filterRow .boolean .radio+.radio {
    margin-left: 14px;
}
*/
.filterRow .boolean .radio {
    min-height: 10px;
    margin-left: 0px;
    padding-top: 0px;
    padding-left: 0px;
}
.navbar-fixed-bottom {
    position: inherit !important;
}

footer {
    position: absolute;
    bottom: 0px;
}

/* Información oculta pestaña para impresión */
/*
form .hiddenTabInfo:first-child{
{
    margin-top: -10px !important;
    border-top: none !important;
}
*/
.tab-content>.tab-pane:first-child>.hiddenTabInfo{
    margin-top: -10px !important;
    border-top: none !important;   
}
.hiddenTabInfo{
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-left: -10px;
    margin-right: -10px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 10px;    
    font-size: 1.1em;    
    text-align: center;
    display: none;
}
.hiddenTabInfo>span{
    margin-right: 5px;
}

@media print {
    header .nav {    
        display: none !important;
    }    
    #left-panel {
        display: none !important;
    }
    a[href]:after {
        display: none !important;
    }

    #main #ribbon {
        display: none !important;        
    }

    #main #content .titleBar .buttonView{
        display: none !important;
    }

    .alert {
        display: none !important;
    }    

}

input.form-control {
    border-radius: 4px !important;
}

.required-info {
    color: red;
    margin-left: 5px;
}

.marked_field_formgroup>label { 
    border-radius: 0px;
    background: repeating-linear-gradient(
      135deg,
      rgba(0, 0, 0, 0) 1px,
      rgba(0, 0, 0, 0) 1px,
      #ffee00 2px,
      #ffee00 2px
    );
    padding-right: 20px;
}





/****
Cambio de diseño
****/

body{
    font-family: 'Assistant', sans-serif !important;
}

#header{
	width:100%;
	background:#f7b101;
	background-image: none;
	height:55px;
	padding-right:0;
}

.logoSpan{
	z-index:999;
}

.logo {
    width: auto;
    height: 25px;
    padding:0;
    margin-top: 5px;
    margin-left: 40px;
}

#left-panel{
    width: 100%;
    background: none;
    height: 55px;
    padding-left: 240px;
    position: absolute;
}


#left-panel nav > ul > li{
	float:left;
	position:relative;
	overflow:visible;
}

#left-panel .glyphicon{
	display:none;
}


#left-panel nav > ul > li > a{
	padding-right:30px;
	margin-right:20px;
	background-color:#fac134;
	border-radius:15px;
	margin-top:8px;
}


#left-panel nav > ul > li.open > a{
    border-bottom: 8px solid #fac134;
    border-radius: 8px 8px 0 0;
}






nav ul a:hover {
    background: #f7b101;
    color: #111;
}
nav>ul>li>ul::before {
    border:0 !important;
}
nav>ul ul li::before {
    border:0 !important; 
}

nav ul ul li>a {
    padding-left: 22px;
}



#left-panel nav > ul > li > ul{
	position: absolute;
	display:none;
    top: 55px;
    left: 0;
    z-index: 99999;
    width: 200px; 
    background: #fac134;

}

#main {
	width:100%;
}

.user-nav {
	min-width:0;
	border:0;
	background:#fac134 !important;
	margin-top:0;
	height:55px;
	position:absolute;
	z-index:999999;
	top:0;
	right:0;
	line-height:43px; 
}

#user-show{
	background:none !important;
}


nav ul li.active, nav ul li.open {
	background:none;
}

#user-show span{
	color:black;
}

#user-show span.glyphicon{
	font-size:14px;
}

.user-panel .dropdown-menu{
	right:0;
	left:auto;
}

.org-selector{ 
	display:none; 
}

.logoSpan{
	left:6px !important;
	top:10px;
}

.btn {
    background: #f7b101 !important;
    color: #111;
}

.btn:hover {
    background: #fac134 !important;
}

.btn-primary {
    background: #111 !important;
    color: white;
}

.btn-primary:hover {
    background: #666 !important;
}

.table>thead>tr.head>th{
	background:#f7b105;
	padding:0px !important;
	height:40px;
}

.table>thead>tr>th>a>div{
	display:none;
}
/*
.table>thead>tr>th.activeOrder>a>div{
	display:block !important;
	position:absolute !important;
	top:10px !important;
	left:10px !important;
}*/



.table>thead>tr>th.date{
	position:relative;
}

.table>thead>tr>th.date>div>input{
	width:47% !important;
	position:absolute;
	top:5px;
	left:0;
}

.table>thead>tr>th.date>div>input:last-child{
	left:50%;
}



.filterRow input, .filterRow input.form-control, .filterRow textarea.form-control, .filterRow div.chosen-container, .filterRow .bootstrap-select button{
	background:white !important;
	border:1px solid #ddd !important;

}