/* ===== Main areas ===== */
body {
    margin: 0;
    padding: 0;
    text-align:center;
}

#iewrap {
    max-width: 1050px;
    min-width: 730px;
    margin: 0px auto;
    text-align:left;
    padding: 0;
}

#iewrap2 {margin: 0 20px; padding: 0;}

#header {
    padding: 0;
    margin: 0;
    min-height: 147px;
    position: relative;
}

#outerwrap {
    width: 100%; 
    float: right;
    margin: 0 0 0 -200px;
    padding: 0;
}

#main {
    margin: 0 0 0 200px;     
    padding: 0;
    position: relative;
}

#content {
    margin: 0 163px 0 0;
    padding: 10px 10px 0 10px;
}

#innerwrap {
    width: 100%; 
    float: left;
    margin: 0 -200px 0 0;
    padding: 0;
}

#related {
    float:right;
    width: 150px;
    margin-bottom: 0;
    margin-top: 0;
}

#navigation {
    float:left;
    width: 185px;
    font-size: 105%;
    line-height: 1.3em;
    margin: 70px 0 0 0;
    padding: 0;
}

#footer {
    clear: both;
    padding: 5px;
    margin:10px 0 0;
}

/* homepage variants */

.index #header {height: 250px; padding-bottom: 0;}

.index #content {padding: 0;}

.index #related {margin-top: -5px;}

/* ===== Header ===== */

#header img.logo {
    position:absolute;
    left: -200px; 
    top: -7px;
}

#header ul, #header form  {
    /*width: auto;*/
    float: right;
    padding: 0;
    margin: 10px 5px 20px 0;
}

#header li {
    display: inline;
    margin: 0;
}

#header h1 {padding-bottom: 1.5em;}

/*=== sub-header ===*/

#sub-header {position: absolute; width: 100%; left: 0; margin:0; bottom: 0; padding: 0;}

#sub-header .sw {left: 1px; bottom: 1px;}

#sub-header .se {right: 1px; bottom: 1px;}

/* General */
.image-left, img.alignleft {position: relative;float: left;}
.image-inline, img.inline {display:block;}
.image-right, img.alignright {float:right;clear: right;}

.alignleft {float: left; margin: 5px 10px 10px 0;}
.alignright {float: right; margin: 5px 0 10px 10px;}
.centered {display: block; margin: 10px auto; padding: 10px 0; text-align:center;}
.taller {padding-top: 15px !important; padding-bottom: 15px !important;}
.casestudy-alignright {float: right;}

.email-friend, .print {float: right;padding: 10px 0 10px 22px; margin: 0 0 0 10px;}
.print {margin-right: 10px; padding-left: 0; padding-right: 27px;}
.breadcrumbs {list-style-type: none;margin: 10px 6em 0 15px; padding: 0; font-size: 0.9em;}
.breadcrumbs li {float:left;padding: 10px 0 5px 5px;margin: 0;}


h1 {clear: both;}

.two-col1 {
    float: left;
    width: 50%;
}

.two-col2 {
    float: right;
    width: 50%;
}

.box {
    margin: 10px 0 0 0;
    position:relative;
    clear:both;    
}
    
.two-col1 .box {
    margin-right: 5px;
}

.two-col2 .box {
    margin-left: 5px;
}

div.alignright {
    width: 45%;
    float:right;
    clear: both;
    margin-left: 10px;
}

div.alignleft {
    width: 45%;
    float:left;
    clear: both;
    margin-right: 10px;
}
    
.two-col1 .box p, .two-col2 .box p {
    padding-left: 50%;
    padding-bottom: 1em; /* bottom margin to prevent overlap with link */
    min-height: 120px;
}

.box a {
    display: block;
    clear: both;
}


/* Rounded Corners */

.rounded {
    position: relative;
}

 .nw, .ne, .sw, .se {
    position: absolute;
    margin: 0;
    font-size: 1px;
    height: 5px;
    width: 5px;
    overflow: hidden;
    padding: 0;
}

.nw {
    top: 0;
    left: 0;
}

 .ne {
    top: 0;
    right: 0;
}

 .sw {
    left: 0;
    bottom: 0;
}

.se {
    right: 0;
    bottom: 0;
}
.sidebox .nw {margin-top: -1px; margin-left: -1px;}
.sidebox .ne {margin-top: -1px; margin-right: -1px;}
.sidebox .sw, #sub-header .sw {margin-bottom: -1px; margin-left: -1px;}
.sidebox .se, #sub-header .se {margin-bottom: -1px; margin-right: -1px;}

#content ul.image-list {list-style-image: none; width: 100%;}
#content .image-list li {width: 48%; float: left;height: 100px; margin-right: 10px;background-image: none;padding: 0;}

#content .article-indent {margin-left: 30px; font-size: 1.2em;}

/* forms */

#content fieldset {
    margin: 10px 0;
    padding: 0;
    color: #036;
    border-width: 0;
    
}

#content form .row {
    margin: 6px 0;
    padding: 0 0 10px 0;
    clear: left;
    }

#content form .submit-row {
    text-align: right;
    padding-right: 10px
    }

#content .row label {
    float: left;
    width: 30%;
    text-align:right;
    padding: 0 5px 0 0;
}

#content .row input, #content .row textarea, #content .row select {
    /*float: left;*/
    width: 60%;
    padding: 2px;
    margin-bottom: 2px;
}

/* ===== Related ===== */

.sidebox {
    margin: 10px 0;
    position:relative;
}

.sidebox .centered {display: block;margin: 0 auto 10px auto; /* \*/position: relative; /* */ /* PR to fix safari issue with bottom corners */}
    
/* ===== Navigation ===== */
#navigation #mainnav {margin-bottom: 20px;}
.event, .news {margin: 10px 0;clear:left;padding: 0;}
#navigation ul.news {clear: left;}

#navigation .news li {margin: 0;min-height: 4.3em;}

/*=== wide page templates ===*/

.wide #related {display: none;}

.wide #content {margin-right: 0;}

.wide #wrap2 {margin: 0;}

.bg_head {
	background-image: url(../images/cabecera_new.jpg);
	background-repeat: no-repeat;
	background-position: left;
}
