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

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

@import url('https://fonts.googleapis.com/css?family=Cinzel|Lato:400,700');

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

html { background-color: #003366; }

body {
	font: normal 17px/1.5 'Lato', sans-serif;  /* should be medium except when fitting into a fixed container */
	background: url(assets/md5images/4cd89162132243cbb9d5baf3bb196fe4.gif) repeat-x top left;
}

#stmarytx { background: url(assets/md5images/6a7cf8ff5f61f7ac6b163095a85d3771.gif) repeat-x bottom left; }

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

#stmarytx #header {
	position: relative;  /* needed for logo positioning */
  	height: auto !important; /* !important overrides mbl styling */
  	background-color: transparent;
}

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

	/* --- Logo --- */

#stmarytx #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;  /* change to "right:" for right aligned logo */
	width: 21.428571428571% !important;  /* 210 / 980 */
	height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}


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

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

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

#stmarytx #navigation #tabs a {
	font: 400 17px 'Lato', sans-serif;
	text-transform: uppercase;
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */
	height: 53px;
	line-height: 53px;
	color: #ffffff;
	transition: 0.3s ease-in-out;
	background-color: transparent;
	padding: 0 11px; /* with arial bold, this fits */
	margin: 0;
	border: 0;
	float: left;
}

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


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

#stmarytx #sidebar h2 {
	font: 400 19px 'Cinzel', serif;
	color: #003366;
	background: transparent;
	padding: 0;
	margin: 0;
	border: none;
}

#stmarytx #sidebar a {
	font: normal 17px 'Lato', sans-serif;
	color: #003366;
	text-decoration: none;
}

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

#stmarytx #sidebar #sidebar-search label {
	font-size: normal 17px 'Lato', sans-serif;
	color: #000000;
}

#stmarytx #sidebar #sidebar-search {
	margin-top: 8px;
	padding-left: 15px;
}

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

.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */


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

#stmarytx #wrapper { /* for full-length sidebar content background/elements */
	background-image: none;
}

#stmarytx #content {
	min-height: 600px;
	margin-top: 17px; }

#stmarytx #content .text { padding-top: 32px; }

#stmarytx #home-page-banner { margin-bottom: 17px; }

	/* --- Breadcrumbs --- */

#stmarytx #main.text div.crumbs a:link,
#stmarytx #main.text div.crumbs a:visited {
	text-decoration: none;
	font-size: 17px;
	color: #003366;
}

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

#stmarytx > #homepage-intro { margin: 15px 0; }

#stmarytx > #cover-browse { margin-bottom: 20px; }


	/* --- Headers --- */

#stmarytx h2 {
	font: 400 27px 'Cinzel', serif;
}

h3 {
	margin: 0;
	text-decoration: underline; }

#stmarytx #dcn-home #cover-browse h3 a {
	font: 400 19px/1.6 'Lato', sans-serif;
	text-decoration: none;
}

#stmarytx #dcn-home #cover-browse h3 a:hover,
#stmarytx #dcn-home #cover-browse h3 a:focus,
#stmarytx #dcn-home #cover-browse h3 a:active {
	text-decoration: underline;
}
	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#stmarytx #dcn-home .box.aag h2,
#stmarytx #dcn-home .box.potd h2 {
	width: 267px;
	margin: 0;
	font: 400 19px 'Cinzel', serif;
	border-bottom: 1px solid #999999;
}

#stmarytx #main.text .box a:link,
#stmarytx #main.text .box a:visited {
	font: 400 17px 'Lato', sans-serif;
	color: #000000;
	text-decoration: none;
	border-bottom: 1px solid #999999;
	background: none;
}

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

/* article-level text // default values 12px/13px */

#alpha .element p, #custom-fields .element p { font-size: 17px; }

#alpha .element h4, #custom-fields .element h4 { font-size: 18px; }


/* st marys insists that the min font size be 17px */
#alpha #recommended_citation p,
#stmarytx .extra,
#stmarytx #main.text #attach_additional_files.element .extra .files span a,
#breadcrumb a, .crumbs p a,
#pager li,
p#stats,
#main.text #network-icon,
#container #footer a.secondary-link,
#beta_7-3 h4,
#main.text #network-icon a,
#content .subnav li { font-size: 17px; }


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

#stmarytx #footer {	background: #003366 url(assets/md5images/2a586b124fc049b7e72ce7acce61ed89.png) no-repeat top right; }

#stmarytx #footer,
#stmarytx #bepress a {
	height: 191px; }

#stmarytx #footer p,
#stmarytx #footer p a {
	font: normal 17px/2 'Lato', sans-serif;
	color: #ffffff;
	text-decoration: none;
}

/* #footer p:first-of-type { padding-top: ##px } */

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

/* ---------------- Miscellaneous fixes ---------------- */

	/* --- Advanced Search --- */

.legacy #stmarytx #wrapper { background-image: none; }


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

.mbl #stmarytx #header { background-color: #003366 !important; /* !important overides ir-adapt.css */ }

/* --- Social Media Icons --- added by Willie Thurlow on 9/13/17 */
 
ul#social li {
    display: inline-block;
}
 
ul#social li a {
    margin: 0 1px; /* removes 15px margin on all links in #sidebar. Adjust second number to adjust spacing between icons */
}
 
ul#social li:first-child a {
    margin-left: 15px; /* horizontally aligns first icon with other sidebar content */
}
 
/* Mobile */
