/* COLUMBIA (SPECTATOR) STYLE */

/* COLUMBIA CUSTOMISATION:  Add top margin to h2 title */
h2
{
  margin-top: 1rem;
}

/* svg elements need "fill" instead of "color", annoyingly */
/* COLUMBIA CUSTOMISATION: Button colors */
a svg, button svg
{
  fill: #336699;  /* Bootstrap's "brand-primary" colour */
}

/* Re-style bootstrap's ".btn-light" button a little. Since bootstrap-4.0.0-beta button's borders and backgrounds are the same color, but in the case of .btn-light I think it needs a darker border or it nearly vanishes.
 *  *  *    Note that rgb(0,0,0,.15) (#d8d8d8) is the same color used for the border of a .form-control */
.btn-light
{
  border-color: #D6D6D6;
  color: #336699;  /* Bootstrap's "brand-primary" colour */
}

/* COLUMBIA CUSTOMISATION: Main color */
.maincolor, .textcorrectblockcolor
{
  background-color: #336699;  /* Bootstrap's "brand-primary" colour */
}

/* COLUMBIA CUSTOMISATION: Main color for date browser */
div#datebrowserrichardmonthlevelcalendarheader
{
  background-color: #DDD;  /* Bootstrap's "gray-lightest" colour */
  border: 1px solid #336699;  /* Bootstrap's "brand-primary" colour */
}

/* COLUMBIA CUSTOMISATION: Add top and bottom spaces to the header; Set background color */
header#header
{
  border-top: 5px solid #222;
  margin-bottom: 5px;
}

/* COLUMBIA CUSTOMISATION: Set 100% width; Set styles for small screens. */
div#headertopcell
{
  padding-left: 0px;
  padding-right: 0px;
  border-bottom: 0px;
  float: right;
}

/* COLUMBIA CUSTOMISATION: Set 100% width of the cul bar */
div#culwrapper
{
  width: 100%;
}

/* COLUMBIA CUSTOMISATION: cul bar content center aligned */
div#culleft
{
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* COLUMBIA CUSTOMISATION: Set right padding for humburger button */
div#navbarcollapsed
{
  padding-right: 10px;
}

div#headerbottomcell
{
  border-bottom: 0px;
}

/* COLUMBIA CUSTOMISATION: Set logo width, margin and background */
div#bannerlogo
{
  display: none;
  text-align: center;
  min-width: 100%;
  margin-top: 5px;
  margin-bottom: 5px;
}
div#bannerlogo img
{
  width: 659px;
}

/* COLUMBIA CUSTOMISATION: Set logo width, margin and background for small screens */
div#bannerlogosmall
{
  display: block;
  text-align: center;
  min-width: 100%;
  margin-top: 0px;
  margin-bottom: 0px;
}
div#bannerlogosmall img
{
  width: 100%;
}

/* COLUMBIA CUSTOMISATION: Set navbar 100% width */
div#navbar
{
  background-color: #DDD;
  width:100%;
}

/* COLUMBIA CUSTOMISATION: Set navbar links style */
div#navbar a.nav-link
{
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
}

/* COLUMBIA CUSTOMISATION: Show extra menu for small screens */
li#acknowledgements-menu,
li#behindthescenes-menu
{
  display: none;
}
li#extra-menu
{
  display: block;
}

/* COLUMBIA CUSTOMISATION: Set bread crumb color */
.breadcrumb
{
  background-color: #222;
  color: #AAA;
}

/* COLUMBIA CUSTOMISATION: Due the the breadcrumb background being dark, we need to make the breadcrumb links much much lighter */
div#breadcrumb a { color: #78A4D2 }

/* COLUMBIA CUSTOMISATION: Set title style on home page and static pages */
.home-title 
{
  color: #474744;
  font-size: 15px;
  min-height: 35px;
  text-align: center;
  text-transform: uppercase;
}

/* COLUMBIA CUSTOMISATION: Browse icon on home page center aligned */
.homepagebrowseicon
{
  text-align: center;
}

/* COLUMBIA CUSTOMISATION: Set paddings of contacts column on home page */
#home-contacts 
{ 
  padding-left: 7px;
  padding-right:7px; 
}

/* COLUMBIA CUSTOMISATION: Set style on static pages */
#home-main-content 
{ 
  display: flex;
  position: relative;
  flex-wrap: wrap;
  background-color: #FFF;
  border: 1px solid #DDD; 
  padding: 10px 0;
}

/* COLUMBIA CUSTOMISATION: Set title style on static pages */
#home-main-content h2 
{ 
  font-size: 13px; 
  font-weight: bold; 
  color: #333; 
  padding: 3px 1px; 
  border-top: 1px solid #AAA; 
  border-bottom: 1px solid #AAA; 
  border-left: 0;
  border-right: 0;
}

/* COLUMBIA CUSTOMISATION: Set columns style on static pages */
#page-right-container 
{
  border-left: 2px dotted #aaa;
  padding: 15px 15px 0 15px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
#page-left-container 
{ 
  padding: 15px 15px 0 15px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  flex-basis: 100%;
}

/* COLUMBIA CUSTOMISATION: Set image list style on Most Popular page */
ul#popular-thumbs 
{
  text-align:center;
  list-style:none;
  margin:0;
  padding:0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
ul#popular-thumbs li 
{
  display:inline-block;
  max-width:21%;
  min-width:280px;
  margin:10px 5px;
  border:1px solid #CCC;
  padding:6px;
  vertical-align:top;
  text-align:center;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
ul#popular-thumbs li img 
{
  margin-bottom:6px;
}
ul#popular-thumbs .caption 
{
  margin-top:6px;
  padding:1px 6px;
  text-align:justify;
  font-size:13px;
  line-height:13px;
  min-height:42px;
}

/* COLUMBIA CUSTOMISATION: Set style of containers on Most Popular page */
#page-full-container {
  padding: 15px 10px 0 10px;
}

/* COLUMBIA CUSTOMISATION: Set style of footer */
footer#footer
{
  background-color: #002B7F;
  color: white;
}
div#footercontent
{
  min-height: 30px;
}

/* COLUMBIA CUSTOMISATION: Set style of footer links */
a.originalfooterlink, 
a.originalfooterlink:link, 
a.originalfooterlink:visited 
{
  color: #BBB;
  text-decoration: underline;
}
a.originalfooterlink:hover 
{
  color: white;
}

/* COLUMBIA CUSTOMISATION: Set appearance for larger than 700px screens */
@media only screen and (min-width: 701px)
{
  /* COLUMBIA CUSTOMISATION: Show large logo and hide small one */
  div#bannerlogo
  {
    display: block;
  }
  div#bannerlogosmall
  {
    display: none;
  }
}

/* COLUMBIA CUSTOMISATION: Set appearance for larger than 800px screens */
@media only screen and (min-width: 801px)
{
  /* COLUMBIA CUSTOMISATION: Decrease width of middle column on home page for large screens */
  div#homepagemiddlecolumn 
  {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
  
  /* COLUMBIA CUSTOMISATION: Increase width of static page left column */
  #page-left-container
  {
    flex-basis: unset;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
}

/* COLUMBIA CUSTOMISATION: Set style for large screens */
@media only screen and (min-width: 961px)
{
  /* COLUMBIA CUSTOMISATION: Show cul bar */
  div#culwrapper
  {
    display: block;
  }

  /* COLUMBIA CUSTOMISATION: Set height for cul bar */
  div#headertopcell
  {
    float: inherit;
  }

  /* COLUMBIA CUSTOMISATION: Hide extra menu and show all menus */
  li#acknowledgements-menu,
  li#behindthescenes-menu
  {
    display: block;
  }
  li#extra-menu
  {
    display: none;
  }
}

