/*
 *
 * CSS com estilos específicos do tema branco
 *
 * @Autores
 *
 * - Simples Consultoria - www.simplesconsultoria.com.br
 * - DESERTO Digital - www.desertodigital.com.br
 *
 * @Referencias
 *
 * Lista de padrões, convenções e boas praticas CSS que devem ser seguidas.
 * https: //github.com/necolas/idiomatic-css/tree/master/translations/pt-BR
 *
 * Plugins para ordenar os atributos de CSS.
 * http://csscomb.com/
 *
 * Validador de CSS do W3C.
 * http://jigsaw.w3.org/css-validator/
 */


/* ==========================================================================
   Cabeçalho do portal
   ========================================================================== */

#header {
    padding: 32px 0 0 0;
    background-color: #ebedf1;
    color: #2c66ce;
}

/* Menu da Barra
   ========================================================================== */

div#wrapper-barra-brasil {
    clear: both;
    top: -18px;
}

/* Menu de Acessibilidade
   ========================================================================== */

#accessibility-wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 960px;
    font-size: 1.2em;
    top: 47px;
}

#accessibility a {
    color: #2c66ce;
}

#accessibility span {
    color: #fdffff;
    background: #2c66ce;
    padding: 0 3px;
}

.anchor {
    display: block;
    font-size: 0;
    height: 0;
    width: 0;
}

/* Titulo do portal
   ========================================================================== */

#portal-logo,
#portal-title { color: #2c66ce !important; }
#portal-title-1 { top: 12px; }

/* Menu site actions - Acessibilidade, Alto Contraste, Mapa do site
   ========================================================================== */

#portal-siteactions,
#portal-language,
ul#language { border-bottom: 1px dotted #2c66ce; }

#portal-siteactions a,
#portal-siteactions a:hover,
#portal-language a,
#portal-language a:hover,
ul#language a,
ul#language a:hover { color: #2c66ce !important; }

/* Menu sobre o portal
   ========================================================================== */

#sobre { background: #dadce2; }

#sobre a { color: #2c66ce; }

#sobre .portalservicos-item a { border-right: 1px solid #5e83d2; }

/* Formulário de busca
   ========================================================================== */

#portal-searchbox { border: 1px solid #CCCCCC; }


/* ==========================================================================
   Sprinte Icons
   ========================================================================== */

/* icones de redes sociais */
#social-icons a,
/* central de conteudo */
.item-central .link-videos,
.item-central .link-audios,
.item-central .link-infograficos,
.item-central .link-publicacoes,
.item-central .link-fotos,
.item-central .link-aplicativos,
.item-central .link-dadosabertos,
/* icone do botão de busca */
#header input.searchButton { background-image: url("../img/sprite.png"); }
/* icone do botão de relatar erros */
#content .relatar-erros a { background: url("../img/icon-reportar-erros.png") no-repeat; }

/* Summary view */
#content .summary-view-icon [class*="icon"] {
    background-image: url("../img/summary-view-icons-sprite.png");
}


/* ==========================================================================
   Portles
   ========================================================================== */

/* Portlet de navegação
   ========================================================================== */

#portal-column-one > .nav-menu-de-relevancia .first-item-nav a,
#portal-column-one > .nav-menu-de-relevancia .first-item-nav a span {
    color: #00500f !important;
}

.portlet-static-contents-central .portletHeader,
.portlet-static-resource-center .portletHeader,
.portlet-static-centrales-del-contenido .portletHeader,
.portlet-static-centrais-de-conteudos .portletHeader,
.portletNavigationTree .portletHeader {
    border-top: 4px solid #1659bf;
    color: #1659bf;
}

.portletNavigationTree .portletHeader a { color: #1659bf !important; }

.navTreeLevel0 > li.navTreeItemInPath,
.navTreeLevel0 > li.navTreeCurrentNode {
    border-top: 2px solid #1659bf !important;
    border-bottom: 2px solid #1659bf !important;
}

.portletNavigationTree .portletHeader {
    cursor: pointer;
    background: #edeff1 url(../img/portlet-header.gif) no-repeat 96% 0.7em;
    background-size: 18px auto;
    padding-right: 1.8em;
}

.portletNavigationTree .portletHeader.ativo {
    background: #edeff1 url(../img/portlet-header-expanded.gif) no-repeat 96% 0.7em;
    background-size: 18px auto;
}

/* ==========================================================================
   Collective Cover
   ========================================================================== */

/* Tile Banner Rotativo
   ========================================================================== */

/* Cores dos botões */

#tile_banner_rotativo li .button-nav,
.orderTiles .button-nav {
    border-right: 1px solid #254e8c;
    background-color: #1659bf;
}

#tile_banner_rotativo .activeSlide .button-nav,
#tile_banner_rotativo li .button-nav:hover,
#tile_banner_rotativo li .button-nav:focus {
    background-color: #edeff1;
}

/* ícone do botão */

#content  #tile_banner_rotativo li .button-nav,
.orderTiles .button-nav {
    background-image: url("../img/bullet-banner-rotativo.gif");
}

/* Tiles
   ========================================================================== */

.tile a { color: #2c67cd !important; }


/* ==========================================================================
   Footer
   ========================================================================== */

#footer {
    background: #d5d5d5;
    color: #2c66ce;
}

#footer a { color: #2c66ce; }

#wrapper #footer .footer-logos { background: #0042b1; }

/* Doormat
   ========================================================================== */

#doormat-container { background: #d5d5d5; }

#doormat-container dl { border-left: 1px dotted #2c66ce; }

#doormat-container dt { color: #2c66ce; }


/* ==========================================================================
   Media Queries
   ========================================================================== */

/* Smartphone
   ========================================================================== */

@media only screen and (min-width : 320px) and (max-width : 768px) {

    .menuTrigger {
        background: #dbdce1 url("../img/bg-menu-mobile.png") top right no-repeat;
    }

    .portlet-static-contents-central .portletHeader,
    .portlet-static-resource-center .portletHeader,
    .portlet-static-centrales-del-contenido .portletHeader,
    .portlet-static-centrais-de-conteudos .portletHeader,
    .portletNavigationTree .portletHeader {
        background: #edeff1 url("../img/portlet-header.gif") no-repeat 96% center;
    }

    .portletNavigationTree .portletHeader.ativo {
        background: url("../img/portlet-header-expanded.gif") no-repeat 96% center;
    }

    #portal-siteactions {
        position: static;
        float: right;
        clear: none;
        padding: 0 0 0.5em;
        font-size: 0.8em;
    }
    
    #portal-personaltools {
        z-index: 9;
    }

    #search-results-bar {
        max-width: 34%;
    }

    #navigation.ativo #portal-column-one {
        width: 97.75%
    }

}

@media only screen and (min-width : 320px) and (max-width : 480px) {
  #header #portal-searchbox .searchButton {
    background: url("../img/search-button-30px.png") no-repeat;
  }
}



/* ==========================================================================
   Comentários
   ========================================================================== */

#viewlet-below-content .discussion {
  border-top: 4px solid #000000;
  padding-top: 20px;
  margin-top: 15px;
}

#viewlet-below-content .comment a {
  color: #345179;
}

#viewlet-below-content .comment .documentByLine {
  color: #345179;
  font-weight: bold;
  font-size: 1.2em;
  margin-left: 10px;
}

.replyTreeLevel0 {
    background: #eeeff1;
    padding: 15px 0px 10px;
    clear: both;
}

.replyTreeLevel1 {
    border-left: 1px solid #eeeff1;
    margin: 0 0 10px 0;
    padding-top: 10px;
    clear: both;
}

.replyTreeLevel2 {
    border-left: 1px solid #eeeff1;
    border-top: 1px solid #eeeff1;
    margin: 0 0 10px 0;
    padding-top: 10px;
    padding-left: 20px;
    clear: both;
}

.replyTreeLevel3 {
    border-left: 1px solid #eeeff1;
    border-top: 1px solid #eeeff1;
    margin: 0 0 10px 0;
    padding-top: 10px;
    padding-left: 40px;
    clear: both;
}

.replyTreeLevel4 {
    border-left: 1px solid #eeeff1;
    border-top: 1px solid #eeeff1;
    margin: 0 0 10px 0;
    padding-top: 10px;
    padding-left: 60px;
    clear: both;
}

.replyTreeLevel5 {
    border-left: 1px solid #eeeff1;
    border-top: 1px solid #eeeff1;
    margin: 0 0 10px 0;
    padding-top: 10px;
    padding-left: 80px;
    clear: both;
}

.replyTreeLevel6 {
    border-left: 1px solid #eeeff1;
    border-top: 1px solid #eeeff1;
    margin: 0 0 10px 0;
    padding-top: 10px;
    padding-left: 100px;
    clear: both;
}

.replyTreeLevel7 {
    border-left: 1px solid #eeeff1;
    border-top: 1px solid #eeeff1;
    margin: 0 0 10px 0;
    padding-top: 10px;
    padding-left: 120px;
    clear: both;
}

.replyTreeLevel8 {
    border-left: 1px solid #eeeff1;
    border-top: 1px solid #eeeff1;
    margin: 0 0 10px 0;
    padding-top: 10px;
    padding-left: 140px;
    clear: both;
}

.replyTreeLevel9 {
    border-left: 1px solid #eeeff1;
    border-top: 1px solid #eeeff1;
    margin: 0 0 10px 0;
    padding-top: 10px;
    padding-left: 160px;
    clear: both;
}

.replyTreeLevel10 {
    border-left: 1px solid #eeeff1;
    border-top: 1px solid #eeeff1;
    margin: 0 0 10px 0;
    padding-top: 10px;
    padding-left: 180px;
    clear: both;
}

#viewlet-below-content .comment .documentByLine .commentDate {
  font-size: 1.0em;
  color: #172a38;
  font-weight: normal;
  padding-top: 0;
}

.commentBody {
    padding: 0;
    margin: 0;
    border: none;
    border-radius: none;
    -webkit-border-radius: none;
    -moz-border-radius: none;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    overflow: visible;
}

button.context.reply-to-comment-button {
    margin-left: 20px;
}

.commentActions {
    float: left;
    margin-left: 10px;
}

.commentBody p {
    font-size: 1.2em;
    color: #172a38;
    padding: 0 10px 10px;
    border-bottom: 1px solid #FFFFFF;
    margin-bottom: 10px;
    float: none;
}

.row #commenting textarea,
.row .discussion textarea {
    font: 1.2em "open_sansregular", Arial, Helvetica, sans-serif;
    width: 100%;
    border: 1px solid #eeeff1;
}

#commenting p {
    font-size: 1.2em;
}

.row #commenting label, .row .discussion label {
    font-size: 1.1em;
}

.discussion .reply {
    clear: both;
    color: #000000;
    padding-top: 5px;
}

#logo a img {
    padding-top: 2em;
}

.eea-preview-items .documentByLine abbr {
    display: block;
    font-size: 0.8em;
}

/*conserta sobreposicao dos itens da visao sumaria*/
.template-summary_view #content .tileContent {
    margin-top: 1.5em;
}

.template-summary_view #content .tileItem .documentByLine {
    min-height: 0;
}

.template-folder_summary_view #content .tileContent, .template-facetednavigation_view #content .tileContent {
    padding-left: 1em;
    border-left: 0;
}

.template-summary_view #content .documentByLine .summary-view-icon, .template-folder_summary_view #content .documentByLine .summary-view-icon, .template-facetednavigation_view #content .documentByLine .summary-view-icon {
    width: 90%;
}

.template-folder_summary_view #content .tileItem .documentByLine, .template-facetednavigation_view #content .tileItem .documentByLine {
    display: none;
 }

.template-folder_summary_view #content .tileItem, .template-facetednavigation_view #content .tileItem {
    padding: 1.5em 0 1.5em 0em;
}


#content .summary-view-icon .icon-featured,  #content .summary-view-icon .icon-projeto {
    background-position: -94px -391px;
}

#portal-column-one {
    width: 18.625%;
}

.event.summary {
   max-width: 300px;
   padding: 12px 12px 12px 36px;
}

.galleria-info {
    display: none;
}

.galleria-container {
    max-height: 240px;
}

.galleria-stage {
    overflow: hidden;
    float: left;
    width: 100%;
    height: 100%;
    min-width: 230px;
    min-height: 74px;
    position: relative;
    border: 0 none;
    padding: 0;
    margin: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.galleria-thumbnails-container {
    bottom: 0;
}

.galleria-thumbnails-list {
    float: right;
    margin-right: 4px;
}

.template-summary_view #content .tileItem .keywords,
.template-folder_summary_view #content .tileItem .keywords,
.template-facetednavigation_view #content .tileItem .keywords {
    display: none;
}

/*melhora visualizacao no celular*/

@media only screen and (min-width : 320px) and (max-width : 480px) {
    .template-facetednavigation_view #content .documentByLine .summary-view-icon {
    display: none;
    }
    .template-facetednavigation_view #content .tileContent {
        padding: 0;
        margin: 0;
        border-left: none;
    }

    .template-facetednavigation_view #content .tileItem {
        margin: 0;
        padding: 0;
        border: 0;
    }
    #center-content-area {
        margin: 1em 10em 0 0;
    }
    #right-area {
        width: 9em;
    }
    .portalservicos-item {
        display:inline-block;
     }

    #sobre ul {
        text-align: left;
    }
    #logo a img {
        max-width: 100%;
        height: auto;
    }
    input.searchPage {
        font-size: 140% !important;
    }

}

