/*
 *
 * 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: 14px 0 0 0;
    background-color: #fff;
    color: #2c66ce;
}

#header div {
    max-width: 100% !important;
}

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

#accessibility {
    margin-left: 1em;
}

#accessibility a {
    color: #054c5d;
    opacity: 70%;
}

#accessibility span {
    color: #fdffff;
    background: #054c5d;
    padding: 0 3px;
}

/* Titulo do portal
   ========================================================================== */
#portal-logo {
    margin-left: 1em; 
    width: 800px!important;
    }

#portal-logo,
#portal-title { color: #2c66ce !important; }

/* Menu site actions - Acessibilidade, Alto Contraste, Mapa do site
   ========================================================================== */
#portal-siteactions { 
    margin-right: 1em; 
    }


#portal-siteactions,
#portal-language { border-bottom: 1px dotted #054c5d; }

#portal-siteactions a,
#portal-siteactions a:hover,
#portal-language a,
#portal-language a:hover { color: #054c5d !important; }

a:link,
#content a:link,
dl.portlet a:link {
    border-bottom: none !important;
    color: #0888a8;
}

a:visited,
#content a:visited,
dl.portlet a:visited { color: #0888a8; }

#content a:hover,
dl.portlet a:hover { color: #033642 !important; }


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

#sobre { background: #183f77; }

#sobre a { color: #fff; }

#sobre ul {
    max-width: 100% !important;
    text-align: center !important;
    }

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

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

#portal-searchbox {
    border: 1px solid #CCCCCC;
    margin-right: 1em;
    border-radius: 7px;
    }
#main {
     max-width: 100% !important;   
     }
     
#portal-breadcrumbs {
      margin-left: 1em; 
     }
     
#portal-breadcrumbs a, #portal-breadcrumbs  span {
      color: #054c5d; 
     }     

/* ==========================================================================
   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-centrales-del-contenido .portletHeader,
.portlet-static-centrais-de-conteudos .portletHeader,
.portletNavigationTree .portletHeader {
    border-top: 4px solid #054c5d;
    color: #FFF;
}

.portletNavigationTree .portletHeader a { color: #054c5d !important; }

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

/* ==========================================================================
   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: #054c5d;
}

#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: #162937 !important; }


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

#footer {
    background: #eeefff;
    color: #054c5d;
}

#footer a { color: #054c5d; }

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

#footer th {
    color: #054c5d;
}

#footer ul {
    border-left: 1px dotted #054c5dE;
}

#footer tr td p {
    border-left: 1px dotted #054c5d;
    color: #fff;
}

#footer table {
    width: 96% !important;
}

#linksfooter{
    background: #0042B1;
    color: #fff;
}

#linksfooter a{
    color: #fff;
}

/*  Inicio da Galeria de Vereadores*/
.vereadores {
    text-align: center;
}

.vereador {
    box-shadow: -1px 4px 5px 0 rgba(56, 56, 56, 0.43);
    display: inline-block;
    margin: 7px 6px 6px 0;
    min-height: 188px;
    transform: translateZ(0px);
    transition-duration: 0.3s;
    transition-property: transform;
    vertical-align: top;
    width: 105px;
}
.vereador:hover, .vereador:focus, .vereador.active {
    transform: scale(1.1);
}

.textovereador {
    box-sizing: border-box;
    font-size: 0.8em;
    line-height: 13px;
    padding: 7px 15px;
    text-align: center;
}

/*  Ajustes cores nos tiles */

#content [class|="cover"] h2 {
  color: #054c5d!important;
  border-top: 4px solid #054c5d!important;
}

.template-summary_view h1#parent-fieldname-title,
.template-summary_view h1.documentFirstHeading,
.template-folder_summary_view h1#parent-fieldname-title,
.template-folder_summary_view #content h1.documentFirstHeading {
    color: #054c5d !important;
}

}


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

#doormat-container { background: #d5d5d5; }

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

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


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


/* Screen
   ========================================================================== */

@media only screen and (min-width : 769px) {

    .portlet-static-contents-central .portletHeader,
    .portlet-static-centrales-del-contenido .portletHeader,
    .portlet-static-centrais-de-conteudos .portletHeader,
    .portletNavigationTree .portletHeader {
        background: #183f77 url("../img/portlet-header.gif") no-repeat right 5px bottom 4px;
        background-size: 15px;
    }

    .portletNavigationTree .portletHeader.ativo {
        background: #183f77 url("../img/portlet-header-expanded.gif") no-repeat right 5px bottom 4px;
        background-size: 15px;
    }

}

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

@media only screen and (min-width : 320px) and (max-width : 768px) {
    .menuTrigger {
        background: #183f77 url("../img/bg-menu-mobile.png") top right no-repeat;
    }
    #portal-logo {
        width: 100% !important;
    }
        
    #portal-logo img, #titleHeader {
        width: 90%;
        height: 90%;
     }
    #sobre {
        display: none;
        visibility: hidden;
    
    }
    #footer {
        display: none;
        visibility: hidden;
    }
    
    
}

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

.textovereador {
    font-size: 0.7em!important;
  }
}
