/*
 Theme Name:   Contrapoder mod
 Theme URI:    http://contrapoder.net/
 Description:  A Himalayas Child Theme
 Author:       Roberto W.
 Author URI:   http://example.com
 Template:     himalayas
 Version:      0.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, red, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  contrapoder.net
 */
 
 .home #main {
   display: none;
  }
  
  #colophon.footer-with-widget {
    margin-top: 0;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .main-title {
    font-family: 'Roboto', sans-serif;
  }

  .entry-content > p { 
    font-family: 'Noto Serif KR', serif;
    font-size: 17px;
  }
  
  .cta-text-title h2 {
    text-shadow: none;
  }
  
  .searchform {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
  }
  
  #colunas {
    margin-bottom: 60px;
  }

    
  #custom_html-6 {
    background-color: #f4f6f5;
  }
  
  #cultura {
    background-color: #f4f6f5;
  }
  
  #siga-nos .main-title:after,
  #siga-nos .main-title:before {
    border-top: 2px solid #f4f6f5;
  }

  .section-wrapper {
    padding: 40px 0px;
  }

  #cultura .section-wrapper {
    padding: 40px 0px;
  }
  
  .section-title-wrapper {
    margin-bottom: 20px;
  }

  #top-footer {
    padding: 60px 30px 0px;
    background-image: url('https://contrapoder.net/wp-content/uploads/2020/05/Rodapé-e1592416428180.png');
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.79);
    height: 100%; 
    background-position: center;
    background-repeat: no-repeat; 
    background-size: cover;
  }


  /* qq isso faz?? */
  .non-stick.non-transparent #content,
  .home.stick.non-transparent #content {
    margin-top: 0px;
  }

  /* HOME: WIDGET com posts de categorias (cultura e cursos) */
  .posted-date {
    margin-bottom: 10px;
  }

/* Titulo do HERO */
.caption-over-title {
  border: 4px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  font-size: 30px;
  letter-spacing: 3px;
  line-height: 50px;
  text-shadow: 0 2px 5px #333333;
  border: none;
  width: 78%;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  margin: 0 auto 20px;
}


.caption-title span:after,
.caption-title span:before {
	display: none;
}

.caption-title:before,
.caption-title:after {
	display: none;
}

.caption-title {
	border-right: 4px solid rgba(255, 255, 255, 0.7);;
	border-left: 4px solid rgba(255, 255, 255, 0.7);;
}

/* FINANCIE Ajustes */

.cta-text-title h2 {
	color: #ffffff;
  font-size: 46px;
}

.cta-text-desc > p {
	font-size: 32px;
  font-weight: 500;
}

.cta-text-style-2 .section-wrapper.cta-text-section-wrapper {
	padding: 120px 0;
}

/* .cta-text-content {
  height: 70vh;
} */

#financie-parallax {
  background-color: rgba(196,18,26, 0.41);
}

/* #contrapoder_financie_widget-2 {
  height: 90vh;
} */

/* MIDIAS SOCIAIS */

#contrapoder_medias_sociais_widget-2 {
  margin: 0px;
  padding-bottom: 0px;
}

#contrapoder_medias_sociais_widget-2 .section-title-wrapper {
  margin-bottom: 20px;
}

#contrapoder_medias_sociais_widget-2 .section-wrapper {
  padding: 20px 0px 20px;
}
.social-grid {
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  /* grid-template-columns: repeat(7, 1fr); */
  justify-content: space-evenly;
  align-items: center;
  /* width: 70%; */
}

.social-grid-box {
  place-self: center;
  margin-bottom: 15px;
  margin-right: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f4f6f5;
  width: 90px;
  height: 90px;
  border: 10px solid #f4f6f5;
}

.social-grid a.social-grid-box:hover {
  border-color: #333333;
}

.social-grid-box > i {
  font-size: 3em;
  color: #b4a4a4;
}

.cta-text-section-wrapper > .tg-container {
  background-color: rgb(0, 0, 0, 0.0);
  /* width: 500px; */
  padding: 50px 30px;
  display: flex;
  text-align: center;
  font-size: medium;
  justify-content: center;
  align-items: center;
}


/* COLUNAS */
/* Só para remover o efeito de zoom do tema */
.portfolio-images-wrapper:hover .port-img img {
  -webkit-transform: scale(1.0);
	-moz-transform: scale(1.0);
	-ms-transform: scale(1.0);
	-o-transform: scale(1.0);
  transform: scale(1.0);
}

.colunas-card:hover {
  background-color: #c4151b2a;
}

.colunas-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 30px;
  grid-gap: 40px;
}

.portfolio-images-wrapper {
  width: 100%;
}

.colunas-colunista {
  /* margin-bottom: 2px; */
  text-align: left;
  font-size: 1.2em;
  font-weight: lighter;
  padding-bottom: 0px;
  vertical-align: bottom;
}

.colunas-titulo {
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  padding-top: 20px;
  margin-bottom: 10px;
  /* text-transform: uppercase; */
}

.colunas-sub-titulo {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
}

.colunas-data {
  padding-left: 20px;
  text-align: left;
  font-size: 1.0em;
  font-weight: lighter;

}

#colunas .section-title-wrapper {
  margin-bottom: 40px;
}

.colunas-card{
  width: 100%;
  justify-self: center;
}


/* ######## NAVBAR ########### */
/* ajustando fontes dos items */
#site-navigation .menu li a {
  font-size: 14px;
}

#site-navigation .menu li {
  margin-left: 9px;
}
/* ###@ Ajustando tamanho do logo */
#masthead .header-wrapper.stick .logo img {
	-webkit-transform: scale(0.96);
	-moz-transform: scale(0.96);
	-ms-transform: scale(0.96);
	-o-transform: scale(0.96);
	transform: scale(0.96);
}

#masthead .header-wrapper .logo img {
	-webkit-transition: all 0.2 s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}

/* ###@ Tirando uma barra invertida que tem antes da lupa do Search */
.search-icon:before {
  display: none;
}

/* ########### EDITORIAL ########### */
/* ########### EDITORIAL : HOME ########### */
.editorial-hero img:hover {
	opacity: 0.95;
}


/* ########### MIDIAS DIGITAIS ########### */
#social-media-container {
  width: 95%;
}
#content-media-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
}

#content-media-box > div:first-child {
  width: 47%;
  margin-right: 30px;
  height: 90%;
}


#content-media-youtube {
  width: 100%;
}

.entry-meta {
  display: flex;
  justify-content: center;
}

/* ARCHIVES */

/* 1..1 POSTs GRID */

.archive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 20px;
  margin: 0 30px
  -webkit-column-count;
  -moz-column-count: 2;
  column-count: 2;
}

/* Efeito sobre o card */

.entry-thumbnail:hover .blog-hover-effect {
	opacity: 0.4;
}

/* IMAGES FROM HOME */

/* 1..1 ASPECT RATION */

.blog-img > img {
  object-fit: cover;
  width: 100%;
  max-height: 183px;
  max-width: 350px;
}


/* COLUNISTAS */

/* 1..1 COLUNISTAS GRID */
.colunistas-archive-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.colunistas-archive-header:nth-child(2){
  height: 100%;
}

.colunistas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 40px;
  margin: 0 20px
}

.colunista-foto {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
  transition: filter 700ms ease-out;
}

.colunista-elemento {
  min-height: 120px;
}

.colunista-elemento:hover .colunista-foto {
  -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
  filter: grayscale(0%);
}
/* .colunista-name */
/* .colunista-bio */

/* 1..2 COLUNISTAS SOCIAL MEDIA GRID */

.colunista-social-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-column-gap: 15px;
  align-items: center;
  justify-items: center;
}

.colunista-social-item > i {
  font-size: 1.5em;
  color: #b4a4a4;
  border-bottom: 3px solid #ffffff;
  padding-bottom: 5px;
}

.colunista-social-item:hover > i {
  border-bottom: 3px solid #333333;
}


.wp-playlist-item-title {
  letter-spacing: 1px;
}

#content-media-podcast > .wp-playlist {
  margin: 0 0 18px;
}

/* 1..3 COLUNISTAS SINGLE */

.colunista-foto-single {
  height: 100%;
}

.colunista-author-box {
  display: flex;
  /* margin-bottom: 20px; */
}

.colunista-colunas-sub-title {
  margin-top: 20px;
  margin-bottom: 30px;
}

.author-description-wrapper {
  margin-left: 40px;
}

/* 1..3 COLUNISTAS SINGLE CONTENT */

.author-img {
  margin-right: 20px;
}


/* ######## RELATED POSTS ###########*/
/* ###@ GRID  */

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #e1e1e1;
  margin-bottom: 10px;
  grid-gap: 40px;
}

.related-card > .entry-thumbnail {
  margin-bottom: 20px;
}

.related-card > a > h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.related-title {
  margin-bottom: 20px;
}

/* ######## FOOTER ###########*/
/* ###@ CADASTRO  */

#subscribe-btn {
  background: #c4151c;
  color: #f4f6f5;
  text-decoration: none;
  padding: 1em 2em;
  border: none;
  display: inline-block;
  margin-top: 20px;
  margin-left: 30%;
  font-size: 1.2em;
  cursor: pointer;
  border-radius: 0px;
}

#subscribe-btn:hover {
  background: #ec050d;
}

.subscribe-field {
  min-width: 300px;
  max-width: 400px;
  overflow: hidden;
  font-size: 20px;
  margin: 8px auto;
  display: flex;
  align-items: center;
}

.subscribe-field > i {
  width: 26px;
  float: left;
  text-align: center;
}

.subscribe-field > .campo {
  color: #ffffff;
  border: none;
  outline: none;
  background: none;
  font-size: 18px;
  width: 80%;
  float: left;
  margin: 10px;
  border-bottom: 1px solid #c4151ba8;
}

.subscribe-field > .campo:focus {
  border: none;
  border-bottom: 3px solid #c4151b;
  color: #ffffff;
}

.mc4wp-form-fields > p {
  min-width: 300px;
}

@media (max-width: 998px) {

  .social-grid {
    width: 330px;
  }

  .colunistas-grid {
    grid-template-columns: repeat(2, 1fr);
    -webkit-column-count: 2;
    -moz-column-count: 2;
        column-count: 2;
  }

  .archive-grid .entry-title {
    display: none;
    /* font-size: 20px; */
  }
  
  .archive-grid .entry-meta {
    display: none;
  }
  
  .archive-grid > article > p {
    font-size: 15px;
    /* display: none; */
  }

  .search-icon {
    padding: 0px 30px 0px;
  }

  /* ######### ACIONA HAMBURGUER ############ */

  
  /* ############ COLUNAS @ MEDIUM ############ */
  .colunas-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .colunas-card:nth-child(n+5) {
    display: none;
  }


  /* ########### MIDIAS DIGITAIS @ MEDIUM ########### */
  #content-media-box {
    flex-direction: column;
  }

  #content-media-box > div:first-child {
    width: 100%;
    margin-right: 0px;
  }

  #social-media-title {
    margin-bottom: 20px;
  }
  
  /* #### TEXTO DO HERO #### */
  .caption-title {
    line-height: 28px;
  }

}

@media (max-width: 768px) {

  #colophon .tg-column-3 {
    display: none;
  }

  .cta-text-section-wrapper > .tg-container {
    width: 90%;
  }

  .archive-grid {
    margin: 0px 30px
  }

  /* MEDIAS SOCIAIS */
  .social-grid-box {
    width: 70px;
    height: 70px;
    border: 10px solid #f4f6f5;
  }

  /* COLUNAS */
  .colunas-wrapper {
    grid-template-columns: 1fr;
    margin: 0;
  }

  .colunas-card{
    margin-bottom: 30px;
  }

  .entry-meta {
    display: block;
  }

  /* FINANCIE */
  .cta-text-title h2 {
    font-size: 36px;
  }
  
  .cta-text-desc > p {
    font-size: 28px;
    font-weight: 500;
  }
    
}
@media (max-width: 480px) {
  
  .colunistas-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  #content-media-podcast {
    width: 300px;
  }

  .social-grid-box {
    width: 55px;
    height: 55px;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }

  .entry-content > p {
    font-size: 15px;
  }

  .colunista-author-box {
    flex-direction: column;
    align-items: center;
  }

  #masthead > .header-wrapper > .tg-container > .logo {
    width: 250px;
  }

  /* FINANCIE */
  .cta-text-title h2 {
    font-size: 28px;
  }
  
  .cta-text-desc > p {
    font-size: 22px;
    font-weight: 500;
  }
  /* MEDIAS SOCIAIS */
  .social-grid {
    width: 70%;
  }

}