/* ----------------------------------------------------------------
	Custom CSS
-----------------------------------------------------------------*/

.mb-20 { margin-bottom: 20px; }
.mb-25 { margin-bottom: 25px; }

/*@media (max-width: 768px) {*/
  .content-wrap .header-stick {
    margin-top: -60px !important;
  }
/*}*/

/* CORES */

#top-bar { background-color: #7b8b93; color: #ffffff; }
#header, #header.sticky-header #header-wrap { background-color: #F5F5F5; }

#top-social li a { color: #ffffff; }
#top-social li { border-left: 1px solid #ffffff; }
.si-email3:hover, .si-colored.si-email3 { background-color: #444 !important; }

/* IDIOMAS */
#language-bar { margin: 0 0 0 20px; float: right; }

@media (max-width: 991px){
  #language-bar { position: absolute; top: 0; right: 15px; } 
}

@media (max-width: 479px) {
  .container, #header.full-header .container, .container-fullwidth {
    width: auto !important;
  }
  #language-bar { position: absolute; top: -35px; right: 0; } 
}

#language-bar ul { margin: -1px 0 0 0; list-style: none; -webkit-transition: height .4s ease, margin .4s ease, opacity .2s .2s ease; -o-transition: height .4s ease, margin .4s ease, opacity .2s .2s ease; transition: height .4s ease, margin .4s ease, opacity .2s .2s ease; }
#language-bar ul li { position: relative; float: left; }
#language-bar ul li > span { display: block; line-height: 32px; padding: 34px 3px; -webkit-transition: margin .4s ease, padding .4s ease; -o-transition: margin .4s ease, padding .4s ease; transition: margin .4s ease, padding .4s ease; }

#header.sticky-header:not(.static-sticky) #language-bar ul { margin: 0; }
#header.sticky-header:not(.static-sticky) #language-bar ul li > span { padding-top: 12px; padding-bottom: 12px; }

#language-bar ul li > span > i { display: block; width: 32px; height: 32px; -webkit-transition: opacity .4s ease; -o-transition: opacity .4s ease; transition: opacity .4s ease; }
#language-bar ul li > span > i[class^="flag-"], #language-bar ul li > span > i[class*=" flag-"] { background-size: 32px 32px !important; opacity: 0.5; }
#language-bar ul li > span > i[class^="flag-"].active, #language-bar ul li > span > i[class*=" flag-"].active { opacity: 1; }
#language-bar ul li > span > i.flag-BR { background: transparent url("../images/icons/flags/BR.png") no-repeat center center; }
#language-bar ul li > span > i.flag-UK { background: transparent url("../images/icons/flags/UK.png") no-repeat center center; }
#language-bar ul li > span > i:hover { cursor: pointer; opacity: 1; }

/* FIM IDIOMAS */

#primary-menu ul ul:not(.mega-menu-column), #primary-menu ul li .mega-menu-content { width: 230px; }

.content-wrap { padding: 60px 0; }

#page-title { padding: 40px 0 50px 0; background-color: #eaeaea; }
#page-title h1 { font-size: 26px; }
.breadcrumb { right: auto !important; margin: 25px 0 0 0 !important; }

/* .clients-grid li { display: block; line-height: 115px; text-align: center; }
.clients-grid li, .clients-grid.grid-2 li { padding: 2px; }
.clients-grid li:before, .testimonials-grid li:before { content: ''; display: inline-block; vertical-align: middle; height: 100%; border-left: none; }
.clients-grid li:after, .testimonials-grid li:after { border-bottom: none; }
.clients-grid li a { display: inline-block; vertical-align: middle; text-align: center; }
.clients-grid li a img { width: 80%; }
.clients-grid li a img.w-100 { width: 100%; } */

.clients-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}

.clients-grid li {
  display: flex; 
  align-items: center;
}

.clients-grid li:before, .testimonials-grid li:before { border-left: none; }
.clients-grid li:after, .testimonials-grid li:after { border-bottom: none; }

.single-post .entry-content .entry-image { max-width: 320px; }

.entry-content p { text-align: justify; }
.entry-content ol, .entry-content ul { margin-left: 15px; }
/* .entry-content ol li, .entry-content ul li { padding-left: 10px; } */

.flex-control-nav { background-color: #1ABC9C; padding: 5px; top: 7px; right: 5px; }

#busca { width: calc(100% - 55px); float: left; } 
#busca-ok { margin-top: 0; margin-right: 0; padding: 0 10px; }

.button-border.button-green { color: #1ABC9C; border-color: #1ABC9C; }
.button-border.button-green.button-fill:before { background-color: #1ABC9C !important; }

#artigos .entry-title h4, #outros .entry-title h4 { margin-bottom: 5px; text-transform: uppercase; }
#outros .entry-title span.tipo { padding: 2px 4px; color: #FFF; background-color: #1ABC9C; }
#artigos .entry-title h4 a, #outros .entry-title h4 a { color: #333 }
#artigos .entry-title h4 a:hover, #outros .entry-title h4 a:hover { color: #1ABC9C }
#artigos .entry-subtitle-published-by span, 
#outros .entry-subtitle-published-by span,
#artigos .entry-subtitle-published-in span, 
#outros .entry-subtitle-published-in span { display: inline-block; font-style: italic; color: #a5a5a5; }
#artigos .entry-subtitle-published-by, #outros .entry-subtitle-published-by { border-bottom: 2px solid #a5a5a5; }
#artigos .entry-subtitle-published-in span, #outros .entry-subtitle-published-in span { float: right; margin-bottom: 5px; }

@media (max-width: 767px) {
  #artigos .entry-subtitle span { display: block; font-style: italic; color: #a5a5a5; }
  #artigos .entry-subtitle span.published-in { float: none; }  
}

#artigos .entry-content, #outros .entry-content { clear: both; }

/* SELECT 2 */
.select2-container { padding: 4px 6px; }
.select2-container.select2-drop-above .select2-choice,
.select2-container .select2-choice { background: none; border: none; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; margin: 3px 0 0; }
.select2-container.select2-drop-above .select2-choice .select2-arrow,
.select2-container .select2-choice .select2-arrow { background: none; border: none; }
.select2-container.select2-drop-above .select2-choice > .select2-chosen [class^="flag-"],
.select2-container .select2-choice > .select2-chosen [class^="flag-"] { margin: -2px 4px 0 0; }
.select2-container-multi .select2-choices,
.select2-choices { border: none; background: none; padding: 1px 0; }

.select2-search { display: none; }
.select2-search input { padding-top: 1px; }
.select2-container-multi .select2-choices .select2-search-choice,
.select2-choices .select2-search-choice { -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; background: #f0f7fc; border: 1px solid #2487c9; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; font-size: 13px; padding: 5px 22px 4px 5px; }
.select2-container-multi .select2-choices .select2-search-choice [class^="flag-"],
.select2-choices .select2-search-choice [class^="flag-"] { margin: -4px 4px 0 0; height: 14px; }
.select2-container-multi .select2-search-choice-close { left: auto; right: 3px; color: #fff; background: none !important; top: 5px; }
.select2-container-multi .select2-search-choice-close:after { font-weight: 700; font-size: 17px; right: 0; color: #ccc; content: '×'; }
.select2-container-multi .select2-search-choice-close:hover { text-decoration: none; }
.select2-container-multi .select2-search-choice-close:hover:after { color: #222222; }
.select2-container-multi.select2-container-active .select2-choices { border: none; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
.select2-container-multi .select2-choices .select2-search-choice-focus { background: #daecf8; }
.select2-drop { padding-top: 4px; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; border-color: transparent #eee #ddd #ddd; }
.select2-results .select2-highlighted { background: #eee; color: #222222; }
.select2-dropdown-open.select2-drop-above .select2-choices { background: #fff; border: none; }
.select2-drop.select2-drop-above { -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; border-color: #ddd #eee transparent #ddd; }
.select2-drop.select2-drop-above.select2-drop-active { border-top: #ddd; margin-bottom: -1px; }
.select2-results .select2-result-label { font-size: 15px; }
.select2-results .select2-result-label [class^="flag-"] { margin: -2px 4px 0 0; }
/* FIM SELECT 2 */

/* EQUIPES */
.equipes .content-wrap { padding-top: 20px; }
.equipes .equipe img { display: block; width: 100%; margin-bottom: 15px; }
.equipes .equipe p { text-align: justify; }
/* FIM EQUIPES */

/* NOTICIAS */
#content ul li {
  line-height: 1.8;
}

#posts {
  display: flex;
  flex-wrap: wrap;
}

.post-grid .entry {
  float: none;
}

.entry-content ul li {
  text-align: justify;
}

/* FIM NOTICIAS */

.post-grid .entry { overflow: hidden; }
.link-voltar h5 { color: inherit; }
