/*
CopyRight

Title: tbs_style

Description: Estilos aplicables a las aplicaciones web corporativas de TB-Solutions

Versión: 1.1

Date: 29/05/2009

Author: José Manuel Infante, Sergio Mainar

*/

/* Inicio Decorators */
/* inicio generales */
img {border:0}
a {outline:0;}

html, body {
    height: 100%;
    margin:auto 0;
    min-width:998px;
    }

p {
    padding:0;
    margin:0;
    margin-bottom:12px;
    padding-left:16px;
    overflow:hidden;
    width:100%;
    }
    
fieldset {
    padding:0;
    margin:0;
    display:block;
    margin-bottom:5px;
    padding-left: 20px;
    padding-right:6px;
    padding-top:10px;
    *padding-bottom:5px;
    border: 1px solid #D0D0BF;
}
legend{
    margin-left:-10px;
    *margin-left:-14px;
    color:#666666;
}

select {
    border:solid 1px grey;
    font-family: Arial, Times, serif; 
    font-size:8pt;
    }

textarea {
    border:solid 1px grey;
    font-family: Arial, Times, serif; 
    font-size:8pt;
    height:400px;
    }

table {
    width:100%;
    margin-bottom:16px;
    }
th {
    font-weight:normal;
    color:grey;
    background-image:url(../images/D_th.gif);
    background-position:bottom;
    background-repeat:repeat-x;
    padding:5px;
    }
    
td {
    padding:5px;
    color:#000;
    }
tr.odd{
    background-color:#d4eefa;
    }
tr.even{
	background-color:#FFFFFF; 
    }

h1 {
    padding:0;
    margin:0;
    padding-top:5px;
    padding-left:8px;
    font-size:1.8em;
    color:#00843d;
    }
h2 {
    padding:0;
    margin:0;
    padding-left:8px;
    font-weight:normal;
    font-size:1.4em;
    color:#00843d;
    }
h3 {
    color:#00843d;
    border-bottom:1px solid #00843d;;
    clear:both;
    margin-bottom:10px;
	font-weight:normal;
	font-size:1em;
  	} 
h4 {
    padding:0;
    margin:0;
    padding-top:5px;
    font-size:1.6em;
    color:#000000;
	}
/* fin generales */

/* para mantener el pie abajo */
.D_content 
{
/*  
	min-height: 100%;
	height: auto !important;
    #height: 100%;
	#border:1px solid red;
*/
    margin: 0 auto;
}   
    
.D_clearfooter {
    height:0px;
	clear:both;
}

.D_footer 
{
/*
    background-image:url(../images/D_footer.gif);
    background-repeat:repeat-x;
*/
    position: relative;
    background-color:#fff;
/*    
	clear: left;
    height:163px;
    min-height: 163px;
    margin-top:32px;
*/	
	margin: 0 auto;
	width: 568px;
}
/* fin - para mantener el pie abajo */

.D_body {
    font-family: Calibri;
    font-size:0.8em;
    border:0em;
    padding:0em;
	color:#666666;
    width: expression((documentElement.clientWidth <998) ? "998px" : "100%" ); 
    }
.D_body_login {
    font-family: Arial, Times, serif; 
    font-size:0.7em;
    border:0em;
    padding:0em;
    color:#666666; 
    background-color:#fcfcfc;
    width: expression((documentElement.clientWidth <998) ? "998px" : "100%" ); 
    }
    
/* INICIO PIE */
.D_footer_content
{
	width:100%;
	font-size:9px;
	margin-top:5px;
}
	
.D_footer_content_left
{
	float:left;
	text-align:left;
	width:34%
}
    
.D_footer_content_right 
{
    float:rigth;
	text-align:right;
}
    
.D_footer_content_center {
    float:left;
    text-align:center;
	width:34%;
}
/* FIN PIE */

/* INICIO CABECERA */
/* inicio migas de pan */
.D_breadcrumbs {
    height:32px;
    background-image:url(../images/D_breadcrumbs.gif);
    background-repeat:repeat-x;
    }
    
.D_ico_breadcrumbs {
    background-image:url(../images/I_breadcrumbs.gif);
    background-position:16px 4px;
    background-repeat:no-repeat;
    padding-top:10px;  
    padding-left:40px;  
    height:22px;
    color:#C1C1C1;   
    }
    
.D_breadcrumbs_language{
	z-index:1000;
	position:absolute;
	white-space:nowrap;
	top:10px;
	padding-right:10px;
	right:0px;      
}
    
.D_breadcrumbs_text {
    color:grey;
    }
/* fin migas de pan */

.D_header_top {
    height:32px;
    color:#818181;
    background-color:#fff;
    }
    
/* contenedor para la fecha en la cabecera */
.D_header_date {
    padding-left:16px;
    padding-top:9px;
    float:left;
    }
    
/* inicio pestañas de la cabecera */
.D_header_tabs {
    float:right;
    margin-right:180px;
    height:23px;
    margin-top:9px;
    display:inline;
    }
    
.D_header_tab {
    float:left;
    margin-left:12px;
    }
    
.D_header_tab_left {
    width:7px;
    height:23px;
    background-image:url(../images/D_tab_left.gif);
    float:left;
    }
    
.D_header_tab_right {
    width:9px;
    height:23px;
    background-image:url(../images/D_tab_right.gif);
    float:left;
    }
    
.D_header_tab_center {
    height:18px;
    background-color:#F0F0F0;
    float:left;
    padding:10px;
    padding-top:5px;
    padding-bottom:0;
    }

.D_header_tabs_notClientArea {
    float:right;
    margin-right:10px;
    height:23px;
    margin-top:9px;
    display:inline;
    }
/* fin pestañas de la cabecera */

/* contenedor logos y datos cabecera */
.D_header 
{
	margin:0 auto;
    width:568px;
    height:120px;
    position:relative;
/*	
    #background-image:url(../images/D_header.gif);
    #background-repeat:repat-x;
*/
}
 
.D_header_title
{
	position:relative;
/*    #float:left; */
    width: 350px;
	height:100%;
}
 
.D_header_title  h1
{
	position: absolute;
	bottom: 28px;
}
 
.D_header_image 
{
/*
    position:relative;
    height:132px;
    background-repeat:no-repeat;
    background-position:right bottom;
*/	
	float:right;
	position:absolute;
	right:0;
	bottom:28px;
/*	padding-top:16px; */
}
    
.D_product_logo {
    position:absolute;
    z-index:3;
    float:left;
    width:186px;
    height:64px;
    margin-right:30px;
    text-align:center;
/*    
	margin-top:32px; 
    background-image:url(../images/D_product_logo.gif);
    background-position:right;
    background-repeat:repeat-y;
*/
}
    
.D_owner_logo {
    position:absolute;
    right:0;
    z-index:2;
    float:right;
    width:149px;
    height:96px;
    margin-top:32px;
    text-align:right;
    background-image:url(../images/D_header_decoration.gif);
    background-position:left;
    background-repeat:no-repeat;
    padding-right:37px;
    }
    
/* contenedor de la informacion de cabecera */
.D_header_info {
    left:216px;
    position:absolute;
    z-index:3;
    float:left;
    margin-top:32px;
    color:#818181;
    background-image:url(../images/I_info.gif);
    background-position:left;
    background-repeat:no-repeat;
    padding-left:57px;
    }
/* contenedor de la informacion de cabecera para el login */
.D_header_info_login {
    left:216px;
    position:absolute;
    z-index:3;
    float:left;
    margin-top:32px;
    color:#818181;
    background-image:url(../images/I_info_login.gif);
    background-position:left;
    background-repeat:no-repeat;
    padding-left:57px;
    height:70px;
    width:42px;
    }
    
.D_header_label {
    color:grey;
    }
/* FIN CABECERA */

/* INICIO MENU */
.D_menu {
    margin-top:-4px;
    width:200px;
    position:absolute;
    left:0;
    }

.D_menu_topimage {
    background-image:url(../images/D_menu_topimage.gif);
    background-repeat:no-repeat;
    background-position:right;
    height:16px;
    width:168px;
    background-color:#fff;
    text-align:right;
    padding-right:32px;
    }
    
.D_menu_bottomimage {
    background-image:url(../images/D_menu_bottomimage.gif);
    background-repeat:no-repeat;
    height:16px;
    width:200px;
    background-color:#fff;
    }
    
.D_menu_content {
    width:200px;
    background-image:url(../images/D_menu.gif);
    background-repeat:repeat-y;
    background-position:right;
    }
    
.D_menu_list {
    padding:0;
    margin:0;
    width:150px;
    padding:16px;
    list-style-type:none;
    }

.D_submenu_list {
    padding:0;
    margin:0;
    padding:16px;
    list-style-type:none;
    margin-left:-38px;
    margin-top:5px;
    margin-bottom:5px;
    padding-left:38px;
    padding-top:2px;
    padding-bottom:4px;
    width:133px;
    background-color:#fcfcfc;
    #padding-left:36px;
    #width:135px;
    _width:132px;
    #float:left;
    _padding-left:58px;
    }
    
.D_menu_item {
    padding-bottom:5px;
    text-indent:-19px;
    padding-left:19px;
    #float:left;
    #width:100px;
    color:grey;
    }

.D_submenu_item {
    padding-left:19px;
    #float:left;
    #width:100px;
    padding-bottom:0px;
    text-indent:-22px;
    color:grey;
}

.D_item_selected {
	font-weight:bold;
	}
/* FIN MENU */

/* espacio entre la cabecera y el contenido */
.D_top_space {
    height:32px;
    float:left;
    width:80%;
    }

.D_real_content {
    margin:0 32px 0 216px;
    }
    
.D_real_content_login {
    text-align:center;
    }
    
/* inicio error */
.D_error_box {
    padding:25px;
    #padding-top:25px;
    background-color:#FFCC00;
    margin-bottom:16px;
    background-image:url(../images/I_attention.gif);
    background-repeat:no-repeat;
    background-position:16px 16px;
    clear:both;
    }
.D_error_text {
	_width:96%;
	color:#000000;
    }
.D_error_td {
    background-color:#FFCC00;
    }

.D_error_message {
    padding:25px;
    #padding-top:25px;
    background-color:#F1F1F1;
    margin-bottom:16px;
    background-image:url(../images/I_i.gif);
    background-repeat:no-repeat;
    background-position:16px 16px;
    clear:both;
    }    
/* fin error */

/* estructuras y contenedores de datos */
.D_external {
    clear:both;
    _width:96%;
    padding:16px;
    background-color:#fcfcfc;
    overflow:hidden;
    }
    
.D_external_login {
    margin:0 auto;
    width:568px;
    text-align:left;
    }
    
.D_external_home {
    clear:both;
    background-color:#fcfcfc;
    overflow:hidden;
    padding:32px;
    }
    
.D_data_content {
    background-color:#f1f1f1;
    #margin-bottom:16px;
    }
    
.D_data {
    padding:16px;
    overflow:hidden;
    width:95%;
    }
    
.D_left {
    float:left;
    margin-right:8px;
    }

.D_right {
    float:right;
    margin-left:8px;
    }

.D_floatLeft{
	float:left;
	}
.D_floatRight{
	float:right;
	}
.D_floatNone{
	float:none;
	}
.D_flowHidden{
    overflow:hidden;
}
.D_visibilityHidden{
    visibility:hidden;
}
.D_visibilityVisible{
    visibility:visible;
}
.D_padding_none{
    padding:0;
    *margin-bottom:0;
}

.D_table_layout{
    table-layout:fixed;
}

/* Elementos dinámicos */
.D_iFrame{
    background-color:#ffffff;
}

/* fin estructuras y contenedores de datos */

/* inicio titulos */
.D_title_box {
    clear:both;
    }
    
.D_title_num {
    font-weight:bold;
    background-color:#fcfcfc;
    float:left;
    padding-left:10px;
    padding-right:10px;
    color:grey;
    }
    
.D_title_data {
    float:left;
    border-left:solid 1px #fcfcfc;
    padding-bottom:5px;
    }
/* fin titulos */
    
/* contenedor para pestañas de la zona de datos */
.D_tabs {
    float:left;
    width:100%;
    _width:96%;
    height:20px;
    text-align:right;
    margin-top:-20px;
    }
    
/* contenedor del enlace de imprimir */
.D_print_box {
    width:100%;
    text-align:right;
    padding-top:10px;
    }
    
/* contenedor de botones */
.D_buttons {
    padding-left:0;
    clear:both;
    margin-bottom:0;
    }

/* texto a destacar */
.D_highlight {
    font-weight: bold;
	font-size: 1.2em;
}
.D_bold{font-weight:bold;}

/* inicio paginacion de tablas */
.D_paging {
    width:100%;
    padding-left:0;
    color:grey;
    }
.D_paging_left {
    float:left;
    }
.D_paging_right {
    float:right;
    }
/* fin paginacion de tablas */

.D_label {
    padding-right:14px;
    float:left;
    padding-top:2px;
    }
    
/* campo obligatorio */
.D_label_binding {
    background-image:url(../images/I_asterisk.gif);
    background-position:right;
    background-repeat:no-repeat;
    padding-right:14px;
    float:left;
    padding-top:2px;
    }  
    
.D_labelValue {
    color:#000;
    background-color:#d4eefa;
    min-height:15px;
    }

.D_inputText {
    border:solid 1px #00843d;
    }

.D_inputFile {
    border:solid 1px #00843d;
    }


.D_button {
    border:solid 1px grey;
	background-color: darkgray;
	color: black;
	font-weight: bold;
	}

.D_td_notext {
    background-color:#fff;
    }
    
.D_sortDown a {
    background-image:url(../images/I_arrowDown.gif);
    background-position:left top;
    background-repeat:no-repeat;
    padding-left:14px;
    }
.D_sortUp a {
    background-image:url(../images/I_arrowUp.gif);
    background-position:left top;
    background-repeat:no-repeat;
    padding-left:14px;
    }

.D_help {
    color:#000;
    text-decoration:none;
    background-image:url(../images/I_help.gif);
    background-position:right;
    background-repeat:no-repeat;
    padding-right:18px;
    }
.D_close {
    color:#000;
    text-decoration:none;
    background-image:url(../images/I_close.gif);
    background-position:right;
    background-repeat:no-repeat;
    padding-right:18px;
    }
.D_print {
    color:#000;
    text-decoration:none;
    background-image:url(../images/I_print.gif);
    background-position:right;
    background-repeat:no-repeat;
    padding-right:18px;
    padding-top:2px;
    margin-right:16px;
    }
    
.D_minWidth360 {
	width: expression((documentElement.clientWidth <1100) ? "360px" : "100%" );
	}
.D_minWidth1000 {
	width: expression((documentElement.clientWidth <1100) ? "1000px" : "100%" );
	}	

.D_center_25 {
    position: relative;
    left: 25%
  }
.D_center_43 {
    position: relative;
    left: 43%
  }
.D_updateList{
	color:grey;
}

.D_searchUp{ 
	 height: 13px; 
	 width: 8px;
	 cursor: hand;
}
.D_searchDown{
	 height: 13px; 
	 width: 8px;
	 style:cursor: hand;
}

/*Links*/
a.D_breadcrumbs_link:link,a.D_breadcrumbs_link:visited,a.D_breadcrumbs_link:active,a.D_breadcrumbs_link:hover{color:#fff;text-decoration:none;padding-left:1px;padding-right:1px;}
a.D_breadcrumbs_link:hover{background-color:grey;}

a.D_realcontent_link:link,a.D_realcontent_link:visited,a.D_realcontent_link:active,a.D_realcontent_link:hover{color:#000;text-decoration:none;padding-left:1px;padding-right:1px;}
a.D_realcontent_link:hover{background-color:grey;color:#fff;}

a.D_link:link,a.D_link:visited,a.D_link:active,a.D_link:hover{color:grey;text-decoration:underline;padding-left:1px;padding-right:1px;}
a.D_link:hover{background-color:grey;color:#fff;}

a.D_menu_link:link,a.D_menu_link:visited,a.D_menu_link:active,a.D_menu_link:hover{color:#000;text-decoration:none;padding-left:1px;padding-right:1px;}
a.D_menu_link:hover{background-color:grey;color:#fff;}


a.D_breadcrumbs_language_link:link,a.D_breadcrumbs_language_link:visited,a.D_breadcrumbs_language_link:active,a.D_breadcrumbs_language_link:hover{color:grey;text-decoration:underline;padding-left:1px;padding-right:1px;}
a.D_breadcrumbs_language_link:hover{background-color:grey;color:#fff;}

a.D_tab:link,a.D_tab:visited,a.D_tab:active,a.D_tab:hover{color:#000;text-decoration:none;background-color:#F0F0F0;padding:12px;padding-top:6px;padding-bottom:1px;margin-right:16px;float:right}
a.D_tab:hover{background-color:grey;color:#fff;}

a.D_tab_selected{font-weight:bold;}
a.D_tab_noSelected{font-weight:normal;}

a.D_foot_link:link,a.D_foot_link:visited,a.D_foot_link:active,a.D_foot_link:hover{color:#000;text-decoration:none;padding-left:1px;padding-right:1px;}
a.D_foot_link:hover{background-color:grey;color:#fff;}

th a:link {
    color:grey;
    }
th a:visited {
    color:grey;
    }
th a:active {
    color:grey;
    }
th a:hover {
    color:grey;
}
/* Fin Decorators */

/* Font Size */
.T_line {font-size:1em;}

/* Size */
.S_5   {width:5px;}
.S_10  {width:10px;}
.S_20  {width:20px;}
.S_30  {width:30px;}
.S_50  {width:50px;}
.S_75  {width:75px;}
.S_100 {width:100px;}
.S_110 {width:110px;}
.S_120 {width:120px;}
.S_140 {width:140px;}
.S_150 {width:150px;}
.S_160 {width:160px;}
.S_180 {width:180px;}
.S_190 {width:190px;}
.S_200 {width:200px;}
.S_240 {width:240px;}
.S_250 {width:250px;}
.S_300 {width:300px;}
.S_340 {width:340px;}
.S_390 {width:390px;}
.S_400 {width:400px;}
.S_500 {width:500px;}
.S_700 {width:700px;}
.S_800 {width:800px;}
.S_1000{width:1000px;}
.S_1200{width:1200px;}

/* Percent */
.P_2 {width:2%;}
.P_5 {width:5%;}
.P_10{width:10%;}
.P_15{width:15%;}
.P_20{width:20%;}
.P_25{width:25%;}
.P_30{width:30%;}
.P_33{width:33%;}
.P_40{width:40%;}
.P_48{width:48%;}
.P_50{width:50%;}
.P_56{width:56%;}
.P_60{width:60%;}
.P_66{width:66%;}
.P_70{width:66%;}
.P_75{width:75%;}
.P_80{width:80%;}
.P_90{width:90%;}
.P_95{width:95%;}
.P_98{width:98%;}
.P_100{width:100%;}

/* Align */
.A_left{text-align:left;}
.A_right{text-align:right;}
.A_center{text-align:center;}

/* Height */
.H_5   {height:5px;}
.H_10  {height:10px;}
.H_15  {height:15px;}
.H_20  {height:20px;}
.H_30  {height:30px;}
.H_50  {height:50px;}
.H_75  {height:75px;}
.H_100 {height:100px;}
.H_120 {height:120px;}
.H_150 {height:150px;}
.H_160 {height:160px;}
.H_180 {height:180px;}
.H_190 {height:190px;}
.H_200 {height:200px;}
.H_250 {height:250px;}
.H_300 {height:300px;}
.H_320 {height:320px;}
.H_350 {height:350px;}
.H_400 {height:400px;}
.H_500 {height:500px;}
.H_600 {height:600px;}
.H_800 {height:800px;}
.H_1000{height:1000px;}
.H_1200{height:1200px;}



