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

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

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

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

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

#fordhamlaw { background: url(assets/md5images/43386cb36546c8d5c2e050eb0f0efdb8.gif) no-repeat center bottom; }

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

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

#fordhamlaw #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 */
}

#fordhamlaw #header a#banner_link:focus img {
    outline: 2px dotted #fff;
}

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

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

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

#fordhamlaw #navigation #tabs,
#fordhamlaw #navigation #tabs ul {
	display: flex;
	justify-content: flex-start;
	width: 100%;
}

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

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

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

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

#fordhamlaw #sidebar h2 {
	font: normal 20px 'Raleway', sans-serif;
	color: #000;
	background: transparent;
	padding: 0;
	margin: 0;
	border: none;
}

#fordhamlaw #sidebar a {
	font: normal 13px 'Raleway', sans-serif;
	color: #900028;
	text-decoration: none;
}

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

#fordhamlaw #sidebar #sidebar-search label {
	font: normal 13px 'Raleway', sans-serif;
	color: #000;
}

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

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

	/* Sticky Footer */

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

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

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

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

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

	/* --- Headers --- */

#fordhamlaw #dcn-home > h2 { font: normal 21px 'Raleway', 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: #900028; }

#fordhamlaw #dcn-home #cover-browse h3 a {
	font: 400 15px/1.6 'Raleway', sans-serif;
	text-decoration: none;
}

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

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

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

#fordhamlaw #main.text .box a:link,
#fordhamlaw #main.text .box a:visited {
	background: none;
	font: bold 12px 'Raleway', sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #ddd;
}

#fordhamlaw #main.text .box a:hover,
#fordhamlaw #main.text .box a:active,
#fordhamlaw #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; }

/* ---------------- Footer ---------------- */

#fordhamlaw #footer,
#fordhamlaw #bepress a {
	height: 78px;
	background-color: #3d3d3d;
}

#bepress a:focus { outline: 2px dotted #900028; }

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

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

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

/* Additional footer logo */
 
#fordhamlaw #footer { position: relative; }
 
a#footerlink { margin: 0; }
 
#footerlogo {
    position: absolute;
    top: 0;
    right: 0;
 }
 
#fordhamlaw #footer a#footerlink:focus img {
    outline: 2px dotted #900028;
}


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

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

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

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

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

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

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

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

.mbl #fordhamlaw #header,
.mbl #fordhamlaw #header a#banner_link img,
.mbl #fordhamlaw #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 #fordhamlaw #dcn-home .box.aag h2,
.mbl #fordhamlaw #dcn-home .box.potd h2 {
	width: 100%;
}
	
.mbl #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
    display: block;
}

.mbl #footerlink { display: none; } /* logos aren't hidden by mbl footer */

/* Homepage Browse links styling */


#fordhamlaw #content #main.text #cover-browse #cover-browse-left {
	width: 330px;
	float: left; }
	
#fordhamlaw #content #main.text #cover-browse #cover-browse-right {
	width: 300px;
	float: left; }
#fordhamlaw #content #main.text #cover-browse #cover-browse-center {
	width: 555px;
 	float: right;
 }
	#fordhamlaw #content #main.text #cover-browse {
	width: 655px;
	margin-bottom: 30px; }
	
#fordhamlaw #content #main.text #cover-browse h3 {
	margin-top: 10px; }
	
			
#fordhamlaw #content #main.text h2 {
	margin-top: 14px; }
	
	
/* Small Caps rule needed for Bluebook citation */
#fordhamlaw .smallcaps
{
font-variant: small-caps;
}	

/* Image styling for dean collection intros */
#fordhamlaw #main.text #series-home .intro .slidebox-left {
	float:left; margin-right:15px; }
#fordhamlaw #main.text #series-home p.publication-follow {
	display:block; width:100%; }
	
/* newspaper contents columns, dconrad 10-29-15 */
#fordhamlaw #newspaper_years .newspaper_col {display: inline-block; width: 24%; vertical-align: top;}
#fordhamlaw #newspaper_years .newspaper_col li {margin-left:0}
#fordhamlaw #newspaper_years p#newspaper_header {margin-bottom: 10px;}


/* adding space above notify link sbeld 4-12-16 */
#fordhamlaw #container #wrapper #sidebar ul#side-notify { margin-top: 0; }

/* hiding author corner sbeld 4-12-16 */
#fordhamlaw #sidebar h2#authorcornerheading,
#fordhamlaw #sidebar #side-author {
    display:none;}
    
    /* adding space between image and text on //ir.lawnet.fordham.edu/twentyfifth_amendment_archive D.A.M. 2/21/17 */    

	#intro-header-25th {width: 100%;}
	#intro-header-25th img {width: 60%; height: auto; min-width: 380px;}
  	#intro-header-25th p {width: 38%; float: right; padding-left: 5px; margin-top: 30%; font-style: italic}
  	#intro-25th h1 {color: #800000 ; padding: 20px 0;}

	#25th-intro h1 {text-align: left; color: #800000 ;}
	
	/* Timeline JS */

#fordhamlaw .timelinejs iframe {
	width: 100%;
	height: 880px; 
	border: solid 1px #ddd; }
	
.mbl #fordhamlaw .timelinejs iframe { 
	display: none; }

/* Homepage Slideshow */

#fordhamlaw #dcn-home .newCarousel .news-slider .text-content {
	width: 35%; }

#fordhamlaw #dcn-home .newCarousel .news-slider .text-content h2 {
	font-size: 16px;
	font-weight: bold; }

#fordhamlaw #dcn-home .newCarousel .news-slider .text-content p { 
	line-height: 1.5em; }
	

/* Reduce spacing - main content area intro text */	
#fordhamlaw #breadcrumb {margin: 0 0 5px;}
#fordhamlaw .crumbs {margin: 0 0 -20px;}
#fordhamlaw #series-home .intro {margin-bottom: -20px;}

/* Access to justice collection styling */	
#fordhamlaw #a2j_a2i {
text-align: left;
color: #680017;
margin-left: 0px;
padding-top:0px;
font-size: 16px;}

#fordhamlaw #sidebar li.parole_info a {
display: inline-block;
padding: 5px 25px;
margin-bottom: 0;
font-size: 16px;
line-height: 25px;
text-align: center;
vertical-align: middle;
background: linear-gradient(180deg, #ffffff , #e6e6e6 );
border-color: red ;
border: 2px solid #e6e6e6 ;
border-bottom-color: #e6e6e6 ;
border-radius: 3px;
box-shadow: 0 8px 8px 0 rgba(0,0,0,0.2), 0 6px 6px 0 rgba(0,0,0,0.19);

}

/* Breadcrumb Padding */
#fordhamlaw #container #wrapper #content #main.text #breadcrumb {
padding: 0px 0px 25px 0px;}

  /* housing court adjustments  */  
 #fordhamlaw #sidebar h2#housing a
{font: normal 20px 'Raleway', sans-serif; line-height:50px; }

  /* embiggening book chapter file name text  */ 
 #fordhamlaw #main.text #ir-book #alpha .element .files p {
 font-weight:bold;
 font-size: 15px;
 }
 #fordhamlaw #main.text #ir-book #file-list .files a.btn.btn-small
    {color: #fff !important;
    background: #0074cc !important;
    border: 1px solid #0074cc !important; }

 #fordhamlaw #main.text #ir-book #file-list i.icon-download-alt
{display:none;}
