body {
  margin: 0px 0 20px 0;
  padding: 0px;
  background: #D7D7BD;
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #3C3C37; }

/** Style for menu starts here */

#menu {
  float:left;
  width: 100%;
  background:#E1B715; /* color naranja de la unam*/
  font-size: 93%;
  line-height: normal;
  border-bottom:3px solid #666; }

#menu ul {
margin:0;
padding:5px 5px 0 50px;
list-style:none; 
}

#menu li {
display:inline; 
margin:0; 
padding:0;
}
#menu a {
float:left;
background: url(../img/left.gif) no-repeat left top;
margin:0; 
padding:0 0 0 4px; 
text-decoration:none; 

}
#menu a span {
float:left; 
display:block; 
background:url(../img/right.gif) no-repeat right top;
padding:5px 15px 4px 6px;
color:#666;

}
#menu a span {float:none;}

#menu a:hover span {
color:#FFF;
}
#menu a:hover {
background-position:0% -42px;
}
#menu a:hover span {
background-position:100% -42px;

}

/*#menu a{
    display: block;
    float: left;
    padding: 6px 3px 3px 20px;
    text-decoration: none;
    color: #FFFFFF;
}

#menu a:hover {
    color: #D7D7BD;
    color: #00AAFF;

    color: #ebe96b;
}*/

/** Style for wrapper starts here */
#wrapper {
  background: #D7D7BD;
  padding-bottom: 10px;
  width: 1024px; position: relative; margin-left: auto; margin-right: auto; }

#pie{

    width: 977px;
    height: 30px;
    padding: 5px;
    background: #cacaca;
    text-align: center;
    font-weight: bold;
    margin-top: 50px;
    position:absolute; bottom:30px;
}

.clear{
    width: 1024px;
    clear: both;
}

#contenedor .division{
    width: 290px;
    height: auto;
    float: left;
    background: #eee;
    padding: 8px;
    margin:5px;
    position:relative;
    border-top: 1px solid #222244;
    border-left: 1px solid #222244;
    border-right: 1px solid #222244;
    border-bottom:1px solid #222244; }

#contenedor .division_diplo{
    width: 620px;
    height: auto;
    float: left;
    background: #eee;
    padding: 8px;
    margin:5px;
    position:relative;
    
    border-top: 1px solid #222244;
    border-left: 1px solid #222244;
    border-right: 1px solid #222244;
    border-bottom:1px solid #222244; }

#contenedor .division4{
    width: 290px;
    height: 280px;
    float: left;
    background: #eee;
    padding: 8px;
    margin:5px;
    position:relative;
    overflow: auto;
    border: 1px solid #000000; }

#contenedor .divisio_n{
    width: 290px;
    height: 90px;
    float: left;
    background: #eee;
    padding: 8px;
    margin:5px;
    position:relative;    
}

#contenedor .division2{
  width: 632px;
  float: right;
  background: #eee;
  padding: 8px;
  margin: 5px;
  text-indent: 0px;
  border-top: 1px solid #222244;
  border-left: 1px solid #222244;
  border-right: 1px solid #222244;
  border-bottom: 1px solid #222244;
}
#contenido .division3{
    width: 980px;
    float: left;
    background: #eee;
    padding: 4px;
    margin: 0px;
    text-indent: 4px;
    overflow: auto;
    position: relative; margin-left: auto; margin-right: auto;
    border-top: 2px solid #ccc;
    border-left: 2px solid #ccc;
    border-right: 2px solid #000;
    border-bottom:2px solid #000;
}

.division h4, .division3 h4,.division2 h4, .division_diplo h4 {
    color:#000022;
    font-weight:normal;
    margin-bottom:10px;
    margin-top: 10px;
    line-height:normal;
    padding:5px;
    text-align:center;
    background-color: #FFBE31;
    border-top: 1px solid #000022;
    border-left: 1px solid #000022;
    border-right: 1px solid #000022;
    border-bottom:1px solid #000022; }




.division table, .division2 table, .division3 table {
    margin: auto;
    font-family:inherit;
    font-weight:400;
    font: 1.1em/100% helvetica,arial,verdana;
    border:none;
    padding: 0px;
    margin:0px;        
    border-collapse:collapse;
    azimuth:center;
}

.division3 table h1,.division4 table hd hr {
    margin: 0px;
    font-family:inherit;
    font-weight:200;
    font: .9em/100% helvetica,arial,verdana;
    border:none;
    border-collapse: collapse;
    padding: 0px;

}



/*Fin de estilo de la plantilla*/
.registro{
    padding:10px 20px;
    background:#eee;
    border-top:1px solid #ccc;
    width:946px;    
    /*font: 0.8em/100% helvetica,arial,verdana;*/
    font-family: helvetica,arial,verdana;
    font-size: 11px;
    overflow: auto;
    border-top: 2px solid #ccc;
    border-left: 2px solid #ccc;
    border-right: 2px solid #000;
    border-bottom:2px solid #000;
}


.registro1{
    padding:10px 20px;
    background:#eee;
    border-top:1px solid #ccc;
    width:250px;
    /*font: 0.7em/70% helvetica,arial,verdana;*/
    font: 0.9em/100% helvetica,arial,verdana;
    overflow: auto;
}

.registro11{
    padding:10px 20px;
    background:#eee;
    border-top:1px solid #ccc;
    width:302px;
    /*font: 0.7em/70% helvetica,arial,verdana;*/
    font: 0.9em/100% helvetica,arial,verdana;
    overflow: auto;
}


.registro1, table{
    font: 0.9em/100% helvetica,arial,verdana;
    overflow: auto;

}


h4.registrosTitulo{
    font: 0.8em/120% helvetica,arial,verdana;
    font-weight:bold;
    background:#333 url(../img/llsh.gif) repeat-x;
    color:#fff;
    border-top: 2px solid #ccc;
    border-left: 2px solid #ccc;
    border-right: 2px solid #000;
    border-bottom:2px solid #000;
    width:400px;
    padding:3px 20px;
    margin-top: 15px;
    margin-bottom:0px;
    letter-spacing:2px;
}

h4.registrosTitul_o{
    font: 0.9em/120% helvetica,arial,verdana;
    font-weight:bold;
    /*background:#333 url(../img/llsh.gif) repeat-x;*/
    background-color: #E1B715;
    color:#fff;
    border:1px solid #ccc;
    border-bottom:0px;
    width:280px;
    padding:1px ;    
    letter-spacing:2px;
}
.registroNombre{
    width: 590px;
    float: left;
}

/*enlaces de las acciones que se pueden hacer con cada registro  */
.acciones{
    display:block;
    width:300px;
    float:right;
    font-size:12px;
}

.acciones a:link, a:visited {
    text-decoration: none;
    padding:5px;
    color:#003399;
}

.acciones a:hover {
    color:#0099FF;
}

.cargando{
    background: url(../img/ajax.gif) no-repeat;
    width:16px;
    height:11px;
    float:right;
}

/*Capas desplegables de cada uno de los registros*/
.desplegable{
    font-family:helvetica,arial,verdana;
    /*font-size:0.8em/100%;*/
    font-size:11px;
    padding:0px 20px 10px;
    background:#eeF;
    border:1px solid #ccc;
    border-top:2px solid #ccc;
    border-bottom:2px solid #ccc;
    overflow: auto;
    width:800px;
    /*height:300px;*/
    margin:0 50px 4px 50px;
    /*line-height:25px;*/

}

.desplegable h5{
    color:#0033FF;
    text-transform:uppercase;
    font-weight: normal;
    border-bottom: 1px #0033FF solid;
    margin-bottom:10px;
    letter-spacing:8px;
    line-height:normal;
}

.desplegable label{
    /*display: inline-table;*/
    /*padding: 5px 0px;*/
    /*padding-left: 20px;*/
    color: #0033FF;/*#009999;*/
    /*line-height: 1.4em;    */
    /*font-weight: 700;    */
    letter-spacing: 2px;
    /*font-family: sans-serif;*/
    /*font-size: 12px;*/
    FONT-SIZE: 11px;
    /*font-weight:bold;*/
    display:block;
}

.desplegable div{
    width:240px;
    float:left;
    /*background:aqua;*/
    margin-right:10px;
    margin-top:5px;
    padding-left:10px;
    border-left:1px dashed #0033FF;

}

.desplegable div p{
    margin:0;
    margin-bottom:5px;
}

input[type=text], input[type=password]{
    FONT-WEIGHT: normal;
    FONT-SIZE: 11px;
    COLOR: #000000;
    FONT-STYLE: normal;
/*    border:1px solid #DDBBFF;*/
    BORDER-TOP-STYLE: groove;
    BORDER-RIGHT-STYLE: ridge;
    BORDER-LEFT-STYLE: groove;
    BACKGROUND-COLOR: #FFF;
    BORDER-BOTTOM-STYLE: ridge;
}

.error{
    background: #f8dbdb;
    border-color: #e77776;
}

.usuario{
    padding-left: 10px;
    background: #eee;
    float: right;
    height: 28px;
    margin: 0px -2px 0px 8px;
    padding: 2px;
    font-family: arial;
    font-size: 13px;
    border-top: 2px solid #ccc;
    border-left: 2px solid #ccc;
    border-right: 2px solid #000;
    border-bottom:2px solid #000;
    

}


.usuario a {
    color:red;
    font-size: 12px;
    font-family: arial;


}

.msjError{
    color: red;
    font-size: 11px;
    padding: 5px;
    border: 1px solid #FF8080;
    background-color: #FFE6E6;
}
