html {
    font-size: 14px;
}
body {
    color: #244a78;
    font-size: 0.75rem;
}
body.login {
    background-image:url(../../img/network-3424070_640_40.jpg);
}
#wrapper {
    width: 99%;
}
.sidebar {
	margin-top: 60px;
}
.modal-dialog {
    width: 50%;
}
.ui-menu-item {
    color: #244a78;
    font-size: 0.75rem;
}
ul.ui-autocomplete {
    z-index: 9999 !important;
}
.ui-autocomplete {
    z-index: 2150000000;
}
div.dt-buttons {
	float: right;
}
table.dataTable.compact tr.selected td.select-checkbox:after, table.dataTable.compact tr.selected th.select-checkbox:after {
	margin-top: -34px;
}

.alert {
	padding-bottom: 1px;
}
.error {
    color: #D63301;
	background-color: #FFCCBA;
	margin: 5px;
	padding: 5px;
}

.login-panel {
	box-shadow: 0px 0px 21px 1px rgba(0, 0, 0, 0.75);
}
#tablatitulogin {
	font-family: Gadget;
	font-size: 17pt;
}
.page-header {margin: 5px;}

.morris-hover{position:absolute;z-index:1000;}
.morris-hover.morris-default-style{border-radius:10px;padding:6px;color:#666;background:rgba(255, 255, 255, 0.8);border:solid 2px rgba(230, 230, 230, 0.8);font-family:sans-serif;font-size:12px;text-align:center;}
.morris-hover.morris-default-style .morris-hover-row-label{font-weight:bold;margin:0.25em 0;}
.morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:0.1em 0;}

.pan-jor {
	margin-top: 1px;
	margin-bottom: 2px;
	padding-right: 0px;
}
.pan-group-jor {
	padding-right: 0px;
	padding-left: 0px;	
}
#page-wrapper {
    padding: 5px 5px;
    min-height: 568px;
    background-color: #fff;
}
#page-wrapper-agendamensual {
    padding: 0px;
    min-height: 568px;
    background-color: #fff;
}
.btn-login-dtc {
  color: #fff;
  background-color: #244a78;
  border-color: #244a78;
}
.btn-grey {
  color: #fff;
  background-color: grey;
  border-color: darkgrey;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-top: 5px;
    font-weight: 700;
}

.btn-sm-acoplado {
	padding: 2.4px 10px;
}

.table_font_peque {
	/*font-size: x-small;*/
	color: #244a78;
}
.table_font_grande {
	font-size: 1rem;
}
.table_font_grande > tbody > tr > td {
	padding: 0.5rem !important;
}
.form-control-jor {
	padding: 1px;
	height: 25px;
	font-size: 0.75rem;
}

.row-fmsft {
    margin-right: 0px;
    margin-left: 0px;
    margin-bottom: 5px;
}
.row-fmsft-bottom {
    margin-right: 0px;
    margin-left: 0px;
    margin-bottom: 5px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}
.col-jor {
	padding-right: 5px;
	padding-left: 5px;
}
.col-jor-bottom {
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 5px;
}
.col-jor-btn {
	padding-top: 22px;
	padding-right: 5px;
	padding-left: 5px;
}
.col-jor-right {
	float: right;
	text-align: right;
}
.col-fmsft-btn-sin-label {
	padding-bottom: 10px;
	padding-right: 5px;
	padding-left: 5px;
}
.btn-fmsft {
	font-size: 0.80rem;
	margin-right: 10px;
}
.btn-fmsft-toolbar {
	margin-right: 5px;
}

.btn-block-75 {width: 75%;}

.panel-fmsft {
	margin-bottom: 5px;
}
.panel-acc-directo {
	margin-top: 5px; margin-bottom: 5px;
}
.panel-heading-fmsft {
	padding: 5px 15px;
}
.panel-body-jor {
	padding: 5px 1px;
}
.panel-title-fmsft {
	font-size: 0.95rem;
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    padding: 1px;
    line-height: 1.4285;
    vertical-align: top;
    border-top: 1px solid #ddd;
}
.table {
	margin-bottom: 1px;
}
.td-botones {
	width: 1%;
    white-space: nowrap;
	text-align: right;
}
.td-peque {
	padding: 2px;
	font-size: 0.70rem;
}
.td-normal {
	padding: 1px;
	padding-bottom: 15px;
	height: 50px;
}
.td-festivo {	
	background-image: linear-gradient(to bottom, rgba(255,239,213, 1), rgba(255,239,213, 0.3));
}
.td-normal-hoy {
	padding: 1px;
	padding-bottom: 15px;
	border-color: #ff0000;
	border-style: double;
	border-width: 2px;
}

.td-titu-mes {
	/*font-size: large;*/
	font-size: 1.2rem;
	color: #244a78;
	background-color: #e0e0e0;
}
.td-titu-semana {
	font-size: 0.90rem;
	color: #244a78;
	background-color: #e0e0e0;
}

.td-titu-mes-agendamensual {
	/*font-size: 10pt;*/
	color: #244a78;
	background-color: #e0e0e0;
}
.td-titu-semana-agendamensual {
	font-size: 8pt;
	color: #666666;
}

.td-titu-fecha {
	font-size: 0.8rem;
	text-align: left;
	/*background-image: linear-gradient(to bottom, rgba(51, 122, 183, 1), rgba(51, 122, 183, 0.5));*/
    background-image: linear-gradient(to bottom, rgba(51, 122, 183, 1), rgba(51, 122, 183, 0.9));
	color: #FFFFFF;
	cursor: pointer;
	padding: 2px;
	/*text-shadow: 1px 1px 0 #C0C0C0;*/
    font-weight:bold;
}
.td-titu-fecha-festivo {
	color: #F2C4C4;
	text-shadow: 1px 1px 0 #000000;
}
.td-titu-fecha-movil {
	font-size: 1rem;
	text-align: center;
	/*background-image: linear-gradient(to bottom, rgba(51, 122, 183, 1), rgba(51, 122, 183, 0.5));*/
    background-image: linear-gradient(to bottom, rgba(51, 122, 183, 1), rgba(51, 122, 183, 0.9));
	color: #FFFFFF;
	cursor: pointer;
	padding: 2px;
	/*text-shadow: 1px 1px 0 #C0C0C0;*/
    font-weight: bold;
}
.td-titu-fecha-messig {
	font-size: 0.8rem;
	text-align: left;
	background-image: linear-gradient(to bottom, rgba(160, 160, 160, 0.6), rgba(160, 160, 160, 0.3));
	color: #fff;
	cursor: pointer;
	padding: 2px;
}
.td-titu-fecha-messig-movil {
	font-size: 1rem;
	text-align: center;
	background-image: linear-gradient(to bottom, rgba(160, 160, 160, 0.6), rgba(160, 160, 160, 0.3));
	color: #fff;
	cursor: pointer;
	padding: 2px;
}
.td-titu-fecha-nota {
	text-align: right;
	padding: 2px;
	width: 10px;
}
.td-titu-fecha-mov {
	background-color: #337ab7;
	color: #fff;
}
.td-normal-mov {
	padding: 0px;
}
.td-peque-mov {
	padding: 0px;
	font-size: 7pt;
}
.td-separa {
	border: 0px;
	background-color: #337ab7;
}

.table-dia-base {
	border-collapse: separate;
	border-spacing: 0px;
	border-radius: 4px;
}
.table-dia {
	background-image: linear-gradient(to bottom, rgba(0, 0, 255, 0.4), rgba(0, 0, 255, 0));
	border: 1px solid #CCE5FF;
	margin-bottom: 2px;
}
.table-dia-plantilla {
	background-image: linear-gradient(to left, rgba(51, 153, 255, 0.4), rgba(51, 153, 255, 0));
	border: 2px solid #CCE5FF;
	margin-bottom: 2px;
}
.table-dia-aceptado {
	border: 1px solid #C0C0C0;
	margin-bottom: 2px;	
        background-color: rgba(192, 192, 192);
}
.table-dia-proy-ini {
    border: 1px solid #C0C0C0;
    margin-bottom: 2px;
    background-color: #99CCFF;
}
.table-dia-proy-fin {
    border: 1px solid #C0C0C0;
    margin-bottom: 2px;
    background-color: #82E0AA;
}
.table-dia-hecho {
	border: 1px solid #ccffcc;
	margin-bottom: 2px;
	background-image: linear-gradient(to bottom, rgba(0, 153, 0, 0.4), rgba(0, 153, 0, 0.2));
	
}
.table-titu-center th {text-align: center;}

.td-dia {
	color: #000066;
	padding: 1px;
}
.td-dia-aceptado {
	/*background-color: #C0C0C0;*/
	color: #000000;
	padding: 1px;
}

.td-dia-hecho-top-mov {
	border-top: 1px solid #000066;
}
.td-dia-hecho {
	/*background-color: #00FF80;*/
	color: #000066;
	padding: 1px;
}
.table-notas {
    background-image: linear-gradient(to bottom, rgba(255, 128, 0, 1), rgba(255, 128, 0, 0.8));
    color: #FFFFFF;
}
.td-dia-aviso-nota {
	padding: 1px;	
}
.table-aviso-emple {
	background-image: linear-gradient(to bottom, rgba(255, 255, 0, 1), rgba(255, 255, 0, 0.3));
	color: #000066;
}
.td-dia-aviso-emple {
	color: #000066;
	padding: 1px;
}
.table-aviso-vehic {
	/*background-image: linear-gradient(to bottom, rgba(255, 0, 0, 1), rgba(255, 0, 0, 0.8));*/
	background: red;
	color: #FFFFFF;
}
.table-aviso-vehic-preaviso {
	background: rgb(255, 0, 0, 0.6);
	color: white;
}
.td-dia-aviso-vehic {
	padding: 1px;
}
.td-aviso-vehic {
	color:red; 
	font-weight:bold;
}
.td-aviso-vehic-previo {
	color:#CCCC00; 
	font-weight:bold;
}
.td-subdia {
	text-align: left;
	vertical-align: top;
	padding: 2px;
}
.td-subdia2 {
	text-align: center;
	vertical-align: top;
	padding: 2px;
}
.navbar-derecha {
	float: right !important;
	margin-right: 15px;
	margin-top: 5px;
}
.muestrafiltro {
	color: #244a78;
	cursor:pointer;
}
#muestrafiltro {
	color: #244a78;
	cursor:pointer;
	float: right;
}
.divfiltro {
	float: left;
	padding: 5px;
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 6px;
	margin-bottom: 10px;
}
#muestradatoscliente {
	color: #244a78;
	cursor:pointer
}
.divfiltroart {
	background-color: #ffffcc;
}

.dropdownlivalue {
	font-size: 0.70rem;
	padding: 1px 3px;
}
.txtclientey > li > a {
	padding: 1px 5px;
}
.txtclientey {
	padding: 0px;
	position: absolute;
	left: 5px;
}

.botonInputFileModificado .inputImagenOculto {
    opacity: 0;
    position: absolute;
	/*
    margin-left: -125px;
    width: 225px;
	*/
	margin-left: 0px;
    width: 30px;
	cursor: pointer;
}

.table-titulo-jornada {
    text-align: center;
    background-color: grey;
    color: white;
    font-weight:bold;
    padding: 3px;
    margin: 2px;
}
.table-jornada-iniciada {
    background-color: green;
    color: white;
    font-weight:bold;
    padding: 3px;
    margin: 2px;
}
.table-jornada-pausada {
    background-color: yellow;
    color: #000066;
    font-weight:bold;
    padding: 3px;
    margin: 2px;
}
.table-sin-iniciar-jornada {
    background-color: red;
    color: white;
    font-weight:bold;
    padding: 3px;
    margin: 2px;
}
.tr-presup-aceptado {
    color: #337ab7; 
    font-weight: bold;
}
.tr-presup-aceptado-parcial {
    color: #337ab7;
}

.table-articulos-tpv {
    text-align: center;
    vertical-align: top; 
    padding: 1px;
}
.tpvBtnArticulo {
	cursor: pointer;
	text-decoration: none !important;
}
img.tpvImg {
    width: 60px; 
    height: 60px;
}
.tpvFooter {
    padding: 1px 5px 1px;
}
.tpv-panel {
    box-shadow: 3px 3px 5px #CCE5FF;
    text-align: center;
}
.tpv-panel:hover {
    border-width: 2px;
    box-shadow: 5px 5px 10px #CCE5FF;
}
.tpvtablalineas {
    cursor: pointer;
    font-size: 0.9rem;
}
.tpvtablalineasfooter {
    font-size: 1rem;
}
.modal-header {
    padding: 10px;
}
.modal-footer {
    padding: 10px;
}

.ficha-activa {
    font-weight: bold;
    background-color: #CCE5FF;
}

.ir-arriba {
    display:none;
    padding:15px;
    background:#337ab7;
    opacity: 0.8;
    font-size:20px;
    color:#fff;
    cursor:pointer;
    border-radius: 6px;
    position: fixed;
    bottom:20px;
    right:20px;
    z-index: 9999;
}

/* TRAZABILIDAD */
.tr-traza-compra { 
    color: maroon;
    font-weight:bold;
}
/* FACTURAS */
.tr-vencida { 
    color: red;
    font-weight:bold;
}
.tr-cobrada {
	color: darkgreen;
	font-weight:bold;	
}

.clicable {
	cursor: pointer;
}
/* Gira logo */
.spinner-logo {
width: 50px;
height: 50px;
animation: spin 1.2s linear infinite;
}

@keyframes spin {
from { transform: rotate(0deg); }
to   { transform: rotate(360deg); }
}

/* botones FumIA ---------------------------------- */
.btn-feedback, .btn-save {
  background: none;
  border: none;
  font-size: 1.1em;
  cursor: pointer;
  margin-left: 5px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.btn-feedback:hover, .btn-save:hover {
  opacity: 1;
}

.btn-feedback.selected[data-feedback="up"] {
  color: green;
}

.btn-feedback.selected[data-feedback="down"] {
  color: red;
}
/*------------------------------------------------- */

/* logo VeriFactu  -------------------------------- */
#logo-verifactu {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 1000;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

#logo-verifactu:hover {
    opacity: 0.7;
}

#logo-verifactu img {
    max-width: 120px;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    #logo-verifactu {
        bottom: 10px;
        right: 10px;
    }
    #logo-verifactu img {
        max-width: 80px;
    }
}
/*------------------------------------------------- */

/* Ajustes para el desplegable de usuario en Bootstrap 2 */
.navbar-derecha .btn-group {
    display: inline-block;
    vertical-align: middle;
}

.navbar-derecha .dropdown-menu {
    min-width: 180px;
}

.navbar-derecha .dropdown-menu > li > a {
    padding: 8px 15px;
    font-size: 13px;
}

.navbar-derecha .dropdown-menu > li > a > i {
    margin-right: 8px;
    width: 14px;
    text-align: center;
}

.navbar-derecha .dropdown-toggle {
    text-decoration: none !important;
}

.navbar-derecha .dropdown-toggle:hover {
    text-decoration: none !important;
    opacity: 0.8;
}

/* Asegurar que el menú no se salga por la derecha */
.navbar-derecha .dropdown-menu.pull-right {
    right: 0;
    left: auto;
}