.ant-richiesta-informazioni-prodotti-modal-wrapper, .ant-modal-wrapper{
  position: fixed;
  width: 0;
  height: 0;
  bottom: 0;
  right: 0;
  z-index: 1000000;
  transition: 0.3s;
}
.ant-richiesta-informazioni-prodotti-modal-wrapper.visible, .ant-modal-wrapper.visible{
  width: 100%;
  height: 100%;
}

.ant-richiesta-informazioni-prodotti-modal-wrapper .ant-modal-obfuscation, .ant-modal-wrapper .ant-modal-obfuscation{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
}

.ant-richiesta-informazioni-prodotti-modal-wrapper .ant-modal-content, .ant-modal-wrapper .ant-modal-content{
  position: absolute;
  background-color: white;
  width: 50%;
  margin-left: 25%;
  margin-top: 200px;
  align-content: center;
  overflow: hidden;
}
.ant-richiesta-informazioni-prodotti-modal-wrapper .ant-modal-content{
  height: fit-content;
  max-height: 600px;
}
.ant-modal-wrapper .ant-modal-content{
  padding: 28px;
  border-radius: 5px;
  border: 1px none #000000;
  box-shadow: 0px 10px 25px 4px rgba( 2, 2, 2, 0.50 );
  background-color: rgba( 255, 255, 255, 1.00 );
}
.ant-modal-wrapper .ant-modal-content .modal-inner-content{
  max-width: 100%;
  margin: 10px auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.modal-header .modal-title{
  font-size: 20px;
  color: #fff;
  background-color: #2E6E86;
  text-align: center;
  padding: 8px;
}
.modal-inner-content .modal-body{
  padding: 20px;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}
.modal-inner-content p{
  margin: 10px 0;
}
.modal-inner-content .modal-button{
  padding: 11px;
  color: #2E6E86;
  background: #fff;
  border: 2px solid #2E6E86;
  border-radius: 8px;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
}
.close-modal{
  /*position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  cursor: pointer;*/
  position: absolute;
  height: 28px;
  width: 28px;
  left: auto;
  right: 8px;
  bottom: auto;
  top: 8px;
  padding: 4px;
  color: #ffffff;
  font-family: "Roboto";
  font-weight: 300;
  font-size: 20px;
  line-height: 18px;
  border: 1px none #ffffff;
  border-radius: 42px;
  box-shadow: 0px 0px 0px 0px rgba(2, 2, 2, 0.23);
  text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.23);
  background-color: rgba(49, 91, 124, 1.00);
  text-align: center;
  cursor: pointer;
}
/*.close-modal::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: url(/wp-content/themes/edisoftware-child/img/close-icon.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
}*/

/* parte da 480 in giù */
@media only screen and (max-width: 480px) {
  .ant-richiesta-informazioni-prodotti-modal-wrapper .ant-modal-content, .ant-modal-wrapper .ant-modal-content{
    margin-top: 90px;
    height: 80%;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    overflow-y: auto;
  }
}

@media screen and (min-width: 481px) and (max-width: 767px){
  .ant-richiesta-informazioni-prodotti-modal-wrapper .ant-modal-content, .ant-modal-wrapper .ant-modal-content{
    margin-top: 100px !important;
  }
}

@media screen and (min-width: 481px) and (max-width: 1440px) {
  .ant-richiesta-informazioni-prodotti-modal-wrapper .ant-modal-content, .ant-modal-wrapper .ant-modal-content {
    position: absolute;
    background-color: white;
    width: 90%;
    height: 60%;
    margin-left: 5%;
    margin-top: 200px;
    align-content: center;
    overflow: hidden;
  }
}
