* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  background: #fff;
  font-size: 0.875rem;
  line-height: 1.4;
  font-family: "Work Sans", Arial, sans-serif;
  color: #555;
}

.imgEikone {
  width: 100%;
  height: auto; /* Mantiene le proporzioni */
  display: block; /* Evita spazi indesiderati */
  margin: 0 auto;
  object-fit: contain;
}

@media screen and (max-width: 780px) {
  .imgEikone {
    width: 100%;
  }
}

.alert {
        padding: 15px;
        border-radius: 5px;
        font-size: 16px;
        color: #721c24;
        background-color: #f8d7da;
        border: 1px solid #f5c6cb;
        margin-top: 50px
    }

.imgName {
  width: 50%;
  height: auto; /* Mantiene le proporzioni */
  display: block; /* Evita spazi indesiderati */
  margin: 0 auto;
  object-fit: contain;
}

@media screen and (max-width: 780px) {
  .imgName {
    width: 60%;
  }
}



h2,
h3 {
  color: #222;
}

p {
  margin-bottom: 25px;
}


label {
  font-weight: 400;
  margin-bottom: 3px;
  color: #222;
}

hr {
  margin: 30px 0 30px 0;
  border-color: #0c0c0c;
}

/*General links color*/
a {
  color:  #5a5c55;
  text-decoration: none;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  outline: none;
}
a:hover, a:focus {
  color: #111;
  text-decoration: none;
  outline: none;
}


/*-------- 1.3 Structure --------*/
/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  bottom: 0;
  background-color: #fff;
  z-index: 999999;
}

[data-loader="circle-side"] {
  position: absolute;
  width: 50px;
  height: 50px;
  top: 50%;
  left: 50%;
  margin-left: -25px;
  margin-top: -25px;
  -webkit-animation: circle infinite .95s linear;
  -moz-animation: circle infinite .95s linear;
  -o-animation: circle infinite .95s linear;
  animation: circle infinite .95s linear;
  border: 2px solid #333;
  border-top-color: rgba(0, 0, 0, 0.2);
  border-right-color: rgba(0, 0, 0, 0.2);
  border-bottom-color: rgba(0, 0, 0, 0.2);
  border-radius: 100%;
}

#loader_form {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  bottom: 0;
  background-color: #fff;
  background-color: rgba(255, 255, 255, 0.6);
  z-index: 999999;
  display: none;
}

@-webkit-keyframes circle {
  0% {
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes circle {
  0% {
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes circle {
  0% {
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes circle {
  0% {
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.row-height {
  height: 100vh;
}
@media (max-width: 991px) {
  .row-height {
    height: auto;
  }
}

.content-left {
  background-color: #5a5c55;
  padding: 0;
}

.content-left-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  min-height: 100%;
  padding: 20px 30px;
  background-color: #434bdf;
  color: #fff;
  text-align: center;
  position: relative;
  background: transparent;
  background: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.5));
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
}
@media (max-width: 991px) {
  .content-left-wrapper {
    height: auto;
    padding: 95px 30px 35px 30px;
  }
}
@media (max-width: 767px) {
  .content-left-wrapper {
    padding: 95px 15px 35px 15px;
  }
}
@media (max-width: 991px) {
  .content-left-wrapper figure img {
    height: 150px;
  }
}
.content-left-wrapper h2 {
  color: #fff;
  font-size: 32px;
  font-size: 2rem;
  margin: 20px 0 15px 0;
  font-weight: 400;
}
@media (max-width: 767px) {
  .content-left-wrapper h2 {
    font-size: 26px;
    font-size: 1.625rem;
  }
}
.content-left-wrapper p {
  font-size: 15px;
  font-size: 0.9375rem;
  opacity: 0.8;
}
@media (max-width: 767px) {
  .content-left-wrapper p {
    font-size: 14px;
    font-size: 0.875rem;
  }
}
.content-left-wrapper .btn_1 {
  margin: 25px 0 25px 0;
}
@media (max-width: 991px) {
  .content-left-wrapper .btn_1 {
    display: none;
  }
}
.content-left-wrapper .btn_1.mobile_btn {
  display: none;
}
@media (max-width: 767px) {
  .content-left-wrapper .btn_1.mobile_btn {
    margin: 5px 0 30px 0;
    display: inline-block;
  }
}

.content-right {
  padding: 60px;
  height: 100%;
  min-height: 100%;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 991px) {
  .content-right {
    height: auto;
    padding: 30px 15px;
  }
}

a#logo {
  position: absolute;
  left: 20px;
  top: 15px;
  display: block;
  height: 35px;
}

@media (max-width: 991px) {
  a#logo {
    left: 15px;
    top: 10px;
  }
}

#left_form {
  text-align: center;
}
#left_form h2 {
  font-size: 28px;
  font-size: 1.75rem;
  color: #0686D8;
}
@media (max-width: 767px) {
  #left_form figure img {
    height: 130px;
    width: auto;
  }
}

#wizard_container {
  width: 400px;
}
@media (max-width: 767px) {
  #wizard_container {
    width: 100%;
  }
}

h3.title {
  margin: 0 0 20px 0;
  padding: 0;
  font-weight: 500;
  font-size: 18px;
  font-size: 1.125rem;
}

#top-wizard {
  padding-bottom: 20px;
}

#middle-wizard {
  min-height: 330px;
}
@media (max-width: 991px) {
  #middle-wizard {
    min-height: inherit;
  }
}

#bottom-wizard {
  border-top: 2px solid #ededed;
  padding-top: 20px;
  text-align: right;
  margin-top: 25px;
}

.form-group {
  position: relative;
  margin-bottom: 1rem;
}
.form-group.terms {
  padding: 12px 0 0 0;
}
.form-group i {
  font-size: 18px;
  font-size: 1.125rem;
  position: absolute;
  right: 5px;
  top: 11px;
  color: #ccc;
  width: 25px;
  height: 25px;
  display: block;
  font-weight: 400 !important;
}

.form-control {
  border: 1px solid #d2d8dd;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  font-size: 14px;
  font-size: 0.875rem;
  height: calc(2.55rem + 2px);
}

/* Checkbox style */
.container_check {
  display: block;
  position: relative;
  font-size: 14px;
  font-size: 0.875rem;
  padding-left: 30px;
  line-height: 1.3;
  margin-bottom: 10px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.container_check input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.container_check input:checked ~ .checkmark {
  background-color: #b1b2c3;
  border: 1px solid transparent;
}
.container_check .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  border: 1px solid #d2d8dd;
  background-color: #fff;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.container_check .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* Jquery select */
.nice-select {
  -webkit-tap-highlight-color: transparent;
  background-color: #fff;
  border-radius: 3px;
  border: 1px solid #d2d8dd;
  box-sizing: border-box;
  clear: both;
  cursor: pointer;
  display: block;
  float: left;
  font-family: inherit;
  font-size: 14px;
  font-weight: normal;
  height: 42px;
  line-height: 40px;
  outline: none;
  padding-left: 15px;
  padding-right: 27px;
  position: relative;
  text-align: left !important;
  transition: all 0.2s ease-in-out;
  user-select: none;
  white-space: nowrap;
  width: auto;
  color: #6c757d;
}
.nice-select:active, .nice-select.open, .nice-select:focus {
  border-color:  #5a5c55;
}
.nice-select:after {
  border-bottom: 2px solid #ccc;
  border-right: 2px solid #ccc;
  content: '';
  display: block;
  height: 8px;
  margin-top: -5px;
  pointer-events: none;
  position: absolute;
  right: 20px;
  top: 50%;
  transform-origin: 66% 66%;
  transform: rotate(45deg);
  transition: all 0.15s ease-in-out;
  width: 8px;
}
.nice-select.open:after {
  transform: rotate(-135deg);
}
.nice-select.open .list {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}
.nice-select.disabled {
  border-color: #9e9e9e;
  color: #999;
  pointer-events: none;
}
.nice-select.disabled:after {
  border-color: white;
}
.nice-select.wide {
  width: 100%;
}
.nice-select.wide .list {
  left: -1px !important;
  right: -1px !important;
}
.nice-select.right {
  float: right;
}
.nice-select.right .list {
  left: auto;
  right: 0;
}
.nice-select.small {
  font-size: 12px;
  height: 42px;
  line-height: 40px;
}
.nice-select.small:after {
  height: 4px;
  width: 4px;
}
.nice-select.small .option {
  line-height: 40px;
  min-height: 40px;
}
.nice-select .list {
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
  box-sizing: border-box;
  margin-top: 4px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  transform-origin: 50% 0;
  transform: scale(0.75) translateY(-25px);
  transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  z-index: 9999;
  height: 23vh;
  overflow: auto;
}
.nice-select .list:hover .option:not(:hover) {
  background-color: transparent !important;
}
.nice-select .list::-webkit-scrollbar {
  width: 14px;
  height: 18px;
}
.nice-select .list::-webkit-scrollbar-thumb {
  height: 6px;
  border: 4px solid transparent;
  background-clip: padding-box;
  -webkit-border-radius: 7px;
  background-color: rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05), inset 1px 1px 0px rgba(0, 0, 0, 0.05);
}

.nice-select .list::-webkit-scrollbar-corner {
  background-color: transparent;
}
.nice-select .option {
  cursor: pointer;
  font-weight: 400;
  line-height: 38px;
  list-style: none;
  min-height: 38px;
  outline: none;
  padding-left: 15px;
  padding-right: 26px;
  text-align: left;
  transition: all 0.2s;
}
.nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus {
  background-color: #f6f6f6;
}
.nice-select .option.selected {
  font-weight: 500;
}
.nice-select .option.disabled {
  background-color: transparent;
  color: #999;
  cursor: default;
}

.success-message {
  text-align: center;
  font-size: large;
  padding: 20px;
}

/* Animation for the border drawing */
@keyframes drawBorder {
  0% {
    width: 0;
    height: 0;
    border-top-color: black;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
  }
  25% {
    width: 100%;
    height: 0;
    border-top-color: black;
    border-right-color: black;
    border-bottom-color: transparent;
    border-left-color: transparent;
  }
  50% {
    width: 100%;
    height: 100%;
    border-top-color: black;
    border-right-color: black;
    border-bottom-color: transparent;
    border-left-color: transparent;
  }
  75% {
    width: 100%;
    height: 100%;
    border-top-color: black;
    border-right-color: black;
    border-bottom-color: black;
    border-left-color: transparent;
  }
  100% {
    width: 100%;
    height: 100%; 
    border-left-color: black;
    border: 1px solid black;
   
  }
}

.box {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 30px;
  cursor: pointer;
}

.box:hover .line-left, .box:hover .line-right {
  background-color: #fff;
}

.box:hover #send {
  background-color: #000000;
  color: #fff;
}

.line-left, .line-right {
  width: 0;
  height: 1px;
  background-color: black;
  position: absolute;
  z-index: 1;
  opacity: 0;
  transition: background-color 0.3s ease;
}

.box:hover .line-left, .box:hover .line-right {
  background-color: #fff;
}

#send {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  z-index: 0;
  width: 50%;
  border: none; /* Remove default border */
}

#send::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  background: transparent;
  border: 1px solid transparent;
  box-sizing: border-box;
  z-index: -1;
}

.loaded #send::before {
  animation: drawBorder 1.5s linear forwards;
}

.box:hover #send {
  background-color: #000000;
  color: #fff;
}

.line-left {
  left: 0;
  top: 50%;
}

.line-right {
  right: 0;
  top: 50%;
}

@keyframes drawLineLeft {
  0% {
    width: 0;
    opacity: 0;
    left: -30px;
  }
  100% {
    width: 30px;
    opacity: 1;
    left: 85px;
  }
}

@media screen and (max-width: 767px) {
  
  @keyframes drawLineLeft {
    0% {
      width: 0;
      opacity: 0;
      left: -30px;
    }
    100% {
      width: 30px;
      opacity: 1;
      left: 82px;
    }
  }
}

@keyframes drawLineRight {
  0% {
    width: 0;
    opacity: 0;
    right: -30px;
  }
  100% {
    width: 30px;
    opacity: 1;
    right: 85px;
  }
}

@media screen and (max-width: 767px) {
  
  @keyframes drawLineRight {
    0% {
      width: 0;
      opacity: 0;
      right: -30px;
    }
    100% {
      width: 30px;
      opacity: 1;
      right: 82px;
    }
  }
}


/* Apply line animations after border completes */
.loaded .line-left {
  animation: drawLineLeft 0.5s ease forwards;
  animation-delay: 1.7s;
}

.loaded .line-right {
  animation: drawLineRight 0.5s ease forwards;
  animation-delay: 1.7s;
}


.no-csspointerevents .nice-select .list {
  display: none;
}
.no-csspointerevents .nice-select.open .list {
  display: block;
}

/*-------- 3.2 Spacing --------*/
.add_bottom_10 {
  margin-bottom: 10px;
}

.add_bottom_15 {
  margin-bottom: 15px;
}

.add_bottom_30 {
  margin-bottom: 30px;
}

.add_bottom_45 {
  margin-bottom: 45px;
}

.add_bottom_60 {
  margin-bottom: 60px;
}

.add_bottom_75 {
  margin-bottom: 75px;
}

.add_top_10 {
  margin-top: 10px;
}

.add_top_15 {
  margin-top: 15px;
}

.add_top_20 {
  margin-top: 20px;
}

.add_top_30 {
  margin-top: 30px;
}

.add_top_60 {
  margin-top: 60px;
}

.more_padding_left {
  padding-left: 40px;
}

.nomargin_top {
  margin-top: 0;
}

.nopadding {
  margin: 0 !important;
  padding: 0 !important;
}

.nomargin {
  margin: 0 !important;
}

.margin_30 {
  padding-top: 30px;
  padding-bottom: 30px;
}

.margin_60 {
  padding-top: 60px;
  padding-bottom: 60px;
}

.margin_60_35 {
  padding-top: 60px;
  padding-bottom: 35px;
}
