/* YWP styles */

/* General styles */

    html {
        position: relative;
    }

    body {
        margin: 0;
        padding: 0;        
        color: #333;
        font-size: 62.5%;
        font-family: Arial, Verdana, sans-serif;
        background-color: #fff;        
    }

    div {
        margin: 0;
        padding: 0;
    }

    dl, dt, dd {
        margin: 0;
        padding: 0;
    }

    ul, ol, li {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    
    p,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        padding: 0;
        margin: 0;
        font-size: 1em;
    }
    
    img {
        border: 0;
    }

    .hidden {
        display: none;
    }
    
    a,
    p {
        color: #666;
    }
    
    abbr,
    acronym {
        border-bottom: none;
    }
    
    
    /* Layout */
    
        .wrapper {
            width: 95em;
            overflow: hidden;
            margin: 0 auto;
        }





	/* Barra d'idiomes */

		.language-bar {			
			overflow: hidden;
            background-color: #F9F9F3;
            border-bottom: 1px solid #fff;
		}

			.language-bar ul {
				float: right;
				padding: .8em;
			}

				.language-bar ul li {
					float: left;
					font-size: 1.1em;					
					padding-right: .5em;
					margin-right: .5em;					
					border-right: 1px solid #666;
				}
				
					.language-bar ul li.last {
						padding-right: 0;
						margin-right: 0;
						border-right: none;
					}
					
					.language-bar ul li,
					.language-bar ul li a {					
						color: #666;					
					}




    /* Header */
    
        .header h1 {
            font-size: 1em;
        }
        
            .header h1 img {
                display: block;
            }
                
                
                
                
    /* Main menu */
    
        .main-menu {
            border-top: 1px solid #fff;
            background-color: #3683B7;
        }
        
            .main-menu .wrapper {
                overflow: visible;
            }
        
            .main-menu ul {
                width: 100%;
                overflow: hidden;
                border-left: 1px solid #fff;
            }
            
                .main-menu ul li {
                    width: 25%;
                    float: left;
                    font-size: 1.3em;
                    font-weight: bold;
                    padding: .5em 0;
                    text-align: center;
                    text-transform: uppercase;
                    background: url("../images/separator-main-menu.gif") repeat-y right top;
                }
                
                    .main-menu ul li.selected {
                        background-color: #CBCF9C;
                    }

                
                    .main-menu ul li.last {
                        background: none;
                    }
                
                    .main-menu ul li a {
                        display: block;
                        color: #fff;
                        text-decoration: none;
                    }
                    
                    .main-menu ul li a:hover {
                        text-decoration: underline;
                    }
                    
                
                

    /* Main content area */
    
        .main {
            margin-top: 0;
            padding-bottom: 5em;
        }
            
            .main .home-content {
                margin-top: 4.5em;
            }
        
        
        /* Breadcrumb */
        
            .breadcrumb {
                margin: 0;
                padding: 1em 0 1.8em 0; 
                font-size: 1.1em;
            }
            
                .breadcrumb ul {
                    width: 100%;
                    overflow: hidden;
                }
                
                    .breadcrumb ul li {
                        float: left;
                        padding-right: 1em;
                        margin-right: .6em;
                        background: url("../images/breadcrumb-separator.gif") no-repeat right center;
                    }
                    
                        .breadcrumb ul li.last {
                            background: none;
                        }
    
    
        /* Guest editor */
        
            .left-column {
                width: 25em;
                float: left;
            }

            .guest-editor {
                width: 25em;
                float: left;
                background: #EFF0E0 url("../images/background-guest-editor.gif") repeat-x left bottom;
            }
            
                .guest-editor .data {
                    padding: 1em 1.4em;
                }
                
                .guest-editor img {
                    float: left;
                    display: block;
                    margin: 0 1em 0 0;
                    border: 1px solid #ccc;
                }
        
                .guest-editor h2 {
                    background-color: #3683B7;
                    color: #fff;
                    font-size: 1.4em;
                    font-weight: normal;
                    margin-bottom: 2px;
                    border-bottom: 2px solid #fff;
                    padding: 0.3em 1em;
                }
                
                .guest-editor h3 {
                    color: #847868;
                    font-size: 1.2em;
                    margin: 0 0 .2em 0;
                }
                
                .guest-editor h4 {
                    clear: left;
                    color: #3683B7;
                    font-size: 1.4em;
                    padding-top: 1em;                   
                    margin-bottom: .8em;                    
                }
                
                .guest-editor p {
                    font-size: 1.2em;
                    margin-bottom: 1em;
                }
                
                .guest-editor p.description {
                    font-size: 1.1em;
                    margin-bottom: 0;
                }
                
                .guest-editor p.download {
                    margin-top: 2em;
                    font-size: 1.1em;
                }               
                
                    .guest-editor p.download a {
                        padding-left: 1.5em;
                        background: url("/agbar_resources/images/icons/document.gif") no-repeat left center;
                    }
                    
                    
                    
                    
                    
	/* Menu local */

		.local-menu {
			width: 17em;
			float: left;
		}

			.local-menu h2 {
				margin: 0 0 3px 0;
				padding: .5em .6em;
				color: #fff;
				font-size: 1.1em;
                background-color: #3683B7;
			}

			.local-menu ul {
			}

				.local-menu ul li {
					font-size: 1.1em;
					margin-bottom: 3px;
					border: 1px solid #DEDCDC;
				}

					.local-menu ul li a {
						display: block;
						padding: .3em .6em;
						color: #666;
						text-decoration: none;
					}

					.local-menu ul li.selected a {
						font-weight: bold;
						background-color: #f0f0f0;
					}

						.local-menu ul li a:hover {
							text-decoration: underline;
						}

						.local-menu ul li ul {                            
							margin-top: .2em;
							padding-bottom: .1em;
						}

							.local-menu ul li ul li {
								font-size: 1em;
								margin-bottom: 0;
								margin-left: 1em;
								border: none;
                                background: #fff;
							}	
                                
								.local-menu ul li ul li a {
									border: none;
                                    font-weight: normal !important;
                                    background: none !important;
								}
                                
                                    .local-menu ul li ul li.selected a {
                                        font-weight: bold !important;
                                        background: url("../images/li-li-menu-local.gif") no-repeat left center !important;
                                    }




        /* Text area */
        
            .text-area {
                float: left;
                margin-left: 3em;
            }
        
            .home-text-area {   width: 47.5em; }            
            .inner-text-area {  width: 56.0em; }
                
                .text-area h2 {
                    color: #847868;
                    font-size: 2em;
                    margin-bottom: 1em;
                }
                
                .text-area h3 {
                    color: #847868;
                    font-size: 1.6em;
                    margin: 1.1em 0 1em 0;
                    padding-bottom: .4em;
                    border-bottom: 1px dotted #ccc;
                }
                
                .text-area p {
                    color: #666;
                    font-size: 1.2em;
                    line-height: 1.4em;
                    margin-bottom: 1em;
                }
                
                .text-area p.back {
                    float: right;
                    font-size: 1.1em;
                    padding-left: .8em;
                    background: url("../images/back-icon.gif") no-repeat left center;
                }
            
                .text-area .highlighted-text p {                    
                    color: #666;
                    font-size: 1.4em;
                    margin-bottom: 1em;
                }
                
                .text-area ul,
                .text-area ol {
                    margin-bottom: 2em;
                }

                    .text-area ul li {                    
                        color: #666;
                        font-size: 1.2em;
                        background: url("../images/li-text.gif") no-repeat .6em .4em;
                        margin-bottom: 1em;
                        padding-left: 1.5em;
                    }
                    
                    .text-area ol li {
                        color: #666;
                        font-size: 1.2em;                        
                        margin-bottom: 1em;
                        margin-left: 2.2em;
                        list-style: decimal;
                    }
                    
                    
                    
                /* Form responses */
                    
                    .text-area ul.errors {
                        background:#F2CCCC none repeat scroll 0 0;
                        border:1px solid #CC3333;
                        margin:0 0 3em;
                        padding: 1em;
                    }

                    .text-area ul.errors li {
                        background:transparent none repeat scroll 0 0;
                        line-height:2.5em;
                        padding-left:2em;
                        margin-bottom:0.25em;
                        font-weight:bold;
                    }
                    
                    .text-area div.info {
                        background-color:#E0E2C2;
                        border:1px solid #847868;
                        color:#847868;
                        font-size:1.2em;
                        font-weight:bold;
                        padding:2em;
                    }

                    
                    
                /* Options menu (at homepage) */
            
                    .text-area ul.options-menu {
                        margin: 2em 0;
                    }
                    
                        .text-area ul.options-menu li {
                            color: #333;
                            font-size: 1.4em;
                            padding: .4em 1em;
                            margin-bottom: .7em;
                            background: #68A2C9;
                        }
                        
                            .text-area ul.options-menu li a {
                                color: #fff;
                                text-decoration: none;
                            }
                            
                            .text-area ul.options-menu li a:hover {
                                text-decoration: underline;
                            }

                            
                            
                            
            /* Location map */

                .text-area .pdf-print {
                    font-size: 1.2em;
                    text-align: right;
                    margin: -0.8em 7em 3em 0;
                }

                    .text-area .pdf-print a {
                        padding: .2em 0 .2em 2em;
                        background: url("/agbar_resources/images/icons/pdf.gif") no-repeat left center;
                    }


                .text-area .left-legend {
                    width: 48%;
                    float: left;
                    font-size: 1.1em;
                }

                    .text-area .left-legend li {
                        padding: .2em 0 .2em 2.8em;
                        margin-bottom: .7em;
                    }

                    .text-area .left-legend li.metro { background: url("/agbar_resources/images/icons/metro.gif") no-repeat left center; }
                    .text-area .left-legend li.trambaix { background: url("/agbar_resources/images/icons/trambaix.gif") no-repeat .5em center; }
                    .text-area .left-legend li.ferrocarrils { background: url("/agbar_resources/images/icons/ferrocarrils.gif") no-repeat .5em center; }
                    .text-area .left-legend li.renfe { background: url("/agbar_resources/images/icons/renfe.gif") no-repeat .5em center; }
                    .text-area .left-legend li.autobusos { background: url("/agbar_resources/images/icons/autobusos.gif") no-repeat .5em center; }
                    .text-area .left-legend li.aparcament { background: url("/agbar_resources/images/icons/aparcament.gif") no-repeat .5em center; }

                .text-area .right-legend {
                    width: 48%;
                    float: right;
                    font-size: 1.1em;
                }

                    .text-area .right-legend li {
                        padding: .2em 0 .2em 2em;
                        margin-bottom: .7em;
                    }

                    .text-area .right-legend li.numero-1 { background: url("/agbar_resources/images/icons/numero_1.gif") no-repeat left center; }
                    .text-area .right-legend li.numero-2 { background: url("/agbar_resources/images/icons/numero_2.gif") no-repeat left center; }
                    .text-area .right-legend li.numero-3 { background: url("/agbar_resources/images/icons/numero_3.gif") no-repeat left center; }
                    .text-area .right-legend li.numero-4 { background: url("/agbar_resources/images/icons/numero_4.gif") no-repeat left center; }
                    .text-area .right-legend li.numero-5 { background: url("/agbar_resources/images/icons/numero_5.gif") no-repeat left center; }
                    .text-area .right-legend li.numero-6 { background: url("/agbar_resources/images/icons/numero_6.gif") no-repeat left center; }
                    .text-area .right-legend li.numero-7 { background: url("/agbar_resources/images/icons/numero_7.gif") no-repeat left center; }
                    .text-area .right-legend li.numero-8 { background: url("/agbar_resources/images/icons/numero_8.gif") no-repeat left center; }




            /* Image alignment */
                        
                .text-area img {                
                }
                
                    .text-area img.right {
                        float: right;
                        margin: 0 0 .5em 1.5em;
                    }
                    
                    .text-area img.left {
                        float: left;
                        margin: 0 1.5em .5em 0;
                    }
            
            
                    
            /* Bloc de text destacat */

                .text-area div.highlighted {
                    width: 52em;
                    overflow: hidden;
                    margin-bottom: 2.5em;
                    padding: 2em;
                    background-color: #EFF0E0;
                }

                    .text-area div.highlighted p {
                        color: #666;
                        font-size: 1.4em;
                        margin: 0;
                    }

                    .text-area div.highlighted img {
                        float: left;
                        display: block;
                        margin-right: 1em;
                    }
            
            
            
            
        /* Standard form */
        
            .text-area form.Form {
                margin: 3em 0;
                padding: 1em 0;
            }
            
                .text-area form.Form .required_fields_legend {
                    color: #666;
                    font-size: 1.1em;
                    margin-bottom: 2em;
                }
            
                .text-area form.Form legend {
                    display: none;
                }
                
                .text-area form.Form fieldset {
                    margin: 0;
                    padding: 0;
                    border: none;
                }
            
                .text-area form.Form .field {
                    margin-bottom: 1.4em;                    
                }   
                
                    .text-area form.Form .title_field input,
                    .text-area form.Form .surname_field input,
                    .text-area form.Form .university_field input,
                    .text-area form.Form .theme_field select,
                    .text-area form.Form .email_field input {
                        width: 25em;
                        font-size: 1.2em;
                        font-family: Arial, Verdana, sans-serif;
                    }
                    
                    .text-area form.Form .field label {
                        float: left;
                        width: 8em;
                        color: #666;
                        line-height: 1.5em;
                        font-size: 1.2em;
                        clear: left;
                    }
                    
                    .text-area form.Form .required_mark {
                        color: #FF0000;
                        padding-left: .3em;
                        font-family: Verdana, Arial, sans-serif;                                            
                    }
                    
                    .text-area form.Form .upload_1_field input,
                    .text-area form.Form .upload_2_field input {
                        width: 25.5em;
                        font-size: 1.2em;
                        font-family: Arial, Verdana, sans-serif;
                    }
                    
                    .text-area form.Form .upload_1_field {
                        margin-bottom: .5em;
                    }
                    
                    .text-area form.Form .upload_2_field input {
                        margin-top: 0;
                        margin-left: 8em;
                        clear: left;
                    }
                    
                    .text-area form.Form .buttons button {
                        font-size: 1.2em;
                        margin-left: 8em;
                    }
                    
                    
                    
                    
    /* Guest editor profile detail */

        .text-area .block-guest {
            padding: 2em 0;
            background: url("../images/background_guest_interior.gif") repeat-x left 2px;
        }

            .text-area .block-guest .header {
                width: 51em;
                margin: 0 auto;
                overflow: hidden;
                background-color: transparent !important;
            }

                .text-area .block-guest .header img {
                    float: left;
                    display: block;
                    margin: 0 1.5em 0 0;
                }

                .text-area .block-guest .header h3 {
                    font-size: 1.2em;
                    margin: 0;
                    border: none;
                }

                .text-area .block-guest .header p.description {
                    color: #666;
                    font-size: 1.1em;
                    margin: 0;
                }

            .text-area .block-guest .article {
                width: 51em;
                overflow: hidden;
                margin: 1em auto 0 auto;
            }

                .text-area .block-guest .article h4 {
                    color: #666;
                    font-size: 1.8em;
                    font-weight: normal;
                    margin-top: .5em;
                    margin-bottom: 0;
                }

                .text-area p.introduccio {
                    font-size: 1.4em;
                    margin-bottom: 1.8em;
                }
                
                
                
                
		/* Guest editor list */

			.text-area .guests-listing {
				margin-bottom: 0;
			}

				.text-area .guests-listing li {
					width: 53em;
                    overflow: hidden;
                    margin: 0;                    
					padding: 1em 1.5em 0 1.5em;
                    font-size: 1em;
					background-image: none;
					/*border-bottom: 1px solid #ddd;*/
				}

					.text-area .guests-listing li.principal {
						padding-top: 0;
						background: none;
					}

					.text-area .guests-listing li .data {
                        float: right;
                        width: 44em;
					}

					.text-area .guests-listing li img {
						float: left;
					}

					.text-area .guests-listing li p.author {
						font-size: 1.2em;
						margin: 0;
						padding: 0;
						border: none;
                        font-weight: bold;
					}

					.text-area .guests-listing li p.description {
						font-size: 1.1em;
						margin: 0;
					}

					.text-area .guests-listing li p.summary {
						font-size: 1em;
					}

					.text-area .guests-listing li p.download {
						text-align: right;
						font-size: 1.1em;
					}



        /* Estils dels elements laterals */

            .side-area {                
                float: right;
                width: 15em;
            }

                .side-area ul {
                }

                    .side-area ul li {
                        margin-bottom: 1.5em;					
                    }

                        .side-area .related {
                            margin-bottom: 1.5em;
                            border: 1px solid #DEDCDC;
                            background-color: #fff;                            
                        }

                            .side-area .related h2 {
                                padding: .3em .5em;
                                margin-bottom: .5em;
                                color: #333;
                                font-size: 1.1em;
                                font-weight: normal;
                                background-color: #EFF0E0;
                            }

                            .side-area .related ul li li {
                                margin-bottom: 1em;
                            }

                            .side-area .related ul li p {
                                font-size: 1.1em;
                                padding: 0 .6em;
                            }

                                .side-area .related ul li p.type {
                                    color: #333;
                                    font-weight: bold;
                                }

                                .side-area .related ul li p.title {
                                    color: #757641;
                                    font-weight: bold;
                                }

                                    .side-area .related ul li p.title a {
                                        color: #757641;
                                    }

                                .side-area .related ul li p.description {
                                    color: #666;
                                }

                                
                            .side-area .banners ul li {                                
                            }
                                
                            .side-area .banners ul li img {                                
                                width: 100%;
                                font-size: 1em;
                                display: block;
                                border-bottom: 6px solid #EFF0E0;                                
                            }

                
                

        /* Logo area */
        
            .logo-area {
                clear: both;
            }
            
                .logo-area ul {
                    padding-top: 7em;
                }
                
                    .logo-area ul li {
                        display: inline;
                        margin: 0 2.6em 0 0;
                        padding: 0;
                        font-size: 1em;
                        background: none;
                    }
                    
                    .inner-text-area .logo-area ul li {
                        margin: 0 3.5em 0 0;
                    }
                    
                        .logo-area ul li.last {
                            margin-right: 0;
                        }
                        
                        /*
                        .logo-area ul li.icon-agbar img { width: 14em; }
                        .logo-area ul li.icon-iwa img { width: 14em; }
                        .logo-area ul li.icon-cetaqua img { width: 6em; }
                        */
                        
                        .logo-area ul li img {
                            vertical-align: middle;
                        }



    /* Footer */
    
		.footer {
			clear: both;			
		}
        
            .footer .wrapper {
                border-top: 1px solid #D9D9D9;
            }
			
			.footer address {
				float: left;
				margin: 1em;
				color: #666;
				font-size: 1.1em;
				font-style: normal;
			}
			
				.footer address strong {
					color: #4570B7;
				}
			
			.footer ul {
				float: right;
				margin: 1em;
			}
			
				.footer ul li {
					float: left;
					display: block;
					margin-right: .7em;
					padding-right: .7em;
                    font-size: 1.1em;
					border-right: 1px solid #666;
				}
				
					.footer ul li.last {
						margin-right: 0;
						padding-right: 0;
						border-right: none;
					}
				
					.footer ul li a {					
						color: #666;
					}

