/*
Theme Name: Ekko Child
Template: theme-ekko
Theme URI: http://www.ekko-wp.com
Author: Key-Design
Author URI: http://themeforest.net/user/Key-Design
Description: Flexible Multi-Purpose Responsive WordPress Theme
Version: 1.0
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, translation-ready

/* Below you can write your style */

.key-icon-box.icon-default.icon-top .tt-iconbox-customimg.img_big_size img {
	max-width: unset !important;
}

.tt_button.botao-contato {
	height: 65px;
	border-radius: 50%;
}

.tt_button.botao-contato span.iconita {
	margin-right: 0;
}

/* FALE CONOSCO */
label[for="anexo"],
.refresh_captcha {
	margin-bottom: 20px;
}
.wpcf7 input[type="file"],
.c4wp_image {
	border-radius: 25px;
}
/* FALE CONOSCO */

/* CAPTCHA */
.c4wp-refresh-captcha {
	width: 20px;
	height: auto;
	margin-right: 5px;
	vertical-align: middle;
}

.c4wp_image {
	width: 100%;
	margin-bottom: 5px;
	min-height: 50px;
	max-height: 100px;
}

.refresh_captcha {
	display: block;
	font-size: 1em;
}

.wp-block-cover:not(.fale-conosco) .c4wp-display-captcha-form {
	max-width: 400px;
}
/* CAPTCHA */

.vc_grid-filter>.vc_grid-filter-item>span {
	padding: 0 15px !important;
}

li::before {
	content: '' !important;
}

.tt_button.modal-menu-item {
	padding: 10px !important;
}

.botao-branco.modal-menu-item.tt_button:not(:hover) {
	background: #ffffff !important;
	border: 2px solid #000000 !important;
	color: #000000 !important;
}

.topbar-search .search-form input.search-field {
	color: #313131 !important;
}

* {
	scroll-behavior: smooth;
	scroll-margin-top: 150px !important;
}

.entry-header { 
	margin-bottom: 0 !important;
}

div.barras canvas {
	max-height: 200px !important;
}

.blog .entry-header.blog-header.with-topbar {
	padding-top: 140px !important;
	padding-bottom: 50px !important;
}

nav.navbar.navbar-default.navbar-shrink .menubar .fa.toggle-search:hover {
	color: #A4AAAE;
}

.key-icon-box .ib-wrapper {
	padding: 10px !important;
}

.key-icon-box.icon-default.icon-left.cont-left .ib-wrapper {
	float: unset !important;
}

.testimonials.slider.with-image .tt-container {
	padding: 30px 30px 20px 30px !important;
}

.owl-dots .owl-dot.active span {
	background-color: #0e4e91 !important;
}

.owl-nav div.owl-next, .owl-nav div.owl-prev {
	color: #0e4e91 !important;
	border: 2px solid rgba(14, 78, 145, 0.2) !important;
}

.owl-nav div.owl-next:hover, .owl-nav div.owl-prev:hover {
	color: #0e4e91 !important;
	border: 2px solid rgba(14, 78, 145, 1) !important;
}

.upper-footer p,
.upper-footer li {
	margin: 10px 0;
}

.upper-footer a {
	line-height: 25px !important;
}

.upper-footer i {
	line-height: 25px !important;
	margin-right: 10px !important;
	margin-left: 0 !important;
}

.previc {
	filter: invert(100%) contrast(200%);
	max-width: 50% !important;
}

.perfil img {
	max-height: unset !important;
}

.perfil.cb-container:hover .cb-img-area {
	opacity: 1 !important;
}

.single-post-layout-two .blog-single-header-wrapper.post-with-image:after {
	background-color: rgba(0, 0, 0, 0.85) !important;
}

.single-post-layout-two .blog-single-header-wrapper {
	padding-bottom: 10px !important;
	padding-top: 60px !important;
}

.acordeao .vc_tta-panel-title > a {
	font-size: 21px !important;
	letter-spacing: -1px !important;
	font-weight: 600 !important;
	line-height: 60px !important;
}

.faq-acordeao a {
	text-align: left !important;
	color: #ffffff !important;
	font-size: 16px !important;
	line-height: 48px !important;
	letter-spacing: -0.48px !important;
}

.faq-acordeao .vc_tta-panel {
	border-radius: 5px;
}

table {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 13px;
	overflow: hidden !important;
	border: 0 !important;
	max-width: 100%;
	width: unset !important;
	margin: auto;
}


table tbody td {
	border-width: 3px !important;
	border-style: solid !important;
	border-color: #f5f5f5 !important;
	padding: 3px 5px !important;
}

table thead th {
	color: #ffffff;
	text-align: center;
}

table thead tr:first-child th {
	background: #0e4e91;
}

table tbody tr:nth-child(odd) :not([rowspan]) {
	background-color: #e9e9e9;
}

table tbody tr:nth-child(even) :not([rowspan]) {
	background-color: #ffffff;
}

td:first-child:nth-last-child(4),
td:first-child:nth-last-child(5),
td:nth-child(2):nth-last-child(4) {
	background: #A4AAAE !important;
	color: #ffffff !important;
}

/* CHART.JS */
.wp-block-lazyblock-grafico-de-pizza,
.wp-block-lazyblock-grafico-de-barra,
.wp-block-lazyblock-grafico-de-linha {
	display: inline-block;
	width: 100%;
}


.wp-block-lazyblock-grafico-de-pizza,
.wp-block-lazyblock-grafico-de-barra,
.wp-block-lazyblock-grafico-de-linha,
.wp-block-lazyblock-grafico-de-pizza > p,
.wp-block-lazyblock-grafico-de-barra > p,
.wp-block-lazyblock-grafico-de-linha > p {
	position: relative;
	margin-bottom: 0 !important;
}

/* COOKIES BANNER */
[data-cky-tag="detail-powered-by"] {
	display: none !important;
}

.wpb-js-composer .vc_tta-container .vc_tta.vc_tta-style-classic.vc_tta-tabs-position-top .vc_tta-tabs-container {
	border-top: 0 !important;
}

.cky-btn-revisit-wrapper {
    bottom: 30px !important;
    left: 30px !important;
}

.cky-btn-revisit img {
	display: none;
}

button.cky-btn-revisit::before {
	content: '';
	width: 45px;
	height: 45px;
	filter: invert(1);
	background-size: 31px 31px;
	background-image: url(/wp-content/themes/theme-ekko-child/assets/img/cookie.png);
	background-repeat: no-repeat;
	background-position: 7px 7px;
}

body .ti-widget.ti-wp-testimonial-1 .ti-review-item>.ti-inner {
	background-color: #0e4e91 !important;
	min-height: 321px;
	border-radius: 10px !important;
}

.ti-stars {
	display: none !important;
}

.ti-name, .ti-date {
	color: #ffffff !important;
}

.ti-review-content {
	min-height: 150px !important;
	margin-top: 20px;
	color: #ffffff;
}

.ti-read-more {
	display: none !important;
}

.cky-notice-des a {
	border: unset !important;
	text-decoration: underline;
}
/* COOKIES BANNER */

/* ORG CHART */
.elegibilidade div.wpdevart_org_chart .wpdevart_org_chart_container li .wpda_tree_item_container > div {
	border-radius: 30px;
	width: 215px !important;
	min-height: 80px !important;
	padding: 10px 20px !important;
	border: unset !important;
	z-index: 1;
}

/* Amarelo */
.elegibilidade #wpda_item_container_4 > div {
	width: 400px !important;
}

.elegibilidade #wpda_item_container_4 div {
	line-height: 30px;
	background: #FDC403;
	color: #0e4e91;
	margin: 0;
}

/* Azul */
.elegibilidade #wpda_item_container_2 div,
.elegibilidade #wpda_item_container_5 div,
.elegibilidade #wpda_item_container_6 div,
.elegibilidade #wpda_item_container_7 div {
	background: #0e4e91;
	color: #ffffff;
	word-break: normal;
    line-height: 2em;
}

/* Reposiciona linha dos pais */
.elegibilidade #wpdevart_org_chart_container_1 ul ul::before {
	height: 100px !important;
}

.elegibilidade #wpda_item_container_2 + ul > li:nth-child(1),
.elegibilidade #wpda_item_container_2 + ul > li:nth-child(2)::before,
.elegibilidade #wpda_item_container_2 + ul > li:nth-child(3)::before {
	opacity: 0;
}

.elegibilidade #wpda_item_container_3 {
	display: none;
}
/* Reposiciona linha dos pais */

/* Reposiciona conjuge */
.elegibilidade #wpda_item_container_2 + ul > li:nth-child(2)::after {
	width: 100% !important;
	top: 58px !important;
	left: 95px !important;
}

.elegibilidade #wpda_item_container_2 + ul > li:nth-child(3) {
	right: -50px;
}
/* Reposiciona conjuge */

@media (min-width: 768px) {
	.elegibilidade #wpdevart_org_chart_container_1 {
		transform: scale(0.9);
		transform-origin: 0 0;
	}
}

@media (min-width: 425px) and (max-width: 767px) {
	.elegibilidade #wpdevart_org_chart_container_1 {
		transform: scale(0.48);
		transform-origin: 0 0;
	}
	
	.elegibilidade #wpdevart_org_chart_container_parent_1 {
		height: 230px;
		overflow: hidden !important;
	}
}

@media (max-width: 425px) {
	.elegibilidade #wpdevart_org_chart_container_1 {
		transform: scale(0.34);
		transform-origin: 0 0;
	}
	
	.elegibilidade #wpdevart_org_chart_container_parent_1 {
		height: 160px;
		overflow: hidden !important;
	}
}

.elegibilidade .wpda_tree_item_container > div {
	transition: all 0.5s ease;
}

.elegibilidade .wpda_tree_item_container > div:hover {
	box-shadow: 0px 2px 24px rgba(0, 0, 0, 0.35);
	transition: all 0.5s ease;
	font-size: 89% !important;
}

.elegibilidade .wpda_tree_item_container:not(:has(.wpda_tree_item_desc:empty)) .wpda_tree_item_title {
	font-size: 2em !important;
	line-height: 30px;
}

.elegibilidade .wpda_tree_item_container:has(.wpda_tree_item_desc:empty) .wpda_tree_item_title {
	font-size: 2em !important;
	line-height: 59px;
}

.elegibilidade .wpda_tree_item_container:not(#wpda_item_container_4) div.wpda_tree_item_title::before {
	content: '\2713';
	margin-right: 10px;
}

.elegibilidade .wpda_tree_item_desc {
	font-size: 1em !important;
	word-break: normal !important;
}

.elegibilidade .wpda_tree_item_desc:empty {
	display: none;
}

.elegibilidade .wpdevart_org_chart_container li::before,
.elegibilidade .wpdevart_org_chart_container li::after,
.elegibilidade .wpdevart_org_chart_container ul ul::before {
	border-style: dashed !important;
	border: 0;
	border-color: #0e4e91 !important;
}
/* ORG CHART */

/* WATERMARK */
.watermark.right > div.vc_column-inner {
	border-bottom-left-radius: 250px !important;
}

.watermark.left > div.vc_column-inner {
	border-bottom-right-radius: 250px !important;
}

.watermark::before {
	content: "";
	width: 200px;
	height: 200px;
	position: absolute;
	bottom: 15px;
	background-image: url('/maisgeracoes/wp-content/uploads/sites/3/2025/02/watermark.png');
	background-size: cover;
	background-repeat: no-repeat;
}

.watermark.right::before {
	left: -15px;
}

.watermark.left::before {
	right: -15px;
}

.watermark:not(.yellow)::before {
	filter: brightness(0) saturate(100%) invert(15%) sepia(97%) saturate(3010%) hue-rotate(196deg) brightness(95%) contrast(87%);
}

.watermark.yellow::before {
	filter: brightness(0) saturate(100%) invert(74%) sepia(91%) saturate(2251%) hue-rotate(3deg) brightness(109%) contrast(98%);
}

.watermark-bg::before {
	content: "" !important;
	width: 3000px;
	height: 3000px;
	position: absolute;
	right: -1500px;
	bottom: -750px;
	background: url('/maisgeracoes/wp-content/uploads/sites/3/2025/02/watermark.png');
	background-size: 3000px;
	background-repeat: no-repeat;
	opacity: 0.02;
}
/* WATERMARK */

/* MODAL */
.overlay-contact {
	background: rgba(0,0,0, 0.85);
	z-index: 10000;
	width: 100vw;
	height: 100vh;
	display: block;
	position: fixed;
	top: 0;
	left: 0;
}

.modal-contact {
	min-width: 375px;
	max-width: 600px;
	margin: 100px auto;
	margin-top: calc(50vh - 120px);
	padding: 0;
	background: transparent;
	border: none;
}

.modal-contact-title {
	background: #2581c3;
	color: #ffffff;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	padding: 15px 20px;
	font-weight: bold;
	font-size: 1.5em;
}

.modal-contact-body {
	background: #ffffff;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	padding: 20px;
}
/* MODAL */

/* FORMULARIO DE CONTATO */
.wpcf7 .wpcf7-submit {
    float: none;
}

.wpcf7 form.submitting .wpcf7-spinner {
    display: block;
	margin: 20px auto;
}
/* FORMULARIO DE CONTATO */

/* Remove margem se modal tiver apenas uma imagem */
.modal-window__content-main:has(> p:only-child > img:only-child) p > img {
    margin: 0;
}
.modal-window__content-main:has(> p:only-child > img:only-child) p {
    margin: 0;
}