/*
	Theme Name:   CMCC
	Theme URI:    http://cmcc.gov.mz/
	Description:  Tema filho baseado no Jannah, desenvolvido para personalizar o design e otimizar a performance do site do Município de Chókwè.
	Author:       Kapateki
	Author URI:   https://kapateki.co.mz
	Template:     jannah
	Version:      1.0.1
	License:      license purchased
	License URI:  http://themeforest.net/licenses/regular_extended
	Tags:         Tags: 
	Text Domain:  cmcc
*/

/*---------------------------------------------------------------*
  * RESET
 *---------------------------------------------------------------*/

/* --------------------------------------------------------
   RESET CSS (REINICIAR ESTILOS)
-------------------------------------------------------- */
:root {
  --color-primary: #996633; /* Cor primária */
  --color-secondary: #006633; /* Cor secundária */
  --color-tertiary: #f0f0f0; /* Cor terciária */
  --color-text: #444444; /* Cor do texto */
  --color-accent: #ffff00; /* Cor de destaque */
  --color-white: #ffffff;
  --color-title: #333333;
  --color-top-nav-bg: #d6d6d6;
  --color-breaking-title-bg: #a0a0a0;
  --color-top-menu-border: #c6c6c6;
  --color-top-menu-border-dark: #484b51;
  --color-border-menu: rgba(255, 255, 255, 0.09);
  --color-footer-bg: #f0f0f0;
  --color-footer-info-bg: #4e4e4e;
}

/* --------------------------------------------------------
   GLOBAL STYLES (ESTILOS GLOBAIS)
-------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-title);
}

p {
  line-height: 1.5;
  font-family: "open sans";
}

.none {
  display: none;
}

.brand-title,
a:hover {
  color: var(--color-primary);
}

.button,
.generic-button a,
.generic-button button,
[type="submit"] {
  width: auto;
  position: relative;
  background-color: var(--color-text);
  color: var(--color-white);
  border-radius: 2px solid var(--color-text);
  padding: 10px 25px;
  font-weight: 600;
  font-size: 14px;
}

.button:hover,
.generic-button a:hover,
.generic-button button:hover,
[type="submit"]:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
}

/* --------------------------------------------------------
   HEADER STYLES (ESTILOS PARA O CABEÇALHO)
-------------------------------------------------------- */
.theme-header.has-shadow {
  box-shadow: rgba(0, 0, 0, 0) 0px 25px 20px -20px;
}

.theme-header {
  background: var(--color-white); /* Cor do fundo do cabeçalho */
}

.theme-header .fixed-nav:not(.just-before-sticky) {
  line-height: 50px !important;
}

.dark-skin #theme-header {
  background-color: var(--color-white); /* Cor do fundo no modo escuro */
}

/** top nav **/
.top-nav {
  background-color: var(--color-top-nav-bg);
  border-width: 0px 0;
  line-height: 35px;
}

.top-nav a:not(.button):not(:hover) {
  color: var(--color-text);
}

.top-nav-dark .top-nav * {
  color: var(--color-white);
}

/* topbar */
.topbar-wrapper {
  min-height: 35px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

/* breaking */
.breaking-title {
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.breaking-title::before {
  background: var(--color-breaking-title-bg);
}

.top-nav-dark .breaking-title::before {
  background: var(--color-primary);
}

.top-nav-dark .top-nav .breaking a {
  color: var(--color-white) !important;
}

.top-nav-dark .top-nav .breaking a:hover {
  color: #f2f2f2 !important;
}

.breaking-news-nav {
  display: none;
}

.ticker {
  height: 35px;
}

.ticker-content,
.ticker-swipe {
  background-color: transparent;
}

.ticker-content {
  display: block !important;
  left: 10px;
  line-height: 35px;
  background-color: transparent;
  font-weight: 600;
}

.ticker-content a:hover {
  color: #666;
}

.ticker-wrapper.has-js {
  height: 35px;
  padding-right: 20px;
}

/* components */
.top-nav .components > li > a {
  width: 36px;
}

.top-nav .components > li:hover > a {
  color: #666;
}

.tie-icon-moon::before {
  content: "\f10d";
  font-size: 12px;
}

.dark-skin .change-skin-icon::before {
  content: "\f113";
  font-size: 13px;
}

/* top menu */
.top-menu .menu li {
  border-right: 1px solid var(--color-top-menu-border);
}

.top-menu .menu li:hover > a {
  color: var(--color-text);
}

.top-menu .menu li:first-child {
  border-left: 1px solid var(--color-top-menu-border);
}

.top-nav-dark .top-menu .menu li > a {
  color: var(--color-white);
}

.top-nav-dark .top-menu .menu li:hover > a {
  color: #f2f2f2;
}

.top-nav-dark .top-menu .menu li {
  border-right: 1px solid var(--color-top-menu-border-dark);
}

.top-nav-dark .top-menu .menu li:first-child {
  border-left: 1px solid var(--color-top-menu-border-dark);
}

/** logo wrapper **/
.logo-row {
  min-height: 138px;
  align-content: center;
}

/* search bar */
.header-search-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 98px;
}

.header-search-bar .components-header-container {
  border: 2px solid var(--color-top-nav-bg);
  border-radius: 4px;
  width: 370px;
}

.header-search-bar form#search {
  height: 43px;
  text-align: right;
}

.header-search-bar #text {
  display: none !important;
}

.header-search-bar input {
  border: 0;
  color: var(--base-color);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 12px;
  width: 100%;
}

.header-search-bar input:hover,
.header-search-bar input[type="text"]:focus {
  background-color: transparent;
}

.header-search-bar [type="submit"] {
  width: 40px;
  height: 45px;
  padding: 10px;
  top: -43px;
  position: relative;
  background-color: transparent;
}

.header-search-bar .tie-icon-search::before {
  content: "\f002";
  font-size: 15px;
  color: #999;
}

.header-search-bar #search-submit .tie-icon-spinner {
  color: #777;
  position: relative;
  left: 0px;
}

#autocomplete-suggestions {
  background-color: var(--color-tertiary);
  border: 2px solid var(--color-top-nav-bg);
  color: var(--color-text);
  border-radius: 4px;
}

/** main menu wrapper **/
.main-nav-wrapper {
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--color-accent);
  font-family: "Open Sans";
}

.main-nav {
  background-color: var(--color-secondary);
  color: var(--color-white);
  background-size: 100%;
  background-image: -webkit-linear-gradient(top, #077c35 0%, #06642b 100%);
  background-image: -moz-linear-gradient(top, #077c35 0%, #06642b 100%);
  background-image: -o-linear-gradient(top, #077c35 0%, #06642b 100%);
  background-image: linear-gradient(to bottom, #077c35 0%, #06642b 100%);
}

/** weather forecast day **/
.weather-menu-item {
  padding-right: 20px;
  height: 50px;
  border-right: 1px solid var(--color-border-menu);
}

.main-nav-dark .main-nav .tie-weather-widget {
  color: #ffffff;
  padding-top: 7px;
}

.weather-menu-item .weather-wrap {
  line-height: 0px;
}

.weather-menu-item .weather-forecast-day {
  width: auto;
  padding: 0 10px 0 15px;
}

.weather-menu-item .weather-forecast-day .weather-icon {
  font-size: 29px;
  margin-bottom: 0;
  width: 1em;
  height: 1em;
}

.main-nav-dark .main-nav .icon-basecloud-bg::after {
  color: #06642b;
}

.weather-menu-item .city-data {
  font-size: 0px;
}

.weather-menu-item .weather-current-temp {
  font-size: 17px;
  font-weight: 600;
  line-height: 35px;
  font-family: "Segoe UI";
  top: -2px;
  position: relative;
}

.weather-menu-item .weather-current-temp sup {
  font-size: 8px;
  top: -2px;
  font-weight: 600;
}

/* custom button / green line */
.custom-menu-button {
  padding-right: 0px;
  padding-left: 20px;
}

.custom-menu-button span {
  display: block;
  line-height: 1.2;
  font-weight: 600;
}

.custom-menu-button span.green-line-title {
  font-size: 12px;
}

.custom-menu-button span.green-line-number {
  font-size: 15px;
  font-weight: 700;
}

.custom-menu-button span.green-line-number a {
  color: var(--color-white) !important;
}

/* search-bar */
.search-bar.menu-item.custom-menu-link {
  display: none;
}

/* --------------------------------------------------------
   BREADCRUMB ()
-------------------------------------------------------- */
.tie-icon-home {
  display: none;
}

.entry-header-outer #breadcrumb {
  margin: 0 0 15px;
  padding: 0;
  font-weight: 500;
}

#breadcrumb a:not(:hover) {
  color: var(--color-text);
}

.entry-header .entry-title {
  margin-bottom: 15px;
  text-transform: uppercase;
  font-size: 34px;
}

/* --------------------------------------------------------
   MAIN CONTENT STYLES (ESTILOS DO CONTEÚDO PRINCIPAL)
-------------------------------------------------------- */

/* mag box title */

.mag-box .post-title {
  font-size: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}

.mag-box li:not(:first-child) .post-title {
  font-size: 15px;
}

.mag-box li:not(:first-child) .post-details {
  padding-top: 7px;
}

.mag-box-title h3 {
  font-size: 24px;
  margin-right: 20px;
}

.mag-box .posts-items li {
  float: left;
  width: 50%;
  margin-top: 19px;
  padding: 0 2%;
}

.block-head-1 .the-global-title {
  border-bottom: 0;
  margin-bottom: 0px;
}

.block-head-1 .the-global-title::after,
.block-head-1 .the-global-title::before {
  display: none;
}

.big-post-left-box .posts-items .post-excerpt {
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  white-space: normal;
}

.big-post-left-box .posts-items li:nth-child(n + 2) .post-thumb img {
  max-width: 120px;
}

/** sidebar **/
.magazine2 .sidebar .container-wrapper,
.magazine2 .sidebar .tie-weather-widget,
.magazine2 .widget-content-only {
  margin-top: 10px;
  margin-bottom: 10px;
}

.magazine2 .sidebar .container-wrapper:first-child,
.magazine2 .sidebar .tie-weather-widget:first-child,
.magazine2 .widget-content-only:first-child {
  margin-top: 10px;
  margin-bottom: 0px;
}

.magazine2 .sidebar .container-wrapper:last-child,
.magazine2 .sidebar .tie-weather-widget:last-child,
.magazine2 .widget-content-only:last-child {
  margin-top: 10px;
  margin-bottom: 0px;
}

.widget_media_image img {
  margin: 0 auto;
  display: block;
  width: 100%;
  height: 210px;
}

/* --------------------------------------------------------
   FOOTER STYLES (ESTILOS DO RODAPÉ)
-------------------------------------------------------- */
/** footer widget area **/
#footer-widgets-container {
  background-color: var(--color-tertiary);
  color: var(--color-text);
}

#footer-widgets-container a {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  font-family: open sans;
}

.site-footer .widget_nav_menu li {
  padding: 0px 0 5px 0px;
  line-height: 1.51;
}

.site-footer .widget_nav_menu li:last-child {
  padding: 0px 0 0px 0px;
}

.footer-widget-area:first-child:not(.footer-boxed-widget-area) {
  padding-top: 30px;
}

.footer-widget-area:last-child {
  margin-bottom: 15px;
}

.block-head-1 #footer .widget-title {
  padding: 0 0 15px;
  margin-bottom: 20px;
}

.widget-title .the-subtitle {
  font-size: 20px;
  min-height: 15px;
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
}

.block-head-1 .dark-skin .widget-title::after {
  background: rgba(198, 198, 198, 0.4);
  height: 1px;
  bottom: 0px;
  width: 100%;
  display: unset;
}

.footer-contact {
  font-size: 14px;
  font-weight: 500;
  font-family: "Open Sans";
}

.footer-contact p {
  margin-bottom: 2px !important;
}

.footer-contact strong {
  font-weight: 700;
}

.footer-icon {
  font-size: 24px !important;
  color: var(--color-primary) !important;
  font-weight: 600 !important;
  margin-left: 20px;
}

.footer-icon:before {
  content: "";
  background: url(./images/mobile-phone.png);
  background-size: cover;
  position: absolute;
  width: 12px;
  height: 20px;
  margin-left: -20px;
  margin-top: 3px;
}

/** site info / copyright **/
.site-info {
  background: var(--color-footer-info-bg);
  color: var(--color-white);
  padding: 20px 0;
  line-height: 32px;
  text-align: center;
  font-family: "Open Sans";
}

.copyright-text {
  font-size: 14px;
}

.copyright-text a {
  font-weight: 400;
  color: var(--bright-color);
}

.copyright-text a:hover {
  opacity: 0.8;
}

.copyright-text span.bold {
  font-weight: 600;
}

/**/
a.go-to-top-button {
  background: var(--color-primary);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

/* --------------------------------------------------------
   PLUGIN CUSTOMIZATION (CUSTOMIZAÇÃO DE PLUGINS)
-------------------------------------------------------- */
/**  **/
.ovaev-event-element.version_3 {
  padding: 0 0px;
}

.ovaev-event-element.version_3 .title-readmore .title-event {
  font-size: 24px;
  line-height: 44px;
  color: var(--color-title);
  font-weight: 600;
  margin: 0;
  float: left;
}

.ovaev-event-element.version_3 .title-readmore .read-more {
  font-size: 14px;
  line-height: 44px;
  color: var(--color-text);
  letter-spacing: 0;
  font-weight: 500;
  font-family: open sans;
}

/* --------------------------------------------------------
   RESPONSIVE STYLES (ESTILOS RESPONSIVOS)
-------------------------------------------------------- */
@media only screen and (min-width: 992px) and (max-width: 1100px) {
  .main-nav .menu > li:not(.is-icon-only) > a {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (min-width: 992px) {
  /** main content **/
  .tie-col-md-8 {
    width: 70%;
  }

  .tie-col-md-4 {
    width: 30%;
  }

  /** main menu wrapper **/

  /**/
  .tie-col-md-8.stream-item.stream-item-top-wrapper {
    width: 66.6666666667%;
  }

  /* main nav */
  #main-nav {
    line-height: 50px;
  }

  .main-menu .menu > li > a {
    padding: 0 20px;
    font-size: 16px;
    font-weight: 400;
    border-left: 1px solid var(--color-border-menu);
  }

  .main-menu .menu > li:last-child > a {
    border-right: 1px solid var(--color-border-menu);
  }

  .main-nav .components li a:hover,
  .main-nav .menu ul li.current-menu-item:not(.mega-link-column) > a,
  .main-nav .menu ul li:hover > a:not(.megamenu-pagination) {
    color: var(--color-primary);
  }

  nav.main-nav.menu-style-default .menu > li.tie-current-menu {
    border-bottom: 0;
    margin-bottom: 0;
  }

  nav.main-nav.menu-style-solid-bg .menu > li.tie-current-menu > a,
  nav.main-nav.menu-style-solid-bg .menu > li:hover > a {
    background-color: var(--color-primary);
    color: var(--color-white);
  }

  nav.main-nav.menu-style-solid-bg .menu > li.bg-none > a {
    background-color: transparent !important;
    color: inherit !important; /* Mantém a cor original do texto */
  }

  nav.main-nav.menu-style-solid-bg .menu > li.bg-none:hover > a {
    background-color: var(--color-primary) !important;
    color: inherit !important;
  }

  .hover-none {
    background-color: transparent !important;
  }

  nav.main-nav.menu-style-default .menu > li.tie-current-menu > a::after {
    display: none;
  }

  .header-menu .menu .sub-menu a {
    padding: 3px 5px;
    font-size: 15px;
    margin-bottom: 0px;
    color: var(--color-text);
    font-family: Segoe UI;
    font-weight: 600;
  }

  .header-menu
    .menu
    ul:not(.sub-menu-columns):not(.sub-menu-columns-item):not(.sub-list):not(
      .mega-cat-sub-categories
    ):not(.slider-arrow-nav) {
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  }

  .menu .mega-menu:not(.is-icon-only) > a,
  .menu > .menu-item-has-children:not(.is-icon-only) > a {
    padding-right: 20px;
  }

  .mega-menu > a::before,
  header .menu-item-has-children > a::before {
    display: none;
  }

  .main-menu .menu > li > .menu-sub-content {
    border-top: 0;
  }

  .main-menu .menu-sub-content {
    background: var(--color-tertiary);
    padding: 20px 15px 17px;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.2);
  }

  .mega-links .mega-menu-block {
    padding: 15px 20px !important;
  }

  .main-menu .mega-links-head::after {
    background: var(--color-primary);
  }

  .main-menu .mega-links-head {
    font-size: 15px;
    margin-bottom: 10px;
    color: var(--color-text) !important;
    font-family: Segoe UI;
  }

  .main-nav .menu ul li:hover > a:not(.megamenu-pagination) {
    color: var(--color-primary);
  }

  .main-nav .menu ul li.current-menu-item:not(.mega-link-column) > a {
    color: var(--color-primary) !important;
  }

  li.mega-link-column li a {
    padding: 3px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text) !important;
  }

  li.mega-link-column li a:hover {
    color: var(--color-primary) !important;
  }

  /** site info / copyright **/
  .copyright-text span.mobile-display {
    display: none;
  }
}

/* Estilos para tablets em modo paisagem */
@media (max-width: 991px) {
  /** logo wrapper **/
  .logo-row {
    min-height: unset;
  }

  #theme-header.has-normal-width-logo #logo img {
    width: 100% !important;
    max-width: 300px;
  }

  /**/
  .tie-col-md-8.stream-item.stream-item-top-wrapper {
    display: none !important;
  }

  /** footer widget area **/
  #footer .container-wrapper {
    padding: 15px 0 20px;
  }

  .block-head-1 .dark-skin .widget-title::after {
    width: 20%;
  }

  .block-head-1 #footer .widget-title {
    padding: 0 0 10px;
    margin-bottom: 15px;
  }
  /** site info / copyright **/
  .copyright-text span.mobile-none {
    display: none;
  }
}

/* Estilos para tablets pequenos */
@media (max-width: 767px) {
  /** site info / copyright **/
  .site-info {
    padding: 30px 0;
  }

  .copyright-text {
    line-height: 1.4;
  }

  .copyright-text.copyright-text-first {
    margin-bottom: 10px;
  }

  /* go to top */
  a.go-to-top-button.show-top-button {
    bottom: 90px;
  }
}

@media (max-width: 479px) {
  #theme-header.has-normal-width-logo #logo img {
    max-height: 80px !important;
  }
}
