/* Faixa do miolo, botões e migalha em bandeirinha.
   Não altera a barra de acessibilidade nem atributos serigy. */

body.seagri-visual-single main:not(#seagri-casca)::before {
	content: "";
	display: block;
	width: 100%;
	max-width: 100%;
	height: 8px;
	margin: 0 0 1.15rem;
	background: linear-gradient(90deg, #008acb 0 33.333%, #7bb52c 33.333% 66.666%, #ffb400 66.666% 100%);
	pointer-events: none;
}

body.seagri-visual-single #seagri-casca .seagri-casca-barras {
	height: 8px;
}

body.seagri-visual-single #seagri-casca .btn-primary,
body.seagri-visual-single #sic-relatorio .btn-primary,
body.seagri-visual-single #esic-atendimento .btn-primary,
body.seagri-visual-single #sic-cadastro .btn-primary {
	--bs-btn-bg: #008acb;
	--bs-btn-border-color: #0077b0;
	--bs-btn-hover-bg: #0073a8;
	--bs-btn-hover-border-color: #006494;
	--bs-btn-color: #fff;
	--bs-btn-hover-color: #fff;
	--bs-btn-active-bg: #006494;
	--bs-btn-active-border-color: #005580;
	--bs-btn-active-color: #fff;
	font-weight: 600;
}

body.seagri-visual-single #seagri-casca .btn-outline-secondary,
body.seagri-visual-single #sic-relatorio .btn-outline-secondary {
	--bs-btn-color: #3d6210;
	--bs-btn-border-color: #5f9020;
	--bs-btn-hover-bg: #7bb52c;
	--bs-btn-hover-border-color: #5f9020;
	--bs-btn-hover-color: #1c1400;
	--bs-btn-active-bg: #6aa326;
	--bs-btn-active-border-color: #5f9020;
	--bs-btn-active-color: #1c1400;
	--bs-btn-bg: #fff;
	font-weight: 600;
}

body.seagri-visual-single .seagri-migalhas {
	background: transparent;
	padding: .85rem 0 .35rem;
}

body.seagri-visual-single .seagri-migalhas nav {
	align-items: center;
	gap: .4rem .2rem;
}

body.seagri-visual-single .seagri-migalhas nav > span[aria-hidden="true"] {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.seagri-visual-single .seagri-migalhas nav > a,
body.seagri-visual-single .seagri-migalhas nav > span:not([aria-hidden="true"]) {
	position: relative;
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	min-height: 2.15rem;
	margin: 0;
	padding: .35rem 1.15rem .35rem 1.35rem;
	background: #008acb;
	color: #fff;
	font-size: .9rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	overflow-wrap: anywhere;
	clip-path: polygon(0 0, calc(100% - .7rem) 0, 100% 50%, calc(100% - .7rem) 100%, 0 100%, .7rem 50%);
}

body.seagri-visual-single .seagri-migalhas nav > :first-child {
	padding-left: .95rem;
	clip-path: polygon(0 0, calc(100% - .7rem) 0, 100% 50%, calc(100% - .7rem) 100%, 0 100%);
}

body.seagri-visual-single .seagri-migalhas nav > a:nth-child(6n+3),
body.seagri-visual-single .seagri-migalhas nav > span:not([aria-hidden="true"]):nth-child(6n+3) {
	background: #7bb52c;
	color: #1c1400;
}

body.seagri-visual-single .seagri-migalhas nav > a:nth-child(6n+5),
body.seagri-visual-single .seagri-migalhas nav > span:not([aria-hidden="true"]):nth-child(6n+5) {
	background: #ffb400;
	color: #1c1400;
}

body.seagri-visual-single .seagri-migalhas nav > a:hover,
body.seagri-visual-single .seagri-migalhas nav > a:focus-visible {
	text-decoration: underline;
	text-underline-offset: .12em;
}

body.seagri-visual-single .seagri-migalhas nav > a:focus-visible {
	outline: 2px solid #1c1400;
	outline-offset: 2px;
}

html.seagri-alto-contraste body.seagri-visual-single main:not(#seagri-casca)::before {
	content: none;
}

html.seagri-alto-contraste body.seagri-visual-single .seagri-migalhas nav > a,
html.seagri-alto-contraste body.seagri-visual-single .seagri-migalhas nav > span {
	clip-path: none;
	position: static;
	width: auto;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	overflow: visible;
	clip: auto;
	max-width: none;
}
