/*
  Theme Name: Revista Fapesp
  Theme URI: 
  Author: Pedro Bernardes @ Everywhere Mobile
  Author URI:
  Description: Created for the Fapesp Magazine
  Version: 0.1
  License: 
  License URI: 
  Tags: light, white, black, gray, two-columns, left-sidebar, right-sidebar, fixed-width
  */

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
   -------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
    outline: 0;
}
body {
    background: #cecccd;
}
ol, ul {
    list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: separate;
    border-spacing: 0;
}
caption, th, td {
    font-weight: normal;
    text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}
blockquote, q {
    quotes: "" "";
}
a img {
    border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

/* Structure */

div#main {
    width: 1005px;
    margin: auto;
    background-color: #cecccd; /* ddd; */
    position: relative;
}

/* Header */
div#header {
    height: 135px;
    width: 1005px;
    position: relative;
}

div#header img#logo {
    margin: 15px 0 0 111px;
    font-family: sans-serif;
    font-size: 64px;
}

/* Tags Sidebar */
div#sidebar-tags {
    display: inline-block;
    float: left;
    width: 111px;
    padding-top: 4px;
}

div#sidebar-tags div.taxonomy_wrapper {
    text-align: right;
    width: 111px;
    display: inline-block;
}

.taxonomy {
    color: #666;
    display: inline-block;
    font-family: Arial;
    font-size: 10px;
    line-height: 20px;
    padding: 0 10px;
    text-decoration: none;
}

.inner_taxonomy {
    padding: 0;
}

a.taxonomy:hover {
    color: #999;
}

#sidebar-tags a.taxonomy:hover {
    color: #000;
}

.taxonomy.highlight {
    background-color: #333;
}

/* content */
div#content {
    background-color: white;
    float: left;
    display: block;
    width: 894px;
    position: relative;
    min-height: 2280px;
}

/* navigation */
div#nav-container {
    width: 1005px;
    font-family: "FapespSemiBold" !important;
    overflow: visible;
    z-index: 9000;
}

div#nav-container nav#main-nav {
    margin-left: 111px;
    background-color: white;
    display: block;
    overflow: visible;
    top: 0;
    width: 874px;
    padding: 10px;
    z-index: 9000;
}

div#nav-container nav#main-nav div#inner {
    border-bottom: thin solid #ccc;
    overflow: visible;
    z-index: 9000;
}

div#nav-container nav#main-nav div#inner div#align {
    /*width: 590px;*/
    display: block;
    overflow: visible;
    z-index: 9000;
}

div#nav-container nav#main-nav div#inner div#align ul.iel_outer_ul {
    /*width: 590px;*/
    display: block;
    overflow: visible;
    z-index: 9000;
}

div#top_icons {
  padding: 20px 0 20px 0;
  border-top: thin dotted #333;
  border-bottom: thin dotted #333;
}

div#top_icons img {
    margin-left: 9px;
}

div#top_icons a#boletim {
    color: #949494;
    font-style: italic;
    font-family: Georgia;
    font-size: 12px;
    text-decoration: none;
}

div#nav-container nav#main-nav div#inner li.page_item {
    position: relative;
    display: inline-block;
    zoom: 1;
    *display: inline;
    font-family: "FapespSemiBold";
    font-size: 19px;
    margin-top: 5px;
    height: 30px;
    overflow: visible;
    z-index: 9000;
}
div#nav-container nav#main-nav div#inner ul.iel_outer_ul > li.page_item {
    border-bottom: 6px solid white;
    padding-bottom: 0;
}

div#nav-container nav#main-nav div#inner li.page_item ul.children {
    /* IE */
    background-color: #EDEDED;
    filter: alpha(opacity = 90);

    /* Good Browsers */
    background-color: rgba(237, 237, 237, .9);
    visibility: hidden;
    display: block;
    left: 10px;
    position: absolute;
    margin-top: 12px;
    z-index: 9000;
}

div#nav-container nav#main-nav div#inner li.page_item ul.children li {
    font-size: 13px;
    padding: 5px 10px;
    display: block;
    width: 140px;
    height: auto;
    min-height: 0;
    border: 0;
    zoom: 1;
}

div#nav-container nav#main-nav div#inner li.page_item ul.children li:hover {
    background-color: #ccc;
}

div#nav-container nav#main-nav div#inner li.page_item:hover ul.children {
    visibility: visible;
}

div#nav-container nav#main-nav div#inner div#align > ul > li.page_item > a {
    font-size: 20px;
    color: black;
    text-decoration: none;
    margin-left: 10px;
    margin-right: 20px;
    padding-bottom: 4px;
}

div#nav-container nav#main-nav div#inner div#align > ul > li.page_item > a.selected {
    border-bottom: 6px solid black;
}

div#nav-container nav#main-nav div#inner div#align > ul > li.page_item.hover {
    border-bottom: 6px solid black;
}

body.mobile div#nav-container nav#main-nav div#inner div#align > ul > li.page_item > a.selected,
body.mobile div#nav-container nav#main-nav div#inner div#align > ul > li.page_item.hover {
    border-bottom: 6px solid white;
}

div#nav-container nav#main-nav div#inner li.page_item ul.children a {
    text-decoration: none;
    color: black;
}

div#nav-container nav#main-nav div#inner li.page_item.switch {
    cursor: pointer;
}

div#nav-container div#sections_sub {
position: absolute; background: white; margin: -10px 0 0 180px; display: none;
}

/* helpers */
div#body_wrapper {
    position: relative;
}

div.clear {
    clear: both;
}

/* posts */
div#headlines {    
width: 150px;
padding-right: 45px;
float: left;
}

div#videos {
    display: inline-block;
    padding: 0 0 0 20px;
}

div#headlines div#posts-tiles-menu, div#videos div#posts-tiles-menu {
    border-bottom: thin black dotted;
    font-size: 20px;
    padding-bottom: 4px;
    margin-bottom: 20px;
    margin-right: 0;
    width: 200px;
}

div#videos div#posts-tiles-menu a {
    color: red;
}

div#videos div#posts-tiles-menu {
    border-bottom: thin red dotted;
    font-size: 20px;
    padding: 0 0 4px 20px;
    margin-bottom: 20px;
    margin-right: 0;
    width: 344px;
}

div#videos .list-ctnr {
    width: 330px;
    margin-left: 20px;
    overflow: hidden;
}

div#videos .list {
    width: 2000px;
}
div#videos a {
    text-decoration: none;
}
div#videos .small_multimidia_tile {
    width: 100px;
    height: 180px;
    padding-right: 11px;
}
div#videos a.prev {
    position: absolute;
    margin: -30px 0 0 324px;
    width: 20px;
    height: 19px;
    background: transparent url(/wp-content/uploads/videos-nav.gif) no-repeat scroll -20px 0;
}
div#videos a.next {
    position: absolute;
    margin: -30px 0 0 304px;
    width: 20px;
    height: 19px;
    background: transparent url(/wp-content/uploads/videos-nav.gif) no-repeat;
}
div#videos .big_multimidia_tile {
    width: 322px;
    font-family: georgia;
    line-height: 1.4em;
    margin: 5px 0 20px 20px;
    text-decoration: none;
    padding-bottom: 20px;
    border-bottom: thin red dotted;
}
div#videos .big_multimidia_tile img.play-overlay {
    position: absolute; margin: 144px 0 0 14px;
}
div#videos .big_multimidia_tile h2 {
    font-family: georgia;
    line-height: 1.4em;
    margin-top: 5px;
    font-size: 20px;
    color: #333;
    margin-bottom: 0;
    text-decoration: none;
}
div#videos .big_multimidia_tile h3 {
    font-family: georgia;
    line-height: 1.4em;
    margin-top: 5px;
    font-size: 14px;
    color: #333;
    font-weight: normal;
    font-style: italic;
    text-decoration: none;
}
div#videos .small_multimidia_tile h3 {
    font-family: georgia;
    line-height: 1.4em;
    margin-top: 5px;
    font-size: 12px;
    color: #333;
    text-decoration: none;
    font-weight: normal;
}
div#headlines .tab-mode-selector {
    cursor: default;
}

div#posts-tiles div#posts-tiles-menu {
    border-bottom: thin black dotted;
    font-size: 20px;
    padding-bottom: 4px;
    margin-bottom: 20px;
    margin-right: 0;
}

div#posts-tiles-menu a {
    color: inherit;
    //color:expression(this.parentNode.currentStyle['color']);
    text-decoration: none;
}

div.post-tile {
    float: left;
    font-family: Georgia;
    font-size: 17px;
    height: 230px;
    line-height: 24px;
    margin-bottom: 10px;
    margin-right: 18px;
    overflow: hidden;
    width: 175px;
}

div.post-tile a {
    text-decoration: none;
    cursor: pointer;
    display: block;
    height: 230px;
    color: #555;
}

div.post-tile div.header {
    height: 12px;   
    margin: 0;
    position: relative;
}

div.post-tile div.header a {
    color: #555;
}

div.post-tile div.header div.color-box {
    width: 175px;
    height: 14px;
    margin: 0;
    padding: 0;
    vertical-align: top;
    position: absolute;
    display: none;
}

div.post-tile div.header div.title, div.podcast_tile div.title {
    color: #555;
    display: inline-block;
    zoom: 1;
    *display: inline;
    font-family: Arial;
    font-size: 9px;
    height: 14px;
    line-height: 14px;
    margin: 0;
    padding-left: 2px;
    position: relative;
    top: -6px;
    vertical-align: middle;
    z-index: 1000;
}
div.podcast_tile div.title {
    padding-left: none;
    text-transform:uppercase;
}
div.post-tile div.header div.title.multimidia {
    background-color: #dadada;
    width: 100%;
    font-size: 9px;
}

div.post-tile:hover {
    color: #9e9e9e;
}

div.post-tile:hover a {
    text-decoration: underline;
}

div.post-tile:hover div.header div.color-box {
    display: inline;
    z-index: 0;
}

div.post-tile div.header img {
    position: absolute;
    right: 0;
    margin: 0;
    padding: 0;
    margin-top: 2px;
    margin-right: 2px;
    z-index: 1000;
}

div.post-tile div.body {
    font-family: georgia;
    line-height: 1.4em;
    margin-top: 5px;
    color: #000;
}

div.post-tile div.body div.linhafina {
    font-size: 15px;
    line-height: 1.2em;
}

div.post-tile div.no-img {
    font-size: 20px !important;
    line-height: 30px !important;
}

div.posts-loader {
    border-bottom: thin black dotted;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    font-family: "FapespSemiBold";
    height: 16px;
    margin-bottom: 90px;
    padding-bottom: 2px;
    padding-right: 7px;
    text-align: right;
}

div.posts-loader img {
    position: relative;
    top: 12px;
    left: -20px;
}

div.multimidia_others {
    border-bottom: thin black dotted;
    font-family: "FapespRegular";
    color: #333;
    cursor: pointer;
    font-size: 21px;
    margin-bottom: 40px;
    padding-bottom: 3px;
    padding-right: 7px;
    text-align: left;
    position: relative;
}

div.multimidia_others img {
    position: absolute;
    top: 24px;
    left: 44px;
}

/* Footer */
div#footer {
    display: inline-block;
    left: 0;
    bottom: 0;
    position: absolute;
    width: 894px;
    text-align: center;
    line-height: 30px;
}

div#footer div.links {
    font-family: Arial;
    font-size: 10px;
    color: white;
    background-color: #7a7a7a;
}

div#footer div.links a {
    color: white;
    text-decoration: none;
}

div#footer div.links a:hover {
    text-decoration: underline;
}

div#footer div.disclaimer {
    background-color: #cecccd; /*#ddd;*/
    color: #666;
    font-size: 10px;
}

/* Search Form */
form#searchform {
    float: right;   
    width: 250px;
    height: 26px;
    line-height: 26px;
    overflow: visible;
    vertical-align: top;
}

form#searchform input#s {
    background-color: #ffffff;
    border: 1px solid #777;
    color: #777;
    font-family: georgia;
    font-size: 14px;
    font-style: italic;
    height: 24px;
    margin: 0;
    padding: 2px 0 0 10px;
    width: 206px;
    vertical-align: top;
}

form#searchform img {
    margin: 0;
    border: none;
}

form#searchform input[type="submit"] {
    cursor: pointer;
    border: 1px solid #777; padding: none; margin: 0;
    background: transparent url(http://revistapesquisa.fapesp.br/wp-content/themes/revistafapesp/images/lupa.png) no-repeat;
    width: 27px; height: 28px;
    vertical-align: top;
}

div#sidebar-right {
    float: right;
    margin: 10px 10px 0 0;
    width: 250px;
}
div#sidebar-right > hr {
  border: 0;
  border-bottom: 1px dotted #333;
}

/* Last Edition Tile */
div#last_edition {
    height: 286px;
    margin-top: 10px;
    margin-bottom: 50px;
}

div#last_edition div.last_edition_left {
    float: left;
    width: 125px;
}

div#printed_edition_links {
    background-color: #e0e0e0;
    margin-top: 4px;
    padding: 2px 3px;
}

div#printed_edition_links a {
    border-bottom: thin solid white;
    color: #696969;
    display: block;
    font-size: 10px;
    padding: 5px 0 3px 2px;  
    text-decoration: none;
}

div#printed_edition_links a:last-child {
    border: none;
}

div#printed_edition_links a:hover {
    text-decoration: underline;
}

div#last_edition div.last_edition_right {
    float: left;
    margin-left: 10px;
    width: 115px;
}

div#last_edition div.edition_info {
    color: #404040;
    border-bottom: thin #b2b2b2 solid;
    padding-bottom: 5px;
    font-family: Arial;
    font-size: 11px;
}

div#last_edition div.last_edition_right div.post_preview {
    padding-top: 15px;
    padding-bottom: 10px;
    border-bottom: thin dotted #777;
    font-size: 14px;
}

a.invisible {
    color: inherit;
    *color:expression(this.parentNode.currentStyle['color']);
    text-decoration: inherit;
    *text-decoration:expression(this.parentNode.currentStyle['text-decoration']);
    cursor: pointer;
}

a.invisible:hover {
    color: #333;
}

div#last_edition div.last_edition_right div.dunno:last-child {
    border-bottom: thin #b2b2b2 solid;
}

div#last_edition div.last_edition_right ul#printed_edition_options {
    font-size: 11px;
    font-family: Arial;
    color: #404040;
}

div#last_edition div.last_edition_right ul#printed_edition_options a:hover {
    color: #808080;
}

div#last_edition div.last_edition_right ul#printed_edition_options li {
    margin: 10px 0;
    padding-left: 10px;
    background-image: url(images/list-bullet.png);
    background-repeat: no-repeat;
    vertical-align: middle;
}

div#last_edition div.last_edition_right a {
    text-decoration: none; color: #000;
}

/* new edition tile layout */

div#last_edition.v2016 {
    background: transparent url(images/revista-sombra.gif) no-repeat;
    background-position: 27px 155px;
}

div#last_edition.v2016 div.edition_info {
    border-bottom: none;
    padding: 2px 0 14px 0;
}

div#last_edition.v2016 div.last_edition_left {
    width: 165px;
}

div#last_edition.v2016 div.last_edition_right {
    width: 65px;
    margin-left: 4px;
}

div#last_edition.v2016 div.last_edition_right ul#printed_edition_options {
    list-style: none;
}

div#last_edition.v2016 div.last_edition_right ul#printed_edition_options li {
    background: transparent;
}

div#last_edition.v2016 div.last_edition_right ul#printed_edition_options li:before {
    content: "›";
    font-weight: bold;
    font-size: 12px;
    color: rgb(237, 28, 36);
}

div#last_edition.v2016 div.bottom_links {
    clear: both;
    padding: 10px 0 0 0;
}

div#last_edition.v2016 div.bottom_links > div {
    display: inline-block;
    vertical-align: top;
    height: 100px;
    padding: 0 10px 0 0;
}

div#last_edition.v2016 div.bottom_links a {
    color: #fff;
    font-family: "Arial";
    background-color: #777;
    text-transform: uppercase;
    display: block;
    font-size: 9px;
    margin: 0 4px 4px 0;
    padding: 5px 20px 3px 5px;
    text-decoration: none;
    max-width: 120px;
}

div#last_edition.v2016 div#printed_edition_links_left a {
    background-color: rgb(237, 28, 36);
    max-width: 48px;
}

div#main-content {
    width: 580px;
    float: left;
    min-height: 2290px;
    margin-left: 15px;
    padding-top: 10px;
}

p.load_message {
    color: gray;
    font-style: italic;
}

img.ajax-loader {   
    display: inline-block;
    margin-left: 50%;
    position: relative;
    left: -148px;
}

/* The Post */
article {
    padding-bottom: 40px;
}

article p#the_category {
    margin-bottom: 28px
}

article p#the_category a {
    position: relative;
    top: -7px;
}

h1 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-family: "FapespBold";
}

h2 {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
    font-family: "FapespBold";
    clear: both;
}

#___plus_0, #___plus_0 iframe {
    height: 20px !important;
    vertical-align: top !important;
}

a.browse_edition_link {
background-color: #e0e0e0;
margin-top: 4px;
padding: 2px 3px;
display:block;
font-family: "FapespRegular";
font-size: 12px !important;
border-bottom: thin solid white;
color: #696969;
display: block;
font-size: 10px;
padding: 5px 0 3px 2px;
text-decoration: none;
}

a.browse_edition_link:hover {
text-decoration: underline;
}

.st_fblike_large {
    display: inline-block;
    vertical-align: top !important;
    padding: 0 15px 0 0;
    height: 20px !important;
}
.st_fblike_large > span {
    margin: 0 !important; bottom: 0 !important;
    height: 20px !important;
    vertical-align: top !important;
}
.twitter-share-button {
    width: 98px !important;
    height: 20px !important;
    vertical-align: top !important;
    margin: 0 0 0 26px !important;
    border: none !important;
}

article p#the_excerpt {
    color: #666;
    margin-bottom: 35px;
    font-family: "FapespRegular";
    font-size: 12px;
}

article p#the_author {
    color: #666;
}

article p#the_author a {
    color: inherit;
    text-decoration: none;
}

article #the_content {
    font-size: 15px;
    font-family: Georgia;
    line-height: 22px;
    padding-bottom: 18px;
}

article #the_content p {
    margin-bottom: 30px;
}

article #the_content p > iframe {
    border-width: 6px 10px 6px 0;
    border-style: solid;
    border-color: white;
}

div#wplm_language_switcher {
    text-align: right;
}

div#printed_edition_links a {
    font-family: "FapespRegular";
    font-size: 12px !important;
}

.alignleft {
    float: left;
    margin-right: 10px;
}

.alignright {
    float: right;
    margin-left: 10px;
}

.content_slider {
    width: 580px;
    height: 270px;
    overflow: hidden;
    background-color: #999;
    margin-bottom: 40px;
}

.content_slider img {
    float: left;
}

.content_slider .slide_texts {
    float: left;
    width: 158px;
    border-left: 1px #777 solid;
}

.content_slider .slide_texts .slide_text {

border-bottom: 1px #777 solid;
color: white;
cursor: pointer;
font-family: Georgia;
font-size: 16px;
height: 65px;
overflow: hidden;
padding: 12px 10px 12px 12px;
width: 177px;
line-height: 1.3em;
}

.content_slider .slide_texts .slide_text.selected {
    background-color: #777;
}

b, strong {
    font-weight: bold;
}

i, em {
    font-style: italic;
}

table.tabela_interna {
    font-family: Arial;
    font-size: 11px;
    margin: 2px 20px 6px 6px;
    border-top: 5px solid black;
    border-bottom: 1px dotted black;
    padding-bottom: 20px;
    width: 180px;
}

table.tabela_interna strong {
    height: 2em; 
    line-height: 2em; 
    display: inline-block;
    vertical-align: bottom;
    padding-top: 8px;
    font-size: 14px;
    font-family: "FapespBold";
    font-weight: normal;
}

table.tabela_interna a {
    text-decoration: none;
}

div.right {
    display: inline-block;
    float: right;
    margin-right: 20px;
}

.wp-caption-text {
    font-family: Verdana, Arial, Helvetica, Sans-serif;
    font-size: 11px;
    color: #666;
    margin-bottom: 0 !important;
    line-height: 110%;
}

.small_multimidia_tile {
    width: 120px;
    height: 90px;
    float: left;
    margin: 0;
}

.small_multimidia_tile.right_tile {
    margin-left: 10px; 
}

.small_multimidia_tile .img {
    height: 70px;
}

.small_multimidia_tile a {
    text-decoration: none;
}

.small_multimidia_tile .category, .podcast_tile .category {
    font-size: 10px;
    font-family: Arial;
    color: #666;
    background-color: #dedede;
    margin: 4px 0;
    line-height: 20px;
    vertical-align: middle;
    padding: 0 3px;
}

.category .text {
    position: relative;
    top: -1px;
}

#multimidia-last {
    border-top: thin dotted #333;
    padding-bottom: 6px;
    padding-top: 6px;
}

.small_multimidia_tile:hover .category {
    background-color: #f3b700
}

.audioplayer_container {
    height: 23px;
    overflow: hidden;
}

.podcast_tile:hover .category {
    background-color: #f3b700
}

.category img {
    position: relative;
    margin: 5px 2px 0 2px;
}

.divisor {
    color: gray;
    margin: 0 10px;
}

.podcast_tile {
    float: left;
    width: 250px;
    margin-top: 20px;
}

h2.printed_edition_category {
    font-size: 15px;
    font-family: "FapespBold";
    margin: 25px 0 15px 0;
    color: #222;
}

h2.printed_edition_category:first-child {
    margin-top: 0;
}

h2.printed_edition_category.aside {
    margin-top: 20px;
    margin-bottom: 0;
}

a.printed_edition_article_link {
    text-decoration: none;
    color: #222;
}

a.printed_edition_article_link:hover {
    color: #666;
}

a.printed_edition_article_link:hover p.printed_edition_article_excerpt {
    text-decoration: underline;
}

h3.printed_edition_article_title {
    font-size: 15px;
    font-family: "FapespBold";
    margin: 4px 0 4px 0;

    overflow-wrap: break-word;
    word-wrap: break-word;

    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

h3.printed_edition_article_title a {
    color: inherit;
    //color:expression(this.parentNode.currentStyle['color']);
    text-decoration: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

h3.printed_edition_article_title a:hover {
    color: #666;
}

p.printed_edition_article_excerpt {
    font-size: 13px;
    font-family: Georgia;
    margin-bottom: 15px;
}

img.color_triangle {
    display: inline-block;
    height: 12px;
    width: 12px;
    margin-right: 5px;
}

p.printed_edition_date {
    font-family: "Arial";
    font-size: 10px;
    color: #222;
    margin-bottom: 15px;
}

#printed_edition_left {
    display: inline-block;
    width: 125px;
    margin-right: 20px;
    float: left;
    height: 100%;
}

#printed_edition_right {
    display: inline-block;
    width: 435px;    
    float: left;
    padding-bottom: 60px;
}

.wp_author {
    margin: 0 !important;
    font-size: 9px;
    color: #666;
    font-family: "FapespRegular";
}

.wp-caption {
    margin-bottom: 5px;
}

article #the_content a {
   color: blue;
}

article #the_content a:hover {
   color: #bbb;
}

article #the_content p {
   min-width: 100px;
   display: block;
}

article #the_content div.sharebuttons, article #the_content div.ssba {
   font-family: Arial;
   font-size: 13px;
   padding: 0; margin: 0 0 10px 0;
}

article #the_content div.ssba {
    font-family: Arial;
    font-size: 13px;
    padding: 0;
    margin: 0 0 10px 0;
}

.sharebuttons, .sharebuttons a {
    text-decoration: none;
    border: 0;
    background: none;
    font-size: 20px;
}

.sharebuttons img {
    width: 35px !important;
    padding: 6px;
    border: 0;
    box-shadow: none !important;
    display: inline !important;
    vertical-align: middle;
}

#wplm_language_switcher img {
    margin-left: 5px;
}

/* Fix share-this */
#the_content p:last-child {
    clear: both;
}

/* Barra Fapesp */
#barra_fapesp_container {
    background-image: url('http://www.fapesp.br/addons/images/bg.jpg');
}

#barra_fapesp_inner {
    width: 1010px;
    margin: auto;
}

/* Lightbox Hack */
div.cboxOverlayCaption {
    /* IE */
    filter: alpha(opacity = 70);

    /* Good Browsers */
    opacity: 0.7;

    background-color: black;
    bottom: 20px;
    color: #999;
    font-family: Arial;
    padding: 10px;
    padding-right: 30px;
    position: absolute;
    width: 100%;
}

/* Lightbox Hack */
div.cboxOverlayCredits {
    /* IE */
    filter: alpha(opacity = 70);

    /* Good Browsers */
    opacity: 0.7;

    background-color: black;
    color: #999;
    font-family: Arial;
    font-size: 10px;
    padding: 10px;
    padding-right: 30px;
    position: absolute;
    top: 0;
    width: 100%;
}

.gallery-caption {
    display: none;
}

a.legacy_link {
    display: block;
    text-align: right;
    margin-bottom: 10px;
    text-decoration: none;
    color: #333;
}

a.legacy_link:hover {
    color: #666;
}

a.lang_sel_other {
    color: #333;
    margin-left: 10px;
    text-decoration: none;
}

a.lang_sel_other:hover {
    color: #666;
}

/* Print Friendly Hack */
.printfriendly {
    float: left;
    left: 8px;
    position: relative;
    top: -6px;
}

.pdf_version {
    margin-bottom: 15px !important;
    float: left;
    position: relative;
    top: -1px;
}

.pdf_version a {
    color: #000 !important;
    font-size: 13px;
    text-decoration: none;
}

.pdf_version a:hover {
    color: #333 !important;
}

.pdf_version img {
}

#banners div {
    margin-bottom: 20px;
}

.title_img {
    float: right;
    position: relative;
    top: -10px;
}

div.printed_edition_tile {
   float: left;
   margin: 20px 20px 30px 0;
   width: 170px;
   height: 190px;
}

div.printed_edition_tile div.info {
   margin-top: 10px;
   font-size: 12px;
   font-family: "Fapesp Bold";
}

div.printed_edition_tile div.title {
   font-size: 12px;
   font-family: "Fapesp Regular";
   min-height: 25px
}

div.printed_edition_tile a {
   color: inherit;
   //color:expression(this.parentNode.currentStyle['color']);
   text-decoration: inherit;
   cursor: pointer;
}

#sidebar-right div.related {
padding: 10px 0 10px 0;
font-family: georgia, arial;
font-size: 11px;
line-height: 140%;
}

#sidebar-right div.related a {
font-size: 12px;
}
#sidebar-right div.related em {
display: block;
}
#sidebar-right div.related img {
float: right;
border-left: 10px solid white;
}

#sidebar-right h2 {
padding: 10px 0 0 0;
}

hr.ad_spacer {
	border-top: thin dotted #333;
}

#jquery-overlay { z-index: 9000 !important; }
#jquery-lightbox { z-index: 10000 !important; }

#gallery-1 {
	clear: both;
}

article.category-dossie table td, .infotable td  {
	vertical-align: top;
	padding: 20px;
}

article.category-dossie table td a:first-child, .infotable td a:first-child { 
	text-decoration: none !important;
}

article.category-dossie table td a, .infotable td a {
	color: #000 !important;
}

#social-icons {
  width: 280px;
  height: 36px;
  background: transparent url(images/social-media-icons.png) left center no-repeat;
  padding: 20px 0 20px 0;
}

#social-icons a {
  display: inline-block;
  margin: 0 7px 0 0;
  width: 32px;
  height: 36px;
}
