/* These are the colours used commonly throughout the site */
/*---------------------------------------------
Add a custom homepage background to hero class here
----------------------------------------------*/

/* moved to index.html.erb as inline style, to randomize homepage image background
.hero {
  background-size: cover;
  background-image: url('new-backgrounds/20131022-PAUR-Aerials-0033.jpg');
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
*/

body {
  font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
}

@media (min-width: 0px) and (max-width: 768px) {
  .theme-showcase {
  width: 100%;
  height: 14em;
  padding: 10% 0 0 0;
  margin-top: 8em;
  margin-bottom: 6em;
  background-color: rgba(60, 22, 5, 0.6);
  display: block;
  }
  .jumbotron img {
    width: 100%;
  }
  div.jumbotron p {
    padding-bottom: 2em;
    margin-top: -3em;
    margin-bottom: 1em;
  }
}

@media (min-width: 768px) {
.theme-showcase {
  width: 100%;
  height: 17em;
  padding: 5% 0 12% 0;
  margin-top: 12em;
  background-color: rgba(60, 22, 5, 0.6);
  display: block;
  }
}

.theme-showcase > p > .btn {
  margin: 5px 0;
}
.theme-showcase .navbar .container {
  width: auto;
}
.jumbotron {
  background-color: transparent;
  color: #ffffff;
  text-align: center;
  text-shadow: 1px 1px 4px #000;
  padding-top: 6.5em;
  padding-bottom: 0px;
  margin-top: -9.75em;
}
.jumbotron p {
  padding-top: 7em;
  padding-bottom: 7em;
}
#search-homepage input.form-control {
  opacity: 0.9;
  border-radius: 5px;
}
#search-homepage .sympl-search {
  margin-left: 5px;
  border-radius: 5px;
}
#homepage-link-row {
  text-align: center;
  margin-top: 1em;
  color: #B9B9B8;
}
#homepage-link-row a {
  color: white;
  font-weight: 600;
}
#homepage-link-row a {
  transition: none;
}
#homepage-link-row a:hover {
  border-bottom: 2px solid #aaa;
  color: #bbb;
  text-decoration: none;
}
p a.manage-profile-link {
  color: white;
  opacity: .67;
  float: left;
}
p a.manage-profile-link:hover {
  border-bottom: 2px solid #aaa;
  color: #bbb;
  opacity: .67;
  text-decoration: none;
}
p a.manage-profile-link:visited {
  color: white;
  opacity: .67;
}
p a.manage-profile-link {
  transition: none;
}
/*---------------------------------------------
Create large linked icon sections below hero search
----------------------------------------------*/
/* BROWN'S BIG BUTTON STYLES */
.three-big-blocks {
  background-color: #CCC6B8;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
  margin: 0;
}
.icons-home:nth-child(1) {
  background-color: #831B1B;
}
.icons-home:nth-child(1):hover {
  background-color: hsla(0, 66%, 25%, 1); /* #831B1B darkened */
  transition-property: background-color;
  transition-delay: 0s;
  transition-duration: .2s;
  transition-timing-function: ease;
}
.icons-home:nth-child(2) {
  background-color: #F5F2EC;
  padding: 3rem 2.5rem 1.5rem 2.5rem;
}
.icons-home:nth-child(2) h3 {
  color: #333;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.icons-home:nth-child(2) ul {
  list-style: none;
  padding: 0;
}
.icons-home:nth-child(2) li {
  /*border-left: 5px solid #B9B9B8; // future border style
  padding-left: 1.3rem;
  margin-left: -.3rem;*/
  margin-bottom: 1rem;
}
.icons-home:nth-child(2) a {
  color: #594036;
  font-weight: 600;
}
.icons-home:nth-child(2) a:hover {
  border-bottom: 4px solid #594036;
  line-height: 1rem;
}
.icons-home:nth-child(3) {
  background-color: #594036;
}
.icons-home:nth-child(3):hover {
  background-color: hsla(17, 24%, 20%, 1); /* #594036 darkened */
  transition-property: background-color;
  transition-delay: 0s;
  transition-duration: .2s;
  transition-timing-function: ease;
}
.icons-home h3 {
  color: #fff;
  margin: 0;
  padding: 0 1rem;
  text-align: center;
}
.icons-home > a {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 5fr 3fr;
  grid-gap: 1.5rem;
  height: 100%;
}
.icons-home > a span {
  grid-area: 1 / 1 / 2 / 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.icons-home > a h3 {
  grid-area: 2 / 1 / 3 / 1;
}
.icons-home svg {
  width: 10rem;
  bottom: 0;
}
.large-glyphicon {
  color: #fff;
  font-size: 10rem;
}
/*---------------------------------------------
Homepage explore rectangular links with images for background
----------------------------------------------*/
.explore-panel {
  display: block;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-color: #ececec;
  background-size: cover;
  border: 1px solid #c9c9c9;
  border-radius: 3px;
  transition: background-position 0.65s ease;
}
.explore-panel span {
  color: #000;
  font-size: 1.5em;
  vertical-align: middle;
  font-weight: 600;
  text-shadow: 0px 0px 5px #fff;
}
.explore-panel#ph1 {
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/3/34/LOD_Cloud_Diagram_as_of_September_2011.png);
}
.explore-panel#ph2 {
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/0/00/Insect_Safari_-_beetle_36.jpg);
}
.explore-panel#ph3 {
  background-image: url(https://c1.staticflickr.com/3/2744/4288406572_a44ca9e1e4_b.jpg);
}
.explore-panel#ph4 {
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/1/1a/Wikidata-wikiproject-ontology.png);
}
.explore-panel:hover {
  background-position: 50% 85%;
}
/*---------------------------------------------
Customise the meet faculty/expert section
----------------------------------------------*/
/* faculty-home repurposed for recent books carousel */
.faculty-home {
  text-align: center;
  padding: 45px 0;
  background: #CCC6B8;
  border: none;
  border-width: 0;
}
#faculty-books-carousel {
  margin: 40px 0;
}
#faculty-books-carousel .carousel-inner > .item {
  text-align: center;
}
#faculty-books-carousel .carousel-inner > .item > img,
#faculty-books-carousel .carousel-inner > .item > a > img {
  margin: auto;
  text-align: center;
}
#faculty-books-carousel .carousel-control.left {
  background: transparent;
  color: #222;
}
#faculty-books-carousel .carousel-control.right {
  background: transparent;
  color: #222;
}
#faculty-books-carousel p.biog {
  font-size: 14px;
  padding: 0 60px;
}
.faculty-mbrs {
  color: #222;
}
.faculty-mbrs:hover {
  text-decoration: none;
  color: #000;
}
.book-cover {
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
}
.carousel-indicators {
  margin-bottom: -3em;
}
/*---------------------------------------------
Customise the about our research section
----------------------------------------------*/
.research-count {
  background-color: #5cb85c;
  padding: 60px;
  color: #fff;
  border: 1px solid #0DAF0D;
  border-width: 1px 0 1px 0;
}
#home-sections-list {
  list-style: none;
  padding: 0;
  box-shadow: none;
}
#home-sections-list li {
  margin: 0 0 5px 0;
}
#home-sections-list a:last-child {
  color: #ffffff;
}
#home-sections-list a.list-group-item {
  color: #555;
  margin: 6px 0;
  border-radius: 4px;
}
#home-sections-list button.list-group-item {
  color: #555;
  margin: 6px 0;
  border-radius: 4px;
}
#home-sections-list span.badge {
  font-size: 15px;
  vertical-align: middle;
}
#home-sections-list a.list-group-item,
button.list-group-item {
  color: #555;
  margin: 6px 0;
  border-radius: 4px;
}
/*---------------------------------------------
Customise the maps section
----------------------------------------------*/
.geo-home {
  background: #ececec;
  padding: 45px 0 80px 0;
}
.geo-home #home-geo-focus {
  text-align: center;
}
/*---------------------------------------------
Customise the statistics section
----------------------------------------------*/
#property-stats li {
  margin: 7px 20px;
  padding: 9px 0 0 0;
  font-size: 1.4em;
  float: left;
  list-style: none;
  text-align: center;
}
#property-stats p.stats-count {
  font-size: 2em;
  font-weight: lighter;
}
#property-stats p.stats-type {
  padding: 5px 10px;
  font-size: 0.8em;
  margin: 7px 0 0 0;
  font-weight: 600;
  background-color: #2E6DA4;
  color: white;
  border-radius: 3px;
}

/***** MEDIA QUERIES *****/
@media screen and (max-width: 767px) {
  .three-big-blocks {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(500px, 1fr), 1fr, minmax(250px, 1fr);
  }
  .icons-home:nth-child(odd) {
    padding: 4rem 0 2rem 0;
  }
  .glyphicon-user {
    font-size: 7rem;
  }
  .icons-home svg {
    width: 8rem;
  }
}

@supports not (display: grid) {
  .three-big-blocks {
    display: flex;
  }
  .icons-home {
    flex: 1 0 0%;
  }
  .icons-home h3 {
    font-size: 2rem;
  }
  .icons-home:nth-child(odd) {
    padding: 4rem 2rem;
  }
  .icons-home:nth-child(odd) a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .icons-home:nth-child(odd) span {
    margin-bottom: 2rem;
  }
  @media screen and (max-width: 767px) {
    .three-big-blocks {
      flex-direction: column;
    }
  }
}



