/** {
    margin: 0;
    padding: 0;
}*/

body {
    padding-bottom: 30px;
    font: 13px "Trebuchet MS", Arial, Helvetica, sans-serif;
    color: #444444;
    background: #996699;
}

h1 {
    padding: 15px 0 0 30px;
    font-size: 25px;
    color: #FFFFFF;
}

h1 a, h1 a:hover {
    color: #FFFFFF;
    text-decoration: none;
}

p {
    padding: 10px 0;
    line-height: 1.8em;
    text-align: justify;
}

p#subtitle {
    padding: 0 0 0 30px;
    font-style: italic;
    font-size: 14px;
    text-transform: lowercase;
    color: #FFFFFF;
}

a {
    color: #4082B2;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

/* header */

#header 
{
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
        
    /*position: relative;
    width: 960px;
    height: 200px;*/
    margin: 0 auto;
    background: #26639C url('images/header.jpg') repeat-x;
}

#logo {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 77px;
    border: none;
}

/* menu */

#menu {
    padding: 35px 10px 0 0;
    height: 60px;
}

#menu ul {
    float: right;
    list-style: none;
}

#menu ul li {
    display: block;
    float: left;
    color: #FFFFFF;
}

#menu ul li a {
    padding: 0 40px;
    color: #FFFFFF;
    text-decoration: none;
}

/* search form */

#search {
    position: absolute;
    top: 130px;
    left: 630px;
    width: 300px;
}

#search input.text {
    float: left;
    display: block;
    padding: 6px 5px;
    width: 198px;
    font: 14px Arial, Helvetica, sans-serif;
    color: #B5D0E1;
    background: #4D8EB4 url('images/searchtxt.jpg') no-repeat;
    border: 1px solid #5B94B6;
}

#search input.submit {
    float: right;
    display: block;
    width: 78px;
    height: 30px;
    font: 12px Arial, Helvetica, sans-serif;
    color: #7B9FB6;
    background: #114C76 url('images/submit.jpg') no-repeat;
    border: 1px solid #2A759F;
    cursor: pointer;
}

/* main */

#main 
{
    vertical-align: top;
    border-width: 0;
    width: auto;
    /*padding: 30px 30px 15px 30px;*/
    background-color: #fff;
    margin-bottom: 30px;
    _height: 1px; /* only IE6 applies CSS properties starting with an underscore */
    
/*    
    min-width: 960px;
    width: 100%;
    min-width: 960px;
    padding: 12px 0;
    background: #FFFFFF;
    padding: 30px 30px 15px 30px;*/
    
}

#main2 {
    width: 908px;
    margin: 0 auto;
    padding: 25px 25px 0 25px;
    border: 1px solid #E0EBF2;
}

/* sidebar */

.sidebar {
    /*padding-bottom: 20px;*/
    background-color:White;
    
}


.sidebar .link a {
    padding-left: 20px;
    margin-bottom: 3px;
    font-size: 15px;
    font-weight: normal;
    line-height: 25px;
    color: #FFFFFF;
    
    background: #3476A7 url('images/h2.jpg') no-repeat;
    display:block;
    text-decoration:none;
    
}

.sidebar h2 {
    padding-left: 20px;
    margin-bottom: 3px;
    font-size: 15px;
    font-weight: normal;
    line-height: 25px;
    color: #FFFFFF;
    background: #3476A7 url('images/h2.jpg') no-repeat;
}

.sidebar .box {
    /*padding: 15px 20px 20px 20px;*/
    background: url('images/box.jpg') no-repeat top;
}

.sidebar p {
    text-align: left;
}

.sidebar ul {
    list-style: none;
    padding: 0px 0 0px 10px;
    background: url('images/box.jpg') no-repeat top;
    margin:0;
}

.sidebar ul li {
    padding: 3px 10px 0px 20px;
    border-bottom: 1px solid #E0EBF2;
}

.active 
{
    background: url('images/ok.gif') no-repeat  left;
    
}

/*
.sidebar ul li a:active
{
    background-color:Red;
    color:Red;
    
}*/


.sidebar ul li a {
    padding: 0;
}


/* content */

#content {
    float: right;
    width: 620px;
    padding-bottom: 5px;
}

#content .post {
    padding: 0 0 45px 0;
}

#content h2 {
    font-size: 2em;
    color: #3476A8;
}

#content h2 a {
    color: #3476A8;
    text-decoration: none;
}

p.postmeta {
    color: #888888;
}

#content .entry {
    padding: 10px 0 0 0;
}

.clearing {
    clear: both;
    height: 1px;
    overflow: hidden;
}

/* footer */

#footer {
    width: 960px;
    height: 70px;
    margin: 0 auto;
    padding-top: 10px;
}

#footer p {
    text-align: center;
    color: #FFFFFF;
}

#footer a {
    color: #AFD8E8;
}


/* Table  
----------------------------------------------------------*/

table 
{
  border: solid 1px #e8eef4;
  border-collapse: collapse;
  width:100%
}

table td 
{
  padding: 5px;   
  border: solid 1px #e8eef4;
}

table th
{
  padding: 6px 5px;
  text-align: left;
  background-color: #e8eef4; 
  border: solid 1px #e8eef4;  
}

table thead
{
  padding: 6px 5px;
  text-align: left;
  background-color: #e8eef4; 
  border: solid 1px #e8eef4;   
  
}

.pagebody 
{
    height:500px;
}



/* MISC  
----------------------------------------------------------*/
.clear
{
    clear: both;
}

.error
{
    color:Red;
}

#menucontainer
{
    vertical-align: top;
    border-width: 0;
    background-color: White;
    width: 240px;
}

div#title
{
    display:block;
    float:left;
    text-align:left;
}

#logindisplay
{
    font-size:1.1em;
    display:block;
    text-align:right;
    margin:10px;
    color:White;
}

#logindisplay a:link
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:visited
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:hover
{
    color: white;
    text-decoration: none;
}

.field-validation-error
{
    color: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

.display-label,
.editor-label,
.display-field,
.editor-field
{
    margin: 0.5em 0;
}

.text-box
{
    width: 30em;
}


.text-box.multi-line
{
    height: 6.5em;
}

.tri-state
{
    width: 6em;
}

.formfiltro
{
	padding:0px;
	overflow:hidden;
}

.formfiltro label 
{
	float:left;	
	margin-right:10px;
	height:3em;
	
	
} 

.formfiltro input, .formfiltro select, .formfiltro textarea 
{width:99%;} 

.basic-modal-content input, .formfiltro select, .formfiltro textarea 
{width:99%;} 

.ancho1 
{
	width:160px;
} 

.ancho2
{
	width:320px;
} 


.basic-modal-content button 
{float:left; margin-top:1em;}

.ancho1DatosInternacion
{
	width:160px;
} 

.ancho2DatosInternacion
{
	width:320px;
} 

.titulo
{
	font-weight: bold;
	display: table-row;
}

#internacionInfo
{
	display:table;
}

#internacionInfo div
{
	display:table-cell;	
}

#ListaInternaciones tr:hover
{
	background-color: #e8eef4;	
}

#ListaInternaciones tr:hover
{
	cursor:pointer;	
}

.menu
{
    list-style-type: none;
    padding: 10px;
}

.pagebody
{
    border-width: 0;
}

.display-field
{
    border: 1px solid #CCC;
    padding: 5px;
}

fieldset 
{
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #CCC;
    
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
}

.logOnButton 
{
display:block;
margin:0px auto;    
text-align:center;
width:100px;
}

.changePasswordButton 
{
display:block;
margin:0px auto;    
text-align:center;
width:200px;
}

.logOnContent 
{
    text-align:center;margin:0 auto 0 auto; width:100%; float:left;
}
.logOnSubContent 
{
    margin:0 auto 0 auto; width:490px; 
}

.logOnLabel 
{
    width:200px;    
    display:block;
    float:left;
    text-align:right;
}


.logOnTextBox 
{
    width:150px;    
    float:left;
}

label.reference {
    font-size: smaller;
}

a.disabled-link {
    pointer-events: none;
    cursor: default;
    color: grey;
}
    a.disabled-link img {
        opacity: 0.5;
    }