@import url("grid.css");
@import url("../../../contraste.css");
/********** Basic styles **********/
body {
  background: #fff;
  color: #333333;
  font-family: 'Open Sans', sans-serif;
}
a:link,
a:visited,
#content a:link,
#content a:visited {
  color: #10233b;
}
.state-published {
  color: #10233b !important;
}
a:hover {
  color: #3259a7;
}
#content a:hover,
dl.portlet a:hover {
  color: #3259a7 !important;
  /* Unfortunatelly is necessary with sunburst */

}
.clear {
  clear: both;
}
/********** Main container **********/
#wrapper {
  padding: 0;
}
#main {
  margin: 0 auto;
  max-width: 96%;
}
.layout-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
/********** Header **********/
header {
  background-color: #4882c9;
  color: #ffffff;
  float: left;
  width: 100%;
}
header a:link,
header a:visited {
  color: #000000;
}
header a:hover {
  color: #e6e6e6;
}
/* Logo */
#portal-logo {
  display: block;
  float: left;
  margin: 1.5em;
}

#portal-personaltools {
  background: #3259a7;
}

#portal-personaltools dd a:hover {
    background: #4882c9;
}

#portal-siteactions {
  text-align: right;
  margin-right: 1em;
  font-size: 80%;
}
#portal-siteactions a:before {
  font-family: FontAwesome;
  font-size: 1em;
  margin-right: 0.3em;
}
#siteaction-contact a:before {
  content: "\f0e0";
}
#siteaction-sitemap a:before {
  content: "\f0e8";
}
#siteaction-accessibility a:before {
  content: "\f118";
}
#siteaction-search a:before {
  content: "\f002";
}
#siteaction-login a:before {
  content: "\f090";
}
#siteaction-contraste a:before {
  content: "\f042";
}
#portal-siteactions li#siteaction-accessibility {
  width: 17px;
}
#portal-siteactions li a:hover {
  color: #e6e6e6;
}
/* search */

.searchButton {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  border: none;
  padding: 0.4em 0.7em;
  background: #3259a7;
  color: #ffffff;
  cursor: pointer;
}

#portal-searchbox {
  margin: 1.5em;
  position: relative;
}

#portal-searchbox input {
  border-radius: 0;
}

#portal-searchbox input.searchField {
  min-width: 20em;
  width: 100%;
  height: 30px;
  border: none;
  text-indent: 1em;
  line-height: 30px;
  padding-right: 40px;
  box-sizing: border-box;
}

#portal-searchbox .searchButton {
  font-family: FontAwesome;
  position: absolute;
  right: 0;
  border-radius: 0;
  color: #ffffff;
  height: 30px;
  width: 30px;
}

/* Navigation */
#main-navigation {
  margin: 0;
  clear: both;
  background: #3259a7;
  color: #ffffff;
}
#main-navigation ul {
  padding: 0.3em;
  text-align: right;
}
#main-navigation li {
  display: inline-block;
}

#main-navigation li::after {
  content: '';
  position: absolute;
  margin: auto;
  right: -2px;
  top: 0;
  bottom: 0;
  background-color: #ffffff;
  border-radius: 50%;
  width: 4px;
  height: 4px;
}

#main-navigation li:last-child::after {
  display: none;
}

#main-navigation li a:link {
  font-size: 80%;
  text-decoration: none;
  display: block;
  padding: 0 1em;
}

#main-navigation li a:link,
#main-navigation li a:visited {
  color: #ffffff;
}

/* Mobile Menu button colors */

.menu-button{
  background: #4882c9;
}

.menu-button button{
  border-color: white;
  background: none;
  color: white;
}

.menu-button > button:hover {
  background: #3259a7 !important;
}

.menu-button > button.menuAtivo {
  background: #3259a7; 
}

/********** Content **********/
/* breadcrumb */
#portal-breadcrumbs {
  margin: 1.2em 2%;
  font-size: 80%;
  clear: both;
  display: inline-block;
}
.section-front-page #portal-breadcrumbs {
  visibility: hidden;
}
/* text styles */
p {
  line-height: 1.4em;
}
h1 {
  color: #3259a7;
  border: none;
  margin-bottom: 0;
  font-size: 2.5em;
}
h2 {
  color: #3259a7;
}
#content {
  margin: 0;
}
#content .documentDescription,
#content #description {
  color: #4d4d4d;
  font-weight: normal;
  margin-bottom: 1em;
}
/********** Tiles **********/
.tile-header h2, .tile-content h2, .documentFirstHeading {
    margin-bottom: 0.5em;
}

.tile-noticias .collection-item {
    float: left;
    width: 48%;
    margin-right: 4%;
    margin-bottom: 1.5em;
    padding-bottom: 0.4em;
    border-bottom: 1px dotted #ccc;
}

.tile-noticias .collection-item:nth-child(odd) {
    margin-right: 0;
}

.tile-noticias .collection-item a img {
    margin: 0;
    float: none;
    width: 100%;
    height: auto;
}

.tile-noticias .collection-item > a {
    width: 100%;
    display: block;
    margin-bottom: 0.5em;
}

#content .tile-noticias .collection-item p {
    margin-bottom: 0.25em;
}

.tile-noticias .collection-item p.description {
    font-size: 1.1em;
}

#content .tile-noticias .tile-footer a {
  float: right;
  padding: 1.075em 1.2em;
  background-color: #3259a7;
  color: #ffffff !important;
  font-weight: bold;
  text-transform: uppercase;
  transition: all ease-out 0.1s;
  }
  
#content .tile-noticias .tile-footer a:hover {
  background: #4882c9;
  color: #fff !important;
}

/*#content .tile-noticias .tile-footer a {
  float: right;
  padding: 1.075em 1.2em;
  color: #3259a7 !important;
  transition: all ease-out 0.1s;
}*/

/*********** Portlets ***********/
/* general styles */
.portletHeader,
dl.portlet dt.portletHeader {
  font-weight: bold;
  background-color: #3259a7;
  color: #fff;
}
.portletHeader a,
dl.portlet dt.portletHeader a {
  color: #fff;
  transition: all ease-out 0.1s;
}
.portlet {
  margin-bottom: 2em;
}
/* lists inside columns */
aside dl,
aside dd,
aside ul {
  padding: 0;
  margin: 0;
}
aside a {
  text-decoration: none;
}
/* portlet navigation */
.portletNavigationTree ul {
  margin: 0;
}
.portletNavigationTree li {
  list-style-position: inside;
}
.portlet.portletNavigationTree .navTree .navTreeItem {
  margin: 0;
}
.portlet.portletNavigationTree .navTreeLevel0 > .navTreeItem {
  padding: 0;
}
.portlet.portletNavigationTree .navTree > .navTreeItem {
  border-bottom: rgba(26, 58, 100, 0.05) 1px solid;
  list-style: none;
}
.portlet.portletNavigationTree .navTreeLevel1 .navTreeItem {
  padding-left: 1em;
}
.portlet.portletNavigationTree .navTreeLevel1 .navTreeItem:last-of-type {
  border-bottom: none;
}
.portlet.portletNavigationTree .navTree .navTreeItem a {
  display: block;
  padding: 0.8em 1em;
  border-left: 0px solid transparent;
  transition: all ease-out 0.1s;
  line-height: initial;
}
.portlet.portletNavigationTree .navTree .navTreeItem a:hover {
  border-left: 5px solid #4882c9;
  background-color: rgba(26, 58, 100, 0.05);
}
.portlet.portletNavigationTree .navTree .navTreeItem a.navTreeCurrentItem {
  border-left: 5px solid #4882c9;
  background-color: rgba(26, 58, 100, 0.2);
}
dl.portlet ul.navTree .navTreeCurrentItem {
  border-left: none;
  margin: 0;
}
.navTreeLevel2 a {
  padding-left: 1em;
}
.navTreeLevel3 a {
  padding-left: 2em;
}
.navTreeLevel4 a {
  padding-left: 3em;
}
.navTreeLevel5 a {
  padding-left: 4em;
}
.navTreeLevel6 a {
  padding-left: 5em;
}
.portlet .portletHeader > a, .portlet .portletHeader > span:nth-child(2) {
  display: block;
  color: #FFF;
  padding: 0.7em 1em;
  font-size: 1em;
}
.portlet .portletHeader > a:hover {
  background: #4882c9;
  color: #fff !important;
}
.portlet .portletHeader {
  padding: 0;
}
/********** Footer **********/
footer {
  border-top: #d8d8d8 1px solid;
  margin-top: 2em;
  font-size: 80%;
  background: #4882c9;
  color: #ffffff;
}
footer a {
  color: #ffffff !important;
}
footer p {
  margin-bottom: 2em;
}

.footer-item {
  padding: 0 2%;
}

#footer-info {
  padding-top: 3em; 
}

#footer-colophon {
  padding: 0.2rem 0;
  font-size: 0;
  text-align: center;
  background-color: #3259a7;
}

.colophon-item {
  display: none;
  max-width: 46%;
  padding: 0 2%;
  vertical-align: top;
  position: relative;
}

.colophon-item:first-child::after {
  content: '';
  position: absolute;
  height: 100%;
  width: 1px;
  background-color: #fff;
  right: 0;
  top: 0;
}

.colophon-item a {
  font-weight: 700;
}

.colophon-item img {
  height: 32px;
}

.colophon-info {
    font-size: 11px;
    margin-top: 1em;
}

.colophon-logo {
  height: 40px
}
/********* RESPONSIVE **********/
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
  
}
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {

  header {
    margin-bottom: 1em;
  }

  /* Mobile Menu theme color adjustments */
  #column-one {
    border-color: #4882c9;
  }

  dl.portlet ul.navTree .navTreeCurrentItem {
    border-color: #3259a7
  }

  dl.portlet ul.navTree li a:hover {
    border-color: #4882c9;
  }
  
}
/* Landscape phones and down */
@media (max-width: 767px) {
    #portal-logo {
      display: inline-block;
      font-size: 90%;
    }

    #portal-logo.has-title img {
      display: none;
    }

    #main-navigation ul {
      box-sizing: border-box;
      padding: 0;
      padding-right: 0.5em;
      text-align: center;
      float: none;
      width: 100%;
      white-space: nowrap;
      overflow-x: scroll;
      overflow-y: hidden; 
      -webkit-overflow-scrolling: touch;
    }

    #main-navigation ul::after {
      content: '';
      background-image: linear-gradient(to right, transparent, rgba(50,89,167,0.9) 80%);
      height: 43px;
      position: absolute;
      pointer-events: none;
      right: 0;
      top: 0;
      width: 2.2em;
      z-index: 10;
    }

    #main-navigation li {
      float: none;
    }

    #main-navigation li a:link {
      padding: 1.2em 1.5em;
      line-height: 1;
    }

    #portal-searchbox {
      margin-top: 0;
      float: none;
      text-align: center;
      clear: both;
      font-size: 80%;
    }

    .colophon-item {
      max-width: 96%;
      margin: 1.5rem 2%;
    }

  }

/* Phones and down */
@media (max-width: 480px) {
  .tile-noticias .collection-item {
    width: 100%;
    margin-right: 0;
  }       
}

/********** Portal **********/

header {
background-position: top center;
}

/*#main {
    max-width: 1078px;
  }*/
  
#portal-logo img {
    max-width: 190px !important; 
    width: 100% !important;
    height: auto !important; 
    } 
  
#content h1.documentFirstHeading {
    font-size: 2em;
    font-weight: normal;
  }

.tile-header h2, .tile-content h2, .documentFirstHeading {
    margin-bottom: 0.2em;
}

/********** Coluna 1 **********/

/*#column-one   {width:  20%;}*/

.portletHeader, dl.portlet dt.portletHeader {
    background-color: #f1f1f1;
}

.portlet .portletHeader > a, .portlet .portletHeader > span:nth-child(2) {
    text-transform: uppercase;
    color: #3259a7 !important;
}

.portlet.portletNavigationTree .navTree .navTreeItem {
   font-size: 14px;
}

/********** Carrossel **********/

.tema-pm3 .galleria-info-title {
    font: 1.6em arial !important;  
    margin-bottom: 4px !important;
}

.tema-pm3 .galleria-info-description {
    font: 1.4em arial !important;  
}

/********** Notícias **********/

#content div.collection-item a{
  font-size: 1em;
  font-weight: normal;
  color: #25528c;
}

#content div.collection-item p.description {
  font-size: 1.2em;
  margin-bottom: 1em;
}

/********** Visão Sumária **********/

.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 {
    padding-bottom: 5px;
    color: #25528c;
    /*text-transform: uppercase;*/
    letter-spacing: 0.001em;
    font-weight: normal;
    font-size: 2em;
    line-height: 1em;
}

.template-summary_view .tileItem,
.template-folder_summary_view .tileItem {
    position: relative;
    margin: 30px 0;
    padding-bottom: 1em;
    padding-left: 13%;
    min-height: 100px;
    border-bottom: 1px solid #D3D3D3;
}

.template-summary_view .tileItem p,
.template-folder_summary_view .tileItem p { line-height: 1.4em; }

.template-summary_view h2.tileHeadline,
.template-folder_summary_view h2.tileHeadline {
    margin-top: 10px;
    margin-bottom: 0;
    letter-spacing: 0.0001em;
    font-weight: lighter;
    font-size: 1.2em;
}

.template-summary_view h2.tileHeadline a.summary,
.template-folder_summary_view h2.tileHeadline a.summary {
    color: #000 !important;
    font-size: 1.2em;
}

.template-folder_summary_view .subtitle {
    color: #2C67CD !important;
    font-weight: normal;
    font-size: 1em;
}

.template-summary_view .tileImage,
.template-folder_summary_view .tileImage {
    float: none;
    margin: 0 1em 0.5em 0 !important;
}

.template-summary_view .tileImage img,
.template-folder_summary_view .tileImage img {
    float: left !important;
}

.template-summary_view #content .tileItem .documentByLine,
.template-folder_summary_view #content .tileItem .documentByLine {
    position: absolute;
    top: 0;
    left: 0;
    display: inline;
    overflow: hidden;
    padding-right: 5px;
    width: 9%;
    height: 90px;
    border-right: 1px dotted #D6D6D6;
    color: #7A8692;
    font-size: 0.9em;
}

.template-summary_view #content .description,
.template-folder_summary_view #content .description {
    color: #666666;
    font-size: 1em;
}

.template-summary_view #content .tileBody,
.template-folder_summary_view #content .tileBody { margin-bottom: 0; }

.template-summary_view #content .tileBody .description,
.template-folder_summary_view #content .tileBody .description {
    color: #000000;
    font-size: 1.3em;
}

.template-summary_view #content .tileFooter a,
.template-folder_summary_view #content .tileFooter a { color: #7A8692; }

.template-folder_summary_view .documentDescription { margin-top: 1em; }

div.listingBar a:link,
#content div.listingBar a:link,
dl.portlet div.listingBar a:link {
    border-bottom: 0.1em solid #CCCCCC !important;
}

/********** Eventos **********/

dl.portletEvents dt.portletHeader{
    pointer-events: none;
    cursor: text;
    text-decoration: none;
}

dl.portletEvents dd.portletItem{
    pointer-events: none;
    cursor: text;
    text-decoration: none;
}

dl.portletEvents dd.portletFooter{
    visibility: hidden;
    height: 0;
    padding: 0;
}

.fc-event-time{
  display: none;
}

/********** Rodapé **********/

/*.colophon-item {
  display: none;
}

#footer-colophon {
    padding: 0.1rem;
}*/

/********** Responsividade **********/

@media (max-width: 480px) {
  #portal-logo img {
    width: 100% !important;
    height: 100% !important; 
    }
  }  
  
.video-flex { 
  position: relative; 
  padding-bottom: 56.25%; 
  padding-top: 0px; 
  height: 0; 
  overflow: hidden;
}

.video-flex iframe, .video-flex object, .video-flex embed {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
}

@media (max-width: 768px) {
.template-summary_view #content .tileItem .documentByLine,
.template-folder_summary_view #content .tileItem .documentByLine {
    display: none;
    }

.template-summary_view .tileItem, .template-folder_summary_view .tileItem {
    padding-left: 4%;
    padding-right: 4%;
    }
  }      
  
.menu-button{
  display: none;
}
 
/********** Atalhos **********/

  .atalhos {
    display: block;
    text-align: center;
  }
  .atalho {
    max-width: 30%;
    display: inline-block;
    padding: 1px;
    box-sizing: border-box;
    opacity: 0.5;                     
    transition: opacity 0.3s ease;    
  }
  .atalho:hover {                   
    opacity: 1;                       
  }    

/********** Presidentes **********/

 .presidentes { display: table; }
 .presidente {
    float: left; width: 20%;
    text-align: center;
  }  
 .presidente img {
    border-radius: 5px; 
  }

@media (min-width: 1025px) and (max-width: 1200px) {    
  .presidente {
    width: 25%;
    text-align: center;
    }
  }
  
@media (min-width: 769px) and (max-width: 1024px) {    
  .presidente {
    width: 33%;
    text-align: center;
    }
  }  

@media (min-width: 481px) and (max-width: 768px) {    
  .presidente {
    width: 50%;
    text-align: center;
    }
  }  

@media (max-width: 480px) {
  .presidente {
    width: 100%;
    text-align: center;
    }
  }  

/********** Vereadores **********/

.vereadores {
    display: block;
    text-align: center;
  }
  .vereador {
    max-width: 10%;
    display: inline-block;
    padding: 2px;
    box-sizing: border-box;
    opacity: 0.8;                     
    transition: opacity 0.3s ease; 
    transform: translateZ(0px);
    transition-duration: 0.3s;
    transition-property: transform;
    vertical-align: top;   
  }
  .vereador:hover, .vereador:focus, .vereador:active {
    transform: scale(1.1);
  }
  .vereador:hover {                   
    opacity: 1;                       
  }                                   
  .vereador img {
   width: 100%;
   border-radius: 5px;
  }

@media (max-width: 480px) {
  .vereador {
    max-width: 30%;
    } 
  } 
  
 /********** Relatórios **********/

  .relatorios {
    display: table;
  }
  .relatorio {
    float: left; 
    text-align: center;        
    display: inline-block;
    margin-right: 25px;
  }
       
/********** Redes Sociais **********/

 .redessociais {
    display: block;
    text-align: center;
  }
  .redesocial {
    max-width: 22%;
    display: inline-block;
  }
 
 @media screen and (max-width: 1199px) {
  #column-one {
     display: none !important;
   }
  }

/********** Cores **********/

header {
    background: linear-gradient(#ebedf1, #2E82AF) no-repeat;
}

#main-navigation {
    background: #2E82AF;
}

#portal-personaltools {
    background: #dce4eb;
}

.searchButton {
    background: #2E82AF;
}

footer {
    background: #2E82AF;
}

#footer-colophon {
    background: linear-gradient(#2E82AF, #1651a1) no-repeat;
}
  
 /*ALTERADO >> galleria-theme >> galleria.tema-pm3.css >> .tema-pm3 .touch .galleria-info-description */
