/* Screen layout: */

body
{
    padding: 15px 0 0 0;
    margin: 0;
    font: 76% tahoma, verdana, sans-serif; /*background:#e0e0e0;*/
    background: #505050;
    color: #303030;
}

a
{
    color: #303030;
    text-decoration: none;
    border-bottom: 1px dotted #505050;
}

a:hover
{
    color: #303030;
    text-decoration: none;
    border-bottom: 1px solid #505050;
}

h1
{
    margin: 0 0 20px 0;
    font-size: 2.2em;
    font-weight: normal;
}

h2
{
    margin: 0 0 12px 0;
    font-size: 1.6em;
    font-weight: normal;
}

h3
{
    margin: 0 0 10px 0;
    font-size: 1.4em;
    font-weight: normal;
}

#main h3
{
    font-weight: bold;
}

h4
{
    margin: 0 0 10px 0;
    font-size: 1.2em;
    font-weight: normal;
}

#main h4
{
    font-weight: bold;
}

p
{
    margin: 0 0 15px 0;
    line-height: 1.5em;
    text-align: left;
}

a img
{
    border: 0;
}

/*#img_empresas a:active,a:link,a:hover,a:visited
{
    border: 0;
    text-decoration: none;
}*/
/* Main container */

#container
{
    margin: 0 auto 20px auto;
    width: 730px;
    padding: 5px 20px 20px 20px; /*background:#ffffff;*/
    background: #E7E6D8;
    border: 2px solid #ffffff;
}

/* Site title section */

#logo
{ 
    margin: 0px 0px -10px 0;
    padding: 5px 0px 5px 0;
/*    background: url(img/logo_grupo.gif) top right no-repeat;*/
    background: url(img/logo-grupo-7.gif) top left no-repeat;
    border-top: #d8d8d8 1px solid
    /*background-color: #ffffff; /*AA003A*/
}

#logo h1 a
{
    color: #ffffff; /*505050 */ 
    border: none;
}

#logo h1 a:hover
{
    color: #ffffff; /* 303030*/
    text-decoration: none;
    border: none;
}
/* Toptab menu */

#toptabs
{
    /*margin : 10px auto -13px auto;*/
    /*margin: 0px auto 0px auto;
    font-size: 0.8em;
    width: 760px;
    text-align: right;*/
}

#toptabs p
{
    /*text-align: right;
    color: #808080;*/
}

.toptab
{
    /*padding: 4px 5px 3px 5px;
    margin: 0 0 0 4px;
    text-decoration: none;
    background: #f0f0f0 url(img/corner2.gif) top right no-repeat;
    border-bottom: 1px solid #e0e0e0;
    color: #808080;*/
    
}

.toptab:hover
{
    /*background: #fafafa url(img/corner2.gif) top right no-repeat;
    border-bottom: 1px solid #eaeaea;
    color: #505050;
    text-decoration: none;*/
}

.activetoptab
{
    /*padding: 4px 5px 3px 5px;
    margin: 0 0 0 4px;

    background: #f0f0f0 url(img/corner2.gif) top right no-repeat;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #aa003a;*/
}

.activetoptab:hover
{
    /*color: #aa003a;
    text-decoration: none;
    border-bottom: 1px solid #ffffff;*/
}

.activetoptab img
{
    /*padding-top: 0px;*/
}

/* Navitab menu */

#navitabs
{
    clear: both;
}

.navitab
{
    padding: 0px 8px 4px 8px;
    margin: 0 0 0px 0;
    text-decoration: none;
    font-size: 1.1em;
    background: #e0e0e0 url(img/corner_oscura.gif) top right no-repeat; /*border-bottom:1px solid #ffffff;*/
    border-bottom: 1px solid #e0e0e0;
    border-left: 1px solid #ffffff;
}

.navitab a:hover
{
    text-decoration: none;
    background: #d0d0d0 url(img/corner_oscura.gif) top right no-repeat;
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
}

.activenavitab
{
    padding: 0px 8px 5px 8px;
    margin: 0 0 5px 0;
    font-size: 1.1em;
    text-decoration: none; 
    /*background:#505050 url(img/corner.gif) top right no-repeat;*/ 
    /*background:#484848 url(img/corner_oscura.gif) top right no-repeat;*/
    background: #505050 url(img/corner_oscura.gif) top right no-repeat;
    color: white;
}

.activenavitab a:hover
{
    color: #303030;
    text-decoration: none;
    border-bottom: 1px solid #505050;
}
/*
#activenavitab a:visited
{
    text-decoration: none;
    color: red;
}

#activenavitab a:actived
{
    text-decoration: none;
    color: red;
}
#activenavitab a:link
{
    text-decoration: none;
    color: red;
}
*/
/* Header description */

#desc
{
    height: 145px; /*color:#ffffff;*/
    color: #484848;
    padding: 0; /*background:#484848 url(img/logo_top.gif) top right no-repeat;*/
    background: #484848 url(img/logo_portada_grupo_2.jpg) top right no-repeat;
    clear: both;
    margin: 5px 0 15px 0;
    border: 1px solid #E0E0E0;
}

#desc p
{
    width: 290px;
    font-size: 0.9em;
    line-height: 1.3em;
    padding: 0 0 0 15px;
}

#desc h2
{
    padding: 15px 15px 0 15px; /*color:#ffffff;*/
    color: #484848;
}

#desc a
{
    /*color:#ffffff;*/
    color: #484848;
    text-decoration: underline;
    border-color: #ffffff;
}

/* Main content */

#main
{
    width: 550px;
    float: left;
    padding: 0 15px 0 0;
    margin: 0;
    border-right: 1px solid #d8d8d8;
    font-size: 0.9em;
}

.sangrado
{
    margin-left: 13px;
}


/* Sidebar */

#sidebar
{
    width: 150px;
    float: right;
}

#sidebar p
{
    font-size: 0.9em;
    line-height: 1.3em;
    margin: 0 0 15px 0;
    padding-left: 5px;
}

#sidebar h4
{
    background-color: #707070;
    color: #e1d8d8;
    padding: 0 0 3px 5px;
    line-height: 1.1em;
}

#sidebar img
{
    text-align: center;
}

#skyscraper
{
    padding-left: 0px;
    border: 1px solid #D0D0D0;
}

#seccion
{
    border: 1px solid gray;
}

/* Footer */

#footer
{
    clear: both;
    background: #fafafa;
    padding: 0;
    margin: 0;
    border-top: 1px solid #d8d8d8;
}

#footer a
{
    color: #808080;
}

#footer a:hover
{
    color: #303030;
}

#footer p
{
    color: #808080;
    font-size: 0.9em;
    line-height: 1em;
    margin: 5px 0 0 0;
    padding: 0 0 10px 0;
    text-align: center;
}

/* Various classes */

.photo
{
    padding: 2px;
    margin: 0 0 8px 0;
    background-color: #f0f0f0;
    border: 1px solid #d8d8d8;
}

.right
{
    margin-top: -8px;
    text-align: right;
}

.block
{
    background: #f0f0f0;
    padding: 10px;
    border: 1px solid #AA003A;
}

.block span
{
    padding-left: 10px;
}

.sidelink
{
    text-align: left;
    display: block;
    width: 140px;
    background: #f0f0f0 url(img/corner_oscura.gif) top right no-repeat;
    padding: 3px 4px 3px 8px;
    margin: 5px 10px 5px 0;
    border: none;
}

.sidelink a:hover
{
    background: #e0e0e0 url(img/corner_oscura.gif) top right no-repeat;
    text-decoration: none;
    border: none;
}

.hide
{
    display: none;
}

.empresas
{
    font-size: 0.9em;
    font-weight: bold;
    color: #AA003A;
    text-align: center;
    padding: 5px 0 10px 0;
}


/* LISTA DE ENLACES DE LAS EMPRESAS. */
#lista_ficha
{
    margin: 0px;
    padding: 0px;
    margin-left: 30px;
}
#lista_ficha li
{
    list-style-image: url(img/flecha.gif);
    padding-bottom: 3px;
    font-weight: bold;
}
