.modal-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #222;
  min-height: 100vh;
  min-width: 300px;
  background-color: rgb(227, 234, 234);
}

.modal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem;
  position: fixed;
  top: 20%;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 15px;
  z-index: 2;
}

.hidden {
  display: none;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(50px);
  z-index: 1;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  color: inherit;
  pointer-events: auto;
  background-clip: padding-box;
  outline: 0;
  padding: 5px;
}

.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: inherit;
  border-bottom: 1px solid rgb(135, 129, 129);
}

.modal-title {
  margin: 0;
  padding: 0;
  font-size: 22px;
  font-weight: bold;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: inherit
}

.modal-footer {
  margin-top: 10px;
  padding: inerit;
  background-color: inerit;
}

.btn-close-modal {
  cursor: pointer;
  border: none;
  font-weight: 600;
  font-family: inherit;
  font-size: 100%;
  /*padding: 10px 15px;*/
  border-radius: 50%;
  /*border: 1px solid #aaa;*/
  /* background-color: #fff o background-color: transparent 
  per correggere differenze tra broweser (select)/**/
  background-color: #fff;
}

.ics {
  font-size: 150%;
}

button.close-modal,
button.conferma-modal {
  width: 100%;
  margin-bottom: 5px;
}

@media (max-width: 575.98px) {
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .modal {
    flex-direction: row;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) { 
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
}


/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}