/* CSS Document */

/* Let WordPress handle the top nav */
#nav {
	display:block;
}
/* Search */
#searchform {
	margin-bottom:20px;	
}
#s {
	width:56%;
}
#header {
  height:95px;
  border:none;
  background:transparent url(//web.stanford.edu/stanfordmodern/images/body_bg3.jpg) repeat-x left top;
}
#header h1 {
  padding:21px 0 10px;
  font-size:27px;
  font-weight:300;
  text-rendering:optimizelegibility;
  font-family:'Source Sans Pro',Arial,Helvetica,sans-serif;
  float:left;
  width:100%;
}
#header h1 a {
  color:#fff;
  display:block;
  float:left;
}
#header em {
  font-style:normal;
}
/* Single line */
body.single-line #header h1 a {
  font-size:1.2em;
  line-height:22px;
}
/* Double line */
body.double-line #header h1 a {
  font-size:.7em;
  line-height:18px;
}
/* Hide the description if single line */
body.single-line #header em {
  display:none;
}
body.double-line #header h1 a:nth-child(2),
body.double-line #header h1:first-child + h1 a {
  margin-top:0;
  padding:2px 0 0 15px;
}
#header h1 a:nth-child(2), 
#header h1:first-child + h1 a {
  border-left:1px solid #d5d0c0;
  margin-top:5px;
  padding:11px 0 0 10px;
}
body.double-line #header h1 a:nth-child(2) {
  font-size: 22px;
}
#header h1 a em {
  margin-top: 5px;
  margin-left: 2px;
  font-size: 14px;
}
#header img.wordmark {
  margin:0 0 -2px 0;
  padding:5px 10px 0 0;
}
@media screen and (min-width: 641px) {
  /* Remove subhead */
  #header em {
    display:block;
  }
  /* Hide the description if single line */
  body.single-line #header em {
    display:none;
  }
}
#layout {
  background:none;
}
#header .container {
  width:960px;
  margin:0 auto;
  display:block;
}
/* Removed width for WordPress footer fix */
.container {
  margin:0 auto;
  position:relative;
}

/* Sidebar right */

/* Expand right sidebar width 
body.sidebar-right #center {
  width:650px;
}
body.sidebar-right #sidebar-right {
  width:279px;
}
body.sidebar-right #content {
  background:transparent url("https://www.stanford.edu/stanfordmodern/images/bg-sidebar-right.gif") repeat-y -120px top
}
*/
#sidebar-right {
  background-position: 65% 100%;
}

/* Style the date */
.meta {
	font-style:italic;
	margin-bottom:10px;
}
/* Current page marker */
.current-menu-item {
	font-weight: bold;
	color: #820000 !important;
}
/* Remove underline from images */
.entry a {
	border:0;
}
/* Link fixes */
.post h2 a {
	border-bottom:0;
}
.entry p a {
	text-decoration:underline;
}
/* Clean up spacing */
.post h2 {
	font-size:1.75em;
	margin:0 0 0.4em 0;
	letter-spacing:0;
}
.post {
	margin-bottom:3em;
}
/* Images */
.wp-caption {
	text-align: center;
	background-color: #f3f3f3;
	margin: 10px;
	padding-top: 4px;
	border: 1px solid #ccc;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.wp-caption-text {
	line-height:1.2em;
	margin:0;
	padding:0.4em 0.75em 0.7em 0.75em;
	font-size:0.85em;
}
.alignright {
	float:right;
	margin:0 0 5px 7px;
}
.alignleft {
	float:left;
	margin:0 7px 5px 0;
}
.clear {
	clear:both;	
}
/* Remove horizontal stroke */
#footer {
  border-top:none;
}

#bottom-text ul li a {
	border-bottom: none;
	}

/* Retina images IE Bootstrap bug fix */
/* IE 8/9, IE7 */

#brandbar img {
  width:153px\0/;
  height:22px\0/;
  *width:153px;
  *height:22px;
}

#header img {
  width:180px\0/;
  height:40px\0/;
  *width:180px;
  *height:40px;
}

#global-footer img {
  width:105px\0/;
  height:49px\0/;
  *width:105px;
  *height:49px;
}

/* IE9 footer height fix */
:root #global-footer {
  height: 120px\9;
}

#wp-calendar caption {
  background: #820000;
  color: #FFF;
  padding: 5px;
}
#wp-calendar thead th {
  text-align: center;
  width: 14%;
}
#wp-calendar tbody td {
  padding: 0;
  text-align: center;
  line-height: 1.5;
}
#wp-calendar tbody td a {
  background: #f3efd8;
  display: block;
  border-bottom: 0;
}
#wp-calendar tbody td a:hover {
  background: #820;
  color: #FFF;
}

div.navigation {
  background: #f6f3e5;
  margin-bottom: 15px;
  padding: 5px;
}
div.breadcrumb {
  margin-bottom: 0;
}
