label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-block-end: 0.25rem;
}

label.required::after,
span.required::after {
  content: ' *';
  font-size: var(--size-12);
  font-weight: normal;
}

input,
textarea,
select {
  background-color: #fff;
  border: 1px solid #e7e7e7;
  color: #636363;
  font-family: var(--default-font);
  font-size: 0.875rem;
  height: 40px;
  margin: 0;
  padding: 0.5rem 1rem;
  width: 100%;
}

textarea {
  height: 150px;
  max-height: 200px;
  padding: 20px;
}

input:focus,
textarea:focus,
select:focus {
  border: 1px solid #e5e5e5;
  box-shadow: 0 0 2px 0 #ccc9;
  outline: none;
}

input::input-placeholder,
textarea::input-placeholder,
select::input-placeholder {
  color: #a7a7a7;
}

input:input-placeholder,
textarea:input-placeholder,
select:input-placeholder {
  color: #a7a7a7;
}

input::placeholder,
textarea::placeholder,
select::placeholder {
  color: #a7a7a7;
}

input[type='checkbox'],
input[type='radio'] {
  border: none;
  box-shadow: none;
  display: none;
}

:is(input[type='checkbox'], input[type='radio']):not(.pccform input) {
  display: initial;
  height: 0;
  position: absolute;
  visibility: hidden;
  width: 0;
}

input[type='checkbox']:not(:checked) + label,
input[type='checkbox']:checked + label,
input[type='radio']:not(:checked) + label,
input[type='radio']:checked + label {
  cursor: pointer;
  display: inline-block;
  line-height: 20px;
  margin: 0;
  padding-left: 25px;
  position: relative;
  vertical-align: middle;
}

input[type='checkbox']:not(:checked) + label::before,
input[type='radio']:not(:checked) + label::before {
  background: #fff;
  border: 1px solid #dcdcdc;
  content: '';
  display: inline-block;
  height: 20px;
  left: 0;
  position: absolute;
  top: 0;
  width: 20px;
}

input[type='checkbox']:disabled + label::before,
input[type='radio']:disabled + label::before {
  background: #dcdcdc;
}

input[type='checkbox']:checked + label::after,
input[type='radio']:checked + label::after {
  content: '\f00c';
  display: table;
  font-family: 'Font Awesome 5 Pro';
  font-size: 11px;
  height: 20px;
  left: 0;
  line-height: 20px;
  position: absolute;
  text-align: center;
  top: 0;
  width: 20px;
}

input[type='radio']:checked + label::after {
  border-radius: 50%;
}

input[type='radio']:not(:checked) + label::before {
  border-radius: 50%;
}

input[type='file']::-webkit-file-upload-button {
  background: #f3f3f3;
  border: none;
  border-right: 1px solid #e7e7e7;
  color: #868686;
  margin: 0;
  padding: 7px 10px 7px 15px;
}

input[type='file']::-webkit-file-upload-button:focus {
  outline: none;
}

input[type='file'] {
  color: #868686;
  padding: 0;
}

select[multiple='multiple'] {
  border-radius: 15px 0 0 15px;
  height: auto;
  min-height: 100px;
}

optgroup:not(:has(option)) {
  display: none;
}

optgroup[label=''] {
  font-size: 0;
}

optgroup[label=''] option {
  font-size: var(--size-13);
}

.input-group.date .dropdown-menu {
  display: block;
}

.input-group.date .input-group-addon {
  align-items: center;
  background: #e7e7e7;
  border: 1px solid #e7e7e7;
  box-shadow: 0 1px 2px 0 #e7e7e7;
  display: flex;
  height: 35px;
  padding: 0 1rem;
}

.bootstrap-datetimepicker-widget > .row {
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
}

.bootstrap-datetimepicker-widget .datepicker.col-md-6,
.bootstrap-datetimepicker-widget .timepicker.col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.bootstrap-datetimepicker-widget table td.day {
  height: 24px;
  width: 24px;
}

.bootstrap-datetimepicker-widget .timepicker .glyphicon {
  align-items: center;
  display: flex;
  justify-content: center;
}

.bootstrap-datetimepicker-widget .list-unstyled {
  padding: 0;
}

.form-group:has(.visualcaptcha, .captcha) .control-label {
  padding: 0 15px;
}

.form-group:has(.visualcaptcha) .visualcaptcha {
  align-items: center;
  display: flex;
  justify-content: center;
}

@media (width <= 770px) {
  .bootstrap-datetimepicker-widget .datepicker.col-md-6,
  .bootstrap-datetimepicker-widget .timepicker.col-md-6 {
    flex: 1 0 100%;
    max-width: 100%;
    padding: 0 15px;
  }
}
/* CONTACT FORM */
.form-institucional .pccform .radio label {
  cursor: pointer;
  display: inline-block;
  line-height: 20px;
  margin: 0;
  padding-left: 25px;
  position: relative;
  vertical-align: middle;
}

.form-institucional .pccform .radio label input {
  background: #fff;
  border: 1px solid #dcdcdc;
  box-shadow: unset;
  cursor: pointer;
  display: table;
  height: 20px;
  left: 0;
  position: absolute;
  top: 0;
  width: 20px;
}

.form-institucional .pccform .radio label input:checked::after {
  border-radius: 50%;
  content: '\f00c';
  display: table;
  font-family: 'Font Awesome 5 Pro';
  font-size: 11px;
  height: 20px;
  left: 0;
  line-height: 20px;
  position: absolute;
  text-align: center;
  top: 0;
  width: 20px;
}

.form-institucional .pccform .radio label input::before {
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 50%;
  content: '';
  display: table;
  height: 20px;
  left: 0;
  position: absolute;
  top: 0;
  width: 20px;
}

.form-institucional .pccform .radio-inline {
  cursor: pointer;
  display: inline-block;
  line-height: 20px;
  margin: 0;
  padding-left: 25px;
  position: relative;
  vertical-align: middle;
}

.form-institucional .pccform .radio-inline input::after {
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 50%;
  content: '';
  display: table;
  height: 20px;
  left: 0;
  position: absolute;
  top: 0;
  width: 20px;
}

.form-institucional .pccform .radio-inline input {
  background: #fff;
  border: 1px solid #dcdcdc;
  box-shadow: unset;
  cursor: pointer;
  display: table;
  height: 20px;
  left: 0;
  position: absolute;
  top: 0;
  width: 20px;
}

.form-institucional .pccform .radio-inline input:checked::before {
  border-radius: 50%;
  content: '\f00c';
  display: table;
  font-family: 'Font Awesome 5 Pro';
  font-size: 11px;
  height: 20px;
  left: 0;
  line-height: 20px;
  position: absolute;
  text-align: center;
  top: 0;
  width: 20px;
  z-index: 9;
}

.form-institucional .pccform .checkbox label {
  cursor: pointer;
  display: inline-block;
  line-height: 20px;
  margin: 0;
  padding-left: 25px;
  position: relative;
  vertical-align: middle;
}

.form-institucional .pccform .checkbox label input {
  background: #fff;
  border: 1px solid #dcdcdc;
  box-shadow: unset;
  cursor: pointer;
  display: table;
  height: 0;
  left: 0;
  position: absolute;
  top: 0;
  width: 0;
  z-index: 0;
}

.form-institucional .pccform .checkbox label input::after {
  background: #fff;
  border: 1px solid #dcdcdc;
  content: '';
  display: table;
  height: 20px;
  left: 0;
  position: absolute;
  top: 0;
  width: 20px;
}

.form-institucional .pccform .checkbox label input:checked::before {
  content: '\f00c';
  display: table;
  font-family: 'Font Awesome 5 Pro';
  font-size: 11px;
  height: 20px;
  left: 0;
  line-height: 20px;
  position: absolute;
  text-align: center;
  top: 0;
  width: 20px;
  z-index: 9;
}

.form-institucional .pccform .checkbox-inline {
  cursor: pointer;
  display: inline-block;
  line-height: 20px;
  margin: 0;
  padding-left: 25px;
  position: relative;
  vertical-align: middle;
}

.form-institucional .pccform .checkbox-inline input {
  background: #fff;
  border: 1px solid #dcdcdc;
  box-shadow: unset;
  cursor: pointer;
  display: table;
  height: 0;
  left: 0;
  position: absolute;
  top: 0;
  width: 0;
}

.form-institucional .pccform .checkbox-inline input:checked::before {
  content: '\f00c';
  display: table;
  font-family: 'Font Awesome 5 Pro';
  font-size: 11px;
  height: 20px;
  left: 0;
  line-height: 20px;
  position: absolute;
  text-align: center;
  top: 0;
  width: 20px;
  z-index: 9;
}

.form-institucional .pccform .checkbox-inline input::after {
  background: #fff;
  border: 1px solid #dcdcdc;
  content: '';
  display: table;
  height: 20px;
  left: 0;
  position: absolute;
  top: 0;
  width: 20px;
}
/* FIM CONTACT FORM */

.validation-advice[id*=':street2'] {
  order: 3;
}

div[id*='place-autocomplete-results'] {
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 10px 25px rgb(0 0 0 / 15%);
  display: none;
  list-style: none;
  margin: 0;
  max-height: 300px;
  overflow-y: auto;
  padding: 0;
  position: absolute;
  scrollbar-width: thin;
  width: calc(100% - 10px);
  z-index: 1000;
}

div[id*='place-autocomplete-results'].show {
  display: block;
}

div[id*='place-autocomplete-results'] li {
  margin: 0;
  padding: 0;
}

div[id*='place-autocomplete-results'] li a {
  border-bottom: 1px solid #eee;
  color: #333;
  cursor: pointer;
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: background-color 0.2s;
}

div[id*='place-autocomplete-results'] li:last-child a {
  border-bottom: none;
}

div[id*='place-autocomplete-results'] li a:hover,
div[id*='place-autocomplete-results'] li.selected a {
  background-color: #f8f9fa;
}

div[id*='place-autocomplete-results'] .prediction-main {
  color: #333;
  font-weight: 600;
}

div[id*='place-autocomplete-results'] .prediction-secondary {
  color: #666;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  gap: 0.25rem;
  justify-content: space-between;
  margin-top: 0.25rem;
}

div[id*='place-autocomplete-results'] .prediction-select {
  align-self: flex-end;
  background: var(--blue);
  border-radius: 4px;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 0.125rem 0.5rem;
}
