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

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

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

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

body {
	font: normal 14px/1.5 'Montserrat', sans-serif;  /* should be medium except when fitting into a fixed container */
	color: #4e4e70;
	background: #fff url(assets/md5images/26310df69065777d226529d3be35f786.gif) repeat-x left top;
}

#kenyon { background: url(assets/md5images/9062d348378d7be9a0482eb10c3f2b9b.gif) repeat-x left bottom; }

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

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

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

#kenyon #header a#banner_link:focus img {
    outline: 1px dotted #4b2e84;
}

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

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

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

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

#kenyon #navigation #tabs a {
	font: normal 13px 'Montserrat', sans-serif;
	display: block;
	/*width: auto !important; fixes "my account" not fitting in container on page load (does it tho?)*/
	height: 19px;
	line-height: 19px;
	color: #3e3e3e;
	background-color: transparent;
	padding: 0 11px;
	margin: 29px 0 0;
	border: 0;
	border-right: 1px solid #e2e7e7;
}

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

#kenyon #navigation #tabs #tabone a { padding-right: 15px; }

#kenyon #navigation #tabs li:last-child a {
    border-right: none;
}

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

#kenyon #sidebar h2 {
	font: normal 18px 'Tinos', serif;
	color: #151538;
	background: transparent;
	padding: 0;
	margin: 0;
	border: none;
}

#kenyon #sidebar a {
	font: normal 13px 'Montserrat', sans-serif;
	color: #4b2e84;
	text-decoration: none;
}

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

#kenyon #sidebar #sidebar-search label {
	font: normal 13px 'Montserrat', sans-serif;
	color: #151538;
}

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

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

	/* Sticky Footer */

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

#kenyon #main.text div.crumbs a:link,
#kenyon #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #4b2e84;
}

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

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

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

	/* --- Headers --- */

#kenyon #dcn-home > h2 { font: normal 21px 'Tinos', 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: #4b2e84; }

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

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

	/* Homepage browse buttons */

#kenyon #dcn-home #cover-browse a { text-decoration: none; }

#kenyon #dcn-home #cover-browse a img { margin: 0 7px 6px 0; }

#kenyon #dcn-home #cover-browse a:hover img,
#kenyon #dcn-home #cover-browse a:focus img,
#kenyon #dcn-home #cover-browse a:active img {
	outline: 1px dotted #026f27;
}

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#kenyon #dcn-home .box.aag h2,
#kenyon #dcn-home .box.potd h2 {
	font: normal 24px 'Tinos', serif;
	width: 267px;
	border-bottom: 1px solid #ccd2d2;
	margin: 0;
}

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

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

#kenyon #footer { margin-top: 1px; }

#kenyon #footer,
#kenyon #bepress a {
	height: 96px;
	background-color: #fff;
}

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

#kenyon #footer p,
#kenyon #footer p a {
	font: normal 12px/2 'Montserrat', sans-serif;
	color: #4b2e84;
	text-decoration: none;
}

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

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

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

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

.legacy #kenyon #wrapper,
.legacy #kenyon #content { background: transparent; }

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

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

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

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

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

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

#rights_statements img {width:250px; height:auto;}

/* Admin request: Columns for "reveille" intro text JR 4-25-16 */
#kenyon div.reveille_intro { float: left; }

/* Admin request: Columns for "watson_postcards" intro text JR 4-25-16 */
#kenyon div.postcard_col { float: left; }

/* Admin request: Columns for "kcab" intro text MF 10-8-21 */
#kenyon div.kcab_columns { float: left; }

/* Admin request: Center titles on static page gullah_religion CM 9-6-16 */
#kenyon #container #wrapper #content #main.text #gullah p {
	text-align: center
	}
/* Adding and centering intro text image to /zhou img gallery CM 2016-11-03 */
#kenyon #container #wrapper #content #main.text #introtext_img img {
	width: 350px ;
	height: 325px ; 
}
#kenyon #container #wrapper #content #main.text #introtext_img {
	text-align: center ;
}
/* site homepage intro text fix - full length CM 2016-11-04 */
#kenyon #dcn-home #homepage-intro {width: 100%;}
/* Expert Gallery Suite SW Gallery */
.egs-profile-gallery {
	display: block; /* removes descender space below inline element */
	margin: -16px 0 -16px -32px; /* #content .text padding: 16px 0; and #content .text (margin 32px) */
}
.verticalalign { height: 0; }
#content div.clear { height: 0; }
/* Adjusting rights statement images - bd 2017-10-12 */
#kenyon #rights_statements img {
height: auto;
width: 150px;
}
#kenyon #rights_statements h4 {
color:black;
font-family: "Minion Pro", Georgia, "Times New Roman", Times, serif;
}
#kenyon #ir-book.left #rights_statements {
margin-left: 178px; width: 480px; padding-top: 10px;
}
/* Adding and centering intro text image to /bordersinplay community HMW 2018-02-05 */
#kenyon #container #wrapper #content #main.text #bip_introtext_img img {
	width: 350px ;
	height: 490px ; 
}
#kenyon #container #wrapper #content #main.text #bip_introtext_img {
	text-align: center ;
}
/* Scrollbar for author lists CUSTOM-363 hmw 2019.03.22 */
#kenyon #alpha #authors {
	overflow-y: auto;
	max-height: 200px; /* adjust for each site to show desired # of authors; check in multiple browsers */
	border-top: solid 2px #666;
	border-bottom: solid 1px #666;
	margin-bottom: 5px;
}
#kenyon #alpha #authors p.author {border-top: 0; border-bottom: 0;}

/* Adjusting rights statement images - bd 2017-10-12 */
#kenyon #rights_statements img {
height: auto;
width: 150px;
}
#kenyon #rights_statements h4 {
color:black;
font-family: "Minion Pro", Georgia, "Times New Roman", Times, serif;
}
#kenyon #ir-book.left #rights_statements {
margin-left: 178px; width: 480px; padding-top: 10px;
}

/* Adding and centering intro text image to /bordersinplay community HMW 2018-02-05 */
#kenyon #container #wrapper #content #main.text #bip_introtext_img img {
	width: 350px ;
	height: 490px ; 
}
#kenyon #container #wrapper #content #main.text #bip_introtext_img {
	text-align: center ;
}

/* Scrollbar for author lists CUSTOM-363 hmw 2019.03.22 */
#alpha #authors {
	overflow-y: auto;
	max-height: 200px; /* adjust for each site to show desired # of authors; check in multiple browsers */
	border-top: solid 2px #666;
	border-bottom: solid 1px #666;
	margin-bottom: 5px;
}

 /*hide author corner in Espiritismo SG 12.19 */
#kenyon #hide-author-corner-espiritismo {
 	display:none;
}

/* Shortens breadcrumb line height, helps prevent overlapping with structure title - AB 10-1-20 */
#kenyon #main.text .crumbs p {
	line-height: 1.1em;
}

/* Adds space between breadcrumb and structure title to help prevent overlap - AB 10-1-20 */
#kenyon #main.text h2#series-title {
    padding-top: 60px;
}

/* Adjusting line spacing in carousel to prevent overlap with View More link - AB 10-1-20 */
#kenyon .newCarousel #carousel .carousel-text {
	line-height: 1.3em;
}
#kenyon .newCarousel #carousel div.text-content {
	width: 37%;
}
#kenyon .newCarousel #carousel a.button-link.read-more {
    margin-bottom: -8px;
}

/* hide browse section links SG 8.20 */
#kenyon #sidebar ul#side-browse li.discipline-browser {
 	display: none;
 }

#kenyon #sidebar ul#side-browse li.author {
 	display: none;
 }


