* {
margin:0;
padding:0;
}
/* General Style Info */
body {
    /*background-image: url("../img/bg-default.png") !important;*/
    color: #222222;
	font-size:14px;
	margin: 0;

}

.container {
    max-width: 100%;
    width: 100%;
}
a {
	color: #016FA7;
	text-decoration:none;
	font-weight: normal;
	cursor: pointer;
}
a:hover {
	background-color: inherit;
	color: #003d4c;
	text-decoration:none;
}
a img {
	border:none;
}
h1, h2, h3, h4 {
	background-color: inherit;
	font-weight: normal;
}
h1 {
	color: #003d4c;
	font-size: 130%;
	margin: 0.1em 0;
}
h2 {
    color: #4E6F82;
    font-size: 17px;
    font-weight: normal !important;
    margin: 0;
    padding: 0 26px 20px;
    width: 100%;
}
h3 {
	color: #c6c65b;
	font-size: 150%;
	padding-top: 2em;
}
h4 {
    color: #999999;
    font-weight: bold;
    padding-bottom: 0.5em;
}
ul, li {
	margin: 0 12px;
	list-style:none;
}

/* Layout */
#container {text-align: left; min-width:1000px}
#header{
	background:url(../img/filete_header.jpg) repeat-x top transparent;
	
   /* background-image: linear-gradient(to bottom, #0E0E0F, #2A2B2E);*/
    background-repeat: repeat-x;
    border-color: #141313;
    box-shadow: 0 1px 10px rgba(120, 120, 120, 0.1);	
}


#header a{text-decoration:none;}
/*MENU*/
#botonesdcha{
    color: #222222;
    float: right;
    font-size: 10px;
    line-height: 16px;
    margin: 5px 0;
    padding: 6px 0;
    position: absolute;
    right: 0;
    text-decoration: none;
}
#botonesdcha a{
	color: #FFF;
	font-size: 12px;
	padding: 1px 0 0 2px;
}
#botonesdcha li{
	 float:left;
	 margin-left:6px;
}
#botonesdcha .dropdown-menu ul{
	margin:0;
}
#botonesdcha .dropdown-menu li {
	width: 100%;
	margin: 0;
}
#botonesdcha .dropdown-menu li a{
    color: #333333;
    float: left;
    font-size: 10px;
    padding: 5px 5px 5px 12px;
    width: 100%;
}
#botonesdcha .dropdown-menu li a:hover, #botonesdcha .dropdown-menu li a.select_lang{
	background-color: #0081C2;
    background-image: linear-gradient(to bottom, #0088CC, #0077B3);
    background-repeat: repeat-x;
    color: #FFFFFF;
    text-decoration: none;
}





.aLink{ vertical-align: middle; color:#e5e5e5;}
.aLink:hover{ color:#CCCCCC;}
.aLink:focus{ color:#CCCCCC;}

.menu{
	margin:0; padding:0;
	float:left;
	box-shadow: -8px 5px 7px #E5E5E5;
}
.menu li{
    float: left;
    margin: 0px;
    padding: 0;
    width: 172px;
	border-bottom: 1px solid #E5E5E5;
}

.menu li a{
    display: block;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
    padding: 10px 15px;
    position: relative;
    text-decoration: none;
}


.menu li a img{ margin-right: 13px;}

.submenu a{
	border:1px solid #999;
}

.menu a{color:#333; background-color: #F6F6F6;}


.navbar-nav > li.activo > a{
    background-color: #FFFFFF;
    background-position: right center;
    background-repeat: no-repeat;
    color: #e5412d;
}

.menu li a:hover{
	background-color:rgba(0, 0, 0, 0.075);
	color:#000;
}
#simula{
    color: #999999;
    font-size: 10px;
    position: absolute;
    right: 29px;
    text-align: right;
    top: 19px;
    z-index: 2;
}
#content{
    clear: both;
    color: #333333;
    float: none;
    line-height: 1.2;
    padding: 0;
}
#footer {
    clear: both;
    color: #CCCCCC;
    float: none;
    font-size: 10px;
    padding: 12px 0 3px;
    text-align: center;
}

#footer a{ color: #b2b2b2;}


/* Paging */
div.paging {
	color: #ccc;
	margin-bottom: 2em;
}
div.paging div.disabled {
	color: #ddd;
	display: inline;
}

/* Scaffold View */

table{
	font-family: arial;
    font-size: 12px;
    font-weight: normal;
}

.ui-complete{
    background-color: #FFFFFF;
    font-family: arial;
}

/* Related */
div.related {
	clear: both;
	display: block;
}

/* Debugging */
pre {
	color: #000;
	background: #f0f0f0;
	padding: 1em;
}

pre.cake-debug {
	background: #1C1C1C;
	font-size: 120%;
	line-height: 18px;
	margin: 4px 2px;
	overflow: auto;
	position: relative;
	color:#0489B1;
}
div.cake-stack-trace {
	background: #fff;
	color: #333;
	margin: 4px 2px;
	padding: 4px;
	font-size: 120%;
	line-height: 18px;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000000;
	background-color: #F0F0F0;
	border: 1px dotted #606060;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 5px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
	background-color: #FFFF00;
}

div.auto_complete {
    position         :absolute;
    width            :250px;
    background-color :white;
    border           :1px solid #888;
    margin           :0px;
    padding          :0px;
	overflow:scroll;
	max-height:250px;
	overflow-x:hidden;
	color:#000000;
}
div.auto_complete li{
	list-style-type:none;
	margin:0px;
	cursor:pointer;
}
div.auto_complete span{
	display:block;
	/*color:#666666;*/
	font-size:8px;
	padding-left:10px;
}
div.auto_complete li.selected { background-color: #ffb; }

div.highcharts-container text tspan{ display: none;}
div.highcharts-container g text tspan{ display: block;}

/* calendar CSS */
 
table.calendar {border: 1px solid #cccccc; border-collapse: collapse; margin: 0px; padding: 0px; background-color: #ffffff; width: 100%;}
table.calendar th {background-color: #eeeeee; text-transform: none; color: #444444; padding: 4px; text-align: center; border: 1px solid #eeeeee;}
 
table.calendar th.cell-prev {text-align: left;}
table.calendar th.cell-next {text-align: right;}
table.calendar th.cell-header {width: 50px; border-bottom: 1px solid #cccccc;}
table.calendar td.cell-today {background-color: #F4F3E6;} /* today in the current month */
table.calendar td.cell-weekend {background:url(../img/body-bg.png) repeat scroll 0 0 #F7F7F7}
table.calendar td {border: 1px solid #cccccc; width:14%}
 
table.calendar td div.closed{background-image:url('../img/close.png'); background-repeat:no-repeat;}/* dias cerrados */
table.calendar td div.cell-number {text-align: right; color: #444444; display: block; height:30px}
table.calendar td div.cell-data {text-align: left; color: #444444; display: block;font-size: 9px;height:30px;}
table.calendar td div.cell-data p {padding-top:3px }
.accion {display:block; text-align:right; text-decoration:none; font-weight:100; height:30px; font-size: 12px}
.accion:hover {background:url(../img/add.gif) #e2e8f6; background-repeat:no-repeat;}
.acciong {display:block; text-decoration:none; font-weight:100; height:15px;text-align:center}
.acciong:hover {background:url(../img/add.gif) #e2e8f6; background-repeat:no-repeat;}
.edit{display:block; text-decoration:none; font-weight:100; padding:5px}
.edit:hover {background:#e2e8f6}

table.calendar thead th {border: 1px solid #cccccc;}

/* calendar2 CSS para la nota de gastos*/

table.calendar2 {border: 1px solid #cccccc; border-collapse: collapse; margin: 0px; padding: 0px; background-color: #ffffff;}
table.calendar2 th {background-color: #eeeeee; text-transform: none; color: #444444; padding: 4px; text-align: center; border: 1px solid #eeeeee;}
 
table.calendar2 th.cell-prev {text-align: left;}
table.calendar2 th.cell-next {text-align: right;}
table.calendar2 th.cell-header {width: 50px; border-bottom: 1px solid #cccccc;}
table.calendar2 td.cell-today {background-color: #F4F3E6;} /* today in the current month */
table.calendar2 td.cell-weekend {background:url(../img/body-bg.png) repeat scroll 0 0 #F7F7F7}
table.calendar2 td {border: 1px solid #cccccc; width:auto;}
 
table.calendar2 td div.closed{background-image:url('../img/close.png'); background-repeat:no-repeat;}/* dias cerrados */
table.calendar2 td div.cell-number {text-align: right; color: #444444; display: block; height:30px}
table.calendar2 td div.cell-data {text-align: left; color: #444444; display: block;font-size: 9px;height:30px;}
table.calendar2 td div.cell-data p {padding-top:3px }
.accion {display:block; text-align:right; text-decoration:none; font-weight:100; height:30px; font-size: 12px}
.accion:hover {background:url(../img/add.gif) #e2e8f6; background-repeat:no-repeat;}
.acciong {display:block; text-decoration:none; font-weight:100; height:15px;text-align:center}
.acciong:hover {background:url(../img/add.gif) #e2e8f6; background-repeat:no-repeat;}
.edit{display:block; text-decoration:none; font-weight:100; padding:5px}
.edit:hover {background:#e2e8f6}

table.calendar2 thead th {border: 1px solid #cccccc;}

/* Formulario dias visita */
div.diasvisita form,div.diasactividad form {
	width:98%;
	margin-right:0px;
	text-align:left;
}
div.diasvisita fieldset {
	margin-top:25px;
}
div.diasvisita input, textarea {
	font-size:120%;
	padding:2px;
}

div.inline {
	float:left;
	/*width:250px;*/
	color:#444444;
}

div.inline input{
	width:50px;
}
div.diasvisita table tr td {
	text-align:left;
}

#loading {position: absolute; top: 25px; right: 30px; z-index: -1; color:#FF0000; padding:2px; } 

.panelini{
    background: url("../img/body-bg.png") repeat scroll 0 0 #F7F7F7;
    border: 1px solid #E0DEDE;
    border-radius: 5px 5px 0 0;
}

.col{
	width: 33%;
	float:left;
}

.panelini .l {
    background-color: #3B5B6D;
    background-image: -moz-linear-gradient(center top , #6E8593 0%, #3B5B6D 100%);
    border-bottom: 1px solid #E0DEDE;
    border-radius: 3px 3px 0 0;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: bold;
    height: 50px;
    padding: 12px 15px;
}
.l_form {
    background-color: #3B5B6D;
    background-image: -moz-linear-gradient(center top , #6E8593 0%, #3B5B6D 100%);
    border-bottom: 1px solid #E0DEDE;
    border-radius: 3px 3px 0 0;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: bold;
    /*height: 15px;*/
    padding: 12px 15px;
	width:80%;
	float:left;
	clear:both;
}
.fmed1 {
    clear: both;
    width: 58%;
}

.fmed1 textarea, .fmed1 select {width:60%;}
.fmed1 input[type="text"]{width:58%;}
.fmed1 label{
	float: left;
	padding-right: 20px;
	padding-top: 3px;
	width: 148px;
}


.fmed2 {
	width: 30%; margin-left:55px;
}
.fmed .l_form, .fmed form {
	width: 90%;
}

.lpanel, .rpanel {
	float: left;
}

.rpanel .cont {
	width: 90%;
	background: url("../img/body-bg.png") repeat scroll 0 0 #F7F7F7;
	padding: 15px;
}
.cont {float:left; margin-bottom:22px;}


.panelini .r{
	float:right;
	height:10px;
	margin:0;
	padding:0;
}
.panelini .pdatos{
    clear: both;
    display: block;
    margin: 11px auto 2px;
    overflow-y: auto;
    text-align: center;
    width: 96%;
}
#me0{
    height: 400px;
    overflow-x: hidden;
    overflow-y: scroll;
    padding-top: 0;
    position: absolute;
    top: 30px;
    width: 213px;
    left: -103px;
}

#me_config{
    display: none;
    height: auto;
    left: -26px;
    overflow: auto;
    padding: 0;
    position: absolute;
    top: 34px;
    width: 167px;
}
#me_lang{
    display: none;
    height: auto;
    left: -5px;
    min-width: 100px;
    overflow: auto;
    padding: 0;
    position: absolute;
    top: 30px;
}



#me6{
	top: 37px;
	right: 105px;
}
.jqtooltip{
	position:absolute; 
	display: none;
	float:none;
	clear:both;
	padding:0;
	margin:0;
	z-index:99;
}
.submenu{
	position:absolute; 
	float:none;
	clear:both;
	padding:0;
	margin:0;
	z-index:99;
}
.submenu{ margin-left:10px;}
.submenun{}
.menu .submenun a{ color: #2D537B;  font-size: 11px; padding-left: 36px;}


.jqtooltip a, .submenu a{
	position: relative;
	display:block;
	padding:5px;
	margin:0;
	text-decoration:none;
	font-weight:normal;
	border-bottom:#999999 1px solid;
	white-space:nowrap;
}

.jqtooltip a{background-color:#CCC;}

.jqtooltip a:hover, .submenu a:hover{
background-color:#FFFFFF;
}
#tabs {
clear:both;
text-align:center;
margin:10px 0px;
}
#tabs ul {
display:inline;
list-style-type:none;
}
#tabs li {
float:left;
margin:0px 2px;
}
#tabs a {
border-left:1px solid #AAAAAA;
border-right:1px solid #AAAAAA;
border-top:1px solid #AAAAAA;
float:left;
padding:5px 10px;
text-decoration:none;
background-color:#E2E2E2;
}
#tabs li a:hover {
background-color:#E2E8F6;
}
#tabs .active a{
background-color:#FFFFFF;
}
.inputVisita label{
	padding-right:20px;
	padding-top:3px;
	width:6em;
	float:none;
	color:#000000;
}
.inputVisita input{
	width:12em;
}
#print_gastos{text-align:right; float:right; display:none}
.icojefe{
	background-image: url(../img/ico_jefe.gif);
	background-repeat: no-repeat;
	padding-left:15px;
}
.icousu{
	background-image: url(../img/ico_man.gif);
	background-repeat: no-repeat;
	padding-left:15px;
}
.mt{
    text-decoration: none;
}
.sel{display:block;}
#spinner{ 
	font-weight:bold; 
	color:red;
	display:block;
	text-align:center;
	padding-top:160px;
	width:600px;
	height:400px;
	position:absolute;
	top:50%;
	left:50%;
	margin-top:-200px;
	margin-left:-300px;
}
.col.hover {
    border: 1px dashed #aaa;
	padding-bottom:200px;
}
.diasvisitas{font-size:10px; margin-bottom:0; padding-top:5px}
.diasvisitas a {font-weight:normal}
.diasvisitas tr td {text-align:left;}
/*Nueva visita*/

.vc{
font-weight:bold;
padding:5px 0;
margin:0;

}
.vc li{
	font-weight:100;
	border-left:1px solid #CCCCCC;
	padding:5px;margin:0 5px;
}
.vc li:hover{
	color:#CCCCCC; cursor:pointer;
}
#medicos tr:hover{
	color:green; cursor:pointer;

}
.head-visita{
	font-size:13px;
	color:green; font-weight:bold;
	border-bottom:1px #CCCCCC solid;
	padding:5px 0; margin-bottom:10px; background-color:#F2F2F2;
	cursor:pointer; width:100%; float:left;
}
.tabla-left{border-left:none; border-bottom:none; }
.tabla-left td{
	text-align:left;
	font-size:11px
}
.tabla-left th{font-weight:100;}
caption{ font-weight:bold;text-align:left; margin:0; padding-left:10px}
.bloque{
	border:1px solid #CCCCCC;
	width:100%;
	margin-bottom:10px;
}
.bloque a{font-weight:100;}
.bloque #datos-visita a{text-align:center; display:block}
.bloque a:hover{color:red}

.popupContainer {
display:none;
left:0;
padding:0;
position:absolute;
top:0;
z-index:201;
}
.popupInner {
background-color:#FFFFFF;
border:2px solid #000000;
}
.popupTitleBar {
    background-color: #4E6F82;
    border-color: #4E6F82;
    border-style: solid;
    border-width: 1px 1px 2px;
    color: #FFFFFF;
    font-weight: bold;
    height: 1.3em;
    padding: 5px;
    position: relative;
    z-index: 203;
}
.popupTitle {
float:left;
font-size:1.1em;
}
.popupControls {
cursor:pointer;
float:right;
}
.popupControls a{
	display:block;
	height:15px;
	width:15px;
	background-image:url(../img/closewindow.gif);
}
.popupContent{

}
.info{text-decoration:none; border-bottom:1px dashed; font-weight:normal}
#sidebar{
	position: absolute;
    width: 172px;
	left:0;
}
#elcont{
	/*background: url("../img/body-bg.png") repeat scroll 0 0 #F7F7F7;*/
    background-color: #FFFFFF;
    margin-left: 172px;
    margin-top: 0;
	min-height: 460px;
    padding: 8px 20px 20px;
}

.login_fondo{background:url(../img/body-bg.png) repeat scroll 0 0 #F7F7F7}
.entradas_por_dia{ 
    float: left;
    font-size: 11px;
    margin: 2px 0;
    padding: 3px;
    width: 96%;
}

.dias_visitas{
    float: right;
    font-size: 10px;
    margin: 2px 0;
    padding: 0 3px 3px;
    text-align: right;
    width: 54%;
}
.dias_visitas a:hover{color:#BCBCBC;}

.dias_visitas a{
    color: #990000;
	text-decoration: none;
    display: block;
    height: 100%;
    width: 100%;
}
.dias_planif{
    float: left;
    font-size: 10px;
    margin: 2px 0;
    padding: 0 3px 3px;
    width: 27%;
}
.dias_planif a{
    color: #86BBD8;
    display: block;
    font-weight: bold;
    height: 100%;
    text-decoration: none;
    width: 100%;
}
.dias_pedidos{
    float: left;
    font-size: 11px;
    margin: 2px 0;
    padding: 0 3px 3px;
    width: 95%;
}
 .dias_pedidos a{
    color: #1E8068;
    display: block;
    height: 100%;
    width: 100%;
 }
 
 .diacal{
    color: #666666;
    font-family: Verdana;
    font-size: 15px;
    font-weight: bold;
}

.mes_cal{ font-size:18px;}
.vis_info {
    float: left;
    margin: 0 16px 0 0;
}
.usuario_no_admin{color:#f5f5f5; margin-top:4px;}
#breadcrumbs{
    margin-bottom: 15px;
    width: 70%;
}
#breadcrumbs a{
	background:url(../img/bread.png) no-repeat top right transparent;
	color:#2f4958;
	text-decoration:none;
	padding:4px 18px 4px 8px;
}
#breadcrumbs a:hover{
	color:#1CAB8B;
}
#breadcrumbs span{
	padding:4px;
	color:#7c929b;
}

.submit input[type="submit"].disabled {
    background-color: #444;
    background-image: linear-gradient(to bottom, #555, #777);
}

.well { width: 100%; float: left;}

#update, .asignados, .planesPeriodos{}

#update{
    /*border-top: 1px dashed #DDDDDD;
    background-color: #FFF;
    float: left;
    margin-top: 35px;
    padding-bottom: 10px;
    padding-top: 21px;
    width: 100%;*/
}

#tabla_inv td{text-align:left; padding-top:0; border:none; background-color:transparent;}

.no-close .ui-dialog-titlebar-close {
	display: none;
}

.rowl {
	clear:left;
}
.rowr {
	clear:right;
}

.top-bar {
    padding: 0;
}
.top-bar .logo {
    position: relative;
    top: 11px;
}

.top-bar .top-bar-right {
    padding-right: 15px;
    text-align: right;
}

.left-sidebar {
    padding-left: 0;
    padding-right: 0;
}

.content-wrapper {
    background-color: #FFFFFF;
    padding: 5px 0px 40px;
    min-height: 583px;
}

ul.navbar-nav, li {
    list-style: none outside none;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
}

.navbar-nav > li img{ margin-right: 10px;}

.navbar-nav > li > a { text-decoration: none; color: #FFF; font-size: 14px;}

ul .sub-menu {
    display: none;
    padding-left: 0;
    position: relative;
    margin: 0;
}
ul .sub-menu li a {
    display: block;
    padding: 13px 40px;
}

.form-horizontal{ width: 100%;}

.icon-lg {
	font-size: 20px;
}

.required label:after { content:" *"; color: #579FA7;}

.panel-heading .r{ float: right; margin-right: 7px;}

#zonasDespl #menu1 .desp{ font-style: italic; color: blue; background-image: none;}

#zonasDespl #menu1 ul li ul{ display: none; }

.breadcrumb a{font-size: 12px;}

.autodir{color: #a1a0a0;}

/******** Esto es para que las tablas de los paneles no salgan del recuadro *******/
@media (max-width:1377px){
	.ui-sortable .table-responsive{
		border: 1px solid #DDDDDD;
	    margin-bottom: 15px;
	    overflow-x: scroll;
	    overflow-y: hidden;
	    width: 100%;
	}
	#update .table-responsive{
		border: 1px solid #DDDDDD;
	    margin-bottom: 15px;
	    overflow-x: scroll;
	    overflow-y: hidden;
	    width: 100%;
	}
}