.modal2-background {
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	position: fixed;
	top: 0;
	left: 0;
	display: block;
	z-index: 9998;
}
.modal2 {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	display: block;	
	max-width: 25vw;
	height: 260px;
	background-color: #fff;
	box-sizing: border-box;
	z-index: 9999; 
	border-radius: 10px;
	-webkit-box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.3); 
	box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.3);
}

@media(max-width:768px){
	.modal2{
		max-width: 60vw;
	}
	.modal2-content-popup{
		width: 100%;
		height: 53vh !important;
	}
}

.modal2-content-popup{
	height: 400px;
	width: 100%;
	overflow-y: auto;
	overflow-x: hidden;
}

.modal2 > p {
	padding: 15px;
	margin: 0;
}
.modal2-header {
	background-color: #ECECEC;
	border-bottom: 1px solid #dddddd;
	box-sizing: border-box;
	height: 60px;
	border-radius: 10px 10px 0 0;
}
.modal2-header h3 {
	margin: 0;
	box-sizing: border-box;
	padding-left: 15px;
	line-height: 50px;
	color: #4d4d4d;
	font-size: 16px;
	line-height: 1.5;
	display: inline-flex;
	align-items: center;
	height:100%;
}

@media(max-width:768px){
	.modal2-header h3{
		font-size:0.9rem;
	}
}

.modal2-close{
	box-sizing: border-box;
	border-left: 1px solid #dddddd;
	float: right;
	line-height: 50px;
	padding: 0 15px 0 15px;
	cursor: pointer;
	height: 60px;
}

.modal2-close img{
	margin-top:21px;
	display: block;
}
.modal2-close  label:hover img {
	opacity: 0.6;
}

/* below is optional, it is just an example for the blue button */
.example-label {
	box-sizing: border-box;
	display: inline-block;
	padding: 10px;
	background-color: #375d91;
	color: #f9f9f9;
	font-size: 12px;
	font-weight: bold;
	cursor: pointer;
}
.example-label:hover {
	background-color: #3c669f;
}

.modal2-content-popup{
	padding: 20px;
	box-sizing: border-box;
}