.pure-modal iframe {
	border:0;
	width: 100%; 
    height: 75vh;
    max-height: 900px;
}

.pure-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    overflow: hidden;
    outline: 0;
}

.pure-modal-dialog {
	max-width: 960px;
    margin: 64px auto;
	margin: 0 auto;
    position: relative;
    width: auto;
    pointer-events: none;
	height:100%;
	
	display: flex;
    align-items: center;
}

.pure-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    /* background-color: #fff; */
    background-clip: padding-box;
    /* border: 1px solid rgba(0,0,0,.1); */
    /* border-radius: 4px; */
    outline: 0;
}

.pure-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
	position:absolute;
	top:0; right:0;
	z-index:999;
}

.pure-modal-body {
    position: relative;
    flex: 1 1 auto;
    /* padding: 16px; */
}

.pure-modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 16px;
}

.pure-modal-title {
    margin: 0;
    line-height: 1.5;
}

.pure-modal-close {
    margin: 0;
    padding: 0;
    border: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
    background: none;
    font-size: 0;
}

.pure-modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

.pure-modal-backdrop.in {
    opacity: 0;
    transition: opacity 350ms ease-in-out;
}

.pure-modal-backdrop.out {
    opacity: 0;
    transition: opacity 350ms ease-in-out;
}

.pure-modal-backdrop.is-open {
    opacity: .5;
}

.pure-modal.in .pure-modal-dialog {
    animation: scaleUp 350ms ease-in-out;
}

.pure-modal.out .pure-modal-dialog {
    animation: scaleDown 350ms ease-in-out;
}

@keyframes scaleUp {
    0% {
      transform: scale(1.2);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
}

@keyframes scaleDown {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    100% {
      transform: scale(1.2);
      opacity: 0;
    }
}

@media only screen and (max-width: 600px) {
	 .pure-modal iframe {
		height: 92vh;
		max-height: 600px;
	 }
	.pure-modal-header {
		position:relative;
    display: flex;
    align-items: flex-end;
    flex-direction: row;
    justify-content: flex-end;
		padding:10px;
	}
}
