/*
    Document   : styles
    Created on : 17-feb-2010, 16:38:58
    Author     : David Cózar <david.cozar@webfg.com>
    Description: Estilos. Expansion Flash chart
*/

body
{
    font-family:Verdana,Arial,Helvetica,sans-serif;
    font-style: normal;
    font-size: 13px;
    margin:auto;
    width:100%;
    color: #222222;
	text-shadow:1px 1px 1px #DADDE8;
    font-style: normal;
	background: url("../images/background.jpg") repeat-x scroll left top #CDD1D4;
 
    SCROLLBAR-SHADOW-COLOR: #403d38;
    SCROLLBAR-3DLIGHT-COLOR: #e1e1e1;
    SCROLLBAR-DARKSHADOW-COLOR: #ffffff;
    SCROLLBAR-ARROW-COLOR: #47423E;
    SCROLLBAR-HIGHLIGHT-COLOR: #403d38;
    SCROLLBAR-FACE-COLOR:#ffffff;
    SCROLLBAR-TRACK-COLOR: #C5C1BA;

}

div, ul, li, ol, img, p, span,
table, input, dl, dt, form, select
{
    margin:0px;
    padding:0px;
}

a:active, a:visited, a:link
{ font-style: normal; color: #ececec; text-decoration: none;}
a:hover{color: #a2b9d0;}

.clear
{
    clear:both;
}

.hand
{
    cursor:pointer;
}

.border0
{
    border: 0 !important;
}

.borderRightLeft
{
    border-right: 1px solid #555555;
    border-left: 1px solid #555555;
}

.boton
{
    background: url(../images/info.png) no-repeat scroll center center;
    text-align: center;
    color:white;
    height: 25px;
    width: 50px;
    cursor: pointer;
    border:0;
}

.masInfo
{
    cursor: pointer;
    vertical-align: bottom;
}

.boton:hover
{
    color:black;
}

/* Capa principal */
.mainContent
{
    width:990px;
    height: 668px;
    margin: 5px auto;
    padding:4px;
    background-color: #ffffff;
    border: 2px solid #555555;
}

/* Capa Buscador*/
#buscador
{
    float:left;
    width:27%;
    border: 1px solid #ffffff;
    height: 54px;
    _height: 55px;
    padding-top:6px;
    padding-left:6px;
    padding-right:2px;

}

#btn_buscar
{
    background: #0086B2;
	background-image: -moz-linear-gradient(top, #66B4D1, #0086B2); /* FF3.6 */
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #66B4D1), color-stop(1, #0086B2)); /* Saf4+, Chrome */
    background-repeat: repeat-x;
    border: 0 none;
    color: #FFFFFF;
    float: left;
    font: 11px/16px Arial,Helvetica,sans-serif;
    height: 27px;
    _height: 30px;
    margin: 0;
    padding: 0;
    vertical-align: top;
    width: 64px;
	cursor: pointer;
	font-weight: 700;
}
#btn_buscar:hover
{
	background: #66B4D1;
	background-image: -moz-linear-gradient(top, #0086B2, #66B4D1); /* FF3.6 */
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #0086B2), color-stop(1, #66B4D1)); /* Saf4+, Chrome */
}

.formTextBox
{
    width:135px;
    border: 0;
    background:transparent none repeat scroll 0 0;
    color:black;
    border:0;
	margin: 2px 0 0;
	padding: 4px;
}

.formImagenLupa
{
	padding-left: 8px;
	border: 0;
	cursor: default;
	vertical-align: -4px;
	_vertical-align: 0;
	*vertical-align: 0;
}

.formField
{
	float:left;
    height: 25px;
    width: 179px;
    _width: 177px;
	border:1px groove #999999;
/*	background: url("../images/lupa.png") no-repeat scroll 7px 5px transparent;*/
	height: 25px;
}

.formSelect
{
    width:245px;
    overflow:auto;
    color:#48433d;
    border:1px groove #999999;
}

.formSelect option
{
    background:#ffffff;
}

.reload
{
    cursor: pointer;
    vertical-align: middle;
}

/* resultados del buscador */
#results_layer
{
    width: 27%;
    padding-top:6px;
    padding-left:6px;
    padding-right:2px;
    float: left;
    border-bottom: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    height: 584px;
    border-top: 1px solid #555;
}

.odd {background-color: #fff;}
.even {background-color: #DDDDDD;}
.selected{background-color: #A7B4CD !important; text-shadow:1px 1px 1px #8A9DC1;}
.rojo{color:#CE0000}
.verde{color:#007DBB}

.buscador_results tr:hover
{
/*    background-color:#ccefcd;*/
}

.buscador_results tr td
{
	padding: 6px 2px;
    vertical-align: top;
}

.buscador_results
{
    text-align:left;
    font-size:10px;
    width:99%;
    /* IE only */
    #width:92.5%;
    /*_width:258px;*/
    border-collapse:collapse;
    margin-left:1px;
    margin-top:1px;
}

.buscador_head
{
    font-size:10px;
    margin-top:2px;
    text-align:left;
    color:#ffffff;
	margin-bottom: 1px;
	width: 100%;
	text-shadow:1px 1px 1px #474747;
}
.buscador_head tr th
{
    white-space: nowrap;
    height: 24px
}
.buscador_head tr th:last-child
{
	border-right: medium none;
}

.roundCorner
{
    -moz-border-radius-bottomleft:2px;
    -moz-border-radius-bottomright:2px;
    -moz-border-radius-topleft:2px;
    -moz-border-radius-topright:2px;
    -webkit-border-radius-bottomleft:2px;
    -webkit-border-radius-bottomright:2px;
    -webkit-border-radius-topleft:2px;
    -webkit-border-radius-topright:2px;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	border-bottom-right-radius: 2px;
	border-bottom-left-radius: 2px;
}

.roundLeft
{
    -moz-border-radius-bottomleft:2px;
    -moz-border-radius-topleft:2px;
    -webkit-border-radius-bottomleft:2px;
    -webkit-border-radius-topleft:2px;
	border-top-left-radius: 2px;
	border-bottom-left-radius: 2px;
}

.roundRight
{
    -moz-border-radius-bottomright:2px;
    -moz-border-radius-topright:2px;
    -webkit-border-radius-bottomright:2px;
    -webkit-border-radius-topright:2px;
	border-top-right-radius: 2px;
	border-bottom-right-radius: 2px;
}

th.headerSortUp {
    /*background-image: url(../images/asc.gif) !important;*/
}

th.headerSortDown {
    /*background-image: url(../images/desc.gif) !important;*/
}

th.header {
	background: url("../images/tableBG.png") repeat-x scroll center top transparent;
    border-bottom: medium none;
    cursor: pointer;
    font-weight: 700;
	font-size: 0.9em;
    text-align: left;
    color:#FFFFFF;
    vertical-align: middle;
	border-right: 1px solid #999999;
}

th.header:hover {
/*    background-color:#E5E5E5;*/
}

.noBgImage
{
    background-color:#1B5274;
}

.scroll
{
    overflow-x:auto;
    overflow-y:scroll;
    width: 100%;
    height:85%;
}

.pager
{
    text-align: left; 
    margin-top: 6px; 
    line-height: 14px;
    top: 1px !important;
    position: relative !important;
	
}

.pager span {
	vertical-align: 3px;
	font-size: 11px;
}

/* Cabeceras del valor seleccionado*/
#ticker
{
    float:left;
    width:71%;
    border-bottom: 1px solid #ffffff;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    height: 70px;
    _height: 71px;
}

.instrumento_header
{
    float: left;
    width:30%;
    padding-left: 10px;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    border-right:1px solid #ffffff;
    height:56px;
    text-align: left;
}

.cotizacion_header
{
    float: left;
    width: 40%;
    padding: 5px;
    border-right:1px solid #ffffff;
    height:56px;
    text-align: center;
}

.cotizacion_header table
{
    text-align:left;
    font-size:12px;
    width:100%;
    height:100%;
    border-collapse:collapse;
    text-align: right;
}

.cotizacion_ultimo
{
    font-size:24px;
    vertical-align:text-top;
    width: 140px;
    white-space: nowrap;
}

.cotizacion_divisa
{
    vertical-align:text-bottom;
    text-align:left;
    width: 42px;
    white-space: nowrap;
}

.cotizacion_fecha
{
    vertical-align:middle;
    width: 40%;
    text-align: left;
    white-space: nowrap;
    font-size: 12px;
}

.cotizacion_var
{
    vertical-align:bottom;
    font-weight: bold;
    white-space: nowrap;
}

.cotizacion_flecha
{
    vertical-align:bottom;
    text-align:center;
    white-space: nowrap;
}

.cotizacion_maxmin
{
    vertical-align:bottom;
    text-align: center;
    white-space: nowrap;
    font-size: 10px;
    width: 120px;
}


.logo_header
{
    float: left;
    width: 25%;
    padding-left: 5px;
    padding-top: 5px;
    padding-right: 0;
    padding-bottom: 5px;
    height:56px;
}

/* Capa de la grafica */
#chart_layer
{
    width:70%;
    _width:69.8%;
    float: left;
    border-bottom: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    height: 581px;
    padding: 8px 5px;
    border-top:1px solid #555;
}

/* TOOLTIP */
.tt
{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    display: none;
}

span.toolTip
{
    cursor: pointer;
	color: #318AAD;
}

span.toolTip:hover
{
	text-decoration:underline;
}

img.toolTip
{
    cursor: pointer;
    /*vertical-align: sub;*/
}

div.toolTip
{
    width: 216px;
    height: 203px;
    cursor: default;
}
div.toolTip .tt_leftColum
{
    float:left;
    width:6px;
    background-image: url('../images/arleft.gif');
    background-position: 0px 0px;
    background-repeat: no-repeat;
    height: 100%;
}
div.toolTip .tt_content
{
    float:left;
    width:94%;
    background-color: #DDDDDD;
    height: 100%;
    border:1px groove #555555;

}

div.toolTip table
{
    text-align:left;
    font-size:10px;
    width:100%;
    height:100%;
    border-collapse:collapse;
    border-color: #ffffff;
}

div.toolTip table tr th
{
    width: 100%;
    background-color: #FFFFFF;
    padding: 4px;
    white-space: nowrap;
	border-bottom: 1px solid #555;
}

.subHead { background-color:#ffffff }

div.toolTip table tr td
{
    padding: 4px;
    white-space: nowrap;
}

div.toolTip table tr td img
{
	width: 11px;
}

.operacion
{
	-moz-border-radius: 3px 3px 3px 3px;
	-webkit-border-radius: 3px 3px 3px 3px;
	background: #0086B2;
	background-image: -moz-linear-gradient(top, #66B4D1, #0086B2); /* FF3.6 */
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #66B4D1), color-stop(1, #0086B2)); /* Saf4+, Chrome */
    background-repeat: repeat-x;
    color: #FFFFFF;
    font: 11px/16px Arial,Helvetica,sans-serif;
    height: 16px;
    margin: 0;
    padding: 0 6px 0 5px;
	vertical-align: top;
	display: inline-block;
	text-shadow: none;
}

.operacion:hover
{
	background: #66B4D1;
	background-image: -moz-linear-gradient(top, #0086B2, #66B4D1); /* FF3.6 */
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #0086B2), color-stop(1, #66B4D1)); /* Saf4+, Chrome */
}


/* Popup con grafica light */
div.popup
{
    width: 500px;
    height: 500px;
    border:1px solid black;
    position: absolute;
    background-color: #DDDDDD;
    left: 50%;
    top: 50%;
    margin-top: -200px;
    margin-left: -200px;
    display: none;
}

h2.headDrag
{
    background-color: black;
    width: 94%;
    cursor: move;
    float:left;
    margin: 0;
    padding: 0;
    height: 20px;
    color:white;
    font-size: 10px;
}

p.headButtons
{
    font-size: 12px;
    width: 6%;
    height: 20px;
    text-align:right;
    float: left;
    margin: 0;
    padding: 0;
    cursor: pointer;
    vertical-align: middle;
    background-color: black;
    color:white;
}