﻿/* ---------------- HEADER BANNER -------------------- */


#wab figure {
    margin: 0px;
    display: block;
}

#wab section {
  float: left;
  display: block;
  width: 100%;
  margin-bottom: 1rem;
}

#wab {

    background-image: url("/Images/college-social-sciences-only/unfiltered/banner-image.jpg");
    background-position: center center;
    padding: 3rem 0 1rem 0;
    background-color: rgb(247, 237, 237);
    text-align: center;
    margin: 0px;

}

#wab p {
    max-width: 580px;
    margin: 1rem auto;
    padding: 0.3rem;
    font-size: 1.25em;
    line-height: 1.25em;
    background-repeat: no-repeat;
    font-family: "proxima-nova",sans-serif;
    color: #000;
}

#wab a.btn {
    border: 2px solid #FFF;
    display: inline-block;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: #FFF;
    margin: 1rem;
    -webkit-transition-duration: 0.2s; /* Safari */
    transition-duration: 0.2s;
    cursor: pointer;
    background-color: transparent;
    }

#wab a.btn:hover {
    background-color: #FFF;
    color: #f7eded;
}

#wab.overlay {
    position: relative; 
}

#wab.overlay.dark {
    color: #ffffff;
}

#wab.overlay.dark:before {
    background: url("/Images/college-social-sciences-only/government-society/landing/323x164/block-grey.jpg");
    background-repeat: repeat;
    background: rgba(247, 237, 237, 0.5); 
}

#wab.overlay:before {
    content: ' ';
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0; 
    box-sizing: border-box;
}

#wab.overlay > * {
    position: relative; }

  
#wab.group:before, .group:after, {
  content: '';
  display: table; 
}

#wab.group:after, {
  clear: both; 
}

#wab.group, {
  zoom: 1; /* For IE 6/7 (trigger hasLayout) */ 
}

/* --------- HEADER BANNER ENDS --------- */

/* --------------- GALLERY -------------------- */

ul.img-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
  max-width: 100%;
}

li {
  margin: 0;
  padding: 0;
}

ul.img-list li {
  display: inline-block;
  height: 347px;
  margin: 0 0.5em 1em 0.5em;
  position: relative;
  width: 385px;
}

span.text-content {
  background: rgba(0,105,147,0.5);
  color: white;
  cursor: pointer;
  display: table;
  height: 347px;
  left: 0;
  position: absolute;
  top: 0;
  width: 385px;
  opacity: 0;
   -webkit-transition: opacity 500ms;
  -moz-transition: opacity 500ms;
  -o-transition: opacity 500ms;
  transition: opacity 500ms;
}

ul.img-list li:hover span.text-content {
  opacity: 1;
}

span.text-content span {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

h3.text-content1 {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

/* --------------- GALLERY - ENDS -------------------- */

/* --------------- PROFILES -------------------- */

/* KEY FACTS */

/* remove the margin of the image to align with top of column */
#wab__key-facts img:first-child { 
  margin: 0;
}

/* adds blue background and white text */
#wab__key-facts { 
  background-color: #00638e; 
  color: #fff; 
  padding: 10px 20px 20px 20px; 
  margin-top: 10px;
}

/* removes the margin to align it closer to the top of its container  */
#wab__key-facts  h2 { 
  padding-top: 5px; 
  margin-top: 0px;
}

/* adds a margin to give a spacer abover the image and below blue box */
#wab__key-facts-img { 
  margin-top: 10px;
}


/* HEADER IMAGE */

/* Targets the H1 Image removing the img styles */
h1#wab__header {
  padding: 0; 
  margin: 0;
}

/* Removes the margin above the H1 image */
main.container { margin-top: 0;
}

/* INTRODUCTION */

/* adds light grey background and adds a padding to the container */
#wab__intro {  
  background-color: #f7f7f7; 
  margin: 10px 0 10px 0; 
  padding: 1em;  
}

/* removes the bottom padding of the last introduction paragraph */
#wab__intro p:last-child { 
  margin-bottom: 0;
}

/* removes margin from the header image */
article.article img:first-child {
  margin: 0;
}

/* Changes the colour of the first columns header 2 */
.grid__cell.unit-8-12--bp3 h2 {
  color: #00638e; 
}

/* Adds a space underneath the YouTube embed */
.grid__cell.unit-8-12--bp3 div:first-child {
  margin-bottom: 1em;
}

/* --------------- PROFILES - ENDS -------------------- */


div.row--light-gray:first-child, aside.duo {

 display:none;

}

/* Add styles to the board titles */
h1.board__title {
  
text-align: center; 
vertical-align: middle; 
background-color: #000000; 
height: auto; 
width: 100%; 
color: #ffffff; 
font-size: 2em; 
line-height: normal; 
clear: both;
  
}