/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
/* Modified with style packages in the end for the Rutgers-Newark Junior Number Theory Days*/
/* Adapted from the Johns-Hopkins - University of Maryland Algebra and Number Theory Day website */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS and IE text size adjust after device orientation change,
 *    without disabling user zoom.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * Improve readability of focused elements when they are also in an
 * active/hover state.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  box-sizing: content-box; /* 2 */
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}



/* ADDED */

/* 	============================================================================
		Begin: Style Packages 
		============================================================================ */

/* +++ Package: General Layout */

body {
	background-color: #fafbfc; /* Needs to match the bg color of the footer for when there isn't much content on a page */
}
.center {
	width: 1000px;
	margin: 0 auto;
}
.page-section {
	min-width: 1000px;
	padding: 0 20px;
}
.bgi {
	display: block;
	background-repeat: no-repeat;
	background-position: top left;
	text-indent: -9999px;
}
.mod:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	font-family: Georgia, serif;
}
.main-content {
	background-color: #fff;
}
.main-content .center {
	padding-top: 20px;
	padding-bottom: 50px;
}
	
/* +++ Sub-package: OOCSS Column Layout -- often moved to a @media query block */
.col {
	width: 28%;
	margin-right: 5%;
	float: left;
}

.colnav {
	width: 20%;
}
	
.colwide {
	width: 67%;
}

.colwidenav {
	width: 75%;
}

.colhalf {
	width: 47.5%;
}

.colend {
	margin-right: 0;
}

.colfull {
	width: 100%;
	margin-right: 0;
	float: none;
}

.schedule {
	margin-top:0px;
	margin-bottom:20px;
}

.schedule table {
	border-collapse: collapse;
	text-align: left;
}

.schedule td {
	padding: 5px;
}

/* +++ Package: Typography */

body, p {
	font-size: 100%;
	line-height: 140%;
}
.ff-primary, .se-bodycontent h1, .se-bodycontent h2 {
	font-family: myriad-pro-1, myriad-pro-2, "Myriad Pro", Calibri, Helvetica, Arial, sans-serif;
}

/* +++ Package: Links */

a, a:link, a:visited {
	color: #bb0033;
	text-decoration: none;
}
a:hover {
	color: #00337F;
}/* +++ Package: Identity Header Styles */

.header {
	background-color: #cc0033;
	padding: 10px 0 20px;
}


.meta-nav ul {
	margin: 0;
	list-style: none;
	padding: 0;
	overflow: hidden;
	display: inline;
	float: left;
}
.meta-nav li {
	float: left;
	margin-right: 15px;
}

/*

Coolest CSS I've ever written? Maybe, but the vertical lines are just a bit much.

.meta-nav li:after {
	content: "|";
	color: #efefef;
	font-weight: 100;
	position: relative;
	font-size: 70%;
	left: 4px;
	top: -1px;
}
.meta-nav li:last-child:after {
	display: none;
}

*/

.meta-nav a {
	color: #efefef;
}
.meta-nav a {
	color: rgba(255,255,255,0.8);
	padding: 5px 8px 5px 0;
	font-size: 12px;
}
.meta-nav a:hover {
	color: #fff;
}


/* +++ Sub-package: Header "Deep" */

.meta-nav {
	width: 775px; /* Needs to be width of .center - width of your search bar, + any space you want to be between the two */
	float: left;
}

.meta-nav-search {
	padding-bottom: 20px;
}

.search {
	float: right;
	width: 200px;
}

.jhu-horizontal {
	width: 150px;
	height: 50px;
	background-image: url(images/jhu-noseal-white.png);
	background-position: left center;
	padding-right: 25px;
	border-right: 1px solid #cadef0; /* = rgba(255,255,255,0.7) over #aa0033 */
	float: left;
	margin: 0;
}

.titles {
	padding-left: 200px;
	padding-top: 6px;
}
.titles h1, .titles p {
	margin: 0;
}

a.site-title {
	color: #fff;
	font-size: 32px;
	line-height: 40px;
	margin: 0;
	font-weight: 100;
	display: block;
}
.site-subtitle {
	color: #fff;
	font-size: 16px;
	line-height: 130%;
}
/* +++ Package: Search Bar */

.search {
	clear: right;
	float: right;
	position: relative;
	right: -10px;
	overflow: hidden;
}

.search-input {
	border: none;
	outline: none;
	color: white;
	font-size: 12px;
	line-height: 15px;
	padding: 3px 27px 3px 8px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	display: block;
	background: #7BACD9;
	height: 15px;
}

.search-submit {
	width: 21px;
	height: 21px;
	padding: 21px 0 0;
	margin: 0;
	border: 0;
	background: transparent url(http://web.jhu.edu/bin/p/u/search-glass.png) no-repeat right top;
	overflow: hidden;
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 0;
}

/* individual: webkit */
.search-input::-webkit-input-placeholder { color: rgba(255,255,255,0.6); font-size: 12px; line-height: 15px; }
    
/* individual: mozilla */
.search-input:-moz-placeholder { color: rgba(255,255,255,0.6); font-size: 12px; line-height: 15px; }

/* Some Google Default Style overrides */
.cse .gsc-control-cse, .gsc-control-cse {
	background-color: transparent !important;
	border: none !important;
	padding: 0 !important;
	width: auto !important;
}
.cse .gsc-webResult.gsc-result, .gsc-webResult.gsc-result {
	padding: 0 !important;
	border: none !important;
}
a.gs_title {
	color: #aa0033;
}

form.gsc-search-box { display: block !important; margin-bottom: 30px !important; }
.gsc-input input { padding: 4px 3%; width: 96% !important; }
.gsc-clear-button { display: none !important; }.nav ul {
	list-style: none;
	padding: 0;
}
.nav a {
	display: block;
}



.nav-horizontal {
	background: #eff3f7 url(images/bg-navd.gif) bottom left repeat-x;
}
.nav-horizontal ul {
	margin: 0;
	position: relative;
	left: -15px;
}
.nav-horizontal ul ul {
	position: static;
}
.nav-horizontal li {
	float: left;
	position: relative;
	margin-right: 1px;
}
.nav-horizontal li li {
	float: none;
	position: static;
	margin-right: 0;
}
.nav-horizontal li ul {
	width: 200px;
	position: absolute;
	left: -9999px;
	-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.nav-horizontal a {
	padding: 0 15px;
	font-size: 13px;
	line-height: 34px;
}
.nav-horizontal li.current-path ul a {
	background-color: transparent;
	color: #aa0033;
}

.snav-horizontal li { background-color: #aa0033; }
.nav-horizontal a:hover, .nav-horizontal a.current-page, .nav-horizontal li.current-path > a, .nav-horizontal ul li:hover > a, .nav-horizontal ul li.hover > a {
	background-color: #b1c5d7;
	color: #00337F;
}
.nav-horizontal li a.first-top {
	background-color: transparent;
}
.nav-horizontal li a.first-top:hover {
	background-color: #b1c5d7;
}
.nav-horizontal li li a {
	font-size: 13px;
	line-height: 130%;
}

.nav-vertical a {
	font-size: 13px;
	color: #666;
	padding: 8px 10px 8px 0;
	line-height: 18px;
}
.nav-vertical a:hover {
	color: #aa0033;
}
.nav-vertical li {
	border-bottom: 1px solid #e8ecf0;
}
.nav-vertical li li a {
	padding-top: 5px;
	padding-bottom: 5px;
}
.nav-vertical li li {
	border: none;
}
.nav-vertical ul {
	margin: 0;
}
.nav-vertical li li {
	margin-left: 20px;
}

.nav-vertical .current-page {
	font-weight: bold !important;
	color: #aa0033;
}
.nav-vertical li li .current-page {
	padding-left: 15px;
	background: url(images/square.gif) left 11px no-repeat;
	position: relative;
	left: -15px;
}
.nav-vertical li.current-path a {
	font-weight: bold;
}
.nav-vertical li.current-path ul a {
	font-weight: normal;
}


/* Nested <ul> elements will appear below a horizontal nav setup, on hover */
.nav-dropdown li ul {
	top: 34px;
	background-color: #eff3f7;
	border-top: 1px solid #fff;
}
.nav-dropdown li li a {
	padding: 10px 15px;
}
.nav-dropdown li:hover ul, .nav-dropdown li.hover ul {
	left: 0;
}
.nav-dropdown li li ul { display: none; }

/* +++ Sub-Package: Levels
 * 
 * How many levels down into nested <ul> elements
 * should this navigation setup display?
 */
 
.nav-levels-1 li ul {
	position: static;
	display: none;
}
.nav-levels-2 li li ul {
	position: static;
	display: none;
}
.nav-levels-3 li li li ul {
	position: static;
	display: none;
}

/* +++ Sub-Package: Hide Inactive
 *
 * In vertical navigation, use this class to hide all top level sections
 * besides the one you are currently inside of.
 */
.nav-hide-inactive li {
	display: none;
	border: none;
}
.nav-hide-inactive .current-path, .nav-hide-inactive .current-path li {
	display: block;
}
.nav-hide-inactive .current-path ul ul {
	display: none;
}
.nav-hide-inactive li .current-path ul {
	display: block;
}
.nav-hide-inactive li li {
	margin-left: 0;
}
.nav-hide-inactive li li li {
	margin-left: 20px;
}

.nav-hide-inactive a {
	border-bottom: 1px solid #e8ecf0;
	margin-bottom: 5px;
}
.nav-hide-inactive li li a {
	border: none;
	margin-bottom: 0;
}

/* +++ Sub-Package: Expand Active
 * 
 * In vertical navigation, use this class to expand the 2nd level of links
 * only in the section you are currently within. 
 *
 * Note: Similar to "hide-inactive", but this class will display the other
 * top level links, without their second level expanded, whereas "hide-inactive"
 * does not display the other top-level links at all.
 */
.nav-expand-active li li {
	display: none;
}
.nav-expand-active .current-path li { 
	display: block;
}
.nav-expand-active .current-ancestor {
	font-weight: bold !important;
}
/*
.nav-expand-active .current-location, .nav-expand-active .current-location li {
	display: block;
}
*/
.nav-expand-active .current-path li li {
	display: none;
}
.nav-expand-active li .current-siblings li {
	display: block;
}
.nav-expand-active li .current-siblings li li {
	display: none;
}
.nav-expand-active li .current-location ul li {
	display: block;
}

/* +++ Package: Body Content Styles */

/* The following default styles will work if you
 * wrap your SE body content marker with
 * a div with a class of .bodycontent".
 *
 * Like this: <div class=bodycontent"> [body content marker] </div>
 */

.bodycontent p {
	margin-bottom: 1em;
}
.bodycontent p, .bodycontent li {
	line-height: 145%;
}
.bodycontent ul, .bodycontent ol {
	margin-top: 1em;
	margin-bottom: 1em;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	/* Should all headings be in our Myriad Pro? I say yes. Remove the next line if you disagree. */
	font-family: myriad-pro-1, myriad-pro-2, "Myriad Pro", Calibri, Helvetica, Arial, sans-serif;
	color: #222;
}
.bodycontent h1 {
	font-size: 170%;
	line-height: 130%;
	margin-bottom: 0.5em;
	margin-top: 0;
}
.bodycontent h2 {
	font-size: 130%;
	line-height: 130%;
	margin: 1.5em 0 0.5em;
}
.bodycontent h3 {
	font-size: 130%;
	line-height: 130%;
	margin: 1.5em 0 0.5em;
}
.bodycontent h4, .bodycontent h5, .bodycontent h6 {
	font-size: 100%;
	line-height: 130%;
	margin: 1.5em 0 1em;
}
.bodycontent img {
	max-width: 95%; 						/* Prevents large images from breaking layouts */
	height: auto !important; 		/* Prevents scaled images from breaking their aspect ratios */
	
	/* Uncomment the following if you want to add a subtle shadow under placed images. */
	/*
	-webkit-box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
	   -moz-box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
	        box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
	*/
}

/* The following takes care of the IE7 problem
 * where align="left" doesn't behave the way 
 * you expect. Amazingly, IE7 understands the
 * img[align="left"] syntax. Sweet!
 */
.bodycontent img[align="left"] {
	float: left;
	margin-right: 20px;
}
.bodycontent img[align="right"] {
	float: right;
	margin-left: 20px;
}
/* +++ Package: JHU Identity Footer */

.footer {
	border-top: 5px solid #edf4fa;
	background-color: #fafbfc;
}
.footer .center {
	padding: 15px 0 25px;
}
.footer-nav {
	font-size: 12px;
	color: #aa0033;
}
.footer-nav a {
	margin-right: 15px;
}
.footer a {
	color: #cc0033;
}
.footer a:hover {
	color: #550033;
}
.footer-text {
	font-size: 12px;
	line-height: 16px;
	color: #cc0033;
}
.footer-text p {
	margin: 0;
}
.footer .footer-nav {
	margin-bottom: 15px;
}

.jhu-vertical {
	background-image: url(images/jhu-noseal-blue.png);
	width: 152px;
	height: 50px;
	float: right;
}
