
/* ---- Common settings ---- */

a:hover
{
  color: #B24221;
}

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

div#headertopcell
{
  height: unset;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Move logo upward to the center */
div#bannerlogo.offsetbannerlogo 
{
  margin-bottom: 0;
  top: 0;
}

/* Set logo transition */
div#bannerlogo img 
{
  width: 100%;
  height: auto;
  transition: 0.3s;
}

/* Hide header search on small screens */
div#bannersearch
{
  margin-right: 0.5rem;
  display: none;
}

/* ---- User links styles ---- */

div#userlinkswrap
{
  text-align: right;
  flex: 1;
}

div#userlinkcell
{
  display: none;
}

/* Set links style on navbar and user links */
div#navbarcollapsed > a, div#userlinks > a
{
  display: inline-block;
  background-color: #387180;
  margin: 0.2rem 0.2rem;
  padding: 0.4rem 0.6rem;
  border-radius: .25rem;
  text-decoration: none;
}

/* ---- Navbar styles ---- */

/* Set search form on small screens */
div#navbannersearch
{
  width: 100%;
  margin-bottom: 5px;
}

/* Set shadows of navbar, menu and user links */
div#navbar
{
  color: #FFF;
}

div#navbarcollapsed > a, ul#navbarentries
{
  box-shadow: #7F7F7F 0 1px 2px;
}

/* Set links theme of navbar, menu, user links and register link */
div#navbarcollapsed > a, ul#navbarentries a.nav-link, div#userlinks > a
{
  color: white;
  font-weight: bold;
  padding: 0.45rem 1rem;
}
ul#navbarentries .nav-link:hover, ul#navbarentries .nav-link.active, div#userlinks > a:hover
{
  background-color: black;
}

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

/* Set footer items style */
div#footercontent
{
  background-color: #FFF;
}

div.copyrightcell, div.poweredbycell, div.poweredbycelldocument
{
  text-align: center;
  margin: 0.5rem 2rem;
}
div.copyrightcell
{
  flex: 1;
  order: 2; 
  margin-top: 0rem;
}
div.poweredbycell
{
  flex: 1.5;
  flex-basis: 100%;
  order: 1;
}
div.poweredbycelldocument
{
  flex: 1.5;
  display: none;
  order: 2;
}
div#footersocialbookmarks
{
  text-align: center;
  flex: 1;
  margin-top: 0rem;
  order: 3;
}

/* Avoid covering Paypal */
.grecaptcha-badge 
{
  bottom: 90px !important;
}

/* ---- Query styles ---- */
#searchresultpagelistwrap
{
  padding-left: 1rem;
}
#searchresultpagelist
{
  width: unset;
  display: inline;
}

/* ---- Region browser styles ---- */

/* The <ul> tags in the region browser need to appear different*/
ul.regionbrowserlist
{
  list-style-type: none;
}

/* ---- Publication page styles ---- */

/* Set publication metadata display as table */
div.publicationinfo
{
  display: table;
  margin: 1em 0em;
  width: 100%;
  padding-bottom: 0.5rem;
}
div.publicationinfo > div
{
  display: table-row;
}
div.publicationinfo > div > div
{
  display: table-cell;
  vertical-align: top;
  padding-right: 1rem;
  border-bottom: 1px solid #E9ECEF;
}

ul#publicationbrowsedecadelist
{
  margin-bottom: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---- Document display styles ---- */

/* Hide hint */
div.hintcell
{
  display: none;
}

/* ---- Media styles ---- */

/* Style for large screens */
@media only screen and (min-width: 701px)
{
  div#headertopcell
  {
    height: 145px;
  }

  div#bannerlogo.offsetbannerlogo 
  {
    padding-bottom: 0;
  }

  /* Show user links */
  div#userlinkcell
  {
    display: inline-block;
  }
}

/* Style for larger screens */
@media only screen and (min-width: 960px)
{
  div#bannerlogo img 
  {
    width: 400px;
  }

  /* Show banner search and hide nav search and align */
  div#bannersearch
  {
    display: inline-block;
  }
  div#navbannersearch
  {
    display: none;
  }

  /* Show hint */
  div.hintcell
  {
    display: block;
  }
}

/* Style for larger screens */
@media only screen and (min-width: 1200px)
{
  div#bannerlogo img 
  {
    width: 500px;
  }

  /* Adjust footer items order */
  div.copyrightcell
  {
    order: 1;
    margin: 0.5rem 2rem;
  }
  div.poweredbycell
  {
    order: 2;
    flex-basis: unset;
  }
  div.poweredbycelldocument
  {
    display: block;
  }
} 

