/*
Theme Name: Twenty Twenty-Four CHILD for the Mayfield site
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: Capital Region BOCES Communications Service Web Team 
Author URI: https://wordpress.org
Description: CHILD THEME of the Twenty Twenty-Four Wordpress Theme.
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
	0.0 Global styles
	1.0 Links and buttons
		1.1 Links - Visited, hover and focus styles
		1.2 Links - Link color inside blocks with a background color
		1.3 Links - External and pdf link indicators
		1.4 Links - Lists of links
		1.5 Button styles
	2.0 Navigation
		2.1 Navigation - MAIN
		2.2 Navigation - SECONDARY
		2.3 Navigation - SCHOOLS
		2.4 Navigation - SEARCH and TRANSLATE
	3.0 Header
	4.0 Footer
	5.0 Pages
		5.1 Page - Search Results
		5.2 Page - Staff Directory Results
	6.0 Features
		6.1 Features - Special Alert Bar
		6.2 Features - ICS Calendar
		6.3 Features - ICS Calendar - Grid View
		6.4 Features - Yoast Breadcrumbs
		6.5 Features - News Feed
		6.6 Features - Tabs
	7.0 Media Queries

/*--------------------------------------------------------------
 * 0.0 Global styles
 --------------------------------------------------------------*/

ul.wp-block-list li,
ol.wp-block-list li {
	margin-bottom: 0.4rem !important;
}

/*--------------------------------------------------------------
 * 1.0 Links and buttons
 --------------------------------------------------------------*/

/* 1.1 Links - Visited, hover and focus styles  */

:focus-visible {
	outline: 3px solid;
}

.focus-visible-white a:focus,
.focus-visible-white img:hover {
	color: #fff !important;
	opacity: 0.7;
	outline: 1px dotted !important;
}

a:hover,
a:focus,
a:where(:not(.wp-element-button)):hover,
a:where(:not(.wp-element-button)):focus {
	text-decoration: underline;
	text-decoration-style: solid;
	text-decoration-thickness: 2px;
}

a:where(:not(.wp-element-button)):visited,
.wp-block-post-title a:visited {
    color: #800080;
}

.wp-block-post-title a {
	text-decoration-thickness: 1px;
	color: inherit;
}

.wp-block-post-title a:hover,
.wp-block-post-title a:focus {
	text-decoration-thickness: 2px;
}


/* 1.2 Links - Link color inside blocks with a background color */

.has-background a:where(:not(.wp-element-button)),
.has-background a:where(:not(.wp-element-button)):visited { 
    color: inherit;
}

/* Set visited link colors based on what color is used for the background.*/
.has-background-color.has-base-background-color a:visited,
.has-background-color.has-base-2-background-color a:visited { 
    color: #800080;
}

/* 1.3 Links - External and pdf link indicators */

a[rel=" nofollow"]:after, /* Note: Do not remove the space before nofollow on this line. This is a fix for an extraneous space coming in on buttons in the WP editor */
a[rel="nofollow"]:after,
a[rel="noreferrer"]:after,
a[rel="noopener"]:after,
a[rel="nofollow noreferrer"]:after,
a[rel="nofollow noopener"]:after,
a[rel="noreferrer nofollow"]:after,
a[rel="noreferrer noopener"]:after,
a[rel="noopener nofollow"]:after,
a[rel="noopener noreferrer"]:after,
a[rel="nofollow noreferrer noopener"]:after,
a[rel="nofollow noopener noreferrer"]:after,
a[rel="noreferrer nofollow noopener"]:after,
a[rel="noreferrer noopener nofollow"]:after,
a[rel="noopener nofollow noreferrer"]:after,
a[rel="noopener noreferrer nofollow"]:after {
    font-family: FontAwesome;
	font-size: small;
    content:' \f08e';
    margin: 0;
}

/* Turn off external indicators for social links and connect button links */

.wp-block-social-links a[rel=" nofollow"]:after, /* Note: Do not remove the space before nofollow on this line. This is a fix for an extraneous space coming in on buttons in the WP editor */
.wp-block-social-links a[rel="nofollow"]:after,
.wp-block-social-links a[rel="noreferrer"]:after,
.wp-block-social-links a[rel="noopener"]:after,
.wp-block-social-links a[rel="nofollow noreferrer"]:after,
.wp-block-social-links a[rel="nofollow noopener"]:after,
.wp-block-social-links a[rel="noreferrer nofollow"]:after,
.wp-block-social-links a[rel="noreferrer noopener"]:after,
.wp-block-social-links a[rel="noopener nofollow"]:after,
.wp-block-social-links a[rel="noopener noreferrer"]:after,
.wp-block-social-links a[rel="nofollow noreferrer noopener"]:after,
.wp-block-social-links a[rel="nofollow noopener noreferrer"]:after,
.wp-block-social-links a[rel="noreferrer nofollow noopener"]:after,
.wp-block-social-links a[rel="noreferrer noopener nofollow"]:after,
.wp-block-social-links a[rel="noopener nofollow noreferrer"]:after,
.wp-block-social-links a[rel="noopener noreferrer nofollow"]:after {
	display: none;
}

.button-grid-1 a[rel=" nofollow"]:after, /* Note: Do not remove the space before nofollow on this line. This is a fix for an extraneous space coming in on buttons in the WP editor */
.button-grid-1 a[rel="nofollow"]:after,
.button-grid-1 a[rel="noreferrer"]:after,
.button-grid-1 a[rel="noopener"]:after,
.button-grid-1 a[rel="nofollow noreferrer"]:after,
.button-grid-1 a[rel="nofollow noopener"]:after,
.button-grid-1 a[rel="noreferrer nofollow"]:after,
.button-grid-1 a[rel="noreferrer noopener"]:after,
.button-grid-1 a[rel="noopener nofollow"]:after,
.button-grid-1 a[rel="noopener noreferrer"]:after,
.button-grid-1 a[rel="nofollow noreferrer noopener"]:after,
.button-grid-1 a[rel="nofollow noopener noreferrer"]:after,
.button-grid-1 a[rel="noreferrer nofollow noopener"]:after,
.button-grid-1 a[rel="noreferrer noopener nofollow"]:after,
.button-grid-1 a[rel="noopener nofollow noreferrer"]:after,
.button-grid-1 a[rel="noopener noreferrer nofollow"]:after {
    display: none;
	
}







a[href$=".pdf"]:after {
    font-family: FontAwesome;
    font-size: small;
    font-size: 0.8125rem;
    content:' \f1c1';
    margin: 0;
}

/* 1.4 Links - Lists of links */

ul.listoflinks,
.listoflinks ul {
	list-style: none;
	margin-left: -0.5em;
	padding-left: 0;
}

ul.listoflinks li,
.listoflinks ul li {
	padding-left: 1.5em;
    text-indent: -1.25em;
	margin-bottom: 0.5em;
}

ul.listoflinks li:before,
.listoflinks ul li:before {
    color: inherit;
    content: "\f061";
	font-family: FontAwesome;
	font-weight: 900;
	font-size: 0.6875em;
	margin-right: 1em;
    vertical-align: middle;
}

/* 1.5 Button styles */

/* Set a global button hover style. This is needed because when a button color is set manually in the editor, it overrides the hover color set via the json. */

.wp-block-button__link.wp-element-button:hover {
	background-color: var(--wp--preset--color--contrast-3) !important;
}

/* Set button hover styles based on what color is used for the button TEXT.*/

.wp-block-button__link.has-base-color.wp-element-button:hover,
.wp-block-button__link.has-base-2-color.wp-element-button:hover,
.wp-block-button__link.has-accent-color.wp-element-button:hover,
.wp-block-button__link.has-accent-2-color.wp-element-button:hover {
	background-color: var(--wp--preset--color--contrast-3) !important;
}

.wp-block-button__link.has-contrast-color.wp-element-button:hover,
.wp-block-button__link.has-contrast-2-color.wp-element-button:hover,
.wp-block-button__link.has-contrast-3-color.wp-element-button:hover {
	background-color: var(--wp--preset--color--accent-2) !important;
}


/* Featured button group 1 (manual) */

.featured-btn-1 .wp-block-button__link img {
	height: 93px;
	margin-bottom: 0.25em;
	width: 100%;
}

.featured-btn-1 a.wp-block-button__link:hover {
    background-color: transparent !important;
	opacity: 1;
}




.more-link:after {
    color: inherit;
    content: "\f061";
    font-family: FontAwesome;
	font-weight: 900;
    margin-left: 0.25em;
    vertical-align: baseline;
}


/*--------------------------------------------------------------
 * 2.0 Navigation
 --------------------------------------------------------------*/

/* 2.1 Navigation - MAIN - Add class of mainnav to the nav block in WP */

.wp-block-navigation-submenu ul li {
	font-size: var(--wp--preset--font-size--small)!important;
	text-transform: none;
}
.wp-block-navigation.mainnav .wp-block-navigation__responsive-container-open:after {
    content: "Menu";
    text-transform: uppercase;
}

.wp-block-navigation.mainnav .wp-block-navigation__responsive-container-close:after {
    content: "Close";
    text-transform: uppercase;
}

.wp-block-navigation.mainnav .wp-block-navigation-item a {
	padding: 1em 1.75em 1em 1.3em;
}

/* Reduce right padding only on the home nav item because it has no dropdown icon */
.wp-block-navigation.mainnav li:first-child.wp-block-navigation-item a {
	padding-right: 1.3em;
}

.wp-block-navigation.mainnav .wp-block-navigation-item a:hover, 
.wp-block-navigation.mainnav .wp-block-navigation-item a:focus {
	background-color: var(--wp--preset--color--contrast-3);
}

/* Main navigation SUBMENU DROPDOWN styles */

.wp-block-navigation.mainnav .wp-block-navigation-submenu .wp-block-navigation-item a {
	padding: 1em 1em;
}

/* Make the icon large enough for accessibility and move it within the hover and active background color */
.wp-block-navigation.mainnav .wp-block-navigation__submenu-icon {
	height: 1.125em;
	margin-left: -1.625em;
	margin-right: 0.5em;
	width: 1.125em;
}

.wp-block-navigation.mainnav .wp-block-navigation-item a[aria-current="page"] {
	background-color: var(--wp--preset--color--accent)!important;
	color: var(--wp--preset--color--contrast-2)!important;
	text-decoration: underline;
}

/* Change the color of the icon on items with the active highlight background color */
.wp-block-navigation.mainnav .wp-block-navigation-item a[aria-current="page"] + button.wp-block-navigation__submenu-icon {
	color: var(--wp--preset--color--contrast-2);
}


/* 2.2 Navigation - SECONDARY - Add class of secondarynav to the nav block in WP */

.icon-calendar a:before {
    font-family: FontAwesome;
	font-size: 125%;
	color: var(--wp--preset--color--contrast-2); 
    content:' \f073';
    margin: 0 0.5em 0 0;
	vertical-align: middle;
	padding-bottom: .1em;
}

.icon-person a:before {
    font-family: FontAwesome;
	font-size: 140%;
	color: var(--wp--preset--color--contrast-2); 
    content:' \f007';
    margin: 0 0.5em 0 0;
	vertical-align: middle;
	padding-bottom: .1em;
}

.icon-megaphone a:before {
    font-family: FontAwesome;
	font-size: 140%;
	color: var(--wp--preset--color--contrast-2); 
    content:' \f0A1';
    margin: 0 0.5em 0 0;
	vertical-align: middle;
	padding-bottom: .1em;
}

.secondarynav {
		padding-left: 10.75em;
	}

/* 2.3 Navigation - SCHOOL - Add class of schoolnav to the nav block in WP */

/* 2.4 Navigation - SEARCH and TRANSLATE */

/* 2.5 Navigation - Mobile Nav */

.wp-block-navigation.mobilenav .wp-block-navigation-item {
	width: 100%;
}

.wp-block-navigation.mobilenav .wp-block-navigation-item a,
.wp-block-navigation.mobilenav .wp-block-navigation-item a.wp-block-navigation-item__content {
	padding: .5em 1.5em;
	width: 100%;
}

.wp-block-navigation.mobilenav .wp-block-navigation-item a:hover, 
.wp-block-navigation.mobilenav .wp-block-navigation-item a:focus {
	background-color: var(--wp--preset--color--contrast-3);
	color: var(--wp--preset--color--base);
	text-decoration: underline;
	text-underline-offset: 3px;
	padding: .5em 1.5em;
}

.wp-block-navigation.mobilenav .wp-block-navigation-item a[aria-current="page"] {
	background-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast-2);
	text-decoration: underline;
	text-underline-offset: 3px;
	padding: .5em 1.5em;
}

.mobilenav ul li.current-menu-item a {
	background-color: var(--wp--preset--color--contrast-3);
    color: var(--wp--preset--color--accent);
}

.wp-block-navigation.mobilenav.has-background .wp-block-navigation__submenu-container {
    background-color: var(--wp--preset--color--contrast-2) !important;
}

.wp-block-navigation.mobilenav button.wp-block-navigation__responsive-container-open:after {
    content: "Menu";
    text-transform: uppercase;
}

.mobilenav button.wp-block-navigation__responsive-container-open {
	margin: 0 auto;
}

.wp-block-navigation.mobilenav button.wp-block-navigation__responsive-container-close:after {
    content: "Close";
    padding: 0.5em 0;
    text-transform: uppercase;
}

.wp-block-navigation.mobilenav.items-justified-center{
	width: 100%;
}

.mobilenav div.wp-block-spacer {
	background-color: var(--wp--preset--color--accent);
	width: 100% !important;
	height: 2px !important;
}

/*--------------------------------------------------------------
 * 3.0 Header
 --------------------------------------------------------------*/

header .wp-block-site-logo {		
	margin-right: 0;
	margin-top: -3.5em;
	margin-left: -4em;
	margin-bottom: -2em;
	z-index: 1000;
}

/*--------------------------------------------------------------
 * 4.0 Footer
 --------------------------------------------------------------*/

.mission h3,
.mission p {
	text-shadow: 2px 2px 5px var(--wp--preset--color--contrast);
}

.tagline {
	font-weight: 400;
}
.tagline strong {
	font-size: 150%;
	font-weight: 800;
}

/*--------------------------------------------------------------
 * 5.0 Pages
 --------------------------------------------------------------*/

/* 5.1 Page - Search Results */

/* Add icons before results of different types — page, post, pdf */

body.search.search-results .wp-block-query li.type-page h2.wp-block-post-title::before {
    content: "\f108";
    font-family: 'FontAwesome';
    color: var(--wp--preset--color--contrast-2);
    padding-right: 0.25em;
    text-transform: uppercase;
}
    
body.search.search-results .wp-block-query li.type-post h2.wp-block-post-title::before {
    content: "\f1ea";
    font-family: 'FontAwesome';
    color: var(--wp--preset--color--contrast-2);
    padding-right: 0.25em;
    text-transform: uppercase;
}

body.search.search-results .wp-block-query li.type-pdf h2.wp-block-post-title::before {
    content: "\f1c1";
    font-family: 'FontAwesome';
    color: var(--wp--preset--color--contrast-2);
    padding-right: 0.25em;
    text-transform: uppercase;
}

/* 5.2 Page - Staff Directory Results */
/* Staff Directory Results styles */

.noblanks {
	margin-left: 2em;
	font-weight: bold;
}

.noresults {
	margin-left: 2em;
	font-weight: bold;
}

table#datatable.tablesorter.staff {
	width: 90%;
}

table#datatable.tablesorter.staff thead tr {
	text-align: left;
	background-color: #fdb913; /* Updated to Dark Blue*/
	color: #00174a; /* Updated to Yellow*/
}

table#datatable.tablesorter.staff tr:nth-child(even) {
	background-color: #f2f2f2;
}

thead tr th.header {
	cursor: pointer;
}


/*--------------------------------------------------------------
 * 6.0 Features
 --------------------------------------------------------------*/

/* 6.1 Features - Special Alert Bar */

.special-alert h1:after {
    content:"\f06a";
    color: var(--wp--preset--color--base);
    margin-left:0.5em;
    font-family:'FontAwesome';
    font-weight:normal;
}

/* 6.2 Features - ICS Calendar - Global, home and landing pg views */

.wp-site-blocks .ics-calendar dl.events {
	padding-left: 1em;
}

.wp-site-blocks .ics-calendar dl.events dt.time {
	font-size: 90%;
	font-weight: 400;
	text-transform: uppercase;
}

.wp-site-blocks .ics-calendar .events .time .end_time {
    font-size: 100%;
}

.wp-site-blocks span.title {
	font-weight: 700;
}

.homecalendar .ics-calendar-date-wrapper .ics-calendar-date {
    background: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--contrast-2);
    margin: 0 0 0 0;
    padding: 0.75em 0.75em;
    max-width: 4em;
    min-width: 4em;
    text-align: center;
    text-transform: uppercase;
    font-size: var(--wp--preset--font-size--xx-large);
}

.homecalendar .ics-calendar-date-wrapper .ics-calendar-date .multiday-end {
	font-size: 75%;
}

.homecalendar .ics-calendar-date-wrapper {
	display: flex;
	align-items: flex-start;
	padding-bottom: 1em;
    margin-bottom: 1em;
    border-bottom: 1px solid var(--wp--preset--color--contrast-2);
}

.homecalendar .ics-calendar-list-wrapper .ics-calendar-label {
	display: none!important;
}

.homecalendar dl.events {
	margin: 0 0 1.5em;
	flex-basis: calc(100% - 3em);
	font-size: var(--wp--preset--font-size--medium-large);
}

.homecalendar .ics-calendar dl.events dt.time,
.homecalendar .ics-calendar dl.events dt.all-day-indicator {
    font-size: 90%;
    font-weight: 400;
	padding-top: .5rem;
    text-transform: uppercase;
}


/* 6.3 Features - ICS Calendar - Grid View */

.wp-site-blocks table.ics-calendar-month-grid th {
	font-size: var(--wp--preset--font-size--medium);
	background-color: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
}

.wp-site-blocks .ics-calendar-month-grid .event {
	font-size: var(--wp--preset--font-size--small);
}

.wp-site-blocks .ics-calendar-month-grid span.title.has_desc.confirmed {
	text-decoration: underline;
}

.wp-site-blocks .ics-calendar-month-grid .events .time {
    font-size: 90%;
    font-weight: 400;
}

.wp-site-blocks .ics-calendar-month-grid .day {
	font-size: var(--wp--preset--font-size--small);
}

.wp-site-blocks .ics-calendar-month-wrapper h3 {
	font-size: var(--wp--preset--font-size--large);
}

.wp-site-blocks .ics-calendar-month-grid .today div.day {
	background: var(--wp--preset--color--contrast-2)!important;
}

/* Full Calendar List View*/

.fulllist .ics-calendar-date-wrapper .ics-calendar-date {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast-2);
	margin: 0 .5em 0 0;
	padding: 0.5em;
	font-size: var(--wp--preset--font-size--mdeium-large);
}

.fulllist .ics-calendar dl.events dt.all-day-indicator {
	padding-top: .5rem;
	text-transform: uppercase;
}

.fulllist .ics-calendar dl.events dd.event.all-day.multiday_first {
	padding-top: .5rem;
}

/* 6.4 Features - Yoast Breadcrumbs */

.yoast-breadcrumbs {
	color: var(--wp--preset--color--contrast);
	font-size: 1rem;
	font-family: 'Open Sans', sans-serif;
}

.yoast-breadcrumbs a {
	color: var(--wp--preset--color--contrast);
}

/* 6.5 Features - News Feed */

.newsgroup .post-date {
	width: fit-content;
	margin-left: 0 !important;
}

.newsgroup .wp-block-query h3.wp-block-post-title:after {
    color: var(--wp--preset--color--accent);
    content: "\f061";
    font-family: FontAwesome;
	font-weight: 900;
    margin-left: 0.25em;
    vertical-align: baseline;
    font-size: smaller;
}

.newsgroup .wp-block-post-title :where(a) {
    display: inline;
}

/* 6.5 Features - Tabs */

.wp-site-blocks li.advgb-tab {
	margin-bottom: 0 !important;
}

.wp-site-blocks button.advgb-tab-button,
.wp-site-blocks .advgb-tab-body-header {
	font-size: var(--wp--preset--font-size--large) !important;
	font-weight: 700 !important;
	padding: 1em !important;
	text-transform: uppercase;
}

.wp-site-blocks div.advgb-tab-body {
	border: 5px solid var(--wp--preset--color--accent);
	padding: 3em;
}



/*--------------------------------------------------------------
 * 7.0 Media Queries
 --------------------------------------------------------------*/

@media screen and (max-width: 1320px) {
	
	.wp-site-blocks button.advgb-tab-button {
    	font-size: var(--wp--preset--font-size--medium-large) !important;
	}
	
	header .wp-block-site-logo {		
	margin-left: -4em;
	}
	
	.secondarynav {
		padding-left: 13.5em;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1320px) {

	.secondarynav {
		padding-left: 12em;
	}
	
}

@media screen and (max-width: 1200px) {
	

	/* Force columns within the HOME PAGE CALENDAR AND TABS GROUP to remain single-column view until 1200px */
	
	.home-calendar-tabs .wp-block-columns {
        flex-wrap: wrap !important;
    }
	
	.home-calendar-tabs .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis] {
        flex-grow: 1;
    }	
	
	.secondarynav {
		padding-left: 11.5em;
	}

}

@media screen and (max-width: 1170px) {
	
	header .wp-block-site-logo {		
	margin-left: 0em;
	}	
	
	.secondarynav {
		padding-left: 11.5em;
	}
	
	}

@media screen and (max-width: 1024px) {
	
	header .wp-block-site-logo {		
	margin: 0;
	z-index: 1;
	align-content: center;
}
	.horizontallogo {
		flex-basis: 37%;
		margin-left: -2em;
	}
	
	.secondarynav {
		padding-left: 2em;
	}
	
	/* Featured button group 1 (manual) */
	
	.button-grid-1 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	
	/* Force columns to remain single-column view until 1024px */
	
	.wp-block-columns {
        flex-wrap: wrap !important;
    }
	
	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis] {
        flex-grow: 1;
    }
	

}

@media screen and (max-width: 900px) {
	
	/* Footer */
	
	.footer-column1,
	.footer-column2,
	.footer-column3 {
		font-size: var(--wp--preset--font-size--small)!important;
	}

	
} 

@media screen and (max-width: 783px) {
	
	/* The 783px query is for the ICS calendar only because 783px is the point where it switches from list to grid view. */ 
	

	
}

@media screen and (max-width: 800px) {
	
		.secondarynav {
		padding-left: 2em;
	}
	
	}

@media screen and (max-width: 782px) {
	
	/* Header */
	
	header .wp-block-site-logo {		
	margin: 0;
	z-index: 1;
}
	.secondarynav {
		padding-left: 1em;
	
	}
	
	.schoolnav {
		flex-wrap: wrap;
	}
	
	.header-right {
		justify-content: center;
	}
	
	/* Featured button group 1 (manual) */
	
	.button-grid-1 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	
	/* Footer */
	
	.footer-column1 {
		border-right: none;
		padding-right: 0 !important;
	}
	
	/*
	.footer-column1 .wp-block-image {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.tagline {
		text-align: center;
	}
	 */
	
	.footer-column2 {
		padding-left: 0 !important;
		display:flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	
	/* Desktop nav visability */
	
	div.desktopnav {
		display: none;
	}
	
}
	
	/* Mobile nav visability */
	
@media screen and (min-width: 782px) {
		
	div.mobilenav {
		display: none;
	}
	
	div.desktopnav {
		display:block;
	}
}


@media screen and (max-width: 600px) {

/*  --Responsive TABLES--
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {

	/* Only apply these mobile styles to tables with class 'responsive' 
	table.responsive, 
	table.responsive thead, 
	table.responsive tbody, 
	table.responsive th, 
	table.responsive td, 
	table.responsive tr { 
		display: block; 
		margin-bottom: 0px;
	}

	table.responsive th {
		background: #eeeeee;
		border: 1px solid #dddddd;
		padding: 20px 5px; 
	}

	table.responsive thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	table.responsive tr { border: 1px solid #ccc; }
	
	table.responsive td { 
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding: 7% 2%;
		height: auto;
	}
	
	table.responsive td:before { 
		position: absolute;
		top: 2px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	*/
	
	
		/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
		margin-bottom: 0px;
	}
	
	table th {
	background:#eeeeee;
	border: 1px solid #dddddd;
	padding: 20px 5px; 
	}

	
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding: 7% 2%;
		height: auto;
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 2px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/* Label the data only for responsive staff tables */
	.staff td:nth-of-type(1):before { content: "Last:"; font-weight: bold; }
	.staff td:nth-of-type(2):before { content: "First:"; font-weight: bold; }
	.staff td:nth-of-type(3):before { content: "Email:"; font-weight: bold; }
	.staff td:nth-of-type(4):before { content: "Phone Number:"; font-weight: bold; }
	.staff td:nth-of-type(5):before { content: "Title:"; font-weight: bold; }
	.staff td:nth-of-type(6):before { content: "Department:"; font-weight: bold; }
}
}



