html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

body {
	color: #444;
	font-family: "Open Sans",Helvetica,Arial,sans-serif;
	font-size: 100%;      /* 16px */
	line-height:1.5;      /* 16px * 1.5 = 24px (This is now our magic number; all subsequent margin-bottoms and line-heights want to be a multiple of this number in order to maintain vertical rhythm.) */
	-webkit-font-smoothing: subpixel-antialiased; /* fix text rendering in safari */
	font-weight: 400;
	background: #eee;
} 

#page { background: white; }


/* Typography -- see http://csswizardry.com/2012/02/pragmatic-practical-font-sizing-in-css/ */

h1,h2,h3 {
	font-family: "Open Sans Condensed",Helvetica,Arial,sans-serif;
	font-weight: 700;
}

h1#site-name,
h2#site-slogan {
	font-family: "Open Sans",Helvetica,Arial,sans-serif;
}

h1,h2,h3,h4,h5,h6,
ul,ol,dl,
fieldset,
p,
table,
pre,
hr{
    margin: 0;
    margin-bottom:12px;
    margin-bottom:.75rem;
    font-weight: normal;
}

h1,.alpha{
    font-size:30px;
    font-size:1.875rem; /* 30px */
    line-height:1.2;    /* 36px */
}
h2,.beta{
    font-size:24px;
    font-size:1.5rem;   /* 24px */
    line-height:1;      /* 24px */
}
h3,.gamma{
    font-size:20px;
    font-size:1.25rem;  /* 20px */
    line-height:1.2;    /* 24px */
}
h4,.delta{
    font-size:18px;
    font-size:1.125rem; /* 18px */
    line-height:1.333;  /* 24px */
}
h5,.epsilon{
    font-size:16px;
    font-size:1rem;     /* 16px */
    line-height:1.5;    /* 24px */
}
h6,.zeta{
    font-size:16px;
    font-size:1rem;     /* 16px */
    line-height:1.5;    /* 24px */
}

small,.milli {
    font-size:12px;
    font-size:0.75rem;  /* 12px */
    line-height:2;      /* 24px */
}

p { margin: auto auto 1.5em; }

strong { font-weight: bold; }
em { font-style: italic; }

a:link,
a:visited { color: #881c1c; }

a:hover, a.active:hover, a:focus, a.active:focus {
    color: black;
    text-decoration: none;
}

#site-name a, #block-menu-menu-utility-links a, .menu-block-wrapper a, .nav a, .flex-caption a {
    text-decoration: none;
}


/* UMass Banner -- Large Screens */

#umass-banner {
  padding: 1.15em;
  background-color: #881c1c;
}

#umass-banner .container, #umass-banner #metanav .container { max-width: 1200px; }

#umass-banner a#wordmark {
	background: url(images/wordmark.svg) no-repeat;
	height: 1.5em;
	width: 12em;
	float: left;
	background-size: contain;
	font: inherit; /* counteracts font declaration in .ir class */
  margin-top: .1em
}

.lt-ie9 #umass-banner a#wordmark { background: url(images/wordmark.png) no-repeat; } /* fallback for ie8  */

#umass-banner a {	color:#fff; }

#umass-banner .metanav-toggle {
  float: right; 
  padding: .25em 2em 0 .25em;
	text-decoration: none;
	color:#fff;	 	 					 																						
	display: block;
}

#umass-banner .metanav-toggle .fa { 
  font-size: 1.3em;
  position: relative;
  top: 0.05em;
}

#umass-banner form { float: right; }

#umass-banner + #metanav {
  clear:both;
  display:none;
  background: linear-gradient(to bottom, #303030 50%, #444 100%) #303030;
  background-color: #303030; /* fallback for ie8 & ie9 */
  text-align:right;
  padding-right: .5em;
}

#umass-banner + #metanav li { 
	display: inline-block; 
	border-right: 1px solid #000;
	margin: 0px;
	}

#umass-banner + #metanav a {
  display: block;
  color:#fff;
  padding: .5em 1em;
  font-size: .8em;
  text-decoration: none;
}

#umass-banner + #metanav a:hover { text-decoration: none; }

#umass-banner input { 
  font-family: inherit;
  border: none;
  padding: 0.25em;
}

#umass-banner input[type="submit"] {
	background: #881c1c url(images/search.svg) 0 -2px no-repeat;
	height: 1.75em;
	width: 1.75em;
	background-size: contain;
	text-indent: -9999px; 
	vertical-align: middle;
  box-shadow: none;
}


/* UMass Banner -- Small Screens */

@media only screen and (max-width:34em) {

  #umass-banner a#wordmark, 
  #umass-banner + #metanav { 
    float: none; 
    margin: 0 auto;
    text-align: center;
    padding: 0;
  }
  
  #umass-banner .metanav-toggle { 
    float: left;
    padding-right: 1em; 
  }
  
  #umass-banner a#wordmark { margin-bottom: 1.2em; }
  
  #umass-banner + #metanav ul { padding: 0; }

}


/* UMass Footer */

#umass-footer { 
  min-height: 4em; 
  background: linear-gradient(to bottom, #333 50%, #444 100%);
  padding-top: 1em;
}

#umass-footer p,
#umass-footer a { color: #ccc; }

#umass-footer p { 
	text-align: center; 
	font-size: .9em; 
}

#umass-footer a:hover, 
#umass-footer a:focus { color: white; }


/* Helper classes */

.ir {
  /* Kellum Method */
  display: block !important;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  /* Additional helpers */
  border: 0; /* Remove the default border from elements like button */
  font: 0/0 a; /* Crush the text down to take up no space */
  text-shadow: none; /* Remove any text shadows */
  color: transparent; /* Hide any residual text in Safari 4 and any mobile devices that may need it */
  background-color: transparent; /* Hide the default background color on elements like button */
}

.element-invisible {
    border: 0px none;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0px;
    position: absolute !important;
    width: 1px;
}

.container {  margin: 0 auto; }

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.clearfix { zoom: 1; }