
/* 메인 팝업 css */
.main_popup_container {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  display: none; /* 숨기기 */
}
.main_popup_container.on {
  display: block;
}
.main_popup_wrap {
  /*width: 90%;*/
  /* min-width: 300px; */
  /* max-height: 600px; */
  overflow-y: scroll;
  background-color: #fff;
  padding: 10px;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
}

.main_popup_wrap .contents p{
  line-height:1.5 !important;
  margin:0;
}

.main_popup_wrap .contents span{
  line-height: 1.2 !important;
}

@media screen and (max-width: 540px) {

  .main_popup_wrap img{
    width:100%;
  }


  .main_popup_wrap .contents span{
    /*font-size:1.2rem !important;*/
  }
}

.main_popup_container .popup_title{
  font-size: 15px;
  font-weight: bold;
  padding: 10px;
  border-bottom: 1px solid #eaeaea;

}

.main_popup_btn{
  padding: 10px 0;  text-align: right;
}

.main_popup_container button.closebtn{
  margin-right: 5px;
  border: 0;
  background:#000;
  color:#fff;
}

.main_popup_container button.modal_close{
  text-align: right;
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 0px 3px;
}

.main_popup_container .contents{
  padding:2rem 1rem;
}
