/**********************************************************************
 * Reset
 **********************************************************************/

    *
    {
        margin: 0;
        padding: 0;
        border-width: 0;
        font-size: 1em;
        text-decoration: none;
    }
    
    ul, ol
    {
        list-style: none;
    }

/**********************************************************************
 * General
 **********************************************************************/

    body
    {
        color: #222;
        background: #b3c4a6;
        font-size: 75%;
        font-family: Arial, Helvetica, sans-serif;
        line-height: 1.2em;
    }
    
    hr
    {
        border-bottom: 1px solid #999;
    }

/**********************************************************************
 * Wrappers
 **********************************************************************/

    #wrapper
    {
        width: 750px;
        margin: 0 auto;
        padding: 10px;
    }

    #wrapper02
    {
        border: 6px solid #fff;
    }

/**********************************************************************
 * Capçalera
 **********************************************************************/

    #header
    {
        margin: 20px 0 2px 0;
    }
    
    #header h1
    {
        font-size: 1.4em;
    }

/**********************************************************************
 * Menú
 **********************************************************************/

    ul#menu
    {
        border-bottom: 3px solid #fff;

        /* IE 7 clear hack */
        min-height: 1%;
    }

    ul#menu:after
    {
        clear: both;
        display: block;
        content: ".";
        height: 0;
        visibility: hidden;
    }

    /* IE clear hack */
    * html ul#menu
    {
        height: 1%;
    }

    ul#menu li
    {
        float: left;
        width: 123px;
    }

    ul#menu li a
    {
        display: block;
        font-size: 1.0em;
        font-weight: bold;
        color: #222;
        text-transform: uppercase;
        text-align: center;
        background: no-repeat 0 0;
        border-left: 3px solid #fff;
        padding-top: 119px;
        height: 1%; /* Sense això l'IE no agafa la imatge com a part de l'enllaç */
    }

    ul#menu li a span
    {
        display: block;
        border-top: 3px solid #fff;
        padding: 2px 1px;
    }

    ul#menu li a:hover,
    ul#menu li.Active a
    {
        color: #fff;
    }

    ul#menu li#menuOptionIntroduction a
    {
        border-left-width: 0;
        background-image: url(../images/menu/darker/introduction.jpg) 
    }

    ul#menu li#menuOptionIntroduction.Active a
    {
        background-image: url(../images/menu/greener/introduction.jpg) 
    }

    ul#menu li#menuOptionTheFirm a
    {
        background-image: url(../images/menu/darker/the-firm.jpg) 
    }

    ul#menu li#menuOptionTheFirm.Active a
    {
        background-image: url(../images/menu/greener/the-firm.jpg) 
    }

    ul#menu li#menuOptionLawyers a
    {
        background-image: url(../images/menu/darker/lawyers.jpg) 
    }

    ul#menu li#menuOptionLawyers.Active a
    {
        background-image: url(../images/menu/greener/lawyers.jpg) 
    }

    ul#menu li#menuOptionAreasOfPractice a
    {
        background-image: url(../images/menu/darker/areas-of-practice.jpg) 
    }

    ul#menu li#menuOptionAreasOfPractice.Active a
    {
        background-image: url(../images/menu/greener/areas-of-practice.jpg) 
    }

    ul#menu li#menuOptionActivities a
    {
        background-image: url(../images/menu/darker/activities.jpg) 
    }

    ul#menu li#menuOptionActivities.Active a
    {
        background-image: url(../images/menu/greener/activities.jpg) 
    }

    ul#menu li#menuOptionContact a
    {
        background-image: url(../images/menu/darker/contact.jpg) 
    }

    ul#menu li#menuOptionContact.Active a
    {
        background-image: url(../images/menu/greener/contact.jpg) 
    }

/**********************************************************************
 * Principal
 **********************************************************************/

    #main
    {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        background: #dce4d6;
        padding: 10px;

        /* IE 7 clear hack */
        min-height: 1%;

        min-height: 30em;
    }

    #main:after
    {
        clear: both;
        display: block;
        content: ".";
        height: 0;
        visibility: hidden;
    }

    /* IE clear hack */
    * html #main
    {
        height: 1%;
        height: 30em;
    }

    body.SidebarMenu #main
    {
        background-image: url(../images/main-background.jpg);
        background-repeat: repeat-y;
        background-position: 0 0;
    }

    #main p
    {
        margin: 1em 0;
    }

    #main .LeftAligned
    {
        float: left;
        margin: 0 1em 1em 0;
    }

    #main .RightAligned
    {
        float: right;
        margin: 0 0 1em 1em;
    }

    #main ul,
    #main ol
    {
        /*
        padding-left: 1.4em;
        list-style: square;
        */
    }

    #main ul ul,
    #main ol ul
    {
        padding-left: 1.4em;
        list-style: square url(../images/bullet.gif);
    }

    #main ul li,
    #main ol li
    {
        margin: 0.3em 0;
    }

/**********************************************************************
 * Barra lateral
 **********************************************************************/

    #sidebar
    {
        margin-right: 481px;
    }

    body.SidebarMenu #sidebar
    {
        background: #b3c4a6;
    }

    body.SidebarMenu #sidebar a
    {
        color: #333;
        font-weight: bold;
    }

    body.SidebarMenu #sidebar a:visited
    {
        color: #555;
    }

    body.SidebarMenu #sidebar a:hover
    {
        text-decoration: underline;
    }

/**********************************************************************
 * Contingut
 **********************************************************************/

    #content
    {
        /* IE 7 clear hack */
        min-height: 1%;
    }

    body.SidebarMenu #content,
    body.SidebarDecoration #content
    {
        float: right;
        width: 472px;
    }

    #content:after
    {
        clear: both;
        display: block;
        content: ".";
        height: 0;
        visibility: hidden;
    }

    /* IE clear hack */
    * html #content
    {
        height: 1%;
    }

    #content h2
    {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1.6em;
        margin-bottom: 15px;
    }

    #content h3
    {
        font-size: 1.2em;
        margin: 1em 0;
    }

    #content img.Photo
    {
        padding: 3px;
        background: white;
    }

    #content a
    {
        color: #2c401c;
        font-weight: bold;
    }

    #content a:visited
    {
        color: #626b5b;
    }

    #content a:hover
    {
        color: #2c401c;
        text-decoration: underline;
    }

    #content h4
    {
        font-size: 1.2em;
        margin: 1.2em 0;
    }

/**********************************************************************
 * Peu de pàgina
 **********************************************************************/

    #footer
    {
        font-size: 0.8em;
        text-transform: uppercase;
    
        margin: 0 6px 0 9px;
    
        /* IE 7 clear hack */
        min-height: 1%;
    }
    
    #footer:after
    {
        clear: both;
        display: block;
        content: ".";
        height: 0;
        visibility: hidden;
    }
    
    /* IE clear hack */
    * html #footer
    {
        height: 1%;
    }
    
    #footer a
    {
        font-weight: bold;
        color: #fff;
    }
    
    #footer a:hover
    {
        text-decoration: underline;
    }
    
    #footer ul#languages
    {
        float: left;
    }
    
    #footer ul#languages li
    {
        float: left;
        width: 123px;
    }
    
    #footer ul#languages li a
    {
        display: block;
        border-right: 3px solid #fff;
        padding: 0.2em 2em;
        text-align: center;
    }
    
    #footer ul#miscLinks
    {
        float: right;
    }
    
    #footer ul#miscLinks li
    {
        float: left;
        width: 123px;
    }
    
    #footer ul#miscLinks li a
    {
        display: block;
        border-left: 3px solid #fff;
        padding: 0.2em 2em;
        text-align: center;
    }

/**********************************************************************
 * Pàgines amb estil propi
 **********************************************************************/

    body#page_index #main
    {
        background: #b3c4a6;
    }
