.modal-content iframe {
  width: 500px !important;
  max-width: 100% !important;
}

.modal-overlay {
  z-index: 10000;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*for old Safari*/
  height: 100vh;
  background-color: rgba(0, 0, 0, .5)
}

.modal-overlay (:target) {
  height: 100%\9
}

/* IE9,10 */

.modal-open:hover {
  cursor: pointer
}

.modal-content {
  overflow-y: scroll;
  max-height: 90%;
  -webkit-overflow-scrolling: touch;
  position: fixed !important;
  display: none;
  z-index: 99999;
  margin: 0;
    padding: 4% 2%;
  background: #fff
}

.modal-content img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/*.modal-content div{
    font-size: 96%;
    width: 96%;
    margin: 4% auto 0;
}*/

.modal-content .modal-close {
  width: 26px;
  text-align: left;
  display: block;
  margin: 0 0 12px 0;
}

.modal-content .modal-close img {
  width: 26px;
}

.modal-content iframe {
  display: block !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  -webkit-box-sizing: border-box !important;
  box-sizing: border-box !important;
}

.modal-content .cap_text {
  width: 100%;
  word-break: break-all;
  font-size: 0.92rem;
}

/*.modal-content h1 {font-size:120%; margin-bottom:0.5em}
.modal-content p {max-width:565px; text-align:left}
a.modal-close {
	position:absolute;
	top:0;
	right:10px;
	color:#b29c33;
	font-size:35px;
	line-height:1;
	font-weight:bold;
	text-decoration:none}
a.modal-close:hover {
	cursor:pointer;
	opacity:.6}*/

@media screen and (max-width: 728px) {
  /*	.modal-content {padding:10px}
	.modal-content h1 {font-size:100%; margin-bottom:3px}
	.modal-content p {font-size:75%;width:70%; margin:auto;}*/
  a.modal-close:hover {
    opacity: 1
  }
  .modal-content .modal-close {
    margin: 0 0 10px 20px;
  }
}

@media screen and (max-width: 768px) {
  .modal-content {
    width: 100% !important;
    left: -2% !important;
  }
}

.modal-content iframe {
  width: 500px !important;
  max-width: 100% !important;
}
