/* General Modal.
-------------------------------------------------------------- */

.psupsellmaster-modal {
	display: none;
	height: 100%;
	left: 0;
	outline: 0;
	overflow-x: hidden;
	overflow-y: auto;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 999999;
}

.psupsellmaster-modal-open {
	overflow: hidden;
}

.psupsellmaster-modal-dialog {
	margin: 0.5rem;
	pointer-events: none;
	position: relative;
	width: auto;
}

.psupsellmaster-modal.psupsellmaster-fade .psupsellmaster-modal-dialog {
	transform: translate( 0, -50px );
	transition: transform 0.3s ease-out;
}

.psupsellmaster-modal.psupsellmaster-show .psupsellmaster-modal-dialog {
	transform: none;
}

.psupsellmaster-modal.psupsellmaster-modal-static .psupsellmaster-modal-dialog {
	transform: scale( 1.02 );
}

.psupsellmaster-modal-dialog-scrollable {
	height: calc( 100% - 1rem );
}

.psupsellmaster-modal-dialog-scrollable .psupsellmaster-modal-content {
	max-height: 100%;
	overflow: hidden;
}

.psupsellmaster-modal-dialog-scrollable .psupsellmaster-modal-body {
	overflow-y: auto;
}

.psupsellmaster-modal-dialog-centered {
	align-items: center;
	display: flex;
	min-height: calc( 100% - 1rem );
}

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

.psupsellmaster-modal-backdrop {
	background-color: #000;
	height: 100vh;
	left: 0;
	position: fixed;
	top: 0;
	width: 100vw;
	z-index: 999995;
}

.psupsellmaster-modal-backdrop.psupsellmaster-fade {
	opacity: 0;
}

.psupsellmaster-modal-backdrop.psupsellmaster-show {
	opacity: 0.5;
}

.psupsellmaster-modal-header {
	align-items: center;
	border-bottom: 1px solid #dee2e6;
	border-top-left-radius: calc( 0.3rem - 1px );
	border-top-right-radius: calc( 0.3rem - 1px );
	display: flex;
	flex-shrink: 0;
	justify-content: space-between;
	padding: 1rem 1rem;
}

.psupsellmaster-modal-header .psupsellmaster-modal-btn-close {
	margin: -0.5rem -0.5rem -0.5rem auto;
	padding: 0.5rem 0.5rem;
}

.psupsellmaster-modal-header .psupsellmaster-modal-title {
	line-height: 1.5;
	margin-bottom: 0;
}

.psupsellmaster-modal-body {
	flex: 1 1 auto;
	padding: 1rem;
	position: relative;
}

.psupsellmaster-modal-footer {
	align-items: center;
	border-bottom-left-radius: calc( 0.3rem - 1px );
	border-bottom-right-radius: calc( 0.3rem - 1px );
	border-top: 1px solid #dee2e6;
	display: flex;
	flex-shrink: 0;
	flex-wrap: wrap;
	justify-content: flex-end;
	padding: 0.75rem;
}

@media (min-width: 576px) {
	.psupsellmaster-modal-dialog {
		margin: 1.75rem auto;
		max-width: 500px;
	}

	.psupsellmaster-modal-dialog-scrollable {
		height: calc( 100% - 3.5rem );
	}

	.psupsellmaster-modal-dialog-centered {
		min-height: calc( 100% - 3.5rem );
	}

	.psupsellmaster-modal-sm {
		max-width: 300px;
	}
}

@media (min-width: 992px) {
	.psupsellmaster-modal-lg,
	.psupsellmaster-modal-xl {
		max-width: 800px;
	}
}

@media (min-width: 1200px) {
	.psupsellmaster-modal-xl {
		max-width: 1140px;
	}
}

.psupsellmaster-modal-fullscreen {
	height: 100%;
	margin: 0;
	max-width: none;
	width: 100vw;
}

.psupsellmaster-modal-fullscreen .psupsellmaster-modal-content {
	border: 0;
	border-radius: 0;
	height: 100%;
}

.psupsellmaster-modal-fullscreen .psupsellmaster-modal-header {
	border-radius: 0;
}

.psupsellmaster-modal-fullscreen .psupsellmaster-modal-body {
	overflow-y: auto;
}

.psupsellmaster-modal-fullscreen .psupsellmaster-modal-footer {
	border-radius: 0;
}

@media (max-width: 575.98px) {
	.psupsellmaster-modal-fullscreen-sm-down {
		height: 100%;
		margin: 0;
		max-width: none;
		width: 100vw;
	}

	.psupsellmaster-modal-fullscreen-sm-down .psupsellmaster-modal-content {
		border: 0;
		border-radius: 0;
		height: 100%;
	}

	.psupsellmaster-modal-fullscreen-sm-down .psupsellmaster-modal-header {
		border-radius: 0;
	}

	.psupsellmaster-modal-fullscreen-sm-down .psupsellmaster-modal-body {
		overflow-y: auto;
	}

	.psupsellmaster-modal-fullscreen-sm-down .psupsellmaster-modal-footer {
		border-radius: 0;
	}
}

@media (max-width: 767.98px) {
	.psupsellmaster-modal-fullscreen-md-down {
		height: 100%;
		margin: 0;
		max-width: none;
		width: 100vw;
	}

	.psupsellmaster-modal-fullscreen-md-down .psupsellmaster-modal-content {
		border: 0;
		border-radius: 0;
		height: 100%;
	}

	.psupsellmaster-modal-fullscreen-md-down .psupsellmaster-modal-header {
		border-radius: 0;
	}

	.psupsellmaster-modal-fullscreen-md-down .psupsellmaster-modal-body {
		overflow-y: auto;
	}

	.psupsellmaster-modal-fullscreen-md-down .psupsellmaster-modal-footer {
		border-radius: 0;
	}
}

@media (max-width: 991.98px) {
	.psupsellmaster-modal-fullscreen-lg-down {
		height: 100%;
		margin: 0;
		max-width: none;
		width: 100vw;
	}

	.psupsellmaster-modal-fullscreen-lg-down .psupsellmaster-modal-content {
		border: 0;
		border-radius: 0;
		height: 100%;
	}

	.psupsellmaster-modal-fullscreen-lg-down .psupsellmaster-modal-header {
		border-radius: 0;
	}

	.psupsellmaster-modal-fullscreen-lg-down .psupsellmaster-modal-body {
		overflow-y: auto;
	}

	.psupsellmaster-modal-fullscreen-lg-down .psupsellmaster-modal-footer {
		border-radius: 0;
	}
}

@media (max-width: 1199.98px) {
	.psupsellmaster-modal-fullscreen-xl-down {
		height: 100%;
		margin: 0;
		max-width: none;
		width: 100vw;
	}

	.psupsellmaster-modal-fullscreen-xl-down .psupsellmaster-modal-content {
		border: 0;
		border-radius: 0;
		height: 100%;
	}

	.psupsellmaster-modal-fullscreen-xl-down .psupsellmaster-modal-header {
		border-radius: 0;
	}

	.psupsellmaster-modal-fullscreen-xl-down .psupsellmaster-modal-body {
		overflow-y: auto;
	}

	.psupsellmaster-modal-fullscreen-xl-down .psupsellmaster-modal-footer {
		border-radius: 0;
	}
}

@media (max-width: 1399.98px) {
	.psupsellmaster-modal-fullscreen-xxl-down {
		height: 100%;
		margin: 0;
		max-width: none;
		width: 100vw;
	}

	.psupsellmaster-modal-fullscreen-xxl-down .psupsellmaster-modal-content {
		border: 0;
		border-radius: 0;
		height: 100%;
	}

	.psupsellmaster-modal-fullscreen-xxl-down .psupsellmaster-modal-header {
		border-radius: 0;
	}

	.psupsellmaster-modal-fullscreen-xxl-down .psupsellmaster-modal-body {
		overflow-y: auto;
	}

	.psupsellmaster-modal-fullscreen-xxl-down .psupsellmaster-modal-footer {
		border-radius: 0;
	}
}
