:root {
    --main-yellow-color: #fff212;
    --main-blue-color: #0037b2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
	background-color: #e6e7e8;
}

[data-animate] {
    opacity: 0;
}

[data-animate].animate__animated {
    opacity: 1;
}

a {
	color: var(--main-blue-color);
}

a:hover {
	color: #0037b2DD;
}

/* #NagishLiBarStrip {
	display: none !important;
} */

.wp-block-gallery.has-nested-images figure.wp-block-image {
    flex-grow: 0;
}

.wp-block-columns.is-layout-flex {
    margin-bottom: 2em;
}

.wp-block-button a {
    border-radius: 6px;
    padding: calc(0.6em) calc(1.333em);
    transition-duration: 300ms;
    text-transform: uppercase;
}

.wp-block-button a:hover {
    opacity: 0.9;
}

.wp-block-embed.is-provider-youtube .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.wp-block-embed.is-provider-youtube .wp-block-embed__wrapper::before {
    display: block;
    padding-top: 56.25%;
    content: "";
}

.wp-block-embed.is-provider-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.btn-primary {
	border: none;
	border-radius: 0 !important;
	background-color: var(--main-blue-color);
	opacity: 1;
}

.btn-primary:hover {
	opacity: .9;
}

.tns-outer {
	position: relative;
}

.tns-nav {
	position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.tns-nav button {
	width: 8px;
	height: 8px;
	margin: 3px;
	border: none;
	background-color: rgba(255, 255, 255, .5);
	border-radius: 50px;
}

.tns-nav button.tns-nav-active {
	background-color: rgba(255, 255, 255, .8);
}

.navbar-toggler {
	border: none;
}

.pagination > * {
	height: 2rem;
	width: 2rem;
	border: 1px solid var(--main-blue-color);
	color: var(--main-blue-color);
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	border-radius: 999px;
	margin: 0 2px;
}

.pagination > .current {
	background-color: var(--main-blue-color);
	color: #FFF;
}

.related-post {
	margin-bottom: 16px;
	height: 80px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.related-post:hover a {
	font-weight: bold;
}

.related-post span {
	flex: 1;
	max-height: 3.6rem;
}

.related-post span a {
	text-decoration: none;
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
	position: relative;
    line-height: 1.2rem;
}

.related-post a img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 8px;
}

/* HEADER */
#top-menu {
    background-color: var(--main-yellow-color);
	border-bottom: 20px solid var(--main-blue-color);
}

#top-menu ul {
    list-style: none;
    padding: 0;
	margin: 0;
}

#top-menu li {
    display: inline-block;
    padding: 0 .5rem;
    margin: 1rem 0;
}

#top-menu li:not(:last-child) {
    border-right: 2px solid var(--main-blue-color);
}

#top-menu a, #top-menu button {
    color: var(--main-blue-color);
    text-decoration: none;
    font-size: .9rem;
    font-weight: bold;
    padding: 2px;
    display: inline-block;
}

header .rounded-button {
    color: var(--main-blue-color);
    text-decoration: none;
	background-color: transparent;
	width: 1.8rem;
	height: 1.8rem;
	display: inline-flex !important;
	justify-content: center;
	align-items: center;
	border-radius: 1.5rem;
	border: 1px solid var(--main-blue-color);
	text-align: center;
	margin: 0 0.2rem;
	font-size: 1rem !important;
}

#top-menu .btn-daily {
	margin-left: .5rem;
	margin-right: .5rem;
	padding-right: .5rem;
	border-right: 2px solid var(--main-blue-color);
	display: flex;
	align-items: center;
}

#top-menu .btn-daily::before {
	content: '';
	width: 1.5rem;
	height: 2rem;
	background: url('../images/diario-oficial-icone.png') no-repeat center/contain;
	display: inline-block;
	margin-right: .2rem;
}

#main-menu {
	background-color: #ffffff;
	padding: .5rem 0;
	position: relative;
}

#main-menu::after {
	content: '';
	position: absolute;
	bottom: -.3rem;
	left: 50%;
  	transform: translateX(-50%);
	min-width: 100px;
	width: 100%;
	max-width: min(500px, 40vw);
	height: .6rem;
	display: block;
	background: #0037B2;
	background: linear-gradient(
		90deg,
		rgba(0, 55, 178, 1) 33%,
		rgba(0, 168, 89, 1) 33%,
		rgba(0, 168, 89, 1) 66%,
		rgba(255, 200, 0, 1) 66%
	);
	z-index: 1;
}

#navbar-logo img {
	height: 100px;
	width: auto;
	object-fit: contain;
}

#main-menu .navbar-nav a.nav-link {
	font-weight: bold;
	color: var(--main-blue-color);
	padding: 5px 10px;
	border-radius: 5px;
	margin: 0 2px;
}

#main-menu .navbar-nav a.nav-link:hover {
	background-color: var(--main-blue-color);
	color: var(--main-yellow-color);
}

#main-menu .search-input {
	position: relative;
}

#main-menu .search-input::before {
	content: '\f002';
	position: absolute;
	top: calc(50% - 4px);
	left: 10px;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	opacity: 0.5;
}

#main-menu input[type="search"] {
	background-color: #e6e7e8;
	padding: 4px 4px 4px 30px;
}

#main-menu input[type="search"]::placeholder {
	opacity: 0.6;
	text-align: center;
}

/* FOOTER */
footer {
	background-color: var(--main-blue-color);
	color: #ffffff;
	padding: 2.5rem 0;
}

footer i {
	color: var(--main-yellow-color);
}

/* FRONT PAGE */
#main-banner {
	overflow: hidden;
	position: relative;
}

#main-banner .tns-inner {
	overflow: hidden;
	width: 100%;
	position: relative;
	padding-top: 23.07%;
	border-radius: 30px;
}

#main-banner .banner-tns {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#main-banner .tns-item {
	position: relative;
	width: 100%;
	padding-top: 23.07%;
	overflow: hidden;
}

#main-banner img,
#main-banner video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* #main-banner .tns-outer:has(.banner-tns-mobile) {
	display: none;
} */

.side-slider-button {
	width: 100%;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	border: 1px solid #cccccc;
	text-decoration: none;
	border-radius: 8px;
	background-color: rgba(255, 255, 255, .4);
	color: #777777;
	transition-duration: 300ms;
	text-align: center;
	font-size: .7rem;
	line-height: .9em;
}

.side-slider-button i {
	font-size: 1rem;
}

.side-slider-button:hover {
	background-color: var(--main-blue-color);
	color: var(--main-yellow-color);
}

#posts-slider {
	border-radius: 24px;
	overflow: hidden;
	background-color: var(--main-blue-color);
}

#posts-slider .tns-nav {
	position: absolute;
    top: 10px;
    right: 20px;
	left: auto;
	z-index: 1;
	transform: translateX(0);
}

a.post-slider {
	height: 500px;
	text-decoration: none;
}

a.post-slider .post-button-text {
	color: #ffffff;
	font-size: 1.4rem;
	line-height: 1.3em;
	font-weight: bold;
	position: relative;
	margin: 20px 30px;
	padding-left: 20px;
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-slider img {
	width: 100%;
	height: 400px;
	object-fit: cover;
}

.side-slider-posts {
	border-radius: 12px;
	overflow: hidden;
	background-color: #ffffff;
	text-decoration: none;
}

.side-slider-posts .post-button-text {
	color: var(--main-blue-color);
	font-weight: bold;
	font-size: .8rem;
	position: relative;
	margin: 5px 10px 8px;
	padding-left: 10px;
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
	line-height: 1rem;
}

.side-slider-posts img {
	width: 100%;
	height: 115px;
	object-fit: cover;
}

.post-button-text::before {
	content: '';
	width: .3em;
	height: 100%;
	background-color: var(--main-yellow-color);
	display: block;
	position: absolute;
	left: 0;
	top: 0;
}

.section-title {
	display: inline-block;
	position: relative;
	top: -12px;
}

.section-title h3 {
	background-color: var(--main-yellow-color);
	color: var(--main-blue-color);
	z-index: 1;
	padding: 8px 30px;
	border-radius: 12px;
	font-weight: bold;
	margin-left: 20px;
	position: relative;
	transform: translateY(-40%);
	margin-bottom: 0;
}

.section-title::before {
	content: '';
	width: 200%;
	max-width: 80vw;
	height: 12px;
	background-color: var(--main-blue-color);
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
}

.btn-service {
	width: 100%;
	height: 230px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 24px;
	overflow: hidden;
	text-align: center;
	padding: 40px;
	box-shadow: 2px 2px 12px #dddddd;
	transition-duration: 300ms;
}

.btn-service img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.btn-service:hover {
	transform: scale(1.05);
}

.map-image {
	border: 3px solid #CCC;
	border-radius: 20px;
	overflow: hidden;
	display: flex;
    justify-content: center;
    align-items: center;
}

.breadcrumb {
	font-size: .9rem;
}

/* ARCHIVE */
#archive .post-item:not(:last-child)::after {
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	background-color: #CCC;
	position: relative;
	top: 1.5rem;
}

#archive .text-muted {
	font-size: .8rem;
	margin-bottom: 16px;
	display: inline-block;
}

.sidebar-social a {
	display: block;
	text-decoration: none;
	font-size: 1.2rem;
	border: 1px solid var(--main-blue-color);
	margin-bottom: 8px;
	padding: 4px 12px;
	transition-duration: 300ms;
	border-radius: 8px;
}

.sidebar-social a:hover {
	background-color: var(--main-blue-color);
	color: #FFF;
	opacity: 1;
}

.sidebar-social a i {
	width: 30px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

/* ESTILOS DE CAMPANHAS */
#lixo-zero {
	background: #CECDCD;
	background: linear-gradient(90deg,rgba(205, 205, 205, 1) 0%, rgba(247, 247, 247, 1) 100%);
}

#lixo-zero header {
	background: url('../images/campanhas/lixo-zero/bg-lixo-zero.jpg') no-repeat center/cover;
	text-align: center;
	position: relative;
	overflow: hidden;
}

#lixo-zero header img.logo {
	position: relative;
	right: -10%;
}

#lixo-zero header img.logo-secom {
	height: 50px;
	width: auto;
	z-index: 1;
	position: absolute;
	top: 30px;
	right: 0;
}

#lixo-zero header::after {
	content: '';
	background: url('../images/campanhas/lixo-zero/pattern.png') repeat-x center/contain;
	height: 50px;
	width: 100%;
	display: block;
	z-index: 1;
}

#lixo-zero .wp-block-heading {
	background-color: #f37635;
	color: #373435;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1.3rem;
	border-right: 16px solid #4b4b4d;
	border-radius: 10px;
	padding: 5px 20px 5px 50px;
	display: inline-block;
	position: relative;
	margin: 20px 0;
	display: inline-flex;
	align-items: center;
}

#lixo-zero .wp-block-heading::before {
	content: '';
	background: url('../images/campanhas/lixo-zero/logo-lixo-zero.png') no-repeat center/contain;
	width: 50px;
	height: 50px;
	display: block;
	position: absolute;
	left: -5px;
	z-index: 1;
}

#lixo-zero .wp-block-heading::after {
	content: '';
    background: #f37635;
    width: 20px;
    height: 100%;
    display: block;
    border-radius: 10px;
    position: absolute;
    right: -5px;
    top: 0;
    z-index: 1;
}

#lixo-zero .wp-block-buttons {
	text-align: center;
}

#lixo-zero .wp-block-buttons a {
	background-color: #383536;
	color: #f37535;
	margin: 5px;
}

#lixo-zero .accordion-button {
	background: #f47b34;
	font-weight: bold;
	color: #3a3839;
}

#lixo-zero .accordion-button.collapsed {
	background: #383536;
	background: linear-gradient(90deg, rgba(56, 53, 54, 1) 0%, rgba(74, 74, 76, 1) 100%);
	color: #f58334;
}

#lixo-zero .accordion-button:focus {
	box-shadow: 0 0 0 0.25rem rgba(245, 131, 52, .25);
}

@media (max-width: 575px) {
	#lixo-zero header img.logo-secom {
		height: 30px;
	}
}
/* FIM DE ESTILOS DE CAMPANHAS */

@media (max-width: 1399px) {
	#main-menu .navbar-nav a.nav-link {
		padding: 5px;
	}
}

@media (max-width: 1199px) {
	#navbar-logo img {
		height: 80px;
	}

	#main-menu input[type="search"] {
		max-width: 130px;
	}
}

/* MOBILE */
@media (max-width: 991px) {
	.top-menu-right {
		width: 100%;
	}

	#top-menu {
		border-bottom-width: 10px;
	}

	#main-menu .navbar-nav a.nav-link {
		padding: 5px 15px;
	}

    /* #main-banner .tns-inner, #main-banner .tns-item {
		padding-top: 75%;
	} */

	#main-banner .tns-outer:has(.banner-tns-mobile) {
		display: block;
	}

	.side-slider-posts img {
		height: 200px;
	}

	#main-menu input[type="search"] {
		max-width: 100%;
	}
}

@media (max-width: 767px) {
	.top-menu-right {
		justify-content: center !important;
	}

	#navbar-logo img {
		height: 60px;
	}

	.map-image img {
		max-width: max-content;
		max-height: 200px;
	}

	#main-banner .tns-inner {
		border-radius: 10px;
	}
}

@media (max-width: 575px) {
	#top-menu {
		border-bottom-width: 5px;
	}

	#top-menu .btn-daily {
		border-right: none;
	}

	a.post-slider .post-button-text {
		font-size: 1.1rem;
		-webkit-line-clamp: 3;
		margin: 15px;
	}

	.btn-service {
		height: 150px;
		padding: 20px;
	}
}
