.progress-bar-0-25{ background-color: #74d241; }
.progress-bar-25-50{ background-color: #f4f238; }
.progress-bar-50-75{ background-color: #f9970c; }
.progress-bar-75-100{ background-color: #f04923; }

#table_anticipo_historial span.tip,
#table_vacaciones_historial span.tip{
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 10px;    
    color: #fff;
    font-size: 14px;
    text-align: center;
}
#table_anticipo_historial span.tip.espera,
#table_vacaciones_historial span.tip.espera{
    background: #f39c12;
}
#table_anticipo_historial span.tip.rechazado,
#table_vacaciones_historial span.tip.rechazado{
    background: #F00000;
}
#table_anticipo_historial span.tip.aprobado,
#table_vacaciones_historial span.tip.aprobado{
    background: #009500;
}

/* #trabajador_detail */
#trabajador_detail .modal-title{
    font-size: 26px;
}
#trabajador_detail  #tab_5 table th{
    text-align: center;
}
#trabajador_detail #tab_5 table tbody td{
    text-align: center;
    height: 51px;
}

#trabajador_detail .box_datos_reloj{
    background: #ecf0f5;
}
#trabajador_detail .box_datos_reloj.collapsed-box{
    background: #F9F9FF;
}
#trabajador_detail .bg-transp{
    background: #fff;
    color: #333;
}
#trabajador_detail .input-group-addon{
    width: 40px;
    height: 34px;
}

#trabajador_detail .no_laboral{
    background: #F4F4F4;
}
#trabajador_detail .ausente{
    background: #FF9595;
}

#trabajador_detail .nav-tabs a.inactive{
    color: #bebebe;
}

.view_sueldo{
    font-size: 20px;
    color: #C4C4C4;
}

.view_sueldo.fa-eye-slash{
    color: #333;
} 

.fields_trabajadores .col_field{
    margin: 5px 0;    
}

.fields_trabajadores .btn{
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;
     border-top-left-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;
    border-bottom-left-radius: 5px;
    cursor: default;
}

.fields_trabajadores .btn:hover,
.fields_trabajadores .btn:active{
    background-color: #f4f4f4;
}


.fields_trabajadores .field_value_trabajador{
    -moz-border-radius-topright: 5px !important;
    -webkit-border-top-right-radius: 5px !important;
    border-top-right-radius: 5px !important;
    -moz-border-radius-bottomright: 5px !important;
    -webkit-border-bottom-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important; 
    background: white !important;
}
.fields_trabajadores .field_value_trabajador.no-radio{
    -moz-border-radius-topright: 0px !important;
    -webkit-border-top-right-radius: 0px !important;
    border-top-right-radius: 0px !important;
    -moz-border-radius-bottomright: 0px !important;
    -webkit-border-bottom-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important; 
    background: white !important;
}


.nav-tabs>li.active:before{
    content: '';
    display: block;
    width: 98%;
    height: 5px;
    background: #fff;
    position: absolute;
    bottom: -3px;
    left: 1px;
    z-index: 9;
}

.nav-tabs > li:not(active){
    background: #f0f3f7;
    border-radius: 4px 4px 0 0;
}

h4.h4Salud.has-error, h4.h4Salud.has-error > *{
    color: #dd4b39;
}

#box_contratos,
#box_apvs{
    padding: 5px 10px; 
    background: #F9F9F9;
}
td.botones{
    width: 90px;
    text-align: center;
}
.btn-add-contrato,
.btn-add-apv{
    display: block;
    margin: 23px auto;
}

input[type='number'] {
    -moz-appearance:textfield;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

tr.editing{
    background-color: #D7F2E0;    
}
.form-control.small{
    width: 80px;
	height: 24px;
    display: inline;
    padding: 0 10px;
}

textarea{
    resize: none;
}

.wys_editor{
}

#previewLogoEmpresa{
    display: block;
    margin: 10px auto;
    width: 100px;
    height: auto;
}
#previewFotoTrabajador{
    width: auto;
    height: 140px;
    display: block;
    margin: 0 auto;
}

.input_file {
  width: 100%;
  height: 46px;
  background: url("../img/btn_cambiar_foto.png") no-repeat center center;
  position: relative;
  cursor: pointer;
  float: left;
  margin: 20px auto 5px;
  display: block;
}

.input_file input {
  width: 100%;
  height: 46px;
  opacity: 0;
  -moz-opacity: 0;
  -webkit-opacity: 0;
  -o-opacity: 0;
  -ms-opacity: 0;
  filter: alpha(opacity=0);
}

.input_file span {
  position: absolute;
  top: -29px;
  left: 10px;
  color: #ababab;
  font-size: 11px;
  display: block;
  height: 38px;
  line-height: 38px;
}


.has-error .form-control{
    border-color: #E80000;
}
.has-error .input-group-addon{
    color: #E80000;
}

#body_tipomonedavalor .has-error .input-group-addon{
    background: #FFD7D7;
}

#box_empresas_list{
    display: none;
}
.sidebar .user-panel{
    overflow: visible;
}

.required{    
}
.overlayer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFF;
    z-index: 9998;
    opacity: .55;
    -moz-opacity: 0.55;
    -webkit-opacity: 0.55;
    -o-opacity: 0.55;
    -ms-opacity: 0.55;
    filter: alpha(opacity=55);
}

.overlayer i{
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -15px;
  margin-top: -15px;
  color: #000;
  font-size: 30px;
} 

.overlayer i:before{
  content: "\f021";
}

.login-box-msg.error{
    color: #dd4b39;
    font-weight: bold;
}

.sidebar-form{
    position: relative;
    overflow: visible;
}

.alert .close {
  color: #000;
  opacity: .9;
  filter: alpha(opacity=90);
  font-size: 36px;
}


.clear{
    clear: both;
}
._contenedor{
    width: auto;
    margin: 10px 20px;        
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    float: left;
}

._contenedor ._label{
    width: auto;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    float: left;        
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;
     border-top-left-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;
    border-bottom-left-radius: 5px;
    background: #EAEAEA;
    font-weight: bold;
}

._contenedor ._input{
    width: auto;
    float: left;
    height: 30px;
    padding: 0 10px;
    line-height: 30px;   
    border: 1px solid #EAEAEA;     
    -moz-border-radius-topright: 5px;
    -webkit-border-top-right-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background: #FBFBFB;
}

#overlay_search_trabajador{
    width: 100%;
    background: #ecf0f5;
    position: absolute;
    top: 37px;
    left: 0;
    height: 200px;
    -webkit-box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    1px 1px 5px 0px rgba(50, 50, 50, 0.75);
    box-shadow:         1px 1px 5px 0px rgba(50, 50, 50, 0.75);
    -moz-border-radius-bottomright: 10px;
    -webkit-border-bottom-right-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow-y: auto; 
    padding: 15px;
    z-index: 1;       
}

#overlay_search_trabajador a{
    display: block;
    padding: 3px;
    font-size: 14px;
    color: #274756;
    font-weight: bold;
}


.item_roles{
    position: relative;    
    height: auto;
    background: #F8F8F8;
    padding: 10px;
    margin: 6px 0;
}

.item_roles br{
    clear: both;
}

.item_roles strong{
    display: block;
    width: auto;
}

.item_roles .fieldset{
    float: left;
    width: 95px;
}





@media screen and (max-width:993px) {
    ._contenedor{
        width: 100%;
        margin: 10px auto;
        display: block;
        height: auto;
        line-height: normal;
        float: none;
    }
    
    ._contenedor ._label{
        width: 20%;
        height: auto;
        line-height: normal;
    }
    
    ._contenedor ._input{
        width: 80%;
        height: auto;
        line-height: normal;
    }    
}


@media screen and (max-width:600px) {
    ._contenedor{
        width: 100%;
        margin: 10px auto;
        display: block;
        height: auto;
        line-height: normal;
        float: none;
    }
    
    ._contenedor ._label{
        width: 20%;
        height: auto;
        line-height: normal;
    }
    
    ._contenedor ._input{
        width: 80%;
        height: auto;
        line-height: normal;
    }
    
    .table.dataTable td{
        white-space: nowrap;
    }
}


@media screen and (max-width:320px) {
    ._contenedor{
        width: 100%;
        margin: 10px auto;
        display: block;
        height: auto;
        line-height: normal;
        float: none;
    }
    
    ._contenedor ._label{
        width: 80px;
        height: auto;
        line-height: normal;
    }
    
    ._contenedor ._input{
        width: 160px;
        height: auto;
        line-height: normal;
    }    
}



