@charset "UTF-8";

.my-modal-section {
	display: block;
}

.my-modal-section .my-hidden {
	display: none !important;
}

.my-modal-section .my-modal {
	display: flex;
	flex-direction: column;
	padding: .2rem 1rem;
	z-index: 2010;
	background-color: var(--my-bg-color);
	border: 1px solid var(--my-border-color);
	border-radius: 15px;
	position: fixed;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	max-height: 90%;
}

.my-modal-section .my-modal-normal {
	/*margin: 0px 20%;*/
	
}

.my-modal-section .my-modal-full {
	height: 100%;
	width: unset !important;
	border: 0;
	border-radius: 0;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 0 1rem 0;
	padding: 0rem 0.5rem;
	-webkit-transform: none;
	transform: none;
}

@media ( max-width : 400px) {
	.my-modal-section .my-modal {
		height: 100%;
		width: unset !important;
		border: 0;
		border-radius: 0;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		margin: 0 0 1rem 0;
		padding: 0rem 0.5rem;
		-webkit-transform: none;
		transform: none;
		max-height: none;
	}
}



.my-modal-section .hidden {
	display: none;
}

/* -- Header -- */
.my-modal-section .my-modal-header {
	margin: 0.5rem 0rem 0rem 0rem;
	border-bottom: 1px solid var(--my-border-color);
}

.my-modal-section .my-modal-header-row {
	display: flex;
	align-items: center;
	flex-flow: row wrap;
	gap: 20px;
	justify-content: space-between;
	margin: 0rem 0rem .5rem 0rem;
}

.my-modal-section .my-modal-header-label-container {
	font-size: 1.3rem;
	font-weight: bold;
}

.my-modal-section .my-modal-header-btn-container {
	display: flex;
	gap: 1rem;
}

/* -- Body -- */
.my-modal-section .my-modal-body {
	margin: 0.75rem 0rem 0rem 0rem;
	/*
	max-height: 100vh;
	flex: 1;
	display: contents;
	*/
	position: relative;
	flex: 1 1 0%;
	display: flex;
    flex-flow: column nowrap;
}

.my-modal-section .my-modal-body-scrollable {
	overflow-y: auto;
	display: inline-flex;
	flex-flow: row wrap;
}

/* -- Footer -- */
.my-modal-section .my-modal-footer {
	padding: 0.75rem 0rem 1rem 0rem;
}

.my-modal-section .my-modal-footer-row {
	display: flex;
	align-items: center;
	flex-flow: row wrap;
	gap: 20px;
	/*justify-content: space-evenly;*/
	justify-content: space-between;
}

