#evaluateForm fieldset:not(:first-of-type) {
  display: none;
}

.form-text{
  color: red;
}

html {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

html {
  height: 100%;
  /*scroll-padding-top: calc(4.5rem - 1px);*/
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.text-green{
  color: #00b400;
}

.text-uppercase{
  text-transform: uppercase;
}

.privacy-link:link, .privacy-link:visited, .re-link:link, .re-link:visited{
  text-decoration: none;
  color: #198754;
}

.privacy-link:hover, .re-link:hover{
  text-decoration: none;
  color: #157347;
}

.privacy-body{
  background-color: white !important;
  background: none;
}

.titolo-policy{
	margin-top: 10px;
	margin-bottom: 20px;
}
 .privacy-col{
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
 }

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #00b400;
  --bs-btn-border-color: #00b400;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #00a000;
  --bs-btn-hover-border-color: #00a000;
  --bs-btn-focus-shadow-rgb: 246, 122, 88;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #00a000;
  --bs-btn-active-border-color: #00a000;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #10514a;
  --bs-btn-disabled-border-color: #10514a;
}

.btn-xl {
  padding: 1.25rem 3rem;
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  border-radius: 1rem;
  background-color: #198754;
  margin-top: 0.5rem;
}

hr.divider {
  height: 0.2rem;
  max-width: 3.25rem;
  margin: 1.5rem auto;
  background-color: #10514a;
  opacity: 1;
}

hr.divider-light {
  background-color: #fff;
}

footer{
  background-color: black;
}

.text-muted{
  color: white !important;
}

#mainNav {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
#mainNav .navbar-brand {
  font-family: "Helvetica", sans-serif;
  font-weight: 700;
  color: #212529;
}
#mainNav .navbar-nav .nav-item .nav-link {
  color: #6c757d;
  font-family: "Helvetica", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 0;
}
#mainNav .navbar-nav .nav-item .nav-link:hover, #mainNav .navbar-nav .nav-item .nav-link:active {
  color: #00b400;
}
#mainNav .navbar-nav .nav-item .nav-link.active {
  color: #00b400 !important;
}
@media (min-width: 992px) {
  #mainNav {
    box-shadow: none;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-brand:hover {
    color: #fff;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 0 1rem;
  }
  #mainNav .navbar-nav .nav-item .nav-link:hover {
    color: #fff;
  }
  #mainNav .navbar-nav .nav-item:last-child .nav-link {
    padding-right: 0;
  }
  #mainNav.navbar-shrink .navbar-brand {
    color: #212529;
  }
  #mainNav.navbar-shrink .navbar-brand:hover {
    color: #f4623a;
  }
  #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link {
    color: #212529;
  }
  #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link:hover {
    color: #f4623a;
  }
}

header.masthead h1, header.masthead .h1 {
  font-size: 2.25rem;
}

.animate1 {
  opacity: 0;
  transform: translateX(-50px);
  animation: fadeInLeft 1s ease-out forwards;
  animation-delay: 300ms;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.button-row {
  display: flex;
  margin-top: auto;
}

.val-text{
  margin-top: -0.5rem;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
}

#final-txt{
  padding-bottom: 0 !important;
}

.form-label{
  margin-bottom: 0 !important;
}

.previous-form, .next-form, .submit{
  font-size: 1.25rem;
  text-transform: uppercase;
  border-radius: 0.75rem;
}

/*.first-row{}
.third-row{}*/

#province{
  margin-bottom: 1.25rem;
}

@media (min-width: 992px) {
  .h-75{
    height: 80% !important;
  }

  .logo-col{
    background-image: url("../assets/img/logo.png");
    width: 100%;
    height: 75px;
    background-repeat: no-repeat;
    background-size: contain; 
    background-position: center left;
    display: flex;
    justify-content: left;
    margin-left: 1rem;
  }
  .mobile-logo{
    display: none;
  }
  .page-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;      
  }

  header.masthead {
    height: 100vh;
    min-height: 40rem;
    padding-top: 1rem;
    padding-bottom: 0;
  }
  header.masthead p {
    font-size: 1.35rem;
  }
  header.masthead h1, header.masthead .h1 {
    font-size: 2.5rem;
  }
  .sub-header{
    font-size: 2.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.1rem;
  }

  .progress{
    min-height: 2rem;
    border-radius: 0.5rem;
  }

  .form-col{
    /*border: 1px solid red;*/
    border-radius: 1rem;
    background-color: white;
    padding: 2rem;
  }

  fieldset {
    display: flex;
    flex-direction: column;
    /*overflow: hidden;
    transition: none;*/
    height: 30vh;
    /*min-height: 31rem;
    border: 1px solid black;*/
  }

  fieldset.single7{
    height: 34vh;
  }

  fieldset.single1{
    height: 42vh;
  }

  fieldset.multiple1{
    height: 45vh;
  }

  fieldset.multiple2{
    height: 55vh;
    min-height: 33rem;
  }

  fieldset.multiple3{
    min-height: 30vh;
    max-height: 50vh;
  }

  fieldset.single4{
    height: 36vh;
  }

  fieldset.single3{
    height: 43vh;
  }

  fieldset.single5{
    height: 28vh;
  }

  fieldset.single6{
    height: 30vh;
  }

  /*fieldset.multiple3 > div.isHeatSingle{
    height: 50vh;
  }

  fieldset.multiple3 > div.isHeatMultiple{
    height: 30vh;
  }*/

  fieldset.multiple4{
    height: 40vh;
  }

  fieldset.multiple5{
    height: 48vh;
  }

  .resultRow{
    height: 40vh;
    /*min-height: 31rem;
    border: 1px solid black;*/
  }
  fieldset h2{
    padding-top: 1.5rem;
  }

  fieldset h3{
    font-size: 1.65rem;
  }

  .form-check-label{
    font-size: 1.2rem;
  }

  .res-txt{
    font-size: 1.25rem;
    padding-top: 1.2rem;
  }
  .last-txt{
    font-size: 1.8rem;
    padding-top: 1.2rem;
  }

  .second-row{
    padding: 1rem 0;
  }
}

@media (min-width: 1200px) {
  header.masthead h1, header.masthead .h1 {
    font-size: 2.75rem;
  }

}

@media (min-width: 769px){
  body {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%), url("../assets/img/main-bg.jpeg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
  }
  .mobile-only{
    display: none;
  }
  .submit-row{
    padding-top: 1.1rem;
    max-width: 25%;
  }
}

@media (max-width: 768px) {
  .h-75{
    height: 75% !important;
  }

  .logo-col {
    background-image: url("../assets/img/logo2x.png");
    width: 100%;
    height: 70px; /* Adjust as needed for your logo aspect ratio */
    background-repeat: no-repeat;
    background-size: contain;   /* Ensures the whole logo is visible */
    background-position: center center; /* Centers the image */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    scale: 1; /* Remove or adjust if not needed */
  }

  .mobile-only{
    display: block;
  }

  .def-logo{
    display: none;
  }
  .mobile-logo{
    visibility: visible;
    scale: 0.4;
  }

  body {
    width: 100%;
    height: 100%;
  }
  .page-section {
    justify-content: center;
    /*min-height: 100vh;   
    min-height: -webkit-fill-available;*/   
  }

  header.masthead {
    height: 100vh;
    min-height: 40rem;
    padding-top: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%), url("../assets/img/main-bg-mobile.jpg");
    background-position-x: center;
    background-position-y: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 46%;
    border-bottom: 1px solid white;
  }

  header.masthead h1, header.masthead .h1 {
    font-size: 1.65rem;
  }

  .sub-header{
    font-size: 1.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.1rem;
  }

  header.masthead p {
    font-size: 1.25rem;
  }

  .form-col{
    /*border: 1px solid red;*/
    background-color: white;
    padding: 1rem;
    margin-bottom: 0.75rem;
  }

  fieldset {
    display: flex;
    flex-direction: column;
    height: 50vh;
    /*min-height: 32.5rem;*/
  }

  fieldset.single7{
    height: 58vh;
  }

  fieldset.single{
    height: 55vh;
  }

  fieldset.single1{
    height: 75vh;
  }

  fieldset.multiple1{
    height: 55vh;
  }

  fieldset.multiple2{
    height: 55vh;
    min-height: 33rem;
  }

  fieldset.multiple5{
    height: 55vh;
    min-height: 28rem;
  }

  fieldset.multiple3{
    min-height: 30vh;
    max-height: 70vh;
  }

  fieldset.single3{
    height: 78vh;
  }

  fieldset.single4{
    height: 63vh;
  }

  fieldset.single5{
    height: 47vh;
  }

  fieldset.single6{
    height: 51vh;
  }

  fieldset.multiple4{
    height: 42vh;
  }

  .val-text{
    margin-top: 0.1rem;
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 1.75rem;
    text-align: center;
  }

  fieldset h2{
    padding-top: 0.75rem;
    font-size: 1.3rem;
  }

  fieldset h3{
    font-size: 1.1rem;
  }

  .email-form-head{
    margin-top: 1.5rem;
    font-size: 1.4rem;
  }

  .form-check-label{
    font-size: 1.1rem;
  }

  .area{
    margin-bottom: 0.5rem;
  }
  .res-txt{
    font-size: 1.35rem;
    padding-top: 1rem;
    text-align: center;
  }

  .last-txt{
    font-size: 1.5rem;
    padding-top: 1rem;
  }

  .privacy-label{
    font-size: 1rem !important;
  }

  .user-data{
    padding-bottom: 0.75rem;
  }
  .submit-row{
    padding-top: 1.1rem;
    min-width: 100%;
  }
}