/* Institut Municipal d'Hisenda de Barcelona */

/* Fulla d'estils general */


/* Tags generals */

	body {
		font-size: 10px;
		font-family: Arial, Verdana, sans-serif;
		background-color: #eee;
		color: #333333;
		margin: 0;
		padding: 0;
	}
	
	img {
		border: 0;
	}
	
	p {
		margin-top: 1.3em;
		margin-bottom: 0.5em;
	}
	
	a, a:visited {
		color: black;
	}

	a:hover {
		text-decoration: underline;
	}

	h1 {
		margin: 0;
		padding: 0;
	}

	h2 {
		margin: 0;
		margin-bottom: 1em;
		margin-top: .6em;
		padding: .5em 1em;

		font-size: 1.7em;
		color: #fff;
		background-color: #3F66A7;
	}

    h2.subtitle {
        background-color: #EEE;
        font-size: 1.2em;
        color: #333;
        text-align: right;
        font-weight: normal;
        padding: 1em;
        margin-top: 0;
    }
	
	h3 {
		margin: 0;
		padding: 0;
		margin-bottom: .5em;	
		font-weight: bold;
		font-size: 1.4em;
		color: #3F66A7;
	}
	
	h4 {
		margin: 0;
		padding: 0;
		margin-top: 2em;
	
		font-size: 1.2em;
		font-weight: bold;
		color: #044CA1;
	}
	
	h5 {
		margin: 0;
		padding: 0;
		margin-top: 2em;
	
		font-size: 1.2em;
		font-weight: bold;
		color: #333;
	}

	address{ font-style:normal; }

	form {
		margin: 0;
		padding: 0;
	}

	p,td,div {
		margin: 0;
		padding: 0;
		font-size: 1em;
		color: #666666;
	}

	ul {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	ol { margin: 0; padding: 0; }

	abbr {
		border:none;
	}
	
	map {
		margin: 0; padding: 0;
	}
	
	map p {
		display: none;
	}
	
	.hidden {
		display: none;
	}



/* /////////// DEFINICIO DE ZONES DEL LLOC WEB /////////// */

#barra-corporativa {
    width: 100%;
}

#marc-web {
	border-left: 1px solid #dedede;
	border-right: 1px solid #dedede;
	background-color: #fff;

	width: 100em;
	overflow: hidden;
	margin: 0 auto;
}



#titol-web {
	padding: 1px 0;
	height: 8.2em;
}

	#titol-web h1 * {
		width: 100%;
	}
	
	#titol-web h1 img {
		display: block;
	}



#contenidor {
	margin: 0;
	padding: 0;

	width: 100%;
	overflow: visible;
}

#area-menus {
	float: left;
	width: 22em;
	padding: 1.5em 3em 1.5em 3em;
}


#contingut {
	float: left;
	padding: .5em;
	width: 68.5em;
	overflow: hidden;
}





	#header h1 {
		margin-bottom: 0px;
	}



	/* Menú dels elements principals del site (Presentacio / Impostos / Multes / Pagaments / Gruia del contribuent) */
	
		#opcions-nivell1 {
			font-size: 1.2em;
			display: block;
		}
		
			#opcions-nivell1 h2 {
				display: none;
			}
		
			#opcions-nivell1 ul {
			}
		
				#opcions-nivell1 ul li {
					background-color: #3F66A7;
					margin-bottom: 1px;
				}

					#opcions-nivell1 ul li a,
					#opcions-nivell1 ul li strong {
						display: block;
						padding: .6em .8em;
						color: #fff;
					}

					#opcions-nivell1 ul li strong {
						background-color: #274069;
						font-weight: normal;
					}

						#opcions-nivell1 ul li strong a { /* Correccio del doble padding per a opcions ressaltades enllacables */
							padding: 0;
						}




		#opcions-nivell2 {
			font-size: 1.2em;
			margin-top: 1em;
			display: block;
		}
		
			#opcions-nivell2 h2 {
				display: none;
			}
			
			#opcions-nivell2 h3 {
				font-size: 1em;
				color: #333;
				background-color: #C3CFE4;
				margin: 0;
				padding: .6em .8em;
			}
			
				#opcions-nivell2 ul {
					margin-top: .2em;
					margin-bottom: 1em;
				}
				
					#opcions-nivell2 ul li {
					    margin: .3em 0;					    
						padding: 0 1em 0 1em;
						line-height: 1.3em;
						background: url("../images/liliMenu.gif") no-repeat .4em .5em;
					}
					
					
						#opcions-nivell2 ul li,
						#opcions-nivell2 ul li a {
							color: #333;
						}
					
						#opcions-nivell2 ul li ul {
							margin-bottom: .5em;
						}
						
							#opcions-nivell2 ul li ul li {
								background: url("../images/li_2n_nivell.gif") no-repeat .4em .7em;
							}




	/* Footer */

		#footer {
			clear: both;
			font-size: 1.1em;
			padding: 1em 1em 1.7em 1em !important;
			border-top: 1px solid #fff;
			background-color: black;
		}
		
		#footer a {
			color: white;
		}
		
			#footer .dreta {
				float: right;
			}
			
			#footer .esquerra {
				float: left;
			}	
			
		
		#footer p {
			line-height: 1em;
		}
		
		#footer ul {	
			line-height: 1em;
		}
		
		#footer ul li {
			display: inline;
			border-right: 1px solid #fff;
			margin-right: .5em;
			padding-right: .5em;
		}
		
			#footer ul li.last {
				border-right: 0;
				margin-right: 0;
				padding-right: 0;
			}

            
            
/* Barra de cerca i boto de suport als internautes */

    #search-bar {
        position: relative;
        width: 100%;
        height: 2.2em;
        overflow: hidden;
        padding: .5em 0;
        background-color: #eeeeee;
        border-bottom: 1px solid #d0d0d0;
    }
    
        /* Boto suport internautes */
        
            #search-bar #supportButton {
                float: left;
                margin-left: 3em;
            }
        
                #search-bar #supportButton a {
                    color: #265198;
                    font-size: 1.2em;
                    font-weight: bold;
                    text-decoration: none;
                    display: block;
                    padding-right: 5.5em;
                    line-height: 1.7em;
                    background: url("../images/support-button-background.gif") no-repeat right center;
                }
                    
                    #search-bar #supportButton a:hover {
                        text-decoration: underline;
                    }

    

        /* Google Search */

            #search-bar form,
            #search-bar table {
                margin: 0;
                padding: 0;
            }
            
            #search-bar #searchForm * {
                width: auto;
            }
            
            #search-bar div#searchForm {
                width: 20em;
                float: right;
                margin-right: 3em;
            }
            
            #search-bar #searchForm input.gsc-input {
                border-top: 1px solid #888888;
                border-left: 1px solid #b4b4b4;
                border-right: 1px solid #b4b4b4;
                border-bottom: 1px solid #e0e0e0;
                font-family: Arial, Verdana, sans-serif;
                padding: 2px;
                width: 11em !important;
                background: #fff !important;
            }
            
            #search-bar #searchForm input.gsc-search-button {
                background-color: #eeeeee;
                border: 1px solid #eeeeee;
                color: #265198;
                cursor: pointer;
                display: block;
                font-family: Arial, Verdana, sans-serif;
                font-size: .9em;
                font-weight: bold;
                text-decoration: underline;
            }

        .gsc-branding {
            display: none;
        }

        .gsc-clear-button {
            display: none;
        }


    /* Resultats */

        .gsc-resultsHeader {
            display: none;
        }
    
        .gsc-wrapper {
            display: block;
            float: right;
            position: relative;
            width: 68.5em;
            margin-right: 3em;
        }
        
            .gsc-wrapper h2 {
                margin-top: .85em;
                _height: 1%;
            }
            
            
        .gsc-result {
            padding: 0 .9em;
            margin-bottom: 2em !important;
            border-bottom: none;
        }
        
            .gsc-result .gs-title,
            .gsc-result .gs-snippet,
            .gsc-result .gs-visibleUrl {
                font-size: 1.2em;
            }
        
            .gsc-result .gs-title {
                margin-bottom: .2em;
            }
                
                .gsc-result .gs-title a,
                .gsc-result .gs-title b {
                    color: #3f66a7;
                }
            
            .gsc-result .gs-snippet {
                margin-bottom: .2em;
            }
            
        
        .gsc-cursor-box {
            padding: 0 1em;
        }
        
            .gsc-cursor-box .gsc-cursor {
                width: 100%;
                display: block !important;
                padding-top: 1em;
                border-top: 1px solid #ccc;
                text-align: right;
            }
            
            .gsc-cursor-box .gsc-cursor-page {
                color: #666 !important;
                font-size: 1.2em;
                margin-right: 0 !important;
                margin-left: 10px !important;
            }
            
            .gsc-cursor-box .gsc-cursor-current-page {
                color: #333 !important;
                font-weight: bold;
            }

        .gs-webResult div.gs-visibleUrl-long {
            display: block !important;
        }
            
        .gs-webResult div.gs-visibleUrl-short {
            display: none;
        }
        
        .gsc-webResult .gsc-result {
            border-bottom: 0 !important;
        }
        
        .gsc-cursor-box .gsc-cursor {
            padding: 0 !important;
            border-top: none !important;
        }
        
        .gcsc-branding {
            display: none;
        }
        
        .gsc-result-info {
            display: none;
        }

