/* Imports */
@import url('./variables.css');
@import url('./ui-dialog.css');
@import url('./result.css');
@import url('./request-success.css');
@import url('./modal-side.css');

/* Cálculo de grades e portões */
html {
  scroll-behavior: smooth;
}

h1 {
	font-family: 'Aeonik Fono';
	font-size: var(--fs-heading1);
	font-weight: 300;
	margin-bottom: 20px;
}

h2 {
	font-family: 'Aeonik Fono';
	font-size: var(--fs-heading2);
	font-weight: 700;
}

.gmais-breadcrumb-container {
  text-align: left;
  font-family: Chivo;
  font-weight: 400;
  color: #000;
  line-height: 24px;
  margin-bottom: 38px;
}

.gmais-breadcrumb-container > ul > li {
  margin-left: 8px;
  font-size: 18px;
}

.gmais-breadcrumb-container > ul > li > a{
  color: #000;
}

.gmais-breadcrumb-container > ul > li > a:visited{
  color: #000;
}

#breadcrumbs {
  padding-left: 0px;
}

.breadcrumbs-last-link {
  color: #2638E0;
}

.errors-ppa-search {
	display: none;
}

.layout-container {
	margin: 53px 64px;
}

.description {
	font-family: 'Chivo';
	font-size: var(--fs-paragraph);
	max-height: 45px;
	overflow: hidden;
}

.show-more-button {
	font-family: 'Aeonik Fono';
	font-size: var(--fs-paragraph);
	text-decoration: underline;
	display: flex;
	margin-top: 20px;
}

.show-more-button span {
	background-color: var(--bg-color-yellow);
	margin-left: 8px;
	padding: 0 6px;
}

.filter {
	margin-top: 30px;
	margin-bottom: 60px;
	position: relative;
}

.filter input {
	font-family: 'Chivo';
	color: var(--color-black);
	border: 1px solid var(--bg-color-gray);
	width: 100%;
	padding: 12px;
}

.filter button {
	position: absolute;
	top: 0;
	right: 0;
	padding: 12px 40px;
}

.no-items>p {
	color: var(--Brand-contrast, --bg-color-black);
	font-family: 'Aeonik Fono';
	font-size: 52px;
	font-weight: 300;
	line-height: normal;
	letter-spacing: -0.52px;
	margin-bottom: 64px;
}

.models {
	display: flex;
	flex-wrap: wrap;
}

.hidden {
	display: none;
}

.div-btn-show-more {
	display: flex;
	justify-content: center;
	margin-bottom: 5px;
}

.div-btn-show-more button {
	background-color: var(--bg-color-yellow);
	font-family: 'Chivo';
	font-size: 14px;
	font-weight: 700;
	padding: 16px;
	width: 100%;
}

.div-btn-show-more button:hover {
	text-decoration: underline;
}

.product {
	cursor: pointer;
	flex-basis: calc(100% / 3);
	flex-grow: 1;
	margin-bottom: 5em;
	position: relative;
}

.product img {
	width: 367px;
	height: 306px;
	position: relative;
}

.opacity {
	display: none;
	background-color: var(--bg-color-black);
	width: 367px;
	height: 306px;
	opacity: 20%;
	position: absolute;
	top: 0;
	left: 0;
}

.btn-group {
	display: none;
}

.btn-group.active {
	display: flex;
	background-color: var(--bg-color-light-gray);
	justify-content: center;
	position: absolute;
	width: 96px;
	border-radius: 6px;
	left: 240px;
	top: 30px;
	padding: 6px 0;
	gap: 16px;
}

.product .block-content {
	background-color: var(--bg-color-gray);
	width: 367px;
	padding: 20px;
	position: absolute;
	top: 95%;
}

.block-content .model-button {
	font-family: 'Aeonik Fono';
	color: var(--color-blue);
	font-size: var(--fs-button);
	font-weight: 700;
	text-align: start;
	text-decoration: underline;
}

.block-content .model {
	display: none;
	margin-top: 16px;
}

.block-content form {
	font-family: 'Chivo';
}

.block-content input {
	background-color: var(--bg-color-white);
	color: var(--color-gray);
	font-size: 14px;
	padding: 14px;
	border: none;
	float: left;
	width: 69%;
}

.block-content [type=submit] {
	background-color: var(--bg-color-yellow);
	text-decoration: underline;
	font-weight: 700;
	padding: 13px;
	opacity: 0.8;
}

.block-content [type=submit]:hover {
	opacity: 1;
}

.register-form p {
	margin-top: 10px;
	margin-bottom: 40px;
}

.register-form .js-form-item {
	display: inline-grid;
	width: 45%;
	margin-right: 24px;
	margin-bottom: 40px;
}

.js-form-item label {
	display: none;
}

.js-form-item input,
.js-form-item textarea {
	width: 100%;
	border: none;
	padding: 8px 4px;
	border-bottom: 1px solid var(--bg-color-blue);
	margin-bottom: 8px;
	background-color: transparent;
}

.js-form-item select {
	width: 100%;
	border: none;
	padding: 8px 0;
	border-bottom: 1px solid var(--bg-color-blue);
}

.js-form-item select,
.js-form-item textarea {
	outline: none;
}

form .form-select:not(.editor) {
	background-color: transparent;
	border: none;
	padding: 0.3rem;
	border-bottom: 1px solid var(--bg-color-blue);
}

.js-form-item input::placeholder,
.js-form-item textarea::placeholder {
	color: var(--bg-color-black);
}

.js-form-item.form-item-noticias-checked {
	width: 100%;
	margin-right: 0;
	font-size: 14px;
	display: flex;
	gap: 6px;
	margin-bottom: 0;
}

.js-form-item.form-item-noticias-checked label {
	display: block;
}

.js-form-item.form-item-noticias-checked input {
	width: 0;
}

.form-type-checkbox label:before {
	width: 14px !important;
	height: 14px !important;
	background-color: transparent !important;
	border: 1px solid var(--color-black) !important;
}

.form-type-checkbox label:after {
	width: 15px !important;
	height: 14px !important;
	background-color: var(--bg-color-blue) !important;
}

.errors-ppa-search {
	position: absolute;
	top: 0px;
	right: 5px;
	display: none;
	padding: 10px;
	font-weight: 600;
	color: var(--color-error-red);
	border-radius: 4px;
	border: 1px solid var(--color-error-red);
	background-color: #e77d7d;
}

.error-message {
	font-family: 'Aeonik Fono';
	font-size: 14px;
	color: var(--color-error-red);
}

.error-message svg {
	vertical-align: middle;
	margin-right: 8px;
	margin-bottom: 4px;
}

.ui-widget-overlay.ui-front {
	backdrop-filter: blur(3px);
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 888;
}

.ui-widget.ui-widget-content {
	z-index: 999;
  border-radius: 0;
  border: 0 !important;
}

/* Media query*/

@media (max-width: 1024px) {
	.models {
		gap: 1em;
	}
}

@media (max-width: 768px) {
	h1 {
		font-size: 44px;
	}

	h2 {
		font-size: 20px;
	}

	.layout-container {
		margin: 16px;
	}

	.product {
		flex-basis: 100%;
	}

	.product img {
		width: 100%;
	}

	.opacity {
		width: 100%;
	}

	.product .block-content {
		width: 100%;
	}

	.block-content input {
		width: 50%;
	}

	.register-form p {
		margin-bottom: 20px;
	}

	.register-form .js-form-item {
		width: 100%;
		margin-bottom: 0px;
	}

	.js-form-item input {
		padding: 8px 4px;
	}

	.js-form-item select {
		padding: 8px 0;
	}

	.js-form-item.form-item-noticias-checked {
		margin-bottom: 25px;
		margin-top: 10px;
	}

	.js-form-item.form-item-noticias-checked input {
		width: 8%;
	}
}

@media (max-width: 320px) {
	.register-form p {
		margin-bottom: 0px;
	}

	.btn-group.active {
		left: 130px;
	}

	.register-form .js-form-item {
		width: 100%;
		margin-bottom: 0px;
	}

	.js-form-item input {
		padding: 8px 4px;
	}

	.js-form-item select {
		padding: 8px 0;
	}

	.js-form-item.form-item-noticias-checked {
		margin-bottom: 32px;
	}

	.js-form-item.form-item-noticias-checked input {
		width: 8%;
	}

}
