:root {
  --container-margin: (100vw - 1260px) / 2;
  --navbar-height: 62px;
}

@media (max-width: 1300px) {
  :root {
    --container-margin: (100vw - 1000px) / 2;
    --navbar-height: 64px;
  }
}

@media (max-width: 1100px) {
  :root {
    --container-margin: (100vw - 700px) / 2;
    --navbar-height: 52px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-margin: (100vw - 500px) / 2;
  }
}

@media (max-width: 576px) {
  :root {
    --container-margin: 15px;
  }
}

.overlap {
  margin-top: -100px;
}

@media (max-width: 576px) {
  .overlap {
    margin-top: 0;
  }
}

.main-section {
  position: relative;
  z-index: 2;
  background-color: #ffffff;
  padding-top: 32px;
  color: #304a70;
}

.main-section .page-title {
  font-size: 30px;
  line-height: 36.6px;
  font-weight: 700;
  color: #304a70;
  margin: 0;
}

@media (max-width: 764px) {
  .main-section .page-title {
    font-size: 26px;
    line-height: 30px;
  }
}

.main-section .contact-container {
  background-color: #ebf8f6;
  padding: 24px;
  margin-top: 32px;
}

.main-section .contact-container .contantfirstline {
  font-weight: bold;
  color: #304a70;
}

.main-section .contact-container .contact-label {
  font-size: 0.9rem;
  line-height: 1.25;
  margin: 18px 0;
}

.main-section .contact-container .icon-container {
  height: 32px;
  width: 32px;
  min-height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: solid 1px #304a70;
  border-radius: 100%;
  padding: 6px;
  margin-right: 12px;
}

.main-section .contact-container .icon-container img {
  width: 100%;
  height: auto;
}

.main-section .contact-containeryellow {
  background-color: rgba(240, 175, 54, 0.1);
  padding: 24px;
  margin-top: 32px;
  color: #304a70;
}

.main-section .contact-containeryellow .contantfirstline {
  font-weight: bold;
}

.main-section .contact-containeryellow .contact-label {
  font-size: 0.9rem;
  line-height: 1.25;
  margin: 18px 0;
}

.main-section .contact-containeryellow .socialscontatti {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.main-section .contact-containeryellow .socialscontatti .icon-container {
  height: 32px;
  width: 32px;
  min-height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: solid 1px #304a70;
  border-radius: 100%;
  padding: 6px;
  margin-right: 12px;
}

.main-section .contact-containeryellow .socialscontatti .icon-container img {
  width: 100%;
  height: auto;
}

.main-section .form-container {
  padding-top: 24px;
}

.main-section .form-container .label {
  margin-bottom: 12px;
  margin-top: 18px;
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
  color: #8392a9;
}

.main-section .form-container .field {
  padding: 12px;
  font-size: 1rem;
  line-height: 1.25;
  width: 100%;
  border: 1px solid #d2d2d2;
  outline: none;
  color: #304a70;
  resize: none;
  transition: 0.3s ease;
}

.main-section .form-container .field:focus {
  border-color: #304a70;
}

.main-section .form-container .field:disabled {
  background-color: transparent;
}

.main-section .form-container .field::-moz-placeholder {
  color: #c4c4c4;
}

.main-section .form-container .field::placeholder {
  color: #c4c4c4;
}

.main-section .form-container .custom-checkbox-container {
  margin: 18px 0;
}

.main-section .form-container .custom-checkbox-container .checkbox-wrapper {
  display: flex;
  align-items: center;
}

.main-section .form-container .custom-checkbox-container .checkbox-wrapper .default-checkbox {
  display: none;
}

.main-section .form-container .custom-checkbox-container .checkbox-wrapper .cusom-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  min-width: 20px;
  background-color: #ffffff;
  border: 1px solid #d2d2d2;
  margin-right: 12px;
  margin-bottom: 0;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.main-section .form-container .custom-checkbox-container .checkbox-wrapper .cusom-checkbox:hover {
  border-width: 2px;
}

.main-section .form-container .custom-checkbox-container .checkbox-wrapper .cusom-checkbox .check-icon {
  width: 14px;
  opacity: 0;
  transition: 0.2s ease;
}

.main-section .form-container .custom-checkbox-container .checkbox-wrapper .checkbox-label {
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.25;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: 0.3s ease;
  margin-bottom: 0;
  color: #304a70;
}

.main-section .form-container .custom-checkbox-container .checkbox-wrapper .checkbox-label a {
  text-decoration: underline;
}

.main-section .form-container .custom-checkbox-container .checkbox-wrapper .default-checkbox:checked ~ .cusom-checkbox .check-icon {
  opacity: 1;
}

.main-section .form-container .submit-button {
  margin-top: 32px;
  display: block;
  font-size: 1rem;
  line-height: 1.25;
  width: 100%;
  font-weight: 700;
  transition: 0.3s ease;
  background-color: #f0af36;
  text-align: center;
  color: #ffffff;
  padding: 10px;
}

