#main .boxstyle_ h3 {
  margin-bottom: 0 !important;
}

#main .boxstyle_ h4 {
  margin-bottom: 0 !important;
}

.carousel-caption h2 {
  text-align: center;
}

/*------------------ 
            General Formatting
            --------------------*/

.wrapper {
  padding: 0 5px 5px 5px;
}

/*----------------------------
                     Main Section
            -----------------------------*/

/* Research Intro */
.homepage-intro {
  padding: 5px;
  margin: 5px 0;
}

.homepage-intro h3 {
  position: relative;
  font-size: 34px;
  padding-bottom: 10px;
}

.homepage-intro h3:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 38%;
  right: 38%;
  border-bottom: solid 2px rgba(28, 78, 122, 0.15);
}

.homepage-intro p {
  width: 80%;
  margin: 0 auto;
}

section.main-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.column h3 a {
  text-decoration: none;
}

.col-1,
.col-2,
.col-3 {
  flex: 1 32%;
  margin: 10px 5px;
}

.col-1 h3,
.col-2 h3,
.col-3 h3,
.col-4 h3,
.col-5 h3 {
  display: flex;
  background: white;
  padding: 5px;
  border-top: solid 1px;
  border-bottom: solid 1px;
  margin: 0;
}

.col-1 h4,
.col-1 p,
.col-2 h4,
.col-2 p,
.col-3 h4,
.col-3 p,
.col-4 h4,
.col-4 p,
.col-5 h4,
.col-5 p {
  text-align: center;
}

.col-4,
.col-5 {
  flex: 1 49%;
  margin: 10px 5px;
}

.col-1,
.col-4 {
  background: #dee4ea;
}

.col-2,
.col-5 {
  background: rgba(32, 143, 142, 0.2);
}

.col-3 {
  background: #ededed;
}

.col-1 .inner-text,
.col-2 .inner-text,
.col-3 .inner-text,
.col-4 .inner-text,
.col-5 .inner-text {
  position: relative;
  display: flex;
  height: 200px;
  justify-content: center;
  flex-direction: column;
  background: rgba(210, 211, 212, 0.1);
}

.col-1 a,
.col-2 a,
.col-3 a,
.col-4 a,
.col-5 a {
  text-decoration: none;
}

.col-1 h3,
.col-2 h3,
.col-3 h3,
.col-4 h3,
.col-5 h3 {
  position: relative;
  background: #e1f5ff;
}

.col-1 .inner-text:before,
.col-2 .inner-text:before,
.col-3 .inner-text:before,
.col-4 .inner-text:before,
.col-5 .inner-text:before {
  content: "Go to Study";
  position: absolute;
  top: 100%;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(4, 4, 4, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Raleway", serif;
  font-size: 20px;
  color: white;
  opacity: 0;
  transform: scale(0, 1);
  transition: 400ms ease-in-out;
}

.col-2 .inner-text:before {
  content: "Go to Funding";
}

.col-3 .inner-text:before {
  content: "Go to Student Research";
}

.col-4 .inner-text:before {
  content: "Go to Sharing Practice";
}

.col-5 .inner-text:before {
  content: "Go to Spaces";
}

.col-1 a:hover .inner-text:before,
.col-2:hover .inner-text:before,
.col-3:hover .inner-text:before,
.col-4:hover .inner-text:before,
.col-5:hover .inner-text:before {
  opacity: 1;
  top: 76%;
  transform: scale(1, 1);
}

.col-1 a:focus .inner-text:before,
.col-2 a:focus .inner-text:before,
.col-3 a:focus .inner-text:before,
.col-4 a:focus .inner-text:before,
.col-5 a:focus .inner-text:before {
  opacity: 1;
  top: 76%;
  transform: scale(1, 1);
}

.inner-text h4 {
  font-size: 26px;
}

.col-1 {
  background-image: linear-gradient(
      rgba(247, 247, 247, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    url(images/homepage/books-1.jpg);
  background-size: cover;
}

.col-2 {
  background-image: linear-gradient(
      rgba(247, 247, 247, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    url(images/homepage/icur-15.jpg);
  background-size: cover;
}

.col-3 {
  background-image: linear-gradient(
      rgba(247, 247, 247, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    url(images/homepage/student-interaction-4.jpg);
  background-size: cover;
}

.col-4 {
  background-image: linear-gradient(
      rgba(247, 247, 247, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    url(images/homepage/student-interaction-5.jpg);
  background-size: cover;
}

.col-5 {
  background-image: linear-gradient(
      rgba(247, 247, 247, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    url(images/homepage/learning-5.jpg);
  background-size: cover;
}
/*---------------------
                Media Queries 
            ----------------------*/

@media screen and (max-width: 990px) {
  .col-3 {
    flex: 1 100%;
  }
}

@media screen and (max-width: 600px) {
  .homepage-intro p {
    width: 100%;
  }
  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-5,
  .col-6 {
    width: calc(100% - 10px);
    text-align: center;
  }
  .slick-carousel .slide-1,
  .slick-carousel .slide-2,
  .slick-carousel .slide-3 {
    justify-content: center;
  }
}

@media screen and (max-width: 450px) {
  .col-1,
  .col-4 {
    flex: 1 100%;
  }
}

@media screen and (max-width: 300px) {
  .slick-carousel .slide-title .content {
    font-size: 12px;
  }
  .slide-title h3 a {
    font-size: 18px;
  }
}
