
.screencover {
	display: flex;
	justify-content: center;
	align-items: center;
}

.modalcontainer {
	background-color: rgba(255,255,255,1);
	border-radius: 10px;
	position: fixed;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
	border: none;
	max-width: 800px;
	min-width: 400px;
	overflow-y: auto;
	max-height: 98%;
}

.modalerrordiv {
	margin-top: 5px;
	margin-bottom: 5px;
}

.modallinkdiv {
	margin-top: 5px;
	margin-bottom: 5px;
}

.modalerrorspan {
	color: red;
	font-size: 0.9rem;
}

.modalcontents {
	padding: 1.5rem 2rem;
	font-size: 1rem;
}
.modalcontents textarea,input {
	width: 500px;
}

.modalbody {
	display: block;
	position: relative;
}

.modalfooter {
	display: block;
	position: relative;
}

.modaltitle {
	font-weight: 700;
	color: #333;
	margin-bottom: 16px;
	font-size: 1.5rem;
	position: relative;
	width: calc(100% - 28px);
}

.modalclose {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-size: 1.25rem;
	line-height: 1;
	color: #000;
	opacity: 0.6;
	width: 24px;
	height: 24px;
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	right: 14px;
	top: 14px;
}
.modalclose::before,
.modalclose::after {
	content: '';
	position: absolute;
	width: 16px;
	height: 2px;
	background-color: currentColor;
}
.modalclose::before {
	transform: rotate(45deg);
}
.modalclose::after {
	transform: rotate(-45deg);
}
.modalclose:hover,
.modalclose:focus {
	opacity: 1;
	outline: none;
}
.modalclose {
	transition: opacity 0.2s ease-in-out;
}
.modalclose:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.modallabel {
	display: block;
	margin-bottom: 0.5rem;
}

.modalinput {
	border-radius: 5px;
	border: 1px solid #ced4da;
	padding: 0.74rem;
	margin-left: 15px;
}

.modalbutton {
	border-radius: 5px;
	padding: 0.75rem 1.5rem;
	font-size: 1.5rem;
	position: relative;
	display: inline-block;
}

.modalprimary {
	background-color: #4a90e2;
	color: white;
	font-weight: 500;
	float: right;
}

@media screen and (max-width: 1000px) {
	.modalcontainer {
		max-width: 500px;
		overflow-y: auto;
		height: 100%;
	}
	.modalcontents textarea,input {
		width: calc(100% - 20px);
	}
	.screencover {
		align-items: unset;
	}
}

