/*
 * basic-red — Next.js department template stylesheet.
 * Runtime path (local): /CSS/basic-red/next.css
 * Legacy reference only: dept.css, /CSS/dept-basic.css (not imported).
 * Use relative URLs so CSS/basic-red/ deploys as a unit to S3/CDN.
 */

@font-face
{
	font-family: headerFont;
	src: url('../Fonts/Lobster.otf');
	text-rendering: optimizeLegibility;
}

@font-face
{
	font-family: menuFont;
	font-weight: bold;
	src: url('../Fonts/Aller_Bd.ttf');
	text-rendering: optimizeLegibility;
}

/* --- Shell --- */

.deptBody
{
	background: url('./Images/BG_LightStained.jpg') repeat top left;
	color: #000000;
	--dept-sidebar-bg: #e8e0d0;

	/* List / section theme (basic-red maroon) */
	--dept-section-header-bg: #555555;
	--dept-list-zebra-even-bg: rgba(70, 0, 5, 0.1);
	--dept-list-hover-bg: rgba(70, 0, 5, 0.25);
	--dept-list-selected-bg: #6b2f2f;
	--dept-list-legacy-selected-bg: rgba(70, 0, 5, 0.8);
}

/*
.deptContent
{
	color: #000000;
}

.deptContent a,
.deptContent a:visited
{
	color: #492e00;
}

.deptContent a:hover
{
	color: #7a4a00;
}
*/

/* --- Banner --- */

.deptBanner
{
	background: url('./Images/Header_BG_01.jpg') repeat-x top left;
	color: #ffffff;
	font-family: headerFont, Georgia, serif;
	font-weight: normal;
}

.deptBanner h1,
.deptBanner h5
{
	color: #ffffff;
	font-family: headerFont, Georgia, serif;
	font-weight: normal;
	letter-spacing: 1px;
}

/* --- Sidebar & menu --- */

@media (min-width: 768px)
{
	.deptSidebar
	{
		background: url('./Images/NavBar_BG.jpg') repeat-y top left;
		background-size: 100% auto;
		box-shadow: 8px 8px 12px rgba(100, 100, 100, .5);
	}
}

@media (max-width: 767px)
{
	.bm-menu-wrap,
	.bm-menu
	{
		background-color: var(--dept-sidebar-bg, #e8e0d0);
		background-image: url('./Images/NavBar_BG.jpg');
		background-repeat: repeat-y;
		background-position: top left;
		background-size: 100% auto;
	}

	.bm-item-list,
	.deptMenuMobile
	{
		background-color: transparent;
	}

	.bm-overlay
	{
		background: rgba(0, 0, 0, 0.35);
	}
}

.deptMenu,
.deptMenuMobile
{
	font-family: menuFont, Arial, Helvetica, sans-serif;
	font-weight: bold;
}

.deptMenu a,
.deptMenu a:visited,
.deptMenuMobile a,
.deptMenuMobile a:visited
{
	color: #492e00;
	text-decoration: none;
}

.deptMenu a:hover,
.deptMenuMobile a:hover
{
	text-decoration: underline;
}

.deptMenu li > span,
.deptMenuMobile li > span
{
	color: #492e00;
}

/* --- Login --- */

#deptlogin,
.login-form-container
{
	background: url('./Images/loginbox.jpg') repeat-x center center;
	border: solid 2px #404040;
	border-radius: 3px;
	box-shadow: 8px 8px 12px rgba(100, 100, 100, .5);
	color: #000000;
}

.deptLogin .login-link
{
	font-family: menuFont, Arial, Helvetica, sans-serif;
	font-weight: bold;
}

.deptLogin .welcome-message
{
	color: #000000;
}

.deptLoginUser
{
	color: #000000;
}

.deptLogoutButton
{
	background-color: #c3b9b8;
	border: solid 1px #e0e0e0;
	color: #000000;
	cursor: pointer;
}

.deptLogin .login-form label,
#deptlogin label,
.login-form-container label
{
	color: #000000;
	font-weight: bold;
}

.deptLogin .input-field,
#deptlogin .input-field,
.login-form-container .input-field
{
	background-color: rgba(255, 255, 255, .75);
	border: solid 1px #404040;
	color: #000000;
}

.deptLogin .submit-button,
#deptlogin .submit-button,
.login-form-container .submit-button
{
	background-color: rgba(255, 255, 255, .5);
	border: solid 1px #404040;
	color: #000000;
	cursor: pointer;
}

.deptLogin .spinner,
#deptlogin .spinner,
.login-form-container .spinner
{
	background: rgba(0, 0, 5, .55) url('./Images/spinner-m.gif') no-repeat center center;
}

/* --- My Info --- */

#myinfo .formgroup
{
	font-size: 15px;
	margin-bottom: 25px;
	padding: 10px;
}

#myinfo .formgroupname,
.formgroupname
{
	background: url('./Images/TitleBanner_01.png') no-repeat top left;
	color: #ffffff;
	display: block;
	font-family: menuFont, Arial, Helvetica, sans-serif;
	font-style: italic;
	font-weight: bold;
	line-height: 20px;
	min-height: 42px;
	padding: 11px 20px;
	text-align: left;
	text-transform: uppercase;
}

#myinfo label
{
	display: block;
	font-weight: bold;
	padding-left: 20px;
	padding-top: 10px;
	text-shadow: 2px 2px 3px rgba(0, 0, 0, .35);
}

#myinfo input[type=text],
#myinfo input[type=password],
#myinfo input[type=email],
#myinfo input[type=date],
#myinfo select,
#myinfo textarea
{
	background-color: #f8f8f8;
	border: solid 1px #90837a;
	border-radius: 3px;
	color: #777777;
	font: normal 1em "Trebuchet MS", Tahoma, sans-serif;
	margin-left: 20px;
	padding: 2px;
}

#myinfo .required,
#myinfo input.required,
#myinfo select.required
{
	background-image: url('./Images/reqfield.png');
	background-position: top right;
	background-repeat: no-repeat;
}

#myinfo button,
#myinfo input[type=submit],
#myinfo input[type=button]
{
	background: #ffffff;
	border: 1px solid #dadada;
	color: #333333;
	font: bold 1em Arial, sans-serif;
	padding: 2px 8px;
}

/* --- My Schedule --- */

#myschedule .tblinfo th,
.tblinfo th
{
	background: url('./Images/Header_BG_01.jpg') 0 90%;
	color: #f8f8f8;
	font-weight: bold;
}

#myschedule .tblinfo td,
.tblinfo td
{
	padding: 0 15px;
}

#myschedule .tblinfo .sv-notworked
{
	color: #903030;
	font-weight: bold;
	text-decoration: line-through;
}

#myschedule .tblinfo td:last-child.worked
{
	background-color: rgba(192, 255, 192, .25);
	border: 1px solid rgba(0, 150, 0, .5);
	color: #009900;
	font-weight: bold;
}

#myschedule .tblinfo td:last-child.notworked
{
	background-color: rgba(255, 192, 192, .25);
	border: 1px solid rgba(150, 0, 0, .4);
	color: #990000;
	font-weight: bold;
}

/* --- Calendar --- */

.deptCalendar
{
	color: #000000;
}

.deptCalendar .dgdate
{
	border-bottom: 1px solid #000000;
}

.deptCalendar .dgdateheader
{
	color: #000000;
	font-family: menuFont, Arial, Helvetica, sans-serif;
	font-weight: bold;
}

.deptCalendar .dgdateshifts
{
	padding: 0;
}

.deptCalendar .dgshift
{
	background-color: #f4f4f4;
	border-radius: 5px;
}

.deptCalendar .dgshiftheader
{
	background-color: #b8beb8;
	border: solid 1px #000000;
	border-bottom: 0;
	border-radius: 5px 5px 0 0;
	color: #000000;
	font-weight: bold;
	padding: 4px 2px;
	text-align: center;
}

.deptCalendar .dgavails
{
	background-color: #ffffff;
	border: 1px solid #333366;
	border-radius: 0 0 5px 5px;
	color: #000000;
	font-size: .9em;
}

.deptCalendar .dgavails-role
{
	background-color: #666666;
	color: #ffffff;
}

.deptCalendar .dgavails-user
{
	color: #000000;
}

.deptCalendar .dgavails-clickable
{
	color: #339933;
	font-weight: bold;
	text-decoration: underline;
}

.deptCalendar .dgavails-clickable:hover
{
	background-color: rgba(255, 255, 255, .8);
	color: #336633;
	cursor: pointer;
}

.deptCalendar .dgavails-unconfirmed
{
	opacity: .5;
}
