.dual_grid.left {
  margin: 10px 2.5px 5px 0px;
  float: left;
}
.dual_grid.right {
  margin: 10px 0px 5px 2.5px;
  float: right;
}
.dual_grid {
  background-position: center;
  background-size: cover;
  padding: 0px;
  position: relative;
  z-index: 1;
}

.dual_grid h1 {
  font-size: 4em;
  margin: 0;
}
.dual_grid h3 {
  font-size: 2.5em;
  margin: 0;
}

.dual_grid p {
  width: 95%;
  font-size: 30px;
  color: #fff;
  margin: 0 10px 10px 10px;
  font-weight: 300;
  position: absolute;
  bottom: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid #fff;
}

.dual_grid h1 {
  color: #fff;
}

.dual_grid table.grid {
  width: 100%;
  height: 100%;
}

table.grid td {
  vertical-align: bottom;
}

.eight_grid {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  padding: 0px;
  float: left;
  position: relative;
  z-index: 1;
}

.eight_grid h1 {
  margin: 0 0 0 0;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}

.eight_grid h3 {
  color: #fff;
  font-size: 18px;
  text-align: center;
  text-transform: uppercase;
}

.grid_section_hover {
  background-color: rgba(0,0,0,0.8);
  height: 100%;
  text-align: center;
  width: 101%;
  position: relative;
  z-index: 2;
}

.grid_section_hover h3 {
  text-align: center;
  color: #fff;
  margin: 0;
}
ul.grid {
  padding: 0;
  background-color: red;
}

ul.grid li {
  display: inline-block;
  float: left;
  margin: 0px 10px 10px 0;
}

/*ul.grid li:nth-child(4),*/
/*ul.grid li:nth-child(8) {*/
/*  margin-right: 0px;*/
/*}*/
.grid_section_hover h3 span {
  color: #38a0d7;
  font-weight: 600;
}

.eight_grid p {
  padding: 0;
  letter-spacing: 1px;
  color: #fff;
  z-index: 1;
  bottom: 0;
  border-bottom: 1px solid #eee;
  position: absolute;
  width: 90%;
  margin: 0 10px 10px 10px;
  text-transform: uppercase;
}

.dual_grid_animate h1 {
  animation-name: dual_grid_animate;
  padding-top: 0px;
  animation-duration: 1s;
  animation-iteration-count: 1;
  animation-timing-function: ease;
}

@keyframes dual_grid_animate {
  0% {
    padding-top: 100px;
  }
  100% {
    padding-top: 0px;
  }
}

.grid_animate {
  animation-name: grid_animate;
  margin-top: 0px;
  padding-top: 0px;
  animation-duration: 1s;
  animation-iteration-count: 1;
  animation-timing-function: ease;
}

@keyframes grid_animate {
  0% {
    padding-top: 40px;
  }
  100% {
    padding-top: 0px;
  }
}

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
  .eight_grid p {
    font-size: 10px;
  }
  .eight_grid h1 {
    font-size: 12px;
  }
}

/* Extra Small Devices, Phones */
/*@media only screen and (min-width : 480px) {*/
/*  !* .dual_grid{*/
/*      width:370px;*/
/*      height: 370px;*/
/*  } *!*/
/*}*/

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
  .eight_grid p {
    font-size: 14px;
  }
  .eight_grid h1 {
    font-size: 22px;
  }
}

/* Medium Devices, Desktops */
/*@media only screen and (min-width : 992px) {*/
/*!* .dual_grid{*/
/*    width:425px;*/
/*    height: 425px;*/
/*} *!*/
/*}*/

/* Large Devices, Wide Screens */
/*@media only screen and (min-width : 1200px) {*/
/*  !* .dual_grid{*/
/*      width:480px;*/
/*      height: 480px;*/
/*  } *!*/
/*}*/

#block-views-block-homepage-grid-block-1 ul.grid li.marginGridRight {
  margin-right: 0px;
}

/* Bootstrap Fix */
#main-container .front-page-carousel {
  display: block;
}

#main-container .front-page-grid{
  display: flex;
}
