/* Generic modal container */
  
.new-modal-container {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	animation-name: fadeIn;
	animation-duration: 0.4s;
  }
  
  /* Modal Content/Box */
  .new-modal-form {
	background-color: #fefefe;
	margin: 15% auto; /* 15% from the top and centered */
	padding: 0.75em 0.75em 0.25em 0.25em;
	/* border: 1px solid #888; */
	width: fit-content; /* Could be more or less, depending on screen size */
	/* box-shadow: inset 0px 0px 5px 0px #888 */
	border-radius: 0.4em;
	
  }
  .new-modal-table{
	  margin: 0.5em;
  }
  .new-modal-table td{
	  margin: 0;
	  padding: 0;
	  padding-left: 0.25em;
  }

  .new-modal-form-inner{
	/* border: solid 1px #c0c0c0; */
	margin: 1em;
	border-radius: 0.5em;
	padding: 0em 0.75em 0.75em 0.75em;
	min-width: 12em;
  }



  .close-modal-form {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
  }
  
  .close-modal-form:hover,
  .close-modal-form:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
  } 

.fade-in {
	animation: fade-in 300ms ease-in both;
}

@keyframes fade-in {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

.fade-out {
	animation: fade-out 1s cubic-bezier(.08,.82,.17,1) both;
}

@keyframes fade-out {
    0% { opacity: 1; }
    100% { opacity: 0; }
  }