.modal {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: .6s;
	transition: .6s;
	content-visibility: hidden;
}

	.modal.is-show {
		opacity: 1;
		visibility: visible;
		content-visibility: auto;
	}

	.modal a {
		text-decoration: underline;
		color: white;
	}

	.modal a:hover {
		text-decoration: none;
		color: darkorange;
	}

.modal_inner {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 80%;
  max-height: 80%;
  padding: 25px;
  z-index: 2;
  background-color: rgba(44, 40, 40, 0.7);
  border-radius: 7px;
  display: flex;
  flex-direction: column;
}

.modal.detail > .modal_inner {
	max-width: 500px!important;
}

.modal_inner img {
  max-width: 90%;
  height: 100%;
  display: block;
  margin: 0 auto 0 auto;
  border-radius: 7px;
}

.modal_inner iframe.typePdf {
  /*max-width: 90%;
  height: 800px;
  display: block;
  margin: 0 auto 0 auto;*/
  width: 90%;
}

.modal_inner .title {
	padding: 0.5rem 0 0.5rem 0;
	font-size: 24px;
	color: white;
}

.modal_inner .texts {
	line-height: 1.5;
	font-size: 16px;
	color: white;
	margin: 0.5rem 0 0.5rem 0;
	/*overflow-y: auto;*/
	/*max-height: 75px;*/
	min-height: 0;
}

.modal_close {
  position: absolute;
  right: -10px;
  top: -10px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
}

.modal_close-w {
  position: absolute;
  right: -10px;
  top: -10px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
}

.modal_close i {
  font-size: 20px;
  color: #333;
}

.modal_close-w i {
  font-size: 20px;
  color: white;
}

.modal_background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 1;
  cursor: pointer;
}

.modal iframe {
	aspect-ratio: 16 / 9;
	margin-left: 50%;
	margin-right: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%);
	height: calc(100% - 50px);
}