/*geral
================================================================================
*/
.region--block-a,
.region--block-b,
.region--block-a ul,
.region--block-b ul{
  padding: 0;
}
.region--block-a ul,
.region--block-a-li h1,
.region--block-b h1,
.region--block-b-li-button p{
  margin: 0;
}
.region--block,
.region--block-a,
.region--block-a h1,
.region--block-b,
.region--block-b h1,
.region--block-b a,
.region--block-b-li,
.region--block-b p,
.region--block-b-li-div,
.region--block,
.region--block-c,
.region--block-c h1
.evento-dia-inicio,
.evento-mes-inicio{
  display: flex;
}
.region--block,
.block-a--conteudo{
  width:100%;
}
.region--block{
  min-height: 21.5em;
  max-width:1000px;
  margin: auto;
  font-size: 20px;
  font-family: 'open', arial, sans-serif;
  margin-bottom: 10px;
  flex-direction: row;
}
.region--block-a,
.region--block-b,
.region--block-c{
  width: 33%;
  flex: 1;
  position: relative;
  list-style: none;
}

/*Região blocavel A
================================================================================
*/
.region--block-a{
  margin: 0 .5% 0 0;
  justify-content: space-between;
  border: 1px solid #543ba5;
  box-sizing: border-box;
  flex-wrap:nowrap;
  min-width: 33%;
}/*main-ul*/
.region--block-a-li{
  display: inline-flex;
  background-color: #d1d1d0;
  color: #543ba5;
  height: 1.5em;
  flex: 1;
  justify-content: center;
  cursor: pointer;
  border-right: 1px solid #543ba5;
  border-bottom: .5em solid #543ba5;
  box-sizing: padding-box;
}/*main-li*/
.region--block-a-li:last-of-type{
  border-right: none;
}/*repair last main-li*/
.region--block-a-li:hover{
  background-color: #a08fd7;
}/*main-li hover*/
.region--block-a-li h1{
  font-size: .7em;
  align-items:center;
}/*main-li h1*/
#ativo{
  background-color: #543ba5;
  cursor: default;
  color: #fff
}/*main-li active style*/
#ativo .block-a--conteudo{
  display: flex;
}/*main-li active*/
.block-a--conteudo{
  display: flex;
  flex-direction: column;
  height: calc(100% - 2em);
  position: absolute;
  list-style: none;
  top: 2em;
  left: 0;
  background-color: #d2caec;
}/*sub-ul*/
.region--block-a-li .block-a--conteudo{
  display: none;
}/*sub-ul display*/
.block-a--link-img{
  height: 9em;
  background-color: #d2caec;
  padding: .5em 2.25em;
  background-size: calc(100% - 4.5em);
  background-clip: content-box;
  background-position: center;
  background-repeat: no-repeat;
}/*sub-ul img style*/
.region--block-a-li:first-of-type .block-a--link-img {
  background-image: url("../images/blocavel/pr1.jpg");
}/*sub-ul img url*/
.region--block-a-li:nth-of-type(2) .block-a--link-img{
  background-image: url("../images/blocavel/pr2.jpg");
}/*sub-ul img url*/
.region--block-a-li:last-of-type .block-a--link-img{
  background-image: url("../images/blocavel/pr5.jpg");
}/*sub-ul img url*/
.block-a--feed{
  flex: 1;
  color: #2e67b2;
  display: flex;
  padding:0 1em;
  flex-direction: column;
  justify-content: center;
}/*sub-li style*/
.block-a--feed a{
  text-decoration: none;
  color: #4d7bbb;
  padding:.5em 0 .15em 0;
  font-size: .65em;
  line-height: 1.3em;
}
.block-a--feed a:hover{
  text-decoration: underline;
}
.block-a--feed span{
  color: #000;
  opacity: .75;
  font-size: .6em;
  padding-bottom: .5em;
}
.block-a--feed:nth-of-type(odd) {
  background-color: #ebebeb;
}/*odd-sub-li style*/
.block-a--feed:nth-of-type(even) {
  background-color: #fff;
}/*even-sub-li style*/

/* Região blocavel B
================================================================================
*/
.region--block-b{
  margin: 0 0 0 .5%;
  border: 1px solid #2ea7b2;
  flex-direction: column;
  min-width: 100%;
  min-height: 21.5em;
  background-color: rgba(196, 236, 242, .5);
}
.region--block-b-li{
  flex: 1;
}
.region--block-b h1{
  font-size: .9em;
  align-items: center;
  color: #fff;
  background-color: #2ea6b0;
  padding-left: .75em;
  border-bottom: .12em solid #fff;
  height: 2.22em;
  cursor: default;
}
.region--block-b-li{
  align-items: center;
  justify-content: flex-end;
  max-height: 2.5em;
}
.region--block-b-li:nth-of-type(odd){
  background-color: #c4ecf2;
}
.region--block-b-li:nth-of-type(even){
  background-color: #fff;
}
.region--block-b-li:last-of-type{
  flex-direction: row;
}
.region--block-b-li:last-of-type a{
  padding: 0;
  flex: none;
  height: auto;
}
.region--block-b-li-button{
  background-color: #2ea6b0;
  text-decoration: none;
  border-radius: .5em;
  margin: .35em 2.5em .30em 0;
}
.region--block-b-li-button p{
  color: #fff;
  font-size: 1em;
  padding: .55em 1em;
  font-weight: bold;
}
.region--block-b-li-button:hover{
  background-color: #207278;
  text-decoration: none !important;
}
.region--block-b-li-div {
  height: 2.5em;
  width: 2.5em;
  overflow: hidden;
  color: #fff;
  text-align: center;
  cursor: default;
  flex-direction: column;
  align-items: center;
  justify-content:center;
}
.region--block-b-li:nth-of-type(odd) div{
  background-color: #2ea6b0 ;
}
.region--block-b-li:nth-of-type(even) div{
  background-color: #666766 ;
}
.region--block-b-li a{
  text-decoration: none;
  color: #2e67b2;
  font-weight: bold;
  font-size: .6em;
  padding-left: 1.50em;
  flex: 1;
  height: 100%;
  align-items: center;
  padding-right: 1.5em;
  line-height: 1.5em;
}
.region--block-b-li a:hover{
  text-decoration: underline;
}
.region--block-b-li a:visited{
  color: #2e67b2;
}
.evento-dia-inicio,
.evento-mes-inicio{
  font-weight: normal;
  font-size: .7em;
}
/*fix mozilla*/
@-moz-document url-prefix() {
    .region--block-b-li a {
        letter-spacing: -.7px;
    }
}
/* Região blocavel C
================================================================================
*/

.region--block-c{
  margin: 0 1% 0 .5%;
  border: 1px solid #0071bc;
  flex-direction: column;
  min-width: 33%;
  min-height: 21.5em;
}

.block-c--conteudo{
  display: flex;
  flex-direction: column;
  height: 100%;
}

.region--block-c-header{
  background: #0071bc;
  color: #fff;
  display: flex;
  justify-content: space-between;
  height: 2.2em;
  padding:0 .75em;
  align-items: center;
}

.region--block-c-header h1{
  height: 100%;
  font-size: 0;
  display: flex;
  flex: 1;
  min-width: 100px;
  background-image: url(https://conexão.ufrj.br/themes/conexao/img/logo.png);
  background-position: center;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

.region--block-c-header h1 a{
  width: 100%;
}

.region--block-c-header h2{
  flex: 2;
  display: flex;
  justify-content: flex-end;
  font-size: .9em;
}


.block-c--feed {
    flex: 1;
    color: #2e67b2;
    display: flex;
    padding: 0 1em;
    flex-direction: column;
    justify-content: center;
}

.block-c--feed a{
  text-decoration: none;
  font-size: .65em;
  line-height: 1.3em;
}

.feed-entry-tag{
  color: #F15A24;
}

.block-c--feed a:hover{
  text-decoration: underline;
}

.block-c--feed:nth-of-type(odd) {
    background-color: #ebebeb;
}

.block-c--destaque{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.block-c--destaque img{
  width: 100%;
}

.block-c--destaque a{
  text-decoration: none;
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  font-size: 0.9em;
  height: 200px;
  overflow: hidden;
}

.block-c--destaque a:visited{
  color: rgba(255, 255, 255, 0.82);
}

.block-c--destaque a::before{
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  position: absolute;
}

.block-c--destaque a:hover h3{
  text-decoration: underline;
}

.block-c--destaque .feed-entry-tag{
  color: #fff;
}


.block-c-title-container{
  position: absolute;
  bottom: 0;
  padding: 1em;
  line-height: 1.2em;
}


.block-c--destaque a span{
display: block;

}
