#create_child_user_form {
	margin-top: 50px;
}
#create_child_user_form .group-buttons {
	margin-top: 20px;
}
#create_child_user_form label.error {
	color: red;
	font-size: 12px;
}
.message-success {
	color: #a0ce4e;
	margin-bottom: 10px;
}
.message-error {
	color: #F00;
	margin-bottom: 10px;
}
#create_child_user_form .group-fields {
	margin-bottom: 15px;
}
#create_child_user_form .group-fields select {
	border: 1px solid #d2d2d2;
	width: 100%;
}

#create_child_user_form .field-expired {
	display: none;
}
#create_child_user_form .field-expired ul li {
	display: none;
}
.page-template-page-child-user .avada-myaccount-user {
	margin-bottom: 60px;
}
.delete-link {
	color:red; 
	margin-left: 5px;
}

#create_child_user_form::before {
	display: block;
	content: " ";
	margin-top: -87px;
	height: 87px;
	visibility: hidden;
	pointer-events: none;
}


/* Responsive Student Table */
@media only screen and (max-device-width: 980px) {
	.l4h_user_table:not(:last-child) {
		margin-bottom: 20px;
	}

	/* Hide table headings */
	.l4h_user_table thead {
		display: none;
	}

	/* Convert rows into flex, to display as cards */
	.l4h_user_table tbody {
		display: flex;
		flex-wrap: wrap;
		margin-left: -7px;
		margin-top: -7px;
	}
	.l4h_user_table tbody tr {
		flex-grow: 1;
		min-width: 200px;
		padding: 10px;
		display: block;
		border: 2px solid #dddddd !important;
		border-radius: 5px;
		margin-left: 7px;
		margin-top: 7px;
		box-shadow: 3px 3px #dddddd;
	}
	.l4h_user_table tbody td {
		padding: 0;
		display: block;
	}
	.l4h_user_table tbody td:not(:last-child) {
		margin-bottom: 8px;
	}

	/* Show both names side by side */
	.l4h_user_table .name {
		color: #515151;
		width: 50%;
		font-size: 18px;
		float: left;
		position: relative;
	}
	.l4h_user_table .first_name {
		text-align: right;
		padding-right: 5px;
	}

	/* Underline name */
	.l4h_user_table .name::after {
		content: "";
		position: absolute;
		height: 100%;
		border-bottom: 1px solid lightgrey;
	}
	.l4h_user_table .first_name::after {
		right: 0;
		left: 10px;
	}
	.l4h_user_table .last_name::after {
		right: 10px;
		left: 0;
	}

	/* Center everything else */
	.l4h_user_table td:not(.name) {
		width: 100%;
		text-align: center;
	}

	/* Group date values and show titles */
	.l4h_user_table .date::before {
		content: var(--title);
	}
	.l4h_user_table tbody td.start_date {
		margin-bottom: 0;
	}
}
