/* -----------------------------------------------
bepress IR local stylesheet.
Author:   David Stienstra
Version:  March 2019
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

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

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

body {
	font: normal 12px/1.5 Arial, Helvetica Neue, Helvetica, sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #fff url(assets/md5images/976b5d2977c0cb1c084c18fa557f3953.png) no-repeat center top;
}


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

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

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

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


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

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

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

/* Flexbox Navigation July 2018 */

#schulichlaw #navigation #tabs,
#schulichlaw #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: 100%;
}

#schulichlaw #navigation #tabs a {
	font: bold 14px Arial, Helvetica Neue, Helvetica, sans-serif;
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */
	height: 42px;
	line-height: 42px;
	color: #707372;
	transition: 0.3s ease-in-out;
	background-color: transparent;
	padding: 0 11px; /* with arial bold, this fits */
	margin: 0;
	border: 0;
	/* float: left; Not needed? Using flexbox now */
}

#schulichlaw #navigation #tabs a:hover,
#schulichlaw #navigation #tabs a:active,
#schulichlaw #navigation #tabs a:focus {
	color: #f2ac01;
	background-color: transparent;
	text-decoration: underline;
}

/* ---------------- Sidebar ---------------- */
#schulichlaw #sidebar {
	width: 230px;
	margin-left: 10px;
}

#schulichlaw #sidebar h2 {
	font: normal 16px Arial, Helvetica Neue, Helvetica, sans-serif;
	color: #000;
	background: transparent;
	padding: 0 0 5px 0;
	margin: 0 15px 0 10px;
	text-indent: 5px;
	border-bottom: 1px solid #d7d7d7;
}

#schulichlaw #sidebar a {
	font: normal 13px Arial, Helvetica Neue, Helvetica, sans-serif;
	color: #707372;
	text-decoration: none;
}
#schulichlaw #sidebar ul#side-notify a, 
#schulichlaw #sidebar p.advanced a {
	font-size: 12px;
}

#schulichlaw #sidebar ul#side-notify {
	padding-top: 0;
}

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

#schulichlaw #sidebar #sidebar-search label {
	font: normal 13px Arial, Helvetica Neue, Helvetica, sans-serif;
	color: #000;
}

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

#schulichlaw #sidebar #sb-custom-middle {
	text-align: left;
	margin-bottom: 5px;
}

#schulichlaw #sidebar #sb-custom-middle a {
	padding-right: 4px;
}

#schulichlaw #sidebar #sb-custom-middle a,
#schulichlaw #sidebar #sb-custom-middle a img {
	text-align: inherit;
}

#schulichlaw #sidebar #sb-custom-middle a:first-of-type {
	margin-left: 15px;
}

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

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


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

#schulichlaw #wrapper { /* for full-length sidebar content background/elements */
	background: url(assets/md5images/e948de8ed8be04a18d911f1b464c7765.gif) repeat-y left top;
	margin-top: 75px;
}

/*#schulichlaw #content { padding-top: 16px; }*/
/* for slideshows at the top of the page */
#schulichlaw #slideshow {  /* elements that aren't floated appear behind the slideshow */
    display: block;
    float: none;
}
 
#schulichlaw #dcn-home > #cover-browse {
    display: inline-block;
}

#schulichlaw #content #main.text {
    padding-top: 20px;
}

#schulichlaw #content #main.text h2#ir-about,
#schulichlaw #content #main.text h2#faq-top,
#schulichlaw #content #main.text h2#communities-title,
#schulichlaw #content #main.text h2#top.html-title,
#schulichlaw #content #main.text h2#submit-title.html-title {
	padding-top: 8px;
	padding-bottom: 5px;
	border-bottom: 1px solid #d7d7d7;
	margin-top: 0;
}
 
#schulichlaw #main.text .col-1 {  /* #main.text needed for weight to override ir-layout.css #dcn-home > * rules */
    display: inline-block;
    vertical-align: text-top; /* aligns cols in cover_text h3 */
    width: 40%;
    padding: 0;
    margin: 0 9.5% 0 0; /* !important overrieds !important in ir-adapt.css */
    float: none; }
	/* --- Breadcrumbs --- */

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

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

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

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


	/* --- Headers --- */

#schulichlaw #dcn-home > h2,
#schulichlaw #dcn-home .col-1 h2 {
	font: normal 21px Arial, Helvetica Neue, Helvetica, sans-serif;
	border-bottom: 1px solid #d7d7d7;
	padding-bottom: 5px;
	margin-top: 0px;
}

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

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

#schulichlaw #dcn-home #cover-browse h3 a {
	font: 400 13px/1.6 Arial, Helvetica Neue, Helvetica, sans-serif;
	text-decoration: none;
}

#schulichlaw #main.text #homepage-intro {
	font-size: 11px;
}

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

#schulichlaw #dcn-home .box.aag,
#schulichlaw #dcn-home .box.potd {
	margin-top: 20px;
}  

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#schulichlaw #dcn-home .box.aag h2,
#schulichlaw #dcn-home .box.potd h2 {
	width: 267px;
	margin: 0;
	font: normal 16px Arial, Helvetica Neue, Helvetica, sans-serif;
	border-bottom: 1px solid #d7d7d7;
}

#schulichlaw #main.text .box a:link,
#schulichlaw #main.text .box a:visited {
	font: bold 13px Arial, Helvetica Neue, Helvetica, sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #d7d7d7;
	background: none;
}

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

#schulichlaw .box.aag span,
#schulichlaw .box.potd span {
	padding-top: 2px;
}
	/* 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; }

#schulichlaw #series-home .pdf, 
#schulichlaw #series-home .native, 
#schulichlaw #series-home .metadata-only, 
#schulichlaw #series-home .external {
	line-height: 1.9em;
}
/* ---------------- Footer ---------------- */
/*Sticky Footer */
#schulichlaw #content {
    min-height: calc(100vh - 296px);  /* 310px varies by site. calculated by summing all fixed heights (header, navigation, footer, fixed margins between these elements) */
}
/* Search pages */
.legacy #schulichlaw #wrapper:after {
    content: none; /* search pages */
}

#schulichlaw #footer,
#schulichlaw #bepress a {
	height: 85px;
	background-color: #fff; }

#schulichlaw #footer {
	border-top: 1px solid #f2ac01;
	box-sizing: border-box;
}

#schulichlaw #footer p,
#schulichlaw #footer p a {
	font: normal 12px/2 Arial, Helvetica Neue, Helvetica, sans-serif;
	color: #707372;
	text-decoration: none;
}

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

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

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

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

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

/* Browse Authors accessibility fix- CSFR-2648 */
#schulichlaw #main.text .authorbrowser p.letters a:hover,
#schulichlaw #main.text .authorbrowser p.letters a:focus {
    background: url(/assets/azMe.jpg) bottom center no-repeat;
    color: #fff;
}
/* ---------------- Mobile ---------------- */

/*fixes bullet underline for Browse Research and Scholarship links*/
.mbl #main #cover-browse h3 { text-decoration: none; }

.mbl #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
	display: block;
}

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

header#mobile-nav {
    font-size: 0;
    line-height: 0; }

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

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

.mbl #schulichlaw #sidebar #sb-custom-middle {
	text-align: center;
}

.mbl #schulichlaw #main.text .col-1 {
    width: 100% !important; }

.mbl #schulichlaw #main #cover-browse h3:before {
	display: none;
} 

.mbl #schulichlaw #dcn-home #cover-browse h3 a {
	text-decoration: underline;
}

/* ---------------- homepage columns---------------- */

#schulichlaw #main.text #cover-browse-left {
	float: left;
	height: auto;
	width: 260px;
	margin: 0 32px 15px 0;
	padding: 0 10px 0 0; }

#schulichlaw #main.text #cover-browse-right{
	float: left;
	height: auto;
	width: 300px;
	margin: 0 0 15px 0;
	padding: 0; }

