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

body {
    background-color: #fff;
    color: #212529;
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    text-align: left
}



.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group > .form-control,
.input-group > .form-select {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group > .form-control:focus,
.input-group > .form-select:focus {
    z-index: 3;
}

.input-group > .input-group-text {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    white-space: nowrap;

    border-radius: 0.375rem;
}

.input-group-text svg {
    width: 1.5rem;  /* Puoi modificare la dimensione */
    height: 1.5rem;
    fill: currentColor; /* Usa il colore del testo */
}


.input-group > .btn {
    position: relative;
    z-index: 2;
}


.container-center {
    display: flex;
    justify-content: center; /* Centra orizzontalmente */
    align-items: center;     /* Centra verticalmente */
    min-height: calc(100vh - 5px);       /* Altezza minima pari all'intero schermo */
    padding: 15px;           /* Padding per evitare di toccare i bordi su dispositivi piccoli */
}

.login-sfondo-logo{
    display: block;
    position: relative;
    height: calc(100vh - 50px);
    width: 100%;
    min-height: 800px;
}

.login-sfondo-logo::after{
    content: "";

    opacity: .75;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /*height: 100vh;*/
    /*min-height: 800px;*/
    background-repeat: no-repeat;
    background-color: white;
    background-size: contain;
    z-index: -1;
}

.login-trecuori::after{
    background-image: url(/img/bg-4_new2.jpeg);
}


.login-bordo {
    -webkit-box-shadow: 0px 0px 22px -9px rgb(45, 165, 245);
    -moz-box-shadow: 0px 0px 22px -9px rgb(45, 165, 245);
    box-shadow: 0px 0px 22px -9px rgb(45, 165, 245);
    margin-top: 30px;
    margin-bottom: 50px;
}



.card {
    word-wrap: break-word;
    background-clip: border-box;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: .5rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
    padding: 10px;
    width: 32%; 
}



@media  (max-width: 1980px) {
    .card {
        width:40%;    
    }

}

@media  (max-width: 1200px) {
    .card {
        width:60%;    
    }

}

@media  (max-width: 800px) {
    .card {
        width:80%;    
    }

}

@media  (max-width: 650px) {
    .card {
        width:100%;    
    }

}



.card-title {
    margin-bottom: .75rem;
}



.card-body {
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
    width: 100%;
}

.buildData, .select2-container--default .select2-selection--single, .tagify,  input[type=number], input[type=email], input[type=password], input[type=search], input[type=tel], input[type=text], select, select2, textarea {
    background-color: #fff !important;
    border-color: #fff !important;
    border-radius: .5rem !important;
    box-shadow: 0 2px 7px 0 #ccc !important;
    outline-style: inherit !important;
}

.form-control {
    background-clip: padding-box;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    color: #495057;
    display: block;
    font-size: 1rem;
    font-weight: 400;
    height: calc(1.5em + .75rem + 2px);
    line-height: 1.5;
    padding: .375rem .75rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    width: 100%;
}

.btn {
    border-radius: 1.87rem !important;
    box-shadow: none !important;
    padding: .35rem 1.6rem;
    background-color: transparent;
    border: 1px solid transparent;
    color: #212529;
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    user-select: none;
    vertical-align: middle;
    cursor: pointer;
}

.btn-primary {
    background-color: #01b6ee;
    border-color: #01b6ee;
    color: #fff;
}

.form-group {
    margin-bottom: 1rem;
}


.text-left{
    text-align: left;
}
.text-center{
    text-align: center;
}
.text-right{
    text-align: right;
}

.flex-between{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.alert{
    border: 1px solid transparent;
    border-radius: .25rem;
    margin-bottom: 1rem;
    padding: .75rem 1.25rem;
    position: relative;
}
.alert-danger{
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}


.modal {
    display: none;              /* Nascondo il modale di default */
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);  /* Sfondo oscurato */
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  /* Contenuto del modale */
  .modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideDown 0.3s ease;
  }
  
  /* Effetto di apparizione */
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Pulsante di chiusura */
  .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
  }
  