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

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

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

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

body {
	font: normal 12px/1.5 'Muli', sans-serif;  /* should be medium except when fitting into a fixed container */
	background-color: #fff;
	background-image: url(assets/md5images/5b571de75dec85fc0d636ac557c6d6fc.png), url(assets/md5images/b1727f13543f88413db07a13af35d92c.gif);
	background-repeat: no-repeat, repeat-x;
	background-position: center top, left bottom;
}

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

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

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

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


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

#wmlaw #navigation { background: transparent; }

#wmlaw #navigation,
#wmlaw #navigation #tabs {
	height: 46px;
	overflow: hidden; /* have seen issues with tabs extending below nav container */
}

#wmlaw #navigation #tabs { background: #115740; }

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

#wmlaw #navigation #tabs,
#wmlaw #navigation #tabs ul {
	display: flex;
	justify-content: flex-start; /* "flex-start" for left-aligned tabs, change to "flex-end" for right-aligned tabs, "center" for centered */
	width: 240px;
}

#wmlaw #navigation #tabs a {
	font: normal 12px 'Muli', sans-serif;
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */
	height: 46px;
	line-height: 46px;
	color: #fff;
	background-color: transparent;
	padding: 0 9px; /* with arial bold, this fits */
	margin: 0;
	border: 0;
}

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

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


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

#wmlaw #sidebar { 
	background: #115740;
	padding: 12px 0 0;
}

#wmlaw #sidebar h2 {
	font: bold 15px 'Muli', sans-serif;
	color: #fff;
	letter-spacing: .05em;
	text-indent: 0;
	background: transparent;
	padding: 0;
	margin: 0 15px;
	border-top: none;
	border-bottom: 1px solid #b9975b;
}

#wmlaw #sidebar a {
	font: normal 13px 'Muli', sans-serif;
	color: #fff;
	text-decoration: none;
}

#wmlaw #sidebar a:hover,
#wmlaw #sidebar a:active,
#wmlaw #sidebar a:focus {
	text-decoration: underline;
}

#wmlaw #sidebar #sidebar-search label {
	font: normal 13px 'Muli', sans-serif;
	color: #fff;
}

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

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

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


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

#wmlaw #wrapper { background: transparent; }

#wmlaw #content { 
	padding-top: 16px;
	min-height: 700px;
}

	/* --- Breadcrumbs --- */

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

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

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

 /* adds space under full-width main-content image */
#wmlaw #home-page-banner { margin-bottom: 16px; }


	/* --- Headers --- */

#wmlaw #dcn-home h2 { font: normal 21px 'Muli', sans-serif; }

h3 { margin: 0 0 6px 0; }

/* FF 55 takes parent element's color a text-deoration-color (black, usually) */
#dcn-home #cover-browse h3 { color: #115740; }

#wmlaw #dcn-home #cover-browse h3 a {
	font: 400 15px 'Muli', sans-serif;
	text-decoration: none;
}

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

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

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

	/* PotD / Top DL widgets */

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

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

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

#wmlaw #footer {
	height: 122px;
	background: transparent;
}

#wmlaw #footer p,
#wmlaw #footer p a {
	font: normal 12px/2 'Muli', sans-serif;
	color: #fff;
	text-decoration: none;
}

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

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

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

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

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

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

.mbl #wmlaw #header { background-image: url(assets/md5images/5b571de75dec85fc0d636ac557c6d6fc.png); }

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

.mbl #wmlaw #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;  /* change to "right:" for right aligned logo */
	width: 26.22449% !important;  /* 257 / 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 #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
    display: block;
}

.mbl #wmlaw #dcn-home .box.aag h2,
.mbl #wmlaw #dcn-home .box.potd h2 {
	width: 100%;
}

/* Bold headers on the front page - AB 10-23-18 */
#wmlaw #main #dcn-home h2 {
	font-weight: bold;	
}

/* Styling for Browse Collections list in ir_cover_text.inc - AB 10-23-18 */
#wmlaw #main.text #cover-browse ul.browse-list * {
	display: inline-block;
	background: none;
	font-weight: bold;
	line-height: 1.4em;
	font-size: 16px;
	list-style-type: none;
	padding: 0;
	width: 100%;
}

/* Fancy custom green bullets for the Browse Collections list - AB 10-23-18 */
#wmlaw #main.text #cover-browse li::before {
	content: "•";
	color: #115740;
	display: inline-block;
	width: 1em;
	margin-left: -1em;
	vertical-align: top;
}
