
:root {
  --black: #181818;
  --grey: #747474;
  --lightgrey: #f7f7f7;
  --lightergrey: #e7e7e7;
  --altgrey: #f2f2f2;
  --darkgrey: #222222;
  --white: #f1f1f1;
	--darkblue:#0856A4;
	--blue:#00A2E3;
	--green:#00A42F;
  --light-green: #73be25;
  --warning: #d8411b;
  --green-blue: #5CBDA8;
  --transition: all .2s ease-in-out;
  --container-max-width: 1170px;
  --content-width: min(100%, var(--container-max-width, 1140px));
  --primary-font-size: 16px;
  --secondary-font-size: 14px;
  --primary-font-weight: 400;
  --primary-font-family: "Roboto";
  --secondary-font-family: "Poppins";
}


/* General */

body {
  line-height: 24px!important;
  color: var(--darkblue)!important;
  font-size: var(--primary-font-size)!important;
  font-weight: var(--primary-font-weight)!important;
  font-family: var(--primary-font-family)!important;
}

@media (max-width: 767px) {
  body .question-label {
      width: var(--container-widget-width, 100%);
      max-width: 100%;
      font-size: 14px!important;
      line-height: 20px!important;
  }
}
@media (max-width: 1024px) {
  body{
      width: 100%;
      max-width: 100%;
      font-size: 14px!important;
      line-height: 20px!important;
  }
}

.introduction p {
  margin: 0 0 25px!important;
}

@media (max-width: 767px) {
  .introduction p {
      margin: 0 0 15px!important;
  }
}

@media (max-width: 991px) {
  .introduction p {
      margin: 0 0 20px!important;
  }
}

.e-con-inner{
  padding-top: 50px
}

.content-container {
  max-width: var(--content-width);
  margin: 0 auto;
}

.form-container {
  background-color: var(--lightgrey);
  padding: 25px;
  box-shadow: 0 .125rem .25rem 0 rgba(50, 49, 45, .15);
  min-height: 700px;
}

/* Title and Subtitle */

.primary-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 35px;
    color: var(--green);
    -webkit-text-fill-color: initial;
    display: block;
    font-family: var(--secondary-font-family);
}

@media (max-width: 767px) {
  .primary-title {
      font-size: 28px;
      line-height: 28px;
  }
}

@media (max-width: 1024px) {
  .primary-title {
      font-size: 28px;
      line-height: 28px;
  }
}


.secondary-title {
  font-size: 28px;
  font-weight: 500;
  line-height: 28px;
  color: var(--darkblue);
  -webkit-text-fill-color: initial;
  display: block;
  margin: 0px 0px 25px 0px;
  font-family: var(--secondary-font-family);
}

.subtitle {
  font-size: 15px;
  color: var(--darkblue);
  font-weight: 500;
  font-family: var(--secondary-font-family);
  text-transform: uppercase;
}

.message-container{
  text-align: center;
  margin-top: 20px;
}

.breadcrumb {
  font-size: 13px!important;
  color: var(--darkblue);
  font-weight: 500;
  font-family: var(--secondary-font-family);
  text-transform: uppercase;
}

.title-container{
  margin-bottom: 25px!important;
}

.subtitle-container{
  margin-bottom: 20px!important;
}

.subtitle-container ul{
  padding-left: 0!important;
}

/* Logos */
.logos {
  padding: 0!important;
}

/* Links */
a {
  color: var(--darkblue);
  text-decoration: underline;
}

.icon-list {
  list-style-type: none!important;
  margin: 0;
  padding: 0;
}

.list-item {
  margin: 0px 0px 15px 0px;
  display: flex;
}

.list-item-icon {
  color: #00A42F;
  font-size: 13px;
  line-height: 30px;
}

.list-item-text{
  align-self: center;
  padding-left: 10px;
}

.number-list{
  padding-left: 18px!important;
}

.bullet-list{
  margin: 0;
  padding-left: 18px!important;
}

.bullet-list-item {
  margin: 0px 0px 15px 0px;
}

.bullet-list li::marker {
  color: var(--green);
}

table th{
  font-size: inherit!important;
  color: var(--green)!important;
}

hr {
  margin-bottom: 20px!important;
  border-color: var(--bs-border-color)!important;
  opacity: 1!important;
  min-width: 45rem;
}

/* Buttons */

.btn {
  padding: 10px 20px!important;
  border: none!important;
  border-radius: 5px!important;
  cursor: pointer!important;
  font-size: 14px!important;
  min-width: 105px!important;
  background-color: var(--blue)!important;
  color: white!important;
}

.btn:hover {
  background-color: var(--darkblue)!important;
}


.btn-alt{
  background-color: var(--green)!important;
}

.btn-alt:hover {
  background-color: var(--darkblue)!important;
}

.button-container-center{
  text-align: center;
  margin-top: 5em;
}

.primary-button {
  background-color: var(--darkblue);
  color: white;
  font-family: var(--secondary-font-family);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0.5px;
  padding: 15px 15px 15px 15px;
  border-style: solid;
  border-width: 0px;
  border-radius: 20px 20px 20px 20px;
  min-width: 250px;
}

.primary-button:hover{
  color: white;
  background-color: var(--green);
}

.button-company-info{
  background-color: hsla(0, 0%, 100%, 0);
  border: none;
  display: inline-block;
  padding: 0;
  font-size: 14px;
  color: var(--darkblue);
  text-transform: uppercase;
}

.button-company-info .label{
  margin-right: 1rem!important;
}


.btn-cancel{
  background-color: var(--bs-gray-300)!important;
  color: var(--darkgrey)!important;
}

.btn-cancel:hover{
  background-color: var(--bs-gray-400)!important;
}

.btn-add {
  background-color: transparent!important;
  color: var(--green)!important;
  padding: 10px 15px;
  background: none;
  border: none;
  font-size: 13px;
}

.btn-add:hover {
  color: var(--green);
  /* background: linear-gradient(to top left, var(--blue) 0%, var(--green) 100%);
  color: white; */
}

.btn-remove {
  background-color: transparent!important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px transparent;
  color: var(--warning)!important;
  font-size: 18px;
  padding: 0;
  background: none;
  cursor: pointer;
  font-size: 12px;
}

.btn-remove:hover {
  background-color: rgba(255, 0, 0, 0.1);
}


.submission-check-buttons-container {
  display: flex;
  justify-content: right;
  gap: 15px; /* Adjust the gap between buttons as needed */
  margin-top: 25px;
}


input[type="number"]{
  text-align: right!important;
}

/* Icons */
.fas {
  margin-right: 2px;
}


/* NavBar */

header {
	position: fixed;
	top: 0;
  left: 0;
	width: 100vw;
	background-color:white;
	font-size: 0;
	z-index: 10;
	transition: var(--transition);
}

.header-common-wrapper {
  padding: 0!important;
}

.sticky {
  position: sticky;
  top: 0;
}

.sticky .appear-down-scroll section:first-child {
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 35px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 0 35px rgba(0, 0, 0, 0.1);
}

.site-header.sticky nav {
  background: #fff;
}

.navbar-nav {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar-nav > li {
  display: inline-block;
}

.navbar-toggler {
  border: 0!important;
}

@media (max-width: 600px) {
  body {
    padding-top: 72px;
  }
}

/* Loading Spinner */
.custom-spinner {
  width: 3rem;
  height: 3rem;
  border: 0.25rem solid transparent;
  border-top-color: var(--darkblue);
  border-bottom-color: var(--green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/****************/
/* Introduction */
/****************/

.sections-container {
  margin: 25px 0;
}

.sections {
  align-content: var(--align-content);
  align-items: var(--align-items);
  align-self: auto;
  flex-basis: auto;
  flex-grow: 1;
  flex-shrink: 1;
  flex-wrap: var(--flex-wrap);
  justify-content: var(--justify-content);
}

.sections-icon {
  color: var(--green);
}

.sections-label{
  margin-top: 10px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 20px;
}

.sections-container hr {
  border-top: 1px var(--darkblue) solid!important;
  margin-top: 1em;
  opacity: 0.25!important;
  margin-bottom: 0!important;
}

/****************/
/* Company Form */
/****************/

.breadcrumb a{
  color: var(--darkblue)!important;
}

.divider svg {
  width: 5px;
  margin: -1px 5px 0;
  font-size: 9px;
}

.form .row {
	margin:-15px -35px;
}

.form .row > div {
	padding:15px 35px;
}

.form .input-wrapper,
.form .select-wrapper {
	width:100%;
	position:relative;
	padding-top:20px;
}

.form .select-wrapper::before {
	content: "";
    position: absolute;
    top: 18px;bottom: 0;
    right: 2px;
    margin: auto;
    width: 5px;
    height: 5px;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    transform: scaleX(1.25) rotate(45deg);
}

.form label {
	font-size: 16px;
	font-weight: 400;
	color: var(--darkblue);
	line-height: 16px;
	margin: 0;
	display: block;
	text-align: left;
}

@media (max-width: 991px) {
  .form label {
      font-size: 14px;
  }
}

.form .input-wrapper input + label,
.form .select-wrapper select + label {
	position:absolute;
	top:0;
  left:0;
	transform:translateY(35px);
	transition:var(--transition);
	pointer-events:none;
  color: var(--darkblue);
}

.form .input-wrapper > label:first-child {
	margin-top:10px;
}

.form input,
.form textarea,
.form select {
	appearance: none;
	-webkit-appearance: none;
  background-color: transparent;
	border: 0;
  border-bottom: 1px solid var(--bs-border-color);
	display: block;
	width: 100%;
	padding: 15px 0;
	font-size: 16px;
	color: var(--grey);
	line-height:1;
	resize: none;
  transition: none!important;
}

.form .input-wrapper input:focus + label,
.form .input-wrapper.filled input + label,
.form .select-wrapper select:focus + label,
.form .select-wrapper.filled select + label {
	font-size: 12px;
	transform: translateY(3px);
}

.form input:focus{
  border-bottom: 2px solid var(--green);
}

.form .input-wrapper input:focus + label,
.form .select-wrapper select:focus + label {
  color: var(--green);
}


.form textarea {
	line-height: 1.5;
	padding: 15px 0;
	max-height: 103px;
	transition: var(--transition);
}

/* .form input[type='checkbox'] {
	display: none;
} */

thead {
  text-align: center;
  border-bottom: 1px solid var(--bs-border-color)!important;
}

.form input[type='checkbox'] + label {
	display: inline-block;
	position: relative;
	height: 13px;
	width: 13px;
	cursor: pointer;
	vertical-align: middle;
	/* background-color: var(--darkblue); */
}

.form input[type='checkbox'] + label::before {
	content: "";
	position: absolute;
	top: -1px;
	bottom: -1px;
	left: -1px;
	right: -1px;
	border: 1px solid var(--darkblue);
	z-index: 0;
}

.form input[type='checkbox'] + label::after {
	content: "";
	position: absolute;
	top: -2px;
	right: 1px;
	z-index: 1;
}

.form input[type='checkbox'].checked + label {
	background: var(--darkblue);
	text-align: center;
	line-height: 18px;
	font-family: "Font Awesome 5 Free";
	font-size: 11px;
	font-weight: 900;
}

.form input[type='checkbox'].checked + label::after {
	content: "\f00c";
	color: white;
	text-align: center;
	line-height: 18px;
}

.form input[type='checkbox'] + label + span {
	font-weight: 400;
	color: var(--darkblue);
	line-height: 1;
	vertical-align: middle;
	display: inline-block;
	margin-left: 10px;
} 

.form input[type='checkbox'] + label + span a {
	color: var(--darkblue);
  text-decoration: underline;
  cursor: pointer;
}

.form input[type='checkbox'] + label + span a:hover,
.form input[type='checkbox'] + label + span a:focus {
	text-decoration: none;
}

.form .form-footer {
	display: flex;
	align-items: center;
	margin-top: 20px;
}

/****************/
/* Company Form */
/****************/

.form-footer .col-8{
  padding: 0!important;
}

/* .form input[type='checkbox'] + label::before {
	content: "";
	position: absolute;
	top: -1px;
	bottom: -1px;
	left: -1px;
	right: -1px;
	background:linear-gradient(to left, var(--blue) 0%, var(--green) 100%);
	z-index: 0;
} */


.sabermais{
  cursor: pointer;
}

.loading-cursor{
  cursor: progress!important;
}

.default-cursor{
  cursor: default!important;
}

.overlay{
  overflow: overlay;
}

/**********/
/* Survey */
/**********/

.questionnaire label{
  font-size: var(--secondary-font-size);
}

/* General */

.page-title{
  font-size: 30px;
  font-weight: 300;
  color: var(--darkblue);
  margin-bottom: 25px;
  text-align: center;
}

.page-subtitle {
  font-size: 24px!important;
  font-weight: 300!important;
  color: var(--blue)!important;
  text-align: center!important;
  margin: 0!important;
}

.button-quest {
  background-color: hsla(0,0%,100%,0);
  border: none;
  color: #454545;
  display: inline-block;
  margin: 0;
  padding: 0;
}

table,
table td,
table th {
  border: none;
  color: var(--darkblue);
  font-size: var(--secondary-font-size)!important;
}

table th{
  font-weight: 500 !important;
}

/********* COMPANY INFORMATION FORM *********/

/* To hide arrows in numeric fields */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide the default radio buttons */
.form input[type="radio"] {
    display: none;
  }

  /* Style the custom radio buttons */
  .form input[type="radio"] + label {
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding-left: 2em;
  }

  /* Style the custom radio buttons' circle */
  .form input[type="radio"] + label::before {
    content: "";
    display: inline-block;
    width: 20px; 
    height: 20px; 
    border: 1px solid #ccc; 
    border-radius: 50%; 
    position: absolute;
    left: 0;
    top: 56%;
    transform: translateY(-50%);
  }

  /* Style the custom radio buttons' correct mark when selected */
  .form input[type="radio"]:checked + label::after {
    content:"\f00c";
    color:transparent;
    font-family:"Font Awesome 5 Free";
    font-size:12px;
    font-weight:900;
    color: var(--darkblue); 
    line-height:20px;
    text-align:center;
    position:absolute;
    left: 4px; 
    top: 57%;
    transform: translateY(-50%);
}

label.radio-company-info {
	margin-top: 10px;
	cursor: pointer;
	min-height: 23px;
	padding-left: 32px;
	padding-right: 32px;
	overflow: visible;
	display: inline-block;
	position: relative;
	padding-top: 9px!important;
	font-size: 16px!important;
	line-height: 50px;
	font-weight: 400;
  }

/*Invalid fields*/

.form .input-wrapper.invalid input:focus + label,
.form .input-wrapper.invalid input + label,
.form .input-wrapper.invalid label[for="Company_Cae"] {
  color: var(--warning);
}
 
.form .input-wrapper.invalid p,
.form .table p,
.form .radio-wrapper.invalid p {
  color: var(--warning);
  font-size: 10px;
}
.form .input-wrapper-list.invalid p,
.form .radio-wrapper-list.invalid p {
  color: var(--warning);
  font-size: 10px;
}
.form .input-wrapper-list.invalid input:focus + label,
.form .input-wrapper-list.invalid input + label
{
  color: var(--warning);
}

/* Locations table */

@media (max-width: 991px) {
  .location-container .subquestions-container {
    overflow-x: auto;
  }

  .location-container .subquestions-container {
    overflow-y: hidden;
}
}

.form-group {
  display: flex;
}

.zip-code-input {
  flex-shrink: 1; /* Allow the input to shrink if needed */
}

/* Ensure all inputs and Multiselect components have the same styles */
.form-control
{
  box-sizing: border-box; /* Ensures padding and border are included in the element's total width */
  border: 1px solid var(--bs-border-color);
  color: var(--grey)!important;
  height: 3rem; /* Adjust the height to 3rem */
  line-height: 3rem; /* Ensure the text is vertically centered */
  border-radius: 4px; /* Match the border radius of other input fields */
  padding: 6px 12px!important; /* Match the padding of other input fields */
  font-size: 14px!important;
  min-width: 10rem;
  min-height: 40px;
}

.multiselect {
  font-size: 14px!important;
  color: var(--grey)!important;
}

.multiselect__single{
  font-size: inherit!important;
}

.multiselect__tags{
  border-radius: 0px!important;
  border: 1px solid var(--bs-border-color);
  min-width: 18em;
  width: 100%;
  max-width: 100%;
  resize: none;
  min-height: 3rem!important;
}

.multiselect__input {
  border: 0px!important;
  font-size: inherit!important;
  margin: 0px !important;
  padding: 0px !important;
  height: auto;
  line-height: inherit!important;
}

/* Prevent text from wrapping in the Multiselect component */
.multiselect__single,
.multiselect__placeholder {
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide overflowed text */
  text-overflow: ellipsis; /* Add ellipsis (...) to indicate overflow */
  color: var(--grey)!important;
}

.multiselect__placeholder{
  margin-bottom: 0px!important;
  margin-top: 0px!important;
  padding-top:0px!important;
}

.multiselect__placeholder span{
  line-height: 30px!important
}

.location-table td {
  vertical-align: top;
  border: none;
  text-align: center;
}

.form-group {
  display: flex;
  align-items: center;
}

/* CELE checkbox */

/* Hide the actual checkbox input */
.cele-wrapper input[type="checkbox"] {
  display: none !important;
}

/* Style the custom checkbox */
.cele-wrapper input[type="checkbox"] + label {
  display: inline-block !important;
  position: relative !important;
  cursor: pointer !important;
  padding-left: 2em !important;
  line-height: 1.5 !important;
  vertical-align: top !important;
  pointer-events: auto !important; /* Ensure the label is clickable */
  transform: none !important; /* Reset transform */
  top: auto !important; /* Reset top */
  left: auto !important; /* Reset left */
}

/* Style the custom checkbox's square */
.cele-wrapper input[type="checkbox"] + label:before {
  content: "" !important;
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
  border: 1px solid var(--bs-border-color) !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  background-color: white !important;
}

/* Style the custom checkbox's checkmark when selected */

.cele-wrapper input[type="checkbox"]:checked + label:after {
  content: "\f00c";
  font-size: 12px;
  font-family: "Font Awesome 5 Free";
  color: var(--green);
  font-weight: bold;
  position: absolute;
  left: 4px;
  top: 2px;
}

/* Remove button */

.is-invalid .form-control {
  border-color: var(--warning)!important;
}

.is-invalid .multiselect__tags {
  border-color: var(--warning)!important;
}

/********* Questionários *********/

/* Horizontal stepper */

/* Container for the stepper */
.mat-stepper-horizontal {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: transparent;
  width: 100%;
  margin-top: 4em;
  margin-bottom: 4em;
}

.mat-horizontal-stepper-header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Align items to the top */
  width: 100%;
  overflow: visible;
  position: relative; /* Ensure relative positioning for absolute children */
}

.step-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}

.circle-container {
  display: flex;
  align-items: center;
  position: relative;
}

.mat-step-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  cursor: pointer;
  margin: 0 10px;
  min-width: 80px;
  overflow: visible;
  background-color: transparent; /* Ensure background is transparent */
  z-index: 2;
}

.mat-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  height: 60px;
  width: 60px;
  background-color: white;
  border: 0.20rem solid var(--lightergrey);
  color: var(--grey);
  position: relative;
  transition: all 0.3s ease;
  z-index: 2;
}

.mat-step-icon-content {
  color: var(--darkblue);
  font-size: 24px;
}

.mat-step-label {
  text-align: center;
  font-size: 12px;
  color: var(--darkblue);
  margin-top: 8px; /* Add margin to separate the label from the circle */
}

.mat-step-text-label {
  line-height: 1.2;
}

/* Horizontal Line */
.mat-stepper-horizontal-line {
  position: absolute;
  top: 30px; /* Adjust to align with the center of the circles */
  left: 0; /* Start from the left edge of the step container */
  right: 0; /* Extend to the right edge of the step container */
  height: 2px;
  background-color: var(--lightergrey);
  z-index: 1; /* Ensure the line is behind the circles */
}

/* First step: only show the right half of the line */
.step-container:first-child .mat-stepper-horizontal-line {
  left: 30%; /* Start from the center of the step container */
  right: 0; /* Extend to the right edge of the step container */
}

/* Last step: only show the left half of the line */
.step-container:last-child .mat-stepper-horizontal-line {
  left: 0; /* Start from the left edge of the step container */
  right: 50%; /* Extend to the center of the step container */
}

/* Change line color for the first half if the previous section is filled */
/*
.step-container.filled-previous .mat-stepper-horizontal-line {
  background: linear-gradient(to right, var(--green) 50%, var(--lightergrey) 50%);
}
/*

/* Change line color for the second half if the next section is filled */
/*
.step-container.filled-next .mat-stepper-horizontal-line {
  background: linear-gradient(to right, var(--lightergrey) 50%, var(--green) 50%);
}
/*


/* Change the entire line color if both previous and next sections are filled */
/*
.step-container.filled-both .mat-stepper-horizontal-line {
  background-color: var(--blue);
}
*/


/* Active and Selected States */
.mat-step-icon-active {
  border: 0.20rem solid transparent;
  border-color: var(--green);
  background-origin: border-box;
  background-clip: content-box, border-box;
}

.mat-step-icon-selected {
  background-color: var(--green);
  border: none !important;
  color: white;
}

.mat-step-icon-content-selected {
  color: white; /* Ensure the icon content is visible */
}

.mat-step-label-selected {
  font-weight: bold;
}

/* Hover and Focus States */
.mat-step-header:hover .mat-step-icon,
.mat-step-header:focus .mat-step-icon {
  border-color: var(--green);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {

  .step-container {
    flex-direction: row;
  }

  .mat-horizontal-stepper-header-container {
    display: grid;
    width: auto;
    gap: 20px;
  }

  .mat-stepper-horizontal-line {
    left: 20%;
    height: 80px;
    width: 2px;
    background-color: var(--lightergrey);
    top: 0;
  }

  .mat-horizontal-stepper-header-container {
    display: grid;
    width: auto;
    gap: 20px;
  }

  .step-container:first-child .mat-stepper-horizontal-line {
    left: 20%;
  }

  .step-container:last-child .mat-stepper-horizontal-line {
    left: 20%;
    top: -40%;
  }

}


/*  ********************* */


/* Questions */

/* Layout */

/* Tables */

/* Center the headers */
.question-label table th {
  text-align: center;
  vertical-align: middle;
}

/* Center the radio labels */
.question-label table td {
  text-align: center;
  vertical-align: middle;
}

.question-label table td input[type="radio"] {
  display: none;
}

/* Center the radio inputs and labels */
.question-label table td label.radio_answers {
  display: inline-block;
  vertical-align: middle;
}

/* Center the radio inputs and labels */
.question-label table td.subquestion-label {
  text-align: left;
  font-weight: var(--primary-font-weight);
}


.questionnaire .question-label.invalid {
  color: var(--warning)!important;
}

.questionnaire .error-message {
  color: var(--warning)!important;
  font-size: 10px!important;
}

.questionnaire{
  position: relative;
  margin: 0 auto;
}

.Sections{
  display: block;
  text-align: justify;
}

/* Question Labels */

.question-label{
  font-weight: 500!important;
  margin-top: 24px!important;
  font-size: 16px;
}

.question-id {
  color: var(--green);
}

/* File Upload */

/* Hide the default file input */
.custom-file-upload input[type="file"] {
  display: none;;
}

/* Style the custom label */
.custom-file-upload {
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
  background-color: var(--green)!important;
  color: white;
  font-size: 14px;
  margin-right: 10px; /* Add space between the label and the button */
}

.custom-filename {
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
}

.size-error {
  font-size: 15px;
  color: var(--warning);
}


/* Add space between the download link and the button */
.download-template-text {
  margin-bottom: 10px; /* Adjust the value as needed */
  font-size: 14px;
}

/* Style the clickable link */
.download-template-link {
  color: var(--green); /* Change to desired color */
  text-decoration: none;
}

.download-template-link:hover {
  color: var(--green); /* Change to desired hover color */
}

.download-template-link span {
  font-weight: 500;
  margin-left: 3px;
}


/* Product Table Section 0 */

.product-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
  border: none;
}

.product-table th,
.product-table td {
  text-align: left;
  vertical-align: top;
  border: none;
}

.product-table td {
  width: 100%;
}

.question-product-table {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.question-product-table input.user-input-product-table {
  flex: 0 0 20%; /* Takes up 20% of the width */
  height: 30px;
}

.question-product-table .textarea-container-product-table {
  flex: 1; /* Takes up the remaining width */
  margin-left: 10px; /* Adjust the spacing between the input and textarea as needed */
}

.question-product-table .textarea-container-product-tabletextarea.user-input-product-table {
  width: 100%; /* Takes up the full width of the container */
  height: 100px;
}

.custom-width-table th.product-name-column,
.custom-width-table td:nth-child(1) {
  width: 25%;
}

.custom-width-table th.product-process-column,
.custom-width-table td:nth-child(2) {
  width: 75%;
}

.custom-width-table .question-02 .user-input-02 {
  width: 100%;
  min-width: 10em;
  box-sizing: border-box; /* Ensures padding and border are included in the element's total width */
  height: 5rem;
  color: var(--grey);
  resize: none;
  overflow-y: auto;
}

.textarea-container-02 {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Align items to the right */
}

.custom-width-table .textarea-container-02 textarea {
  width: 100%;
  min-width: 22em;
  box-sizing: border-box; /* Ensures padding and border are included in the element's total width */
  border: 1px solid var(--bs-border-color);
  color: var(--grey);
  height: 5rem;
  resize: none;
}

.invalid {
  border-color: var(--warning)!important;
}

/************/
/* Popup */
/************/

.glossary {
  font-family: var(--secondary-font-family);
}

.glossary-link {
  margin-bottom: 0!important;
  cursor: pointer;
  font-size: 12px;
  color: var(--darkblue);
}

.glossary .col-6{
  padding: 0!important;
}

.glossary-term {
  cursor: help;
  color: var(--green);
  text-underline-offset: -3px;
  margin-left: 2px;
  text-decoration: underline;
}

.glossary-term-cele {
  cursor: help;
  color: var(--blue);
  text-underline-offset: -3px;
  text-decoration: underline;
}

.glossary .glossary-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 600px;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  padding: 20px;
  border-radius: 8px;
}

.glossary .glossary-content {
  position: relative;
}

.glossary .glossary-list {
  font-size: 13px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 0 10px;
}

.glossary .close {
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

.glossary .glossary-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.glossary li{
  margin-bottom: 1rem;
}

.glossary h3{
  margin-bottom: 1.5rem;
}

.glossary-tooltip {
  color: inherit;
  position: relative;
  display: inline-block;
  cursor: help;
  font-size: var(--secondary-font-size);
  font-weight: var(--primary-font-weight);
}

.glossary-tooltip .tooltip-text {
  visibility: hidden;
  width: 120px;
  background-color: var(--blue);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 105%;
}

.glossary-tooltip:hover .tooltip-text {
  visibility: visible;
}

/* Submission Check */

.submission-check {
  margin-top: 10px;
}

.submission-check-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 600px;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  padding: 20px;
  border-radius: 8px;
}

.submission-check .close {
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer; 
}

.submission-check .submission-check-list {
  font-size: 13px;
  max-height: 60vh; /* Set a maximum height for the list */
  overflow-y: auto; /* Make the list scrollable if content overflows */
  padding: 0 10px;
}

.submission-check .submission-check-content {
  position: relative;
}

.submission-check .submission-check-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}


/* Answers */

/* Radio -- */

/* Hide the default radio buttons */
.questionnaire input[type=radio] {
  display: none;
}

/* Style the custom radio buttons */
.questionnaire input[type=radio] + label {
  display: inline-block;
  position: relative;
  cursor: pointer;
  padding-left: 2em;
  line-height: 1.5; /* Ensure consistent line height */
  vertical-align: top; /* Align the label with the top */
}

/* Style the custom radio buttons' circle */
.questionnaire input[type=radio] + label:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid var(--bs-border-color);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  background: white;
}

/* Style the custom radio buttons' dot when selected */
.radio_answers.checked:after {
  content: "\f00c"; /* Tick mark */
  font-size: 12px;
  font-family: "Font Awesome 5 Free";
  color: var(--green); /* Tick color */
  font-weight: bold;
  position: absolute;
  left: 4px;
  top: 2px;
}

/* Label for radio buttons */
label.radio_answers {
  margin-bottom: 15px;
  cursor: pointer;
  line-height: 1.75;
  min-height: 23px;
  overflow: visible;
  display: block;
  position: relative;
}

/* Checkbox -- */

/* Hide the default checkbox buttons */
.questionnaire input[type=checkbox] {
  display: none;
}

.form input[type=checkbox] {
  display: none;
}


/* Style the custom checkboxes */
.questionnaire input[type=checkbox] + label {
  display: inline-block;
  position: relative;
  cursor: pointer;
  padding-left: 2em;
  line-height: 1.5; /* Ensure consistent line height */
  vertical-align: top; /* Align the label with the top */
}

/* Style the custom checkboxes' square */
.questionnaire input[type=checkbox] + label:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid var(--bs-border-color);
  position: absolute;
  left: 0;
  top: 0;
  background-color: white; /* Ensure the background is white */
}

/* Style the custom checkboxes' checkmark when selected */
.checkbox_answers.checked:before {
  border-color: var(--green); /* Change border color when checked */
}

.checkbox_answers.checked:after {
  content: "\f00c"; /* Tick mark */
  font-size: 12px;
  font-family: "Font Awesome 5 Free";
  color: var(--green); /* Tick color */
  font-weight: bold;
  position: absolute;
  left: 4px;
  top: 2px;
}

/* Label for checkboxes */
label.checkbox_answers {
  margin-bottom: 15px;
}


/* User input */

.user-input{
  border: 1px solid var(--bs-border-color);
  font-size: 14px;
  color: var(--grey);
  height: 5rem; /* Allow the height to adjust automatically */
  width: 100%; /* Adjust the width as needed */
  overflow: hidden; /* Hide the scrollbar */
  resize: none; /* Prevent manual resizing */
}

.user-input-number{
  border: 1px solid var(--bs-border-color);
  font-size: 14px;
  color: var(--grey);
  width: 10rem; /* Adjust the width as needed */
  overflow: hidden; /* Hide the scrollbar */
  resize: none; /* Prevent manual resizing */
}

.user-input[type="number"] {
  width: 10rem; /* Set a fixed width */
  height: 1.75rem; /* Set a fixed height */
}

.user-input-note{
  font-size: 12px;
  color: #454545;
  display: inline-block;
}

.textarea-container {
  position: relative;
  display: flex;
  flex-direction: column;
  border-color: var(--warning);
}

.textarea-container textarea {
  resize: none;
  overflow-y: auto;
}

.textarea-container .invalid{
  border-color: var(--warning);
}

.char-limit {
  align-self: flex-end;
  font-size: 10px;
  color: var(--bs-gray-600);
  margin-top: 4px;
}

/* Specific styles for user-input inside input-container */
.input-container .user-input {
  margin-right: 20px; /* Add separation between input boxes */
}

/* Specific styles for number input inside input-container */
.input-container .user-input[type="number"] {
  width: 10rem; /* Set a fixed width */
  min-height: 1.75rem; /* Set a fixed height */
}

/* Text input in Checkboxes */

.answer-container {
  display: flex;
  align-items: center;
}

.answer-container input[type="checkbox"] {
  margin-right: 10px; /* Adjust the spacing as needed */
}

.answer-container textarea {
  margin-left: 10px; /* Adjust the spacing as needed */
}

/* Sub questions */

.subquestions-container {
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
  background-color: var(--altgrey);
}

.header-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 10px;
  justify-content: flex-end; /* Align headers to the right */
  color: var(--green);
  font-size: var(--secondary-font-size);
}

.header-cell {
  color: var(--green);
  font-size: var(--secondary-font-size);
  font-weight: bold;
  text-align: center;
  margin-right: 20px;
}

.header-cell-label {
  width: 22rem; /* Set a fixed width to match the label */
}

.header-cell-input {
  width: 10rem; /* Set a fixed width to match the input boxes */
}

.subquestion {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 15px;
  font-size: var(--secondary-font-size);
}

.subquestion p:empty {
  display: block;
}

.user-input-number.invalid {
  border-color: var(--warning);
}

.subquestion-label {
  flex: 1;
  min-width: 22rem;
  margin-right: 1rem !important;
}

.subquestion-label.invalid {
  color: var(--warning);
}

.subquestion-answer{
  text-align: center!important;
}

.input-container {
  display: flex;
  flex-direction: row;
}

.input-container input {
  margin-right: 1rem; /* Add margin to create space between input boxes */
}


/* Questionnaire buttons */
.btnsubmit {
	cursor: pointer;
  border: none;
	background: none;
}

.button_questionnaire {
  border: none;
  color: inherit;
  padding: 0;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  margin-right: 10px; 
  margin-left: 10px;
  text-transform: uppercase;
}

.button_questionnaire:hover {
	color: var(--green)
}

.sabermais .arrow {
	width: 33px;
	margin-top: 4px;
}

.sabermais .arrow .linha {
	width: 23px;
	float: left;
	height: 1px;
	background-color: var(--darkblue);
}

.sabermais .arrow .triangulo {
	width: 7px;
	height: 7px;
	float: left;
	border-top: 1px solid var(--darkblue);
	border-right: 1px solid var(--darkblue);
	margin: -3px 0 0 -7px;
	transform: rotate(45deg)
}

.sabermais .rotate-left {
  transform: rotate(-180deg);
  margin-bottom: 4px;
}

.image-zoom-effect:hover .sabermais,
.sabermais:hover {
	color: var(--green)
}

.image-zoom-effect:hover .sabermais .arrow .linha,
.sabermais:hover .arrow .linha {
	width: 33px;
	background-color: var(--green)
}

.image-zoom-effect:hover .sabermais .arrow .triangulo,
.sabermais:hover .arrow .triangulo{
	border-color: var(--green)
}