
.modal-overlay {
  display: flex;
  min-width: 320px;
  justify-content: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
  background: rgba(0,0,0,.5);
  z-index: 901;
    overflow: auto;
}
.modal-window
{
  position: relative;
  padding: 20px;
  margin: 0;
  z-index: 903;
  background-color: #FFF;
  border-radius: 10px;
  overflow: visible;
  width: 100%;
  min-width: 320px;
  max-width: 650px;
}
.close-window {
  display: block;
  position: relative;
  float: right;
  width: 51px;
  height: 16px;
  margin: 3px 3px 0 0;
  background: transparent url('../images/catalog/close-button.png') no-repeat scroll right top;
  text-indent: -99999px;
  overflow: hidden;
  cursor: pointer;
  opacity: .5;
  filter: alpha(opacity=50);
  -moz-opacity: 0.5;
    z-index: 950;
}
.close-window:hover {
  opacity: .99;
  filter: alpha(opacity=99);
  -moz-opacity: 0.99;
}
.modal-window p {
    font-size: .9em;
  line-height: 1.7em;
}
.alignment-container {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 902;
}


/* test */

#myModal {
  display: block;
  top: 10px;
  height: max-content;
  overflow-y: auto;
  scrollbar-width: none;
  min-width: 300px;
  box-sizing: border-box;
  z-index: 902;
}

#modalContent {
    position: relative;
 z-index: 903;    
}


