:root {
	--dark-blue: #294065;
	--blue: #306899;
}
.center {
	text-align: center;
}
.scholar-portal a:link {
	color: var( --dark-blue );
	text-decoration: underline;
}
.scholar-portal a:hover {
	color: var( --dark-blue );
	text-decoration: none;
}

/****
 * Log in
 */
#primary.scholar-page-content.sp-add-bg-image {
	background-image: linear-gradient(
	    to bottom,
	    rgba(0, 0, 0, 0.6),
	    rgba(0, 0, 0, 0.6)
	  	), url( "/wp-content/uploads/DFS-Apply-Day-2018.jpg" );
	background-size: cover;
	background-position: center;
}
.sp-login-container {
	max-width: 100%;
	margin: 1rem auto 0;
	position: relative;
}
.sp-login-container-white {
	background-color: white;
	padding: 2rem 1rem 1rem;
}
.sp-login-container-header {
	display: flex;
	margin-bottom: 2rem;
}
.sp-login-container-header img {
	max-width: 200px;
}
.sp-login-h2 {
	flex-grow: 1;
	text-align: center;
}
a.sp-register-link {
	color: #e95e30;
}
.sp-login-container label {
	display: block;
}
.sp-login-container #user_login, 
.sp-login-container #user_pass {
	width: 100%;
	border: unset;
	border-bottom: 3px solid var( --blue );
	font-size: 1rem;
	color: black;
	padding: 12px;
}
/* move labels (don't remove for ADA), placeholders are added with JS */
.login-username label, 
.login-password label {
	position: absolute;
	left: -9999px;
}
.login-password {
	margin-bottom: 3rem;
}

.sp-login-container #wp-submit {
	text-transform: capitalize;
	font-size: 1.2rem;
	padding: 0.75rem 3rem;
	background-color: var( --blue );
	color: white;
	border: 0;
	border-radius: 6px;
}
.sp-login-container #wp-submit:hover {
	background-color: var( --dark-blue );
}
.sp-login-container #wp-submit:focus {
	outline: thick dotted black;
}
.sp-login-bottom-links {
	color: white;
	padding: 1rem 2rem;
} 
.sp-login-bottom-links a:link {
	text-decoration: underline;
	color: white;
}
.sp-login-bottom-links a:hover {
	text-decoration: none;
	color: white;
}
.sp-login-register-message {
	border: 4px solid var( --blue );
	padding: 10px;
	margin-bottom: 14px;
}
.sp-login-register-message p { 
	margin-bottom: 0;
}
.sp-login-register-message a:hover { 
	text-decoration: underline;
}
@media screen and ( min-width: 400px) {
	.sp-login-container-white {
		padding: 2rem 2rem 1rem;
	}
}
@media screen and ( min-width: 450px ) {
	p.login-remember {
		display: inline-block;
		width: 50%;
	}
	p.login-submit {
		display: inline-block;
	}
}
@media screen and ( max-width: 509px ) {
	.student-portal-outer-container {
		width: 100%;
	}
	.sp-login-container-header img {
		display: none;
	}
}
@media screen and ( min-width: 600px ) {
	.sp-login-container-header img {
		max-width: 250px;
	}
}
@media screen and ( min-width: 675px ) {
	.sp-login-container {
		min-width: 650px;
	}
}

/* Log in show PW */
.show-password {
	width: 40px;
    height: 30px;
    display: inline; 
    margin-left: -50px;
    vertical-align: middle;
}

/****
 *  Log in modal
 **/
#sp-login-modal {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba( 0, 0, 0, 0.85 );
	z-index: 1;
	text-align: center;
	padding-top: 10%;
}
#sp-login-modal p {
	color: white;
	margin-top: 1rem;
	font-size: 1rem;
}
.sp-spin::before {
	animation: spin 1.5s linear infinite;
	animation-play-state: running;
	border: solid 5px var( --blue );
	border-bottom-color: white;
	border-radius: 50%;
	content: "";
	height: 40px;
	width: 40px;
	display: inline-block;
	transform: translate3d(-5%, 40%, 0);
	will-change: transform;
}
@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}





/**
 * Menu
*/
.scholar-logout {
	float: right;
}
#scholar-menu {
	display: none;
	/*column-gap: 0.5rem;*/
	list-style: none;
	margin: 0;
	padding-left: 0;
	text-align: left;
}
#scholar-navigation-menu-container.toggled #scholar-menu {
	display: block;
	border-bottom: 4px solid var( --dark-blue );
	margin-bottom: 16px;
}
#scholar-menu li {
	padding: 0.5rem 1rem;
	border-left: 4px solid var( --dark-blue );
	border-top: 4px solid var( --dark-blue );
	border-right: 4px solid var( --dark-blue );
	margin: 0;
}
#scholar-menu li.scholar-menu-current {
	background-color: var( --dark-blue );
}
#scholar-menu li a {
	color: var( --dark-blue );
}
#scholar-menu li.scholar-menu-current a {
	color: white;
}
#scholar-menu li a:hover {
	text-decoration: underline;
}

@media screen and ( min-width: 775px ) {
	#scholar-menu {
		display: flex;
	}
	#scholar-menu li {
		margin: 0 0.75rem 0 0;
		border-top-left-radius: 12px;
		border-top-right-radius: 12px;
	}
}

@media screen and (min-width:775px) and (max-width: 900px) {
	#scholar-navigation-menu-container {
		clear: both;
	}
	#scholar-menu li {
		margin-right: 0.2rem;
	}
}

/* hamburger */
.scholar-menu-toggle {
	border: unset;
	background-color: unset;
	padding-bottom: 0.5rem;
}
#scholar-navigation-menu-container .bar1, 
#scholar-navigation-menu-container .bar2, 
#scholar-navigation-menu-container .bar3 {
	width: 30px;
	height: 4px;
	background-color: black;
	margin: 7px 0;
	transition: 0.4s;
	display: block;
}

@media screen and ( min-width: 775px ) {
	.scholar-menu-toggle {
		display: none;
	}
}


/**
 * Container
 */
.scholar-outer-container {
	max-width: 1050px;
	margin: 0 auto;
	padding: 1rem;
}
#primary.scholar-page-content {
	min-height: calc( 100vH - 220px );
}
.scholar-content-container {
	background-color: white;
	padding-bottom: 1rem;
}
.scholar-content-container ul {
	list-style: disc !important;
	margin-left: 1rem !important;
}
@media screen and ( max-width:399px ) {
	.scholar-content-container {
		margin-left: -10px;
		margin-right: -10px;
	}
}
@media screen and ( min-width: 400px ) and ( max-width:499px ) {
	.scholar-content-container {
		margin-left: -20px;
		margin-right: -20px;
	}
}
@media screen and ( min-width:500px ) {
	.scholar-content-container {
		border: 4px solid var( --dark-blue );
		padding: 2rem;
	}
}

/* edit modal */
#sp-edit-modal {
	display: none;
}
#sp-edit-modal.edit-modal-show {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba( 0, 0, 0, 0.8 );
	z-index: 301;
	padding: 0.5rem;
	box-sizing: border-box;
}
#sp-edit-modal-close {
	display: none;
	color: white;
	font-size: 2rem;
	padding: 2rem;
	cursor: pointer;
}
#sp-edit-modal.edit-modal-show #sp-edit-modal-close{
	display: inline-block;
}
#sp-edit-modal-content {
	text-align: center;
	margin-top: 20vH;
	color: white;
	line-height: 2;
}
#sp-edit-modal-content p {
	color: white;
}
#sp-edit-modal-content [type="text"], 
#sp-edit-modal-content[type="email"] {
	font-size: 1.5rem;	
}
.sp-edit-field-title {
	color: white;
	font-size: 1.5rem;
}
#sp-edit-modal-content [type="text"], #sp-edit-modal-content [type="email"] {
	width: 300px;
	max-width: 100%;
	color: black;
	font-size: 1.25rem;
	padding: 0.5rem;
	border-radius: 5px;
}
#sp-edit-modal-content button {
	margin-left: 0.5rem;
	cursor: pointer;
	padding: 0.35rem 0.5rem;
}
#sp-edit-modal-message {
	text-align: center;
	color: white;
	margin-top: 1rem;
}

#sp-edit-modal-content .sp-edit-box-checkbox {
	width: 36px;
	height: 36px;
	top: 8px;
	z-index: 1;
}
#sp-edit-modal-content select {
	padding: 0.3rem 1rem;
	position: relative;
	top: -2px;
}

@media screen and ( min-width: 550px ) {
	#sp-edit-modal-content {
		font-size: 1.5rem;
		margin-top: 30vH;
	}
	#sp-edit-modal-content button {
		font-size: 1.4rem;
	}
	#sp-edit-modal-message {
		font-size: 1.8rem;
	}
	#sp-edit-modal-content p {
		font-size: 1.5rem;
	}
}

.sp-field {
	font-weight: 600;
}

.sp-no-value-spacer {
	width: 200px;
	display: inline-block;
	position: relative;
	top: 5px;
}
.sp-value-edit {
	margin-left: 0.5rem;
}
.sp-data-section .sp-value-edit {
	float: right;
}
.sp-value-edit img {
	width: 15px;
	position: relative;
	top: 2px;
}
.sp-update-message {
	color: white;
	background-color: green;
	padding: 0.2rem 0.5rem;
	margin-left: 1rem;
}

.sp-editable-text {
	border-bottom: 1px solid rgba( 0, 0, 0, 0.3 );
	background-color: #f2f2f2;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}
.sp-address-spacer {
	width: 120px;
	display: inline-block;
}



/******
 * Data Fields
 */
.sp-data-section {
	max-width: 950px;
	margin: 1rem auto;
}
@media screen and (max-width:499px) {
	.sp-data-section {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}
}
.sp-data-header h2 {
	background-color: black;
	color: white;
	text-transform: uppercase;
	text-align: center;
	font-size: 1.4rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	font-weight: 600;
}
@media screen and ( min-width: 500px ) {
	.sp-data-header h2 {
		margin-left: -1rem;
		margin-right: -1rem;
	}
}
.sp-data-row {
	display: flex;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}
h3.sp-row-label {
	min-width: 150px;
	font-size: 1.2rem;
	font-weight: 600;
	margin-top: 0.4rem;
	margin-right: 0.5rem;
}
.sp-data-fields {
	flex-grow: 1;
	display: flex;
	justify-content: space-between;
	column-gap: 0.75rem;
	flex-wrap: wrap;
}
@media screen and ( min-width: 650px ) {
	.sp-data-fields {
		column-gap: 2.5rem;
	}
	.sp-data-row {
		flex-wrap: unset;
	}
}
.sp-data-field {
	flex-grow: 1;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column-reverse;
}
.sp-data-field div {
	min-height: 2rem;
}
.sp-editable-field .sp-field-value {
	background-color: #5dc3b415;
	cursor: pointer;
}
.sp-field-value {
	padding: 0.3rem 0.6rem;
	border: 1px solid #ccc;
	border-radius: 5px;
	color: #222;
}
.sp-field-value-checkbox {
	position: relative;
	top: 2px;
	display: flex;
}
.sp-field-name {
	font-size: 0.9rem;
	line-height: 1.8;
}
.sp-max-250 {
	max-width: 250px;
}
[type="checkbox"] {
	width: 20px;
	height: 20px;
	z-index: -1;
}
.sp-cb-data-row {
	display: flex;
	margin-bottom: 2rem;
}
.sp-fake-cb {
	width: 40px;
	height: 40px;
	background-color: #5dc3b436;
	padding: 5px;
	box-sizing: border-box;
	margin-left: 1rem;
}
.sp-cb-value .sp-fake-cb {
	margin-left: 0;
}
.sp-fake-check .sp-cp-spacer {
	clip-path: polygon( 14% 54%, 10% 55%, 50% 95%, 95% 16%, 100% 0%, 43% 72% );
	box-shadow: inset 2em 2em black;
	width: 30px;
	height: 30px;
	display: inline-block;
}
.sp-data-section .sp-cb-data-row .sp-value-edit {
	float: unset;
}
.sp-data-inline h3, 
.sp-data-inline img {
	display: inline-block;
}
.sp-ed-cb .sp-cb-value {
	display: flex;
}
