/* 
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300,200,600,700);
@import url(https://fonts.googleapis.com/css?family=Hind:400,300,200,600,700);
*/

/*
 -------------------------------------------------------------------------------- 
 TIPOGRAFIAS 
 --------------------------------------------------------------------------------
 */

@import url(https://fonts.googleapis.com/css?family=Muli:400,300,200,600,700);
@import url(https://fonts.googleapis.com/css?family=Quicksand:400,300,200,600,700);
@import url("https://use.typekit.net/may3xtj.css");


/*
 -------------------------------------------------------------------------------- 
 ELEMENTOS GENERALES 
 --------------------------------------------------------------------------------
 */

html, body {
    font-family: "proxima-nova", Muli, "Arial", sans-serif;
    font-size: 0.86em;
    background-color: #fafafa;
    height: 100%;
}

.wrapper-general {
    min-height: calc(100vh - 40px);
}

.footer {
    height: 30px;
    padding-top: 10px;
}

div#header a {
    display: block;
    margin-left: 15px;
    background: url(../img/logo_wonderbill.png) no-repeat;
    top: 0;
    height: 100px;
    width: 191px;
}

a:hover, a:focus {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "proxima-nova", Quicksand, "Arial", sans-serif;
}

h1.numero, h2.numero, h3.numero, h4.numero, h5.numero, h6.numero {
    font-family: "proxima-nova", Muni, "Arial", sans-serif;
}

input, button, select, textarea {
    font-family: "proxima-nova", "Arial", sans-serif;
}

.fecha-relativa {

}

.alert-danger a {
    color: #b94a48;
    font-weight: bold;
}


div.star-rating-on a{
    background-position:0 -32px !important;
}


/*
 -------------------------------------------------------------------------------- 
 HEADER
 --------------------------------------------------------------------------------
 */

#header {
    background-color: #fafafa;
    background-image: none;
    box-shadow: none;
    border-bottom: none;
    z-index: 0;
}

#welcomePanel {
    color: #555555;
}

/*
 -------------------------------------------------------------------------------- 
 MENU 
 --------------------------------------------------------------------------------
 */

#sidebar {
    width: 200px;
}

#content {
    margin-left: 200px;
}

#sidebar > ul {
    width: 200px;
    border-top: none;
    border-bottom: none;
    margin-right: 10px;
}

#sidebar > ul > li {
    border-top: none;
    border-bottom: none;
}

#sidebar > ul > li.active {
    background-color: #fafafa;
    background-image: none;
    box-shadow: none;
}

#sidebar > ul > li.open.active.submenu > a {
    border-bottom: none;
}

#sidebar > ul > li.open.submenu > a {
    border-bottom: none;
    font-weight: bold;
    font-size: 120%;
}

#sidebar > ul > li > a {
    color: #555555;
}

#sidebar > ul > li > a:hover {
    background-color: #fafafa;
    font-weight: bold;
    font-size: 120%;
}

#sidebar > ul > li.active > a {
    font-weight: bold;
    font-size: 120%;
}

#user-nav > ul > li > a > i, #sidebar li a i {
    background-image: url('../img/glyphicons-halflings.png');
}

#sidebar > ul ul {
    background-color: #fafafa;
    border-top: none;
    box-shadow: none;
}

#sidebar > ul ul li a, #sidebar > ul ul li.active a {
    border-top: none;
    border-bottom: none;
    padding-left: 50px;
}

#sidebar > ul ul li a:hover, #sidebar > ul ul li.active a {
    color: #555;
}

#sidebar > ul ul li.active a {
    font-weight: bold;
}

#sidebar > ul ul li a:hover, #sidebar > ul ul li.active a {
    background-color: #fafafa;
    border-top: none;
    border-bottom: none;
}

#sidebar > ul > li.open.active.submenu > a {
    border-bottom: none;
    font-weight: bold;
    font-size: 120%;
}

#content {
    background-color: #fff;
    margin-top: 10px;
}

.container-fluid .row-fluid:first-child {
    margin-top: 0;
}

#content-header {
    background-color: #fff;
    background-image: none;
}

#content-header h1 {
    font-weight: bold;
}

#content-header h1.con-volanta {
    margin-top: 0;
}

#content-header .volanta {
    margin-left: 20px;
    margin-top: 20px;
    font-family: Quicksand, "Arial", sans-serif;
    font-size: 16px;
}

#content-header .header-derecha {
    float: right;
    right: 20px;
    position: absolute;
    margin-top: -50px;
}

#content-header .header-derecha .opciones_adicionales {
    float: right;
    padding-top: 8px;
}

#content-header .header-derecha .opciones_adicionales .form-control {
    margin-right: 10px;
}

#content-header .header-derecha .btn-group {
    float: right;
    position: relative;
    margin-top: 0;
}

#content-header .volanta a {
    color: #000;
}

#user-nav {
    top: 0px;
}

.navbar-inverse .brand, .navbar-inverse .nav>li>a {
    text-shadow: none;
}

#breadcrumb {
    background: #fafafa;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
}

#myChart {
    margin: 0 auto;
}

/*
 -------------------------------------------------------------------------------- 
 WIDGET 
 --------------------------------------------------------------------------------
 */

.widget-title, .modal-header, .table th, div.dataTables_wrapper .ui-widget-header, .ui-dialog .ui-dialog-titlebar {
    background: #fff;
    border-bottom: 1px solid #ececec;
}

.widget-title h5 {
    color: #555;
    font-size: 20px;
}

.widget-title span.icon {
    display: none;
    border-right: 1px solid #ececec;
}

.widget-title .nav-tabs li a {
    border-bottom: none;
    border-left: none;
    border-right: none;
}

.nav>li>a:hover, .nav>li>a:focus {
    background-color: #fff;
}

.nav-tabs>.active>a, .nav-tabs>.active>a:hover, .nav-tabs>.active>a:focus {
    border: none;
}

.widget-title .nav-tabs li.active a {
    background-color: #fff !important;
    color: #555;
    font-size: 120%;
    padding-top: 6px;
}

.widget-box {
    background-color: #fff;
    border-top: none;
    border-right: none;
    border-left: none;
}

.widget-content {
    border-bottom: none;
}

/*
 -------------------------------------------------------------------------------- 
 FORMULARIOS 
 --------------------------------------------------------------------------------
 */


.control-group, .form-horizontal .control-group {
    border-bottom: none;
}

.form-actions {
    background-color: #fff;
}

fieldset legend {
    font-size: 14px;
    font-weight: bold;
    color: #555;
    border-bottom: none;
    margin-bottom: 5px;
}

fieldset legend+.control-group {
    margin-top: 5px;
}

/*
 -------------------------------------------------------------------------------- 
 GRILLA Y TABLAS 
 --------------------------------------------------------------------------------
 */

.table th, .table td {
    border-top: none;
    border-bottom: 1px solid #ececec;
}

.table-hover tbody > tr:hover > td {
    background-color: #fcfcfc;
}

.table-detail th {
    width: 40%;
}

.grid-view select {
    width: 140px;
}

.grid-view tfoot td {
    font-weight: bold;
    font-size: 1.2em;
    text-align: center;
}

.table td.extrarow {
    background-color: transparent;
    font-size: 18px;
    padding: 25px 5px 10px;
    font-weight: bold;
}

.table-hover tbody > tr:hover > td.extrarow {
    background-color: transparent;
}

.table td.extrarow .metrica-total {
    float: right;
    margin-right: 25px;
}

.grid-view table .btn-flotar-derecha {
    position:absolute;
    right: 20px;
    top: 3px;
}

.grid-view table tr {
    position: relative;
}

.widget-title, .modal-header, .table th, div.dataTables_wrapper .ui-widget-header, .ui-dialog .ui-dialog-titlebar {
    background-image: none;
}

.popover {
    z-index: 990;
}

.popover-content {
    z-index: 990;
}

.grid-view .popover-content {
    padding: 5px;
}

.tabla-sin-bordes td {
    border-bottom: none;
}

.popover.editable-container {
    width: 300px !important;
}

/*
 -------------------------------------------------------------------------------- 
 FAVORITOS
 --------------------------------------------------------------------------------
 */

a.estrella-proyecto-favorito {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin: 15px 8px 0 0;
}

a.estrella-proyecto-favorito.es-favorito {
    color: yellow;
    background-image: url(../img/icons/favorito.png);
}


a.estrella-proyecto-favorito.no-es-favorito {
    color: grey;
    background-image: url(../img/icons/no_favorito.png);
}

/*
 -------------------------------------------------------------------------------- 
 PANEL DE COMENTARIOS
 --------------------------------------------------------------------------------
 */

.activity-list li {
    position: relative;
    margin: 30px 0 5px;
    padding: 10px 20px 10px 20px;
    color: #888888;
    background-color: #ededed;
    border: 1px solid #ececec;
}

.activity-list li img.img-profile {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 40px;
    border-radius: 50%;
}

.activity-list blockquote {
    color: #000;
}

.activity-list li blockquote {
    border-top: 1px solid #ccc;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 10px 0 0 0;
    font-style: normal;
    font-size: 16px;
}

.activity-list li a {
    display: inline;
    padding: 0;
    background: transparent;
    color: #0e90d2;
}

.activity-list li span.comment-user-author {
    color: #0e90d2;
}

.activity-list li a:hover {
    background: transparent;
    text-decoration: underline;
}

.panel-filtros {
    margin-top: 30px;
}

.panel-filtros h5 {
    margin-bottom: 5px;
}

.panel-filtros input[type="checkbox"] {
    margin-top: 0;
}

.panel-filtros li {
    margin-bottom: 4px;
}

/*
 -------------------------------------------------------------------------------- 
 PANEL DE RENTABILIDAD 
 --------------------------------------------------------------------------------
 */
.panel-rentabilidad h5 {
    margin-bottom: 4px;
}

.panel-rentabilidad .numero {
    font-size: 1.7em;
    font-weight: bold;
}

.panel-rentabilidad .badge {
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
    position: absolute;
    top: 26px;
    right: 15px;
}

.panel-rentabilidad .referencia {
    
}

.panel-rentabilidad .referencia.alivio {
    color: #7BDB7B;
}

.panel-rentabilidad .referencia.emergencia {
    color: darkred;
}

.barra-de-progreso-rentabilidad {
    width: 100%;
    height: 40px;
    position: relative;
}

.barra-de-progreso-rentabilidad .costos {
    position: absolute;
    left: 0;
    background-color: #FD6A65;
    color: #000;
    height: 40px;
    overflow: visible;
    
}

.barra-de-progreso-rentabilidad .costos span {
    padding-left: 8px;
    padding-top: 8px;
    overflow: visible;
    position: absolute;
    white-space: nowrap;
    z-index: 10;
}

.barra-de-progreso-rentabilidad .ganancia {
    position: absolute;
    right: 0;
    background-color: #7BDB7B;
    color: #000;
    height: 40px;
    text-align: right;
}

.barra-de-progreso-rentabilidad .ganancia span {
    padding-right: 8px;
    padding-top: 8px;
    position: absolute;
    right: 0;
    white-space: nowrap;
    z-index: 10;
}

.barra-de-progreso-gastado {
    width: 100%;
    height: 40px;
    background-color: #7BDB7B;
    position: relative;
    overflow: hidden;
}

.barra-de-progreso-gastado .gastado {
    position: absolute;
    left: 0;
    background-color: #FD6A65;
    color: #000;
    height: 40px;
    overflow: visible;
    z-index: 20;
}

.barra-de-progreso-gastado .gastado span {
    display: block;
    padding: 10px 0;
    font-weight: bold;
    width: 100%;
    text-align: center;
    color: #fff;
}

.barra-de-progreso-gastado .disponible {
    position: absolute;
    right: 0;
    background-color: #7BDB7B;
    color: #000;
    height: 40px;
    text-align: right;
}

.barra-de-progreso-gastado .disponible span {
    display: block;
    padding: 10px 0;
    font-weight: bold;
    width: 100%;
    text-align: center;
    color: #fff;
}

/*
 -------------------------------------------------------------------------------- 
 PANEL DE RENTABILIDAD V2 
 --------------------------------------------------------------------------------
 */
.panel-rentabilidad-v2 h5 {
    margin-bottom: 4px;
}

.panel-rentabilidad-v2 .numero {
    font-size: 1.7em;
    font-weight: bold;
}

.panel-rentabilidad-v2 .badge {
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
    position: absolute;
    top: 26px;
    right: 15px;
}

.panel-rentabilidad-v2 .referencia {

}

.panel-rentabilidad-v2 .referencia.alivio {
    color: #7BDB7B;
}

.panel-rentabilidad-v2 .referencia.emergencia {
    color: darkred;
}

.barra-de-progreso-rentabilidad-v2 {
    width: 100%;
    height: 60px;
    position: relative;
    margin-top: 15px;
}

.barra-de-progreso-rentabilidad-v2 .costos {
    position: absolute;
    left: 0;
    background-color: #FD6A65;
    color: #000;
    height: 60px;
    overflow: visible;
    z-index: 20;

}

.barra-de-progreso-rentabilidad-v2 .costos span {
    width: 100%;
    display: block;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.barra-de-progreso-rentabilidad-v2 .disponible_para_gasto {
    position: absolute;
    left: 0;
    background-color: transparent;
    border-right: 4px solid #666;
    height: 60px;
    overflow: visible;
    z-index: 30;
}

.barra-de-progreso-rentabilidad-v2 .disponible_para_gasto span {
    display: block;
    position: absolute;
    right: -12px;
    top: -20px;
    text-align: center;
    color: #000;
    font-size: 10px;
    font-weight: bold;
    z-index: 111;
}

.barra-de-progreso-rentabilidad-v2 .ganancia {
    position: absolute;
    right: 0;
    background-color: #7BDB7B;
    color: #000;
    height: 60px;
    text-align: right;
    z-index: 10;
}

.barra-de-progreso-rentabilidad-v2 .ganancia span {
    width: 100%;
    display: block;
    padding: 20px 0;
    margin-right: 10px;
    text-align: center;
    color: #000;
    font-size: 24px;
    font-weight: bold;
    z-index: 111;
}

.barra-de-progreso-gastado-v2 {
    width: 100%;
    height: 60px;
    background-color: #7BDB7B;
    position: relative;
    overflow: hidden;
}

.barra-de-progreso-gastado-v2 .gastado {
    position: absolute;
    left: 0;
    background-color: #FD6A65;
    color: #000;
    height: 40px;
    overflow: visible;
    z-index: 20;
}

.barra-de-progreso-gastado-v2.gastado span {
    display: block;
    padding: 10px 0;
    font-weight: bold;
    width: 100%;
    text-align: center;
    color: #fff;
}

.barra-de-progreso-gastado-v2 .disponible {
    position: absolute;
    right: 0;
    background-color: #7BDB7B;
    color: #000;
    height: 40px;
    text-align: right;
}

.barra-de-progreso-gastado-v2 .disponible span {
    display: block;
    padding: 10px 0;
    font-weight: bold;
    width: 100%;
    text-align: center;
    color: #fff;
}

/*
 -------------------------------------------------------------------------------- 
 ACCIONES RAPIDAS
 --------------------------------------------------------------------------------
 */

.stat-boxes .right {
    width: auto;
}

.quick-actions i.icon-ok {
    background-image: url('../img/icons/ok.gif');
}

.quick-actions i.icon-error {
    background-image: url('../img/icons/error.gif');
}

/*
 -------------------------------------------------------------------------------- 
 CALENDARIO
 --------------------------------------------------------------------------------
 */

.fc-event {
    background-color: #009dd9;
    color: #fff;
    border: none;
}

.fc-event:hover {
    color: #fff;
}

.fc-event-bill {
    background-color: #84be78;
    color: #fff;
    border: none;
}

.fc-event-bill:hover {
    color: #fff;
}

.fc-pago-proveedores {
    background-color: #f4b36b;
    border: none;
    color: #fff;
}

.fc-pago-proveedores:hover {
    color: #fff;
}

.fc-event-past {
    border: 2px solid #ee7253;
}

.proyecto-no-inicializado {
    margin: 10px 0 0;
}

.proyecto-no-inicializado .alert {
    margin-bottom: 0;
}



/*
 -------------------------------------------------------------------------------- 
 BUSQUEDA 
 --------------------------------------------------------------------------------
 */

.fila-busqueda {
    margin-top: 20px !important;
}

.resultados-busqueda {
    margin-top: 10px;
    font-size: 16px;
    border: 1px solid #efefef;
    background-color: #fafafa;
    padding: 20px;
}

.resultados-busqueda h3 {
    margin-top: 0;
}

.resultados-busqueda .lista-resultados li {
    margin: 5px 0;
}

/*
 -------------------------------------------------------------------------------- 
 REPORTE FORECAST 
 --------------------------------------------------------------------------------
 */

.tabla-forecast-ventas {
}

.tabla-forecast-ventas thead tr th {
    text-align: center;
}

.tabla-forecast-ventas tbody tr {
    text-align: center;
}

.tabla-forecast-ventas tr.mega-header:hover td {
    background-color: #D1C7BA;
}

.tabla-forecast-ventas tr.header:hover td {
    background-color: #5C7282;
}

.tabla-forecast-ventas tbody td {
    text-align: center;
}

.tabla-forecast-ventas tbody tr.mega-header {
    background-color: #D1C7BA;
    color: #000;
    font-size: 16px;
    font-weight: bold;
}

.tabla-forecast-ventas tbody tr.header {
    background-color: #5C7282;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.tabla-forecast-ventas tbody td.etiqueta {
    text-align: left;
}

/*
 -------------------------------------------------------------------------------- 
 CENTRO DE NOTIFICACIONES
 --------------------------------------------------------------------------------
 */
.centro-notificaciones {
    float: left;
    margin-top: 8px;
    margin-right: 20px;
}

.link-centro-notificaciones {
    color: #000;
}

.popover {
    padding: 15px;
    position: absolute;
    top: 30px;
    right: 25px;
    left: auto;
    width: 220px;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 6px;
    background-clip: padding-box;
}

.popover-notificaciones {
    padding: 15px;
    position: absolute;
    top: 30px;
    right: 25px;
    left: auto;
    width: 220px;
}

.link-centro-favoritos {
    margin-right: 60px;
}

.popover-favoritos {
    padding: 15px;
    position: absolute;
    top: 30px;
    right: 125px;
    width: 400px;
    max-width: 400px;
}

.popover-favoritos table {
    margin-bottom: 0;
}

.popover-favoritos td {
    font-size: 10px;
}

.lista-notificaciones li {
    position: relative;
    border-bottom: 1px solid #efefef;
    padding: 5px 0;
    min-width: 220px;
}

.lista-notificaciones .btn-marcar-como-leida {
    top: 5px;
    right: 5px;
    position: absolute;
    display: none;
    color: #ccc;
}

.centro-notificaciones .btn-ver-todas {
    font-size: 0.8em;
    text-align: right;
    display: block;
    color: #000;
    margin-top: 5px;
    
}

.oculto {
    display: none !important;
}

/*
 -------------------------------------------------------------------------------- 
 PANTALLA CONFIGURAR PROVEEDORES
 --------------------------------------------------------------------------------
 */

.lista-tipos-trabajo {
    clear: both;
}

.lista-tipos-trabajo li {
    float: left;
    padding: 5px 10px;
}

.lista-tipos-trabajo li label {
    display: inline-block;
    margin-left: 5px;
}

.lista-tipos-trabajo li input {
    margin-top: -3px;
}



/*
 -------------------------------------------------------------------------------- 
 PANTALLA AGREGAR COSTO DIRECTO
 --------------------------------------------------------------------------------
 */

.datos-costo-directo .sugerencias {
    padding-left: 200px;
}

.datos-costo-directo .sugerencias h5 {
    margin-top: 20px;
    margin-bottom: 5px;
}

.recomendacion-proveedores li {
    padding: 5px 0;
    float: left;
    width: 33%;
}

/*
 -------------------------------------------------------------------------------- 
 SELECCIONADOR PROYECTO PROPUESTA
 --------------------------------------------------------------------------------
 */

.caja-proyecto-propuesta {
    margin: 20px auto;
    text-align: center;

}

.caja-proyecto-propuesta .grafico {
    background-color: #efefef;
    border: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 20px;
}


.caja-proyecto-propuesta h2 {
    margin-top: 0;
    text-align: center;
}

.caja-proyecto-propuesta img {
    display: block;
    max-width: 150px;
    margin: 0 auto;
}

/*
 -------------------------------------------------------------------------------- 
 FORMULARIO PROYECTOS
 --------------------------------------------------------------------------------
 */


.widget-content fieldset {
    margin-bottom: 15px;
}

.widget-content fieldset legend {
    margin-bottom: 0;
    border-bottom: 1px solid #efefef;
}

.input-precio {
    font-size: 22px !important;
    line-height: 30px !important;
    height: 45px !important;
}

.softdeleteclass { 
    background-color: red; 
}
