@charset "UTF-8";

.pap-modal {
	z-index: 100;
	display: none;
	overflow: auto;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.4)
}

.pap-modal-backdrop {
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
}

.pap-modal.open {
	display: block;
}

.pap-modal-content {
	background-color: #fff;
	position: relative;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-style: solid;
	border-width: 1px;
	border-top-left-radius: 0.25rem;
	border-top-right-radius: 0.25rem;
	border-bottom-right-radius: 0.25rem;
	border-bottom-left-radius: 0.25rem;
	display: flex;
    flex-direction: column;
    max-width: 95vw;
    max-height: 95vh;
    overflow: hidden;
}

.pap-modal-content > header {
	height: 1.5rem;
	background-color: lightgray;
}

.pap-modal-content > header div.header-close {
	height: 100%;
	padding: 0.25rem 0.3rem;
	float: right;
	cursor: pointer;
}

.pap-modal-content > div:first-of-type {
	padding: 1rem;
	flex-grow: 1;
	overflow: auto;
}

.pap-modal-content > iframe {
	width: 100%;
	height: 100%;
}

.pap-modal-content > footer {
	display: flex;
	justify-content: flex-end;
	padding: 0.4rem 1rem 0.45rem 1rem;
	border-top-width: 1px;
    border-top-style: solid;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

.pap-modal-content > footer input[type='button'] {
	height: fit-content;
    width: fit-content;
	padding: 0.3rem 0.75rem;
    min-width: unset;
    font-size: 1rem;
    cursor: pointer;
    border-style: outset;
    border-width: 2px;
    margin-right: 1.5rem;
}

.pap-modal-content > footer input[type='button']:last-child {
	margin-right: 0;
}

@media ( max-width :600px) {
	.pap-modal-content {
		margin: 0 10px;
		width: auto !important
	}
	.pap-modal {
		padding-top: 30px
	}
	@media ( max-width :768px) {
		.pap-modal-content {
			width: 500px
		}
		.pap-modal {
			padding-top: 50px
		}
	}
	@media ( min-width :993px) {
		.pap-modal-content {
			width: 900px
		}
	}
}