/* ----- global styles ----- */
body {
    font-family: new helvetica, helvetica, arial;
    background: #d7dce0;
    color: #696969;
    font-size: 0.75em;
}

h1 {
    font-size: 3.33em;
}

h2 {
    font-size: 1.6em;
    line-height: 1.3em;
}

h3 {
    font-size: 1.17em;
}

a {
    text-decoration: none;
    color: #559911;
}

a:hover {
    border-bottom:1px dotted;
}

p  {
    line-height: 1.3em;
    font-size: 1em;
    text-align: left;
}

ul {
    line-height: 1.5em;
    font-size: 1em;
}

/* ----- Useful class ----- */
.visualClear {
    display: block;
    clear: both;
}

.imageLeft {
    float: left;
    margin-right: 0.5em;
}

/* ----- main layout ----- */
#container {
    margin: 0 auto 20px auto;
    width: 1024px;
}

/*#container.index {
    margin: auto;
}*/

body .withsidebar div#content-zone {
    width: auto;
}

/* ----- logo ----- */
#logo {
    float: left;
    margin: 2px 1em 0 46px;

}

#logo a:hover { 
    border-bottom: none;
}


/* ----- content ----- */

#content-top {
    background: transparent url(/media/themes/confia/img/content_back.jpg) no-repeat top left;
    height: 280px;
    margin-top: -11px;
    padding-top: 1em;
    width: 100%;
}

#content-top p {
    margin-right: 40px;
}

#content-top .imageLeft {
  margin:35px 26px 0 63px;
}

#content-top h2 {
    font-size: 2em;
}

#content-top ul {
    margin-left: 380px;
    margin-right: 50px;
    list-style: disc;
}

#content-down {
    background: transparent url(/media/themes/confia/img/content_back_no_repeat.jpg) no-repeat left top;
    z-index: 999em;
    width: 100%;
    padding-bottom: 2.5em;
}

#content-down h2 {
    margin: 25px 0 20px 0;
    text-transform: uppercase;
}

#content-down p {
    width: 200px;
}

#slogan1,
#slogan2,
#slogan3 {
    float: left;
    width: 298px;
    border-top: 1px solid #bcbfc4;
}

.ie6 #slogan1,
.ie6 #slogan2,
.ie6 #slogan3 {
    margin: 0 15px;
}

#slogan1 {
    background: transparent url(/media/themes/confia/img/keys_icon.png) no-repeat right 58px;
    margin-left: 54px;
}

#slogan2 {
    background: transparent url(/media/themes/confia/img/services_icon.png) no-repeat right 58px;
    margin: 0 25px;
}

#slogan3 {
    background: transparent url(/media/themes/confia/img/documents_icon.png) no-repeat right 58px;
}

/* ----- header ----- */
#header {
    position: relative;
    display: block;
    height: 190px;
    background: transparent url(/media/themes/confia/img/header_content_back.jpg) no-repeat top left;
}

.index #header {
    height: 245px;
    background: transparent url(/media/themes/confia/img/header_back.jpg) no-repeat top left;
}

#header h1 {
    color: #757575;
    margin-top: 0;
    text-shadow: 1px 1px 0 white;
}

.index #header h1 {
    margin: 12px 0 10px 0;
}



li.linkAdmin {
    display: inline;
    padding: 7px 0 7px 8px;
    margin-right: 1em;
    text-transform: uppercase;
    background: transparent url(/media/themes/confia/img/button_left.gif) no-repeat left top;
}

li.linkAdmin a {
    padding: 7px 10px 7px 0;
    color: #828282;
    background: transparent url(/media/themes/confia/img/button_right.gif) no-repeat right top;
}

li.linkAdmin a:hover {
    border-bottom: none;
    color: #dddddd;
}

#site-branding {
    margin-left: 365px;
    margin-right: 20px;
}

#page-description {
    font-size: 1.33em;
    line-height: 1.4em;
    margin-right: 1.5em;
}

/* ----- footer ----- */
html, 
body {
    margin: 0;
    padding: 0;
    height: 100%;
}
#page-wrapper {
    position: relative;
    width: 100%;
    min-height: 100%;
    _height: 100%;
}

#container {
    padding-bottom: 150px;
    margin-bottom: 0;
}

#footer-wrapper {
    background: #053711 url(/media/themes/confia/img/footer_back.jpg) repeat-x left top;
    padding-top: 1em;
    width: 100%;
    height: 150px;
    position: absolute;
    bottom: 0;
}

#footer {
    padding: 0.5em;
    height: 120px;
    width: 960px;
    margin: 0 auto;
}

#footer,
#footer a {
    color: white;
}

#footer-left {
    float: left;
    margin-top: -13px;
    margin-left: 13px;
}

#footer-left p { 
    margin-left: 10px;
}

#footer-left h1 {
    margin: 0;
}

#confia-footer-logo a:hover {
    border-bottom: none;
}

#footer-right{
    float: right;
}

#footer-middle {
    text-align: right;
}


/* ----- navigation block ----- */
#navigation h1 {
    display: none;
}

#navigation ul.sections {
    float: right;
    padding: 0;
    margin-right: 15px;
}

#navigation ul.sections li {
    display: inline;
    float: left;
    margin-right: 1em;
    text-align: left;
}

#navigation ul.sections li a {
    color: #559911;
    text-transform: uppercase;
}

#navigation ul.sections ul.menu1 {
    padding-left: 0;
    margin: 0;
}

#navigation ul.sections ul.menu1 li {
    display: block;
    float: none;
}

#navigation ul.sections ul.menu1 li a {
    color: #fefeff;
    text-transform: capitalize;
}


/* portal-secondary-links */
#portal-secondary-links {
    float: left;
}


/* ----- breadcrumbs ----- */
#breadcrumbs {
    position: relative;
    margin-top: 10px;
    left: 355px;
    width: 620px;
}

#breadcrumbs a {
    color: #8c8d91;
}

/* -----  sidebar ----- */


/* ----- left sidebar ----- */
#left-sidebar {
    float: left; 
    width: 250px;
    margin: 10px 0 0 53px;
}


/* contentwrapper */
#contentwrapper {
    margin-top: 0.5em;
    line-height: 1.1em;
    font-size: 1em;
    text-align: left;
}

#contentwrapper #content.withsidebar {
    float: left;
    width: 610px;
    padding: 0;
    margin: 0 0 2.5em 55px;
}

#contentwrapper h1 {
    line-height: 1.2em;
}

#contentwrapper div.error-message {
    margin-bottom: 1.5em
}

/* ----- connected institutions and services information ----- */
table.connected-entities {
    width: 100%;
    border: none;
    margin: 20px auto;
    border-collapse: collapse;
}

table.connected-entities thead {
    background: transparent url(/media/themes/confia/img/table_header.jpg) no-repeat bottom center;
    font-weight: bold;
    font-size: 1.3em;
}

table.connected-entities thead td {
    padding: 0.5em 0.5em 0.8em;
    text-align: center;
    text-shadow:  1px 1px 0 white;
}

table.connected-entities thead td.status {
    width: 60px;
    padding: 0.5em 0 0.8em;
}

table.connected-entities tbody td {
    border-bottom: 1px solid #c9cdd1;
    border-left: 10px solid #D7DCE0;
    margin: 0px;
    padding: 5px;
}

table.connected-entities td.status-good {
    background: transparent url(/media/themes/confia/img/icon_ok.png) no-repeat center center;
    border-left: none;
}

table.connected-entities td.status-poor {
    background: transparent url(/media/themes/confia/img/icon_warning.png) no-repeat center center;
    border-left: none;
}

table.connected-entities td.status-bad {
    background: transparent url(/media/themes/confia/img/icon_bad.png) no-repeat center center;
    border-left: none;
}

table.connected-entities td.status-unknown {
    background: transparent url(/media/themes/confia/img/icon_unknown.png) no-repeat center center;
    border-left: none;
}


/* ----- right sidebar ----- */


/* ----- left sidebar ----- */


/* ----- form errors ----- */
ul.errorlist {
    margin: 0 !important;
    padding: 0 !important;
    color: white;
}

ul.errorlist li {
    background-color: red;
    border: 1px solid red;
    padding: 4px 5px 4px 25px;
}


/* ------ actions  ------ */
#content-actions {
    padding: 0;
}


/* ------ menus ----- */
#coremenu {
    background: transparent url(/media/themes/confia/img/menu_back_top.jpg) no-repeat left top;
    padding-top: 10px;
}

#coremenu div.blockBody {
    padding-bottom: 10px;
    background: transparent url(/media/themes/confia/img/menu_back_bottom.jpg) no-repeat left bottom;
}

#coremenu h1 {
    display: none;
}

#coremenu  ul.menu_ul {
    background: transparent url(/media/themes/confia/img/menu_back_body.jpg) repeat-y left top;
    padding: 0 1em;
    margin: 0;
}

#coremenu  ul.menu_ul li {
    border-top: 1px solid #c6c9cd;
    height: 40px;
}

#coremenu  ul.menu_ul li.first {
    border-top: none;
}

#coremenu ul.menu_ul a {
    text-transform: uppercase;
    color: #828282;
    text-decoration: none;
    padding: 5px 0 5px 2px;
    line-height: 40px;
}

div#coremenu ul.menu1 li a.menu1 {
    font-size: 1.08em;
}

div#coremenu ul.menu_ul li.item.selected {
    background: transparent url(/media/themes/confia/img/menu_back_active.png) no-repeat right top;
    margin: 0px -16px -2px 0;
    border: none;
}

.ie6 div#coremenu ul.menu_ul li.item.selected {
    background: transparent url(/media/themes/confia/img/menu_back_active.jpg) no-repeat right top;
}

div#coremenu ul.menu_ul li.item.selected a.selected  {
    text-decoration: none;
}


/* ----- feedback plugin ----- */
.theme-confia #feedback {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.theme-confia #feedback h1 {
    font-size: 1.5em;
}

.theme-confia #feedback #firstcomment div#firstactions {
    background: none;
}

.theme-confia #feedback #firstcomment .commentBody {
    font-weight: bold;
}

.theme-confia #feedback .actions a {
    color: black;
}

.theme-confia #feedback #firstcomment {
    position: relative;
}

.theme-confia #feedback #firstcomment .commentLink {
    font-size: 0.6em;
    right: 20px;
    color: gray;
    position: absolute;
}

.theme-confia #feedback #firstcomment h3,
.theme-confia #feedback #firstcomment .commentBody, 
.theme-confia #feedback #firstcomment .actions, 
.theme-confia #feedback .commentform,
.theme-confia #feedback #firstcomment .commentinfo {
    background-color: #eeeff3;
}



/* Styles for the entire LavaLamp menu */
#portal-primary-links ul {
    position: relative;
    height: 29px;
    padding: 15px 15px 15px 52px;
   /* width: 630px;*/
    margin: 0px;
    overflow: hidden;
}
/* Force the list to flow horizontally */
#portal-primary-links ul li {
    float: left;
    list-style: none;
    margin-right: 10px;
}
/* Represents the background of the highlighted menu-item. */
#portal-primary-links ul li.back {
    background: url(/media/themes/confia/img/lava.gif) no-repeat right -25px;
    width: 9px; height: 30px;
    z-index: 8;
    position: absolute;
}

#portal-primary-links ul li.back .left {
    background: url(/media/themes/confia/img/lava.gif) no-repeat top left;
    height: 30px;
    margin-right: 9px;
}

/* Styles for each menu-item. */
#portal-primary-links ul li a {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    text-transform: uppercase;
    color: #696969;
    outline: none;
    text-align: center;
    height: 30px;
    top: 3px;
    z-index: 10;
    letter-spacing: 0;
    float: left;
    display: block;
    margin: auto 10px;
    border-bottom: none;
}

#portal-primary-links ul li a:hover,
#portal-primary-links ul li.current a {
    color: white;
}

/* Savings */
div#tabs {
    width: 100%;
}

ul#legend{
    list-style: none;
    border-top: 1px solid #BCBFC4;
    padding: 1.5em 0.5em 0 0.5em;
}

ul#legend li {
    position: relative;
    width: 100%;
    line-height: 2em;
}

ul#legend li img {
    position: absolute;
    right: 0;
}

h3.ui-accordion-header {
    border: 1px solid #BCBFC4;
}

h3.selected {
    border: none;
}

div#tabs.ui-tabs-nav ul li a {
    width: 121px;
    padding: 0.5em 0;
    text-align: center;
}

div#tabs div table {
    width: 95%;
    margin: 0 auto;
}

div#tabs div table th {
    width: 80%;
}

form.savings input.input_parameter,
form.savings input.input_parameter_two {

    background: #ffff99; 
}


form.savings input.input_user {
    background: #d5ea9a !important; 
}

form.savings input.input_error {
    background: red !important;
}

form.savings .ui-tabs-panel {
    font-size: 0.8em;
}

form.savings input {
    width: 50px;
}

form.savings div.ui-tabs-nav ul {
    font-size: 0.8em;
}

div.results_savings {
    background: url(/media/themes/confia/img/results_back.jpg) no-repeat top left;
    font-size: 0.84em;
    line-height: 1em;
    width: 560px;
    margin: 1.5em auto 0 auto;
    padding: 1em 1.5em 1em 1.7em;
}

.saving_footer {
    background: url(/media/themes/confia/img/results_back_footer.jpg) no-repeat left bottom;
    height: 68px;
    width: 592px;
    margin: 0 auto;
}

div.results_savings h3 {
    margin-bottom: 0;
}

.ie div.results_savings h3 {
    font-size: 1.3em;
    line-height: 1.4em;
}

div.results_savings table {
    width: 100%;
}

div.totalCost {
    margin: 1em auto 1em auto;
    padding: 1em;
    background: #FFFFB5;
    width: 94%;
}

div.results_savings td.center {
    text-align: center;
}

div.results_savings td#id_g178,
div.results_savings td#id_i178,
div.results_savings td#id_g179,
div.results_savings td#id_i179 {
    font-weight: bold;
}

p.align_right {
    text-align: right;
}

/** Index page **/
#player {
    float: left;
    margin: 40px 20px 0px 60px;
}

#player:hover {
    border-bottom: none;
}

/** About us page **/
ul.listado-universidades {
    list-style: none;
    padding: 0;
}

ul.listado-universidades li {
    float: left;
    width: 30%;
    margin-bottom: 1em;
}

ul.listado-universidades li img {
    display: block;
}

/* Safari 3.0 and Chrome rules here */
@media screen and (-webkit-min-device-pixel-ratio:0) {
/* Safari 3.0 and Chrome rules here */
    #confia-footer-logo {
        padding-top: 3px;
    }
}