/*
  Theme Name: Obeservatório de Metropoles Salient Child Theme
  Template: salient
*/

#footer-widgets img{
  max-width: 140px!important; max-height: 40px;
}

#footer-outer .widget{
  margin-bottom: 20px;
}


body #footer-outer .widget .footer-news-title{
  margin: 40px 0 5px; 
}

#footer-outer .widget h4{
  font-size: 20px;
  line-height: 1.2em;
}

#footer-outer .nf-form-cont .ninja-forms-field[type="email"]{
  max-width: 250px;
}
#footer-outer .nf-form-cont .ninja-forms-field[type="button"]{
  font-size: 14px;
  padding: 8px 16px;
}

#footer-outer .nf-field-container{
  margin-bottom: 10px;
}

.search-results-excerpt{
  padding: 0px 25px; 
}

.search-results-excerpt p{
  padding-top: 10px;
  line-height: 1.5em;
}

body.search.search-results #search-results .result .inner-wrap{
  padding-bottom: 25px;
}

body.search #search-results .result .inner-wrap h2.title{
  padding-bottom: 0px;
}

body.search #search-results .result .inner-wrap h2.title a, .color-dark-grey{
  color: rgb(72, 72, 72)!important;
}

body.search #search-results .result .title a {
  background-image: linear-gradient(to right, rgb(144, 144, 144) 0%, rgb(144, 144, 144) 100%);
}

body.search #search-results .result .inner-wrap img{
  width: 100%;
}

#pagination .next a, #pagination .prev a{
  display: initial;
  background-image: none;
}

.search #pagination .next a:hover, .search #pagination .prev a:hover{
  background-color: rgb(144, 144, 144)!important;
}

.menu-back-button{
  position: fixed!important;
  top: 160px;
  left: 57px;
  background-color: #f1f1f1;
  border-radius: 2px;
  border: 1px solid #d8d8d8;
  box-shadow: 0px 0px 8px -5px black;
  padding: 6px 11px;
}

.menu-back-button a{
  letter-spacing: 2px;
  color: #6f6f6f;
}

.home .menu-back-button{
  display: none!important;
}

.page-voltar-button{
  background-color: #2b2b2b;
  border: 1px solid #2b2b2b;
  color: white;
  padding: 5px 13px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
}

.page-voltar-button:hover{
  background-color: #fff;
  color: #2b2b2b;
}


/* 

MENU 

*/

#top nav ul #search-btn a{width: auto;}
.icon-salient-search{display: flex; align-items: center;}
.icon-salient-search::after{content: 'Pesquisar'; margin-left: 5px; font-family: "Roboto", sans-serif; text-transform: uppercase; font-size: 12px;}
.sub-menu{border: none!important;}
#footer-outer .menu a:hover{color: #fff!important; background-image: linear-gradient(to right, #fff 0%, #fff 100%)!important;
    -webkit-transition: background-size 0.55s cubic-bezier(.2,.75,.5,1), color 0.3s ease!important;
}
#footer-outer .menu a:focus{color: #fff!important;}
/*#footer-widgets{max-width: 1400px; margin: 0 auto;}*/
.widget_media_image img{max-height: 150px; width: auto; max-width: 100%;}

#top nav ul li a { color: #4e4e4e; }
#header-outer{border-bottom: 1px solid #d4d4d4;}

#top nav >ul >.megamenu.mm-alt > ul.sub-menu{display: flex; align-items:center; justify-content: center; background: rgb(179,183,226);
background: linear-gradient(141deg, rgba(241,241,241,1) 0%, rgba(255,255,255,1) 54%, rgba(241,241,241,1) 100%);}

#header-outer #top nav > ul > .megamenu.append-title > ul.sub-menu{
  display: flex;
  justify-content: center;
  align-items: center;
}

#header-outer #top nav > ul > .megamenu.menu-item > ul.sub-menu .megamenu-submenu-title{
  margin: 0 10px 0 0; 
  padding: 20px 30px 20px 0; 
  font-size: 32px; 
  border-right: 2px solid #00416d; 
  line-height: 1em; 
  text-align: right;
  font-weight: bold;
  color: #00416d;
}

#header-outer #top nav > ul > .megamenu.menu-item > ul.sub-menu > li{
  width: auto;
}

#header-outer #top nav > ul > .megamenu.menu-item#menu-item-16091 > ul.sub-menu > li{
  width: 25%;
}

#header-outer #top nav > ul > .megamenu.menu-item > ul.sub-menu > li a{
  font-weight: 400;
  margin-bottom: 0px;
  font-family: Roboto;
  text-transform: initial;
  letter-spacing: .5px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  color: #999;
  transition: all 0.3s;
}

#header-outer #top nav > ul > .megamenu.append-title > ul.sub-menu > li a{
  text-align: center;
}

#header-outer #top nav > ul > .megamenu.append-title > ul.sub-menu > li{
  padding-right: 0px;
}

#header-outer #top nav > ul > .megamenu.append-title > ul.sub-menu > li a{
  padding: 10px 15px;
}

#header-outer #top nav > ul > .megamenu.menu-item > ul.sub-menu > li a:not(.sf-with-ul):hover{
  background-color: #00416d!important;
  color: #fff!important;
}

#header-outer #top nav > ul > .megamenu.menu-item > ul.sub-menu > li a.sf-with-ul{
  font-weight: bold;
  color: #3d6077;
  text-transform: uppercase;
  font-size: 12px;
}

/* 

PAGE TEMPLATE DEFAULT 

*/

.home h1.page-title, 
.home .page-voltar-button, 
.page-id-15489 h1.page-title, 
.page-id-15489 .page-voltar-button, 
.page-id-16487 h1.page-title,
.page-id-16487 .page-voltar-button,
.page-id-16120 h1.page-title,
.page-id-16120 .page-voltar-button
    {
  display: none;
}
.page-id-15489, .page-id-16487{
  padding-top: 60px;
}

.page-template-default .container{
  max-width: 900px;
  font-size: 18px;
  line-height: 1.5em;
  letter-spacing: 0.5px;
}

.page-template-default .container .wp-caption .wp-caption-text{
  font-size: 13px;
  line-height: 1.2em;
}

body .wp-caption .wp-caption-text, body .row .col .wp-caption .wp-caption-text{
  margin-left: 0;
  width: 100%;
  max-width: 99%;
  top: 10px;
  margin-bottom: 30px;
}

.page-template-default .container .wp-caption.alignright{
  margin-left: 25px;
}

.page-template-default .container .page-title{
  font-size: 50px;
  line-height: 1em;
  margin: 20px 0;
}

.page-header-bg-image-wrap::after{
  content: '';
  display: block;
  position: absolute;
  background-color: #000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
  opacity: 0.6;
}

/* 

HOME PAGE

*/

.home-cover .nectar-post-grid-item .content .item-main h3.post-heading, .section-artigos-semanais .nectar-post-grid-item .content .item-main h3.post-heading{
  font-size: 20px;
  margin: 0;
  max-width: 100%;
}

.revistas-row img{
  max-height: 27vw;
}

.revistas-column{ max-width: 900px; margin: 0 auto!important;}
.revista-capa-destaque{max-height: 450px!important; width: auto!important;}

.newsletter-form input[type="button"]{
  padding: 8px 18px;
  font-size: 13px;
  height: auto!important;
}

.newsletter-form .nf-field-container.email-container{
  margin-bottom: 10px;
}

.home #ajax-content-wrap .container-wrap{
  padding-bottom: 0;
}

.home .container-wrap .home-newsletter-container .row-bg-wrap{
  margin-left: -50vw;
}

.page .container-wrap{
  padding-bottom: 0px;
}

.obslogo{
  width: auto;
  display: block;
}

.obslogo.obs{
  margin-right: 30px!important;
  margin-left: auto!important;
  max-height: 100px;
}

.obslogo.inct{
  margin-left: 30px!important;
  margin-right: auto!important;
  max-height: 95px;
}





/* 

PAGE TEMPLATE LISTA DE PROJETOS

*/

.projetos-list-container .nectar-hor-list-item{
  padding: 40px;
  border-bottom-width: 3px;
}

.projetos-list-container .nectar-hor-list-item h2{
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2em;
  margin: 13px 0;
}

.projetos-list-container .nectar-hor-list-item .nectar-list-item-btn{
  border-width: 1px;
  font-weight: 300;
  text-transform: uppercase;
  padding: 10px 20px 9px;
  opacity: 0.8;
}

/* 

PAGE REDE NACIONAL ESTILO DOS BOXES DE EQUIPE

*/

.tmm{
  
}

.tmm .tmm_container, .tmm .tmm_container:last-child{
  display: flex!important;
  justify-content: center;
}

.tmm .tmm_container .tmm_member{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: none!important;
  box-shadow: none;
  background-color: #262626;
  border-radius: 6px;
}

.tmm .tmm_container .tmm_member .tmm_photo{
  border: none;
  width: 80%;
  padding-bottom: 80%;
  border-radius: 8px!important;
}

.tmm .tmm_container .tmm_member .tmm_names span{
  color: #fff;
}

.tmm .tmm_container .tmm_member .tmm_textblock {
  padding-bottom: 20px;
}

.tmm .tmm_container .tmm_member .tmm_textblock .tmm_sociallink{
  background-color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: 0 5px;
  align-items: center;
  padding: 1px 0 0 1px;
}

.tmm .tmm_container .tmm_member .tmm_textblock .tmm_scblock{
  display: flex;
  justify-content: center;
}

.tmm .tmm_container .tmm_member .tmm_textblock .tmm_sociallink img{
  margin: 0;
}

.projetos-list-container .nectar-hor-list-item{
  border-bottom-color: rgb(0, 65, 109);
}



/* 

PAGE SINGLE BOLETIM

*/

.boletim-container{
  width: 900px;
  margin: 80px auto 120px;
  min-height: 90vh;
  display: block;
  box-shadow: 0px 0px 40px -8px #00114a;
  border-radius: 15px;
}

.boletins-container{
  display: flex;
  flex-wrap: wrap;
  margin: 30px auto 30px;
}

.boletim-block{
  width: 31%;
  margin: 0 1% 2%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: whitesmoke;
  padding: 40px;
  box-shadow: 0 0 18px -10px #003050;
  transition: all .3s;
}

.boletim-block:hover{
  background-color: #eaeaea;
  transform: translateY(-3px);
}

.boletim-block span{
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 24px;
}

.boletim-block h2{
  margin-bottom: 0px;
  font-size: 19px;
  line-height: 1.2em;
  font-weight: 300;
  text-align: center;
  letter-spacing: 0px;
  color: #262626;
}

.boletim-block h3{
  font-size: 15px;
  font-weight: 300;
}

.year-sep{
  width: 100%;
  padding: 0 0 0 20px;
  border-bottom: 2px solid #00416d;
  color: #00416d;
  margin: 10px 25px 20px 20px;
  font-size: 50px;
  line-height: 1.2em;
  font-weight: 300;
}

.single-boletim .page-voltar-button{
  margin: 0px auto 50px;
  display: table;
}

.single-boletim span{
  display: block;
  text-align: center;
  margin: 10px auto 10px;
  font-size: 19px;
  line-height: 1em;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: bold;
}
.single-boletim h1{
  text-align: center;
  max-width: 700px;
  margin: 20px auto;
  font-size: 40px;
  line-height: 1.1em;
  font-weight: 300;
}
.single-boletim h3{
  margin: 10px auto 10px;
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 2px;
}

/* 

PAGE COM COORDENADOR

*/
.coordenadores-container{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  flex-wrap: wrap;
}
.c__coordenador{
  width: 50%;
  max-width: 200px;
  padding: 0 25px;
  background-color: #262626;
  margin: 50px 15px 10px;
  border-radius: 10px;
}
.c__foto{
  height: 150px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  transform: translateY(-50%);
}
.c__texto{
  color: #fff;
  font-size: 28px;
  line-height: 1.2em;
  text-align: center;
  transform: translateY(-50%);
}
.c__links{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 15px;
}
.c__links a{
  background-color: #fff;
  padding: 1px;
  border-radius: 50%;
  display: flex;
  margin: 0 5px;
}
.c__links a:first-child{
  padding: 9px 7px;
}


/* 

SINGLE BIBLIOTECA

*/
.livro{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.row .col img.cover-column{
  width: 45%;
}

.text-column{
  width: 50%;
}

.text-column div, .text-column div{ line-height: 1.2em;}

.small{font-size: 14px; font-weight: 300; line-height: 1.5em;}
.small-plus{font-size: 18px; font-weight: 300;}
.normal{font-size: 24px; font-weight: 300;}
.medium{font-size: 24px; font-weight: 700;}
.big{font-size: 34px; font-weight: 700;}

.row .col .mb-10{margin-bottom: 10px;}
.row .col .mb-20{margin-bottom: 20px;}
.row .col .mb-30{margin-bottom: 30px;}
.row .col .mb-40{margin-bottom: 40px;}
.row .col .mb-50{margin-bottom: 50px;}

.colored-bg{
  background-color: #00416d;
  color: #fff;
  padding: 5px 10px;
  border-radius: 2px;
  display: inline-block;
}

.livro-dados{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.livro-dados span{
  border-top: 1px solid #333;
  padding-top: 10px;
  font-size: 20px;
}

.livro-link{
  display: inline-block;
  font-size: 15px;
  line-height: 1.3em;
  color: #333;
  border: 1px solid #333;
  border-radius: 5px;
  padding: 10px 24px;
  transition: all 0.3s;
}
.livro-link:hover{
  background-color: #00416d;
  color: #fff;
  border-color: #00416d;
}




@media(max-width: 1000px){
  body .section-artigos-semanais .nectar-post-grid[data-columns][data-grid-spacing="10px"] .nectar-post-grid-item{
    width: 100%;
    margin-left: -10px;
    margin-right: -10px;
  }

  .icon-salient-search::after{
    display: none;
  }

  .container.main-content .page-title, .container.main-content .row > .page, .container.main-content .wpb_row, .container.main-content .row > p {
    margin-left:40px;
    margin-right:40px;
  }
  .container.main-content .wpb_row.home-newsletter-container{
    margin-left: 0px; 
    margin-right: 0px;
  }

  .home-newsletter-container .col{
    padding-left: 40px;
    padding-right: 40px;
  }

  .mobile-align-left h2, .mobile-align-left p{
    text-align: left!important;
  }
  
  .revistas-row img{
    max-height: none;
    max-width: 400px;
  }

  .revistas-row .hover-wrap{
    padding-right: 0px !important;
  }

  .custom-biblioteca-post-grid .col .post-header{
    margin-left: 120px;
  }

  .custom-biblioteca-post-grid .col.has-post-thumbnail .post-header{
    margin-left: 0px;
  }

  .menu-back-button, .megamenu-submenu-title{display: none;}

  .obslogo.obs, .obslogo.inct{
    max-width: 90%!important;
    width: auto;
    margin-left: auto!important;
    margin-right: auto!important;
    max-height: 73px;
  }
  
  .obslogo.obs{
    margin-bottom: 35px!important;
  }
  
  .obslogo.inct{
    max-height: 75px;
  }

  .page-voltar-button{margin-left: 40px; margin-right: auto;}
}

@media(max-width: 690px){
  .boletim-block{
    width: 100%;
  }

}

@media(max-width: 500px){
  .home-cover .nectar-post-grid-item .item-main h3{
    font-size: 16px;
    font-weight: normal;
  }

  .home .section-artigos-semanais .nectar-post-grid{
    margin:0!important;
  }

  .home .section-artigos-semanais .nectar-post-grid .nectar-post-grid-item{
    margin-left: 0;
    margin-right: 0;
  }

  .home .section-artigos-semanais .nectar-post-grid .nectar-post-grid-item h3{
    max-width: 100%;
  }
}