

/* backup */

/*** LOGIN ***/
/************* GENERAL STYLES ***/
html, body {
	height: 100%;
}

html {
	font-size: 125%;
}

@media (max-width: 80rem) {

	html {
		font-size: 100%;
	}

}

body { 
	margin: 0;
	background: #fff;
	font-family: 'Roboto', sans-serif;
	font-size: 1em;
	font-weight: 400;
	line-height: 1.5;
	color: #222; }

* {
	box-sizing: border-box;
}

a:link, a:visited { 
	color: #3489b9;
	text-decoration: none; }
	
a:hover { 
	text-decoration: underline;
	cursor: pointer; }

.promptBox {
	align-items: center;
	text-align: center;
	margin-left: 50px;
	margin-right: 50px;
	margin-top: 20px;
	padding: 1px;
	border-radius: 3px; }

#error { background: #ffe8e8; }

#userCreated { background: #c7ffd4; }

/* Register General CSS */

.admin-table {
	position: absolute;
    width: 75%;
    top: 95%;
    margin-left: 12.5%;
	padding-bottom: 50px;
}

table {
	font-family: arial, sans-serif;
	border-collapse: collapse;
	width: 100%;
	overflow: hidden;
	border-radius:5px; }
  
th {
	background-color: #2d2d2d;
	color: white;
	/* border: 1px solid #000000; */
	text-align: left;
	padding: 10px; }

td {
	border: 1px solid #d3d3d3;
    text-align: left;
    padding: 8px;
    color: #808080; }

tr:nth-child(even) { background-color: #f3f3f3; }

tr {
	background-color: #dddddd;
	border-bottom: 1px solid #dddddd;
}

#close {
	float: right;
    margin: 5px;
	border:none;
	background:transparent;
	cursor:pointer;
}

/* Edit buttons */
.update-btn {
	width: 100%;
	float: left;
	padding: 7px 0;
	background: #2d4267;
	border: none;
	border-radius: 3px;
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: 0.5s ease all;
	margin-bottom:10px; }

.cancel-btn {
	width: 100%;
	float: left;
	padding: 7px 0;
	background: #d26060;
	border: none;
	border-radius: 3px;
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: 0.5s ease all;
}


/* Login Page */
#login-page {
	display: grid;
	grid-template-columns: 1fr minmax(400px, 40%);
	min-height: 100%;
}

#login-page h1 {
	margin-bottom: 1rem;
	font-size: 1.5rem;
	color: #fff;
}

#login-page h2 {
	font-size: 1.5rem;
}

#login-page .subhead {
	margin-top: 0;
	margin-bottom: 2rem;
	font-size: 1.2rem;
	font-weight: bold;
	color: #fff;
}

.btn {
	display: inline-block;
	padding: .75rem 1.5rem;
	margin-top: .5rem;
	background-color: #000;
	color: #fff !important;
	font-weight: bold;
}

.btn:hover {
	opacity: .8;
	text-decoration: none;
}

#login-page .intro {
	padding: 3rem;
	background-color: #4392f9;
	color: #000;
}

	#login-page .intro > div {
		max-width: 80ch;
		height: 100%;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 3rem;
		margin: 0 auto;
	}

	#login-page .intro .logo {
		width: 10rem;
	}

	#login-page .intro .content {
		display: flex;
		flex-grow: 1;
		align-items: center;
	}

#login-page .signin {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem;
}

	#login-page .signin > div {
		max-width: 50ch;
		flex-grow: 1;
	}


@media (max-width: 64rem) {

	#login-page {
		grid-template-columns: 1fr;
	}

}


/* Forms */
form label {
	display: block;
}

form label + label {
	margin-top: 1rem;
}

form input[type="text"],
form input[type="password"],
form input[type="tel"],
form input[type="email"] {
	width: 100%;
	display: block;
	padding: .35rem .5rem;
	margin-top: .25rem;
	background-color: #f0f0f0;
	border: 1px solid #777;
	font: inherit;
}
	
form input.submit {
	width: 100%;
	float: left;
	padding: 7px 0;
	background: #2d4267;
	border: none;
	border-radius: 3px;
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

form [type="submit"] {
	width: 100%;
	margin-top: 1rem;
	border: 0;
	font: inherit;
	font-weight: bold;
	cursor: pointer;
}

.signin form [type="submit"] {
	width: auto;
	float: right;
}
	
.row { 
	clear: both;
	padding-top: 30px !important;
	text-align: center; }


/* Modal Windows
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.modal {
	width: 100vw;
	height: 100vh;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	padding: 2rem;
	overflow: hidden;
}

	.modal > .modal-close {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1;
		background-color: rgba(0,0,0,.25);
	}

	.modal-frame {
		width: 30rem;
		max-width: 100%;
		max-height: 100%;
		position: relative;
		z-index: 2;
		display: grid;
		grid-template-rows: auto minmax(0, 1fr);
		background-color: #fff;
		box-shadow: 0 8px 32px rgba(0,0,0,.15);
		overflow: hidden;
	}

		.modal-frame .modal-close {
			width: 32px;
			height: 32px;
			display: flex;
			align-items: center;
			justify-content: center;
			color: #fff;
			font-size: 1.5rem;
			font-weight: bold;
			text-decoration: none;
		}

		.modal-frame .content {
			padding: 1.5rem;
			overflow-y: auto;
		}


/* Open Modal
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.modal:target,
.modal.js-is-open {
	display: flex;
	align-items: center;
	justify-content: center;
}

	.modal:target > .modal-close,
	.modal.js-is-open > .modal-close {
		animation: .3s ease modalFade;
	}

	.modal:target .modal-frame,
	.modal.js-is-open .modal-frame {
		animation: .7s ease modalSlideIn;
	}


/* Animations
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@keyframes modalFade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes modalSlideIn {
	from {
		top: -100px;
		opacity: 0;
	}
	to {
		top: 0;
		opacity: 1;
	}
}