@media print{
    .botonImpresion{
        display: none;
    }
    th{
        page-break-before: always;
    }
    p.page_break{
        page-break-before: always;
    }
}

body{
    background-color:#FFFFFF;
    color: #1f3117;
    text-align: center;
	padding: 0px;
	margin: 0px;
}

/* INICIA VENTANA IMPRESION */ 
#printWindow{
    color: #1f3117;
    background-color: #ffffff;
    font-family:Arial,Sans-serif;
    font-size: 12pt;
    text-align: left;
    z-index: 700;
}

/* INICIA VENTANA EMERGENTE */
#popupBackground{
    position: absolute;
    z-index: 500;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

#popupWindow{
    top: 170px;
    padding: 20px;
    position: relative;
    z-index: 510;
    background-color: #333333;
    padding: 10px;
    margin: auto;
    width: 600px;
    height:100%;
    text-align: left;
}

#popupTitleBar{
    background-color: #999999;
    width:100%;
    height:25px;
    padding: 2px, 8px;
}

#popupContent{
    background-color:#CCCCCC;
    padding: 8px;
}
#popupTitle{
    color: white;
    font-weight: bold;
    float:left;
    padding:3px
}
#popupClose{
    color: white;
    font-weight: bold;
    float:right;
    padding:3px
}
#popupClose a{
    color: white;
    text-decoration:none;
}
/* TERMINA VENTANA EMERGENTE */
/* INICIA VENTANA EMERGENTE */
#previewBackground{
    position: absolute;
    z-index: 600;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

#previewWindow{
    top: 170px;
    padding: 20px;
    position: relative;
    z-index: 610;
    background-color: #333333;
    padding: 10px;
    margin: auto;
    width: 600px;
    height:100%;
    text-align: left;
}

#previewTitleBar{
    background-color: #999999;
    width:100%;
    height:25px;
    padding: 2px, 8px;
}

#previewContent{
    background-color:#CCCCCC;
    padding: 8px;
}
#previewTitle{
    color: white;
    font-weight: bold;
    float:left;
    padding:3px
}
#previewClose{
    color: white;
    font-weight: bold;
    float:right;
    padding:3px
}
#previewClose a{
    color: white;
    text-decoration:none;
}
/* TERMINA VENTANA PREVIA */

#loading{
    background-color: white;
    background-image: url('../img/loading.gif');
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    filter: Alpha(Opacity=50);
    /*background: rgba(255, 255, 255, 0.5);*/
    z-index: 1000;
}

#page{
    width: 950px;
    margin: 0px auto;
    color: #1f3117;
    background-color: #ffffff;
    font-family:Arial,Sans-serif;
    font-size: 12pt; 
    text-align: left;
}

#header{
    background-color:#ffffff;
    width: 100%;
    height: 40px;
    margin: 0;
    padding:0;
}
#header h1{
    font-size:24pt;
    text-align:center;
}
#subheader{
    height: 15px;
    margin: 0;
    padding:0;
}
#subheader a,
#subheader a:link,
#subheader a:hover,
#subheader a:visited{
    font-size: 10pt;
    text-decoration: none;
    color:#8e366ai;
    padding:  0px 10px;
}

/* menu */
#menu{
    background-color:#d4bbcb;
    margin:0 0px;
    padding: 0;
    width: 100%;
    height: 28px;
}
#menu ul li{
    margin: 2px  0 0 0;
    background-color: #8e366a;
    color:#ffffff;
    font-size: 16pt;
    list-style:none;
    display: block;
    float: left;
    width: 150px;
    height: 26px;
    text-align: center;
}
#menu ul li.selected{
    background-color: #995377;
}

#menu ul li a{
    color:#ffffff;
    font-size: 16pt;
    text-decoration: none;
}


/* submenu */
#submenu{
    font-size: 11pt;
    background-color:#d4bbcb;
    margin:0px;
    padding: 0px;
    width: 200px;
    height: 400px;
    float:left;
}

#submenu ul{
    margin:0px;
    padding:15px;
}
#submenu ul li{
    white-space: pre-line;
    padding: 5px 0;
    list-style:none;
    white-space:normal ;
}
#submenu ul li a{
    color:#1f3117;
    text-decoration:none;
    font-weight:bold;
    padding: 0px;
    white-space:normal ;
}
#submenu ul li.selected{
    list-style:circle;    
    font-weight:bold;
    white-space:normal ;
}


#content{
    margin:15px 0 0 0;
    padding-left:15px;
    min-height: 400px;
    width: 700px;
    float:left;
}

#content .title{
    margin: 15px 0px;
    font-size:16pt;
    font-weight:bold;
}

div.error{
    color: #880000;
}

div.non{
    background-color: #CCCCCC;
}

div.par{
    background-color: #F6F6F6;
}


div.title{
    margin: 20px 0 0 0;
    padding: 0;
    font-size:12pt;
    clear: both;
    width: 100%;
    font-weight:bold;
}

div.form div.row{
    margin: 0;
    padding:0;
    clear: both;
    width: 100%;
}

div.form div.salto{
    clear: both;
    height: 25px;
}

div.form div.title{
    margin: 20px 0 0 0;
    padding: 0;
    font-size:12pt;
    clear: both;
    width: 100%;
    font-weight:bold;
}

div.form div.error{
    color: #880000;
    font-size:12pt;
    clear: both;
    list-style: circle;
    width: 100%;
}

div.form span.mark{
    color: #880000;
    font-size:12pt;
    font-weight: bold;
}



div.form div.row div.label{
    margin: 8px 0 0 0;
    padding: 0;
    white-space: nowrap;
    float: left;
    width:40%;
}

div.form div.row div.label .error{
    margin: 8px 0 0 0;
    padding: 0;
    color:red;
}

div.form div.row div.field{
    margin: 8px 0 0 0;
    padding: 0;
    float: left;
    width:60%;
}

div.form div.row div.control{
    margin: 8px 0 0 0;
    padding: 0;
    float: right;
}

div.form div.row div.control_center{
    margin: 8px auto 0 auto;
    padding: 0;
    text-align: center;
    float: left;
}

#footer{
    padding-top:10px;
    width: 100%;
    height: 75px;
    clear: both;
    font-size: 8pt;
    text-align:center;
}

/* INICIA TABLAS DE RESULTADOS */
table.result_table {
    border:black solid 2px;
    border-collapse:collapse;
    width:700px;
}

table.result_table tr.non{
    background-color: #CCCCCC;
}

table.result_table tr.par{
    background-color: #F6F6F6;
}

table.result_table td{
    font-size: 11pt;
}

table.result_table th.width_0{
    width: 20px;
}
table.result_table th.width_1{
    width: 30px;
}
table.result_table th.width_2{
    width: 100px;
}
table.result_table th.width_3{
    width: 150px;
}
table.result_table th.width_4{
    width: 300px;
}

table.result_table td div.accion{
    white-space: nowrap;
    float: left;
    padding: 4px 10px;
}

table.result_table td div.accion a{
    padding: 2px 5px;
    color: #006AA9;
    text-decoration: none;
    clear: both;
}

table.result_table td div.siguiente a{
    color: #008800;
}

table.result_table td div.anterior a{
    color: #880000;
}

table.result_table th{
    font-size: 13pt;
    font-weight:bold;
    border:black solid 2px;
    background-color: #efe3eb;

}

table.result_table caption{
    height: 25px;
}

table.result_table caption div.page{
    height: 15px;
    width: 69%;
    float: left;
}

table.result_table caption div.navigation{
    height: 15px;
    width: 14%;
    float: left;
}

div.caption{
    height: 25px;
}
div.caption div.page{
    height: 15px;
    width: 69%;
    float: left;
}

div.caption div.navigation{
    height: 15px;
    width: 14%;
    float: left;
}

.smallfont{
    font-family: Arial, sans-serif;
    font-size: 10pt;
}

.large_text{
    vertical-align: top;
    font-family: Arial, sans-serif;
    font-size: 10pt;
}

#listaUsuarios div.itemusuario a{
    color: #1f3117;
    font-family: Arial, sans-serif;
    font-size: 10pt;
}
#listaUsuarios div.itemusuarioselected a{
    color: #1f3117;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    font-weight: bold;
}


fieldset{
    border: solid black 2px;
}

table.FloatTable{
    border-collapse: collapse;
    background-color: cfd2b2;
}

table.FloatTable caption{
    background-color: #1f3117;
    color:#cfd2b2;

}

table.FloatTable, table.FloatTable th, table.FloatTable td{
    color:#1f3117;
    font-family: Arial, sans-serif;
    font-size: 12px;
    border: solid black 2px;
    vertical-align: top;
    text-align: left;
}
/* TOOL TIP */
.hasTooltip {
    position:relative;
}
.hasTooltip:hover {
    background-color: #999999;
}
.hasTooltip span {
    display:none;
    z-index: 1000;
}

.hasTooltip:hover span {
    display:block;
    background-color:#FFFFE1;
    border-radius:5px;
    color:black;
    box-shadow:1px 1px 3px gray;
    position:absolute;
    padding:5px;
    top:1.3em;
    left:0px;
    max-width:200px; /* I don't want the width to be too large... */
}
