@charset "utf-8";

#overlay1 {
  opacity: 1/* 0.9; */
  background: #FFFFFF;
  width: 100%;
  height: 100%;
  display: none;
  left: 0;
  top: 0;
  position: fixed;
  z-index: 100;
}
#overlay2 {
  opacity: 1/* 0.9; */
  background: #FFFFFF;
  width: 100%;
  height: 100%;
  display: none;
  left: 0;
  top: 0;
  position: fixed;
  z-index: 100;
}
#modal1 {
  width: 380px;
  margin-left: -190px; /* 50% от width */
  background: #FFF;
  box-shadow: 0 3px 7px #000;
  border-radius: 15px;
  border: 1px solid #000;
  left: 50%;
  top: 10%;
  position: fixed;
  z-index: 101;
}
#modal2 {
  width: 380px;
  margin-left: -190px; /* 50% от width */
  background: #FFF;
  box-shadow: 0 3px 7px #000;
  border-radius: 15px;
  border: 1px solid #000;
  left: 50%;
  top: 10%;
  position: fixed;
  z-index: 101;
}

.modal-body {
  position: relative;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
  min-height: 200px;
  height: 250px;
}
.close {
  position: absolute;
  right: 35px;
  top: 10px;
  cursor: pointer;
}
.closeImg {
  position: absolute;
  right: 15px;
  top: 25px;
  cursor: pointer;
}


.parent {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: auto;
}

.block {
    width: 250px;
    height: 250px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}