:root {
    --primary-color: #7177ae;

}


@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

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

body {
    font-family: 'montserrat', sans-serif;
    display: grid;
    place-items: top;
    min-height: 100vh;
    background:#fff;
}

/* General settings */
.cont-btn {
    display: flex;
    align-items: start;
    width: 800px;
}

.cont-btn > div {
    margin:10px;
}

.btn-show {
    font-size: 1.3rem;
    border: none;
}

.btn-show:hover {
    scale: 1.1;
}
 
.chiudi {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 0.9rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #7177ae;
    cursor: pointer;
}

.chiudi:hover {
    transform: scale(1.1);
}

.price {
    width: 100%;
    text-align: right;
    height: fit-content;
    padding: 0;
    margin: 0;
}

#prezzo_prodotto  {
    position: relative;
    font-size: 1.5rem;
    font-weight: bold;
    color: #bf1b23;

}

#informative_title {
    font-size: 1.5rem;
    color: #7177ae;
    margin-bottom: 1rem;
}


#informative_text {
    font-size: 1rem;
    color: #000;
}

.cont-checkbox {
    padding-top: 1.3rem;
    display: flex;
    align-items: center;
}

label {
    font-size: 1rem;
    color: #000;
}

input {
    display: block;
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 2rem;
    /* margin-bottom: 1rem; */
}

input::placeholder {
    color: #ccc;
}

.text-center {
    text-align: center;
    color: #7177ae;
    font-size: 22px;
}

.width-50 {
    width: 50%;
}

.ml-auto {
    margin-left: auto;
}

/* progress */
.progressbar { 
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 2rem 0 4rem 0;
}

.progressbar::before, .progress {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background-color: #dcdcdc;
    counter-reset: step;

}

.progress {
    background-color: var(--primary-color);
    width: 0%;
    transition:width 0.3s ease-in-out ;
}

.progress-step {
  width: 35px;
  height: 35px;
  background-color: #dcdcdc;
  border-radius: 50%;
  display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.progress-step::before {
    counter-increment: step;
    content: counter(step);
}

.progress-step::after {
    content: attr(data-title);
    position: absolute;
    top: calc(100% + 0.5rem);
    font-size: 0.80rem;
    color: #666666;
}

@media  screen and (max-width: 768px) {
 .progress-step {  width: 22px; height: 22px;  }
 .progress-step::after {  font-size: 0.0rem !important;  }
}

@media  screen and (max-width: 1200px) { 
    .progress-step {  width: 25px; height: 25px;  }
    .progress-step::after {  font-size: 0.5rem;  }
}

.progress-step.active {
    background-color: var(--primary-color);
    color: #fff;
}


/* form */
.form {

    min-width: 600px;
    width: auto;
    margin: 0 auto;
    position: relative;
    border-radius: 2.2rem;
    padding: 1.5rem;
    background-color: #fff;
    box-shadow: 4px -2px 51px -19px #7177AE;
    text-align: -webkit-center;
    align-items: start;
    
}

.form:hover {
    box-shadow: 4px -2px 66px -15px #7177AE;
}



.form-step {
    display: none;
    transform-origin: top;
    animation: animate 0.5s;
}

@keyframes animate {
 from {
     transform: scale(1, 0);
     opacity: 0;
 } to {
     transform: scale(1, 1);
     opacity: 1;
 }
 
}

.form-step.active {
    display: block;
}

.input-group {
    margin: 1rem 2rem 2rem 2rem;
}

/* alert msg */


.alert{
    background: #dc99fa;
    padding: 20px 40px;
    min-width: 420px;
    position: absolute;
    right: 0;
    top: 10px;
    border-radius: 4px;
    border-left: 8px solid #9e02ff;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }

@media screen and (max-width: 768px) {
    .alert {
        max-width: 150px;
        top: 30%;
        z-index: 2;
    }

    .alert .msg {
        padding-left:0px !important;
        text-align: center;
        font-size: 1rem;
    }

    .alert .ri-error-warning-line {
        left: 3px !important;
    }
}

  .alert.showAlert{
    opacity: 1;
    pointer-events: auto;
}

  .alert.show{
    animation: show_slide 1s ease forwards;
}

  @keyframes show_slide {
    0%{
      transform: opacity(0);
    }
    40%{
      transform: opacity(0.5);
    }
    80%{
      transform: opacity(0.3);
    }
    100%{
      transform: opacity(1);
    }
  }
  
  .alert.hide{
    animation: hide_slide 1s ease forwards;
  }


  @keyframes hide_slide {

    0%{
      transform: opacity(1);
    }
    40%{
      transform: opacity(0.3);
    }
    80%{
      transform: opacity(0.5);
    }
    100%{
      transform: opacity(0);
    }
  }


  .alert .ri-error-warning-line{
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #7100ce;
    font-size: 30px;
  }
  .alert .msg{
      font-family: 'Montserrat', sans-serif;
    padding: 0 30px;
    font-size: 18px;
    color: #7c00ce;
  }
  .alert .close-btn{
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    background: #d980ff;
    padding: 20px 18px;
    cursor: pointer;
  }
  .alert .close-btn:hover{
    background: #ed66ff;
  }
  .alert .close-btn .ri-close-line {
    color: #b900ce;
    font-size: 1.4rem;
    line-height: 40px;
  }



/* buttons */

.btns-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    display: inline-flex;
    

}

.btn {
    padding: 0.75rem 1.5rem;
    display: block;
    text-align: center;
    text-decoration: none;
    background-color: #fff;
    color: #7177ae;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 250ms ease-in-out;
    border-color: #7177ae;
}

.btn:active {
    transform: scale(.98);
}

.btn:hover {
 box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--primary-color);

}

.title-insert {
    font-size: 1.3rem;
    text-align: center;
    color: #000000;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.cont-tast {
    width: 100%;
    flex-flow: row wrap;
    place-content: center;
    padding: 10px;
}

.cont-tast label {
    font-weight: bold;
    font-size: 1rem;
    display: inline-block;
    padding: 10px 7px 10px 10px ;
    margin: 5px;
    border-radius: 2rem !important;
    background-color:  #7177AE;
    color: #fff;
    cursor: pointer;
}

.cont-tast input[type="checkbox"] {
    display: none;
}

label.checked, .checked {
    background-color: #374097 !important;
    color: #fff;
}

.active {
    background-color: #7177ae;
    color: #fff;
}

@media  screen and (max-width: 1024px) {
    .cont-goals label {
        font-size: 0.9rem;
        padding-left: 1rem;
    }
    
}

.cont-note {
   display: flex;
    flex-direction: column;
    gap: 0.0rem;
}

.cont-note textarea {
    padding: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 2rem;
    resize: none;
}

.cont-note textarea::placeholder {
    color: #ccc;
}

.i_remix {
    font-size: 1.2rem;
    padding-left: 3px;
    font-weight: bold;
}

.scelta-dove {
    display: flex;
    align-items: center;
    justify-content: center;
}

.scelta-sede {
    display: flex;
    width: 70%;
    font-size: 1rem;
    align-content: end;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .scelta-sede { width: 100%; justify-content: start;  }
    
}

.imgform{
    width: 100%;
    margin: 0px 0px 0px 0px;
}

.imgformdefault {
    width: 150px;
}

.btn-next{
    padding: 0.75rem 1.5rem;
    display: block;
    text-align: center;
    text-decoration: none;
    background-color: #fff;
    color: #7177ae;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 250ms ease-in-out;
    border: solid;
    border-color: #7177ae!important;
}

.btn-pre{
    padding: 0.75rem 1.5rem;
    display: block;
    text-align: center;
    text-decoration: none;
    background-color: #fff;
    color: #7177ae;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 250ms ease-in-out;
    border: solid;
    border-color: #7177ae!important;
}

.selectSede {
    padding: 10px;
    border-radius: 10px;
    border-color: #7177ae;
    width: 300px;
}

.descrizioniSedi {
    margin-top:10px;
}

/* Opzioni della select */
.selectSede option:hover {
    background-color: rgb(205, 205, 205); /* Grigio scuro durante l'hover */
}

/* Opzione selezionata */
.selectSede option:checked {
    background-color: rgb(220, 220, 220); /* Grigio chiaro per l'opzione selezionata */
}

/* Select quando in stato di focus */
.selectSede:focus {
    background-color: rgb(231, 231, 231); /* Grigio chiaro per la select quando in stato di focus */
}

.selectObiettivi {
    padding: 10px;
    border-radius: 10px;
    border-color: #7177ae;
    width: 100%;
}

/* Opzioni della select */
.selectObiettivi option:hover {
    background-color: rgb(205, 205, 205); /* Grigio scuro durante l'hover */
}

/* Opzione selezionata */
.selectObiettivi option:checked {
    background-color: rgb(220, 220, 220); /* Grigio chiaro per l'opzione selezionata */
}

/* Select quando in stato di focus */
.selectObiettivi:focus {
    background-color: rgb(231, 231, 231); /* Grigio chiaro per la select quando in stato di focus */
}



button#btn-prima-visita {
    border: solid;
    margin: 0px 5px 10px 5px;
    font-size: 15px;
}


button#btn-visita-controllo {
    border: solid;
    margin: 0px 5px 10px 5px;
    font-size: 15px;
}

button#btn-visita-dicoppia {
    border: solid;
    margin: 0px 5px 10px 5px;
    font-size: 15px;
}

.sedePrimaVisita {
    text-align: justify;
    width: 33%;
    text-align: -webkit-center;
}
.sedeVisitaControllo {
    text-align: justify;
    width: 33%;
    text-align: -webkit-center;
}
.sedeVisitaCoppia {
    text-align: justify;
    width: 33%;
    text-align: -webkit-center;
}



.sedePrimaVisita > p {
    text-align: justify;
}

.sedeVisitaControllo > p {
    text-align: justify;
}

.sedeVisitaCoppia > p {
    text-align: justify;
}



.input-group > p {
    text-align: justify;
}


.accordion {
    border-radius: 20px;
  }
  
  .accordion-item {
    width: 600px;
  }
  
  .accordion-title {
    cursor: pointer;
    padding: 10px;
    background-color: #fff;
    color: var(--primary-color);
    font-size: 1.1rem;
    text-align: left;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    margin-bottom: 5px;
  }
  
  .accordion-icon {
    float: right;
    font-size: 1.3rem;
  }
  
  .accordion-content {
    display: none;
    padding: 25px;
    color: #2e2e2e;
    text-align: justify;
    font-size: 1.1rem;
    border-radius: 0px 0px 20px 20px;
  }
  
  .accordion-item.active .accordion-content {
    display: block;
    background-color: #ffffff;
    border: 1px solid var(--primary-color);

  }
  
  .elenchipuntati {
    font-size: 1.3rem;
    font-weight: 800;
    margin-left: 10px;
  }

  .checkclass {
    display: flex;
    justify-content: center;
    padding: 20px;
  }

  .accettazione {
    width: auto;
    margin-right: 10px;
  }

  .descrizioniObiettivi {
    text-align: justify;
    padding: 15px;
}