/* -----------------------------------------------
bepress IR local stylesheet.
Author:   David Stienstra
Version:  2022
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */
/* ---------------- Meta Elements ---------------- */
    /* --- Meta styles and background --- */
body {
    font: normal 13px/1.5 Arial, Helvetica Neue, Helvetica, sans-serif;  /* should be medium except when fitting into a fixed container */
    background: #fff url(assets/md5images/907d654c5604b65ab09428db585d8bd6.png) repeat-x left top;
}
/* ---------------- Header ---------------- */
#ifoodmmcn #header {
    position: relative;  /* needed for logo positioning */
  height: auto !important; /* !important overrides mbl styling */
  margin: 1px 0;
  background: transparent;
}
#ifoodmmcn #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 --- */
#ifoodmmcn #logo_image,
#ifoodmmcn #header a#logo_link {
    display: none;
}
#ifoodmmcn #header a#banner_link:focus img,
#ifoodmmcn #header a#logo_link:focus img {
  outline: 1px dashed #000;
}
/* ---------------- Navigation ---------------- */
#ifoodmmcn #navigation,
#ifoodmmcn #navigation #tabs {
    height: 44px;
    overflow: hidden; /* have seen issues with tabs extending below nav container */
    white-space: nowrap;
    background: transparent;
}
#ifoodmmcn #navigation #tabs,
#ifoodmmcn #navigation #tabs ul,
#ifoodmmcn #navigation #tabs ul li {
    padding: 0;
    margin: 0;
}
/* Flexbox Navigation July 2018 */
#ifoodmmcn #navigation #tabs,
#ifoodmmcn #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%;
}
#ifoodmmcn #navigation #tabs a {
    font: normal 14px Arial, Helvetica Neue, Helvetica, sans-serif;
    display: block;
    width: auto !important; /* fixes "my account" not fitting in container on page load */
    height: 44px;
    line-height: 44px;
    color: #fff;
    transition: 0.3s ease-in-out;
    background-color: transparent;
    padding: 0 15px; /* with arial bold, this fits */
    margin: 0;
    border: 0;
    border-right: none;
}
#ifoodmmcn #navigation #tabs a:hover,
#ifoodmmcn #navigation #tabs a:active,
#ifoodmmcn #navigation #tabs a:focus {
    text-decoration: underline;
}
#ifoodmmcn #navigation #tabs li:first-child a { padding-left: 15px; }
#ifoodmmcn #navigation #tabs li:last-child a {
    border-right: none;
}
/* ---------------- Sidebar ---------------- */
#ifoodmmcn #sidebar {
  background-color: #e7e7e7;
  margin-left: 10px;
  margin-right: 0;
  padding-top: 16px;
}
#ifoodmmcn #sidebar ul#side-notify {
  padding-top: 0;
}
#ifoodmmcn #sidebar h2 {
    font: bold 13px Arial, Helvetica Neue, Helvetica, sans-serif;
    color: #000;
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
}
#ifoodmmcn #sidebar a {
    font: normal 13px Arial, Helvetica Neue, Helvetica, sans-serif;
    color: #0d3f62;
    text-decoration: none;
}
#ifoodmmcn #sidebar a:hover,
#ifoodmmcn #sidebar a:active,
#ifoodmmcn #sidebar a:focus {
    color: #000000;
    text-decoration: underline;
}
#ifoodmmcn #sidebar #sidebar-search label {
    font: normal 13px Arial, Helvetica Neue, Helvetica, sans-serif;
    color: #000;
}
#ifoodmmcn #sidebar #sidebar-search {
    margin-top: 8px;
    padding-left: 15px;
}
#ifoodmmcn #sidebar #sidebar-search span.border { background: transparent; }
.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */
/* ---------------- Main Content ---------------- */
#ifoodmmcn #wrapper { /* for full-length sidebar content background/elements */
    background: url(assets/md5images/82e81fb3e6a9d215eb3d78400787b4a2.gif) repeat-y left top;
    padding: 10px 0;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}
/*#ifoodmmcn #content { padding-top: 16px; }*/
    /* --- Breadcrumbs --- */
#ifoodmmcn #main.text div.crumbs a:link,
#ifoodmmcn #main.text div.crumbs a:visited {
    text-decoration: none;
    color: #104e7b;
}
#ifoodmmcn #main.text div.crumbs a:hover,
#ifoodmmcn #main.text div.crumbs a:active,
#ifoodmmcn #main.text div.crumbs a:focus {
    text-decoration: underline;
    color: #000000;
}
#ifoodmmcn #dcn-home > #homepage-intro { margin: 15px 0; }
 /* adds space under full-width main-content image */
#ifoodmmcn #home-page-banner { margin-bottom: 16px; }
    /* --- Headers --- */
#ifoodmmcn #dcn-home > h2 {
    font: normal 21px Arial, Helvetica Neue, Helvetica, sans-serif;
}
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: #104e7b; }
#ifoodmmcn #dcn-home #cover-browse h3 a {
    font: 400 17px/1.6 Arial, Helvetica Neue, Helvetica, sans-serif;
    text-decoration: none;
}
#ifoodmmcn #dcn-home #cover-browse h3 a:hover,
#ifoodmmcn #dcn-home #cover-browse h3 a:focus,
#ifoodmmcn #dcn-home #cover-browse h3 a:active {
    text-decoration: underline;
}
    /* --- Links --- */
#ifoodmmcn #main.text a:link,
#ifoodmmcn #main.text a:visited {
    color: #104e7b; /* declared for #network-icon text */
}
#ifoodmmcn #main.text a:hover,
#ifoodmmcn #main.text a:active,
#ifoodmmcn #main.text a:focus {
    color: #000000;
    text-decoration: underline;
}
    /* PotD / Top DL widgets */
#ifoodmmcn #dcn-home .box.aag h2,
#ifoodmmcn #dcn-home .box.potd h2 {
    width: 267px;
    margin: 0;
    font: normal 16px Arial, Helvetica Neue, Helvetica, sans-serif;
    border-bottom: 1px solid #d3d3d3;
}
#ifoodmmcn #main.text .box a:link,
#ifoodmmcn #main.text .box a:visited {
    font: bold 13px Arial, Helvetica Neue, Helvetica, sans-serif;
    text-decoration: none;
    border-bottom: 1px solid #d3d3d3;
    background: none;
}
#ifoodmmcn #main.text .box a:hover,
#ifoodmmcn #main.text .box a:active,
#ifoodmmcn #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 ---------------- */
#ifoodmmcn #footer {
    height: 81px;
    background-color: #333333; }
#ifoodmmcn #bepress a {
    height: 79px;
    background-color: #333333;
    margin: 1px 0;
}

#ifoodmmcn #footer {
  background: url(assets/md5images/daf92addadfa01957ee76c2eb735b1d6.gif) repeat-x left top;
}
#ifoodmmcn {
    background: url(assets/md5images/daf92addadfa01957ee76c2eb735b1d6.gif) repeat-x left bottom;
}
#ifoodmmcn #footer p,
#ifoodmmcn #footer p a {
    font: normal 12px/2 Arial, Helvetica Neue, Helvetica, sans-serif;
    color: #fff;
    text-decoration: none;
}
#ifoodmmcn #footer p:first-of-type { padding-top: 16px } 
#ifoodmmcn #footer p a:hover,
#ifoodmmcn #footer p a:active,
#ifoodmmcn #footer p a:focus {
    text-decoration: underline; }
#bepress a:focus {
      outline: 1px dashed #fff;
}

#ifoodmmcn #content {
    min-height: calc(100vh - 270px);  /* 310px varies by site. calculated by summing all fixed heights (header, navigation, footer, fixed margins between these elements) */
}
/* Search pages */
.legacy #ifoodmmcn #wrapper:after {
	content: none; /* search pages */
}
/* ---------------- Miscellaneous fixes ---------------- */
    /* --- Advanced Search --- */
.legacy #ifoodmmcn #wrapper {  
  background-image: none; 
  padding-bottom: 0px;
}
.legacy #ifoodmmcn #content {
  padding-bottom: 10px;
}
/* Browse Authors accessibility fix- CSFR-2648 */
#ifoodmmcn #main.text .authorbrowser p.letters a:hover,
#ifoodmmcn #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 #ifoodmmcn #main.text #dcn-home .box.aag h2,
.mbl #ifoodmmcn #main.text #dcn-home .box.potd h2 {
  width: 100%;
}
header#mobile-nav {
    font-size: 0;
    line-height: 0; }
.mbl #ifoodmmcn #header,
.mbl #ifoodmmcn #header a#banner_link img,
.mbl #ifoodmmcn #navigation {
    width: 100% !important;
}
.mbl #ifoodmmcn #header #logo_image {
  display: none;
}
.mbl #ifoodmmcn #content {
    min-height: unset;
}
.mbl #ifoodmmcn #wrapper {
  padding: 0;
}

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

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