/**********************************************
 * AUTHORS: Original version (David Keiser-Clark | dwk2) + updated version (Gerol Petruzella | gcp1 with Claude)
*/

/**********************************************
** People: Add Face Book and Learning Mode
***********************************************/

#wms_roster_controls {
	display: block !important;
}

.wms_roster_user {
	float: left;
	width: 124px;
	height: 190px;
	margin-right: 8px;
	margin-bottom: 8px;
	border: 1px solid #CCCCCC;
	background-color: #F8FAFB;
	color: #333333;
	padding: 4px;
	position: relative;
}

/* gcp1 add: embiggen user avatars in Face Book*/
.wms_roster_user span {
    width: 110px;
    height: 110px;
}

/* gcp1 add: fix 'bleed-over' of Pending status on user card in Face Book*/
.wms_roster_user .label {
    border-radius: 3px;
    max-height: 15px;
}

.wms_roster_user:hover {
	border: 1px solid #0096db;
	background-color: #0096db;
	color: #FFF;
}

.wms_roster_user:hover A {
	color: #FFF;
}

#wms_roster_btn_learning {
	outline: 0;
}

.wms_wso_link {
	text-align: right;
	text-decoration: underline;
	position: absolute;
	bottom: 4px;
	right: 0;
	margin-top: 10px;
}


@media print {
	/*Force Canvas avatar background-images to show when printed*/
	/*Works for webkit browsers like Chrome and Safari; no hack available for FF or IE*/
	/*gcp1: added print-color-adjust property 2024-07-16*/
	A.avatar {
		-webkit-print-color-adjust: exact;
        print-color-adjust: exact;
	}

	/*Remove urls from print mode Canvas avatar background-images to show when printed*/
	A.roster_user_name[href]:after {
			 content: "";
		 }

	.wms_wso_link {
		display: none;
	}
}

/**********************************************
** Add Presenter View (zoom main div; hide all other columns)
**********************************************/
#wms_presenter_breadcrumb {
	margin: 0 0 0 150px !important;
}

.wmsDisplayNone {
	display: none !important;
}

.wmsMarginZero {
	margin: 0 !important;
}

.wmsPresenterExit {
	z-index: 1000 !important;
	position: fixed;
	top: 0;
	left: 0;
	cursor: pointer;
	background-color: #0096db;
	border: 1px solid #006796;
	width: 20px;
	height: 100%;
}

.wmsPresenterExit:hover {
	background-color: #0085c2;
	border: 1px solid #006594;
}

/*Rotate internal text of "exit button"*/
.wmsPresenterRotate {
	position: absolute;
	top: 350px;
	-webkit-transform: rotate(-90deg);
	-ff-transform: rotate(-90deg);
	transform: rotate(-90deg);
	width: 20px;
	font-weight: bold;
	color: #FFFFFF;
}

/**********************************************
** Customize UI: LOGIN PAGE
**********************************************/

/* Modern centered login layout using flexbox */
.ic-Login {
	/* Use flexbox for better centering */
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100vh;

	/* Custom background with proper sizing */
	background: #FFFFFF url("https://apps.williams.edu/glow/images/custom-login-image.jpg") no-repeat center top / contain;
	background-size: 100% auto;
	max-width: 1140px;
	margin: 0 auto;
}

/* Center the login container vertically and horizontally */
.ic-Login__container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 400px;
	width: 100%;
}

/* Clean content wrapper */
.ic-Login__content {
	width: 100%;
	max-width: 490px;
	border: none;
	padding: 0;
	background: transparent;
}

.ic-Login__innerContent {
	padding: 0;
}

/* Hide the default header */
.ic-Login__header {
	display: none;
}

/* Login body spacing */
.ic-Login__body {
	margin-top: 2rem;
	padding: 0;
}

/* Form styling with better specificity (avoiding !important) */
#login_form {
	color: #666666;
	font-size: 0.96rem;
}

#login_form a,
#login_form label {
	color: inherit;
	font-weight: normal;
}

/* Side-by-side form fields using flexbox */
#login_form .ic-Form-control--login {
	display: inline-flex;
	gap: 10px;
	margin-bottom: 1rem;
}

/* Input field styling with better cascade */
#pseudonym_session_unique_id,
#pseudonym_session_password {
	width: 235px;
	height: 56px;
	padding: 0.75rem;
	background-color: #EDEBE9;
	border: 6px solid #f1f0ee;
	box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.4);
	outline: none;
	color: #303030;
	font-size: 0.96rem;
	transition: border-color 0.3s ease;
}

#pseudonym_session_unique_id:focus,
#pseudonym_session_password:focus {
	border-color: #500082;
}

/* Button hover state */
.Button--login:hover {
	border: 1px solid #FFBE0A;
	background-color: #500082;
	color: #FFF;
}

/* Login actions layout using flexbox */
.ic-Login__actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0 0 5px;
	flex-wrap: wrap;
}

/* Remember me checkbox positioning */
#pseudonym_session_remember_me {
	margin-right: auto;
}

/* Timeout label styling */
.ic-Login__actions-timeout > label {
	color: green;
	vertical-align: middle;
}

/* Forgot password link positioning */
#login_forgot_password {
	margin-left: auto;
}

/* Center the form controls */
#login_form .ic-Form-control--login {
	display: flex;
	justify-content: center;
	margin: 0 auto;
}

/* Hide Canvas default footer elements */
#footer-links,
#footer a.ic-Login-footer__logo-link {
	display: none;
}

/* Custom footer styling */
#wms-login-footer {
	padding: 2.5rem 0.5rem 0 0;
	text-align: center;
	font-size: 0.92rem;
}

#wms-login-footer a {
	color: #666666;
	text-decoration: none;
	transition: color 0.3s ease;
}

#wms-login-footer a:hover {
	color: #500082;
	text-decoration: underline;
}

/* Error message container - centered layout */
#unauthorized_holder {
	max-width: 1140px;
	margin: 0 auto;
	padding: 1rem;
}

/* Error message styling */
#unauthorized_holder,
#unauthorized_holder #unauthorized_message {
	box-shadow: none;
	border-radius: 4px;
}

/* Add responsive adjustments */
@media (max-width: 768px) {
	.ic-Login {
		padding: 1rem;
	}

	.ic-Login__container {
		margin-top: 300px;
	}

	#login_form .ic-Form-control--login {
		flex-direction: column;
		gap: 1rem;
	}

	#pseudonym_session_unique_id,
	#pseudonym_session_password {
		width: 100%;
		max-width: 300px;
	}
}

/**********************************************
** Customize UI: MOBILE LOGIN PAGE
**********************************************/
#f1_container {
	background: #FFFFFF url("https://apps.williams.edu/glow/images/custom-mobile-login-image.jpg") no-repeat center top !important;
	background-size: 300px 132px !important;
	color: #373737 !important;
}

#f1_card {
	margin-top: 10px !important;
}

#login_form.front.face {
	background: #FFFFFF no-repeat !important;
	position: relative !important;
}

/*resize the input fields*/
#login_form.front.face INPUT.input-block-level {
	background: #EDEBE9 !important;
}

/*adjust the login button (it picks up default characteristics, like bgcolor, from primary css file
#login_form.front.face BUTTON[type=submit] {
	margin: 0 !important;
	border: 1px solid #98A0A5 !important;
}
*/

#login_form.front.face A.forgot-password {
	margin-top: 15px !important;
}

/*hide Canvas branding on new mobile UX*/
.mobileLogin-Header {
	background-image: none;
}

/**********************************************
** Customize UI: INTERNAL PAGES
**********************************************/
/*edit left column*/
#left-side {
	border-right: 1px solid #f0f0f0 !important;
}

/*edit right column*/
#right-side-wrapper {
	background-color: #f0f0f0;
}

/*hide the Canvas Inbox*/
LI A#global_nav_conversations_link {
    display: none;
}

/*extend existing partial horizontal rule to boundary edges*/
.wmsBreadCrumbsLine {
	border-bottom: 1px solid #d6d6d6 !important;
	margin: 0 !important;
	padding-left: 24px;
	padding-right: 24px;
}

.wmsFooterLine {
	border-top: 1px solid #d6d6d6 !important;
	margin: 0 !important;
	padding-left: 24px;
	padding-right: 24px;
}

#wms_presenter_breadcrumb > a > i {

}

/**********************************************
** Footer/Branding Link Overrides
***********************************************/
/*Hide Canvas logo and Canvas footer links*/
#footer A.footer-logo, #footer #footer-links {
	display: none !important;
}

/************************************************
*	Temporarily hide gradebook during course evaluation survey blackout
.list-view>nav>ul>li>a.grades {
	display: none;
}
**/

/*****
   Hide the course navigation for Resources

a.context_external_tool_470486 {
	display: none;
}

**/

/****************
Hide course navigation for CPH Test
 */
@media only screen and (min-width: 600px) {
	a[title='CPH Test']{
		display: none!important
	}
}

/**************************
Customize the slide out on the student roster
***************************/

.StudentContextTray-Header__Actions {
	display: none;
}