.popup-NewsPopup,
[class^="popup-"] {
	display: none;
}

.popup-NewsPopup .modal2-background,
[class^="popup-"] .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;
}

.popup-NewsPopup .modal2,
[class^="popup-"] .modal2 {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	right: auto;
	bottom: auto;
	margin: 0;
	display: flex;
	flex-direction: column;
	width: min(480px, 92vw);
	max-width: 92vw;
	height: auto;
	min-height: 120px;
	max-height: 85vh;
	background-color: #fff;
	box-sizing: border-box;
	z-index: 9999;
	border-radius: 10px;
	overflow: hidden;
	-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);
}

.popup-NewsPopup .modal2-content-popup,
[class^="popup-"] .modal2-content-popup {
	flex: 1 1 auto;
	width: 100%;
	min-height: 60px;
	max-height: calc(85vh - 60px);
	height: auto;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 20px;
	box-sizing: border-box;
	color: #333;
	font-size: 16px;
	line-height: 1.5;
}

.popup-NewsPopup .modal2-content-popup h1,
.popup-NewsPopup .modal2-content-popup h2,
.popup-NewsPopup .modal2-content-popup h3,
.popup-NewsPopup .modal2-content-popup h4,
.popup-NewsPopup .modal2-content-popup p,
[class^="popup-"] .modal2-content-popup h1,
[class^="popup-"] .modal2-content-popup h2,
[class^="popup-"] .modal2-content-popup h3,
[class^="popup-"] .modal2-content-popup h4,
[class^="popup-"] .modal2-content-popup p {
	color: #333;
	margin: 0 0 12px;
}

.modal2 > p {
	padding: 15px;
	margin: 0;
}
.popup-NewsPopup .modal2-header,
[class^="popup-"] .modal2-header {
	background-color: #ECECEC;
	border-bottom: 1px solid #dddddd;
	box-sizing: border-box;
	height: 60px;
	min-height: 60px;
	flex: 0 0 60px;
	overflow: hidden;
	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;
}
