/* -----------------------------------------------
bepress IR local stylesheet.
Author:   Jami Wardlow
Version:  June 2020
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

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

@import url('https://fonts.googleapis.com/css2?family=Lato&family=Open+Sans:wght@400;700&display=swap');

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

body {
	font: normal 12px/1.5 'Open Sans', sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #fff url(assets/md5images/86c004af3591f498e9bfacfb08569be8.jpg) no-repeat center top;
}

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

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

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

#ualaw #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 --- */

#ualaw #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 38.77551% !important;  /* 380 / 980 */
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

#ualaw #header a#banner_link:focus img,
#ualaw #header a#logo_link:focus img {
    outline: 1px dotted #fff;
}

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

#ualaw #navigation a:focus img { outline: 1px dotted #fff; }

#ualaw #navigation img { float: left; }

#ualaw #navigation,
#ualaw #navigation #tabs {
	height: 40px;
	/*overflow: hidden; have seen issues with tabs extending below nav container */
	white-space: nowrap;
}

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

#ualaw #navigation #tabs,
#ualaw #navigation #tabs ul {
	display: flex;
	justify-content: flex-end;
	width: 670px;
}

#ualaw #navigation #tabs a {
	font: normal 15px 'Open Sans', sans-serif;
	display: block;
	/*width: auto !important; fixes "my account" not fitting in container on page load (does it tho?)*/
	height: 40px;
	line-height: 40px;
	color: #fff;
	background-color: transparent;
	padding: 0 11px;
	margin: 0;
	border: 0;
}

#ualaw #navigation #tabs a:hover,
#ualaw #navigation #tabs a:active,
#ualaw #navigation #tabs a:focus {
	background-color: #a2a5a4;
	text-decoration: underline;
}

#ualaw #navigation #tabs #tabfour a { padding-right: 7px; }

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

#ualaw #sidebar h2 {
	font: normal 18px 'Lato', sans-serif;
	color: #000;
	background: transparent;
	padding-bottom: 5px;
	border: none;
	border-bottom: 1px solid #fff;
	margin: 0;
}

#ualaw #sidebar a {
	font: normal 13px 'Open Sans', sans-serif;
	color: #000;
	text-decoration: none;
}

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

#ualaw #sidebar #sidebar-search label {
	font: normal 13px 'Open Sans', sans-serif;
	color: #000;
}

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

#ualaw #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 */
/* #ualaw #content { padding-top: 16px; } */

	/* Sticky Footer */

#ualaw #content { /* calculates 100% viewport height - (total heights of header, navigation and footer) */
	min-height: calc(100vh - 448px);
}
	/* --- Breadcrumbs --- */

#ualaw #main.text div.crumbs a:link,
#ualaw #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #9e1b32;
}

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

#ualaw #dcn-home > #homepage-intro { margin: 15px 0; }

 /* (is this even a thing anymore?) adds space under full-width main-content image 
#ualaw #home-page-banner { margin-bottom: 16px; }*/

	/* --- Headers --- */

#ualaw #dcn-home > h2 { font: normal 21px 'Lato', 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 { color: #9e1b32; }

#ualaw #dcn-home #cover-browse h3 a {
	font: 400 17px/1.6 'Open Sans', sans-serif;
	text-decoration: none;
}

#ualaw #dcn-home #cover-browse h3 a:hover,
#ualaw #dcn-home #cover-browse h3 a:focus,
#ualaw #dcn-home #cover-browse h3 a:active {
	text-decoration: underline;
}

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#ualaw #dcn-home .box.aag h2,
#ualaw #dcn-home .box.potd h2 {
	font: normal 16px 'Lato', sans-serif;
	width: 267px;
	border-bottom: 1px solid #d3d3d3;
	margin: 0;
}

#ualaw #main.text .box a:link,
#ualaw #main.text .box a:visited {
	background: none;
	font: bold 13px 'Open Sans', sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #d3d3d3;
}

#ualaw #main.text .box a:hover,
#ualaw #main.text .box a:active,
#ualaw #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 ---------------- */

#ualaw #footer { border-top: 12px solid #fff; }

#ualaw #footer,
#ualaw #bepress a {
	height: 88px;
	background-color: #9e1b32;
}

#bepress a:focus { outline: 1px dotted #fff; }

#ualaw #footer p,
#ualaw #footer p a {
	font: normal 13px/2 'Open Sans', sans-serif;
	color: #fff;
	text-decoration: none;
}

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

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

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

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

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

	/* Remove gap under search pages for full-width footers */

.legacy #ualaw #wrapper:after { content: none; }

	/* --- Browse Authors accessibility fix (CSFR-2684) --- */

#ualaw #main.text .authorbrowser p.letters a:hover,
#ualaw #main.text .authorbrowser p.letters a:focus {
   background: url(/assets/azMe.jpg) bottom center no-repeat;
   color: #fff;
}

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

.mbl #ualaw #header,
.mbl #ualaw #header a#banner_link img,
.mbl #ualaw #navigation {
	width: 100% !important;
}

.mbl #ualaw #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 38.77551% !important;  /* 380 / 980 */
	height: auto !important; /* !important avoides DC assigning incorrect height to logo image */
}

	/* 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 #ualaw #dcn-home .box.aag h2,
.mbl #ualaw #dcn-home .box.potd h2 {
	width: 100%;
}
	
.mbl #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
    display: block;
}

/* bluebook citation formatting aarder/8/20/20 */
.smallcaps
{
font-variant: small-caps;
}