/* -----------------------------------------------
bepress IR local stylesheet.
Author:   David Stienstra
Version:  2022
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500;700&display=swap');
/* ---------------- Meta Elements ---------------- */
    /* --- Meta styles and background --- */
body {
    font: 300 13px/1.5 'Public Sans', sans-serif;  /* should be medium except when fitting into a fixed container */
    background: #fff url(assets/md5images/03f344ca76e32963e2448cdd1f5e26e0.png) repeat-x left top;
}
#schulichlaw {
  background: url(assets/md5images/7e204b50476aa9017166a2c8357452de.gif) repeat-x left bottom,
              url(assets/md5images/dc43c6870d8fb1b8c741bc926289936b.png) no-repeat center top;
}

#schulichlaw #content {
    min-height: calc(100vh - 315px);  /* 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 */
}
/* ---------------- 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: 32.04081632% !important;  /* 240 / 980 */
    height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}
#schulichlaw #header a#banner_link:focus img,
#schulichlaw #header a#logo_link:focus img {
  outline: 1px dashed #000;
}
/* ---------------- Navigation ---------------- */
#schulichlaw #navigation,
#schulichlaw #navigation #tabs {
    height: 45px;
    overflow: hidden; /* have seen issues with tabs extending below nav container */
    white-space: nowrap;
    background: transparent;
}
#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 'Public Sans', sans-serif;
    display: block;
    width: auto !important; /* fixes "my account" not fitting in container on page load */
    height: 45px;
    line-height: 45px;
    color: #707372;
    transition: 0.3s ease-in-out;
    background-color: transparent;
    padding: 0 15px; /* with arial bold, this fits */
    margin: 0;
    border: 0;
    border-right: none;
}
#schulichlaw #navigation #tabs a:hover,
#schulichlaw #navigation #tabs a:active,
#schulichlaw #navigation #tabs a:focus {
    color: #000000;
    text-decoration: underline;
}
#schulichlaw #navigation #tabs li:first-child a { padding-left: 15px; }

/* ---------------- Sidebar ---------------- */
#schulichlaw #sidebar {
  padding-top: 10px;
  margin-right: 0;
  margin-left: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  background: url(assets/md5images/71a00674b2e3583726435e280e084bf6.gif) repeat-y left top;
  border-top: 1px solid #e4e4e4;
  border-bottom: 1px solid #e4e4e4;
}

#schulichlaw #sidebar .twitter-timeline {
  padding-left: 10px;
}


#schulichlaw #sidebar h2 {
    font: 500 14px/1.8 'Public Sans', sans-serif;
    color: #ffd400;
    background-color: #010100;
    padding: 0;
    margin: 0 15px;
    border: none;
    text-indent: 10px;
}

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

#schulichlaw #sidebar a {
    font: 500 13px 'Public Sans', sans-serif;
    color: #707372;
    text-decoration: none;
}
#schulichlaw #sidebar a:hover,
#schulichlaw #sidebar a:active,
#schulichlaw #sidebar a:focus {
    color: #000000;
    background: transparent;
    text-decoration: underline;
}
#schulichlaw #sidebar #sidebar-search label {
    font: normal 13px 'Public Sans', sans-serif;
    color: #000;
}
#schulichlaw #sidebar #sidebar-search {
    margin-top: 8px;
    padding-left: 15px;
}
#schulichlaw #sidebar #sidebar-search span.border { background: transparent; }
.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */

#schulichlaw #sidebar #socialmedia {
  width: 87.5%;
  margin: 0 6.35% 10px;
  display: flex;
  justify-content: space-between;
}

#schulichlaw #sidebar #socialmedia a:active img,
#schulichlaw #sidebar #socialmedia a:hover img,
#schulichlaw #sidebar #socialmedia a:focus img {
  outline: 1px solid #000;
}

/* ---------------- Main Content ---------------- */
#schulichlaw #wrapper { /* for full-length sidebar content background/elements */
    background: url(assets/md5images/a8937010dcedb7aec7b17d5af36db2a6.gif) repeat-y left top;
    margin-top: 99px;
    margin-bottom: 8px;
}
/*#schulichlaw #content { padding-top: 16px; }*/
    /* --- Breadcrumbs --- */
#schulichlaw #main.text div.crumbs a:link,
#schulichlaw #main.text div.crumbs a:visited {
    text-decoration: none;
    color: #707372;
}

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

#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: 0 0 8px; }
 /* adds space under full-width main-content image */
#schulichlaw #home-page-banner { margin-bottom: 16px; }
    /* --- Headers --- */
#schulichlaw #dcn-home > h2,
#schulichlaw #main.text h2 {
    font: 500 21px/2 'Public Sans', sans-serif;
    border-bottom: 1px solid #d7d7d7;
}
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 14px/1.6 'Public Sans', sans-serif;
    text-decoration: none;
}
#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;
}
    /* --- 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: 500 16px 'Public Sans', sans-serif;
    border-bottom: 1px solid #d7d7d7;
}
#schulichlaw #main.text .box a:link,
#schulichlaw #main.text .box a:visited {
    font: 700 13px 'Public Sans', 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;
}
    /* article-level text // default values 12px/13px */
#alpha .element p, #custom-fields .element p { font-size: 13px; }
#alpha .element h4, #custom-fields .element h4 { font-size: 14px; }


#schulichlaw #series-home .pdf, 
#schulichlaw #series-home .native, 
#schulichlaw #series-home .metadata-only, 
#schulichlaw #series-home .external {
  line-height: 2.2em;
}

#schulichlaw #breadcrumb a, 
#schulichlaw .crumbs p a, 
#schulichlaw #pager li {
  font-size: 12px;
}

#schulichlaw #main.text #cover-browse-left {
	float: left;
	height: auto;
	width: 45%;
	margin: 0 5% 0 0;
	padding: 0; }

#schulichlaw #main.text #cover-browse-right{
	float: right;
	height: auto;
	width: 45%;
	margin: 0;
	padding: 0; }
/* ---------------- Footer ---------------- */
#schulichlaw #footer {
    height: 83px;
    background-color: #242424; }
#schulichlaw #bepress a {
    height: 81px;
    background-color: #242424; 
    margin: 1px 0;
  }
#schulichlaw #footer p,
#schulichlaw #footer p a {
    font: 300 12px/2 'Public Sans', sans-serif;
    color: #fff;
    text-decoration: none;
}
#schulichlaw #footer p:first-of-type { padding-top: 17px } 
#schulichlaw #footer p a:hover,
#schulichlaw #footer p a:active,
#schulichlaw #footer p a:focus {
    text-decoration: underline; }
#bepress a:focus {
      outline: 1px dashed #fff;
}

/* ---------------- Miscellaneous fixes ---------------- */
    /* --- Advanced Search --- */
.legacy #schulichlaw #wrapper {  
  background-image: none; 
  margin-bottom: 0;
}
.legacy #schulichlaw #content {
  margin-bottom: 8px;
}
/* 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 #main.text #dcn-home .box.aag h2,
.mbl #schulichlaw #main.text #dcn-home .box.potd h2 {
  width: 100%;
}
header#mobile-nav {
    font-size: 0;
    line-height: 0; }
.mbl #schulichlaw #header,
.mbl #schulichlaw #header a#banner_link 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: 32.04081632% !important;  /* 240 / 980 */
    height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}

.mbl #schulichlaw #footer #bepress a {
	background: transparent url(assets/md5images/0266a7b0b69fb61b160c58d31c3814eb.gif) center no-repeat !important;
	height: 50px !important;
	margin: 0px !important;
}

.mbl #schulichlaw #footer {
	background-color: #242424 !important; /* plug in footer background color */
	background-image: none !important;
}

.mbl #schulichlaw #content {
    min-height: unset;
  }

.mbl #schulichlaw #navigation {
  display: none;
}

.mbl #sidebar h2 {
  margin: 5px 0 !important;
  padding-left: 3% !important;
  width: 97% !important;
}

.mbl #schulichlaw #sidebar .twitter-timeline {
  padding-left: 0px;
}
