/* CSS Document */

.only_print {
  display:none;
}
body {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1em;
  margin: 0px;
  /*background-color: #FFFEF6;*/
/*  border-collapse: collapse;*/
}


form {
  margin:0;
  
  padding:0;
}
tr.minwidth td {
  
}

tr.advertencia{
  background-color: #fcc;
  color: #c00;
}

table.pestanyas {
  width: 100%;
} 

a.pesta {
  background: #e5e5ff;
  border: 2px outset #e0e0ff;
  color: #000;

  border-bottom: 0;
  padding: 2px 5px 2px 5px;
  
  margin: 0;
   
}

a.pesta2 {
  background: #fcfca0;
  border: 2px outset #f0f0a0;
  color: #840;
  margin: 1px;
  border-bottom: 0;
  padding: 2px 5px 2px 5px;
     
}


table.pestanyas td{
  height: 29px;
  text-align: center;
  background-repeat: repeat-x;
  padding-top: 3px;
  vertical-align: top;
  /*font-variant: small-caps;*/
  /*letter-spacing: 1px;*/  
  font-family: Verdana, sans-serif;
  font-size: 11px;
  
} 
table.pestanyas a.pestanyas{
  color: black;  
  text-decoration: none;
}
 
table.pestanyas a:hover{
  color: blue;  
  text-decoration: underline;
} 
div.body {
  margin: 8px;
  margin-top: 0;
}

.bloque {
  text-align: center;
  width: auto;
  border: 2px solid #000;
  padding: 2px;
  margin: 2px;
}
td {
 text-align: left;
}
.page {
  width: 100%;
}
div.page {
  width: auto;
}
.small {
  font-size: 10px;
}
.line {
  text-align: left;
  width: auto;
  border-bottom: 1px solid #000;
  padding: 2px;
  margin: 2px;
}

.casilla {
  border-right: 1px solid #000;
  padding-left: 2px;
  padding-right: 2px;
}

.botonsmll {
  font-size: 0.8em;
}

div.body select {
  background-color: #eee;
  border: 0;
  border-bottom: 1px solid #ccf;
  border-right: 1px solid #ccf;
}
div.body input.submit {
  background: url(button/submit.png);
  border: 0;
  color: #77c; /*#339;*/
  border-bottom: 1px solid #ccf;
  border-right: 1px solid #ccf;
/*  border: 2px outset #0f0;*/
  padding: 1px 3px 1px 3px ;
  
  font-family: "Trebuchet MS", Tahoma, sans-serif;
}
.collapse, .collapse * {
  border-collapse: collapse;
}

div.body input, div.body textarea {
  background-color: #f8f8ff;
  border: 0;
  border-bottom: 1px solid #ccf;
  border-right: 1px solid #ccf;
}
div.body input:active {
  background-color: #f8f8ff;
  border: 0;
  border-top: 1px solid #ccf;
  border-left: 1px solid #ccf;
}

div.body #cespeciales input {
  border: 1px solid #ccf;
}


div.body input, div.body select {
  /*background-color: #fffef0;*/
  padding-left: 2px;
  font-family:  "Lucida Sans",sans-serif;
  font-size: 12px;
  color: #000;
  margin: 2px;

}

div.body tr.cespeciales input, div.body tr.cespeciales select {
  margin: 0;
  padding: 0;
}


div.body, div.body table  {

  font-family:  Tahoma, sans-serif;
  font-size: 14px;
  color: #000;
}

div.body, div.body table, div.body p  {
  font-size: 12px;
}
h1,h2,h3,h4,h5,h6 {
  /*font-variant: small-caps;*/
  font-family:  Georgia,"Trebuchet MS", "Times New Roman", serif;
  margin: 0;
  padding: 0;
}
h1 {
  font-size: 1.8em;
  padding: 0.5em;
}
h2 {
  font-size: 1.4em;
  padding: 0.25em;
}
h3 {
  font-size: 1.20em;
  padding: 0.125em;
}
h4,h5,h6 {
  font-size: 1.120em;
  padding: 0.125em;
}
h4 {
  text-decoration: underline;
}


p {
  margin: 0;
  padding: 0;
}

#menu {
  position: fixed;
  _position: absolute;
  width: 160px;
  right: 0px;
  top: 0px;
  height: 100%;
  _height: 600px;
  
  background: #E9EDF1 url(image/menu-border.png) left repeat-y;
  color: black;

}

#menu_fondo {
  _height: 700px;
  _background: #E9EDF1 url(image/menu-bg.png) bottom repeat-x;
  _border-left: #c8cdf0 1px solid;
}

.avisos {
  height: 16px;
  color: black;
  background: #F3DA73 url(image/aviso-fondo.png) repeat-x;
  font-size: 0.70em;
  font-family: Verdana, Arial, sans-serif;
  padding-left: 8px;
  
}

.center {
  margin: 0 auto;
  text-align: center;
}

.block {
  width: 160px;
  height: 16px;
  color: white;
  background: #265171 url(image/block-header.png);
  text-align: center;
  font-weight: bold;
  font-size: 0.9em;
  
}


.cerrar_sesion {
  background: url(image/cerrar-sesion.png) bottom no-repeat;
 /* position: absolute;*/
  position: fixed;
  right: 0px;
  bottom: 0px;
  width: 160px;
  height: 130px;
  text-align: right;
   
}
form {
  margin: 2px;
  padding: 0;
}
table.reclamaciones td,table.reclamaciones th {
  padding-left: 5px;
  padding-right: 5px;
  font-size:12px;
}
table.reclamaciones  {
  margin-left: 50px;
  margin-top: 5px;
  border: 1px solid #ccc;
}

table.reclamaciones td {
  border-bottom: 1px solid #eee;
}

table.reclamaciones2 td,table.reclamaciones2 th {
  padding-left: 5px;
  padding-right: 5px;
  font-size:11px;
}
table.reclamaciones2  {
  margin-left: 5px;
  margin-top: 5px;
  width: 100%;
  border: 1px solid #ccc;
}
div.body form .field_error {
  border: 1px #f00 solid; 
  background-color: #fee;
}
div.tabla {
  width: 100%;  
  overflow:auto;
  max-height: 300px;
  _width: 800px; 
  background: #eee; 
  color: black;
  border: 1px solid #aaa;
}
table.tabla {
  border: 1px solid #aaa;
  padding: 2px;
  /*border: 1px solid #aaa;*/
  display:block;
  width: 100%;
  max-height: 250px;
  _width: 800px; 

  overflow:auto;
  
  background: #fff;
  color: #1A3951;
}
div.body select.safe option{
  color: #000;
  border-bottom: 1px solid #ccc;
  background: #fff;
}
div.body select.safe {
  background: #efefff;
  font-family: Arial, sans;
  color: #000;
}
td.tdfixed {
  max-width: 150px; 
  overflow: hidden; 
  display: block;
}
table.tabla td{
  border: 1px inset #aaa;
  padding-left: 5px;
  margin:0;
  white-space: nowrap;
  font-size: 11px;
  width: 170px;
}
table.tabla td input{
  padding: 5px;
  border: 1px solid #aaa;
}



table.tabla th{
  overflow: hidden;
  background: #e9edf1;
  padding: 3px;
  border: 1px outset #eef;
  margin:0;
  white-space: nowrap;
  color: black;
}

.content {
  padding: 8px;
  font-size: 0.9em;
}
a {
   /*font-style: italic;*/
   color: #00b;
   text-decoration: none;
}
a:visited {
  color: #00c;
}

a:hover {
   color: #36f;
   text-decoration: underline;
}

a:active {
  color: #f00;
}

a img {
  border: 0;
  
}
td {
  text-align: left;
}


body div.body input.potencial,body div.body select.potencial, div.body textarea.potencial {
  background-color: #cef;
  border: 0;
  border-bottom: 1px solid #abc;
  border-right: 1px solid #abc;
}
body div.body .potencial {
  background-color: #f4ffff;
}

body div.cliente_potencial {
    /*background: url(image/cliente_potencial.png) no-repeat top left;*/
    /*margin-left: 0;
    
    padding-left: 70px;
    padding-bottom: 70px;*/
}
body div.body input.potencial:active {
  background-color: #cef;
  border: 0;
  border-top: 1px solid #abc;
  border-left: 1px solid #abc;
}





/* ------ Calendario Javascript, CSS ----- */

/* IMPORTANT:  The SCW calendar script requires all       
               the classes defined here.                  
*/                                                        
table#scw      {padding:       1px;                       
               vertical-align:middle;                    
               border:        1px solid #aaa;                 
                font-size:     10pt;                      
                /*font-family:   Arial,Helvetica,Sans-Serif;
                font-weight:   bold;*/}                     
td.scwDrag,                                               
td.scwHead                 {padding:       0px 0px;       
                            text-align:    center;}       
td.scwDrag                 {font-size:     8pt;}          
select.scwHead             {margin:        3px 1px;       
                            text-align:    center;}       
input.scwHead              {height:        22px;          
                            width:         22px;          
                            vertical-align:middle;        
                            text-align:    center;        
                            margin:        2px 1px;       
                            font-weight:   bold;          
                            font-size:     10pt;          
                            font-family:   fixedSys;}     
td.scwWeekNumberHead,                                     
td.scwWeek                 {padding:       0px;           
                            text-align:    center;        
                            font-weight:   bold;}         
td.scwFoot,                                               
td.scwFootHover,                                          
td.scwFoot:hover,                                         
td.scwFootDisabled         {padding:       0px;           
                            text-align:    center;        
                            font-weight:   normal;}       
table.scwCells             {text-align:    right;         
                            font-size:     8pt;           
                            width:         96%;}          
td.scwCells,                  
td.scwCellsHover,             
td.scwCells:hover,            
td.scwCellsDisabled,          
td.scwCellsExMonth,           
td.scwCellsExMonthHover,      
td.scwCellsExMonth:hover,     
td.scwCellsExMonthDisabled,   
td.scwCellsWeekend,           
td.scwCellsWeekendHover,      
td.scwCellsWeekend:hover,     
td.scwCellsWeekendDisabled,   
td.scwInputDate,              
td.scwInputDateHover,         
td.scwInputDate:hover,        
td.scwInputDateDisabled,      
td.scwWeekNo,                 
td.scwWeeks                {padding:           3px;       
                            width:             16px;      
                            height:            16px;      
                            border-width:      1px;       
                            border-style:      solid;     
                            font-weight:       bold;      
                            vertical-align:    middle;}   
/* Blend the colours into your page here...    */         
/* Calendar background */                                 
table#scw                  {background-color:  #f8f8ff;}  
/* Drag Handle */                                         
td.scwDrag                 {background-color:  #9999CC;   
                            color:             #CCCCFF;}  
/* Week number heading */                                 
td.scwWeekNumberHead       {color:             #6666CC;}  
/* Week day headings */                                   
td.scwWeek                 {color:             #CCCCCC;}  
/* Week numbers */                                        
td.scwWeekNo               {background-color:  #776677;   
                            color:             #CCCCCC;}  
/* Enabled Days */                                        
/* Week Day */                                            
td.scwCells                {background-color:  #eef4ff;   
                            color:             #000000;}  
/* Day matching the input date */                         
td.scwInputDate            {background-color:  #9af;   
                            color:             #00f;}  
/* Weekend Day */                                         
td.scwCellsWeekend         {background-color:  #fff4ee;   
                            color:             #CC6666;}  
/* Day outside the current month */                       
td.scwCellsExMonth         {background-color:  #CCCCCC;   
                            color:             #666666;}  
/* Today selector */                                      
td.scwFoot                 {/*background-color:  #6666CC;*/    
                            color:             #999;}  
/* MouseOver/Hover formatting                             
       If you want to "turn off" any of the formatting    
       then just set to the same as the standard format   
       above.                                             
                                                          
       Note: The reason that the following are            
       implemented using both a class and a :hover        
       pseudoclass is because Opera handles the rendering 
       involved in the class swap very poorly and IE6     
       (and below) only implements pseudoclasses on the   
       anchor tag.                                        
*/                                                        
/* Active cells */                                        
td.scwCells:hover,                                        
td.scwCellsHover           {background-color:  #FFFF00;   
                            cursor:            pointer;   
                            cursor:            hand;      
                            color:             #000000;}  
/* Day matching the input date */                         
td.scwInputDate:hover,                                    
td.scwInputDateHover       {background-color:  #FFFF00;   
                            cursor:            pointer;   
                            cursor:            hand;      
                            color:             #000000;}  
/* Weekend cells */                                       
td.scwCellsWeekend:hover,                                 
td.scwCellsWeekendHover    {background-color:  #FFFF00;   
                            cursor:            pointer;   
                            cursor:            hand;      
                            color:             #000000;}  
/* Day outside the current month */                       
td.scwCellsExMonth:hover,                                 
td.scwCellsExMonthHover    {background-color:  #FFFF00;   
                            cursor:            pointer;   
                            cursor:            hand;      
                            color:             #000000;}  
/* Today selector */                                      
td.scwFoot:hover,                                         
td.scwFootHover            {color:             #FFFF00;   
                            cursor:            pointer;   
                            cursor:            hand;      
                            font-weight:       bold;}     
/* Disabled cells */                                      
/* Week Day */                                            
/* Day matching the input date */                         
td.scwInputDateDisabled    {background-color:  #999999;   
                            color:             #000000;}  
td.scwCellsDisabled        {background-color:  #999999;   
                            color:             #000000;}  
/* Weekend Day */                                         
td.scwCellsWeekendDisabled {background-color:  #999999;   
                            color:             #CC6666;}  
/* Day outside the current month */                       
td.scwCellsExMonthDisabled {background-color:  #999999;   
                            color:             #666666;}  
td.scwFootDisabled         {background-color:  #6666CC;   
                            color:             #FFFFFF;}  
div.error {
  color: red;
  border: 1px solid red;
  margin-bottom: 2px;
}

.error {
  color: red;
}

.sql {
  color: #00a;
}

.sql_error {
  color: #a80;
}

body div.body table tr.mailing, 
body div.body table  select.mailing {
  background-color: #fffeaa;
}



table tr.cliente_autonomia_0 {
  background-color: #fee;
}
table tr.cliente_autonomia_50 {
  background-color: #ffe;
}
table tr.cliente_autonomia_100 {
  background-color: #efe;
}



.text2 p {
  text-align: justify;
  margin-top: 0.5em;
}

