/* -----------------------------------------------
bepress IR local stylesheet.
Author:   Jami Wardlow
Version: Sep 2022
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

/* ---------------- Meta Elements ---------------- */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

	/* --- Meta styles and background --- */

body {
	font: normal 12px/1.5 'Montserrat', sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #fff url(assets/md5images/fb28c47b030b77d4b786ad4a6fa8aaeb.png) no-repeat center top;
}

#tourolaw { background: url(assets/md5images/ed58209af64a78591ae2d0499456a56d.gif) repeat-x left bottom; }

/* ---------------- Header ---------------- */

#tourolaw #header {
	position: relative;  /* needed for logo positioning */
	height: auto !important; /* !important overrides mbl styling */
}

#tourolaw #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 */
}

#tourolaw #header a#banner_link:focus img {
    outline: 2px dotted #000;
}

/* ---------------- Navigation ---------------- */

#tourolaw #navigation,
#tourolaw #navigation #tabs {
	height: 97px;
	/*overflow: hidden; have seen issues with tabs extending below nav container */
	white-space: nowrap;
}

#tourolaw #navigation #tabs,
#tourolaw #navigation #tabs ul,
#tourolaw #navigation #tabs ul li {
	padding: 0;
	margin: 0;
}

#tourolaw #navigation #tabs,
#tourolaw #navigation #tabs ul {
	display: flex;
	justify-content: flex-end;
	width: 100%;
}

#tourolaw #navigation #tabs a {
	font: normal 14px 'Montserrat', sans-serif;
	text-transform: uppercase;
	display: block;
	/*width: auto !important; fixes "my account" not fitting in container on page load (does it tho?)*/
	height: 97px;
	line-height: 36px;
	color: #0b5895;
	background-color: transparent;
	padding: 61px 11px 0;
	margin: 0;
	border: 0;
}

#tourolaw #navigation #tabs a:hover,
#tourolaw #navigation #tabs a:active,
#tourolaw #navigation #tabs a:focus {
	color: #000;
	text-decoration: underline;
}

#tourolaw #navigation #tabs #tabzero a:focus img {
	outline: 2px dotted #000;
}

#tourolaw #navigation #tabs #tabzero {
	margin-right: 37%;
	padding: 0;
}

#tourolaw #navigation #tabs #tabzero a {
	padding: 0;
	margin: 0;
}

/* ---------------- Sidebar ---------------- */

#tourolaw #sidebar h2 {
	font: normal 16px 'Montserrat', sans-serif;
	color: #000;
	background: transparent;
	padding: 0;
	margin: 0;
	border: none;
}

#tourolaw #sidebar a {
	font: normal 13px 'Montserrat', sans-serif;
	color: #2d4fbf;
	text-decoration: none;
}

#tourolaw #sidebar a:hover,
#tourolaw #sidebar a:active,
#tourolaw #sidebar a:focus {
	color: #000;
	text-decoration: underline;
}

#tourolaw #sidebar #sidebar-search label {
	font: normal 13px 'Montserrat', sans-serif;
	color: #1b3766;
}

#tourolaw #sidebar #sidebar-search {
	margin-top: 8px;
	padding-left: 15px;
}

#tourolaw #sidebar #sidebar-search span.border { background: transparent; }

.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */

/* ---------------- Main Content ---------------- */

/* this has been creating a gap on top of full-width homepage images. trying to figure out if it's actually necessary for any reason */
/* #tourolaw #content { padding-top: 16px; } */

	/* Sticky Footer */

#tourolaw #content { /* calculates 100% viewport height - (total heights of header, navigation and footer) */
	min-height: calc(100vh - 382px);
}
	/* --- Breadcrumbs --- */

#tourolaw #main.text div.crumbs a:link,
#tourolaw #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #2d4fbf;
}

#tourolaw #main.text div.crumbs a:hover,
#tourolaw #main.text div.crumbs a:active,
#tourolaw #main.text div.crumbs a:focus {
	text-decoration: underline;
	color: #000;
}

#tourolaw #dcn-home > #homepage-intro { margin: 15px 0; }

 /* (is this even a thing anymore?) adds space under full-width main-content image 
#tourolaw #home-page-banner { margin-bottom: 16px; }*/

	/* --- Headers --- */

#tourolaw #dcn-home > h2 {
	margin-top: 12px;
	font: bold 27px 'Montserrat', sans-serif;
}

h3 {
	margin: 0;
	text-decoration: underline;
}

/* FF, IE, Chrome take parent element's color as text-decoration-color (black, usually) */
#dcn-home #cover-browse h3 {
	background: none;
	text-decoration: none;
    color: #2d4fbf;
    padding-left: 0;
}

#tourolaw #dcn-home #cover-browse h3 a {
	font: 400 15px/1.6 'Montserrat', sans-serif;
	text-decoration: none;
}

#tourolaw #dcn-home #cover-browse h3 a:hover,
#tourolaw #dcn-home #cover-browse h3 a:focus,
#tourolaw #dcn-home #cover-browse h3 a:active {
	text-decoration: underline;
}

	/* --- Links --- */

#tourolaw #main.text a:link,
#tourolaw #main.text a:visited {
	color: #2d4fbf; /* declared for #network-icon text */
}

#tourolaw #main.text a:hover,
#tourolaw #main.text a:active,
#tourolaw #main.text a:focus {
	color: #000;
	text-decoration: underline;
}

	/* PotD / Top DL widgets */

#tourolaw #dcn-home .box.aag h2,
#tourolaw #dcn-home .box.potd h2 {
	font: bold 22px 'Montserrat', sans-serif;
	width: 267px;
	border-bottom: 1px solid #dbdbdb;
	margin: 0;
}

#tourolaw #main.text .box a:link,
#tourolaw #main.text .box a:visited {
	background: none;
	font: bold 12px 'Montserrat', sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #dbdbdb;
}

#tourolaw #main.text .box a:hover,
#tourolaw #main.text .box a:active,
#tourolaw #main.text .box a:focus {
	text-decoration: underline;
}

	/* article-level text // default values 12px/13px */

#alpha .element p, #custom-fields .element p { font-size: 12px; }

#alpha .element h4, #custom-fields .element h4 { font-size: 13px; }

/* ---------------- Footer ---------------- */

#tourolaw #footer,
#tourolaw #bepress a {
	height: 81px;
	background-color: #1b3766;
}

#bepress a:focus { outline: 2px dotted #000; }

#tourolaw #footer p,
#tourolaw #footer p a {
	font: normal 12px/2 'Montserrat', sans-serif;
	color: #fff;
	text-decoration: none;
}

/* #tourolaw #footer p:first-of-type { padding-top: ##px; } */

#tourolaw #footer p a:hover,
#tourolaw #footer p a:active,
#tourolaw #footer p a:focus {
	text-decoration: underline;
}

/* ---------------- Miscellaneous fixes ---------------- */

	/* --- Advanced Search --- */

.legacy #tourolaw #wrapper { background-image: none; }

	/* Remove gap under search pages for full-width footers */

.legacy #tourolaw #wrapper:after { content: none; }

	/* --- Browse Authors accessibility fix (CSFR-2684) --- */

#tourolaw #main.text .authorbrowser p.letters a:hover,
#tourolaw #main.text .authorbrowser p.letters a:focus {
   background: url(/assets/azMe.jpg) bottom center no-repeat;
   color: #fff;
}

/* ---------------- Mobile ---------------- */

.mbl #tourolaw #header,
.mbl #tourolaw #header a#banner_link img,
.mbl #tourolaw #navigation {
	width: 100% !important;
}

	/* fixes invisible space above header */

header#mobile-nav { 
    font-size: 0;
    line-height: 0;
}

	/* fixes bullet underline for Browse Research and Scholarship links */

.mbl #main #cover-browse h3 { text-decoration: none; }

	/* stacks headings and spans in .box */

.mbl #tourolaw #dcn-home .box.aag h2,
.mbl #tourolaw #dcn-home .box.potd h2 {
	width: 100%;
}
	
.mbl #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
    display: block;
}