/**
 * comp.css
 * Estilos para los componentes
 */
a {cursor:pointer;}
/**
 * ##############################
 *        FORMULARIOS
 * @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 */

.compOculto {display:none;}
.compInputCommentedInactive {font-size:12px; font-style:italic; color:#c2c2c2;}
.compShadow { -moz-box-shadow: 0px 0px 6px 1px #666666; -webkit-box-shadow: 0px 0px 6px 1px #666666; box-shadow: 0px 0px 6px 1px #666666; }
/*
.compRoundAll{-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;}
.compRoundTop{-moz-border-radius-top:10px;-webkit-border-top-radius:10px;border-top-radius:10px;}
*/

/*le pongo sombra a los formularios*/
div.compForm, div.compVentana { -moz-box-shadow: 0 0 8px 1px #666666; -webkit-box-shadow: 0 0 8px 1px #666666; box-shadow: 0 0 8px 1px #666666; }

/*esquinas redondeadas
div.compForm{-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;}
*/
div.compForm, div.compVentana { padding-bottom: 10px; background-color: #f8f2bf;}
div.compForm {margin: 0px auto; width: 500px; }
div.compVentana {width:520px; margin-left:auto; margin-right:auto; padding-bottom:20px;}
div.compForm h3, div.compVentana h3 {padding: 4px; background-color: #f39f0c; border-bottom: 4px solid #f8c162; margin-bottom:10px; color: #f8f2bf; text-transform: uppercase; text-align: center; font-weight: bold; cursor: default;}
/*
div.compForm h3 {-moz-border-radius-topleft:10px;-webkit-border-top-left-radius:10px;border-top-left-radius:10px;-moz-border-radius-topright:10px;-webkit-border-top-right-radius:10px;border-top-right-radius:10px;}
*/
div.compForm fieldset, div.compVentana fieldset {margin: 10px; padding: 10px; border: 1px solid #f8c162;}
div.compForm legend {color: #c07d09;}
div.compForm label {display: block; clear: left; padding-top: 5px;}
div.compForm label span {display: block; padding-top: 3px; padding-right: 10px; margin-right: 4px; float: left; clear: left; width: 150px; text-align: right; color: #000;}
input, select, textarea {float: left; padding-top: 3px; padding-left: 2px; padding-bottom: 1px; border: 1px solid #fadd85; background-color: #fff; color: #464646;}
input:hover, select:hover, textarea:hover {border-color: #f39f0c;}
input:focus, select:focus, textarea:focus {color: #000; font-style: normal; border-color: #f39f0c #fadd85 #fadd85 #f39f0c; outline: none;}

/* cerrar formulario */
a.compCerrar {display: block; float: right; margin-top: -33px; margin-right: 7px; width: 13px; height: 13px; background: url('../img/pg_sup_cerrar.gif') no-repeat;}
a.compCerrar span {display: none;}
/* cerrar ventana */
a.compBtnCerrar {display: block; float: right; margin-top: 3px; margin-right: 7px; width: 13px; height: 13px; background: url('../img/pg_sup_cerrar.gif') no-repeat;}
a.compBtnCerrar span {display: none;}

/* campo fecha */
input.compFormFecha{float: left; margin-left: 0px !important; width: 60px; height: 13px; border-right: 0;}

/* campo moneda */
input.compFormMoneda, input.compFormMonedaDolar, input.compFormPorcentaje {padding-right: 2px; text-align: right; }
input.compFormMoneda {background: url('../img/comp_moneda.gif') #fff no-repeat !important;}
input.compFormPorcentaje {background: url('../img/comp_porcentaje.gif') #fff no-repeat !important;}
input.compFormMonedaDolar {background: url('../img/comp_moneda_dolar.gif') #fff no-repeat !important;}

/* campo checkbox */
label.compFormCheck input, input.compFormCheck {border: none; background: none; cursor: pointer;}

/* campos dobles */
label.compFormDbl {float: left; height: 18px;}
label.compFormDbl span {line-height: 8px;}
span.compFormDblInp {display: block; float: left; padding-left: 10px; padding-right: 10px; padding-top: 4px; height: 15px; line-height: 12px;}
input.compFormDblInp {float: left; margin-bottom: 6px; margin-left: 0px !important; width: 100px; height: 15px;}

/* lista de checkbox */
label.compFormFieldsTit{margin-bottom: 0 !important;}
div.compFormFields {float: left; margin-bottom: 5px; padding: 3px; width: 200px; height: 110px; background-color: #fff; border: 1px solid #fadd85; overflow: auto;}
div.compFormFields label {margin-bottom: 0px !important; padding-top: 1px; height: 19px; border: 1px solid #fff;}
div.compFormFields label:hover {border: 1px solid #f39f0c;}
div.compFormFields input {float: left; margin: 3px; clear: left; height: 15px; cursor: pointer;}
div.compFormFields em { display: block; float: left; margin-top: 3px; height: 15px;}
div.compFormFields a {display: block; float: right; margin-top: -18px;}
label.compFormFieldsHijo {padding-left: 15px; background: url('../img/comp_form_fields_arbol.gif') no-repeat;}
label.compFormFieldsNieto {padding-left: 30px; background: url('../img/comp_form_fields_arbol.gif') 15px 0px no-repeat;}

/* multiple con b�squeda */
a.compFormMultiAgregar {display: block; float: left; margin-top: 2px; margin-left: 4px; width: 18px; height: 18px; background: url('../img/ico_mas.gif') no-repeat;}
a.compFormMultiAgregarDescendente {display: block; float: left; margin-top: 2px; margin-left: 4px; width: 18px; height: 18px; background: url('../img/ico_mas.gif') no-repeat;}
div.compFormMultiCont {width: 240px; height: 120px; background-color: #fff; border: 1px solid #fadd85; overflow: scroll;}
div.compFormMultiCont:hover {border-color: #f39f0c;}
div.compFormMultiCont li {padding: 4px; border-bottom: 1px solid #ddd;}
div.compFormMultiCont li:hover {background-color: #eee;}
div.compFormMultiCont li a {display: block; float: right; width: 13px; height: 13px; background: url('../img/ico_cruz.gif') no-repeat bottom;}
div.compFormMultiCont li a span, a.compFormMultiAgregar span, a.compFormMultiAgregarDescendente span {display: none !important;}

/* campos obligatorios */
.compFormOblig {background-color: #fef0dd !important; border-color: #fcc;}
input.compFormObligForce, select.compFormObligForce, textarea.compFormObligForce {border: 1px solid #f1aba5 !important;}
label.compFormObligForceLabel {height: 18px; background: url('../img/comp_label_oblig.gif') no-repeat 125px 6px !important;}

label.compFormBtn {clear: both !important; display: block; margin-left:360px; padding: 0 !important; width: 100px; height: 22px; background-image: url('../img/comp_btn_continuar.gif'); background-repeat: no-repeat; background-position: right; cursor: pointer;}
label.compFormBtn input {float: right !important; padding: 0 !important; margin-right: 23px; width: 75px; height: 22px; background: url('../img/comp_btn_fnd.gif') transparent no-repeat !important; border: none !important; color: #fff !important; font-weight: bold; cursor: pointer;}
label.compFormBtn:hover input {color: #eeffaa !important;}
label.compFormBorrar {background: url('../img/comp_btn_borrar.gif') no-repeat right;}
.bajarCotizacion{float: left !important; padding: 0 !important; width: 185px; height: 22px; background: orange; border: none !important; color: #fff !important; font-weight: bold; cursor: pointer;}
#formCotiz label{clear: none!important;}


/* autocompletar */
.ac_results {padding: 0px; border: 1px solid #f39f0c; background-color: white; overflow-y: scroll; overflow-x: hidden; z-index: 99999;}
.ac_results ul {width: 100%; list-style-position: outside; list-style: none; padding: 0; margin: 0;}
.ac_results li {margin: 0px; padding: 2px 5px; cursor: default; display: block; font: menu; font-size: 10px; color: #333; line-height: 16px; overflow: hidden;}
/*.ac_loading {background: white url('../img/comp_ac.gif') right center no-repeat;}*/
.ac_odd {background-color: #eee;}
.ac_over {background-color: #f39f0c; color: #fff !important;}

/* formulario escondido */
div.compFormOculto {display: none; width: 240px;}
div.compFormOculto label.compFormBtn {margin-left: 100px; background-image: url('../img/comp_btn_filtro.gif');}
a.compFormMostrar {display: block; float: right; padding-top: 15px; padding-right: 15px; margin-top: -12px; background: url('../img/ico_filtro.gif') no-repeat right bottom;}
div.compTablaMuestra table {width: 720px;}
div.compTablaMuestra tbody strong {font-weight: bold; color: #666; font-size: 12px;}

/**
 * ##############################
 *            TABLAS
 * @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 */
div.compTabla>table {margin: 0px auto; min-width:85%;}
div.compTabla>table>thead th {padding: 4px; background-color: #f39f0c; border-bottom: 4px solid #f8c162; color: #f8f2bf; text-transform: uppercase; text-align: center; font-weight: bold; cursor: default;}
div.compTabla>table>tbody>tr>th {padding: 3px; padding-left: 1px; padding-right: 1px; text-align: center; color: #F8F2BF;}
div.compTabla>table>tbody>tr>th { border-top: 1px solid #f8c162; background: #f8c162; font-weight:bolder;}
div.compTabla>table>tbody>tr { border-right: 1px solid #f8c162; border-left: 1px solid #f8c162;}
div.compTabla>table>tbody>tr>td {padding: 3px; background-color: #fff; color: #464646; border-bottom: 1px solid #f8c162;}
div.compTabla>table>tbody>tr:hover td {color: #000;}
div.compTabla>table>tfoot>tr>td {padding: 2px; padding-right: 5px; background-color: #f8f2bf; font-size: 9px; text-align: right; color: #878787;}

.compTablaAcc{padding-bottom:5px; padding-top:5px;}
tbody td.compTablaAcc a {display: block; float: right; padding-left: 1px; padding-right: 1px; width: 14px; height: 14px;}
div.compTabla tbody tr:hover td.compTablaAcc a {background-position: 0px -1px;}
td.compTablaAcc span {display: none;}
a.compTablaAccnuevo {background: url('../img/comp_tabla_nuevo.gif') no-repeat 0px -16px;}
a.compTablaver, a.compTablaVer {background: url('../img/comp_tabla_ver.gif') no-repeat 0px -16px;}
a.compTablaver_disabled {background: url('../img/comp_tabla_ver_disabled.gif') no-repeat 0px 0px;}
a.compTablacopiar, a.compTablaCopiar {background: url('../img/comp_tabla_copiar.gif') no-repeat 0px -16px;}
a.pgAsLineaCopiado {background-position: 0 -31px !important;}
a.compTablaeditar {background: url('../img/comp_tabla_editar.gif') no-repeat 0px -16px;}
a.compTablaborrar {background: url('../img/comp_tabla_eliminar.gif') no-repeat 0px -16px;}
a.compTablaguardar {background: url('../img/comp_tabla_guardar.gif') no-repeat 0px -17px;}
a.compTablareemplazar {background: url('../img/comp_tabla_reemplazar.gif') no-repeat 0px -16px;}
a.compTablaLinea {background: url('../img/comp_tabla_linea.gif') no-repeat 0px -16px;}

/* acciones en la cabecera */
thead td.compTablaAcc a {display: block; float: right; margin-bottom: 2px; margin-left: 1px; height: 20px;}
a.compTablanuevo {width: 65px; background: url('../img/comp_btn_nuevo_gr.gif') no-repeat;}
a.compTablaexportar {width: 24px; background: url('../img/comp_btn_exportar.gif') no-repeat;}

/* cuadro de exportar */
#compTablaExport {position: absolute; margin-left: 80px; margin-top: -1px; width: 130px; height: 55px; background-color: #f8f2bf; border: 1px solid #f39f0c;}
#compTablaExportCerrar {padding-top: 0px; padding-right: 4px; height: 12px;}
#compTablaExport h4 {margin-top: 5px; text-align: center; font-weight: bold;}
#compTablaExport select {float: left; margin-top: 5px; margin-left: 5px;}

/* columnas especiales */
td.compTablaCentro {text-align: center;}
td.compTablaDer {text-align: right;}
tr.compTablaInv, th.compTablaInv, td.compTablaInv {display: none;}
tr.compTablaTotal td {background-color: #f9f9f9; text-align: right; font-weight: bold;}
tr.compTablaDest td {background-color: #f9fff0; font-weight: bold;}

/* filas ocultas */
a.compTablaMostrar {display: block; padding-left: 14px; width: 11px; height: 11px; background: url('../img/ico_mas_ch.gif') no-repeat;}
a.compTablaOcultar {background: url('../img/ico_menos_ch.gif') no-repeat !important;}
tr.compTablaOculto {display: none;}
tr.compTablaBorrado td { background-color: #dddddd !important;}

/* paginador */
div.compTabla ul {float: right;}
div.compTabla li {float: left; margin-left: 2px;}
div.compTabla li a, div.compTabla li span {display: block; padding-top: 2px; height: 15px;}
div.compTabla li a {width: 20px; background-color: #668000; border: 1px solid #425300; text-align: center; color: #fff;}
div.compTabla li a:hover {background-color: #88aa00;}
div.compTabla li span{line-height: 5px; font-weight: bold;}
li.compTablaNavSel span {background-color: #c07d09 !important;  font-weight: bold; color: #fff !important;}
#compTablaNavPag span {float: left; width: 42px; border: none; background: none;}
#compTablaNavPag input {padding-left: 4px; border-left: 1px solid #999;  border-top: 1px solid #999; width: 30px; text-align: right;}

/* filtro */
div.compTablaFiltro {float: left;}
div.compTablaFiltro input, div.compTablaFiltro select {margin-top: 2px;}
input.compTablaFiltroTxt {float: left; margin-left: 2px;}
input.compTablaFiltroBtn {float: left; margin-left: 3px; margin-top: 1px !important; width: 25px; height: 20px; background: url('../img/comp_btn_filtrar.gif') no-repeat; border: none; cursor: pointer;}
div.compTablaFiltro a {float: left; display: block; width: 15px; height: 20px; background: url('../img/ico_cruz.gif') no-repeat 2px 5px;}
div.compTablaFiltro a span {display: none;}

/**
 * Bot�n de mostrar / ocultar
 */
a.compFormExpandir {position: absolute; margin-left: 445px; margin-top: -24px; display: block; width: 14px; height: 15px; background: url('../img/comp_form_ampliar.gif') no-repeat;}
a.compFormContraer {background-position: 0px -15px;}
a.compFormExpandir span {display: none;}


/**
 * ##############################
 *        CALENDARIO
 * ##############################
 */
table.jCalendar {background-color: #f7f7f7; border-spacing: 2px;}
table.jCalendar th {padding: 3px 5px; background-color: #f8f2bf; color: #c07d09; font-weight: bold; text-align: center;}
table.jCalendar td {padding: 3px 5px; background-color: #f7f7f7; color: #668000; text-align: center;}
table.jCalendar td.other-month {background-color: #ddd; color: #aaa;}
table.jCalendar td.today {background-color: #666; color: #fff;}
table.jCalendar td.selected {background-color: #f66; color: #fff;}
table.jCalendar td.selected:hover {background-color: #f33; color: #fff;}
table.jCalendar td:hover, table.jCalendar td.dp-hover {background-color: #fff; color: #000;}
table.jCalendar td.disabled, table.jCalendar td.disabled:hover {background-color: #bbb; color: #888;}

/* For the popup */
div.dp-popup {position: relative; padding: 2px; background-color: #f39f0c; border: 1px solid #fadd85; font-size: 10px; line-height: 1.2em; text-transform: uppercase;}
div#dp-popup {position: absolute; z-index: 199;}
div.dp-popup h2 {margin: 2px 0; padding: 0; background-color: #f39f0c; color: #f8f2bf; font-size: 12px; text-align: center;}
a#dp-close {display: block; padding: 4px 0; font-size: 11px; text-align: center;}
a#dp-close:hover {text-decoration: underline;}
a.dp-choose-date {display: block; float: left; margin-bottom: 6px; width: 19px; height: 19px;  background: url('../img/comp_fecha.gif') #fff no-repeat;}
a.dp-choose-date span {display: none !important;}
div.dp-popup a {padding: 3px 2px 0; text-decoration: none; color: #000;}
div.dp-popup div.dp-nav-prev {position: absolute; top: 2px; left: 4px; width: 100px;}
div.dp-popup div.dp-nav-prev a {float: left; margin-top: -2px; font-weight: bold;}
div.dp-popup div.dp-nav-prev a, div.dp-popup div.dp-nav-next a {cursor: pointer;}
div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {cursor: default;}
div.dp-popup div.dp-nav-next {position: absolute; top: 2px; right: 4px; width: 100px;}
div.dp-popup div.dp-nav-next a {float: right; margin-top: -2px; font-weight: bold;}
div.dp-popup a.disabled {cursor: default; color: #aaa;}
div.dp-popup td {cursor: pointer;}
div.dp-popup td.disabled {cursor: default;}

/*inputs*/
input[readonly="readonly"]{background-color:#eaeaea;}
/*inputs que al estar vacios sugieren algo*/
input.compCommentedInputEmpty {font-style:italic; color:#afafaf;}

