/*popup*/
.popup_layer{
	display: none;
	position:fixed;
	top:0;
	left:0;
	z-index: 10000; 
	width: 100%; 
	height: 100%; 
	background-color: rgba(0, 0, 0, 0.4);
}
/*팝업 박스*/
.popup_box{
	position: relative;
	top:50%;
	left:50%; 
	overflow: auto; 
	height: 601px; 
	width:400px;
	transform:translate(-50%, -50%);
	z-index:1002;
	box-sizing:border-box;
	background:#fff;
	box-shadow: 2px 5px 10px 0px rgba(0,0,0,0.35);
	-webkit-box-shadow: 2px 5px 10px 0px rgba(0,0,0,0.35);
	-moz-box-shadow: 2px 5px 10px 0px rgba(0,0,0,0.35);
  border-radius: 20px;
}
.popup_box .x-box {
	position: absolute;
  right: 20px;
  top: 20px;
  width: 30px;
	height: 30px;
  background-color: #053761;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup_box .x-box > a > img{
	width: 20px;
	height: 20px;
}

.popup_box1{
  position: relative;
	top:50%;
	left:50%; 
	overflow: auto;  
	width:400px;
	transform:translate(-50%, -50%);
	z-index:1002;
	box-sizing:border-box;
	background:#fff;
	box-shadow: 2px 5px 10px 0px rgba(0,0,0,0.35);
	-webkit-box-shadow: 2px 5px 10px 0px rgba(0,0,0,0.35);
	-moz-box-shadow: 2px 5px 10px 0px rgba(0,0,0,0.35);
  border-radius: 20px;
  min-height: 680px;
}
.popup_box1 .x-box {
	position: absolute;
  right: 20px;
  top: 20px;
  width: 30px;
	height: 30px;
  background-color: #053761;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup_box1 .x-box > a > img{
	width: 20px;
	height: 20px;
}


/*컨텐츠 영역*/
.popup_box1 .popup_cont {
    padding: 50px 0;
    line-height: 1.4rem;
    font-size: 14px;
    margin: 0 20px;
    min-height: 560px;
    height: 650px;
    max-height: 300px;
    overflow-y: scroll;
    -ms-overflow-style: none;
}
.popup_box1 .popup_cont::-webkit-scrollbar{
  display:none;
}
.popup_box1 .popup_cont > h5 {
	padding: 15px 0;
	color:#1D3273;
	margin-bottom: 15px;
	border-bottom: 1px solid #1D3273;
	font-size: 24px;
	font-family: 'Pretendard7';
  letter-spacing: 2px;
}

.popup_box1 .popup_cont > .txt-box{
  margin-bottom: 15px;
}
.popup_box1 .popup_cont > .txt-box > p{
  font-size: 18px;
	font-family: 'Pretendard5';
  word-break: keep-all;
  color: #000;
  margin-bottom: 2px;
}
.popup_box1 .popup_cont > .txt-box > span{
  font-size: 14px;
	font-family: 'Pretendard3';
  word-break: keep-all;
}

.popup_box1 > .popup_btn{
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}
.popup_box1 > .popup_btn > a{
  text-decoration: none;
  color: #fff;
  font-family: 'Pretendard5';
  padding: 7px 25px;
  display: block;
  border-radius: 25px;
  background-color: #053761;
}


.popup_box .popup_cont {
	padding:50px 0;
	line-height:1.4rem;
	font-size:14px;
	margin: 0 20px;
	height: 430px;
}
.popup_box .popup_cont > h5 {
	padding: 15px 0;
	color:#1D3273;
	margin-bottom: 15px;
	border-bottom: 1px solid #1D3273;
	font-size: 24px;
	font-family: 'Pretendard7';
  letter-spacing: 2px;
}
.popup_box .popup_cont > p{ 
	padding: 15px 0;
	display: flex;
  align-items: center;
	margin-left: 5px;
  font-size: 16px;
  font-family: 'Pretendard5';
}
.popup_box .popup_cont > p::before{
	content:"";
  background-image: url(../img/search.png);
  background-size:20px 20px;
  width:20px;
  height:20px;
  display:inline-block;
  margin-right: 5px;
}

/*버튼영역*/
.popup_box .popup_btn {
	display: block;
	width:100%;
	height:70px;
	word-break: break-word;
	margin-top: 1px;
}
.popup_box .popup_btn a {
	display: block;
	height:70px;  
	font-size: 20px;
	font-family: 'Pretendard7';
	line-height: 70px;
	text-align: center;
	text-decoration: none; 
	background:rgb(16, 138, 173);;
  border-radius: 0 30px 0 0;
  letter-spacing: 2px;
  transition: all 0.3s;
  color: #fff;
}
.popup_box .popup_btn a:hover{
  background-color: rgb(10, 116, 145);;
  color: #fff;
}

.popup_box .popup_btn a.close_day {
	background:#5d5d5d;
}
.popup_box .popup_btn a.close_day:before, .popup_box .popup_btn a.close_day:after{
	display:none;
}
/*오버레이 뒷배경*/
.popup_overlay{
	position:fixed;
	top:0px;
	right:0;
	left:0;
	bottom:0;
	z-index:1001;
	background:rgba(0,0,0,0.5);
}


@media (max-width: 450px){
  .popup_box1{
	  width:350px;
	  min-height: 550px;
   }
}

@media (max-width: 1150px){
  .popup_box{
  	position: relative;
  	top:50%;
  	left:50%; 
  	overflow: auto; 
  	height: 514px;
  	width: 340px;
  	transform:translate(-50%, -50%);
  	z-index:1002;
  	box-sizing:border-box;
  	background:#fff;
  	box-shadow: 2px 5px 10px 0px rgba(0,0,0,0.35);
  	-webkit-box-shadow: 2px 5px 10px 0px rgba(0,0,0,0.35);
  	-moz-box-shadow: 2px 5px 10px 0px rgba(0,0,0,0.35);
    border-radius: 20px;
  }
  .popup_box .popup_cont {
  	padding: 29px 0;
  	line-height:1.4rem;
  	font-size:14px;
  	margin: 0 20px;
  	height: 385.5px;
  }

}

.popup_cont > .popup_btn {
    position: relative;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
}
.popup_cont > .popup_btn > a {
    text-decoration: none;
    color: #fff;
    font-family: 'Pretendard5';
    padding: 5px 25px;
    width: 50px;
    display: flex;
    border-radius: 25px;
    background-color: #053761;
    justify-content: center;
}
