/* ---------------- General ---------------- */

body {
	background: url(../img/fdo_body.png) repeat-x #fff;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-y: auto;
}

.clear {
  clear: both;
}

.destacado {
  font-weight: bold; 
}

a {
  text-decoration: underline;
}

ul {
  list-style: disc;
}

p, h1, h2, h3, h4, h5, h6, li, ol, ul, td, th, dl, dt, dd, textarea, input {
	color: #000;
}

h1, h2 {
	color: #FE171F;
}

.edit_link, .delete_link, .union_link, .copy_link, .add_link {
  display: block;
  text-indent: -9000px;
  width: 16px;
  height: 16px;
}

.edit_link {
  background: url(../img/icons/pencil.png) no-repeat;
}

.delete_link {
  background: url(../img/icons/cross.png) no-repeat;
}

.union_link {
  background: url(../img/icons/arrow_join.png) no-repeat;
}

.copy_link {
  background: url(../img/icons/page_white_stack.png) no-repeat;
}

.add_link {
  background: url(../img/icons/add.png) no-repeat;
}

ul.actions {
  margin: 0;
}

ul.actions li {
	display: inline-block;
}

/*----------------- Admin -------------*/
#admin_menu {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  background: #aaa;
  width: 100%;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
  color: #000;
  padding-top: 5px;
}

* html #admin_menu { 
	position: absolute;
}

#admin_menu a {
  color: #000;
  text-decoration: none;
}

#admin_menu ul#admin_sub_menu {
  margin-top: 5px;
  display: block;
  text-align: center;
}

#admin_menu ul#admin_sub_menu a {
  font-size: 10px;
  color: #b00;
}

#admin_menu ul {
  margin-left: 10px;
  display: inline;
}

#admin_menu ul li {
  display: inline;
  margin-right: 10px;
}

#admin_menu a:hover {
  text-decoration: underline;
}

/*----------------- Formulari -------------*/

form div.field {
	margin-bottom: 10px;
}

form.editar img {
	width: 200px;
	height: 200px;
	border: 1px solid #000;
	
}

form div.imatge {
	float: right;
	position: relative;
	top: -100px;
	margin-right: 50px;

	
}

form div.logo {
	float: right;
	position: relative;
  top: -40px;
  right: 250px;
}

form div.logo img {
  width: 75px;
	height: 28px;
}

form div.imatge div.field{
	margin-left: 70px;
}

span#loading img {
  width: 20px;
  height: 20px;
  line-height: 20px;
}

.field label {
  display: block;
  font-weight: bold;
}

.field input {
  width: 200px;
}

.field input[type='checkbox'] {
  float: left;
  margin-right: 5px;
}
	
.select_unio label {
  display: inline;
}

/* ---------------- Header ---------------- */

#header #header_logo_link {
  height: 124px;
  margin-top: 13px;
  width: 936px;
  display: block;
  text-indent: -9000px;
  background: url(../img/header_2.png) 0 0px no-repeat;
}

.linksheaders {
  position: relative;
}

.linksheaders #mida_petita, .linksheaders #mida_gran {
  text-decoration: none;
  color: #000;
}

.linksheaders #mida_petita {
  font-size: 9px;
}

.linksheaders #mida_gran {
  font-size: 15px;
}

ul#navlist {
  margin-top: -3px;
}

/* ---------------- Footer ---------------- */


/* ---------------- Receptores ---------------- */

ul#menu_receptores {
  list-style: none;
  margin-left: 0px;
}

ul#menu_receptores li {
  float:left;
  height: 71px;
}

ul#menu_receptores li a#menu_receptores_tvs, ul#menu_receptores li a#menu_receptores_tvs_cat {
  width: 206px;
  height: 66px;
  display: block;
  text-indent: -9000px;
}

#menu_receptores_tvs {
  background: url(../img/tv_menu_off.jpg) no-repeat;
}

#menu_receptores_tvs:hover {
  background: url(../img/tv_menu_on.jpg) no-repeat;
}

#menu_receptores_tvs_cat {
  background: url(../img/cat/tv_menu_off.jpg) no-repeat;
}

#menu_receptores_tvs_cat:hover {
  background: url(../img/cat/tv_menu_on.jpg) no-repeat;
}

ul#menu_receptores li a#menu_receptores_decoders, ul#menu_receptores li a#menu_receptores_decoders_cat {
  width: 127px;
  height: 71px;
  display: block;
  text-indent: -9000px;
}

#menu_receptores_decoders {
  background: url(../img/deco_menu_off.jpg) no-repeat;
}

#menu_receptores_decoders:hover {
  background: url(../img/deco_menu_on.jpg) no-repeat;
}

#menu_receptores_decoders_cat {
  background: url(../img/cat/deco_menu_off.jpg) no-repeat;
}

#menu_receptores_decoders_cat:hover {
  background: url(../img/cat/deco_menu_on.jpg) no-repeat;
}

/* ---------------- Decoders ---------------- */
ul.decoder_list {
  margin: 0;
  width: 600px;
}

ul.decoder_list li{
	display: inline-block;
	margin-right: 10px;
}

ul.decoder_list li a{
	text-decoration: none;
	color: #666666;
}
table.deco {
  margin-top: 10px;
}

table.deco .titulo_tabla {
  background: #ff9933;
}

table.deco ul {
	margin-left: 0;
	margin-right:5px;
	display: inline;
}

table.deco ul li {
  display: inline-block;
}

table.deco td.certificat{
	font-weight: bold;
}

table.deco td.proximament{
	font-style: italic;
}

table.deco td.proces{
	font-weight: normal;
}


table.deco a {
	text-decoration: none;
	color: #000;
}

table.deco th.marca {
	width: 35%;
}

table.deco th.modelo {
	width: 65%;
}

.link_to_top {
  text-align: right;
  width: 600px;
  display: block;
  margin: 0;
}

.link_to_top a {
  font-size: 10px;
  text-decoration: none;
  color: #666;
}

.link_to_top a:hover {
  text-decoration: underline;
}

table#decoder_brands_table {
  margin-top: 5px;
  width: 600px;
}

table#decoder_brands_table th, table#decoder_brands_table td {
  border: 1px solid #000;
  padding: 5px;
}

table#decoder_brands_table th {
  font-weight: bold;
  background: #aaa;
}

table#decoder_brands_table td.name {
  width: 30%;
}

table#decoder_brands_table td.link {
  width: 50%;
}

table#decoder_brands_table td.actions {
  width: 10%;
}

/* ---------------- Tvs+Cams ---------------- */

td.logos ul {
  margin-left: 0;
}

td.logos ul li {
  display: inline-block;
}

table.tv {
  margin-top: -4px;
  margin-bottom: -4px;
}

.tv_col2 .header strong {
  margin-left: 4px;
}

.ac_results {
  text-align:left;

}

#llista_tvs, #llista_cams {

}

#llista_tvs ul, #llista_cams ul {
  margin: 0;
  font-size: 10px;
}

#llista_tvs ul li, #llista_cams ul li{
  list-style: none;
}

ul.llista_categories {
  display: block;
  float: left;
  width: 210px;
}

ul.llista_categories label {
  font-weight: normal;
}

#llista_tvs li span.categoria {
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 5px;
}

ul#llista_cams {
  margin: 0;
  list-style: none;
}

.tv {
  width: 640px;
  min-height: 128px;
	padding: 0px;
	margin: 0px;
	background: #FFFFFF url(../img/tabla_receptores_bkg.jpg) repeat-y;
  margin-top: -5px;
}

.tv form {
  float:left;
  position:relative;
  display:block;
  width: 160px;
  height: 128px;
}

.tv .arrow {
  float:left;
  position:relative;
  display:block;
  width: 38px;
  margin-top: 30px;
}

.tv .field {
  margin-bottom: 0;
  margin-left: 10px;
}

.tv select {
	font-size: 0.85em;
	width: 130px;
	margin: 5px 0px 5px 0px;
}

.tv #compatibles {
  min-height: 128px;
  margin-left: 198px;
  display:block;
  width: 442px;
  min-height: 128px;
  font-size: 10px;
}

.tv_footer {
  position:relative;
  top: -5px;
}

/* ---------------- Pop up ---------------- */

#popup_dialog {
  padding: 20px;
  background: #fff;
  border: 1px solid #000;
  overflow-y: scroll;
  height: 300px;
}

table.popup {
  margin: 0 auto;
  width: 575px;
}

