/* -----------------------------------------------
bepress IR local stylesheet.
Author:   Paul Ryan
Version:  January 2017
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

/* ---------------- Meta Elements ---------------- */

	/* --- Google font --- */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700');	

	/* --- Meta styles and background --- */

body {
	/* style | variant | weight | stretch | size/line-height | family */
	font: normal 12px/1.5 'Open Sans', sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #ffffff url(assets/md5images/11b4303a003be853331015001e1341ce.gif) top left repeat-x; 
}

#wustl { background: url(assets/md5images/f36ef0bdc91a0360615c58f364c1d83a.gif) repeat-x left bottom; }


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

#wustl #header {
	position: relative;  /* needed for logo positioning */
  	height: auto !important; /* !important overrides mbl styling */
  	margin: 1px 0;
}

#wustl #banner_image {
	display: block; /* removes descender of inline element */
	width: 980px; /* not necessary if image is sized correctly */
	height: auto;  /* avoids warping improperly sized header image */
}

	/* --- Logo --- */

#wustl #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0; 
	left: 0;  /* change to "right:" for right aligned logo */
	width: 25.918367% !important;  /* 460 / 980 */
	height: auto; 
}

#wustl #header a#banner_link:focus img,
#wustl #header a#logo_link:focus img {
  outline: 1px dashed #000;
}
/* ---------------- Navigation ---------------- */

#wustl #navigation,
#wustl #navigation #tabs {
	height: 44px; 
	overflow: hidden; /* have seen issues with tabs extending below nav container */
	background: transparent;
}

#wustl #navigation #tabs,
#wustl #navigation #tabs ul,
#wustl #navigation #tabs ul li {
	padding: 0;
	margin: 0; 
}

#wustl #navigation #tabs,
#wustl #navigation #tabs ul {
	display: flex;
	justify-content: flex-end;
	width: 100%;
}

#wustl #navigation #tabs a {
	font: 600 15px 'Open Sans', sans-serif;	
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */
	height: 44px;
	line-height: 44px;
	color: #fff; 
	text-transform: uppercase;
	background-color: transparent;
	padding: 0 18px; 
	margin: 0;
	border: 0;
}

#wustl #navigation #tabs #tabone a { padding-left: 15px; } /* switch for right-aligned nav tabs */

#wustl #navigation #tabs a:hover,
#wustl #navigation #tabs a:active,
#wustl #navigation #tabs a:focus {
	text-decoration: underline; 
}

/* ---------------- Sidebar ---------------- */

#wustl #sidebar { 
	padding-top: 16px; 
}

#wustl #sidebar h2 {
	font: 700 15px 'Open Sans', sans-serif;	
	color: #000000;
	text-transform: uppercase;
	background: transparent;	
	padding: 0;
	margin: 0;
	border: none; 
}

#wustl #sidebar a {
	font: 400 13px 'Open Sans', sans-serif;
	color: #990000;
	text-decoration: none; 
}

#wustl #sidebar a:hover,
#wustl #sidebar a:active,
#wustl #sidebar a:focus {
	color: #000000;
	text-decoration: underline; 
}

#wustl #sidebar #sidebar-search label {
	font-size: 400 13px 'Open Sans', sans-serif;
	color: #000000; 
}

#wustl #sidebar #sidebar-search {
	padding-left: 15px; 
}

#wustl #sidebar #sidebar-search span.border { background: transparent; }


/* ---------------- Main Content ---------------- */

	/* --- Breadcrumbs --- */

#wustl #main.text #breadcrumb, 
#wustl #main.text .crumbs p { margin-bottom: 0; }

#wustl #main.text div.crumbs a:link,
#wustl #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #990000; 
}	

#wustl #main.text div.crumbs a:hover,
#wustl #main.text div.crumbs a:active,
#wustl #main.text div.crumbs a:focus {
	text-decoration: underline;	
	color: #000000; 
}
/* 11.14.22 ALuca adding columns to organize text/add image */
#wustl #main.text #content-boxes .box-row {
    display: flex;
    flex-direction: row;
    width: 600px;
}
	
	/* --- Headers --- */

#wustl h2 {
	font: normal 24px Georgia, "Times New Roman", Times, serif;
}

h3 { margin: 5px 0 }

#wustl #dcn-home #cover-browse h3 a {
	font: 400 15px 'Open Sans', sans-serif;
	text-decoration: underline; 
}

#wustl #homepage_intro {  }

	/* --- Links --- */

#wustl #main.text a:link,
#wustl #main.text a:visited {
	color: #990000; /* declared for #network-icon text */
}

#wustl #main.text a:hover,
#wustl #main.text a:active,
#wustl #main.text a:focus {
	color: #000000;	
	text-decoration: underline; 
}

	/* PotD / Top DL widgets */

#wustl #dcn-home .box.aag h2,
#wustl #dcn-home .box.potd h2 {
	width: 267px;
	margin: 0;
	font: normal 18px Georgia, "Times New Roman", Times, serif;
	border-bottom: 1px solid #989898; 
}

#wustl #main.text .box a:link,
#wustl #main.text .box a:visited {
	font: 700 12px 'Open Sans', sans-serif;
	text-decoration: none;	
	border-bottom: 1px solid #989898;
	background: none; 
}

#wustl #main.text .box a:hover,
#wustl #main.text .box a:active,
#wustl #main.text .box a:focus {
	text-decoration: underline; 
}

/* Homepage buttons */
#wustl #homebuttons {
  width: 108%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
  margin: 0 0 2em;
}
#wustl #homebuttons a {
  height: 122px;
  width: 122px;
  outline: 2px solid #990000;
  margin-right: 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#wustl #content #homebuttons a {
  text-decoration: none;
}
#wustl #content .text #homebuttons a:focus {
  border-bottom: 0;
}
#wustl #homebuttons a span {
  color: #990000;
  font-size: 54px;
  font-weight: bold;
  margin: 0 auto;
}
#wustl #homebuttons a h3 {
  font: normal 13px 'Open Sans', sans-serif !important;
  color: #990000;
  text-decoration: none;
  text-align: center;
  margin: 5px;
}
#wustl #homebuttons a:active h3,
#wustl #homebuttons a:hover h3,
#wustl #homebuttons a:focus h3 {
  color: #fff;
}
#wustl #homebuttons a:active,
#wustl #homebuttons a:hover,
#wustl #homebuttons a:focus {
  background-color: #990000;
}
#wustl #homebuttons a:active span,
#wustl #homebuttons a:hover span,
#wustl #homebuttons a:focus span {
  color: #fff;
}

/* ---------------- Footer ---------------- */
#wustl #bepress a {
	background-image: url(assets/md5images/679594240bfa0eb9493776f7d68fa330.svg);
  background-size: 210px;
	background-position: center;
}

#wustl #footer {
	height: 95px;
	background-color: #333333; }

#wustl #bepress a { 
	height: 93px;
	margin: 1px 0;
	background-color: #333333;
	 } /* adjust height of logo */

#footer p:first-of-type {
    padding-top: 20px;
}

#wustl #footer p,
#wustl #footer p a {
	font: 400 12px/2 'Open Sans', sans-serif;
	color: #ffffff; 
	text-decoration: none; 
}

#wustl #footer p a:hover,
#wustl #footer p a:active,
#wustl #footer p a:focus {
	text-decoration: underline; }

/* Additional footer logo */

#wustl #footer { position: relative; }

a#footerlink { margin: 0; }

#footerlogo { 
	position: absolute;
	top: 0;
	right: 0;
 } 

.mbl #footerlink { display: none; } /* logos aren't hidden by mbl footer */	

#bepress a:focus {
  outline: 1px dashed #fff;
}
#wustl #content {
    min-height: calc(100vh - 325px);  /* 310px varies by site. calculated by summing all fixed heights (header, navigation, footer, fixed margins between these elements) */
}
/* Search pages */
.legacy #wustl #wrapper:after {
	content: none; /* search pages */
}
/* ---------------- Miscellaneous fixes ---------------- */
	
	/* Adjusting breadcrumb bottom padding to fix display in deeply-nested structures */
	#wustl #breadcrumb {padding-bottom: 16px;}
	

/* ---------------- Mobile ---------------- */

.mbl #wustl #homebuttons a h3 {
  margin: 0 !important;
}
.mbl #wustl #homebuttons a i {
  font-size: 42px !important;
}


.mbl #wustl #header #logo_image {
  position: absolute !important; /* !important overrides mbl styling */
	top: 0; 
	left: 0;  /* change to "right:" for right aligned logo */
	width: 25.918367% !important;  /* 460 / 980 */
	height: auto; 
}

.mbl #wustl #footer {
	background-color: #333333 !important; /* plug in footer background color */
	background-image: none !important;
}

.mbl #wustl #footer #bepress a {
	background: transparent url(assets/md5images/679594240bfa0eb9493776f7d68fa330.svg) center no-repeat !important;
	height: 50px !important;
	margin: 0px !important;
  background-size: contain !important;
}

.mbl #wustl #header {
	margin: 0 !important;
}
.mbl #wustl #content {
	min-height: unset;
}



/* Increasing font size in intro text for homepage CM 2025-01-13 */
#wustl #container #wrapper #content #main.text #dcn-home p {
	font-size:13px;
	}